@codeages/agent-web-sdk 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,38 +2,42 @@
2
2
  * @vue/shared v3.5.18
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function Sl(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ot={},nu=[],ln=()=>{},i3=()=>!1,Va=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Al=e=>e.startsWith("onUpdate:"),zt=Object.assign,Cl=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},a3=Object.prototype.hasOwnProperty,nt=(e,t)=>a3.call(e,t),Re=Array.isArray,uu=e=>Ua(e)==="[object Map]",Nd=e=>Ua(e)==="[object Set]",He=e=>typeof e=="function",kt=e=>typeof e=="string",s0=e=>typeof e=="symbol",vt=e=>e!==null&&typeof e=="object",Hd=e=>(vt(e)||He(e))&&He(e.then)&&He(e.catch),Vd=Object.prototype.toString,Ua=e=>Vd.call(e),o3=e=>Ua(e).slice(8,-1),Ud=e=>Ua(e)==="[object Object]",_l=e=>kt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pu=Sl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ja=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},s3=/-(\w)/g,Jn=ja(e=>e.replace(s3,(t,r)=>r?r.toUpperCase():"")),l3=/\B([A-Z])/g,I0=ja(e=>e.replace(l3,"-$1").toLowerCase()),jd=ja(e=>e.charAt(0).toUpperCase()+e.slice(1)),Eo=ja(e=>e?`on${jd(e)}`:""),Qn=(e,t)=>!Object.is(e,t),ea=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Ts=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Fs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},c3=e=>{const t=kt(e)?Number(e):NaN;return isNaN(t)?e:t};let Uc;const $a=()=>Uc||(Uc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dl(e){if(Re(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],u=kt(n)?m3(n):Dl(n);if(u)for(const i in u)t[i]=u[i]}return t}else if(kt(e)||vt(e))return e}const f3=/;(?![^(]*\))/g,d3=/:([^]+)/,h3=/\/\*[^]*?\*\//g;function m3(e){const t={};return e.replace(h3,"").split(f3).forEach(r=>{if(r){const n=r.split(d3);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function R0(e){let t="";if(kt(e))t=e;else if(Re(e))for(let r=0;r<e.length;r++){const n=R0(e[r]);n&&(t+=n+" ")}else if(vt(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const p3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",v3=Sl(p3);function $d(e){return!!e||e===""}const Yd=e=>!!(e&&e.__v_isRef===!0),rn=e=>kt(e)?e:e==null?"":Re(e)||vt(e)&&(e.toString===Vd||!He(e.toString))?Yd(e)?rn(e.value):JSON.stringify(e,Gd,2):String(e),Gd=(e,t)=>Yd(t)?Gd(e,t.value):uu(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,u],i)=>(r[Mo(n,i)+" =>"]=u,r),{})}:Nd(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Mo(r))}:s0(t)?Mo(t):vt(t)&&!Re(t)&&!Ud(t)?String(t):t,Mo=(e,t="")=>{var r;return s0(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function kl(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const st={},nu=[],sn=()=>{},r3=()=>!1,Ha=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sl=e=>e.startsWith("onUpdate:"),zt=Object.assign,Al=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},n3=Object.prototype.hasOwnProperty,nt=(e,t)=>n3.call(e,t),qe=Array.isArray,uu=e=>Va(e)==="[object Map]",Id=e=>Va(e)==="[object Set]",He=e=>typeof e=="function",kt=e=>typeof e=="string",o0=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",Nd=e=>(pt(e)||He(e))&&He(e.then)&&He(e.catch),Hd=Object.prototype.toString,Va=e=>Hd.call(e),u3=e=>Va(e).slice(8,-1),Vd=e=>Va(e)==="[object Object]",Cl=e=>kt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pu=kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ua=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},i3=/-(\w)/g,Xn=Ua(e=>e.replace(i3,(t,r)=>r?r.toUpperCase():"")),a3=/\B([A-Z])/g,I0=Ua(e=>e.replace(a3,"-$1").toLowerCase()),Ud=Ua(e=>e.charAt(0).toUpperCase()+e.slice(1)),Eo=Ua(e=>e?`on${Ud(e)}`:""),Zn=(e,t)=>!Object.is(e,t),Ji=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Fs=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},zs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},o3=e=>{const t=kt(e)?Number(e):NaN;return isNaN(t)?e:t};let Pc;const ja=()=>Pc||(Pc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _l(e){if(qe(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],u=kt(n)?f3(n):_l(n);if(u)for(const i in u)t[i]=u[i]}return t}else if(kt(e)||pt(e))return e}const s3=/;(?![^(]*\))/g,l3=/:([^]+)/,c3=/\/\*[^]*?\*\//g;function f3(e){const t={};return e.replace(c3,"").split(s3).forEach(r=>{if(r){const n=r.split(l3);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function O0(e){let t="";if(kt(e))t=e;else if(qe(e))for(let r=0;r<e.length;r++){const n=O0(e[r]);n&&(t+=n+" ")}else if(pt(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const d3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",h3=kl(d3);function jd(e){return!!e||e===""}const $d=e=>!!(e&&e.__v_isRef===!0),rn=e=>kt(e)?e:e==null?"":qe(e)||pt(e)&&(e.toString===Hd||!He(e.toString))?$d(e)?rn(e.value):JSON.stringify(e,Yd,2):String(e),Yd=(e,t)=>$d(t)?Yd(e,t.value):uu(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,u],i)=>(r[Mo(n,i)+" =>"]=u,r),{})}:Id(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Mo(r))}:o0(t)?Mo(t):pt(t)&&!qe(t)&&!Vd(t)?String(t):t,Mo=(e,t="")=>{var r;return o0(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
6
6
  * @vue/reactivity v3.5.18
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/let $t;class Wd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=$t,!t&&$t&&(this.index=($t.scopes||($t.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=$t;try{return $t=this,t()}finally{$t=r}}}on(){++this._on===1&&(this.prevScope=$t,$t=this)}off(){this._on>0&&--this._on===0&&($t=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const u=this.parent.scopes.pop();u&&u!==this&&(this.parent.scopes[this.index]=u,u.index=this.index)}this.parent=void 0}}}function Kd(e){return new Wd(e)}function Zd(){return $t}function g3(e,t=!1){$t&&$t.cleanups.push(e)}let ft;const To=new WeakSet;class Qd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,$t&&$t.active&&$t.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,To.has(this)&&(To.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Jd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,jc(this),eh(this);const t=ft,r=Pr;ft=this,Pr=!0;try{return this.fn()}finally{th(this),ft=t,Pr=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Tl(t);this.deps=this.depsTail=void 0,jc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?To.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){zs(this)&&this.run()}get dirty(){return zs(this)}}let Xd=0,Iu,Nu;function Jd(e,t=!1){if(e.flags|=8,t){e.next=Nu,Nu=e;return}e.next=Iu,Iu=e}function El(){Xd++}function Ml(){if(--Xd>0)return;if(Nu){let t=Nu;for(Nu=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Iu;){let t=Iu;for(Iu=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function eh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function th(e){let t,r=e.depsTail,n=r;for(;n;){const u=n.prevDep;n.version===-1?(n===r&&(r=u),Tl(n),b3(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=u}e.deps=t,e.depsTail=r}function zs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(rh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function rh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qu)||(e.globalVersion=Qu,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!zs(e))))return;e.flags|=2;const t=e.dep,r=ft,n=Pr;ft=e,Pr=!0;try{eh(e);const u=e.fn(e._value);(t.version===0||Qn(u,e._value))&&(e.flags|=128,e._value=u,t.version++)}catch(u){throw t.version++,u}finally{ft=r,Pr=n,th(e),e.flags&=-3}}function Tl(e,t=!1){const{dep:r,prevSub:n,nextSub:u}=e;if(n&&(n.nextSub=u,e.prevSub=void 0),u&&(u.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Tl(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function b3(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let Pr=!0;const nh=[];function En(){nh.push(Pr),Pr=!1}function Mn(){const e=nh.pop();Pr=e===void 0?!0:e}function jc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=ft;ft=void 0;try{t()}finally{ft=r}}}let Qu=0;class y3{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Fl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ft||!Pr||ft===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==ft)r=this.activeLink=new y3(ft,this),ft.deps?(r.prevDep=ft.depsTail,ft.depsTail.nextDep=r,ft.depsTail=r):ft.deps=ft.depsTail=r,uh(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=ft.depsTail,r.nextDep=void 0,ft.depsTail.nextDep=r,ft.depsTail=r,ft.deps===r&&(ft.deps=n)}return r}trigger(t){this.version++,Qu++,this.notify(t)}notify(t){El();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Ml()}}}function uh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)uh(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const ma=new WeakMap,D0=Symbol(""),Bs=Symbol(""),Xu=Symbol("");function Yt(e,t,r){if(Pr&&ft){let n=ma.get(e);n||ma.set(e,n=new Map);let u=n.get(r);u||(n.set(r,u=new Fl),u.map=n,u.key=r),u.track()}}function An(e,t,r,n,u,i){const a=ma.get(e);if(!a){Qu++;return}const o=s=>{s&&s.trigger()};if(El(),t==="clear")a.forEach(o);else{const s=Re(e),l=s&&_l(r);if(s&&r==="length"){const c=Number(n);a.forEach((f,m)=>{(m==="length"||m===Xu||!s0(m)&&m>=c)&&o(f)})}else switch((r!==void 0||a.has(void 0))&&o(a.get(r)),l&&o(a.get(Xu)),t){case"add":s?l&&o(a.get("length")):(o(a.get(D0)),uu(e)&&o(a.get(Bs)));break;case"delete":s||(o(a.get(D0)),uu(e)&&o(a.get(Bs)));break;case"set":uu(e)&&o(a.get(D0));break}}Ml()}function x3(e,t){const r=ma.get(e);return r&&r.get(t)}function U0(e){const t=Qe(e);return t===e?t:(Yt(t,"iterate",Xu),Dr(e)?t:t.map(Ht))}function Ya(e){return Yt(e=Qe(e),"iterate",Xu),e}const w3={__proto__:null,[Symbol.iterator](){return Fo(this,Symbol.iterator,Ht)},concat(...e){return U0(this).concat(...e.map(t=>Re(t)?U0(t):t))},entries(){return Fo(this,"entries",e=>(e[1]=Ht(e[1]),e))},every(e,t){return yn(this,"every",e,t,void 0,arguments)},filter(e,t){return yn(this,"filter",e,t,r=>r.map(Ht),arguments)},find(e,t){return yn(this,"find",e,t,Ht,arguments)},findIndex(e,t){return yn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yn(this,"findLast",e,t,Ht,arguments)},findLastIndex(e,t){return yn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yn(this,"forEach",e,t,void 0,arguments)},includes(...e){return zo(this,"includes",e)},indexOf(...e){return zo(this,"indexOf",e)},join(e){return U0(this).join(e)},lastIndexOf(...e){return zo(this,"lastIndexOf",e)},map(e,t){return yn(this,"map",e,t,void 0,arguments)},pop(){return _u(this,"pop")},push(...e){return _u(this,"push",e)},reduce(e,...t){return $c(this,"reduce",e,t)},reduceRight(e,...t){return $c(this,"reduceRight",e,t)},shift(){return _u(this,"shift")},some(e,t){return yn(this,"some",e,t,void 0,arguments)},splice(...e){return _u(this,"splice",e)},toReversed(){return U0(this).toReversed()},toSorted(e){return U0(this).toSorted(e)},toSpliced(...e){return U0(this).toSpliced(...e)},unshift(...e){return _u(this,"unshift",e)},values(){return Fo(this,"values",Ht)}};function Fo(e,t,r){const n=Ya(e),u=n[t]();return n!==e&&!Dr(e)&&(u._next=u.next,u.next=()=>{const i=u._next();return i.value&&(i.value=r(i.value)),i}),u}const k3=Array.prototype;function yn(e,t,r,n,u,i){const a=Ya(e),o=a!==e&&!Dr(e),s=a[t];if(s!==k3[t]){const f=s.apply(e,i);return o?Ht(f):f}let l=r;a!==e&&(o?l=function(f,m){return r.call(this,Ht(f),m,e)}:r.length>2&&(l=function(f,m){return r.call(this,f,m,e)}));const c=s.call(a,l,n);return o&&u?u(c):c}function $c(e,t,r,n){const u=Ya(e);let i=r;return u!==e&&(Dr(e)?r.length>3&&(i=function(a,o,s){return r.call(this,a,o,s,e)}):i=function(a,o,s){return r.call(this,a,Ht(o),s,e)}),u[t](i,...n)}function zo(e,t,r){const n=Qe(e);Yt(n,"iterate",Xu);const u=n[t](...r);return(u===-1||u===!1)&&Ol(r[0])?(r[0]=Qe(r[0]),n[t](...r)):u}function _u(e,t,r=[]){En(),El();const n=Qe(e)[t].apply(e,r);return Ml(),Mn(),n}const S3=Sl("__proto__,__v_isRef,__isVue"),ih=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(s0));function A3(e){s0(e)||(e=String(e));const t=Qe(this);return Yt(t,"has",e),t.hasOwnProperty(e)}class ah{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const u=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!u;if(r==="__v_isReadonly")return u;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(u?i?O3:ch:i?lh:sh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=Re(t);if(!u){let s;if(a&&(s=w3[r]))return s;if(r==="hasOwnProperty")return A3}const o=Reflect.get(t,r,Ct(t)?t:n);return(s0(r)?ih.has(r):S3(r))||(u||Yt(t,"get",r),i)?o:Ct(o)?a&&_l(r)?o:o.value:vt(o)?u?fh(o):vu(o):o}}class oh extends ah{constructor(t=!1){super(!1,t)}set(t,r,n,u){let i=t[r];if(!this._isShallow){const s=e0(i);if(!Dr(n)&&!e0(n)&&(i=Qe(i),n=Qe(n)),!Re(t)&&Ct(i)&&!Ct(n))return s?!1:(i.value=n,!0)}const a=Re(t)&&_l(r)?Number(r)<t.length:nt(t,r),o=Reflect.set(t,r,n,Ct(t)?t:u);return t===Qe(u)&&(a?Qn(n,i)&&An(t,"set",r,n):An(t,"add",r,n)),o}deleteProperty(t,r){const n=nt(t,r);t[r];const u=Reflect.deleteProperty(t,r);return u&&n&&An(t,"delete",r,void 0),u}has(t,r){const n=Reflect.has(t,r);return(!s0(r)||!ih.has(r))&&Yt(t,"has",r),n}ownKeys(t){return Yt(t,"iterate",Re(t)?"length":D0),Reflect.ownKeys(t)}}class C3 extends ah{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const _3=new oh,D3=new C3,E3=new oh(!0);const Os=e=>e,Fi=e=>Reflect.getPrototypeOf(e);function M3(e,t,r){return function(...n){const u=this.__v_raw,i=Qe(u),a=uu(i),o=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,l=u[e](...n),c=r?Os:t?pa:Ht;return!t&&Yt(i,"iterate",s?Bs:D0),{next(){const{value:f,done:m}=l.next();return m?{value:f,done:m}:{value:o?[c(f[0]),c(f[1])]:c(f),done:m}},[Symbol.iterator](){return this}}}}function zi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function T3(e,t){const r={get(u){const i=this.__v_raw,a=Qe(i),o=Qe(u);e||(Qn(u,o)&&Yt(a,"get",u),Yt(a,"get",o));const{has:s}=Fi(a),l=t?Os:e?pa:Ht;if(s.call(a,u))return l(i.get(u));if(s.call(a,o))return l(i.get(o));i!==a&&i.get(u)},get size(){const u=this.__v_raw;return!e&&Yt(Qe(u),"iterate",D0),Reflect.get(u,"size",u)},has(u){const i=this.__v_raw,a=Qe(i),o=Qe(u);return e||(Qn(u,o)&&Yt(a,"has",u),Yt(a,"has",o)),u===o?i.has(u):i.has(u)||i.has(o)},forEach(u,i){const a=this,o=a.__v_raw,s=Qe(o),l=t?Os:e?pa:Ht;return!e&&Yt(s,"iterate",D0),o.forEach((c,f)=>u.call(i,l(c),l(f),a))}};return zt(r,e?{add:zi("add"),set:zi("set"),delete:zi("delete"),clear:zi("clear")}:{add(u){!t&&!Dr(u)&&!e0(u)&&(u=Qe(u));const i=Qe(this);return Fi(i).has.call(i,u)||(i.add(u),An(i,"add",u,u)),this},set(u,i){!t&&!Dr(i)&&!e0(i)&&(i=Qe(i));const a=Qe(this),{has:o,get:s}=Fi(a);let l=o.call(a,u);l||(u=Qe(u),l=o.call(a,u));const c=s.call(a,u);return a.set(u,i),l?Qn(i,c)&&An(a,"set",u,i):An(a,"add",u,i),this},delete(u){const i=Qe(this),{has:a,get:o}=Fi(i);let s=a.call(i,u);s||(u=Qe(u),s=a.call(i,u)),o&&o.call(i,u);const l=i.delete(u);return s&&An(i,"delete",u,void 0),l},clear(){const u=Qe(this),i=u.size!==0,a=u.clear();return i&&An(u,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(u=>{r[u]=M3(u,e,t)}),r}function zl(e,t){const r=T3(e,t);return(n,u,i)=>u==="__v_isReactive"?!e:u==="__v_isReadonly"?e:u==="__v_raw"?n:Reflect.get(nt(r,u)&&u in n?r:n,u,i)}const F3={get:zl(!1,!1)},z3={get:zl(!1,!0)},B3={get:zl(!0,!1)};const sh=new WeakMap,lh=new WeakMap,ch=new WeakMap,O3=new WeakMap;function R3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q3(e){return e.__v_skip||!Object.isExtensible(e)?0:R3(o3(e))}function vu(e){return e0(e)?e:Bl(e,!1,_3,F3,sh)}function L3(e){return Bl(e,!1,E3,z3,lh)}function fh(e){return Bl(e,!0,D3,B3,ch)}function Bl(e,t,r,n,u){if(!vt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=q3(e);if(i===0)return e;const a=u.get(e);if(a)return a;const o=new Proxy(e,i===2?n:r);return u.set(e,o),o}function Xn(e){return e0(e)?Xn(e.__v_raw):!!(e&&e.__v_isReactive)}function e0(e){return!!(e&&e.__v_isReadonly)}function Dr(e){return!!(e&&e.__v_isShallow)}function Ol(e){return e?!!e.__v_raw:!1}function Qe(e){const t=e&&e.__v_raw;return t?Qe(t):e}function gu(e){return!nt(e,"__v_skip")&&Object.isExtensible(e)&&Ts(e,"__v_skip",!0),e}const Ht=e=>vt(e)?vu(e):e,pa=e=>vt(e)?fh(e):e;function Ct(e){return e?e.__v_isRef===!0:!1}function xe(e){return P3(e,!1)}function P3(e,t){return Ct(e)?e:new I3(e,t)}class I3{constructor(t,r){this.dep=new Fl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:Qe(t),this._value=r?t:Ht(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||Dr(t)||e0(t);t=n?t:Qe(t),Qn(t,r)&&(this._rawValue=t,this._value=n?t:Ht(t),this.dep.trigger())}}function rt(e){return Ct(e)?e.value:e}const N3={get:(e,t,r)=>t==="__v_raw"?e:rt(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const u=e[t];return Ct(u)&&!Ct(r)?(u.value=r,!0):Reflect.set(e,t,r,n)}};function dh(e){return Xn(e)?e:new Proxy(e,N3)}function H3(e){const t=Re(e)?new Array(e.length):{};for(const r in e)t[r]=U3(e,r);return t}class V3{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return x3(Qe(this._object),this._key)}}function U3(e,t,r){const n=e[t];return Ct(n)?n:new V3(e,t,r)}class j3{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Fl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ft!==this)return Jd(this,!0),!0}get value(){const t=this.dep.track();return rh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $3(e,t,r=!1){let n,u;return He(e)?n=e:(n=e.get,u=e.set),new j3(n,u,r)}const Bi={},va=new WeakMap;let w0;function Y3(e,t=!1,r=w0){if(r){let n=va.get(r);n||va.set(r,n=[]),n.push(e)}}function G3(e,t,r=ot){const{immediate:n,deep:u,once:i,scheduler:a,augmentJob:o,call:s}=r,l=w=>u?w:Dr(w)||u===!1||u===0?Cn(w,1):Cn(w);let c,f,m,p,v=!1,x=!1;if(Ct(e)?(f=()=>e.value,v=Dr(e)):Xn(e)?(f=()=>l(e),v=!0):Re(e)?(x=!0,v=e.some(w=>Xn(w)||Dr(w)),f=()=>e.map(w=>{if(Ct(w))return w.value;if(Xn(w))return l(w);if(He(w))return s?s(w,2):w()})):He(e)?t?f=s?()=>s(e,2):e:f=()=>{if(m){En();try{m()}finally{Mn()}}const w=w0;w0=c;try{return s?s(e,3,[p]):e(p)}finally{w0=w}}:f=ln,t&&u){const w=f,F=u===!0?1/0:u;f=()=>Cn(w(),F)}const y=Zd(),T=()=>{c.stop(),y&&y.active&&Cl(y.effects,c)};if(i&&t){const w=t;t=(...F)=>{w(...F),T()}}let D=x?new Array(e.length).fill(Bi):Bi;const _=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const F=c.run();if(u||v||(x?F.some((j,z)=>Qn(j,D[z])):Qn(F,D))){m&&m();const j=w0;w0=c;try{const z=[F,D===Bi?void 0:x&&D[0]===Bi?[]:D,p];D=F,s?s(t,3,z):t(...z)}finally{w0=j}}}else c.run()};return o&&o(_),c=new Qd(f),c.scheduler=a?()=>a(_,!1):_,p=w=>Y3(w,!1,c),m=c.onStop=()=>{const w=va.get(c);if(w){if(s)s(w,4);else for(const F of w)F();va.delete(c)}},t?n?_(!0):D=c.run():a?a(_.bind(null,!0),!0):c.run(),T.pause=c.pause.bind(c),T.resume=c.resume.bind(c),T.stop=T,T}function Cn(e,t=1/0,r){if(t<=0||!vt(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,Ct(e))Cn(e.value,t,r);else if(Re(e))for(let n=0;n<e.length;n++)Cn(e[n],t,r);else if(Nd(e)||uu(e))e.forEach(n=>{Cn(n,t,r)});else if(Ud(e)){for(const n in e)Cn(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Cn(e[n],t,r)}return e}/**
9
+ **/let $t;class Gd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=$t,!t&&$t&&(this.index=($t.scopes||($t.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=$t;try{return $t=this,t()}finally{$t=r}}}on(){++this._on===1&&(this.prevScope=$t,$t=this)}off(){this._on>0&&--this._on===0&&($t=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const u=this.parent.scopes.pop();u&&u!==this&&(this.parent.scopes[this.index]=u,u.index=this.index)}this.parent=void 0}}}function Wd(e){return new Gd(e)}function Kd(){return $t}function m3(e,t=!1){$t&&$t.cleanups.push(e)}let dt;const To=new WeakSet;class Zd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,$t&&$t.active&&$t.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,To.has(this)&&(To.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ic(this),Jd(this);const t=dt,r=Lr;dt=this,Lr=!0;try{return this.fn()}finally{eh(this),dt=t,Lr=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ml(t);this.deps=this.depsTail=void 0,Ic(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?To.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Bs(this)&&this.run()}get dirty(){return Bs(this)}}let Qd=0,Iu,Nu;function Xd(e,t=!1){if(e.flags|=8,t){e.next=Nu,Nu=e;return}e.next=Iu,Iu=e}function Dl(){Qd++}function El(){if(--Qd>0)return;if(Nu){let t=Nu;for(Nu=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Iu;){let t=Iu;for(Iu=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function Jd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eh(e){let t,r=e.depsTail,n=r;for(;n;){const u=n.prevDep;n.version===-1?(n===r&&(r=u),Ml(n),p3(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=u}e.deps=t,e.depsTail=r}function Bs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(th(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function th(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qu)||(e.globalVersion=Qu,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Bs(e))))return;e.flags|=2;const t=e.dep,r=dt,n=Lr;dt=e,Lr=!0;try{Jd(e);const u=e.fn(e._value);(t.version===0||Zn(u,e._value))&&(e.flags|=128,e._value=u,t.version++)}catch(u){throw t.version++,u}finally{dt=r,Lr=n,eh(e),e.flags&=-3}}function Ml(e,t=!1){const{dep:r,prevSub:n,nextSub:u}=e;if(n&&(n.nextSub=u,e.prevSub=void 0),u&&(u.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Ml(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function p3(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let Lr=!0;const rh=[];function En(){rh.push(Lr),Lr=!1}function Mn(){const e=rh.pop();Lr=e===void 0?!0:e}function Ic(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=dt;dt=void 0;try{t()}finally{dt=r}}}let Qu=0;class v3{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!dt||!Lr||dt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==dt)r=this.activeLink=new v3(dt,this),dt.deps?(r.prevDep=dt.depsTail,dt.depsTail.nextDep=r,dt.depsTail=r):dt.deps=dt.depsTail=r,nh(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=dt.depsTail,r.nextDep=void 0,dt.depsTail.nextDep=r,dt.depsTail=r,dt.deps===r&&(dt.deps=n)}return r}trigger(t){this.version++,Qu++,this.notify(t)}notify(t){Dl();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{El()}}}function nh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)nh(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const da=new WeakMap,_0=Symbol(""),Os=Symbol(""),Xu=Symbol("");function Yt(e,t,r){if(Lr&&dt){let n=da.get(e);n||da.set(e,n=new Map);let u=n.get(r);u||(n.set(r,u=new Tl),u.map=n,u.key=r),u.track()}}function Sn(e,t,r,n,u,i){const a=da.get(e);if(!a){Qu++;return}const o=s=>{s&&s.trigger()};if(Dl(),t==="clear")a.forEach(o);else{const s=qe(e),l=s&&Cl(r);if(s&&r==="length"){const c=Number(n);a.forEach((f,m)=>{(m==="length"||m===Xu||!o0(m)&&m>=c)&&o(f)})}else switch((r!==void 0||a.has(void 0))&&o(a.get(r)),l&&o(a.get(Xu)),t){case"add":s?l&&o(a.get("length")):(o(a.get(_0)),uu(e)&&o(a.get(Os)));break;case"delete":s||(o(a.get(_0)),uu(e)&&o(a.get(Os)));break;case"set":uu(e)&&o(a.get(_0));break}}El()}function g3(e,t){const r=da.get(e);return r&&r.get(t)}function U0(e){const t=Qe(e);return t===e?t:(Yt(t,"iterate",Xu),Dr(e)?t:t.map(Ht))}function $a(e){return Yt(e=Qe(e),"iterate",Xu),e}const b3={__proto__:null,[Symbol.iterator](){return Fo(this,Symbol.iterator,Ht)},concat(...e){return U0(this).concat(...e.map(t=>qe(t)?U0(t):t))},entries(){return Fo(this,"entries",e=>(e[1]=Ht(e[1]),e))},every(e,t){return bn(this,"every",e,t,void 0,arguments)},filter(e,t){return bn(this,"filter",e,t,r=>r.map(Ht),arguments)},find(e,t){return bn(this,"find",e,t,Ht,arguments)},findIndex(e,t){return bn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bn(this,"findLast",e,t,Ht,arguments)},findLastIndex(e,t){return bn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bn(this,"forEach",e,t,void 0,arguments)},includes(...e){return zo(this,"includes",e)},indexOf(...e){return zo(this,"indexOf",e)},join(e){return U0(this).join(e)},lastIndexOf(...e){return zo(this,"lastIndexOf",e)},map(e,t){return bn(this,"map",e,t,void 0,arguments)},pop(){return _u(this,"pop")},push(...e){return _u(this,"push",e)},reduce(e,...t){return Nc(this,"reduce",e,t)},reduceRight(e,...t){return Nc(this,"reduceRight",e,t)},shift(){return _u(this,"shift")},some(e,t){return bn(this,"some",e,t,void 0,arguments)},splice(...e){return _u(this,"splice",e)},toReversed(){return U0(this).toReversed()},toSorted(e){return U0(this).toSorted(e)},toSpliced(...e){return U0(this).toSpliced(...e)},unshift(...e){return _u(this,"unshift",e)},values(){return Fo(this,"values",Ht)}};function Fo(e,t,r){const n=$a(e),u=n[t]();return n!==e&&!Dr(e)&&(u._next=u.next,u.next=()=>{const i=u._next();return i.value&&(i.value=r(i.value)),i}),u}const y3=Array.prototype;function bn(e,t,r,n,u,i){const a=$a(e),o=a!==e&&!Dr(e),s=a[t];if(s!==y3[t]){const f=s.apply(e,i);return o?Ht(f):f}let l=r;a!==e&&(o?l=function(f,m){return r.call(this,Ht(f),m,e)}:r.length>2&&(l=function(f,m){return r.call(this,f,m,e)}));const c=s.call(a,l,n);return o&&u?u(c):c}function Nc(e,t,r,n){const u=$a(e);let i=r;return u!==e&&(Dr(e)?r.length>3&&(i=function(a,o,s){return r.call(this,a,o,s,e)}):i=function(a,o,s){return r.call(this,a,Ht(o),s,e)}),u[t](i,...n)}function zo(e,t,r){const n=Qe(e);Yt(n,"iterate",Xu);const u=n[t](...r);return(u===-1||u===!1)&&Bl(r[0])?(r[0]=Qe(r[0]),n[t](...r)):u}function _u(e,t,r=[]){En(),Dl();const n=Qe(e)[t].apply(e,r);return El(),Mn(),n}const x3=kl("__proto__,__v_isRef,__isVue"),uh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(o0));function w3(e){o0(e)||(e=String(e));const t=Qe(this);return Yt(t,"has",e),t.hasOwnProperty(e)}class ih{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const u=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!u;if(r==="__v_isReadonly")return u;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(u?i?F3:lh:i?sh:oh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=qe(t);if(!u){let s;if(a&&(s=b3[r]))return s;if(r==="hasOwnProperty")return w3}const o=Reflect.get(t,r,Ct(t)?t:n);return(o0(r)?uh.has(r):x3(r))||(u||Yt(t,"get",r),i)?o:Ct(o)?a&&Cl(r)?o:o.value:pt(o)?u?ch(o):vu(o):o}}class ah extends ih{constructor(t=!1){super(!1,t)}set(t,r,n,u){let i=t[r];if(!this._isShallow){const s=Jn(i);if(!Dr(n)&&!Jn(n)&&(i=Qe(i),n=Qe(n)),!qe(t)&&Ct(i)&&!Ct(n))return s?!1:(i.value=n,!0)}const a=qe(t)&&Cl(r)?Number(r)<t.length:nt(t,r),o=Reflect.set(t,r,n,Ct(t)?t:u);return t===Qe(u)&&(a?Zn(n,i)&&Sn(t,"set",r,n):Sn(t,"add",r,n)),o}deleteProperty(t,r){const n=nt(t,r);t[r];const u=Reflect.deleteProperty(t,r);return u&&n&&Sn(t,"delete",r,void 0),u}has(t,r){const n=Reflect.has(t,r);return(!o0(r)||!uh.has(r))&&Yt(t,"has",r),n}ownKeys(t){return Yt(t,"iterate",qe(t)?"length":_0),Reflect.ownKeys(t)}}class k3 extends ih{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const S3=new ah,A3=new k3,C3=new ah(!0);const qs=e=>e,Ti=e=>Reflect.getPrototypeOf(e);function _3(e,t,r){return function(...n){const u=this.__v_raw,i=Qe(u),a=uu(i),o=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,l=u[e](...n),c=r?qs:t?ha:Ht;return!t&&Yt(i,"iterate",s?Os:_0),{next(){const{value:f,done:m}=l.next();return m?{value:f,done:m}:{value:o?[c(f[0]),c(f[1])]:c(f),done:m}},[Symbol.iterator](){return this}}}}function Fi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function D3(e,t){const r={get(u){const i=this.__v_raw,a=Qe(i),o=Qe(u);e||(Zn(u,o)&&Yt(a,"get",u),Yt(a,"get",o));const{has:s}=Ti(a),l=t?qs:e?ha:Ht;if(s.call(a,u))return l(i.get(u));if(s.call(a,o))return l(i.get(o));i!==a&&i.get(u)},get size(){const u=this.__v_raw;return!e&&Yt(Qe(u),"iterate",_0),Reflect.get(u,"size",u)},has(u){const i=this.__v_raw,a=Qe(i),o=Qe(u);return e||(Zn(u,o)&&Yt(a,"has",u),Yt(a,"has",o)),u===o?i.has(u):i.has(u)||i.has(o)},forEach(u,i){const a=this,o=a.__v_raw,s=Qe(o),l=t?qs:e?ha:Ht;return!e&&Yt(s,"iterate",_0),o.forEach((c,f)=>u.call(i,l(c),l(f),a))}};return zt(r,e?{add:Fi("add"),set:Fi("set"),delete:Fi("delete"),clear:Fi("clear")}:{add(u){!t&&!Dr(u)&&!Jn(u)&&(u=Qe(u));const i=Qe(this);return Ti(i).has.call(i,u)||(i.add(u),Sn(i,"add",u,u)),this},set(u,i){!t&&!Dr(i)&&!Jn(i)&&(i=Qe(i));const a=Qe(this),{has:o,get:s}=Ti(a);let l=o.call(a,u);l||(u=Qe(u),l=o.call(a,u));const c=s.call(a,u);return a.set(u,i),l?Zn(i,c)&&Sn(a,"set",u,i):Sn(a,"add",u,i),this},delete(u){const i=Qe(this),{has:a,get:o}=Ti(i);let s=a.call(i,u);s||(u=Qe(u),s=a.call(i,u)),o&&o.call(i,u);const l=i.delete(u);return s&&Sn(i,"delete",u,void 0),l},clear(){const u=Qe(this),i=u.size!==0,a=u.clear();return i&&Sn(u,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(u=>{r[u]=_3(u,e,t)}),r}function Fl(e,t){const r=D3(e,t);return(n,u,i)=>u==="__v_isReactive"?!e:u==="__v_isReadonly"?e:u==="__v_raw"?n:Reflect.get(nt(r,u)&&u in n?r:n,u,i)}const E3={get:Fl(!1,!1)},M3={get:Fl(!1,!0)},T3={get:Fl(!0,!1)};const oh=new WeakMap,sh=new WeakMap,lh=new WeakMap,F3=new WeakMap;function z3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function B3(e){return e.__v_skip||!Object.isExtensible(e)?0:z3(u3(e))}function vu(e){return Jn(e)?e:zl(e,!1,S3,E3,oh)}function O3(e){return zl(e,!1,C3,M3,sh)}function ch(e){return zl(e,!0,A3,T3,lh)}function zl(e,t,r,n,u){if(!pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=B3(e);if(i===0)return e;const a=u.get(e);if(a)return a;const o=new Proxy(e,i===2?n:r);return u.set(e,o),o}function Qn(e){return Jn(e)?Qn(e.__v_raw):!!(e&&e.__v_isReactive)}function Jn(e){return!!(e&&e.__v_isReadonly)}function Dr(e){return!!(e&&e.__v_isShallow)}function Bl(e){return e?!!e.__v_raw:!1}function Qe(e){const t=e&&e.__v_raw;return t?Qe(t):e}function gu(e){return!nt(e,"__v_skip")&&Object.isExtensible(e)&&Fs(e,"__v_skip",!0),e}const Ht=e=>pt(e)?vu(e):e,ha=e=>pt(e)?ch(e):e;function Ct(e){return e?e.__v_isRef===!0:!1}function we(e){return q3(e,!1)}function q3(e,t){return Ct(e)?e:new R3(e,t)}class R3{constructor(t,r){this.dep=new Tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:Qe(t),this._value=r?t:Ht(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||Dr(t)||Jn(t);t=n?t:Qe(t),Zn(t,r)&&(this._rawValue=t,this._value=n?t:Ht(t),this.dep.trigger())}}function rt(e){return Ct(e)?e.value:e}const L3={get:(e,t,r)=>t==="__v_raw"?e:rt(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const u=e[t];return Ct(u)&&!Ct(r)?(u.value=r,!0):Reflect.set(e,t,r,n)}};function fh(e){return Qn(e)?e:new Proxy(e,L3)}function P3(e){const t=qe(e)?new Array(e.length):{};for(const r in e)t[r]=N3(e,r);return t}class I3{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return g3(Qe(this._object),this._key)}}function N3(e,t,r){const n=e[t];return Ct(n)?n:new I3(e,t,r)}class H3{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Tl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&dt!==this)return Xd(this,!0),!0}get value(){const t=this.dep.track();return th(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function V3(e,t,r=!1){let n,u;return He(e)?n=e:(n=e.get,u=e.set),new H3(n,u,r)}const zi={},ma=new WeakMap;let x0;function U3(e,t=!1,r=x0){if(r){let n=ma.get(r);n||ma.set(r,n=[]),n.push(e)}}function j3(e,t,r=st){const{immediate:n,deep:u,once:i,scheduler:a,augmentJob:o,call:s}=r,l=w=>u?w:Dr(w)||u===!1||u===0?An(w,1):An(w);let c,f,m,p,v=!1,x=!1;if(Ct(e)?(f=()=>e.value,v=Dr(e)):Qn(e)?(f=()=>l(e),v=!0):qe(e)?(x=!0,v=e.some(w=>Qn(w)||Dr(w)),f=()=>e.map(w=>{if(Ct(w))return w.value;if(Qn(w))return l(w);if(He(w))return s?s(w,2):w()})):He(e)?t?f=s?()=>s(e,2):e:f=()=>{if(m){En();try{m()}finally{Mn()}}const w=x0;x0=c;try{return s?s(e,3,[p]):e(p)}finally{x0=w}}:f=sn,t&&u){const w=f,F=u===!0?1/0:u;f=()=>An(w(),F)}const y=Kd(),T=()=>{c.stop(),y&&y.active&&Al(y.effects,c)};if(i&&t){const w=t;t=(...F)=>{w(...F),T()}}let D=x?new Array(e.length).fill(zi):zi;const _=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const F=c.run();if(u||v||(x?F.some((j,z)=>Zn(j,D[z])):Zn(F,D))){m&&m();const j=x0;x0=c;try{const z=[F,D===zi?void 0:x&&D[0]===zi?[]:D,p];D=F,s?s(t,3,z):t(...z)}finally{x0=j}}}else c.run()};return o&&o(_),c=new Zd(f),c.scheduler=a?()=>a(_,!1):_,p=w=>U3(w,!1,c),m=c.onStop=()=>{const w=ma.get(c);if(w){if(s)s(w,4);else for(const F of w)F();ma.delete(c)}},t?n?_(!0):D=c.run():a?a(_.bind(null,!0),!0):c.run(),T.pause=c.pause.bind(c),T.resume=c.resume.bind(c),T.stop=T,T}function An(e,t=1/0,r){if(t<=0||!pt(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,Ct(e))An(e.value,t,r);else if(qe(e))for(let n=0;n<e.length;n++)An(e[n],t,r);else if(Id(e)||uu(e))e.forEach(n=>{An(n,t,r)});else if(Vd(e)){for(const n in e)An(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&An(e[n],t,r)}return e}/**
10
10
  * @vue/runtime-core v3.5.18
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/function hi(e,t,r,n){try{return n?e(...n):e()}catch(u){Ga(u,t,r)}}function Nr(e,t,r,n){if(He(e)){const u=hi(e,t,r,n);return u&&Hd(u)&&u.catch(i=>{Ga(i,t,r)}),u}if(Re(e)){const u=[];for(let i=0;i<e.length;i++)u.push(Nr(e[i],t,r,n));return u}}function Ga(e,t,r,n=!0){const u=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||ot;if(t){let o=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${r}`;for(;o;){const c=o.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,s,l)===!1)return}o=o.parent}if(i){En(),hi(i,null,10,[e,s,l]),Mn();return}}W3(e,r,u,n,a)}function W3(e,t,r,n=!0,u=!1){if(u)throw e;console.error(e)}const tr=[];let Zr=-1;const iu=[];let Vn=null,eu=0;const hh=Promise.resolve();let ga=null;function pt(e){const t=ga||hh;return e?t.then(this?e.bind(this):e):t}function K3(e){let t=Zr+1,r=tr.length;for(;t<r;){const n=t+r>>>1,u=tr[n],i=Ju(u);i<e||i===e&&u.flags&2?t=n+1:r=n}return t}function Rl(e){if(!(e.flags&1)){const t=Ju(e),r=tr[tr.length-1];!r||!(e.flags&2)&&t>=Ju(r)?tr.push(e):tr.splice(K3(t),0,e),e.flags|=1,mh()}}function mh(){ga||(ga=hh.then(vh))}function Z3(e){Re(e)?iu.push(...e):Vn&&e.id===-1?Vn.splice(eu+1,0,e):e.flags&1||(iu.push(e),e.flags|=1),mh()}function Yc(e,t,r=Zr+1){for(;r<tr.length;r++){const n=tr[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;tr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ph(e){if(iu.length){const t=[...new Set(iu)].sort((r,n)=>Ju(r)-Ju(n));if(iu.length=0,Vn){Vn.push(...t);return}for(Vn=t,eu=0;eu<Vn.length;eu++){const r=Vn[eu];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Vn=null,eu=0}}const Ju=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vh(e){try{for(Zr=0;Zr<tr.length;Zr++){const t=tr[Zr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Zr<tr.length;Zr++){const t=tr[Zr];t&&(t.flags&=-2)}Zr=-1,tr.length=0,ph(),ga=null,(tr.length||iu.length)&&vh()}}let Cr=null,gh=null;function ba(e){const t=Cr;return Cr=e,gh=e&&e.type.__scopeId||null,t}function Sr(e,t=Cr,r){if(!t||e._n)return e;const n=(...u)=>{n._d&&i1(-1);const i=ba(t);let a;try{a=e(...u)}finally{ba(i),n._d&&i1(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function ql(e,t){if(Cr===null)return e;const r=Xa(Cr),n=e.dirs||(e.dirs=[]);for(let u=0;u<t.length;u++){let[i,a,o,s=ot]=t[u];i&&(He(i)&&(i={mounted:i,updated:i}),i.deep&&Cn(a),n.push({dir:i,instance:r,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function h0(e,t,r,n){const u=e.dirs,i=t&&t.dirs;for(let a=0;a<u.length;a++){const o=u[a];i&&(o.oldValue=i[a].value);let s=o.dir[n];s&&(En(),Nr(s,r,8,[e.el,o,e,t]),Mn())}}const bh=Symbol("_vte"),yh=e=>e.__isTeleport,Hu=e=>e&&(e.disabled||e.disabled===""),Gc=e=>e&&(e.defer||e.defer===""),Wc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Kc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const r=e&&e.to;return kt(r)?t?t(r):null:r},xh={name:"Teleport",__isTeleport:!0,process(e,t,r,n,u,i,a,o,s,l){const{mc:c,pc:f,pbc:m,o:{insert:p,querySelector:v,createText:x,createComment:y}}=l,T=Hu(t.props);let{shapeFlag:D,children:_,dynamicChildren:w}=t;if(e==null){const F=t.el=x(""),j=t.anchor=x("");p(F,r,n),p(j,r,n);const z=(S,Y)=>{D&16&&(u&&u.isCE&&(u.ce._teleportTarget=S),c(_,S,Y,u,i,a,o,s))},V=()=>{const S=t.target=Rs(t.props,v),Y=wh(S,t,x,p);S&&(a!=="svg"&&Wc(S)?a="svg":a!=="mathml"&&Kc(S)&&(a="mathml"),T||(z(S,Y),ta(t,!1)))};T&&(z(r,j),ta(t,!0)),Gc(t.props)?(t.el.__isMounted=!1,Jt(()=>{V(),delete t.el.__isMounted},i)):V()}else{if(Gc(t.props)&&e.el.__isMounted===!1){Jt(()=>{xh.process(e,t,r,n,u,i,a,o,s,l)},i);return}t.el=e.el,t.targetStart=e.targetStart;const F=t.anchor=e.anchor,j=t.target=e.target,z=t.targetAnchor=e.targetAnchor,V=Hu(e.props),S=V?r:j,Y=V?F:z;if(a==="svg"||Wc(j)?a="svg":(a==="mathml"||Kc(j))&&(a="mathml"),w?(m(e.dynamicChildren,w,S,u,i,a,o),jl(e,t,!0)):s||f(e,t,S,Y,u,i,a,o,!1),T)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Oi(t,r,F,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=Rs(t.props,v);Z&&Oi(t,Z,null,l,0)}else V&&Oi(t,j,z,l,1);ta(t,T)}},remove(e,t,r,{um:n,o:{remove:u}},i){const{shapeFlag:a,children:o,anchor:s,targetStart:l,targetAnchor:c,target:f,props:m}=e;if(f&&(u(l),u(c)),i&&u(s),a&16){const p=i||!Hu(m);for(let v=0;v<o.length;v++){const x=o[v];n(x,t,r,p,!!x.dynamicChildren)}}},move:Oi,hydrate:Q3};function Oi(e,t,r,{o:{insert:n},m:u},i=2){i===0&&n(e.targetAnchor,t,r);const{el:a,anchor:o,shapeFlag:s,children:l,props:c}=e,f=i===2;if(f&&n(a,t,r),(!f||Hu(c))&&s&16)for(let m=0;m<l.length;m++)u(l[m],t,r,2);f&&n(o,t,r)}function Q3(e,t,r,n,u,i,{o:{nextSibling:a,parentNode:o,querySelector:s,insert:l,createText:c}},f){const m=t.target=Rs(t.props,s);if(m){const p=Hu(t.props),v=m._lpa||m.firstChild;if(t.shapeFlag&16)if(p)t.anchor=f(a(e),t,o(e),r,n,u,i),t.targetStart=v,t.targetAnchor=v&&a(v);else{t.anchor=a(e);let x=v;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,m._lpa=t.targetAnchor&&a(t.targetAnchor);break}}x=a(x)}t.targetAnchor||wh(m,t,c,l),f(v&&a(v),t,m,r,n,u,i)}ta(t,p)}return t.anchor&&a(t.anchor)}const X3=xh;function ta(e,t){const r=e.ctx;if(r&&r.ut){let n,u;for(t?(n=e.el,u=e.anchor):(n=e.targetStart,u=e.targetAnchor);n&&n!==u;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function wh(e,t,r,n){const u=t.targetStart=r(""),i=t.targetAnchor=r("");return u[bh]=i,e&&(n(u,e),n(i,e)),i}const Un=Symbol("_leaveCb"),Ri=Symbol("_enterCb");function kh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fn(()=>{e.isMounted=!0}),Wt(()=>{e.isUnmounting=!0}),e}const wr=[Function,Array],Sh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wr,onEnter:wr,onAfterEnter:wr,onEnterCancelled:wr,onBeforeLeave:wr,onLeave:wr,onAfterLeave:wr,onLeaveCancelled:wr,onBeforeAppear:wr,onAppear:wr,onAfterAppear:wr,onAppearCancelled:wr},Ah=e=>{const t=e.subTree;return t.component?Ah(t.component):t},J3={name:"BaseTransition",props:Sh,setup(e,{slots:t}){const r=gt(),n=kh();return()=>{const u=t.default&&Ll(t.default(),!0);if(!u||!u.length)return;const i=Ch(u),a=Qe(e),{mode:o}=a;if(n.isLeaving)return Bo(i);const s=Zc(i);if(!s)return Bo(i);let l=ei(s,a,n,r,f=>l=f);s.type!==rr&&q0(s,l);let c=r.subTree&&Zc(r.subTree);if(c&&c.type!==rr&&!k0(s,c)&&Ah(r).type!==rr){let f=ei(c,a,n,r);if(q0(c,f),o==="out-in"&&s.type!==rr)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete f.afterLeave,c=void 0},Bo(i);o==="in-out"&&s.type!==rr?f.delayLeave=(m,p,v)=>{const x=_h(n,c);x[String(c.key)]=c,m[Un]=()=>{p(),m[Un]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{v(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Ch(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==rr){t=r;break}}return t}const e6=J3;function _h(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ei(e,t,r,n,u){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:m,onLeave:p,onAfterLeave:v,onLeaveCancelled:x,onBeforeAppear:y,onAppear:T,onAfterAppear:D,onAppearCancelled:_}=t,w=String(e.key),F=_h(r,e),j=(S,Y)=>{S&&Nr(S,n,9,Y)},z=(S,Y)=>{const Z=Y[1];j(S,Y),Re(S)?S.every(M=>M.length<=1)&&Z():S.length<=1&&Z()},V={mode:a,persisted:o,beforeEnter(S){let Y=s;if(!r.isMounted)if(i)Y=y||s;else return;S[Un]&&S[Un](!0);const Z=F[w];Z&&k0(e,Z)&&Z.el[Un]&&Z.el[Un](),j(Y,[S])},enter(S){let Y=l,Z=c,M=f;if(!r.isMounted)if(i)Y=T||l,Z=D||c,M=_||f;else return;let U=!1;const B=S[Ri]=ne=>{U||(U=!0,ne?j(M,[S]):j(Z,[S]),V.delayedLeave&&V.delayedLeave(),S[Ri]=void 0)};Y?z(Y,[S,B]):B()},leave(S,Y){const Z=String(e.key);if(S[Ri]&&S[Ri](!0),r.isUnmounting)return Y();j(m,[S]);let M=!1;const U=S[Un]=B=>{M||(M=!0,Y(),B?j(x,[S]):j(v,[S]),S[Un]=void 0,F[Z]===e&&delete F[Z])};F[Z]=e,p?z(p,[S,U]):U()},clone(S){const Y=ei(S,t,r,n,u);return u&&u(Y),Y}};return V}function Bo(e){if(Wa(e))return e=t0(e),e.children=null,e}function Zc(e){if(!Wa(e))return yh(e.type)&&e.children?Ch(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&He(r.default))return r.default()}}function q0(e,t){e.shapeFlag&6&&e.component?(e.transition=t,q0(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ll(e,t=!1,r){let n=[],u=0;for(let i=0;i<e.length;i++){let a=e[i];const o=r==null?a.key:String(r)+String(a.key!=null?a.key:i);a.type===Vt?(a.patchFlag&128&&u++,n=n.concat(Ll(a.children,t,o))):(t||a.type!==rr)&&n.push(o!=null?t0(a,{key:o}):a)}if(u>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Hr(e,t){return He(e)?zt({name:e.name},t,{setup:e}):e}function Dh(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Vu(e,t,r,n,u=!1){if(Re(e)){e.forEach((v,x)=>Vu(v,t&&(Re(t)?t[x]:t),r,n,u));return}if(Uu(n)&&!u){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Vu(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Xa(n.component):n.el,a=u?null:i,{i:o,r:s}=e,l=t&&t.r,c=o.refs===ot?o.refs={}:o.refs,f=o.setupState,m=Qe(f),p=f===ot?()=>!1:v=>nt(m,v);if(l!=null&&l!==s&&(kt(l)?(c[l]=null,p(l)&&(f[l]=null)):Ct(l)&&(l.value=null)),He(s))hi(s,o,12,[a,c]);else{const v=kt(s),x=Ct(s);if(v||x){const y=()=>{if(e.f){const T=v?p(s)?f[s]:c[s]:s.value;u?Re(T)&&Cl(T,i):Re(T)?T.includes(i)||T.push(i):v?(c[s]=[i],p(s)&&(f[s]=c[s])):(s.value=[i],e.k&&(c[e.k]=s.value))}else v?(c[s]=a,p(s)&&(f[s]=a)):x&&(s.value=a,e.k&&(c[e.k]=a))};a?(y.id=-1,Jt(y,r)):y()}}}$a().requestIdleCallback;$a().cancelIdleCallback;const Uu=e=>!!e.type.__asyncLoader,Wa=e=>e.type.__isKeepAlive;function Pl(e,t){Eh(e,"a",t)}function mi(e,t){Eh(e,"da",t)}function Eh(e,t,r=nr){const n=e.__wdc||(e.__wdc=()=>{let u=r;for(;u;){if(u.isDeactivated)return;u=u.parent}return e()});if(Ka(t,n,r),r){let u=r.parent;for(;u&&u.parent;)Wa(u.parent.vnode)&&t6(n,t,r,u),u=u.parent}}function t6(e,t,r,n){const u=Ka(t,e,n,!0);Hl(()=>{Cl(n[t],u)},r)}function Ka(e,t,r=nr,n=!1){if(r){const u=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{En();const o=pi(r),s=Nr(t,r,e,a);return o(),Mn(),s});return n?u.unshift(i):u.push(i),i}}const Bn=e=>(t,r=nr)=>{(!ri||e==="sp")&&Ka(e,(...n)=>t(...n),r)},Mh=Bn("bm"),fn=Bn("m"),Il=Bn("bu"),Nl=Bn("u"),Wt=Bn("bum"),Hl=Bn("um"),r6=Bn("sp"),n6=Bn("rtg"),u6=Bn("rtc");function i6(e,t=nr){Ka("ec",e,t)}const a6=Symbol.for("v-ndc");function ju(e,t,r,n){let u;const i=r,a=Re(e);if(a||kt(e)){const o=a&&Xn(e);let s=!1,l=!1;o&&(s=!Dr(e),l=e0(e),e=Ya(e)),u=new Array(e.length);for(let c=0,f=e.length;c<f;c++)u[c]=t(s?l?pa(Ht(e[c])):Ht(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){u=new Array(e);for(let o=0;o<e;o++)u[o]=t(o+1,o,void 0,i)}else if(vt(e))if(e[Symbol.iterator])u=Array.from(e,(o,s)=>t(o,s,void 0,i));else{const o=Object.keys(e);u=new Array(o.length);for(let s=0,l=o.length;s<l;s++){const c=o[s];u[s]=t(e[c],c,s,i)}}else u=[];return u}const qs=e=>e?Wh(e)?Xa(e):qs(e.parent):null,$u=zt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>qs(e.parent),$root:e=>qs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fh(e),$forceUpdate:e=>e.f||(e.f=()=>{Rl(e.update)}),$nextTick:e=>e.n||(e.n=pt.bind(e.proxy)),$watch:e=>M6.bind(e)}),Oo=(e,t)=>e!==ot&&!e.__isScriptSetup&&nt(e,t),o6={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:u,props:i,accessCache:a,type:o,appContext:s}=e;let l;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return u[t];case 4:return r[t];case 3:return i[t]}else{if(Oo(n,t))return a[t]=1,n[t];if(u!==ot&&nt(u,t))return a[t]=2,u[t];if((l=e.propsOptions[0])&&nt(l,t))return a[t]=3,i[t];if(r!==ot&&nt(r,t))return a[t]=4,r[t];Ls&&(a[t]=0)}}const c=$u[t];let f,m;if(c)return t==="$attrs"&&Yt(e.attrs,"get",""),c(e);if((f=o.__cssModules)&&(f=f[t]))return f;if(r!==ot&&nt(r,t))return a[t]=4,r[t];if(m=s.config.globalProperties,nt(m,t))return m[t]},set({_:e},t,r){const{data:n,setupState:u,ctx:i}=e;return Oo(u,t)?(u[t]=r,!0):n!==ot&&nt(n,t)?(n[t]=r,!0):nt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:u,propsOptions:i}},a){let o;return!!r[a]||e!==ot&&nt(e,a)||Oo(t,a)||(o=i[0])&&nt(o,a)||nt(n,a)||nt($u,a)||nt(u.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:nt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Qc(e){return Re(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Ls=!0;function s6(e){const t=Fh(e),r=e.proxy,n=e.ctx;Ls=!1,t.beforeCreate&&Xc(t.beforeCreate,e,"bc");const{data:u,computed:i,methods:a,watch:o,provide:s,inject:l,created:c,beforeMount:f,mounted:m,beforeUpdate:p,updated:v,activated:x,deactivated:y,beforeDestroy:T,beforeUnmount:D,destroyed:_,unmounted:w,render:F,renderTracked:j,renderTriggered:z,errorCaptured:V,serverPrefetch:S,expose:Y,inheritAttrs:Z,components:M,directives:U,filters:B}=t;if(l&&l6(l,n,null),a)for(const I in a){const N=a[I];He(N)&&(n[I]=N.bind(r))}if(u){const I=u.call(r,r);vt(I)&&(e.data=vu(I))}if(Ls=!0,i)for(const I in i){const N=i[I],ue=He(N)?N.bind(r,r):He(N.get)?N.get.bind(r,r):ln,te=!He(N)&&He(N.set)?N.set.bind(r):ln,H=W({get:ue,set:te});Object.defineProperty(n,I,{enumerable:!0,configurable:!0,get:()=>H.value,set:R=>H.value=R})}if(o)for(const I in o)Th(o[I],n,r,I);if(s){const I=He(s)?s.call(r):s;Reflect.ownKeys(I).forEach(N=>{p6(N,I[N])})}c&&Xc(c,e,"c");function L(I,N){Re(N)?N.forEach(ue=>I(ue.bind(r))):N&&I(N.bind(r))}if(L(Mh,f),L(fn,m),L(Il,p),L(Nl,v),L(Pl,x),L(mi,y),L(i6,V),L(u6,j),L(n6,z),L(Wt,D),L(Hl,w),L(r6,S),Re(Y))if(Y.length){const I=e.exposed||(e.exposed={});Y.forEach(N=>{Object.defineProperty(I,N,{get:()=>r[N],set:ue=>r[N]=ue,enumerable:!0})})}else e.exposed||(e.exposed={});F&&e.render===ln&&(e.render=F),Z!=null&&(e.inheritAttrs=Z),M&&(e.components=M),U&&(e.directives=U),S&&Dh(e)}function l6(e,t,r=ln){Re(e)&&(e=Ps(e));for(const n in e){const u=e[n];let i;vt(u)?"default"in u?i=M0(u.from||n,u.default,!0):i=M0(u.from||n):i=M0(u),Ct(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function Xc(e,t,r){Nr(Re(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Th(e,t,r,n){let u=n.includes(".")?Uh(r,n):()=>r[n];if(kt(e)){const i=t[e];He(i)&&Ne(u,i)}else if(He(e))Ne(u,e.bind(r));else if(vt(e))if(Re(e))e.forEach(i=>Th(i,t,r,n));else{const i=He(e.handler)?e.handler.bind(r):t[e.handler];He(i)&&Ne(u,i,e)}}function Fh(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:u,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,o=i.get(t);let s;return o?s=o:!u.length&&!r&&!n?s=t:(s={},u.length&&u.forEach(l=>ya(s,l,a,!0)),ya(s,t,a)),vt(t)&&i.set(t,s),s}function ya(e,t,r,n=!1){const{mixins:u,extends:i}=t;i&&ya(e,i,r,!0),u&&u.forEach(a=>ya(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const o=c6[a]||r&&r[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const c6={data:Jc,props:e1,emits:e1,methods:Ou,computed:Ou,beforeCreate:Xt,created:Xt,beforeMount:Xt,mounted:Xt,beforeUpdate:Xt,updated:Xt,beforeDestroy:Xt,beforeUnmount:Xt,destroyed:Xt,unmounted:Xt,activated:Xt,deactivated:Xt,errorCaptured:Xt,serverPrefetch:Xt,components:Ou,directives:Ou,watch:d6,provide:Jc,inject:f6};function Jc(e,t){return t?e?function(){return zt(He(e)?e.call(this,this):e,He(t)?t.call(this,this):t)}:t:e}function f6(e,t){return Ou(Ps(e),Ps(t))}function Ps(e){if(Re(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ou(e,t){return e?zt(Object.create(null),e,t):t}function e1(e,t){return e?Re(e)&&Re(t)?[...new Set([...e,...t])]:zt(Object.create(null),Qc(e),Qc(t??{})):t}function d6(e,t){if(!e)return t;if(!t)return e;const r=zt(Object.create(null),e);for(const n in t)r[n]=Xt(e[n],t[n]);return r}function zh(){return{app:null,config:{isNativeTag:i3,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 h6=0;function m6(e,t){return function(n,u=null){He(n)||(n=zt({},n)),u!=null&&!vt(u)&&(u=null);const i=zh(),a=new WeakSet,o=[];let s=!1;const l=i.app={_uid:h6++,_component:n,_props:u,_container:null,_context:i,_instance:null,version:Z6,get config(){return i.config},set config(c){},use(c,...f){return a.has(c)||(c&&He(c.install)?(a.add(c),c.install(l,...f)):He(c)&&(a.add(c),c(l,...f))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,f){return f?(i.components[c]=f,l):i.components[c]},directive(c,f){return f?(i.directives[c]=f,l):i.directives[c]},mount(c,f,m){if(!s){const p=l._ceVNode||et(n,u);return p.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),e(p,c,m),s=!0,l._container=c,c.__vue_app__=l,Xa(p.component)}},onUnmount(c){o.push(c)},unmount(){s&&(Nr(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(c,f){return i.provides[c]=f,l},runWithContext(c){const f=E0;E0=l;try{return c()}finally{E0=f}}};return l}}let E0=null;function p6(e,t){if(nr){let r=nr.provides;const n=nr.parent&&nr.parent.provides;n===r&&(r=nr.provides=Object.create(n)),r[e]=t}}function M0(e,t,r=!1){const n=gt();if(n||E0){let u=E0?E0._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(u&&e in u)return u[e];if(arguments.length>1)return r&&He(t)?t.call(n&&n.proxy):t}}function v6(){return!!(gt()||E0)}const Bh={},Oh=()=>Object.create(Bh),Rh=e=>Object.getPrototypeOf(e)===Bh;function g6(e,t,r,n=!1){const u={},i=Oh();e.propsDefaults=Object.create(null),qh(e,t,u,i);for(const a in e.propsOptions[0])a in u||(u[a]=void 0);r?e.props=n?u:L3(u):e.type.props?e.props=u:e.props=i,e.attrs=i}function b6(e,t,r,n){const{props:u,attrs:i,vnode:{patchFlag:a}}=e,o=Qe(u),[s]=e.propsOptions;let l=!1;if((n||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let m=c[f];if(Za(e.emitsOptions,m))continue;const p=t[m];if(s)if(nt(i,m))p!==i[m]&&(i[m]=p,l=!0);else{const v=Jn(m);u[v]=Is(s,o,v,p,e,!1)}else p!==i[m]&&(i[m]=p,l=!0)}}}else{qh(e,t,u,i)&&(l=!0);let c;for(const f in o)(!t||!nt(t,f)&&((c=I0(f))===f||!nt(t,c)))&&(s?r&&(r[f]!==void 0||r[c]!==void 0)&&(u[f]=Is(s,o,f,void 0,e,!0)):delete u[f]);if(i!==o)for(const f in i)(!t||!nt(t,f))&&(delete i[f],l=!0)}l&&An(e.attrs,"set","")}function qh(e,t,r,n){const[u,i]=e.propsOptions;let a=!1,o;if(t)for(let s in t){if(Pu(s))continue;const l=t[s];let c;u&&nt(u,c=Jn(s))?!i||!i.includes(c)?r[c]=l:(o||(o={}))[c]=l:Za(e.emitsOptions,s)||(!(s in n)||l!==n[s])&&(n[s]=l,a=!0)}if(i){const s=Qe(r),l=o||ot;for(let c=0;c<i.length;c++){const f=i[c];r[f]=Is(u,s,f,l[f],e,!nt(l,f))}}return a}function Is(e,t,r,n,u,i){const a=e[r];if(a!=null){const o=nt(a,"default");if(o&&n===void 0){const s=a.default;if(a.type!==Function&&!a.skipFactory&&He(s)){const{propsDefaults:l}=u;if(r in l)n=l[r];else{const c=pi(u);n=l[r]=s.call(null,t),c()}}else n=s;u.ce&&u.ce._setProp(r,n)}a[0]&&(i&&!o?n=!1:a[1]&&(n===""||n===I0(r))&&(n=!0))}return n}const y6=new WeakMap;function Lh(e,t,r=!1){const n=r?y6:t.propsCache,u=n.get(e);if(u)return u;const i=e.props,a={},o=[];let s=!1;if(!He(e)){const c=f=>{s=!0;const[m,p]=Lh(f,t,!0);zt(a,m),p&&o.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!s)return vt(e)&&n.set(e,nu),nu;if(Re(i))for(let c=0;c<i.length;c++){const f=Jn(i[c]);t1(f)&&(a[f]=ot)}else if(i)for(const c in i){const f=Jn(c);if(t1(f)){const m=i[c],p=a[f]=Re(m)||He(m)?{type:m}:zt({},m),v=p.type;let x=!1,y=!0;if(Re(v))for(let T=0;T<v.length;++T){const D=v[T],_=He(D)&&D.name;if(_==="Boolean"){x=!0;break}else _==="String"&&(y=!1)}else x=He(v)&&v.name==="Boolean";p[0]=x,p[1]=y,(x||nt(p,"default"))&&o.push(f)}}const l=[a,o];return vt(e)&&n.set(e,l),l}function t1(e){return e[0]!=="$"&&!Pu(e)}const Vl=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",Ul=e=>Re(e)?e.map(Xr):[Xr(e)],x6=(e,t,r)=>{if(t._n)return t;const n=Sr((...u)=>Ul(t(...u)),r);return n._c=!1,n},Ph=(e,t,r)=>{const n=e._ctx;for(const u in e){if(Vl(u))continue;const i=e[u];if(He(i))t[u]=x6(u,i,n);else if(i!=null){const a=Ul(i);t[u]=()=>a}}},Ih=(e,t)=>{const r=Ul(t);e.slots.default=()=>r},Nh=(e,t,r)=>{for(const n in t)(r||!Vl(n))&&(e[n]=t[n])},w6=(e,t,r)=>{const n=e.slots=Oh();if(e.vnode.shapeFlag&32){const u=t.__;u&&Ts(n,"__",u,!0);const i=t._;i?(Nh(n,t,r),r&&Ts(n,"_",i,!0)):Ph(t,n)}else t&&Ih(e,t)},k6=(e,t,r)=>{const{vnode:n,slots:u}=e;let i=!0,a=ot;if(n.shapeFlag&32){const o=t._;o?r&&o===1?i=!1:Nh(u,t,r):(i=!t.$stable,Ph(t,u)),a=t}else t&&(Ih(e,t),a={default:1});if(i)for(const o in u)!Vl(o)&&a[o]==null&&delete u[o]},Jt=q6;function S6(e){return A6(e)}function A6(e,t){const r=$a();r.__VUE__=!0;const{insert:n,remove:u,patchProp:i,createElement:a,createText:o,createComment:s,setText:l,setElementText:c,parentNode:f,nextSibling:m,setScopeId:p=ln,insertStaticContent:v}=e,x=(A,O,Q,ie=null,re=null,ee=null,ge=void 0,me=null,pe=!!O.dynamicChildren)=>{if(A===O)return;A&&!k0(A,O)&&(ie=ve(A),R(A,re,ee,!0),A=null),O.patchFlag===-2&&(pe=!1,O.dynamicChildren=null);const{type:ae,ref:Ae,shapeFlag:be}=O;switch(ae){case Qa:y(A,O,Q,ie);break;case rr:T(A,O,Q,ie);break;case qo:A==null&&D(O,Q,ie,ge);break;case Vt:M(A,O,Q,ie,re,ee,ge,me,pe);break;default:be&1?F(A,O,Q,ie,re,ee,ge,me,pe):be&6?U(A,O,Q,ie,re,ee,ge,me,pe):(be&64||be&128)&&ae.process(A,O,Q,ie,re,ee,ge,me,pe,Ke)}Ae!=null&&re?Vu(Ae,A&&A.ref,ee,O||A,!O):Ae==null&&A&&A.ref!=null&&Vu(A.ref,null,ee,A,!0)},y=(A,O,Q,ie)=>{if(A==null)n(O.el=o(O.children),Q,ie);else{const re=O.el=A.el;O.children!==A.children&&l(re,O.children)}},T=(A,O,Q,ie)=>{A==null?n(O.el=s(O.children||""),Q,ie):O.el=A.el},D=(A,O,Q,ie)=>{[A.el,A.anchor]=v(A.children,O,Q,ie,A.el,A.anchor)},_=({el:A,anchor:O},Q,ie)=>{let re;for(;A&&A!==O;)re=m(A),n(A,Q,ie),A=re;n(O,Q,ie)},w=({el:A,anchor:O})=>{let Q;for(;A&&A!==O;)Q=m(A),u(A),A=Q;u(O)},F=(A,O,Q,ie,re,ee,ge,me,pe)=>{O.type==="svg"?ge="svg":O.type==="math"&&(ge="mathml"),A==null?j(O,Q,ie,re,ee,ge,me,pe):S(A,O,re,ee,ge,me,pe)},j=(A,O,Q,ie,re,ee,ge,me)=>{let pe,ae;const{props:Ae,shapeFlag:be,transition:Te,dirs:qe}=A;if(pe=A.el=a(A.type,ee,Ae&&Ae.is,Ae),be&8?c(pe,A.children):be&16&&V(A.children,pe,null,ie,re,Ro(A,ee),ge,me),qe&&h0(A,null,ie,"created"),z(pe,A,A.scopeId,ge,ie),Ae){for(const Ze in Ae)Ze!=="value"&&!Pu(Ze)&&i(pe,Ze,null,Ae[Ze],ee,ie);"value"in Ae&&i(pe,"value",null,Ae.value,ee),(ae=Ae.onVnodeBeforeMount)&&Gr(ae,ie,A)}qe&&h0(A,null,ie,"beforeMount");const Ye=C6(re,Te);Ye&&Te.beforeEnter(pe),n(pe,O,Q),((ae=Ae&&Ae.onVnodeMounted)||Ye||qe)&&Jt(()=>{ae&&Gr(ae,ie,A),Ye&&Te.enter(pe),qe&&h0(A,null,ie,"mounted")},re)},z=(A,O,Q,ie,re)=>{if(Q&&p(A,Q),ie)for(let ee=0;ee<ie.length;ee++)p(A,ie[ee]);if(re){let ee=re.subTree;if(O===ee||$h(ee.type)&&(ee.ssContent===O||ee.ssFallback===O)){const ge=re.vnode;z(A,ge,ge.scopeId,ge.slotScopeIds,re.parent)}}},V=(A,O,Q,ie,re,ee,ge,me,pe=0)=>{for(let ae=pe;ae<A.length;ae++){const Ae=A[ae]=me?jn(A[ae]):Xr(A[ae]);x(null,Ae,O,Q,ie,re,ee,ge,me)}},S=(A,O,Q,ie,re,ee,ge)=>{const me=O.el=A.el;let{patchFlag:pe,dynamicChildren:ae,dirs:Ae}=O;pe|=A.patchFlag&16;const be=A.props||ot,Te=O.props||ot;let qe;if(Q&&m0(Q,!1),(qe=Te.onVnodeBeforeUpdate)&&Gr(qe,Q,O,A),Ae&&h0(O,A,Q,"beforeUpdate"),Q&&m0(Q,!0),(be.innerHTML&&Te.innerHTML==null||be.textContent&&Te.textContent==null)&&c(me,""),ae?Y(A.dynamicChildren,ae,me,Q,ie,Ro(O,re),ee):ge||N(A,O,me,null,Q,ie,Ro(O,re),ee,!1),pe>0){if(pe&16)Z(me,be,Te,Q,re);else if(pe&2&&be.class!==Te.class&&i(me,"class",null,Te.class,re),pe&4&&i(me,"style",be.style,Te.style,re),pe&8){const Ye=O.dynamicProps;for(let Ze=0;Ze<Ye.length;Ze++){const Xe=Ye[Ze],Dt=be[Xe],lt=Te[Xe];(lt!==Dt||Xe==="value")&&i(me,Xe,Dt,lt,re,Q)}}pe&1&&A.children!==O.children&&c(me,O.children)}else!ge&&ae==null&&Z(me,be,Te,Q,re);((qe=Te.onVnodeUpdated)||Ae)&&Jt(()=>{qe&&Gr(qe,Q,O,A),Ae&&h0(O,A,Q,"updated")},ie)},Y=(A,O,Q,ie,re,ee,ge)=>{for(let me=0;me<O.length;me++){const pe=A[me],ae=O[me],Ae=pe.el&&(pe.type===Vt||!k0(pe,ae)||pe.shapeFlag&198)?f(pe.el):Q;x(pe,ae,Ae,null,ie,re,ee,ge,!0)}},Z=(A,O,Q,ie,re)=>{if(O!==Q){if(O!==ot)for(const ee in O)!Pu(ee)&&!(ee in Q)&&i(A,ee,O[ee],null,re,ie);for(const ee in Q){if(Pu(ee))continue;const ge=Q[ee],me=O[ee];ge!==me&&ee!=="value"&&i(A,ee,me,ge,re,ie)}"value"in Q&&i(A,"value",O.value,Q.value,re)}},M=(A,O,Q,ie,re,ee,ge,me,pe)=>{const ae=O.el=A?A.el:o(""),Ae=O.anchor=A?A.anchor:o("");let{patchFlag:be,dynamicChildren:Te,slotScopeIds:qe}=O;qe&&(me=me?me.concat(qe):qe),A==null?(n(ae,Q,ie),n(Ae,Q,ie),V(O.children||[],Q,Ae,re,ee,ge,me,pe)):be>0&&be&64&&Te&&A.dynamicChildren?(Y(A.dynamicChildren,Te,Q,re,ee,ge,me),(O.key!=null||re&&O===re.subTree)&&jl(A,O,!0)):N(A,O,Q,Ae,re,ee,ge,me,pe)},U=(A,O,Q,ie,re,ee,ge,me,pe)=>{O.slotScopeIds=me,A==null?O.shapeFlag&512?re.ctx.activate(O,Q,ie,ge,pe):B(O,Q,ie,re,ee,ge,pe):ne(A,O,pe)},B=(A,O,Q,ie,re,ee,ge)=>{const me=A.component=j6(A,ie,re);if(Wa(A)&&(me.ctx.renderer=Ke),$6(me,!1,ge),me.asyncDep){if(re&&re.registerDep(me,L,ge),!A.el){const pe=me.subTree=et(rr);T(null,pe,O,Q),A.placeholder=pe.el}}else L(me,A,O,Q,re,ee,ge)},ne=(A,O,Q)=>{const ie=O.component=A.component;if(O6(A,O,Q))if(ie.asyncDep&&!ie.asyncResolved){I(ie,O,Q);return}else ie.next=O,ie.update();else O.el=A.el,ie.vnode=O},L=(A,O,Q,ie,re,ee,ge)=>{const me=()=>{if(A.isMounted){let{next:be,bu:Te,u:qe,parent:Ye,vnode:Ze}=A;{const Ot=Hh(A);if(Ot){be&&(be.el=Ze.el,I(A,be,ge)),Ot.asyncDep.then(()=>{A.isUnmounted||me()});return}}let Xe=be,Dt;m0(A,!1),be?(be.el=Ze.el,I(A,be,ge)):be=Ze,Te&&ea(Te),(Dt=be.props&&be.props.onVnodeBeforeUpdate)&&Gr(Dt,Ye,be,Ze),m0(A,!0);const lt=n1(A),Et=A.subTree;A.subTree=lt,x(Et,lt,f(Et.el),ve(Et),A,re,ee),be.el=lt.el,Xe===null&&R6(A,lt.el),qe&&Jt(qe,re),(Dt=be.props&&be.props.onVnodeUpdated)&&Jt(()=>Gr(Dt,Ye,be,Ze),re)}else{let be;const{el:Te,props:qe}=O,{bm:Ye,m:Ze,parent:Xe,root:Dt,type:lt}=A,Et=Uu(O);m0(A,!1),Ye&&ea(Ye),!Et&&(be=qe&&qe.onVnodeBeforeMount)&&Gr(be,Xe,O),m0(A,!0);{Dt.ce&&Dt.ce._def.shadowRoot!==!1&&Dt.ce._injectChildStyle(lt);const Ot=A.subTree=n1(A);x(null,Ot,Q,ie,A,re,ee),O.el=Ot.el}if(Ze&&Jt(Ze,re),!Et&&(be=qe&&qe.onVnodeMounted)){const Ot=O;Jt(()=>Gr(be,Xe,Ot),re)}(O.shapeFlag&256||Xe&&Uu(Xe.vnode)&&Xe.vnode.shapeFlag&256)&&A.a&&Jt(A.a,re),A.isMounted=!0,O=Q=ie=null}};A.scope.on();const pe=A.effect=new Qd(me);A.scope.off();const ae=A.update=pe.run.bind(pe),Ae=A.job=pe.runIfDirty.bind(pe);Ae.i=A,Ae.id=A.uid,pe.scheduler=()=>Rl(Ae),m0(A,!0),ae()},I=(A,O,Q)=>{O.component=A;const ie=A.vnode.props;A.vnode=O,A.next=null,b6(A,O.props,ie,Q),k6(A,O.children,Q),En(),Yc(A),Mn()},N=(A,O,Q,ie,re,ee,ge,me,pe=!1)=>{const ae=A&&A.children,Ae=A?A.shapeFlag:0,be=O.children,{patchFlag:Te,shapeFlag:qe}=O;if(Te>0){if(Te&128){te(ae,be,Q,ie,re,ee,ge,me,pe);return}else if(Te&256){ue(ae,be,Q,ie,re,ee,ge,me,pe);return}}qe&8?(Ae&16&&oe(ae,re,ee),be!==ae&&c(Q,be)):Ae&16?qe&16?te(ae,be,Q,ie,re,ee,ge,me,pe):oe(ae,re,ee,!0):(Ae&8&&c(Q,""),qe&16&&V(be,Q,ie,re,ee,ge,me,pe))},ue=(A,O,Q,ie,re,ee,ge,me,pe)=>{A=A||nu,O=O||nu;const ae=A.length,Ae=O.length,be=Math.min(ae,Ae);let Te;for(Te=0;Te<be;Te++){const qe=O[Te]=pe?jn(O[Te]):Xr(O[Te]);x(A[Te],qe,Q,null,re,ee,ge,me,pe)}ae>Ae?oe(A,re,ee,!0,!1,be):V(O,Q,ie,re,ee,ge,me,pe,be)},te=(A,O,Q,ie,re,ee,ge,me,pe)=>{let ae=0;const Ae=O.length;let be=A.length-1,Te=Ae-1;for(;ae<=be&&ae<=Te;){const qe=A[ae],Ye=O[ae]=pe?jn(O[ae]):Xr(O[ae]);if(k0(qe,Ye))x(qe,Ye,Q,null,re,ee,ge,me,pe);else break;ae++}for(;ae<=be&&ae<=Te;){const qe=A[be],Ye=O[Te]=pe?jn(O[Te]):Xr(O[Te]);if(k0(qe,Ye))x(qe,Ye,Q,null,re,ee,ge,me,pe);else break;be--,Te--}if(ae>be){if(ae<=Te){const qe=Te+1,Ye=qe<Ae?O[qe].el:ie;for(;ae<=Te;)x(null,O[ae]=pe?jn(O[ae]):Xr(O[ae]),Q,Ye,re,ee,ge,me,pe),ae++}}else if(ae>Te)for(;ae<=be;)R(A[ae],re,ee,!0),ae++;else{const qe=ae,Ye=ae,Ze=new Map;for(ae=Ye;ae<=Te;ae++){const Rt=O[ae]=pe?jn(O[ae]):Xr(O[ae]);Rt.key!=null&&Ze.set(Rt.key,ae)}let Xe,Dt=0;const lt=Te-Ye+1;let Et=!1,Ot=0;const jr=new Array(lt);for(ae=0;ae<lt;ae++)jr[ae]=0;for(ae=qe;ae<=be;ae++){const Rt=A[ae];if(Dt>=lt){R(Rt,re,ee,!0);continue}let Zt;if(Rt.key!=null)Zt=Ze.get(Rt.key);else for(Xe=Ye;Xe<=Te;Xe++)if(jr[Xe-Ye]===0&&k0(Rt,O[Xe])){Zt=Xe;break}Zt===void 0?R(Rt,re,ee,!0):(jr[Zt-Ye]=ae+1,Zt>=Ot?Ot=Zt:Et=!0,x(Rt,O[Zt],Q,null,re,ee,ge,me,pe),Dt++)}const $r=Et?_6(jr):nu;for(Xe=$r.length-1,ae=lt-1;ae>=0;ae--){const Rt=Ye+ae,Zt=O[Rt],c0=O[Rt+1],dr=Rt+1<Ae?c0.el||c0.placeholder:ie;jr[ae]===0?x(null,Zt,Q,dr,re,ee,ge,me,pe):Et&&(Xe<0||ae!==$r[Xe]?H(Zt,Q,dr,2):Xe--)}}},H=(A,O,Q,ie,re=null)=>{const{el:ee,type:ge,transition:me,children:pe,shapeFlag:ae}=A;if(ae&6){H(A.component.subTree,O,Q,ie);return}if(ae&128){A.suspense.move(O,Q,ie);return}if(ae&64){ge.move(A,O,Q,Ke);return}if(ge===Vt){n(ee,O,Q);for(let be=0;be<pe.length;be++)H(pe[be],O,Q,ie);n(A.anchor,O,Q);return}if(ge===qo){_(A,O,Q);return}if(ie!==2&&ae&1&&me)if(ie===0)me.beforeEnter(ee),n(ee,O,Q),Jt(()=>me.enter(ee),re);else{const{leave:be,delayLeave:Te,afterLeave:qe}=me,Ye=()=>{A.ctx.isUnmounted?u(ee):n(ee,O,Q)},Ze=()=>{be(ee,()=>{Ye(),qe&&qe()})};Te?Te(ee,Ye,Ze):Ze()}else n(ee,O,Q)},R=(A,O,Q,ie=!1,re=!1)=>{const{type:ee,props:ge,ref:me,children:pe,dynamicChildren:ae,shapeFlag:Ae,patchFlag:be,dirs:Te,cacheIndex:qe}=A;if(be===-2&&(re=!1),me!=null&&(En(),Vu(me,null,Q,A,!0),Mn()),qe!=null&&(O.renderCache[qe]=void 0),Ae&256){O.ctx.deactivate(A);return}const Ye=Ae&1&&Te,Ze=!Uu(A);let Xe;if(Ze&&(Xe=ge&&ge.onVnodeBeforeUnmount)&&Gr(Xe,O,A),Ae&6)Fe(A.component,Q,ie);else{if(Ae&128){A.suspense.unmount(Q,ie);return}Ye&&h0(A,null,O,"beforeUnmount"),Ae&64?A.type.remove(A,O,Q,Ke,ie):ae&&!ae.hasOnce&&(ee!==Vt||be>0&&be&64)?oe(ae,O,Q,!1,!0):(ee===Vt&&be&384||!re&&Ae&16)&&oe(pe,O,Q),ie&&he(A)}(Ze&&(Xe=ge&&ge.onVnodeUnmounted)||Ye)&&Jt(()=>{Xe&&Gr(Xe,O,A),Ye&&h0(A,null,O,"unmounted")},Q)},he=A=>{const{type:O,el:Q,anchor:ie,transition:re}=A;if(O===Vt){Me(Q,ie);return}if(O===qo){w(A);return}const ee=()=>{u(Q),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(A.shapeFlag&1&&re&&!re.persisted){const{leave:ge,delayLeave:me}=re,pe=()=>ge(Q,ee);me?me(A.el,ee,pe):pe()}else ee()},Me=(A,O)=>{let Q;for(;A!==O;)Q=m(A),u(A),A=Q;u(O)},Fe=(A,O,Q)=>{const{bum:ie,scope:re,job:ee,subTree:ge,um:me,m:pe,a:ae,parent:Ae,slots:{__:be}}=A;r1(pe),r1(ae),ie&&ea(ie),Ae&&Re(be)&&be.forEach(Te=>{Ae.renderCache[Te]=void 0}),re.stop(),ee&&(ee.flags|=8,R(ge,A,O,Q)),me&&Jt(me,O),Jt(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},oe=(A,O,Q,ie=!1,re=!1,ee=0)=>{for(let ge=ee;ge<A.length;ge++)R(A[ge],O,Q,ie,re)},ve=A=>{if(A.shapeFlag&6)return ve(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const O=m(A.anchor||A.el),Q=O&&O[bh];return Q?m(Q):O};let Ue=!1;const de=(A,O,Q)=>{A==null?O._vnode&&R(O._vnode,null,null,!0):x(O._vnode||null,A,O,null,null,null,Q),O._vnode=A,Ue||(Ue=!0,Yc(),ph(),Ue=!1)},Ke={p:x,um:R,m:H,r:he,mt:B,mc:V,pc:N,pbc:Y,n:ve,o:e};return{render:de,hydrate:void 0,createApp:m6(de)}}function Ro({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function m0({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function C6(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jl(e,t,r=!1){const n=e.children,u=t.children;if(Re(n)&&Re(u))for(let i=0;i<n.length;i++){const a=n[i];let o=u[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=u[i]=jn(u[i]),o.el=a.el),!r&&o.patchFlag!==-2&&jl(a,o)),o.type===Qa&&(o.el=a.el),o.type===rr&&!o.el&&(o.el=a.el)}}function _6(e){const t=e.slice(),r=[0];let n,u,i,a,o;const s=e.length;for(n=0;n<s;n++){const l=e[n];if(l!==0){if(u=r[r.length-1],e[u]<l){t[n]=u,r.push(n);continue}for(i=0,a=r.length-1;i<a;)o=i+a>>1,e[r[o]]<l?i=o+1:a=o;l<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}function Hh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hh(t)}function r1(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const D6=Symbol.for("v-scx"),E6=()=>M0(D6);function Ne(e,t,r){return Vh(e,t,r)}function Vh(e,t,r=ot){const{immediate:n,deep:u,flush:i,once:a}=r,o=zt({},r),s=t&&n||!t&&i!=="post";let l;if(ri){if(i==="sync"){const p=E6();l=p.__watcherHandles||(p.__watcherHandles=[])}else if(!s){const p=()=>{};return p.stop=ln,p.resume=ln,p.pause=ln,p}}const c=nr;o.call=(p,v,x)=>Nr(p,c,v,x);let f=!1;i==="post"?o.scheduler=p=>{Jt(p,c&&c.suspense)}:i!=="sync"&&(f=!0,o.scheduler=(p,v)=>{v?p():Rl(p)}),o.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const m=G3(e,t,o);return ri&&(l?l.push(m):s&&m()),m}function M6(e,t,r){const n=this.proxy,u=kt(e)?e.includes(".")?Uh(n,e):()=>n[e]:e.bind(n,n);let i;He(t)?i=t:(i=t.handler,r=t);const a=pi(this),o=Vh(u,i.bind(n),r);return a(),o}function Uh(e,t){const r=t.split(".");return()=>{let n=e;for(let u=0;u<r.length&&n;u++)n=n[r[u]];return n}}const T6=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Jn(t)}Modifiers`]||e[`${I0(t)}Modifiers`];function F6(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ot;let u=r;const i=t.startsWith("update:"),a=i&&T6(n,t.slice(7));a&&(a.trim&&(u=r.map(c=>kt(c)?c.trim():c)),a.number&&(u=r.map(Fs)));let o,s=n[o=Eo(t)]||n[o=Eo(Jn(t))];!s&&i&&(s=n[o=Eo(I0(t))]),s&&Nr(s,e,6,u);const l=n[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Nr(l,e,6,u)}}function jh(e,t,r=!1){const n=t.emitsCache,u=n.get(e);if(u!==void 0)return u;const i=e.emits;let a={},o=!1;if(!He(e)){const s=l=>{const c=jh(l,t,!0);c&&(o=!0,zt(a,c))};!r&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!o?(vt(e)&&n.set(e,null),null):(Re(i)?i.forEach(s=>a[s]=null):zt(a,i),vt(e)&&n.set(e,a),a)}function Za(e,t){return!e||!Va(t)?!1:(t=t.slice(2).replace(/Once$/,""),nt(e,t[0].toLowerCase()+t.slice(1))||nt(e,I0(t))||nt(e,t))}function n1(e){const{type:t,vnode:r,proxy:n,withProxy:u,propsOptions:[i],slots:a,attrs:o,emit:s,render:l,renderCache:c,props:f,data:m,setupState:p,ctx:v,inheritAttrs:x}=e,y=ba(e);let T,D;try{if(r.shapeFlag&4){const w=u||n,F=w;T=Xr(l.call(F,w,c,f,p,m,v)),D=o}else{const w=t;T=Xr(w.length>1?w(f,{attrs:o,slots:a,emit:s}):w(f,null)),D=t.props?o:z6(o)}}catch(w){Yu.length=0,Ga(w,e,1),T=et(rr)}let _=T;if(D&&x!==!1){const w=Object.keys(D),{shapeFlag:F}=_;w.length&&F&7&&(i&&w.some(Al)&&(D=B6(D,i)),_=t0(_,D,!1,!0))}return r.dirs&&(_=t0(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&q0(_,r.transition),T=_,ba(y),T}const z6=e=>{let t;for(const r in e)(r==="class"||r==="style"||Va(r))&&((t||(t={}))[r]=e[r]);return t},B6=(e,t)=>{const r={};for(const n in e)(!Al(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function O6(e,t,r){const{props:n,children:u,component:i}=e,{props:a,children:o,patchFlag:s}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&s>=0){if(s&1024)return!0;if(s&16)return n?u1(n,a,l):!!a;if(s&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const m=c[f];if(a[m]!==n[m]&&!Za(l,m))return!0}}}else return(u||o)&&(!o||!o.$stable)?!0:n===a?!1:n?a?u1(n,a,l):!0:!!a;return!1}function u1(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let u=0;u<n.length;u++){const i=n[u];if(t[i]!==e[i]&&!Za(r,i))return!0}return!1}function R6({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const $h=e=>e.__isSuspense;function q6(e,t){t&&t.pendingBranch?Re(e)?t.effects.push(...e):t.effects.push(e):Z3(e)}const Vt=Symbol.for("v-fgt"),Qa=Symbol.for("v-txt"),rr=Symbol.for("v-cmt"),qo=Symbol.for("v-stc"),Yu=[];let vr=null;function Ie(e=!1){Yu.push(vr=e?null:[])}function L6(){Yu.pop(),vr=Yu[Yu.length-1]||null}let ti=1;function i1(e,t=!1){ti+=e,e<0&&vr&&t&&(vr.hasOnce=!0)}function Yh(e){return e.dynamicChildren=ti>0?vr||nu:null,L6(),ti>0&&vr&&vr.push(e),e}function Ge(e,t,r,n,u,i){return Yh(le(e,t,r,n,u,i,!0))}function T0(e,t,r,n,u){return Yh(et(e,t,r,n,u,!0))}function xa(e){return e?e.__v_isVNode===!0:!1}function k0(e,t){return e.type===t.type&&e.key===t.key}const Gh=({key:e})=>e??null,ra=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?kt(e)||Ct(e)||He(e)?{i:Cr,r:e,k:t,f:!!r}:e:null);function le(e,t=null,r=null,n=0,u=null,i=e===Vt?0:1,a=!1,o=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gh(t),ref:t&&ra(t),scopeId:gh,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:Cr};return o?($l(s,r),i&128&&e.normalize(s)):r&&(s.shapeFlag|=kt(r)?8:16),ti>0&&!a&&vr&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&vr.push(s),s}const et=P6;function P6(e,t=null,r=null,n=0,u=null,i=!1){if((!e||e===a6)&&(e=rr),xa(e)){const o=t0(e,t,!0);return r&&$l(o,r),ti>0&&!i&&vr&&(o.shapeFlag&6?vr[vr.indexOf(e)]=o:vr.push(o)),o.patchFlag=-2,o}if(K6(e)&&(e=e.__vccOpts),t){t=I6(t);let{class:o,style:s}=t;o&&!kt(o)&&(t.class=R0(o)),vt(s)&&(Ol(s)&&!Re(s)&&(s=zt({},s)),t.style=Dl(s))}const a=kt(e)?1:$h(e)?128:yh(e)?64:vt(e)?4:He(e)?2:0;return le(e,t,r,n,u,a,i,!0)}function I6(e){return e?Ol(e)||Rh(e)?zt({},e):e:null}function t0(e,t,r=!1,n=!1){const{props:u,ref:i,patchFlag:a,children:o,transition:s}=e,l=t?H6(u||{},t):u,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Gh(l),ref:t&&t.ref?r&&i?Re(i)?i.concat(ra(t)):[i,ra(t)]:ra(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&t0(e.ssContent),ssFallback:e.ssFallback&&t0(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&n&&q0(c,s.clone(c)),c}function N6(e=" ",t=0){return et(Qa,null,e,t)}function Ir(e="",t=!1){return t?(Ie(),T0(rr,null,e)):et(rr,null,e)}function Xr(e){return e==null||typeof e=="boolean"?et(rr):Re(e)?et(Vt,null,e.slice()):xa(e)?jn(e):et(Qa,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:t0(e)}function $l(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Re(t))r=16;else if(typeof t=="object")if(n&65){const u=t.default;u&&(u._c&&(u._d=!1),$l(e,u()),u._c&&(u._d=!0));return}else{r=32;const u=t._;!u&&!Rh(t)?t._ctx=Cr:u===3&&Cr&&(Cr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else He(t)?(t={default:t,_ctx:Cr},r=32):(t=String(t),n&64?(r=16,t=[N6(t)]):r=8);e.children=t,e.shapeFlag|=r}function H6(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const u in n)if(u==="class")t.class!==n.class&&(t.class=R0([t.class,n.class]));else if(u==="style")t.style=Dl([t.style,n.style]);else if(Va(u)){const i=t[u],a=n[u];a&&i!==a&&!(Re(i)&&i.includes(a))&&(t[u]=i?[].concat(i,a):a)}else u!==""&&(t[u]=n[u])}return t}function Gr(e,t,r,n=null){Nr(e,t,7,[r,n])}const V6=zh();let U6=0;function j6(e,t,r){const n=e.type,u=(t?t.appContext:e.appContext)||V6,i={uid:U6++,vnode:e,type:n,parent:t,appContext:u,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Wd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(u.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lh(n,u),emitsOptions:jh(n,u),emit:null,emitted:null,propsDefaults:ot,inheritAttrs:n.inheritAttrs,ctx:ot,data:ot,props:ot,attrs:ot,slots:ot,refs:ot,setupState:ot,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=F6.bind(null,i),e.ce&&e.ce(i),i}let nr=null;const gt=()=>nr||Cr;let wa,Ns;{const e=$a(),t=(r,n)=>{let u;return(u=e[r])||(u=e[r]=[]),u.push(n),i=>{u.length>1?u.forEach(a=>a(i)):u[0](i)}};wa=t("__VUE_INSTANCE_SETTERS__",r=>nr=r),Ns=t("__VUE_SSR_SETTERS__",r=>ri=r)}const pi=e=>{const t=nr;return wa(e),e.scope.on(),()=>{e.scope.off(),wa(t)}},a1=()=>{nr&&nr.scope.off(),wa(null)};function Wh(e){return e.vnode.shapeFlag&4}let ri=!1;function $6(e,t=!1,r=!1){t&&Ns(t);const{props:n,children:u}=e.vnode,i=Wh(e);g6(e,n,i,t),w6(e,u,r||t);const a=i?Y6(e,t):void 0;return t&&Ns(!1),a}function Y6(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,o6);const{setup:n}=r;if(n){En();const u=e.setupContext=n.length>1?W6(e):null,i=pi(e),a=hi(n,e,0,[e.props,u]),o=Hd(a);if(Mn(),i(),(o||e.sp)&&!Uu(e)&&Dh(e),o){if(a.then(a1,a1),t)return a.then(s=>{o1(e,s)}).catch(s=>{Ga(s,e,0)});e.asyncDep=a}else o1(e,a)}else Kh(e)}function o1(e,t,r){He(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:vt(t)&&(e.setupState=dh(t)),Kh(e)}function Kh(e,t,r){const n=e.type;e.render||(e.render=n.render||ln);{const u=pi(e);En();try{s6(e)}finally{Mn(),u()}}}const G6={get(e,t){return Yt(e,"get",""),e[t]}};function W6(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,G6),slots:e.slots,emit:e.emit,expose:t}}function Xa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(dh(gu(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in $u)return $u[r](e)},has(t,r){return r in t||r in $u}})):e.proxy}function K6(e){return He(e)&&"__vccOpts"in e}const W=(e,t)=>$3(e,t,ri);function G(e,t,r){const n=arguments.length;return n===2?vt(t)&&!Re(t)?xa(t)?et(e,null,[t]):et(e,t):et(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&xa(r)&&(r=[r]),et(e,t,r))}const Z6="3.5.18";/**
13
+ **/function hi(e,t,r,n){try{return n?e(...n):e()}catch(u){Ya(u,t,r)}}function Ir(e,t,r,n){if(He(e)){const u=hi(e,t,r,n);return u&&Nd(u)&&u.catch(i=>{Ya(i,t,r)}),u}if(qe(e)){const u=[];for(let i=0;i<e.length;i++)u.push(Ir(e[i],t,r,n));return u}}function Ya(e,t,r,n=!0){const u=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||st;if(t){let o=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${r}`;for(;o;){const c=o.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,s,l)===!1)return}o=o.parent}if(i){En(),hi(i,null,10,[e,s,l]),Mn();return}}$3(e,r,u,n,a)}function $3(e,t,r,n=!0,u=!1){if(u)throw e;console.error(e)}const tr=[];let Zr=-1;const iu=[];let Hn=null,eu=0;const dh=Promise.resolve();let pa=null;function vt(e){const t=pa||dh;return e?t.then(this?e.bind(this):e):t}function Y3(e){let t=Zr+1,r=tr.length;for(;t<r;){const n=t+r>>>1,u=tr[n],i=Ju(u);i<e||i===e&&u.flags&2?t=n+1:r=n}return t}function Ol(e){if(!(e.flags&1)){const t=Ju(e),r=tr[tr.length-1];!r||!(e.flags&2)&&t>=Ju(r)?tr.push(e):tr.splice(Y3(t),0,e),e.flags|=1,hh()}}function hh(){pa||(pa=dh.then(ph))}function G3(e){qe(e)?iu.push(...e):Hn&&e.id===-1?Hn.splice(eu+1,0,e):e.flags&1||(iu.push(e),e.flags|=1),hh()}function Hc(e,t,r=Zr+1){for(;r<tr.length;r++){const n=tr[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;tr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function mh(e){if(iu.length){const t=[...new Set(iu)].sort((r,n)=>Ju(r)-Ju(n));if(iu.length=0,Hn){Hn.push(...t);return}for(Hn=t,eu=0;eu<Hn.length;eu++){const r=Hn[eu];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Hn=null,eu=0}}const Ju=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ph(e){try{for(Zr=0;Zr<tr.length;Zr++){const t=tr[Zr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Zr<tr.length;Zr++){const t=tr[Zr];t&&(t.flags&=-2)}Zr=-1,tr.length=0,mh(),pa=null,(tr.length||iu.length)&&ph()}}let Cr=null,vh=null;function va(e){const t=Cr;return Cr=e,vh=e&&e.type.__scopeId||null,t}function Sr(e,t=Cr,r){if(!t||e._n)return e;const n=(...u)=>{n._d&&e1(-1);const i=va(t);let a;try{a=e(...u)}finally{va(i),n._d&&e1(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function ql(e,t){if(Cr===null)return e;const r=Qa(Cr),n=e.dirs||(e.dirs=[]);for(let u=0;u<t.length;u++){let[i,a,o,s=st]=t[u];i&&(He(i)&&(i={mounted:i,updated:i}),i.deep&&An(a),n.push({dir:i,instance:r,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function d0(e,t,r,n){const u=e.dirs,i=t&&t.dirs;for(let a=0;a<u.length;a++){const o=u[a];i&&(o.oldValue=i[a].value);let s=o.dir[n];s&&(En(),Ir(s,r,8,[e.el,o,e,t]),Mn())}}const gh=Symbol("_vte"),bh=e=>e.__isTeleport,Hu=e=>e&&(e.disabled||e.disabled===""),Vc=e=>e&&(e.defer||e.defer===""),Uc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const r=e&&e.to;return kt(r)?t?t(r):null:r},yh={name:"Teleport",__isTeleport:!0,process(e,t,r,n,u,i,a,o,s,l){const{mc:c,pc:f,pbc:m,o:{insert:p,querySelector:v,createText:x,createComment:y}}=l,T=Hu(t.props);let{shapeFlag:D,children:_,dynamicChildren:w}=t;if(e==null){const F=t.el=x(""),j=t.anchor=x("");p(F,r,n),p(j,r,n);const z=(S,Y)=>{D&16&&(u&&u.isCE&&(u.ce._teleportTarget=S),c(_,S,Y,u,i,a,o,s))},V=()=>{const S=t.target=Rs(t.props,v),Y=xh(S,t,x,p);S&&(a!=="svg"&&Uc(S)?a="svg":a!=="mathml"&&jc(S)&&(a="mathml"),T||(z(S,Y),ea(t,!1)))};T&&(z(r,j),ea(t,!0)),Vc(t.props)?(t.el.__isMounted=!1,Jt(()=>{V(),delete t.el.__isMounted},i)):V()}else{if(Vc(t.props)&&e.el.__isMounted===!1){Jt(()=>{yh.process(e,t,r,n,u,i,a,o,s,l)},i);return}t.el=e.el,t.targetStart=e.targetStart;const F=t.anchor=e.anchor,j=t.target=e.target,z=t.targetAnchor=e.targetAnchor,V=Hu(e.props),S=V?r:j,Y=V?F:z;if(a==="svg"||Uc(j)?a="svg":(a==="mathml"||jc(j))&&(a="mathml"),w?(m(e.dynamicChildren,w,S,u,i,a,o),Ul(e,t,!0)):s||f(e,t,S,Y,u,i,a,o,!1),T)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Bi(t,r,F,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=Rs(t.props,v);Z&&Bi(t,Z,null,l,0)}else V&&Bi(t,j,z,l,1);ea(t,T)}},remove(e,t,r,{um:n,o:{remove:u}},i){const{shapeFlag:a,children:o,anchor:s,targetStart:l,targetAnchor:c,target:f,props:m}=e;if(f&&(u(l),u(c)),i&&u(s),a&16){const p=i||!Hu(m);for(let v=0;v<o.length;v++){const x=o[v];n(x,t,r,p,!!x.dynamicChildren)}}},move:Bi,hydrate:W3};function Bi(e,t,r,{o:{insert:n},m:u},i=2){i===0&&n(e.targetAnchor,t,r);const{el:a,anchor:o,shapeFlag:s,children:l,props:c}=e,f=i===2;if(f&&n(a,t,r),(!f||Hu(c))&&s&16)for(let m=0;m<l.length;m++)u(l[m],t,r,2);f&&n(o,t,r)}function W3(e,t,r,n,u,i,{o:{nextSibling:a,parentNode:o,querySelector:s,insert:l,createText:c}},f){const m=t.target=Rs(t.props,s);if(m){const p=Hu(t.props),v=m._lpa||m.firstChild;if(t.shapeFlag&16)if(p)t.anchor=f(a(e),t,o(e),r,n,u,i),t.targetStart=v,t.targetAnchor=v&&a(v);else{t.anchor=a(e);let x=v;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,m._lpa=t.targetAnchor&&a(t.targetAnchor);break}}x=a(x)}t.targetAnchor||xh(m,t,c,l),f(v&&a(v),t,m,r,n,u,i)}ea(t,p)}return t.anchor&&a(t.anchor)}const K3=yh;function ea(e,t){const r=e.ctx;if(r&&r.ut){let n,u;for(t?(n=e.el,u=e.anchor):(n=e.targetStart,u=e.targetAnchor);n&&n!==u;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function xh(e,t,r,n){const u=t.targetStart=r(""),i=t.targetAnchor=r("");return u[gh]=i,e&&(n(u,e),n(i,e)),i}const Vn=Symbol("_leaveCb"),Oi=Symbol("_enterCb");function wh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return cn(()=>{e.isMounted=!0}),Wt(()=>{e.isUnmounting=!0}),e}const wr=[Function,Array],kh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wr,onEnter:wr,onAfterEnter:wr,onEnterCancelled:wr,onBeforeLeave:wr,onLeave:wr,onAfterLeave:wr,onLeaveCancelled:wr,onBeforeAppear:wr,onAppear:wr,onAfterAppear:wr,onAppearCancelled:wr},Sh=e=>{const t=e.subTree;return t.component?Sh(t.component):t},Z3={name:"BaseTransition",props:kh,setup(e,{slots:t}){const r=gt(),n=wh();return()=>{const u=t.default&&Rl(t.default(),!0);if(!u||!u.length)return;const i=Ah(u),a=Qe(e),{mode:o}=a;if(n.isLeaving)return Bo(i);const s=$c(i);if(!s)return Bo(i);let l=ei(s,a,n,r,f=>l=f);s.type!==rr&&q0(s,l);let c=r.subTree&&$c(r.subTree);if(c&&c.type!==rr&&!w0(s,c)&&Sh(r).type!==rr){let f=ei(c,a,n,r);if(q0(c,f),o==="out-in"&&s.type!==rr)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete f.afterLeave,c=void 0},Bo(i);o==="in-out"&&s.type!==rr?f.delayLeave=(m,p,v)=>{const x=Ch(n,c);x[String(c.key)]=c,m[Vn]=()=>{p(),m[Vn]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{v(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Ah(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==rr){t=r;break}}return t}const Q3=Z3;function Ch(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ei(e,t,r,n,u){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:m,onLeave:p,onAfterLeave:v,onLeaveCancelled:x,onBeforeAppear:y,onAppear:T,onAfterAppear:D,onAppearCancelled:_}=t,w=String(e.key),F=Ch(r,e),j=(S,Y)=>{S&&Ir(S,n,9,Y)},z=(S,Y)=>{const Z=Y[1];j(S,Y),qe(S)?S.every(M=>M.length<=1)&&Z():S.length<=1&&Z()},V={mode:a,persisted:o,beforeEnter(S){let Y=s;if(!r.isMounted)if(i)Y=y||s;else return;S[Vn]&&S[Vn](!0);const Z=F[w];Z&&w0(e,Z)&&Z.el[Vn]&&Z.el[Vn](),j(Y,[S])},enter(S){let Y=l,Z=c,M=f;if(!r.isMounted)if(i)Y=T||l,Z=D||c,M=_||f;else return;let U=!1;const B=S[Oi]=ne=>{U||(U=!0,ne?j(M,[S]):j(Z,[S]),V.delayedLeave&&V.delayedLeave(),S[Oi]=void 0)};Y?z(Y,[S,B]):B()},leave(S,Y){const Z=String(e.key);if(S[Oi]&&S[Oi](!0),r.isUnmounting)return Y();j(m,[S]);let M=!1;const U=S[Vn]=B=>{M||(M=!0,Y(),B?j(x,[S]):j(v,[S]),S[Vn]=void 0,F[Z]===e&&delete F[Z])};F[Z]=e,p?z(p,[S,U]):U()},clone(S){const Y=ei(S,t,r,n,u);return u&&u(Y),Y}};return V}function Bo(e){if(Ga(e))return e=e0(e),e.children=null,e}function $c(e){if(!Ga(e))return bh(e.type)&&e.children?Ah(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&He(r.default))return r.default()}}function q0(e,t){e.shapeFlag&6&&e.component?(e.transition=t,q0(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rl(e,t=!1,r){let n=[],u=0;for(let i=0;i<e.length;i++){let a=e[i];const o=r==null?a.key:String(r)+String(a.key!=null?a.key:i);a.type===Vt?(a.patchFlag&128&&u++,n=n.concat(Rl(a.children,t,o))):(t||a.type!==rr)&&n.push(o!=null?e0(a,{key:o}):a)}if(u>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Hr(e,t){return He(e)?zt({name:e.name},t,{setup:e}):e}function _h(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Vu(e,t,r,n,u=!1){if(qe(e)){e.forEach((v,x)=>Vu(v,t&&(qe(t)?t[x]:t),r,n,u));return}if(Uu(n)&&!u){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Vu(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Qa(n.component):n.el,a=u?null:i,{i:o,r:s}=e,l=t&&t.r,c=o.refs===st?o.refs={}:o.refs,f=o.setupState,m=Qe(f),p=f===st?()=>!1:v=>nt(m,v);if(l!=null&&l!==s&&(kt(l)?(c[l]=null,p(l)&&(f[l]=null)):Ct(l)&&(l.value=null)),He(s))hi(s,o,12,[a,c]);else{const v=kt(s),x=Ct(s);if(v||x){const y=()=>{if(e.f){const T=v?p(s)?f[s]:c[s]:s.value;u?qe(T)&&Al(T,i):qe(T)?T.includes(i)||T.push(i):v?(c[s]=[i],p(s)&&(f[s]=c[s])):(s.value=[i],e.k&&(c[e.k]=s.value))}else v?(c[s]=a,p(s)&&(f[s]=a)):x&&(s.value=a,e.k&&(c[e.k]=a))};a?(y.id=-1,Jt(y,r)):y()}}}ja().requestIdleCallback;ja().cancelIdleCallback;const Uu=e=>!!e.type.__asyncLoader,Ga=e=>e.type.__isKeepAlive;function Ll(e,t){Dh(e,"a",t)}function mi(e,t){Dh(e,"da",t)}function Dh(e,t,r=nr){const n=e.__wdc||(e.__wdc=()=>{let u=r;for(;u;){if(u.isDeactivated)return;u=u.parent}return e()});if(Wa(t,n,r),r){let u=r.parent;for(;u&&u.parent;)Ga(u.parent.vnode)&&X3(n,t,r,u),u=u.parent}}function X3(e,t,r,n){const u=Wa(t,e,n,!0);Nl(()=>{Al(n[t],u)},r)}function Wa(e,t,r=nr,n=!1){if(r){const u=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{En();const o=pi(r),s=Ir(t,r,e,a);return o(),Mn(),s});return n?u.unshift(i):u.push(i),i}}const zn=e=>(t,r=nr)=>{(!ri||e==="sp")&&Wa(e,(...n)=>t(...n),r)},Eh=zn("bm"),cn=zn("m"),Pl=zn("bu"),Il=zn("u"),Wt=zn("bum"),Nl=zn("um"),J3=zn("sp"),e6=zn("rtg"),t6=zn("rtc");function r6(e,t=nr){Wa("ec",e,t)}const n6=Symbol.for("v-ndc");function ju(e,t,r,n){let u;const i=r,a=qe(e);if(a||kt(e)){const o=a&&Qn(e);let s=!1,l=!1;o&&(s=!Dr(e),l=Jn(e),e=$a(e)),u=new Array(e.length);for(let c=0,f=e.length;c<f;c++)u[c]=t(s?l?ha(Ht(e[c])):Ht(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){u=new Array(e);for(let o=0;o<e;o++)u[o]=t(o+1,o,void 0,i)}else if(pt(e))if(e[Symbol.iterator])u=Array.from(e,(o,s)=>t(o,s,void 0,i));else{const o=Object.keys(e);u=new Array(o.length);for(let s=0,l=o.length;s<l;s++){const c=o[s];u[s]=t(e[c],c,s,i)}}else u=[];return u}const Ls=e=>e?Gh(e)?Qa(e):Ls(e.parent):null,$u=zt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ls(e.parent),$root:e=>Ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Th(e),$forceUpdate:e=>e.f||(e.f=()=>{Ol(e.update)}),$nextTick:e=>e.n||(e.n=vt.bind(e.proxy)),$watch:e=>_6.bind(e)}),Oo=(e,t)=>e!==st&&!e.__isScriptSetup&&nt(e,t),u6={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:u,props:i,accessCache:a,type:o,appContext:s}=e;let l;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return u[t];case 4:return r[t];case 3:return i[t]}else{if(Oo(n,t))return a[t]=1,n[t];if(u!==st&&nt(u,t))return a[t]=2,u[t];if((l=e.propsOptions[0])&&nt(l,t))return a[t]=3,i[t];if(r!==st&&nt(r,t))return a[t]=4,r[t];Ps&&(a[t]=0)}}const c=$u[t];let f,m;if(c)return t==="$attrs"&&Yt(e.attrs,"get",""),c(e);if((f=o.__cssModules)&&(f=f[t]))return f;if(r!==st&&nt(r,t))return a[t]=4,r[t];if(m=s.config.globalProperties,nt(m,t))return m[t]},set({_:e},t,r){const{data:n,setupState:u,ctx:i}=e;return Oo(u,t)?(u[t]=r,!0):n!==st&&nt(n,t)?(n[t]=r,!0):nt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:u,propsOptions:i}},a){let o;return!!r[a]||e!==st&&nt(e,a)||Oo(t,a)||(o=i[0])&&nt(o,a)||nt(n,a)||nt($u,a)||nt(u.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:nt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Yc(e){return qe(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Ps=!0;function i6(e){const t=Th(e),r=e.proxy,n=e.ctx;Ps=!1,t.beforeCreate&&Gc(t.beforeCreate,e,"bc");const{data:u,computed:i,methods:a,watch:o,provide:s,inject:l,created:c,beforeMount:f,mounted:m,beforeUpdate:p,updated:v,activated:x,deactivated:y,beforeDestroy:T,beforeUnmount:D,destroyed:_,unmounted:w,render:F,renderTracked:j,renderTriggered:z,errorCaptured:V,serverPrefetch:S,expose:Y,inheritAttrs:Z,components:M,directives:U,filters:B}=t;if(l&&a6(l,n,null),a)for(const I in a){const N=a[I];He(N)&&(n[I]=N.bind(r))}if(u){const I=u.call(r,r);pt(I)&&(e.data=vu(I))}if(Ps=!0,i)for(const I in i){const N=i[I],ue=He(N)?N.bind(r,r):He(N.get)?N.get.bind(r,r):sn,te=!He(N)&&He(N.set)?N.set.bind(r):sn,H=W({get:ue,set:te});Object.defineProperty(n,I,{enumerable:!0,configurable:!0,get:()=>H.value,set:q=>H.value=q})}if(o)for(const I in o)Mh(o[I],n,r,I);if(s){const I=He(s)?s.call(r):s;Reflect.ownKeys(I).forEach(N=>{d6(N,I[N])})}c&&Gc(c,e,"c");function L(I,N){qe(N)?N.forEach(ue=>I(ue.bind(r))):N&&I(N.bind(r))}if(L(Eh,f),L(cn,m),L(Pl,p),L(Il,v),L(Ll,x),L(mi,y),L(r6,V),L(t6,j),L(e6,z),L(Wt,D),L(Nl,w),L(J3,S),qe(Y))if(Y.length){const I=e.exposed||(e.exposed={});Y.forEach(N=>{Object.defineProperty(I,N,{get:()=>r[N],set:ue=>r[N]=ue,enumerable:!0})})}else e.exposed||(e.exposed={});F&&e.render===sn&&(e.render=F),Z!=null&&(e.inheritAttrs=Z),M&&(e.components=M),U&&(e.directives=U),S&&_h(e)}function a6(e,t,r=sn){qe(e)&&(e=Is(e));for(const n in e){const u=e[n];let i;pt(u)?"default"in u?i=E0(u.from||n,u.default,!0):i=E0(u.from||n):i=E0(u),Ct(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function Gc(e,t,r){Ir(qe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Mh(e,t,r,n){let u=n.includes(".")?Vh(r,n):()=>r[n];if(kt(e)){const i=t[e];He(i)&&Ne(u,i)}else if(He(e))Ne(u,e.bind(r));else if(pt(e))if(qe(e))e.forEach(i=>Mh(i,t,r,n));else{const i=He(e.handler)?e.handler.bind(r):t[e.handler];He(i)&&Ne(u,i,e)}}function Th(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:u,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,o=i.get(t);let s;return o?s=o:!u.length&&!r&&!n?s=t:(s={},u.length&&u.forEach(l=>ga(s,l,a,!0)),ga(s,t,a)),pt(t)&&i.set(t,s),s}function ga(e,t,r,n=!1){const{mixins:u,extends:i}=t;i&&ga(e,i,r,!0),u&&u.forEach(a=>ga(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const o=o6[a]||r&&r[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const o6={data:Wc,props:Kc,emits:Kc,methods:Ou,computed:Ou,beforeCreate:Xt,created:Xt,beforeMount:Xt,mounted:Xt,beforeUpdate:Xt,updated:Xt,beforeDestroy:Xt,beforeUnmount:Xt,destroyed:Xt,unmounted:Xt,activated:Xt,deactivated:Xt,errorCaptured:Xt,serverPrefetch:Xt,components:Ou,directives:Ou,watch:l6,provide:Wc,inject:s6};function Wc(e,t){return t?e?function(){return zt(He(e)?e.call(this,this):e,He(t)?t.call(this,this):t)}:t:e}function s6(e,t){return Ou(Is(e),Is(t))}function Is(e){if(qe(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ou(e,t){return e?zt(Object.create(null),e,t):t}function Kc(e,t){return e?qe(e)&&qe(t)?[...new Set([...e,...t])]:zt(Object.create(null),Yc(e),Yc(t??{})):t}function l6(e,t){if(!e)return t;if(!t)return e;const r=zt(Object.create(null),e);for(const n in t)r[n]=Xt(e[n],t[n]);return r}function Fh(){return{app:null,config:{isNativeTag:r3,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 c6=0;function f6(e,t){return function(n,u=null){He(n)||(n=zt({},n)),u!=null&&!pt(u)&&(u=null);const i=Fh(),a=new WeakSet,o=[];let s=!1;const l=i.app={_uid:c6++,_component:n,_props:u,_container:null,_context:i,_instance:null,version:G6,get config(){return i.config},set config(c){},use(c,...f){return a.has(c)||(c&&He(c.install)?(a.add(c),c.install(l,...f)):He(c)&&(a.add(c),c(l,...f))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,f){return f?(i.components[c]=f,l):i.components[c]},directive(c,f){return f?(i.directives[c]=f,l):i.directives[c]},mount(c,f,m){if(!s){const p=l._ceVNode||et(n,u);return p.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),e(p,c,m),s=!0,l._container=c,c.__vue_app__=l,Qa(p.component)}},onUnmount(c){o.push(c)},unmount(){s&&(Ir(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(c,f){return i.provides[c]=f,l},runWithContext(c){const f=D0;D0=l;try{return c()}finally{D0=f}}};return l}}let D0=null;function d6(e,t){if(nr){let r=nr.provides;const n=nr.parent&&nr.parent.provides;n===r&&(r=nr.provides=Object.create(n)),r[e]=t}}function E0(e,t,r=!1){const n=gt();if(n||D0){let u=D0?D0._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(u&&e in u)return u[e];if(arguments.length>1)return r&&He(t)?t.call(n&&n.proxy):t}}function h6(){return!!(gt()||D0)}const zh={},Bh=()=>Object.create(zh),Oh=e=>Object.getPrototypeOf(e)===zh;function m6(e,t,r,n=!1){const u={},i=Bh();e.propsDefaults=Object.create(null),qh(e,t,u,i);for(const a in e.propsOptions[0])a in u||(u[a]=void 0);r?e.props=n?u:O3(u):e.type.props?e.props=u:e.props=i,e.attrs=i}function p6(e,t,r,n){const{props:u,attrs:i,vnode:{patchFlag:a}}=e,o=Qe(u),[s]=e.propsOptions;let l=!1;if((n||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let m=c[f];if(Ka(e.emitsOptions,m))continue;const p=t[m];if(s)if(nt(i,m))p!==i[m]&&(i[m]=p,l=!0);else{const v=Xn(m);u[v]=Ns(s,o,v,p,e,!1)}else p!==i[m]&&(i[m]=p,l=!0)}}}else{qh(e,t,u,i)&&(l=!0);let c;for(const f in o)(!t||!nt(t,f)&&((c=I0(f))===f||!nt(t,c)))&&(s?r&&(r[f]!==void 0||r[c]!==void 0)&&(u[f]=Ns(s,o,f,void 0,e,!0)):delete u[f]);if(i!==o)for(const f in i)(!t||!nt(t,f))&&(delete i[f],l=!0)}l&&Sn(e.attrs,"set","")}function qh(e,t,r,n){const[u,i]=e.propsOptions;let a=!1,o;if(t)for(let s in t){if(Pu(s))continue;const l=t[s];let c;u&&nt(u,c=Xn(s))?!i||!i.includes(c)?r[c]=l:(o||(o={}))[c]=l:Ka(e.emitsOptions,s)||(!(s in n)||l!==n[s])&&(n[s]=l,a=!0)}if(i){const s=Qe(r),l=o||st;for(let c=0;c<i.length;c++){const f=i[c];r[f]=Ns(u,s,f,l[f],e,!nt(l,f))}}return a}function Ns(e,t,r,n,u,i){const a=e[r];if(a!=null){const o=nt(a,"default");if(o&&n===void 0){const s=a.default;if(a.type!==Function&&!a.skipFactory&&He(s)){const{propsDefaults:l}=u;if(r in l)n=l[r];else{const c=pi(u);n=l[r]=s.call(null,t),c()}}else n=s;u.ce&&u.ce._setProp(r,n)}a[0]&&(i&&!o?n=!1:a[1]&&(n===""||n===I0(r))&&(n=!0))}return n}const v6=new WeakMap;function Rh(e,t,r=!1){const n=r?v6:t.propsCache,u=n.get(e);if(u)return u;const i=e.props,a={},o=[];let s=!1;if(!He(e)){const c=f=>{s=!0;const[m,p]=Rh(f,t,!0);zt(a,m),p&&o.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!s)return pt(e)&&n.set(e,nu),nu;if(qe(i))for(let c=0;c<i.length;c++){const f=Xn(i[c]);Zc(f)&&(a[f]=st)}else if(i)for(const c in i){const f=Xn(c);if(Zc(f)){const m=i[c],p=a[f]=qe(m)||He(m)?{type:m}:zt({},m),v=p.type;let x=!1,y=!0;if(qe(v))for(let T=0;T<v.length;++T){const D=v[T],_=He(D)&&D.name;if(_==="Boolean"){x=!0;break}else _==="String"&&(y=!1)}else x=He(v)&&v.name==="Boolean";p[0]=x,p[1]=y,(x||nt(p,"default"))&&o.push(f)}}const l=[a,o];return pt(e)&&n.set(e,l),l}function Zc(e){return e[0]!=="$"&&!Pu(e)}const Hl=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",Vl=e=>qe(e)?e.map(Xr):[Xr(e)],g6=(e,t,r)=>{if(t._n)return t;const n=Sr((...u)=>Vl(t(...u)),r);return n._c=!1,n},Lh=(e,t,r)=>{const n=e._ctx;for(const u in e){if(Hl(u))continue;const i=e[u];if(He(i))t[u]=g6(u,i,n);else if(i!=null){const a=Vl(i);t[u]=()=>a}}},Ph=(e,t)=>{const r=Vl(t);e.slots.default=()=>r},Ih=(e,t,r)=>{for(const n in t)(r||!Hl(n))&&(e[n]=t[n])},b6=(e,t,r)=>{const n=e.slots=Bh();if(e.vnode.shapeFlag&32){const u=t.__;u&&Fs(n,"__",u,!0);const i=t._;i?(Ih(n,t,r),r&&Fs(n,"_",i,!0)):Lh(t,n)}else t&&Ph(e,t)},y6=(e,t,r)=>{const{vnode:n,slots:u}=e;let i=!0,a=st;if(n.shapeFlag&32){const o=t._;o?r&&o===1?i=!1:Ih(u,t,r):(i=!t.$stable,Lh(t,u)),a=t}else t&&(Ph(e,t),a={default:1});if(i)for(const o in u)!Hl(o)&&a[o]==null&&delete u[o]},Jt=B6;function x6(e){return w6(e)}function w6(e,t){const r=ja();r.__VUE__=!0;const{insert:n,remove:u,patchProp:i,createElement:a,createText:o,createComment:s,setText:l,setElementText:c,parentNode:f,nextSibling:m,setScopeId:p=sn,insertStaticContent:v}=e,x=(A,O,Q,ie=null,re=null,ee=null,ge=void 0,me=null,pe=!!O.dynamicChildren)=>{if(A===O)return;A&&!w0(A,O)&&(ie=ve(A),q(A,re,ee,!0),A=null),O.patchFlag===-2&&(pe=!1,O.dynamicChildren=null);const{type:ae,ref:Ae,shapeFlag:be}=O;switch(ae){case Za:y(A,O,Q,ie);break;case rr:T(A,O,Q,ie);break;case Ro:A==null&&D(O,Q,ie,ge);break;case Vt:M(A,O,Q,ie,re,ee,ge,me,pe);break;default:be&1?F(A,O,Q,ie,re,ee,ge,me,pe):be&6?U(A,O,Q,ie,re,ee,ge,me,pe):(be&64||be&128)&&ae.process(A,O,Q,ie,re,ee,ge,me,pe,Ke)}Ae!=null&&re?Vu(Ae,A&&A.ref,ee,O||A,!O):Ae==null&&A&&A.ref!=null&&Vu(A.ref,null,ee,A,!0)},y=(A,O,Q,ie)=>{if(A==null)n(O.el=o(O.children),Q,ie);else{const re=O.el=A.el;O.children!==A.children&&l(re,O.children)}},T=(A,O,Q,ie)=>{A==null?n(O.el=s(O.children||""),Q,ie):O.el=A.el},D=(A,O,Q,ie)=>{[A.el,A.anchor]=v(A.children,O,Q,ie,A.el,A.anchor)},_=({el:A,anchor:O},Q,ie)=>{let re;for(;A&&A!==O;)re=m(A),n(A,Q,ie),A=re;n(O,Q,ie)},w=({el:A,anchor:O})=>{let Q;for(;A&&A!==O;)Q=m(A),u(A),A=Q;u(O)},F=(A,O,Q,ie,re,ee,ge,me,pe)=>{O.type==="svg"?ge="svg":O.type==="math"&&(ge="mathml"),A==null?j(O,Q,ie,re,ee,ge,me,pe):S(A,O,re,ee,ge,me,pe)},j=(A,O,Q,ie,re,ee,ge,me)=>{let pe,ae;const{props:Ae,shapeFlag:be,transition:Te,dirs:Re}=A;if(pe=A.el=a(A.type,ee,Ae&&Ae.is,Ae),be&8?c(pe,A.children):be&16&&V(A.children,pe,null,ie,re,qo(A,ee),ge,me),Re&&d0(A,null,ie,"created"),z(pe,A,A.scopeId,ge,ie),Ae){for(const Ze in Ae)Ze!=="value"&&!Pu(Ze)&&i(pe,Ze,null,Ae[Ze],ee,ie);"value"in Ae&&i(pe,"value",null,Ae.value,ee),(ae=Ae.onVnodeBeforeMount)&&Gr(ae,ie,A)}Re&&d0(A,null,ie,"beforeMount");const Ye=k6(re,Te);Ye&&Te.beforeEnter(pe),n(pe,O,Q),((ae=Ae&&Ae.onVnodeMounted)||Ye||Re)&&Jt(()=>{ae&&Gr(ae,ie,A),Ye&&Te.enter(pe),Re&&d0(A,null,ie,"mounted")},re)},z=(A,O,Q,ie,re)=>{if(Q&&p(A,Q),ie)for(let ee=0;ee<ie.length;ee++)p(A,ie[ee]);if(re){let ee=re.subTree;if(O===ee||jh(ee.type)&&(ee.ssContent===O||ee.ssFallback===O)){const ge=re.vnode;z(A,ge,ge.scopeId,ge.slotScopeIds,re.parent)}}},V=(A,O,Q,ie,re,ee,ge,me,pe=0)=>{for(let ae=pe;ae<A.length;ae++){const Ae=A[ae]=me?Un(A[ae]):Xr(A[ae]);x(null,Ae,O,Q,ie,re,ee,ge,me)}},S=(A,O,Q,ie,re,ee,ge)=>{const me=O.el=A.el;let{patchFlag:pe,dynamicChildren:ae,dirs:Ae}=O;pe|=A.patchFlag&16;const be=A.props||st,Te=O.props||st;let Re;if(Q&&h0(Q,!1),(Re=Te.onVnodeBeforeUpdate)&&Gr(Re,Q,O,A),Ae&&d0(O,A,Q,"beforeUpdate"),Q&&h0(Q,!0),(be.innerHTML&&Te.innerHTML==null||be.textContent&&Te.textContent==null)&&c(me,""),ae?Y(A.dynamicChildren,ae,me,Q,ie,qo(O,re),ee):ge||N(A,O,me,null,Q,ie,qo(O,re),ee,!1),pe>0){if(pe&16)Z(me,be,Te,Q,re);else if(pe&2&&be.class!==Te.class&&i(me,"class",null,Te.class,re),pe&4&&i(me,"style",be.style,Te.style,re),pe&8){const Ye=O.dynamicProps;for(let Ze=0;Ze<Ye.length;Ze++){const Xe=Ye[Ze],Dt=be[Xe],ct=Te[Xe];(ct!==Dt||Xe==="value")&&i(me,Xe,Dt,ct,re,Q)}}pe&1&&A.children!==O.children&&c(me,O.children)}else!ge&&ae==null&&Z(me,be,Te,Q,re);((Re=Te.onVnodeUpdated)||Ae)&&Jt(()=>{Re&&Gr(Re,Q,O,A),Ae&&d0(O,A,Q,"updated")},ie)},Y=(A,O,Q,ie,re,ee,ge)=>{for(let me=0;me<O.length;me++){const pe=A[me],ae=O[me],Ae=pe.el&&(pe.type===Vt||!w0(pe,ae)||pe.shapeFlag&198)?f(pe.el):Q;x(pe,ae,Ae,null,ie,re,ee,ge,!0)}},Z=(A,O,Q,ie,re)=>{if(O!==Q){if(O!==st)for(const ee in O)!Pu(ee)&&!(ee in Q)&&i(A,ee,O[ee],null,re,ie);for(const ee in Q){if(Pu(ee))continue;const ge=Q[ee],me=O[ee];ge!==me&&ee!=="value"&&i(A,ee,me,ge,re,ie)}"value"in Q&&i(A,"value",O.value,Q.value,re)}},M=(A,O,Q,ie,re,ee,ge,me,pe)=>{const ae=O.el=A?A.el:o(""),Ae=O.anchor=A?A.anchor:o("");let{patchFlag:be,dynamicChildren:Te,slotScopeIds:Re}=O;Re&&(me=me?me.concat(Re):Re),A==null?(n(ae,Q,ie),n(Ae,Q,ie),V(O.children||[],Q,Ae,re,ee,ge,me,pe)):be>0&&be&64&&Te&&A.dynamicChildren?(Y(A.dynamicChildren,Te,Q,re,ee,ge,me),(O.key!=null||re&&O===re.subTree)&&Ul(A,O,!0)):N(A,O,Q,Ae,re,ee,ge,me,pe)},U=(A,O,Q,ie,re,ee,ge,me,pe)=>{O.slotScopeIds=me,A==null?O.shapeFlag&512?re.ctx.activate(O,Q,ie,ge,pe):B(O,Q,ie,re,ee,ge,pe):ne(A,O,pe)},B=(A,O,Q,ie,re,ee,ge)=>{const me=A.component=H6(A,ie,re);if(Ga(A)&&(me.ctx.renderer=Ke),V6(me,!1,ge),me.asyncDep){if(re&&re.registerDep(me,L,ge),!A.el){const pe=me.subTree=et(rr);T(null,pe,O,Q),A.placeholder=pe.el}}else L(me,A,O,Q,re,ee,ge)},ne=(A,O,Q)=>{const ie=O.component=A.component;if(F6(A,O,Q))if(ie.asyncDep&&!ie.asyncResolved){I(ie,O,Q);return}else ie.next=O,ie.update();else O.el=A.el,ie.vnode=O},L=(A,O,Q,ie,re,ee,ge)=>{const me=()=>{if(A.isMounted){let{next:be,bu:Te,u:Re,parent:Ye,vnode:Ze}=A;{const Ot=Nh(A);if(Ot){be&&(be.el=Ze.el,I(A,be,ge)),Ot.asyncDep.then(()=>{A.isUnmounted||me()});return}}let Xe=be,Dt;h0(A,!1),be?(be.el=Ze.el,I(A,be,ge)):be=Ze,Te&&Ji(Te),(Dt=be.props&&be.props.onVnodeBeforeUpdate)&&Gr(Dt,Ye,be,Ze),h0(A,!0);const ct=Xc(A),Et=A.subTree;A.subTree=ct,x(Et,ct,f(Et.el),ve(Et),A,re,ee),be.el=ct.el,Xe===null&&z6(A,ct.el),Re&&Jt(Re,re),(Dt=be.props&&be.props.onVnodeUpdated)&&Jt(()=>Gr(Dt,Ye,be,Ze),re)}else{let be;const{el:Te,props:Re}=O,{bm:Ye,m:Ze,parent:Xe,root:Dt,type:ct}=A,Et=Uu(O);h0(A,!1),Ye&&Ji(Ye),!Et&&(be=Re&&Re.onVnodeBeforeMount)&&Gr(be,Xe,O),h0(A,!0);{Dt.ce&&Dt.ce._def.shadowRoot!==!1&&Dt.ce._injectChildStyle(ct);const Ot=A.subTree=Xc(A);x(null,Ot,Q,ie,A,re,ee),O.el=Ot.el}if(Ze&&Jt(Ze,re),!Et&&(be=Re&&Re.onVnodeMounted)){const Ot=O;Jt(()=>Gr(be,Xe,Ot),re)}(O.shapeFlag&256||Xe&&Uu(Xe.vnode)&&Xe.vnode.shapeFlag&256)&&A.a&&Jt(A.a,re),A.isMounted=!0,O=Q=ie=null}};A.scope.on();const pe=A.effect=new Zd(me);A.scope.off();const ae=A.update=pe.run.bind(pe),Ae=A.job=pe.runIfDirty.bind(pe);Ae.i=A,Ae.id=A.uid,pe.scheduler=()=>Ol(Ae),h0(A,!0),ae()},I=(A,O,Q)=>{O.component=A;const ie=A.vnode.props;A.vnode=O,A.next=null,p6(A,O.props,ie,Q),y6(A,O.children,Q),En(),Hc(A),Mn()},N=(A,O,Q,ie,re,ee,ge,me,pe=!1)=>{const ae=A&&A.children,Ae=A?A.shapeFlag:0,be=O.children,{patchFlag:Te,shapeFlag:Re}=O;if(Te>0){if(Te&128){te(ae,be,Q,ie,re,ee,ge,me,pe);return}else if(Te&256){ue(ae,be,Q,ie,re,ee,ge,me,pe);return}}Re&8?(Ae&16&&oe(ae,re,ee),be!==ae&&c(Q,be)):Ae&16?Re&16?te(ae,be,Q,ie,re,ee,ge,me,pe):oe(ae,re,ee,!0):(Ae&8&&c(Q,""),Re&16&&V(be,Q,ie,re,ee,ge,me,pe))},ue=(A,O,Q,ie,re,ee,ge,me,pe)=>{A=A||nu,O=O||nu;const ae=A.length,Ae=O.length,be=Math.min(ae,Ae);let Te;for(Te=0;Te<be;Te++){const Re=O[Te]=pe?Un(O[Te]):Xr(O[Te]);x(A[Te],Re,Q,null,re,ee,ge,me,pe)}ae>Ae?oe(A,re,ee,!0,!1,be):V(O,Q,ie,re,ee,ge,me,pe,be)},te=(A,O,Q,ie,re,ee,ge,me,pe)=>{let ae=0;const Ae=O.length;let be=A.length-1,Te=Ae-1;for(;ae<=be&&ae<=Te;){const Re=A[ae],Ye=O[ae]=pe?Un(O[ae]):Xr(O[ae]);if(w0(Re,Ye))x(Re,Ye,Q,null,re,ee,ge,me,pe);else break;ae++}for(;ae<=be&&ae<=Te;){const Re=A[be],Ye=O[Te]=pe?Un(O[Te]):Xr(O[Te]);if(w0(Re,Ye))x(Re,Ye,Q,null,re,ee,ge,me,pe);else break;be--,Te--}if(ae>be){if(ae<=Te){const Re=Te+1,Ye=Re<Ae?O[Re].el:ie;for(;ae<=Te;)x(null,O[ae]=pe?Un(O[ae]):Xr(O[ae]),Q,Ye,re,ee,ge,me,pe),ae++}}else if(ae>Te)for(;ae<=be;)q(A[ae],re,ee,!0),ae++;else{const Re=ae,Ye=ae,Ze=new Map;for(ae=Ye;ae<=Te;ae++){const qt=O[ae]=pe?Un(O[ae]):Xr(O[ae]);qt.key!=null&&Ze.set(qt.key,ae)}let Xe,Dt=0;const ct=Te-Ye+1;let Et=!1,Ot=0;const jr=new Array(ct);for(ae=0;ae<ct;ae++)jr[ae]=0;for(ae=Re;ae<=be;ae++){const qt=A[ae];if(Dt>=ct){q(qt,re,ee,!0);continue}let Zt;if(qt.key!=null)Zt=Ze.get(qt.key);else for(Xe=Ye;Xe<=Te;Xe++)if(jr[Xe-Ye]===0&&w0(qt,O[Xe])){Zt=Xe;break}Zt===void 0?q(qt,re,ee,!0):(jr[Zt-Ye]=ae+1,Zt>=Ot?Ot=Zt:Et=!0,x(qt,O[Zt],Q,null,re,ee,ge,me,pe),Dt++)}const $r=Et?S6(jr):nu;for(Xe=$r.length-1,ae=ct-1;ae>=0;ae--){const qt=Ye+ae,Zt=O[qt],l0=O[qt+1],dr=qt+1<Ae?l0.el||l0.placeholder:ie;jr[ae]===0?x(null,Zt,Q,dr,re,ee,ge,me,pe):Et&&(Xe<0||ae!==$r[Xe]?H(Zt,Q,dr,2):Xe--)}}},H=(A,O,Q,ie,re=null)=>{const{el:ee,type:ge,transition:me,children:pe,shapeFlag:ae}=A;if(ae&6){H(A.component.subTree,O,Q,ie);return}if(ae&128){A.suspense.move(O,Q,ie);return}if(ae&64){ge.move(A,O,Q,Ke);return}if(ge===Vt){n(ee,O,Q);for(let be=0;be<pe.length;be++)H(pe[be],O,Q,ie);n(A.anchor,O,Q);return}if(ge===Ro){_(A,O,Q);return}if(ie!==2&&ae&1&&me)if(ie===0)me.beforeEnter(ee),n(ee,O,Q),Jt(()=>me.enter(ee),re);else{const{leave:be,delayLeave:Te,afterLeave:Re}=me,Ye=()=>{A.ctx.isUnmounted?u(ee):n(ee,O,Q)},Ze=()=>{be(ee,()=>{Ye(),Re&&Re()})};Te?Te(ee,Ye,Ze):Ze()}else n(ee,O,Q)},q=(A,O,Q,ie=!1,re=!1)=>{const{type:ee,props:ge,ref:me,children:pe,dynamicChildren:ae,shapeFlag:Ae,patchFlag:be,dirs:Te,cacheIndex:Re}=A;if(be===-2&&(re=!1),me!=null&&(En(),Vu(me,null,Q,A,!0),Mn()),Re!=null&&(O.renderCache[Re]=void 0),Ae&256){O.ctx.deactivate(A);return}const Ye=Ae&1&&Te,Ze=!Uu(A);let Xe;if(Ze&&(Xe=ge&&ge.onVnodeBeforeUnmount)&&Gr(Xe,O,A),Ae&6)Fe(A.component,Q,ie);else{if(Ae&128){A.suspense.unmount(Q,ie);return}Ye&&d0(A,null,O,"beforeUnmount"),Ae&64?A.type.remove(A,O,Q,Ke,ie):ae&&!ae.hasOnce&&(ee!==Vt||be>0&&be&64)?oe(ae,O,Q,!1,!0):(ee===Vt&&be&384||!re&&Ae&16)&&oe(pe,O,Q),ie&&he(A)}(Ze&&(Xe=ge&&ge.onVnodeUnmounted)||Ye)&&Jt(()=>{Xe&&Gr(Xe,O,A),Ye&&d0(A,null,O,"unmounted")},Q)},he=A=>{const{type:O,el:Q,anchor:ie,transition:re}=A;if(O===Vt){Me(Q,ie);return}if(O===Ro){w(A);return}const ee=()=>{u(Q),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(A.shapeFlag&1&&re&&!re.persisted){const{leave:ge,delayLeave:me}=re,pe=()=>ge(Q,ee);me?me(A.el,ee,pe):pe()}else ee()},Me=(A,O)=>{let Q;for(;A!==O;)Q=m(A),u(A),A=Q;u(O)},Fe=(A,O,Q)=>{const{bum:ie,scope:re,job:ee,subTree:ge,um:me,m:pe,a:ae,parent:Ae,slots:{__:be}}=A;Qc(pe),Qc(ae),ie&&Ji(ie),Ae&&qe(be)&&be.forEach(Te=>{Ae.renderCache[Te]=void 0}),re.stop(),ee&&(ee.flags|=8,q(ge,A,O,Q)),me&&Jt(me,O),Jt(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},oe=(A,O,Q,ie=!1,re=!1,ee=0)=>{for(let ge=ee;ge<A.length;ge++)q(A[ge],O,Q,ie,re)},ve=A=>{if(A.shapeFlag&6)return ve(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const O=m(A.anchor||A.el),Q=O&&O[gh];return Q?m(Q):O};let Ue=!1;const de=(A,O,Q)=>{A==null?O._vnode&&q(O._vnode,null,null,!0):x(O._vnode||null,A,O,null,null,null,Q),O._vnode=A,Ue||(Ue=!0,Hc(),mh(),Ue=!1)},Ke={p:x,um:q,m:H,r:he,mt:B,mc:V,pc:N,pbc:Y,n:ve,o:e};return{render:de,hydrate:void 0,createApp:f6(de)}}function qo({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function h0({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function k6(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ul(e,t,r=!1){const n=e.children,u=t.children;if(qe(n)&&qe(u))for(let i=0;i<n.length;i++){const a=n[i];let o=u[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=u[i]=Un(u[i]),o.el=a.el),!r&&o.patchFlag!==-2&&Ul(a,o)),o.type===Za&&(o.el=a.el),o.type===rr&&!o.el&&(o.el=a.el)}}function S6(e){const t=e.slice(),r=[0];let n,u,i,a,o;const s=e.length;for(n=0;n<s;n++){const l=e[n];if(l!==0){if(u=r[r.length-1],e[u]<l){t[n]=u,r.push(n);continue}for(i=0,a=r.length-1;i<a;)o=i+a>>1,e[r[o]]<l?i=o+1:a=o;l<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}function Nh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nh(t)}function Qc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const A6=Symbol.for("v-scx"),C6=()=>E0(A6);function Ne(e,t,r){return Hh(e,t,r)}function Hh(e,t,r=st){const{immediate:n,deep:u,flush:i,once:a}=r,o=zt({},r),s=t&&n||!t&&i!=="post";let l;if(ri){if(i==="sync"){const p=C6();l=p.__watcherHandles||(p.__watcherHandles=[])}else if(!s){const p=()=>{};return p.stop=sn,p.resume=sn,p.pause=sn,p}}const c=nr;o.call=(p,v,x)=>Ir(p,c,v,x);let f=!1;i==="post"?o.scheduler=p=>{Jt(p,c&&c.suspense)}:i!=="sync"&&(f=!0,o.scheduler=(p,v)=>{v?p():Ol(p)}),o.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const m=j3(e,t,o);return ri&&(l?l.push(m):s&&m()),m}function _6(e,t,r){const n=this.proxy,u=kt(e)?e.includes(".")?Vh(n,e):()=>n[e]:e.bind(n,n);let i;He(t)?i=t:(i=t.handler,r=t);const a=pi(this),o=Hh(u,i.bind(n),r);return a(),o}function Vh(e,t){const r=t.split(".");return()=>{let n=e;for(let u=0;u<r.length&&n;u++)n=n[r[u]];return n}}const D6=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Xn(t)}Modifiers`]||e[`${I0(t)}Modifiers`];function E6(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||st;let u=r;const i=t.startsWith("update:"),a=i&&D6(n,t.slice(7));a&&(a.trim&&(u=r.map(c=>kt(c)?c.trim():c)),a.number&&(u=r.map(zs)));let o,s=n[o=Eo(t)]||n[o=Eo(Xn(t))];!s&&i&&(s=n[o=Eo(I0(t))]),s&&Ir(s,e,6,u);const l=n[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Ir(l,e,6,u)}}function Uh(e,t,r=!1){const n=t.emitsCache,u=n.get(e);if(u!==void 0)return u;const i=e.emits;let a={},o=!1;if(!He(e)){const s=l=>{const c=Uh(l,t,!0);c&&(o=!0,zt(a,c))};!r&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!o?(pt(e)&&n.set(e,null),null):(qe(i)?i.forEach(s=>a[s]=null):zt(a,i),pt(e)&&n.set(e,a),a)}function Ka(e,t){return!e||!Ha(t)?!1:(t=t.slice(2).replace(/Once$/,""),nt(e,t[0].toLowerCase()+t.slice(1))||nt(e,I0(t))||nt(e,t))}function Xc(e){const{type:t,vnode:r,proxy:n,withProxy:u,propsOptions:[i],slots:a,attrs:o,emit:s,render:l,renderCache:c,props:f,data:m,setupState:p,ctx:v,inheritAttrs:x}=e,y=va(e);let T,D;try{if(r.shapeFlag&4){const w=u||n,F=w;T=Xr(l.call(F,w,c,f,p,m,v)),D=o}else{const w=t;T=Xr(w.length>1?w(f,{attrs:o,slots:a,emit:s}):w(f,null)),D=t.props?o:M6(o)}}catch(w){Yu.length=0,Ya(w,e,1),T=et(rr)}let _=T;if(D&&x!==!1){const w=Object.keys(D),{shapeFlag:F}=_;w.length&&F&7&&(i&&w.some(Sl)&&(D=T6(D,i)),_=e0(_,D,!1,!0))}return r.dirs&&(_=e0(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&q0(_,r.transition),T=_,va(y),T}const M6=e=>{let t;for(const r in e)(r==="class"||r==="style"||Ha(r))&&((t||(t={}))[r]=e[r]);return t},T6=(e,t)=>{const r={};for(const n in e)(!Sl(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function F6(e,t,r){const{props:n,children:u,component:i}=e,{props:a,children:o,patchFlag:s}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&s>=0){if(s&1024)return!0;if(s&16)return n?Jc(n,a,l):!!a;if(s&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const m=c[f];if(a[m]!==n[m]&&!Ka(l,m))return!0}}}else return(u||o)&&(!o||!o.$stable)?!0:n===a?!1:n?a?Jc(n,a,l):!0:!!a;return!1}function Jc(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let u=0;u<n.length;u++){const i=n[u];if(t[i]!==e[i]&&!Ka(r,i))return!0}return!1}function z6({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const jh=e=>e.__isSuspense;function B6(e,t){t&&t.pendingBranch?qe(e)?t.effects.push(...e):t.effects.push(e):G3(e)}const Vt=Symbol.for("v-fgt"),Za=Symbol.for("v-txt"),rr=Symbol.for("v-cmt"),Ro=Symbol.for("v-stc"),Yu=[];let vr=null;function Ie(e=!1){Yu.push(vr=e?null:[])}function O6(){Yu.pop(),vr=Yu[Yu.length-1]||null}let ti=1;function e1(e,t=!1){ti+=e,e<0&&vr&&t&&(vr.hasOnce=!0)}function $h(e){return e.dynamicChildren=ti>0?vr||nu:null,O6(),ti>0&&vr&&vr.push(e),e}function Ge(e,t,r,n,u,i){return $h(le(e,t,r,n,u,i,!0))}function M0(e,t,r,n,u){return $h(et(e,t,r,n,u,!0))}function ba(e){return e?e.__v_isVNode===!0:!1}function w0(e,t){return e.type===t.type&&e.key===t.key}const Yh=({key:e})=>e??null,ta=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?kt(e)||Ct(e)||He(e)?{i:Cr,r:e,k:t,f:!!r}:e:null);function le(e,t=null,r=null,n=0,u=null,i=e===Vt?0:1,a=!1,o=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yh(t),ref:t&&ta(t),scopeId:vh,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:Cr};return o?(jl(s,r),i&128&&e.normalize(s)):r&&(s.shapeFlag|=kt(r)?8:16),ti>0&&!a&&vr&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&vr.push(s),s}const et=q6;function q6(e,t=null,r=null,n=0,u=null,i=!1){if((!e||e===n6)&&(e=rr),ba(e)){const o=e0(e,t,!0);return r&&jl(o,r),ti>0&&!i&&vr&&(o.shapeFlag&6?vr[vr.indexOf(e)]=o:vr.push(o)),o.patchFlag=-2,o}if(Y6(e)&&(e=e.__vccOpts),t){t=R6(t);let{class:o,style:s}=t;o&&!kt(o)&&(t.class=O0(o)),pt(s)&&(Bl(s)&&!qe(s)&&(s=zt({},s)),t.style=_l(s))}const a=kt(e)?1:jh(e)?128:bh(e)?64:pt(e)?4:He(e)?2:0;return le(e,t,r,n,u,a,i,!0)}function R6(e){return e?Bl(e)||Oh(e)?zt({},e):e:null}function e0(e,t,r=!1,n=!1){const{props:u,ref:i,patchFlag:a,children:o,transition:s}=e,l=t?P6(u||{},t):u,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Yh(l),ref:t&&t.ref?r&&i?qe(i)?i.concat(ta(t)):[i,ta(t)]:ta(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&e0(e.ssContent),ssFallback:e.ssFallback&&e0(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&n&&q0(c,s.clone(c)),c}function L6(e=" ",t=0){return et(Za,null,e,t)}function Pr(e="",t=!1){return t?(Ie(),M0(rr,null,e)):et(rr,null,e)}function Xr(e){return e==null||typeof e=="boolean"?et(rr):qe(e)?et(Vt,null,e.slice()):ba(e)?Un(e):et(Za,null,String(e))}function Un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:e0(e)}function jl(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(qe(t))r=16;else if(typeof t=="object")if(n&65){const u=t.default;u&&(u._c&&(u._d=!1),jl(e,u()),u._c&&(u._d=!0));return}else{r=32;const u=t._;!u&&!Oh(t)?t._ctx=Cr:u===3&&Cr&&(Cr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else He(t)?(t={default:t,_ctx:Cr},r=32):(t=String(t),n&64?(r=16,t=[L6(t)]):r=8);e.children=t,e.shapeFlag|=r}function P6(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const u in n)if(u==="class")t.class!==n.class&&(t.class=O0([t.class,n.class]));else if(u==="style")t.style=_l([t.style,n.style]);else if(Ha(u)){const i=t[u],a=n[u];a&&i!==a&&!(qe(i)&&i.includes(a))&&(t[u]=i?[].concat(i,a):a)}else u!==""&&(t[u]=n[u])}return t}function Gr(e,t,r,n=null){Ir(e,t,7,[r,n])}const I6=Fh();let N6=0;function H6(e,t,r){const n=e.type,u=(t?t.appContext:e.appContext)||I6,i={uid:N6++,vnode:e,type:n,parent:t,appContext:u,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Gd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(u.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rh(n,u),emitsOptions:Uh(n,u),emit:null,emitted:null,propsDefaults:st,inheritAttrs:n.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=E6.bind(null,i),e.ce&&e.ce(i),i}let nr=null;const gt=()=>nr||Cr;let ya,Hs;{const e=ja(),t=(r,n)=>{let u;return(u=e[r])||(u=e[r]=[]),u.push(n),i=>{u.length>1?u.forEach(a=>a(i)):u[0](i)}};ya=t("__VUE_INSTANCE_SETTERS__",r=>nr=r),Hs=t("__VUE_SSR_SETTERS__",r=>ri=r)}const pi=e=>{const t=nr;return ya(e),e.scope.on(),()=>{e.scope.off(),ya(t)}},t1=()=>{nr&&nr.scope.off(),ya(null)};function Gh(e){return e.vnode.shapeFlag&4}let ri=!1;function V6(e,t=!1,r=!1){t&&Hs(t);const{props:n,children:u}=e.vnode,i=Gh(e);m6(e,n,i,t),b6(e,u,r||t);const a=i?U6(e,t):void 0;return t&&Hs(!1),a}function U6(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,u6);const{setup:n}=r;if(n){En();const u=e.setupContext=n.length>1?$6(e):null,i=pi(e),a=hi(n,e,0,[e.props,u]),o=Nd(a);if(Mn(),i(),(o||e.sp)&&!Uu(e)&&_h(e),o){if(a.then(t1,t1),t)return a.then(s=>{r1(e,s)}).catch(s=>{Ya(s,e,0)});e.asyncDep=a}else r1(e,a)}else Wh(e)}function r1(e,t,r){He(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=fh(t)),Wh(e)}function Wh(e,t,r){const n=e.type;e.render||(e.render=n.render||sn);{const u=pi(e);En();try{i6(e)}finally{Mn(),u()}}}const j6={get(e,t){return Yt(e,"get",""),e[t]}};function $6(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,j6),slots:e.slots,emit:e.emit,expose:t}}function Qa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fh(gu(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in $u)return $u[r](e)},has(t,r){return r in t||r in $u}})):e.proxy}function Y6(e){return He(e)&&"__vccOpts"in e}const W=(e,t)=>V3(e,t,ri);function G(e,t,r){const n=arguments.length;return n===2?pt(t)&&!qe(t)?ba(t)?et(e,null,[t]):et(e,t):et(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&ba(r)&&(r=[r]),et(e,t,r))}const G6="3.5.18";/**
14
14
  * @vue/runtime-dom v3.5.18
15
15
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
16
  * @license MIT
17
- **/let Hs;const s1=typeof window<"u"&&window.trustedTypes;if(s1)try{Hs=s1.createPolicy("vue",{createHTML:e=>e})}catch{}const Zh=Hs?e=>Hs.createHTML(e):e=>e,Q6="http://www.w3.org/2000/svg",X6="http://www.w3.org/1998/Math/MathML",kn=typeof document<"u"?document:null,l1=kn&&kn.createElement("template"),J6={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const u=t==="svg"?kn.createElementNS(Q6,e):t==="mathml"?kn.createElementNS(X6,e):r?kn.createElement(e,{is:r}):kn.createElement(e);return e==="select"&&n&&n.multiple!=null&&u.setAttribute("multiple",n.multiple),u},createText:e=>kn.createTextNode(e),createComment:e=>kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,u,i){const a=r?r.previousSibling:t.lastChild;if(u&&(u===i||u.nextSibling))for(;t.insertBefore(u.cloneNode(!0),r),!(u===i||!(u=u.nextSibling)););else{l1.innerHTML=Zh(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const o=l1.content;if(n==="svg"||n==="mathml"){const s=o.firstChild;for(;s.firstChild;)o.appendChild(s.firstChild);o.removeChild(s)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Rn="transition",Du="animation",lu=Symbol("_vtc"),Qh={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},Xh=zt({},Sh,Qh),ep=e=>(e.displayName="Transition",e.props=Xh,e),Ar=ep((e,{slots:t})=>G(e6,Jh(e),t)),p0=(e,t=[])=>{Re(e)?e.forEach(r=>r(...t)):e&&e(...t)},c1=e=>e?Re(e)?e.some(t=>t.length>1):e.length>1:!1;function Jh(e){const t={};for(const M in e)M in Qh||(t[M]=e[M]);if(e.css===!1)return t;const{name:r="v",type:n,duration:u,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:o=`${r}-enter-to`,appearFromClass:s=i,appearActiveClass:l=a,appearToClass:c=o,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:m=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,v=tp(u),x=v&&v[0],y=v&&v[1],{onBeforeEnter:T,onEnter:D,onEnterCancelled:_,onLeave:w,onLeaveCancelled:F,onBeforeAppear:j=T,onAppear:z=D,onAppearCancelled:V=_}=t,S=(M,U,B,ne)=>{M._enterCancelled=ne,Nn(M,U?c:o),Nn(M,U?l:a),B&&B()},Y=(M,U)=>{M._isLeaving=!1,Nn(M,f),Nn(M,p),Nn(M,m),U&&U()},Z=M=>(U,B)=>{const ne=M?z:D,L=()=>S(U,M,B);p0(ne,[U,L]),f1(()=>{Nn(U,M?s:i),Kr(U,M?c:o),c1(ne)||d1(U,n,x,L)})};return zt(t,{onBeforeEnter(M){p0(T,[M]),Kr(M,i),Kr(M,a)},onBeforeAppear(M){p0(j,[M]),Kr(M,s),Kr(M,l)},onEnter:Z(!1),onAppear:Z(!0),onLeave(M,U){M._isLeaving=!0;const B=()=>Y(M,U);Kr(M,f),M._enterCancelled?(Kr(M,m),Vs()):(Vs(),Kr(M,m)),f1(()=>{M._isLeaving&&(Nn(M,f),Kr(M,p),c1(w)||d1(M,n,y,B))}),p0(w,[M,B])},onEnterCancelled(M){S(M,!1,void 0,!0),p0(_,[M])},onAppearCancelled(M){S(M,!0,void 0,!0),p0(V,[M])},onLeaveCancelled(M){Y(M),p0(F,[M])}})}function tp(e){if(e==null)return null;if(vt(e))return[Lo(e.enter),Lo(e.leave)];{const t=Lo(e);return[t,t]}}function Lo(e){return c3(e)}function Kr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[lu]||(e[lu]=new Set)).add(t)}function Nn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[lu];r&&(r.delete(t),r.size||(e[lu]=void 0))}function f1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rp=0;function d1(e,t,r,n){const u=e._endId=++rp,i=()=>{u===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:o,propCount:s}=e2(e,t);if(!a)return n();const l=a+"end";let c=0;const f=()=>{e.removeEventListener(l,m),i()},m=p=>{p.target===e&&++c>=s&&f()};setTimeout(()=>{c<s&&f()},o+1),e.addEventListener(l,m)}function e2(e,t){const r=window.getComputedStyle(e),n=v=>(r[v]||"").split(", "),u=n(`${Rn}Delay`),i=n(`${Rn}Duration`),a=h1(u,i),o=n(`${Du}Delay`),s=n(`${Du}Duration`),l=h1(o,s);let c=null,f=0,m=0;t===Rn?a>0&&(c=Rn,f=a,m=i.length):t===Du?l>0&&(c=Du,f=l,m=s.length):(f=Math.max(a,l),c=f>0?a>l?Rn:Du:null,m=c?c===Rn?i.length:s.length:0);const p=c===Rn&&/\b(transform|all)(,|$)/.test(n(`${Rn}Property`).toString());return{type:c,timeout:f,propCount:m,hasTransform:p}}function h1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>m1(r)+m1(e[n])))}function m1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vs(){return document.body.offsetHeight}function np(e,t,r){const n=e[lu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const p1=Symbol("_vod"),up=Symbol("_vsh"),ip=Symbol(""),ap=/(^|;)\s*display\s*:/;function op(e,t,r){const n=e.style,u=kt(r);let i=!1;if(r&&!u){if(t)if(kt(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();r[o]==null&&na(n,o,"")}else for(const a in t)r[a]==null&&na(n,a,"");for(const a in r)a==="display"&&(i=!0),na(n,a,r[a])}else if(u){if(t!==r){const a=n[ip];a&&(r+=";"+a),n.cssText=r,i=ap.test(r)}}else t&&e.removeAttribute("style");p1 in e&&(e[p1]=i?n.display:"",e[up]&&(n.display="none"))}const v1=/\s*!important$/;function na(e,t,r){if(Re(r))r.forEach(n=>na(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=sp(e,t);v1.test(r)?e.setProperty(I0(n),r.replace(v1,""),"important"):e[n]=r}}const g1=["Webkit","Moz","ms"],Po={};function sp(e,t){const r=Po[t];if(r)return r;let n=Jn(t);if(n!=="filter"&&n in e)return Po[t]=n;n=jd(n);for(let u=0;u<g1.length;u++){const i=g1[u]+n;if(i in e)return Po[t]=i}return t}const b1="http://www.w3.org/1999/xlink";function y1(e,t,r,n,u,i=v3(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(b1,t.slice(6,t.length)):e.setAttributeNS(b1,t,r):r==null||i&&!$d(r)?e.removeAttribute(t):e.setAttribute(t,i?"":s0(r)?String(r):r)}function x1(e,t,r,n,u){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?Zh(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,s=r==null?e.type==="checkbox"?"on":"":String(r);(o!==s||!("_value"in e))&&(e.value=s),r==null&&e.removeAttribute(t),e._value=r;return}let a=!1;if(r===""||r==null){const o=typeof e[t];o==="boolean"?r=$d(r):r==null&&o==="string"?(r="",a=!0):o==="number"&&(r=0,a=!0)}try{e[t]=r}catch{}a&&e.removeAttribute(u||t)}function tu(e,t,r,n){e.addEventListener(t,r,n)}function lp(e,t,r,n){e.removeEventListener(t,r,n)}const w1=Symbol("_vei");function cp(e,t,r,n,u=null){const i=e[w1]||(e[w1]={}),a=i[t];if(n&&a)a.value=n;else{const[o,s]=fp(t);if(n){const l=i[t]=mp(n,u);tu(e,o,l,s)}else a&&(lp(e,o,a,s),i[t]=void 0)}}const k1=/(?:Once|Passive|Capture)$/;function fp(e){let t;if(k1.test(e)){t={};let n;for(;n=e.match(k1);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):I0(e.slice(2)),t]}let Io=0;const dp=Promise.resolve(),hp=()=>Io||(dp.then(()=>Io=0),Io=Date.now());function mp(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Nr(pp(n,r.value),t,5,[n])};return r.value=e,r.attached=hp(),r}function pp(e,t){if(Re(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>u=>!u._stopped&&n&&n(u))}else return t}const S1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vp=(e,t,r,n,u,i)=>{const a=u==="svg";t==="class"?np(e,n,a):t==="style"?op(e,r,n):Va(t)?Al(t)||cp(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gp(e,t,n,a))?(x1(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&y1(e,t,n,a,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!kt(n))?x1(e,Jn(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),y1(e,t,n,a))};function gp(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&S1(t)&&He(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const u=e.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return S1(t)&&kt(r)?!1:t in e}const t2=new WeakMap,r2=new WeakMap,ka=Symbol("_moveCb"),A1=Symbol("_enterCb"),bp=e=>(delete e.props.mode,e),yp=bp({name:"TransitionGroup",props:zt({},Xh,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=gt(),n=kh();let u,i;return Nl(()=>{if(!u.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Ap(u[0].el,r.vnode.el,a)){u=[];return}u.forEach(wp),u.forEach(kp);const o=u.filter(Sp);Vs(),o.forEach(s=>{const l=s.el,c=l.style;Kr(l,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=l[ka]=m=>{m&&m.target!==l||(!m||/transform$/.test(m.propertyName))&&(l.removeEventListener("transitionend",f),l[ka]=null,Nn(l,a))};l.addEventListener("transitionend",f)}),u=[]}),()=>{const a=Qe(e),o=Jh(a);let s=a.tag||Vt;if(u=[],i)for(let l=0;l<i.length;l++){const c=i[l];c.el&&c.el instanceof Element&&(u.push(c),q0(c,ei(c,o,n,r)),t2.set(c,c.el.getBoundingClientRect()))}i=t.default?Ll(t.default()):[];for(let l=0;l<i.length;l++){const c=i[l];c.key!=null&&q0(c,ei(c,o,n,r))}return et(s,null,i)}}}),xp=yp;function wp(e){const t=e.el;t[ka]&&t[ka](),t[A1]&&t[A1]()}function kp(e){r2.set(e,e.el.getBoundingClientRect())}function Sp(e){const t=t2.get(e),r=r2.get(e),n=t.left-r.left,u=t.top-r.top;if(n||u){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${u}px)`,i.transitionDuration="0s",e}}function Ap(e,t,r){const n=e.cloneNode(),u=e[lu];u&&u.forEach(o=>{o.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=e2(n);return i.removeChild(n),a}const C1=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Re(t)?r=>ea(t,r):t};function Cp(e){e.target.composing=!0}function _1(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const No=Symbol("_assign"),_p={created(e,{modifiers:{lazy:t,trim:r,number:n}},u){e[No]=C1(u);const i=n||u.props&&u.props.type==="number";tu(e,t?"change":"input",a=>{if(a.target.composing)return;let o=e.value;r&&(o=o.trim()),i&&(o=Fs(o)),e[No](o)}),r&&tu(e,"change",()=>{e.value=e.value.trim()}),t||(tu(e,"compositionstart",Cp),tu(e,"compositionend",_1),tu(e,"change",_1))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:u,number:i}},a){if(e[No]=C1(a),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?Fs(e.value):e.value,s=t??"";o!==s&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||u&&e.value.trim()===s)||(e.value=s))}},Dp=zt({patchProp:vp},J6);let D1;function Ep(){return D1||(D1=S6(Dp))}const n2=(...e)=>{const t=Ep().createApp(...e),{mount:r}=t;return t.mount=n=>{const u=Tp(n);if(!u)return;const i=t._component;!He(i)&&!i.render&&!i.template&&(i.template=u.innerHTML),u.nodeType===1&&(u.textContent="");const a=r(u,!1,Mp(u));return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),a},t};function Mp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Tp(e){return kt(e)?document.querySelector(e):e}function bu(e,t,r,n){return Object.defineProperty(e,t,{get:r,set:n,enumerable:!0}),e}const r0=xe(!1);let Us;function Fp(e,t){const r=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:r[5]||r[3]||r[1]||"",version:r[4]||r[2]||"0",platform:t[0]||""}}function zp(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u2="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Bp(e){const t=e.toLowerCase(),r=zp(t),n=Fp(t,r),u={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};n.browser&&(u[n.browser]=!0,u.version=n.version,u.versionNumber=parseInt(n.version,10)),n.platform&&(u[n.platform]=!0);const i=u.android||u.ios||u.bb||u.blackberry||u.ipad||u.iphone||u.ipod||u.kindle||u.playbook||u.silk||u["windows phone"];if(i===!0||t.indexOf("mobile")!==-1?u.mobile=!0:u.desktop=!0,u["windows phone"]&&(u.winphone=!0,delete u["windows phone"]),u.edga||u.edgios||u.edg?(u.edge=!0,n.browser="edge"):u.crios?(u.chrome=!0,n.browser="chrome"):u.fxios&&(u.firefox=!0,n.browser="firefox"),(u.ipod||u.ipad||u.iphone)&&(u.ios=!0),u.vivaldi&&(n.browser="vivaldi",u.vivaldi=!0),(u.chrome||u.opr||u.safari||u.vivaldi||u.mobile===!0&&u.ios!==!0&&i!==!0)&&(u.webkit=!0),u.opr&&(n.browser="opera",u.opera=!0),u.safari&&(u.blackberry||u.bb?(n.browser="blackberry",u.blackberry=!0):u.playbook?(n.browser="playbook",u.playbook=!0):u.android?(n.browser="android",u.android=!0):u.kindle?(n.browser="kindle",u.kindle=!0):u.silk&&(n.browser="silk",u.silk=!0)),u.name=n.browser,u.platform=n.platform,t.indexOf("electron")!==-1)u.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)u.bex=!0;else{if(window.Capacitor!==void 0?(u.capacitor=!0,u.nativeMobile=!0,u.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(u.cordova=!0,u.nativeMobile=!0,u.nativeMobileWrapper="cordova"),r0.value===!0&&(Us={is:{...u}}),u2===!0&&u.mac===!0&&(u.desktop===!0&&u.safari===!0||u.nativeMobile===!0&&u.android!==!0&&u.ios!==!0&&u.ipad!==!0)){delete u.mac,delete u.desktop;const a=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(u,{mobile:!0,ios:!0,platform:a,[a]:!0})}u.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete u.desktop,u.mobile=!0)}return u}const E1=navigator.userAgent||navigator.vendor||window.opera,Op={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Tt={userAgent:E1,is:Bp(E1),has:{touch:u2},within:{iframe:window.self!==window.top}},Sa={install(e){const{$q:t}=e;r0.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Tt),r0.value=!1}),t.platform=vu(this)):t.platform=this}};{let e;bu(Tt.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Sa,Tt),r0.value===!0&&(Object.assign(Sa,Us,Op),Us=null)}function Kt(e){return gu(Hr(e))}function Rp(e){return gu(e)}const vi=(e,t)=>{const r=vu(e);for(const n in e)bu(t,n,()=>r[n],u=>{r[n]=u});return t},er={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(er,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function cu(){}function i2(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function qp(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let r=e.target;for(;r;){if(t.push(r),r.tagName==="HTML")return t.push(document),t.push(window),t;r=r.parentElement}}function Jr(e){e.stopPropagation()}function Lr(e){e.cancelable!==!1&&e.preventDefault()}function Ut(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function js(e,t,r){const n=`__q_${t}_evt`;e[n]=e[n]!==void 0?e[n].concat(r):r,r.forEach(u=>{u[0].addEventListener(u[1],e[u[2]],er[u[3]])})}function a2(e,t){const r=`__q_${t}_evt`;e[r]!==void 0&&(e[r].forEach(n=>{n[0].removeEventListener(n[1],e[n[2]],er[n[3]])}),e[r]=void 0)}function Yl(e,t=250,r){let n=null;function u(){const i=arguments,a=()=>{n=null,e.apply(this,i)};n!==null&&clearTimeout(n),n=setTimeout(a,t)}return u.cancel=()=>{n!==null&&clearTimeout(n)},u}const Ho=["sm","md","lg","xl"],{passive:M1}=er,Lp=vi({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:cu,setDebounce:cu,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:r}=window,n=r||window,u=document.scrollingElement||document.documentElement,i=r===void 0||Tt.is.mobile===!0?()=>[Math.max(window.innerWidth,u.clientWidth),Math.max(window.innerHeight,u.clientHeight)]:()=>[r.width*r.scale+window.innerWidth-u.clientWidth,r.height*r.scale+window.innerHeight-u.clientHeight],a=e.config.screen?.bodyClasses===!0;this.__update=f=>{const[m,p]=i();if(p!==this.height&&(this.height=p),m!==this.width)this.width=m;else if(f!==!0)return;let v=this.sizes;this.gt.xs=m>=v.sm,this.gt.sm=m>=v.md,this.gt.md=m>=v.lg,this.gt.lg=m>=v.xl,this.lt.sm=m<v.sm,this.lt.md=m<v.md,this.lt.lg=m<v.lg,this.lt.xl=m<v.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,v=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",v!==this.name&&(a===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${v}`)),this.name=v)};let o,s={},l=16;this.setSizes=f=>{Ho.forEach(m=>{f[m]!==void 0&&(s[m]=f[m])})},this.setDebounce=f=>{l=f};const c=()=>{const f=getComputedStyle(document.body);f.getPropertyValue("--q-size-sm")&&Ho.forEach(m=>{this.sizes[m]=parseInt(f.getPropertyValue(`--q-size-${m}`),10)}),this.setSizes=m=>{Ho.forEach(p=>{m[p]&&(this.sizes[p]=m[p])}),this.__update(!0)},this.setDebounce=m=>{o!==void 0&&n.removeEventListener("resize",o,M1),o=m>0?Yl(this.__update,m):this.__update,n.addEventListener("resize",o,M1)},this.setDebounce(l),Object.keys(s).length!==0?(this.setSizes(s),s=void 0):this.__update(),a===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};r0.value===!0?t.push(c):c()}}),jt=vi({isActive:!1,mode:!1},{__media:void 0,set(e){jt.mode=e,e==="auto"?(jt.__media===void 0&&(jt.__media=window.matchMedia("(prefers-color-scheme: dark)"),jt.__updateMedia=()=>{jt.set("auto")},jt.__media.addListener(jt.__updateMedia)),e=jt.__media.matches):jt.__media!==void 0&&(jt.__media.removeListener(jt.__updateMedia),jt.__media=void 0),jt.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){jt.set(jt.isActive===!1)},install({$q:e,ssrContext:t}){const r=e.config.dark;e.dark=this,this.__installed!==!0&&this.set(r!==void 0?r:!1)}});function Pp(e,t,r=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(r instanceof Element))throw new TypeError("Expected a DOM element");r.style.setProperty(`--q-${e}`,t)}let o2=!1;function Ip(e){o2=e.isComposing===!0}function Gl(e){return o2===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function L0(e,t){return Gl(e)===!0?!1:[].concat(t).includes(e.keyCode)}function s2(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Np({is:e,has:t,within:r},n){const u=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const i=s2(e);i!==void 0&&u.push("platform-"+i)}if(e.nativeMobile===!0){const i=e.nativeMobileWrapper;u.push(i),u.push("native-mobile"),e.ios===!0&&(n[i]===void 0||n[i].iosStatusBarPadding!==!1)&&u.push("q-ios-padding")}else e.electron===!0?u.push("electron"):e.bex===!0&&u.push("bex");return r.iframe===!0&&u.push("within-iframe"),u}function Hp(){const{is:e}=Tt,t=document.body.className,r=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)r.delete("mobile"),r.delete("platform-ios"),r.delete("platform-android"),r.add("desktop");else if(e.mobile===!0){r.delete("desktop"),r.add("mobile"),r.delete("platform-ios"),r.delete("platform-android");const u=s2(e);u!==void 0&&r.add(`platform-${u}`)}}Tt.has.touch===!0&&(r.delete("no-touch"),r.add("touch")),Tt.within.iframe===!0&&r.add("within-iframe");const n=Array.from(r).join(" ");t!==n&&(document.body.className=n)}function Vp(e){for(const t in e)Pp(t,e[t])}const Up={install(e){if(this.__installed!==!0){if(r0.value===!0)Hp();else{const{$q:t}=e;t.config.brand!==void 0&&Vp(t.config.brand);const r=Np(Tt,t.config);document.body.classList.add.apply(document.body.classList,r)}Tt.is.ios===!0&&document.body.addEventListener("touchstart",cu),window.addEventListener("keydown",Ip,!0)}}},l2=()=>!0;function jp(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function $p(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function Yp(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return l2;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(jp).map($p)),()=>t.includes(window.location.hash)}const $s={__history:[],add:cu,remove:cu,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:r}=Tt.is;if(t!==!0&&r!==!0)return;const n=e.config[t===!0?"cordova":"capacitor"];if(n?.backButton===!1||r===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=a=>{a.condition===void 0&&(a.condition=l2),this.__history.push(a)},this.remove=a=>{const o=this.__history.indexOf(a);o>=0&&this.__history.splice(o,1)};const u=Yp(Object.assign({backButtonExit:!0},n)),i=()=>{if(this.__history.length){const a=this.__history[this.__history.length-1];a.condition()===!0&&(this.__history.pop(),a.handler())}else u()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",i,!1)}):window.Capacitor.Plugins.App.addListener("backButton",i)}},Ys={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,r)=>e+"-"+t+" of "+r,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function T1(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,r)=>r===0?t.toLowerCase():r>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const en=vi({__qLang:{}},{getLocale:T1,set(e=Ys,t){const r={...e,rtl:e.rtl===!0,getLocale:T1};{if(r.set=en.set,en.__langConfig===void 0||en.__langConfig.noHtmlAttrs!==!0){const n=document.documentElement;n.setAttribute("dir",r.rtl===!0?"rtl":"ltr"),n.setAttribute("lang",r.isoName)}Object.assign(en.__qLang,r)}},install({$q:e,lang:t,ssrContext:r}){e.lang=en.__qLang,en.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(n){return Reflect.ownKeys(n).filter(u=>u!=="set"&&u!=="getLocale")}}),this.set(t||Ys))}}),Gp={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},Aa=vi({iconMapFn:null,__qIconSet:{}},{set(e,t){const r={...e};r.set=Aa.set,Object.assign(Aa.__qIconSet,r)},install({$q:e,iconSet:t,ssrContext:r}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,bu(e,"iconMapFn",()=>this.iconMapFn,n=>{this.iconMapFn=n}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(n){return Reflect.ownKeys(n).filter(u=>u!=="set")}}),this.set(t||Gp))}}),c2="_q_",Wp="_q_fo_",Ca={};let f2=!1;function Kp(){f2=!0}function Yn(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(e.constructor===Array){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(Yn(e[n],t[n])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let i=e.entries();for(n=i.next();n.done!==!0;){if(t.has(n.value[0])!==!0)return!1;n=i.next()}for(i=e.entries(),n=i.next();n.done!==!0;){if(Yn(n.value[1],t.get(n.value[0]))!==!0)return!1;n=i.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const i=e.entries();for(n=i.next();n.done!==!0;){if(t.has(n.value[0])!==!0)return!1;n=i.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const u=Object.keys(e).filter(i=>e[i]!==void 0);if(r=u.length,r!==Object.keys(t).filter(i=>t[i]!==void 0).length)return!1;for(n=r;n--!==0;){const i=u[n];if(Yn(e[i],t[i])!==!0)return!1}return!0}return e!==e&&t!==t}function n0(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function d2(e){return Object.prototype.toString.call(e)==="[object Date]"}const F1=[Sa,Up,jt,Lp,$s,en,Aa];function h2(e,t){const r=n2(e);r.config.globalProperties=t.config.globalProperties;const{reload:n,...u}=t._context;return Object.assign(r._context,u),r}function z1(e,t){t.forEach(r=>{r.install(e),r.__installed=!0})}function Zp(e,t,r){e.config.globalProperties.$q=r.$q,e.provide(c2,r.$q),z1(r,F1),t.components!==void 0&&Object.values(t.components).forEach(n=>{n0(n)===!0&&n.name!==void 0&&e.component(n.name,n)}),t.directives!==void 0&&Object.values(t.directives).forEach(n=>{n0(n)===!0&&n.name!==void 0&&e.directive(n.name,n)}),t.plugins!==void 0&&z1(r,Object.values(t.plugins).filter(n=>typeof n.install=="function"&&F1.includes(n)===!1)),r0.value===!0&&(r.$q.onSSRHydrated=()=>{r.onSSRHydrated.forEach(n=>{n()}),r.$q.onSSRHydrated=()=>{}})}const Qp=function(e,t={}){const r={version:"2.18.2"};f2===!1?(t.config!==void 0&&Object.assign(Ca,t.config),r.config={...Ca},Kp()):r.config=t.config||{},Zp(e,t,{parentApp:e,$q:r,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},Xp={name:"Quasar",version:"2.18.2",install:Qp,lang:en,iconSet:Aa},Gs={xs:18,sm:24,md:32,lg:38,xl:46},Ja={size:String};function eo(e,t=Gs){return W(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function nn(e,t){return e!==void 0&&e()||t}function Jp(e,t){if(e!==void 0){const r=e();if(r!=null)return r.slice()}return t}function ru(e,t){return e!==void 0?t.concat(e()):t}function m2(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function e5(e,t,r,n,u,i){t.key=n+u;const a=G(e,t,r);return u===!0?ql(a,i()):a}const B1="0 0 24 24",Vo=e=>e,Uo=e=>`ionicons ${e}`,p2={"mdi-":e=>`mdi ${e}`,"icon-":Vo,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Uo,"ion-ios":Uo,"ion-logo":Uo,"iconfont ":Vo,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Vo},v2={o_:"-outlined",r_:"-round",s_:"-sharp"},g2={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},t5=new RegExp("^("+Object.keys(p2).join("|")+")"),r5=new RegExp("^("+Object.keys(v2).join("|")+")"),O1=new RegExp("^("+Object.keys(g2).join("|")+")"),n5=/^[Mm]\s?[-+]?\.?\d/,u5=/^img:/,i5=/^svguse:/,a5=/^ion-/,o5=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Er=Kt({name:"QIcon",props:{...Ja,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:r}}=gt(),n=eo(e),u=W(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),i=W(()=>{let a,o=e.name;if(o==="none"||!o)return{none:!0};if(r.iconMapFn!==null){const c=r.iconMapFn(o);if(c!==void 0)if(c.icon!==void 0){if(o=c.icon,o==="none"||!o)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(n5.test(o)===!0){const[c,f=B1]=o.split("|");return{svg:!0,viewBox:f,nodes:c.split("&&").map(m=>{const[p,v,x]=m.split("@@");return G("path",{style:v,d:p,transform:x})})}}if(u5.test(o)===!0)return{img:!0,src:o.substring(4)};if(i5.test(o)===!0){const[c,f=B1]=o.split("|");return{svguse:!0,src:c.substring(7),viewBox:f}}let s=" ";const l=o.match(t5);if(l!==null)a=p2[l[1]](o);else if(o5.test(o)===!0)a=o;else if(a5.test(o)===!0)a=`ionicons ion-${r.platform.is.ios===!0?"ios":"md"}${o.substring(3)}`;else if(O1.test(o)===!0){a="notranslate material-symbols";const c=o.match(O1);c!==null&&(o=o.substring(6),a+=g2[c[1]]),s=o}else{a="notranslate material-icons";const c=o.match(r5);c!==null&&(o=o.substring(2),a+=v2[c[1]]),s=o}return{cls:a,content:s}});return()=>{const a={class:u.value,style:n.value,"aria-hidden":"true"};return i.value.none===!0?G(e.tag,a,nn(t.default)):i.value.img===!0?G(e.tag,a,ru(t.default,[G("img",{src:i.value.src})])):i.value.svg===!0?G(e.tag,a,ru(t.default,[G("svg",{viewBox:i.value.viewBox||"0 0 24 24"},i.value.nodes)])):i.value.svguse===!0?G(e.tag,a,ru(t.default,[G("svg",{viewBox:i.value.viewBox},[G("use",{"xlink:href":i.value.src})])])):(i.value.cls!==void 0&&(a.class+=" "+i.value.cls),G(e.tag,a,ru(t.default,[i.value.content])))}}}),b2=Kt({name:"QAvatar",props:{...Ja,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const r=eo(e),n=W(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),u=W(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const i=e.icon!==void 0?[G(Er,{name:e.icon})]:void 0;return G("div",{class:n.value,style:r.value},[G("div",{class:"q-avatar__content row flex-center overflow-hidden",style:u.value},m2(t.default,i))])}}}),s5={size:{type:[String,Number],default:"1em"},color:String};function l5(e){return{cSize:W(()=>e.size in Gs?`${Gs[e.size]}px`:e.size),classes:W(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const to=Kt({name:"QSpinner",props:{...s5,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:r}=l5(e);return()=>G("svg",{class:r.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[G("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Ws(e,t){const r=e.style;for(const n in t)r[n]=t[n]}function c5(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=rt(e);if(t)return t.$el||t}function y2(e,t){if(e==null||e.contains(t)===!0)return!0;for(let r=e.nextElementSibling;r!==null;r=r.nextElementSibling)if(r.contains(t))return!0;return!1}function f5(e,t=250){let r=!1,n;return function(){return r===!1&&(r=!0,setTimeout(()=>{r=!1},t),n=e.apply(this,arguments)),n}}function R1(e,t,r,n){r.modifiers.stop===!0&&Jr(e);const u=r.modifiers.color;let i=r.modifiers.center;i=i===!0||n===!0;const a=document.createElement("span"),o=document.createElement("span"),s=i2(e),{left:l,top:c,width:f,height:m}=t.getBoundingClientRect(),p=Math.sqrt(f*f+m*m),v=p/2,x=`${(f-p)/2}px`,y=i?x:`${s.left-l-v}px`,T=`${(m-p)/2}px`,D=i?T:`${s.top-c-v}px`;o.className="q-ripple__inner",Ws(o,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${y},${D},0) scale3d(.2,.2,1)`,opacity:0}),a.className=`q-ripple${u?" text-"+u:""}`,a.setAttribute("dir","ltr"),a.appendChild(o),t.appendChild(a);const _=()=>{a.remove(),clearTimeout(w)};r.abort.push(_);let w=setTimeout(()=>{o.classList.add("q-ripple__inner--enter"),o.style.transform=`translate3d(${x},${T},0) scale3d(1,1,1)`,o.style.opacity=.2,w=setTimeout(()=>{o.classList.remove("q-ripple__inner--enter"),o.classList.add("q-ripple__inner--leave"),o.style.opacity=0,w=setTimeout(()=>{a.remove(),r.abort.splice(r.abort.indexOf(_),1)},275)},250)},50)}function q1(e,{modifiers:t,value:r,arg:n}){const u=Object.assign({},e.cfg.ripple,t,r);e.modifiers={early:u.early===!0,stop:u.stop===!0,center:u.center===!0,color:u.color||n,keyCodes:[].concat(u.keyCodes||13)}}const x2=Rp({name:"ripple",beforeMount(e,t){const r=t.instance.$.appContext.config.globalProperties.$q.config||{};if(r.ripple===!1)return;const n={cfg:r,enabled:t.value!==!1,modifiers:{},abort:[],start(u){n.enabled===!0&&u.qSkipRipple!==!0&&u.type===(n.modifiers.early===!0?"pointerdown":"click")&&R1(u,e,n,u.qKeyEvent===!0)},keystart:f5(u=>{n.enabled===!0&&u.qSkipRipple!==!0&&L0(u,n.modifiers.keyCodes)===!0&&u.type===`key${n.modifiers.early===!0?"down":"up"}`&&R1(u,e,n,!0)},300)};q1(n,t),e.__qripple=n,js(n,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const r=e.__qripple;r!==void 0&&(r.enabled=t.value!==!1,r.enabled===!0&&Object(t.value)===t.value&&q1(r,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(r=>{r()}),a2(t,"main"),delete e._qripple)}}),w2={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},d5=Object.keys(w2),h5={align:{type:String,validator:e=>d5.includes(e)}};function m5(e){return W(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${w2[t]}`})}function jo(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function k2(e){return e.appContext.config.globalProperties.$router!==void 0}function S2(e){return e.isUnmounted===!0||e.isDeactivated===!0}function L1(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function P1(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function p5(e,t){for(const r in t){const n=t[r],u=e[r];if(typeof n=="string"){if(n!==u)return!1}else if(Array.isArray(u)===!1||u.length!==n.length||n.some((i,a)=>i!==u[a]))return!1}return!0}function I1(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function v5(e,t){return Array.isArray(e)===!0?I1(e,t):Array.isArray(t)===!0?I1(t,e):e===t}function g5(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(v5(e[r],t[r])===!1)return!1;return!0}const A2={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},b5={...A2,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function C2({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const r=gt(),{props:n,proxy:u,emit:i}=r,a=k2(r),o=W(()=>n.disable!==!0&&n.href!==void 0),s=W(t===!0?()=>a===!0&&n.disable!==!0&&o.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!=="":()=>a===!0&&o.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!==""),l=W(()=>s.value===!0?D(n.to):null),c=W(()=>l.value!==null),f=W(()=>o.value===!0||c.value===!0),m=W(()=>n.type==="a"||f.value===!0?"a":n.tag||e||"div"),p=W(()=>o.value===!0?{href:n.href,target:n.target}:c.value===!0?{href:l.value.href,target:n.target}:{}),v=W(()=>{if(c.value===!1)return-1;const{matched:F}=l.value,{length:j}=F,z=F[j-1];if(z===void 0)return-1;const V=u.$route.matched;if(V.length===0)return-1;const S=V.findIndex(P1.bind(null,z));if(S!==-1)return S;const Y=L1(F[j-2]);return j>1&&L1(z)===Y&&V[V.length-1].path!==Y?V.findIndex(P1.bind(null,F[j-2])):S}),x=W(()=>c.value===!0&&v.value!==-1&&p5(u.$route.params,l.value.params)),y=W(()=>x.value===!0&&v.value===u.$route.matched.length-1&&g5(u.$route.params,l.value.params)),T=W(()=>c.value===!0?y.value===!0?` ${n.exactActiveClass} ${n.activeClass}`:n.exact===!0?"":x.value===!0?` ${n.activeClass}`:"":"");function D(F){try{return u.$router.resolve(F)}catch{}return null}function _(F,{returnRouterError:j,to:z=n.to,replace:V=n.replace}={}){if(n.disable===!0)return F.preventDefault(),Promise.resolve(!1);if(F.metaKey||F.altKey||F.ctrlKey||F.shiftKey||F.button!==void 0&&F.button!==0||n.target==="_blank")return Promise.resolve(!1);F.preventDefault();const S=u.$router[V===!0?"replace":"push"](z);return j===!0?S:S.then(()=>{}).catch(()=>{})}function w(F){if(c.value===!0){const j=z=>_(F,z);i("click",F,j),F.defaultPrevented!==!0&&j()}else i("click",F)}return{hasRouterLink:c,hasHrefLink:o,hasLink:f,linkTag:m,resolvedLink:l,linkIsActive:x,linkIsExactActive:y,linkClass:T,linkAttrs:p,getLink:D,navigateToRouterLink:_,navigateOnClick:w}}const N1={none:0,xs:4,sm:8,md:16,lg:24,xl:32},y5={xs:8,sm:10,md:14,lg:20,xl:24},x5=["button","submit","reset"],w5=/[^\s]\/[^\s]/,k5=["flat","outline","push","unelevated"];function S5(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const A5={...Ja,...A2,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...k5.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...h5.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},C5={...A5,round:Boolean};function _5(e){const t=eo(e,y5),r=m5(e),{hasRouterLink:n,hasLink:u,linkTag:i,linkAttrs:a,navigateOnClick:o}=C2({fallbackTag:"button"}),s=W(()=>{const y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(T=>T in N1?N1[T]+"px":T).join(" "),minWidth:"0",minHeight:"0"}):y}),l=W(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=W(()=>e.disable!==!0&&e.loading!==!0),f=W(()=>c.value===!0?e.tabindex||0:-1),m=W(()=>S5(e,"standard")),p=W(()=>{const y={tabindex:f.value};return u.value===!0?Object.assign(y,a.value):x5.includes(e.type)===!0&&(y.type=e.type),i.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),n.value!==!0&&w5.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),v=W(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);const T=e.round===!0?"round":`rectangle${l.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${m.value} q-btn--${T}`+(y!==void 0?" "+y:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=W(()=>r.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:v,style:s,innerClasses:x,attributes:p,hasLink:u,linkTag:i,navigateOnClick:o,isActionable:c}}const{passiveCapture:kr}=er;let j0=null,$0=null,Y0=null;const Br=Kt({name:"QBtn",props:{...C5,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:r}){const{proxy:n}=gt(),{classes:u,style:i,innerClasses:a,attributes:o,hasLink:s,linkTag:l,navigateOnClick:c,isActionable:f}=_5(e),m=xe(null),p=xe(null);let v=null,x,y=null;const T=W(()=>e.label!==void 0&&e.label!==null&&e.label!==""),D=W(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:s.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),_=W(()=>({center:e.round})),w=W(()=>{const B=Math.max(0,Math.min(100,e.percentage));return B>0?{transition:"transform 0.6s",transform:`translateX(${B-100}%)`}:{}}),F=W(()=>{if(e.loading===!0)return{onMousedown:U,onTouchstart:U,onClick:U,onKeydown:U,onKeyup:U};if(f.value===!0){const B={onClick:z,onKeydown:V,onMousedown:Y};if(n.$q.platform.has.touch===!0){const ne=e.onTouchstart!==void 0?"":"Passive";B[`onTouchstart${ne}`]=S}return B}return{onClick:Ut}}),j=W(()=>({ref:m,class:"q-btn q-btn-item non-selectable no-outline "+u.value,style:i.value,...o.value,...F.value}));function z(B){if(m.value!==null){if(B!==void 0){if(B.defaultPrevented===!0)return;const ne=document.activeElement;if(e.type==="submit"&&ne!==document.body&&m.value.contains(ne)===!1&&ne.contains(m.value)===!1){B.qAvoidFocus!==!0&&m.value.focus();const L=()=>{document.removeEventListener("keydown",Ut,!0),document.removeEventListener("keyup",L,kr),m.value?.removeEventListener("blur",L,kr)};document.addEventListener("keydown",Ut,!0),document.addEventListener("keyup",L,kr),m.value.addEventListener("blur",L,kr)}}c(B)}}function V(B){m.value!==null&&(r("keydown",B),L0(B,[13,32])===!0&&$0!==m.value&&($0!==null&&M(),B.defaultPrevented!==!0&&(B.qAvoidFocus!==!0&&m.value.focus(),$0=m.value,m.value.classList.add("q-btn--active"),document.addEventListener("keyup",Z,!0),m.value.addEventListener("blur",Z,kr)),Ut(B)))}function S(B){m.value!==null&&(r("touchstart",B),B.defaultPrevented!==!0&&(j0!==m.value&&(j0!==null&&M(),j0=m.value,v=B.target,v.addEventListener("touchcancel",Z,kr),v.addEventListener("touchend",Z,kr)),x=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,x=!1},200)))}function Y(B){m.value!==null&&(B.qSkipRipple=x===!0,r("mousedown",B),B.defaultPrevented!==!0&&Y0!==m.value&&(Y0!==null&&M(),Y0=m.value,m.value.classList.add("q-btn--active"),document.addEventListener("mouseup",Z,kr)))}function Z(B){if(m.value!==null&&!(B?.type==="blur"&&document.activeElement===m.value)){if(B?.type==="keyup"){if($0===m.value&&L0(B,[13,32])===!0){const ne=new MouseEvent("click",B);ne.qKeyEvent=!0,B.defaultPrevented===!0&&Lr(ne),B.cancelBubble===!0&&Jr(ne),m.value.dispatchEvent(ne),Ut(B),B.qKeyEvent=!0}r("keyup",B)}M()}}function M(B){const ne=p.value;B!==!0&&(j0===m.value||Y0===m.value)&&ne!==null&&ne!==document.activeElement&&(ne.setAttribute("tabindex",-1),ne.focus()),j0===m.value&&(v!==null&&(v.removeEventListener("touchcancel",Z,kr),v.removeEventListener("touchend",Z,kr)),j0=v=null),Y0===m.value&&(document.removeEventListener("mouseup",Z,kr),Y0=null),$0===m.value&&(document.removeEventListener("keyup",Z,!0),m.value?.removeEventListener("blur",Z,kr),$0=null),m.value?.classList.remove("q-btn--active")}function U(B){Ut(B),B.qSkipRipple=!0}return Wt(()=>{M(!0)}),Object.assign(n,{click:B=>{f.value===!0&&z(B)}}),()=>{let B=[];e.icon!==void 0&&B.push(G(Er,{name:e.icon,left:e.stack!==!0&&T.value===!0,role:"img"})),T.value===!0&&B.push(G("span",{class:"block"},[e.label])),B=ru(t.default,B),e.iconRight!==void 0&&e.round===!1&&B.push(G(Er,{name:e.iconRight,right:e.stack!==!0&&T.value===!0,role:"img"}));const ne=[G("span",{class:"q-focus-helper",ref:p})];return e.loading===!0&&e.percentage!==void 0&&ne.push(G("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[G("span",{class:"q-btn__progress-indicator fit block",style:w.value})])),ne.push(G("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+a.value},B)),e.loading!==null&&ne.push(G(Ar,{name:"q-transition--fade"},()=>e.loading===!0?[G("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[G(to)])]:null)),ql(G(l.value,j.value,ne),[[x2,D.value,void 0,_.value]])}}});let D5=1,E5=document.body;function Wl(e,t){const r=document.createElement("div");if(r.id=t!==void 0?`q-portal--${t}--${D5++}`:e,Ca.globalNodes!==void 0){const n=Ca.globalNodes.class;n!==void 0&&(r.className=n)}return E5.appendChild(r),r}function _2(e){e.remove()}let M5=0;const ua={},ia={},Or={},D2={},T5=/^\s*$/,E2=[],F5=[void 0,null,!0,!1,""],Kl=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],z5=["top-left","top-right","bottom-left","bottom-right"],Ru={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function M2(e,t,r){if(!e)return Eu("parameter required");let n;const u={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(u,ua),n0(e)===!1&&(u.type&&Object.assign(u,Ru[u.type]),e={message:e}),Object.assign(u,Ru[e.type||u.type],e),typeof u.icon=="function"&&(u.icon=u.icon(t)),u.spinner?(u.spinner===!0&&(u.spinner=to),u.spinner=gu(u.spinner)):u.spinner=!1,u.meta={hasMedia:!!(u.spinner!==!1||u.icon||u.avatar),hasText:H1(u.message)||H1(u.caption)},u.position){if(Kl.includes(u.position)===!1)return Eu("wrong position",e)}else u.position="bottom";if(F5.includes(u.timeout)===!0)u.timeout=5e3;else{const s=Number(u.timeout);if(isNaN(s)||s<0)return Eu("wrong timeout",e);u.timeout=Number.isFinite(s)?s:0}u.timeout===0?u.progress=!1:u.progress===!0&&(u.meta.progressClass="q-notification__progress"+(u.progressClass?` ${u.progressClass}`:""),u.meta.progressStyle={animationDuration:`${u.timeout+1e3}ms`});const i=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(ua.actions)===!0?ua.actions:[]).concat(Array.isArray(Ru[e.type]?.actions)===!0?Ru[e.type].actions:[]),{closeBtn:a}=u;if(a&&i.push({label:typeof a=="string"?a:t.lang.label.close}),u.actions=i.map(({handler:s,noDismiss:l,...c})=>({flat:!0,...c,onClick:typeof s=="function"?()=>{s(),l!==!0&&o()}:()=>{o()}})),u.multiLine===void 0&&(u.multiLine=u.actions.length>1),Object.assign(u.meta,{class:`q-notification row items-stretch q-notification--${u.multiLine===!0?"multi-line":"standard"}`+(u.color!==void 0?` bg-${u.color}`:"")+(u.textColor!==void 0?` text-${u.textColor}`:"")+(u.classes!==void 0?` ${u.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(u.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(u.multiLine===!0?"":" col"),leftClass:u.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...u.attrs}}),u.group===!1?(u.group=void 0,u.meta.group=void 0):((u.group===void 0||u.group===!0)&&(u.group=[u.message,u.caption,u.multiline].concat(u.actions.map(s=>`${s.label}*${s.icon}`)).join("|")),u.meta.group=u.group+"|"+u.position),u.actions.length===0?u.actions=void 0:u.meta.actionsClass="q-notification__actions row items-center "+(u.multiLine===!0?"justify-end":"col-auto")+(u.meta.hasMedia===!0?" q-notification__actions--with-media":""),r!==void 0){r.notif.meta.timer&&(clearTimeout(r.notif.meta.timer),r.notif.meta.timer=void 0),u.meta.uid=r.notif.meta.uid;const s=Or[u.position].value.indexOf(r.notif);Or[u.position].value[s]=u}else{const s=ia[u.meta.group];if(s===void 0){if(u.meta.uid=M5++,u.meta.badge=1,["left","right","center"].indexOf(u.position)!==-1)Or[u.position].value.splice(Math.floor(Or[u.position].value.length/2),0,u);else{const l=u.position.indexOf("top")!==-1?"unshift":"push";Or[u.position].value[l](u)}u.group!==void 0&&(ia[u.meta.group]=u)}else{if(s.meta.timer&&(clearTimeout(s.meta.timer),s.meta.timer=void 0),u.badgePosition!==void 0){if(z5.includes(u.badgePosition)===!1)return Eu("wrong badgePosition",e)}else u.badgePosition=`top-${u.position.indexOf("left")!==-1?"right":"left"}`;u.meta.uid=s.meta.uid,u.meta.badge=s.meta.badge+1,u.meta.badgeClass=`q-notification__badge q-notification__badge--${u.badgePosition}`+(u.badgeColor!==void 0?` bg-${u.badgeColor}`:"")+(u.badgeTextColor!==void 0?` text-${u.badgeTextColor}`:"")+(u.badgeClass?` ${u.badgeClass}`:"");const l=Or[u.position].value.indexOf(s);Or[u.position].value[l]=ia[u.meta.group]=u}}const o=()=>{B5(u),n=void 0};if(u.timeout>0&&(u.meta.timer=setTimeout(()=>{u.meta.timer=void 0,o()},u.timeout+1e3)),u.group!==void 0)return s=>{s!==void 0?Eu("trying to update a grouped one which is forbidden",e):o()};if(n={dismiss:o,config:e,notif:u},r!==void 0){Object.assign(r,n);return}return s=>{if(n!==void 0)if(s===void 0)n.dismiss();else{const l=Object.assign({},n.config,s,{group:!1,position:u.position});M2(l,t,n)}}}function B5(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Or[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete ia[e.meta.group];const r=E2[""+e.meta.uid];if(r){const{width:n,height:u}=getComputedStyle(r);r.style.left=`${r.offsetLeft}px`,r.style.width=n,r.style.height=u}Or[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function H1(e){return e!=null&&T5.test(e)!==!0}function Eu(e,t){return console.error(`Notify: ${e}`,t),!1}function O5(){return Kt({name:"QNotifications",devtools:{hide:!0},setup(){return()=>G("div",{class:"q-notifications"},Kl.map(e=>G(xp,{key:e,class:D2[e],tag:"div",name:`q-notification--${e}`},()=>Or[e].value.map(t=>{const r=t.meta,n=[];if(r.hasMedia===!0&&(t.spinner!==!1?n.push(G(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+r.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?n.push(G(Er,{class:"q-notification__icon q-notification__icon--"+r.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&n.push(G(b2,{class:"q-notification__avatar q-notification__avatar--"+r.leftClass},()=>G("img",{src:t.avatar,"aria-hidden":"true"})))),r.hasText===!0){let i;const a={class:"q-notification__message col"};if(t.html===!0)a.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const o=[t.message];i=t.caption?[G("div",o),G("div",{class:"q-notification__caption"},[t.caption])]:o}n.push(G("div",a,i))}const u=[G("div",{class:r.contentClass},n)];return t.progress===!0&&u.push(G("div",{key:`${r.uid}|p|${r.badge}`,class:r.progressClass,style:r.progressStyle})),t.actions!==void 0&&u.push(G("div",{class:r.actionsClass},t.actions.map(i=>G(Br,i)))),r.badge>1&&u.push(G("div",{key:`${r.uid}|${r.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[r.badge])),G("div",{ref:i=>{E2[""+r.uid]=i},key:r.uid,class:r.class,...r.attrs},[G("div",{class:r.wrapperClass},u)])}))))}})}const R5={setDefaults(e){n0(e)===!0&&Object.assign(ua,e)},registerType(e,t){n0(t)===!0&&(Ru[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=r=>M2(r,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){Kl.forEach(n=>{Or[n]=xe([]);const u=["left","center","right"].includes(n)===!0?"center":n.indexOf("top")!==-1?"top":"bottom",i=n.indexOf("left")!==-1?"start":n.indexOf("right")!==-1?"end":"center",a=["left","right"].includes(n)?`items-${n==="left"?"start":"end"} justify-center`:n==="center"?"flex-center":`items-${i}`;D2[n]=`q-notifications__list q-notifications__list--${u} fixed column no-wrap ${a}`});const r=Wl("q-notify");h2(O5(),t).mount(r)}}},q5=[Element,String],L5=[null,document,document.body,document.scrollingElement,document.documentElement];function P5(e,t){let r=c5(t);if(r===void 0){if(e==null)return window;r=e.closest(".scroll,.scroll-y,.overflow-auto")}return L5.includes(r)?window:r}function I5(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function N5(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let qi;function H5(){if(qi!==void 0)return qi;const e=document.createElement("p"),t=document.createElement("div");Ws(e,{width:"100%",height:"200px"}),Ws(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const r=e.offsetWidth;t.style.overflow="scroll";let n=e.offsetWidth;return r===n&&(n=t.clientWidth),t.remove(),qi=r-n,qi}function V5(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}let Mu=0,$o,Yo,qu,Go=!1,V1,U1,j1,v0=null;function U5(e){j5(e)&&Ut(e)}function j5(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=qp(e),r=e.shiftKey&&!e.deltaX,n=!r&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),u=r||n?e.deltaY:e.deltaX;for(let i=0;i<t.length;i++){const a=t[i];if(V5(a,n))return n?u<0&&a.scrollTop===0?!0:u>0&&a.scrollTop+a.clientHeight===a.scrollHeight:u<0&&a.scrollLeft===0?!0:u>0&&a.scrollLeft+a.clientWidth===a.scrollWidth}return!0}function $1(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Li(e){Go!==!0&&(Go=!0,requestAnimationFrame(()=>{Go=!1;const{height:t}=e.target,{clientHeight:r,scrollTop:n}=document.scrollingElement;(qu===void 0||t!==window.innerHeight)&&(qu=r-t,document.scrollingElement.scrollTop=n),n>qu&&(document.scrollingElement.scrollTop-=Math.ceil((n-qu)/8))}))}function Y1(e){const t=document.body,r=window.visualViewport!==void 0;if(e==="add"){const{overflowY:n,overflowX:u}=window.getComputedStyle(t);$o=N5(window),Yo=I5(window),V1=t.style.left,U1=t.style.top,j1=window.location.href,t.style.left=`-${$o}px`,t.style.top=`-${Yo}px`,u!=="hidden"&&(u==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),n!=="hidden"&&(n==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Tt.is.ios===!0&&(r===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Li,er.passiveCapture),window.visualViewport.addEventListener("scroll",Li,er.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",$1,er.passiveCapture))}Tt.is.desktop===!0&&Tt.is.mac===!0&&window[`${e}EventListener`]("wheel",U5,er.notPassive),e==="remove"&&(Tt.is.ios===!0&&(r===!0?(window.visualViewport.removeEventListener("resize",Li,er.passiveCapture),window.visualViewport.removeEventListener("scroll",Li,er.passiveCapture)):window.removeEventListener("scroll",$1,er.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=V1,t.style.top=U1,window.location.href===j1&&window.scrollTo($o,Yo),qu=void 0)}function Ks(e){let t="add";if(e===!0){if(Mu++,v0!==null){clearTimeout(v0),v0=null;return}if(Mu>1)return}else{if(Mu===0||(Mu--,Mu>0))return;if(t="remove",Tt.is.ios===!0&&Tt.is.nativeMobile===!0){v0!==null&&clearTimeout(v0),v0=setTimeout(()=>{Y1(t),v0=null},100);return}}Y1(t)}let G0,Wo,G1=0,g0=null,qt={},S0={};const T2={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:to,customClass:""},F2={...T2};function $5(e){if(e?.group!==void 0&&S0[e.group]!==void 0)return Object.assign(S0[e.group],e);const t=n0(e)===!0&&e.ignoreDefaults===!0?{...T2,...e}:{...F2,...e};return S0[t.group]=t,t}const zr=vi({isActive:!1},{show(e){qt=$5(e);const{group:t}=qt;return zr.isActive=!0,G0!==void 0?(qt.uid=G1,Wo.$forceUpdate()):(qt.uid=++G1,g0!==null&&clearTimeout(g0),g0=setTimeout(()=>{g0=null;const r=Wl("q-loading");G0=h2({name:"QLoading",setup(){fn(()=>{Ks(!0)});function n(){zr.isActive!==!0&&G0!==void 0&&(Ks(!1),G0.unmount(r),_2(r),G0=void 0,Wo=void 0)}function u(){if(zr.isActive!==!0)return null;const i=[G(qt.spinner,{class:"q-loading__spinner",color:qt.spinnerColor,size:qt.spinnerSize})];return qt.message&&i.push(G("div",{class:"q-loading__message"+(qt.messageColor?` text-${qt.messageColor}`:""),[qt.html===!0?"innerHTML":"textContent"]:qt.message})),G("div",{class:"q-loading fullscreen flex flex-center z-max "+qt.customClass.trim(),key:qt.uid},[G("div",{class:"q-loading__backdrop"+(qt.backgroundColor?` bg-${qt.backgroundColor}`:"")}),G("div",{class:"q-loading__box column items-center "+qt.boxClass},i)])}return()=>G(Ar,{name:"q-transition--fade",appear:!0,onAfterLeave:n},u)}},zr.__parentApp),Wo=G0.mount(r)},qt.delay)),r=>{if(r===void 0||Object(r)!==r){zr.hide(t);return}zr.show({...r,group:t})}},hide(e){if(zr.isActive===!0){if(e===void 0)S0={};else{if(S0[e]===void 0)return;{delete S0[e];const t=Object.keys(S0);if(t.length!==0){const r=t[t.length-1];zr.show({group:r});return}}}g0!==null&&(clearTimeout(g0),g0=null),zr.isActive=!1}},setDefaults(e){n0(e)===!0&&Object.assign(F2,e)},install({$q:e,parentApp:t}){e.loading=this,zr.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Y5={isoName:"zh-CN",nativeName:"中文(简体)",label:{clear:"清空",ok:"确定",cancel:"取消",close:"关闭",set:"设置",select:"选择",reset:"重置",remove:"移除",update:"更新",create:"创建",search:"搜索",filter:"过滤",refresh:"刷新",expand:e=>e?`展开"${e}"`:"扩张",collapse:e=>e?`折叠"${e}"`:"坍塌"},date:{days:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),daysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),headerTitle:e=>new Intl.DateTimeFormat("zh-CN",{weekday:"short",month:"short",day:"numeric"}).format(e),firstDayOfWeek:0,format24h:!1,pluralDay:"天",prevMonth:"上个月",nextMonth:"下个月",prevYear:"上一年",nextYear:"下一年",today:"今天",prevRangeYears:e=>`以前${e}年`,nextRangeYears:e=>`接下来${e}年`},table:{noData:"没有可用数据",noResults:"找不到匹配的数据",loading:"正在加载...",selectedRecords:e=>"已选择"+e+"行",recordsPerPage:"每页的行数:",allRows:"全部",pagination:(e,t,r)=>e+"-"+t+" / "+r,columns:"列"},pagination:{first:"第一页",prev:"上一页",next:"下一页",last:"最后一页"},editor:{url:"URL",bold:"粗体",italic:"斜体",strikethrough:"删除线",underline:"下划线",unorderedList:"无序列表",orderedList:"有序列表",subscript:"下标",superscript:"上标",hyperlink:"超链接",toggleFullscreen:"全屏切换",quote:"引号",left:"左对齐",center:"居中对齐",right:"右对齐",justify:"两端对齐",print:"打印",outdent:"减少缩进",indent:"增加缩进",removeFormat:"清除样式",formatting:"格式化",fontSize:"字体大小",align:"对齐",hr:"插入水平线",undo:"撤消",redo:"重做",heading1:"标题一",heading2:"标题二",heading3:"标题三",heading4:"标题四",heading5:"标题五",heading6:"标题六",paragraph:"段落",code:"代码",size1:"非常小",size2:"比较小",size3:"正常",size4:"中等偏大",size5:"大",size6:"非常大",size7:"超级大",defaultFont:"默认字体",viewSource:"查看资料"},tree:{noNodes:"没有可用节点",noResults:"找不到匹配的节点"}};/*!
17
+ **/let Vs;const n1=typeof window<"u"&&window.trustedTypes;if(n1)try{Vs=n1.createPolicy("vue",{createHTML:e=>e})}catch{}const Kh=Vs?e=>Vs.createHTML(e):e=>e,W6="http://www.w3.org/2000/svg",K6="http://www.w3.org/1998/Math/MathML",wn=typeof document<"u"?document:null,u1=wn&&wn.createElement("template"),Z6={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const u=t==="svg"?wn.createElementNS(W6,e):t==="mathml"?wn.createElementNS(K6,e):r?wn.createElement(e,{is:r}):wn.createElement(e);return e==="select"&&n&&n.multiple!=null&&u.setAttribute("multiple",n.multiple),u},createText:e=>wn.createTextNode(e),createComment:e=>wn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,u,i){const a=r?r.previousSibling:t.lastChild;if(u&&(u===i||u.nextSibling))for(;t.insertBefore(u.cloneNode(!0),r),!(u===i||!(u=u.nextSibling)););else{u1.innerHTML=Kh(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const o=u1.content;if(n==="svg"||n==="mathml"){const s=o.firstChild;for(;s.firstChild;)o.appendChild(s.firstChild);o.removeChild(s)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},On="transition",Du="animation",lu=Symbol("_vtc"),Zh={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},Qh=zt({},kh,Zh),Q6=e=>(e.displayName="Transition",e.props=Qh,e),Ar=Q6((e,{slots:t})=>G(Q3,Xh(e),t)),m0=(e,t=[])=>{qe(e)?e.forEach(r=>r(...t)):e&&e(...t)},i1=e=>e?qe(e)?e.some(t=>t.length>1):e.length>1:!1;function Xh(e){const t={};for(const M in e)M in Zh||(t[M]=e[M]);if(e.css===!1)return t;const{name:r="v",type:n,duration:u,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:o=`${r}-enter-to`,appearFromClass:s=i,appearActiveClass:l=a,appearToClass:c=o,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:m=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,v=X6(u),x=v&&v[0],y=v&&v[1],{onBeforeEnter:T,onEnter:D,onEnterCancelled:_,onLeave:w,onLeaveCancelled:F,onBeforeAppear:j=T,onAppear:z=D,onAppearCancelled:V=_}=t,S=(M,U,B,ne)=>{M._enterCancelled=ne,In(M,U?c:o),In(M,U?l:a),B&&B()},Y=(M,U)=>{M._isLeaving=!1,In(M,f),In(M,p),In(M,m),U&&U()},Z=M=>(U,B)=>{const ne=M?z:D,L=()=>S(U,M,B);m0(ne,[U,L]),a1(()=>{In(U,M?s:i),Kr(U,M?c:o),i1(ne)||o1(U,n,x,L)})};return zt(t,{onBeforeEnter(M){m0(T,[M]),Kr(M,i),Kr(M,a)},onBeforeAppear(M){m0(j,[M]),Kr(M,s),Kr(M,l)},onEnter:Z(!1),onAppear:Z(!0),onLeave(M,U){M._isLeaving=!0;const B=()=>Y(M,U);Kr(M,f),M._enterCancelled?(Kr(M,m),Us()):(Us(),Kr(M,m)),a1(()=>{M._isLeaving&&(In(M,f),Kr(M,p),i1(w)||o1(M,n,y,B))}),m0(w,[M,B])},onEnterCancelled(M){S(M,!1,void 0,!0),m0(_,[M])},onAppearCancelled(M){S(M,!0,void 0,!0),m0(V,[M])},onLeaveCancelled(M){Y(M),m0(F,[M])}})}function X6(e){if(e==null)return null;if(pt(e))return[Lo(e.enter),Lo(e.leave)];{const t=Lo(e);return[t,t]}}function Lo(e){return o3(e)}function Kr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[lu]||(e[lu]=new Set)).add(t)}function In(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[lu];r&&(r.delete(t),r.size||(e[lu]=void 0))}function a1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let J6=0;function o1(e,t,r,n){const u=e._endId=++J6,i=()=>{u===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:o,propCount:s}=Jh(e,t);if(!a)return n();const l=a+"end";let c=0;const f=()=>{e.removeEventListener(l,m),i()},m=p=>{p.target===e&&++c>=s&&f()};setTimeout(()=>{c<s&&f()},o+1),e.addEventListener(l,m)}function Jh(e,t){const r=window.getComputedStyle(e),n=v=>(r[v]||"").split(", "),u=n(`${On}Delay`),i=n(`${On}Duration`),a=s1(u,i),o=n(`${Du}Delay`),s=n(`${Du}Duration`),l=s1(o,s);let c=null,f=0,m=0;t===On?a>0&&(c=On,f=a,m=i.length):t===Du?l>0&&(c=Du,f=l,m=s.length):(f=Math.max(a,l),c=f>0?a>l?On:Du:null,m=c?c===On?i.length:s.length:0);const p=c===On&&/\b(transform|all)(,|$)/.test(n(`${On}Property`).toString());return{type:c,timeout:f,propCount:m,hasTransform:p}}function s1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>l1(r)+l1(e[n])))}function l1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Us(){return document.body.offsetHeight}function ep(e,t,r){const n=e[lu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const c1=Symbol("_vod"),tp=Symbol("_vsh"),rp=Symbol(""),np=/(^|;)\s*display\s*:/;function up(e,t,r){const n=e.style,u=kt(r);let i=!1;if(r&&!u){if(t)if(kt(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();r[o]==null&&ra(n,o,"")}else for(const a in t)r[a]==null&&ra(n,a,"");for(const a in r)a==="display"&&(i=!0),ra(n,a,r[a])}else if(u){if(t!==r){const a=n[rp];a&&(r+=";"+a),n.cssText=r,i=np.test(r)}}else t&&e.removeAttribute("style");c1 in e&&(e[c1]=i?n.display:"",e[tp]&&(n.display="none"))}const f1=/\s*!important$/;function ra(e,t,r){if(qe(r))r.forEach(n=>ra(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=ip(e,t);f1.test(r)?e.setProperty(I0(n),r.replace(f1,""),"important"):e[n]=r}}const d1=["Webkit","Moz","ms"],Po={};function ip(e,t){const r=Po[t];if(r)return r;let n=Xn(t);if(n!=="filter"&&n in e)return Po[t]=n;n=Ud(n);for(let u=0;u<d1.length;u++){const i=d1[u]+n;if(i in e)return Po[t]=i}return t}const h1="http://www.w3.org/1999/xlink";function m1(e,t,r,n,u,i=h3(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(h1,t.slice(6,t.length)):e.setAttributeNS(h1,t,r):r==null||i&&!jd(r)?e.removeAttribute(t):e.setAttribute(t,i?"":o0(r)?String(r):r)}function p1(e,t,r,n,u){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?Kh(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,s=r==null?e.type==="checkbox"?"on":"":String(r);(o!==s||!("_value"in e))&&(e.value=s),r==null&&e.removeAttribute(t),e._value=r;return}let a=!1;if(r===""||r==null){const o=typeof e[t];o==="boolean"?r=jd(r):r==null&&o==="string"?(r="",a=!0):o==="number"&&(r=0,a=!0)}try{e[t]=r}catch{}a&&e.removeAttribute(u||t)}function tu(e,t,r,n){e.addEventListener(t,r,n)}function ap(e,t,r,n){e.removeEventListener(t,r,n)}const v1=Symbol("_vei");function op(e,t,r,n,u=null){const i=e[v1]||(e[v1]={}),a=i[t];if(n&&a)a.value=n;else{const[o,s]=sp(t);if(n){const l=i[t]=fp(n,u);tu(e,o,l,s)}else a&&(ap(e,o,a,s),i[t]=void 0)}}const g1=/(?:Once|Passive|Capture)$/;function sp(e){let t;if(g1.test(e)){t={};let n;for(;n=e.match(g1);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):I0(e.slice(2)),t]}let Io=0;const lp=Promise.resolve(),cp=()=>Io||(lp.then(()=>Io=0),Io=Date.now());function fp(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Ir(dp(n,r.value),t,5,[n])};return r.value=e,r.attached=cp(),r}function dp(e,t){if(qe(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>u=>!u._stopped&&n&&n(u))}else return t}const b1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hp=(e,t,r,n,u,i)=>{const a=u==="svg";t==="class"?ep(e,n,a):t==="style"?up(e,r,n):Ha(t)?Sl(t)||op(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mp(e,t,n,a))?(p1(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&m1(e,t,n,a,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!kt(n))?p1(e,Xn(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),m1(e,t,n,a))};function mp(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&b1(t)&&He(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const u=e.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return b1(t)&&kt(r)?!1:t in e}const e2=new WeakMap,t2=new WeakMap,xa=Symbol("_moveCb"),y1=Symbol("_enterCb"),pp=e=>(delete e.props.mode,e),vp=pp({name:"TransitionGroup",props:zt({},Qh,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=gt(),n=wh();let u,i;return Il(()=>{if(!u.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!wp(u[0].el,r.vnode.el,a)){u=[];return}u.forEach(bp),u.forEach(yp);const o=u.filter(xp);Us(),o.forEach(s=>{const l=s.el,c=l.style;Kr(l,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=l[xa]=m=>{m&&m.target!==l||(!m||/transform$/.test(m.propertyName))&&(l.removeEventListener("transitionend",f),l[xa]=null,In(l,a))};l.addEventListener("transitionend",f)}),u=[]}),()=>{const a=Qe(e),o=Xh(a);let s=a.tag||Vt;if(u=[],i)for(let l=0;l<i.length;l++){const c=i[l];c.el&&c.el instanceof Element&&(u.push(c),q0(c,ei(c,o,n,r)),e2.set(c,c.el.getBoundingClientRect()))}i=t.default?Rl(t.default()):[];for(let l=0;l<i.length;l++){const c=i[l];c.key!=null&&q0(c,ei(c,o,n,r))}return et(s,null,i)}}}),gp=vp;function bp(e){const t=e.el;t[xa]&&t[xa](),t[y1]&&t[y1]()}function yp(e){t2.set(e,e.el.getBoundingClientRect())}function xp(e){const t=e2.get(e),r=t2.get(e),n=t.left-r.left,u=t.top-r.top;if(n||u){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${u}px)`,i.transitionDuration="0s",e}}function wp(e,t,r){const n=e.cloneNode(),u=e[lu];u&&u.forEach(o=>{o.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=Jh(n);return i.removeChild(n),a}const x1=e=>{const t=e.props["onUpdate:modelValue"]||!1;return qe(t)?r=>Ji(t,r):t};function kp(e){e.target.composing=!0}function w1(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const No=Symbol("_assign"),Sp={created(e,{modifiers:{lazy:t,trim:r,number:n}},u){e[No]=x1(u);const i=n||u.props&&u.props.type==="number";tu(e,t?"change":"input",a=>{if(a.target.composing)return;let o=e.value;r&&(o=o.trim()),i&&(o=zs(o)),e[No](o)}),r&&tu(e,"change",()=>{e.value=e.value.trim()}),t||(tu(e,"compositionstart",kp),tu(e,"compositionend",w1),tu(e,"change",w1))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:u,number:i}},a){if(e[No]=x1(a),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?zs(e.value):e.value,s=t??"";o!==s&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||u&&e.value.trim()===s)||(e.value=s))}},Ap=zt({patchProp:hp},Z6);let k1;function Cp(){return k1||(k1=x6(Ap))}const r2=(...e)=>{const t=Cp().createApp(...e),{mount:r}=t;return t.mount=n=>{const u=Dp(n);if(!u)return;const i=t._component;!He(i)&&!i.render&&!i.template&&(i.template=u.innerHTML),u.nodeType===1&&(u.textContent="");const a=r(u,!1,_p(u));return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),a},t};function _p(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dp(e){return kt(e)?document.querySelector(e):e}function bu(e,t,r,n){return Object.defineProperty(e,t,{get:r,set:n,enumerable:!0}),e}const t0=we(!1);let js;function Ep(e,t){const r=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:r[5]||r[3]||r[1]||"",version:r[4]||r[2]||"0",platform:t[0]||""}}function Mp(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const n2="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Tp(e){const t=e.toLowerCase(),r=Mp(t),n=Ep(t,r),u={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};n.browser&&(u[n.browser]=!0,u.version=n.version,u.versionNumber=parseInt(n.version,10)),n.platform&&(u[n.platform]=!0);const i=u.android||u.ios||u.bb||u.blackberry||u.ipad||u.iphone||u.ipod||u.kindle||u.playbook||u.silk||u["windows phone"];if(i===!0||t.indexOf("mobile")!==-1?u.mobile=!0:u.desktop=!0,u["windows phone"]&&(u.winphone=!0,delete u["windows phone"]),u.edga||u.edgios||u.edg?(u.edge=!0,n.browser="edge"):u.crios?(u.chrome=!0,n.browser="chrome"):u.fxios&&(u.firefox=!0,n.browser="firefox"),(u.ipod||u.ipad||u.iphone)&&(u.ios=!0),u.vivaldi&&(n.browser="vivaldi",u.vivaldi=!0),(u.chrome||u.opr||u.safari||u.vivaldi||u.mobile===!0&&u.ios!==!0&&i!==!0)&&(u.webkit=!0),u.opr&&(n.browser="opera",u.opera=!0),u.safari&&(u.blackberry||u.bb?(n.browser="blackberry",u.blackberry=!0):u.playbook?(n.browser="playbook",u.playbook=!0):u.android?(n.browser="android",u.android=!0):u.kindle?(n.browser="kindle",u.kindle=!0):u.silk&&(n.browser="silk",u.silk=!0)),u.name=n.browser,u.platform=n.platform,t.indexOf("electron")!==-1)u.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)u.bex=!0;else{if(window.Capacitor!==void 0?(u.capacitor=!0,u.nativeMobile=!0,u.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(u.cordova=!0,u.nativeMobile=!0,u.nativeMobileWrapper="cordova"),t0.value===!0&&(js={is:{...u}}),n2===!0&&u.mac===!0&&(u.desktop===!0&&u.safari===!0||u.nativeMobile===!0&&u.android!==!0&&u.ios!==!0&&u.ipad!==!0)){delete u.mac,delete u.desktop;const a=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(u,{mobile:!0,ios:!0,platform:a,[a]:!0})}u.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete u.desktop,u.mobile=!0)}return u}const S1=navigator.userAgent||navigator.vendor||window.opera,Fp={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Tt={userAgent:S1,is:Tp(S1),has:{touch:n2},within:{iframe:window.self!==window.top}},wa={install(e){const{$q:t}=e;t0.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Tt),t0.value=!1}),t.platform=vu(this)):t.platform=this}};{let e;bu(Tt.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(wa,Tt),t0.value===!0&&(Object.assign(wa,js,Fp),js=null)}function Kt(e){return gu(Hr(e))}function zp(e){return gu(e)}const vi=(e,t)=>{const r=vu(e);for(const n in e)bu(t,n,()=>r[n],u=>{r[n]=u});return t},er={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(er,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function cu(){}function u2(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function Bp(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let r=e.target;for(;r;){if(t.push(r),r.tagName==="HTML")return t.push(document),t.push(window),t;r=r.parentElement}}function Jr(e){e.stopPropagation()}function Rr(e){e.cancelable!==!1&&e.preventDefault()}function Ut(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function $s(e,t,r){const n=`__q_${t}_evt`;e[n]=e[n]!==void 0?e[n].concat(r):r,r.forEach(u=>{u[0].addEventListener(u[1],e[u[2]],er[u[3]])})}function i2(e,t){const r=`__q_${t}_evt`;e[r]!==void 0&&(e[r].forEach(n=>{n[0].removeEventListener(n[1],e[n[2]],er[n[3]])}),e[r]=void 0)}function $l(e,t=250,r){let n=null;function u(){const i=arguments,a=()=>{n=null,e.apply(this,i)};n!==null&&clearTimeout(n),n=setTimeout(a,t)}return u.cancel=()=>{n!==null&&clearTimeout(n)},u}const Ho=["sm","md","lg","xl"],{passive:A1}=er,Op=vi({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:cu,setDebounce:cu,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:r}=window,n=r||window,u=document.scrollingElement||document.documentElement,i=r===void 0||Tt.is.mobile===!0?()=>[Math.max(window.innerWidth,u.clientWidth),Math.max(window.innerHeight,u.clientHeight)]:()=>[r.width*r.scale+window.innerWidth-u.clientWidth,r.height*r.scale+window.innerHeight-u.clientHeight],a=e.config.screen?.bodyClasses===!0;this.__update=f=>{const[m,p]=i();if(p!==this.height&&(this.height=p),m!==this.width)this.width=m;else if(f!==!0)return;let v=this.sizes;this.gt.xs=m>=v.sm,this.gt.sm=m>=v.md,this.gt.md=m>=v.lg,this.gt.lg=m>=v.xl,this.lt.sm=m<v.sm,this.lt.md=m<v.md,this.lt.lg=m<v.lg,this.lt.xl=m<v.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,v=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",v!==this.name&&(a===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${v}`)),this.name=v)};let o,s={},l=16;this.setSizes=f=>{Ho.forEach(m=>{f[m]!==void 0&&(s[m]=f[m])})},this.setDebounce=f=>{l=f};const c=()=>{const f=getComputedStyle(document.body);f.getPropertyValue("--q-size-sm")&&Ho.forEach(m=>{this.sizes[m]=parseInt(f.getPropertyValue(`--q-size-${m}`),10)}),this.setSizes=m=>{Ho.forEach(p=>{m[p]&&(this.sizes[p]=m[p])}),this.__update(!0)},this.setDebounce=m=>{o!==void 0&&n.removeEventListener("resize",o,A1),o=m>0?$l(this.__update,m):this.__update,n.addEventListener("resize",o,A1)},this.setDebounce(l),Object.keys(s).length!==0?(this.setSizes(s),s=void 0):this.__update(),a===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};t0.value===!0?t.push(c):c()}}),jt=vi({isActive:!1,mode:!1},{__media:void 0,set(e){jt.mode=e,e==="auto"?(jt.__media===void 0&&(jt.__media=window.matchMedia("(prefers-color-scheme: dark)"),jt.__updateMedia=()=>{jt.set("auto")},jt.__media.addListener(jt.__updateMedia)),e=jt.__media.matches):jt.__media!==void 0&&(jt.__media.removeListener(jt.__updateMedia),jt.__media=void 0),jt.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){jt.set(jt.isActive===!1)},install({$q:e,ssrContext:t}){const r=e.config.dark;e.dark=this,this.__installed!==!0&&this.set(r!==void 0?r:!1)}});function qp(e,t,r=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(r instanceof Element))throw new TypeError("Expected a DOM element");r.style.setProperty(`--q-${e}`,t)}let a2=!1;function Rp(e){a2=e.isComposing===!0}function Yl(e){return a2===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function R0(e,t){return Yl(e)===!0?!1:[].concat(t).includes(e.keyCode)}function o2(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Lp({is:e,has:t,within:r},n){const u=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const i=o2(e);i!==void 0&&u.push("platform-"+i)}if(e.nativeMobile===!0){const i=e.nativeMobileWrapper;u.push(i),u.push("native-mobile"),e.ios===!0&&(n[i]===void 0||n[i].iosStatusBarPadding!==!1)&&u.push("q-ios-padding")}else e.electron===!0?u.push("electron"):e.bex===!0&&u.push("bex");return r.iframe===!0&&u.push("within-iframe"),u}function Pp(){const{is:e}=Tt,t=document.body.className,r=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)r.delete("mobile"),r.delete("platform-ios"),r.delete("platform-android"),r.add("desktop");else if(e.mobile===!0){r.delete("desktop"),r.add("mobile"),r.delete("platform-ios"),r.delete("platform-android");const u=o2(e);u!==void 0&&r.add(`platform-${u}`)}}Tt.has.touch===!0&&(r.delete("no-touch"),r.add("touch")),Tt.within.iframe===!0&&r.add("within-iframe");const n=Array.from(r).join(" ");t!==n&&(document.body.className=n)}function Ip(e){for(const t in e)qp(t,e[t])}const Np={install(e){if(this.__installed!==!0){if(t0.value===!0)Pp();else{const{$q:t}=e;t.config.brand!==void 0&&Ip(t.config.brand);const r=Lp(Tt,t.config);document.body.classList.add.apply(document.body.classList,r)}Tt.is.ios===!0&&document.body.addEventListener("touchstart",cu),window.addEventListener("keydown",Rp,!0)}}},s2=()=>!0;function Hp(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Vp(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function Up(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return s2;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Hp).map(Vp)),()=>t.includes(window.location.hash)}const Ys={__history:[],add:cu,remove:cu,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:r}=Tt.is;if(t!==!0&&r!==!0)return;const n=e.config[t===!0?"cordova":"capacitor"];if(n?.backButton===!1||r===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=a=>{a.condition===void 0&&(a.condition=s2),this.__history.push(a)},this.remove=a=>{const o=this.__history.indexOf(a);o>=0&&this.__history.splice(o,1)};const u=Up(Object.assign({backButtonExit:!0},n)),i=()=>{if(this.__history.length){const a=this.__history[this.__history.length-1];a.condition()===!0&&(this.__history.pop(),a.handler())}else u()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",i,!1)}):window.Capacitor.Plugins.App.addListener("backButton",i)}},Gs={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,r)=>e+"-"+t+" of "+r,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function C1(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,r)=>r===0?t.toLowerCase():r>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const en=vi({__qLang:{}},{getLocale:C1,set(e=Gs,t){const r={...e,rtl:e.rtl===!0,getLocale:C1};{if(r.set=en.set,en.__langConfig===void 0||en.__langConfig.noHtmlAttrs!==!0){const n=document.documentElement;n.setAttribute("dir",r.rtl===!0?"rtl":"ltr"),n.setAttribute("lang",r.isoName)}Object.assign(en.__qLang,r)}},install({$q:e,lang:t,ssrContext:r}){e.lang=en.__qLang,en.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(n){return Reflect.ownKeys(n).filter(u=>u!=="set"&&u!=="getLocale")}}),this.set(t||Gs))}}),jp={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},ka=vi({iconMapFn:null,__qIconSet:{}},{set(e,t){const r={...e};r.set=ka.set,Object.assign(ka.__qIconSet,r)},install({$q:e,iconSet:t,ssrContext:r}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,bu(e,"iconMapFn",()=>this.iconMapFn,n=>{this.iconMapFn=n}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(n){return Reflect.ownKeys(n).filter(u=>u!=="set")}}),this.set(t||jp))}}),l2="_q_",$p="_q_fo_",Sa={};let c2=!1;function Yp(){c2=!0}function $n(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(e.constructor===Array){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if($n(e[n],t[n])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let i=e.entries();for(n=i.next();n.done!==!0;){if(t.has(n.value[0])!==!0)return!1;n=i.next()}for(i=e.entries(),n=i.next();n.done!==!0;){if($n(n.value[1],t.get(n.value[0]))!==!0)return!1;n=i.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const i=e.entries();for(n=i.next();n.done!==!0;){if(t.has(n.value[0])!==!0)return!1;n=i.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const u=Object.keys(e).filter(i=>e[i]!==void 0);if(r=u.length,r!==Object.keys(t).filter(i=>t[i]!==void 0).length)return!1;for(n=r;n--!==0;){const i=u[n];if($n(e[i],t[i])!==!0)return!1}return!0}return e!==e&&t!==t}function r0(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function f2(e){return Object.prototype.toString.call(e)==="[object Date]"}const _1=[wa,Np,jt,Op,Ys,en,ka];function d2(e,t){const r=r2(e);r.config.globalProperties=t.config.globalProperties;const{reload:n,...u}=t._context;return Object.assign(r._context,u),r}function D1(e,t){t.forEach(r=>{r.install(e),r.__installed=!0})}function Gp(e,t,r){e.config.globalProperties.$q=r.$q,e.provide(l2,r.$q),D1(r,_1),t.components!==void 0&&Object.values(t.components).forEach(n=>{r0(n)===!0&&n.name!==void 0&&e.component(n.name,n)}),t.directives!==void 0&&Object.values(t.directives).forEach(n=>{r0(n)===!0&&n.name!==void 0&&e.directive(n.name,n)}),t.plugins!==void 0&&D1(r,Object.values(t.plugins).filter(n=>typeof n.install=="function"&&_1.includes(n)===!1)),t0.value===!0&&(r.$q.onSSRHydrated=()=>{r.onSSRHydrated.forEach(n=>{n()}),r.$q.onSSRHydrated=()=>{}})}const Wp=function(e,t={}){const r={version:"2.18.2"};c2===!1?(t.config!==void 0&&Object.assign(Sa,t.config),r.config={...Sa},Yp()):r.config=t.config||{},Gp(e,t,{parentApp:e,$q:r,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},Kp={name:"Quasar",version:"2.18.2",install:Wp,lang:en,iconSet:ka},Ws={xs:18,sm:24,md:32,lg:38,xl:46},Xa={size:String};function Ja(e,t=Ws){return W(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function nn(e,t){return e!==void 0&&e()||t}function Zp(e,t){if(e!==void 0){const r=e();if(r!=null)return r.slice()}return t}function ru(e,t){return e!==void 0?t.concat(e()):t}function h2(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Qp(e,t,r,n,u,i){t.key=n+u;const a=G(e,t,r);return u===!0?ql(a,i()):a}const E1="0 0 24 24",Vo=e=>e,Uo=e=>`ionicons ${e}`,m2={"mdi-":e=>`mdi ${e}`,"icon-":Vo,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Uo,"ion-ios":Uo,"ion-logo":Uo,"iconfont ":Vo,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Vo},p2={o_:"-outlined",r_:"-round",s_:"-sharp"},v2={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Xp=new RegExp("^("+Object.keys(m2).join("|")+")"),Jp=new RegExp("^("+Object.keys(p2).join("|")+")"),M1=new RegExp("^("+Object.keys(v2).join("|")+")"),e5=/^[Mm]\s?[-+]?\.?\d/,t5=/^img:/,r5=/^svguse:/,n5=/^ion-/,u5=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Er=Kt({name:"QIcon",props:{...Xa,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:r}}=gt(),n=Ja(e),u=W(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),i=W(()=>{let a,o=e.name;if(o==="none"||!o)return{none:!0};if(r.iconMapFn!==null){const c=r.iconMapFn(o);if(c!==void 0)if(c.icon!==void 0){if(o=c.icon,o==="none"||!o)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(e5.test(o)===!0){const[c,f=E1]=o.split("|");return{svg:!0,viewBox:f,nodes:c.split("&&").map(m=>{const[p,v,x]=m.split("@@");return G("path",{style:v,d:p,transform:x})})}}if(t5.test(o)===!0)return{img:!0,src:o.substring(4)};if(r5.test(o)===!0){const[c,f=E1]=o.split("|");return{svguse:!0,src:c.substring(7),viewBox:f}}let s=" ";const l=o.match(Xp);if(l!==null)a=m2[l[1]](o);else if(u5.test(o)===!0)a=o;else if(n5.test(o)===!0)a=`ionicons ion-${r.platform.is.ios===!0?"ios":"md"}${o.substring(3)}`;else if(M1.test(o)===!0){a="notranslate material-symbols";const c=o.match(M1);c!==null&&(o=o.substring(6),a+=v2[c[1]]),s=o}else{a="notranslate material-icons";const c=o.match(Jp);c!==null&&(o=o.substring(2),a+=p2[c[1]]),s=o}return{cls:a,content:s}});return()=>{const a={class:u.value,style:n.value,"aria-hidden":"true"};return i.value.none===!0?G(e.tag,a,nn(t.default)):i.value.img===!0?G(e.tag,a,ru(t.default,[G("img",{src:i.value.src})])):i.value.svg===!0?G(e.tag,a,ru(t.default,[G("svg",{viewBox:i.value.viewBox||"0 0 24 24"},i.value.nodes)])):i.value.svguse===!0?G(e.tag,a,ru(t.default,[G("svg",{viewBox:i.value.viewBox},[G("use",{"xlink:href":i.value.src})])])):(i.value.cls!==void 0&&(a.class+=" "+i.value.cls),G(e.tag,a,ru(t.default,[i.value.content])))}}}),g2=Kt({name:"QAvatar",props:{...Xa,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const r=Ja(e),n=W(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),u=W(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const i=e.icon!==void 0?[G(Er,{name:e.icon})]:void 0;return G("div",{class:n.value,style:r.value},[G("div",{class:"q-avatar__content row flex-center overflow-hidden",style:u.value},h2(t.default,i))])}}}),i5={size:{type:[String,Number],default:"1em"},color:String};function a5(e){return{cSize:W(()=>e.size in Ws?`${Ws[e.size]}px`:e.size),classes:W(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const eo=Kt({name:"QSpinner",props:{...i5,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:r}=a5(e);return()=>G("svg",{class:r.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[G("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Ks(e,t){const r=e.style;for(const n in t)r[n]=t[n]}function o5(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=rt(e);if(t)return t.$el||t}function b2(e,t){if(e==null||e.contains(t)===!0)return!0;for(let r=e.nextElementSibling;r!==null;r=r.nextElementSibling)if(r.contains(t))return!0;return!1}function s5(e,t=250){let r=!1,n;return function(){return r===!1&&(r=!0,setTimeout(()=>{r=!1},t),n=e.apply(this,arguments)),n}}function T1(e,t,r,n){r.modifiers.stop===!0&&Jr(e);const u=r.modifiers.color;let i=r.modifiers.center;i=i===!0||n===!0;const a=document.createElement("span"),o=document.createElement("span"),s=u2(e),{left:l,top:c,width:f,height:m}=t.getBoundingClientRect(),p=Math.sqrt(f*f+m*m),v=p/2,x=`${(f-p)/2}px`,y=i?x:`${s.left-l-v}px`,T=`${(m-p)/2}px`,D=i?T:`${s.top-c-v}px`;o.className="q-ripple__inner",Ks(o,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${y},${D},0) scale3d(.2,.2,1)`,opacity:0}),a.className=`q-ripple${u?" text-"+u:""}`,a.setAttribute("dir","ltr"),a.appendChild(o),t.appendChild(a);const _=()=>{a.remove(),clearTimeout(w)};r.abort.push(_);let w=setTimeout(()=>{o.classList.add("q-ripple__inner--enter"),o.style.transform=`translate3d(${x},${T},0) scale3d(1,1,1)`,o.style.opacity=.2,w=setTimeout(()=>{o.classList.remove("q-ripple__inner--enter"),o.classList.add("q-ripple__inner--leave"),o.style.opacity=0,w=setTimeout(()=>{a.remove(),r.abort.splice(r.abort.indexOf(_),1)},275)},250)},50)}function F1(e,{modifiers:t,value:r,arg:n}){const u=Object.assign({},e.cfg.ripple,t,r);e.modifiers={early:u.early===!0,stop:u.stop===!0,center:u.center===!0,color:u.color||n,keyCodes:[].concat(u.keyCodes||13)}}const y2=zp({name:"ripple",beforeMount(e,t){const r=t.instance.$.appContext.config.globalProperties.$q.config||{};if(r.ripple===!1)return;const n={cfg:r,enabled:t.value!==!1,modifiers:{},abort:[],start(u){n.enabled===!0&&u.qSkipRipple!==!0&&u.type===(n.modifiers.early===!0?"pointerdown":"click")&&T1(u,e,n,u.qKeyEvent===!0)},keystart:s5(u=>{n.enabled===!0&&u.qSkipRipple!==!0&&R0(u,n.modifiers.keyCodes)===!0&&u.type===`key${n.modifiers.early===!0?"down":"up"}`&&T1(u,e,n,!0)},300)};F1(n,t),e.__qripple=n,$s(n,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const r=e.__qripple;r!==void 0&&(r.enabled=t.value!==!1,r.enabled===!0&&Object(t.value)===t.value&&F1(r,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(r=>{r()}),i2(t,"main"),delete e._qripple)}}),x2={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},l5=Object.keys(x2),c5={align:{type:String,validator:e=>l5.includes(e)}};function f5(e){return W(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${x2[t]}`})}function jo(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function w2(e){return e.appContext.config.globalProperties.$router!==void 0}function k2(e){return e.isUnmounted===!0||e.isDeactivated===!0}function z1(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function B1(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function d5(e,t){for(const r in t){const n=t[r],u=e[r];if(typeof n=="string"){if(n!==u)return!1}else if(Array.isArray(u)===!1||u.length!==n.length||n.some((i,a)=>i!==u[a]))return!1}return!0}function O1(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function h5(e,t){return Array.isArray(e)===!0?O1(e,t):Array.isArray(t)===!0?O1(t,e):e===t}function m5(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(h5(e[r],t[r])===!1)return!1;return!0}const S2={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},p5={...S2,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function A2({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const r=gt(),{props:n,proxy:u,emit:i}=r,a=w2(r),o=W(()=>n.disable!==!0&&n.href!==void 0),s=W(t===!0?()=>a===!0&&n.disable!==!0&&o.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!=="":()=>a===!0&&o.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!==""),l=W(()=>s.value===!0?D(n.to):null),c=W(()=>l.value!==null),f=W(()=>o.value===!0||c.value===!0),m=W(()=>n.type==="a"||f.value===!0?"a":n.tag||e||"div"),p=W(()=>o.value===!0?{href:n.href,target:n.target}:c.value===!0?{href:l.value.href,target:n.target}:{}),v=W(()=>{if(c.value===!1)return-1;const{matched:F}=l.value,{length:j}=F,z=F[j-1];if(z===void 0)return-1;const V=u.$route.matched;if(V.length===0)return-1;const S=V.findIndex(B1.bind(null,z));if(S!==-1)return S;const Y=z1(F[j-2]);return j>1&&z1(z)===Y&&V[V.length-1].path!==Y?V.findIndex(B1.bind(null,F[j-2])):S}),x=W(()=>c.value===!0&&v.value!==-1&&d5(u.$route.params,l.value.params)),y=W(()=>x.value===!0&&v.value===u.$route.matched.length-1&&m5(u.$route.params,l.value.params)),T=W(()=>c.value===!0?y.value===!0?` ${n.exactActiveClass} ${n.activeClass}`:n.exact===!0?"":x.value===!0?` ${n.activeClass}`:"":"");function D(F){try{return u.$router.resolve(F)}catch{}return null}function _(F,{returnRouterError:j,to:z=n.to,replace:V=n.replace}={}){if(n.disable===!0)return F.preventDefault(),Promise.resolve(!1);if(F.metaKey||F.altKey||F.ctrlKey||F.shiftKey||F.button!==void 0&&F.button!==0||n.target==="_blank")return Promise.resolve(!1);F.preventDefault();const S=u.$router[V===!0?"replace":"push"](z);return j===!0?S:S.then(()=>{}).catch(()=>{})}function w(F){if(c.value===!0){const j=z=>_(F,z);i("click",F,j),F.defaultPrevented!==!0&&j()}else i("click",F)}return{hasRouterLink:c,hasHrefLink:o,hasLink:f,linkTag:m,resolvedLink:l,linkIsActive:x,linkIsExactActive:y,linkClass:T,linkAttrs:p,getLink:D,navigateToRouterLink:_,navigateOnClick:w}}const q1={none:0,xs:4,sm:8,md:16,lg:24,xl:32},v5={xs:8,sm:10,md:14,lg:20,xl:24},g5=["button","submit","reset"],b5=/[^\s]\/[^\s]/,y5=["flat","outline","push","unelevated"];function x5(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const w5={...Xa,...S2,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...y5.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...c5.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},k5={...w5,round:Boolean};function S5(e){const t=Ja(e,v5),r=f5(e),{hasRouterLink:n,hasLink:u,linkTag:i,linkAttrs:a,navigateOnClick:o}=A2({fallbackTag:"button"}),s=W(()=>{const y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(T=>T in q1?q1[T]+"px":T).join(" "),minWidth:"0",minHeight:"0"}):y}),l=W(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=W(()=>e.disable!==!0&&e.loading!==!0),f=W(()=>c.value===!0?e.tabindex||0:-1),m=W(()=>x5(e,"standard")),p=W(()=>{const y={tabindex:f.value};return u.value===!0?Object.assign(y,a.value):g5.includes(e.type)===!0&&(y.type=e.type),i.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),n.value!==!0&&b5.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),v=W(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);const T=e.round===!0?"round":`rectangle${l.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${m.value} q-btn--${T}`+(y!==void 0?" "+y:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=W(()=>r.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:v,style:s,innerClasses:x,attributes:p,hasLink:u,linkTag:i,navigateOnClick:o,isActionable:c}}const{passiveCapture:kr}=er;let j0=null,$0=null,Y0=null;const zr=Kt({name:"QBtn",props:{...k5,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:r}){const{proxy:n}=gt(),{classes:u,style:i,innerClasses:a,attributes:o,hasLink:s,linkTag:l,navigateOnClick:c,isActionable:f}=S5(e),m=we(null),p=we(null);let v=null,x,y=null;const T=W(()=>e.label!==void 0&&e.label!==null&&e.label!==""),D=W(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:s.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),_=W(()=>({center:e.round})),w=W(()=>{const B=Math.max(0,Math.min(100,e.percentage));return B>0?{transition:"transform 0.6s",transform:`translateX(${B-100}%)`}:{}}),F=W(()=>{if(e.loading===!0)return{onMousedown:U,onTouchstart:U,onClick:U,onKeydown:U,onKeyup:U};if(f.value===!0){const B={onClick:z,onKeydown:V,onMousedown:Y};if(n.$q.platform.has.touch===!0){const ne=e.onTouchstart!==void 0?"":"Passive";B[`onTouchstart${ne}`]=S}return B}return{onClick:Ut}}),j=W(()=>({ref:m,class:"q-btn q-btn-item non-selectable no-outline "+u.value,style:i.value,...o.value,...F.value}));function z(B){if(m.value!==null){if(B!==void 0){if(B.defaultPrevented===!0)return;const ne=document.activeElement;if(e.type==="submit"&&ne!==document.body&&m.value.contains(ne)===!1&&ne.contains(m.value)===!1){B.qAvoidFocus!==!0&&m.value.focus();const L=()=>{document.removeEventListener("keydown",Ut,!0),document.removeEventListener("keyup",L,kr),m.value?.removeEventListener("blur",L,kr)};document.addEventListener("keydown",Ut,!0),document.addEventListener("keyup",L,kr),m.value.addEventListener("blur",L,kr)}}c(B)}}function V(B){m.value!==null&&(r("keydown",B),R0(B,[13,32])===!0&&$0!==m.value&&($0!==null&&M(),B.defaultPrevented!==!0&&(B.qAvoidFocus!==!0&&m.value.focus(),$0=m.value,m.value.classList.add("q-btn--active"),document.addEventListener("keyup",Z,!0),m.value.addEventListener("blur",Z,kr)),Ut(B)))}function S(B){m.value!==null&&(r("touchstart",B),B.defaultPrevented!==!0&&(j0!==m.value&&(j0!==null&&M(),j0=m.value,v=B.target,v.addEventListener("touchcancel",Z,kr),v.addEventListener("touchend",Z,kr)),x=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,x=!1},200)))}function Y(B){m.value!==null&&(B.qSkipRipple=x===!0,r("mousedown",B),B.defaultPrevented!==!0&&Y0!==m.value&&(Y0!==null&&M(),Y0=m.value,m.value.classList.add("q-btn--active"),document.addEventListener("mouseup",Z,kr)))}function Z(B){if(m.value!==null&&!(B?.type==="blur"&&document.activeElement===m.value)){if(B?.type==="keyup"){if($0===m.value&&R0(B,[13,32])===!0){const ne=new MouseEvent("click",B);ne.qKeyEvent=!0,B.defaultPrevented===!0&&Rr(ne),B.cancelBubble===!0&&Jr(ne),m.value.dispatchEvent(ne),Ut(B),B.qKeyEvent=!0}r("keyup",B)}M()}}function M(B){const ne=p.value;B!==!0&&(j0===m.value||Y0===m.value)&&ne!==null&&ne!==document.activeElement&&(ne.setAttribute("tabindex",-1),ne.focus()),j0===m.value&&(v!==null&&(v.removeEventListener("touchcancel",Z,kr),v.removeEventListener("touchend",Z,kr)),j0=v=null),Y0===m.value&&(document.removeEventListener("mouseup",Z,kr),Y0=null),$0===m.value&&(document.removeEventListener("keyup",Z,!0),m.value?.removeEventListener("blur",Z,kr),$0=null),m.value?.classList.remove("q-btn--active")}function U(B){Ut(B),B.qSkipRipple=!0}return Wt(()=>{M(!0)}),Object.assign(n,{click:B=>{f.value===!0&&z(B)}}),()=>{let B=[];e.icon!==void 0&&B.push(G(Er,{name:e.icon,left:e.stack!==!0&&T.value===!0,role:"img"})),T.value===!0&&B.push(G("span",{class:"block"},[e.label])),B=ru(t.default,B),e.iconRight!==void 0&&e.round===!1&&B.push(G(Er,{name:e.iconRight,right:e.stack!==!0&&T.value===!0,role:"img"}));const ne=[G("span",{class:"q-focus-helper",ref:p})];return e.loading===!0&&e.percentage!==void 0&&ne.push(G("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[G("span",{class:"q-btn__progress-indicator fit block",style:w.value})])),ne.push(G("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+a.value},B)),e.loading!==null&&ne.push(G(Ar,{name:"q-transition--fade"},()=>e.loading===!0?[G("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[G(eo)])]:null)),ql(G(l.value,j.value,ne),[[y2,D.value,void 0,_.value]])}}});let A5=1,C5=document.body;function Gl(e,t){const r=document.createElement("div");if(r.id=t!==void 0?`q-portal--${t}--${A5++}`:e,Sa.globalNodes!==void 0){const n=Sa.globalNodes.class;n!==void 0&&(r.className=n)}return C5.appendChild(r),r}function C2(e){e.remove()}let _5=0;const na={},ua={},Br={},_2={},D5=/^\s*$/,D2=[],E5=[void 0,null,!0,!1,""],Wl=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],M5=["top-left","top-right","bottom-left","bottom-right"],qu={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function E2(e,t,r){if(!e)return Eu("parameter required");let n;const u={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(u,na),r0(e)===!1&&(u.type&&Object.assign(u,qu[u.type]),e={message:e}),Object.assign(u,qu[e.type||u.type],e),typeof u.icon=="function"&&(u.icon=u.icon(t)),u.spinner?(u.spinner===!0&&(u.spinner=eo),u.spinner=gu(u.spinner)):u.spinner=!1,u.meta={hasMedia:!!(u.spinner!==!1||u.icon||u.avatar),hasText:R1(u.message)||R1(u.caption)},u.position){if(Wl.includes(u.position)===!1)return Eu("wrong position",e)}else u.position="bottom";if(E5.includes(u.timeout)===!0)u.timeout=5e3;else{const s=Number(u.timeout);if(isNaN(s)||s<0)return Eu("wrong timeout",e);u.timeout=Number.isFinite(s)?s:0}u.timeout===0?u.progress=!1:u.progress===!0&&(u.meta.progressClass="q-notification__progress"+(u.progressClass?` ${u.progressClass}`:""),u.meta.progressStyle={animationDuration:`${u.timeout+1e3}ms`});const i=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(na.actions)===!0?na.actions:[]).concat(Array.isArray(qu[e.type]?.actions)===!0?qu[e.type].actions:[]),{closeBtn:a}=u;if(a&&i.push({label:typeof a=="string"?a:t.lang.label.close}),u.actions=i.map(({handler:s,noDismiss:l,...c})=>({flat:!0,...c,onClick:typeof s=="function"?()=>{s(),l!==!0&&o()}:()=>{o()}})),u.multiLine===void 0&&(u.multiLine=u.actions.length>1),Object.assign(u.meta,{class:`q-notification row items-stretch q-notification--${u.multiLine===!0?"multi-line":"standard"}`+(u.color!==void 0?` bg-${u.color}`:"")+(u.textColor!==void 0?` text-${u.textColor}`:"")+(u.classes!==void 0?` ${u.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(u.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(u.multiLine===!0?"":" col"),leftClass:u.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...u.attrs}}),u.group===!1?(u.group=void 0,u.meta.group=void 0):((u.group===void 0||u.group===!0)&&(u.group=[u.message,u.caption,u.multiline].concat(u.actions.map(s=>`${s.label}*${s.icon}`)).join("|")),u.meta.group=u.group+"|"+u.position),u.actions.length===0?u.actions=void 0:u.meta.actionsClass="q-notification__actions row items-center "+(u.multiLine===!0?"justify-end":"col-auto")+(u.meta.hasMedia===!0?" q-notification__actions--with-media":""),r!==void 0){r.notif.meta.timer&&(clearTimeout(r.notif.meta.timer),r.notif.meta.timer=void 0),u.meta.uid=r.notif.meta.uid;const s=Br[u.position].value.indexOf(r.notif);Br[u.position].value[s]=u}else{const s=ua[u.meta.group];if(s===void 0){if(u.meta.uid=_5++,u.meta.badge=1,["left","right","center"].indexOf(u.position)!==-1)Br[u.position].value.splice(Math.floor(Br[u.position].value.length/2),0,u);else{const l=u.position.indexOf("top")!==-1?"unshift":"push";Br[u.position].value[l](u)}u.group!==void 0&&(ua[u.meta.group]=u)}else{if(s.meta.timer&&(clearTimeout(s.meta.timer),s.meta.timer=void 0),u.badgePosition!==void 0){if(M5.includes(u.badgePosition)===!1)return Eu("wrong badgePosition",e)}else u.badgePosition=`top-${u.position.indexOf("left")!==-1?"right":"left"}`;u.meta.uid=s.meta.uid,u.meta.badge=s.meta.badge+1,u.meta.badgeClass=`q-notification__badge q-notification__badge--${u.badgePosition}`+(u.badgeColor!==void 0?` bg-${u.badgeColor}`:"")+(u.badgeTextColor!==void 0?` text-${u.badgeTextColor}`:"")+(u.badgeClass?` ${u.badgeClass}`:"");const l=Br[u.position].value.indexOf(s);Br[u.position].value[l]=ua[u.meta.group]=u}}const o=()=>{T5(u),n=void 0};if(u.timeout>0&&(u.meta.timer=setTimeout(()=>{u.meta.timer=void 0,o()},u.timeout+1e3)),u.group!==void 0)return s=>{s!==void 0?Eu("trying to update a grouped one which is forbidden",e):o()};if(n={dismiss:o,config:e,notif:u},r!==void 0){Object.assign(r,n);return}return s=>{if(n!==void 0)if(s===void 0)n.dismiss();else{const l=Object.assign({},n.config,s,{group:!1,position:u.position});E2(l,t,n)}}}function T5(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Br[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete ua[e.meta.group];const r=D2[""+e.meta.uid];if(r){const{width:n,height:u}=getComputedStyle(r);r.style.left=`${r.offsetLeft}px`,r.style.width=n,r.style.height=u}Br[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function R1(e){return e!=null&&D5.test(e)!==!0}function Eu(e,t){return console.error(`Notify: ${e}`,t),!1}function F5(){return Kt({name:"QNotifications",devtools:{hide:!0},setup(){return()=>G("div",{class:"q-notifications"},Wl.map(e=>G(gp,{key:e,class:_2[e],tag:"div",name:`q-notification--${e}`},()=>Br[e].value.map(t=>{const r=t.meta,n=[];if(r.hasMedia===!0&&(t.spinner!==!1?n.push(G(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+r.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?n.push(G(Er,{class:"q-notification__icon q-notification__icon--"+r.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&n.push(G(g2,{class:"q-notification__avatar q-notification__avatar--"+r.leftClass},()=>G("img",{src:t.avatar,"aria-hidden":"true"})))),r.hasText===!0){let i;const a={class:"q-notification__message col"};if(t.html===!0)a.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const o=[t.message];i=t.caption?[G("div",o),G("div",{class:"q-notification__caption"},[t.caption])]:o}n.push(G("div",a,i))}const u=[G("div",{class:r.contentClass},n)];return t.progress===!0&&u.push(G("div",{key:`${r.uid}|p|${r.badge}`,class:r.progressClass,style:r.progressStyle})),t.actions!==void 0&&u.push(G("div",{class:r.actionsClass},t.actions.map(i=>G(zr,i)))),r.badge>1&&u.push(G("div",{key:`${r.uid}|${r.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[r.badge])),G("div",{ref:i=>{D2[""+r.uid]=i},key:r.uid,class:r.class,...r.attrs},[G("div",{class:r.wrapperClass},u)])}))))}})}const z5={setDefaults(e){r0(e)===!0&&Object.assign(na,e)},registerType(e,t){r0(t)===!0&&(qu[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=r=>E2(r,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){Wl.forEach(n=>{Br[n]=we([]);const u=["left","center","right"].includes(n)===!0?"center":n.indexOf("top")!==-1?"top":"bottom",i=n.indexOf("left")!==-1?"start":n.indexOf("right")!==-1?"end":"center",a=["left","right"].includes(n)?`items-${n==="left"?"start":"end"} justify-center`:n==="center"?"flex-center":`items-${i}`;_2[n]=`q-notifications__list q-notifications__list--${u} fixed column no-wrap ${a}`});const r=Gl("q-notify");d2(F5(),t).mount(r)}}},B5=[Element,String],O5=[null,document,document.body,document.scrollingElement,document.documentElement];function q5(e,t){let r=o5(t);if(r===void 0){if(e==null)return window;r=e.closest(".scroll,.scroll-y,.overflow-auto")}return O5.includes(r)?window:r}function R5(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function L5(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let qi;function P5(){if(qi!==void 0)return qi;const e=document.createElement("p"),t=document.createElement("div");Ks(e,{width:"100%",height:"200px"}),Ks(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const r=e.offsetWidth;t.style.overflow="scroll";let n=e.offsetWidth;return r===n&&(n=t.clientWidth),t.remove(),qi=r-n,qi}function I5(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}let Mu=0,$o,Yo,Ru,Go=!1,L1,P1,I1,p0=null;function N5(e){H5(e)&&Ut(e)}function H5(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=Bp(e),r=e.shiftKey&&!e.deltaX,n=!r&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),u=r||n?e.deltaY:e.deltaX;for(let i=0;i<t.length;i++){const a=t[i];if(I5(a,n))return n?u<0&&a.scrollTop===0?!0:u>0&&a.scrollTop+a.clientHeight===a.scrollHeight:u<0&&a.scrollLeft===0?!0:u>0&&a.scrollLeft+a.clientWidth===a.scrollWidth}return!0}function N1(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Ri(e){Go!==!0&&(Go=!0,requestAnimationFrame(()=>{Go=!1;const{height:t}=e.target,{clientHeight:r,scrollTop:n}=document.scrollingElement;(Ru===void 0||t!==window.innerHeight)&&(Ru=r-t,document.scrollingElement.scrollTop=n),n>Ru&&(document.scrollingElement.scrollTop-=Math.ceil((n-Ru)/8))}))}function H1(e){const t=document.body,r=window.visualViewport!==void 0;if(e==="add"){const{overflowY:n,overflowX:u}=window.getComputedStyle(t);$o=L5(window),Yo=R5(window),L1=t.style.left,P1=t.style.top,I1=window.location.href,t.style.left=`-${$o}px`,t.style.top=`-${Yo}px`,u!=="hidden"&&(u==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),n!=="hidden"&&(n==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Tt.is.ios===!0&&(r===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Ri,er.passiveCapture),window.visualViewport.addEventListener("scroll",Ri,er.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",N1,er.passiveCapture))}Tt.is.desktop===!0&&Tt.is.mac===!0&&window[`${e}EventListener`]("wheel",N5,er.notPassive),e==="remove"&&(Tt.is.ios===!0&&(r===!0?(window.visualViewport.removeEventListener("resize",Ri,er.passiveCapture),window.visualViewport.removeEventListener("scroll",Ri,er.passiveCapture)):window.removeEventListener("scroll",N1,er.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=L1,t.style.top=P1,window.location.href===I1&&window.scrollTo($o,Yo),Ru=void 0)}function Zs(e){let t="add";if(e===!0){if(Mu++,p0!==null){clearTimeout(p0),p0=null;return}if(Mu>1)return}else{if(Mu===0||(Mu--,Mu>0))return;if(t="remove",Tt.is.ios===!0&&Tt.is.nativeMobile===!0){p0!==null&&clearTimeout(p0),p0=setTimeout(()=>{H1(t),p0=null},100);return}}H1(t)}let G0,Wo,V1=0,v0=null,Rt={},k0={};const M2={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:eo,customClass:""},T2={...M2};function V5(e){if(e?.group!==void 0&&k0[e.group]!==void 0)return Object.assign(k0[e.group],e);const t=r0(e)===!0&&e.ignoreDefaults===!0?{...M2,...e}:{...T2,...e};return k0[t.group]=t,t}const Fr=vi({isActive:!1},{show(e){Rt=V5(e);const{group:t}=Rt;return Fr.isActive=!0,G0!==void 0?(Rt.uid=V1,Wo.$forceUpdate()):(Rt.uid=++V1,v0!==null&&clearTimeout(v0),v0=setTimeout(()=>{v0=null;const r=Gl("q-loading");G0=d2({name:"QLoading",setup(){cn(()=>{Zs(!0)});function n(){Fr.isActive!==!0&&G0!==void 0&&(Zs(!1),G0.unmount(r),C2(r),G0=void 0,Wo=void 0)}function u(){if(Fr.isActive!==!0)return null;const i=[G(Rt.spinner,{class:"q-loading__spinner",color:Rt.spinnerColor,size:Rt.spinnerSize})];return Rt.message&&i.push(G("div",{class:"q-loading__message"+(Rt.messageColor?` text-${Rt.messageColor}`:""),[Rt.html===!0?"innerHTML":"textContent"]:Rt.message})),G("div",{class:"q-loading fullscreen flex flex-center z-max "+Rt.customClass.trim(),key:Rt.uid},[G("div",{class:"q-loading__backdrop"+(Rt.backgroundColor?` bg-${Rt.backgroundColor}`:"")}),G("div",{class:"q-loading__box column items-center "+Rt.boxClass},i)])}return()=>G(Ar,{name:"q-transition--fade",appear:!0,onAfterLeave:n},u)}},Fr.__parentApp),Wo=G0.mount(r)},Rt.delay)),r=>{if(r===void 0||Object(r)!==r){Fr.hide(t);return}Fr.show({...r,group:t})}},hide(e){if(Fr.isActive===!0){if(e===void 0)k0={};else{if(k0[e]===void 0)return;{delete k0[e];const t=Object.keys(k0);if(t.length!==0){const r=t[t.length-1];Fr.show({group:r});return}}}v0!==null&&(clearTimeout(v0),v0=null),Fr.isActive=!1}},setDefaults(e){r0(e)===!0&&Object.assign(T2,e)},install({$q:e,parentApp:t}){e.loading=this,Fr.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),U5={isoName:"zh-CN",nativeName:"中文(简体)",label:{clear:"清空",ok:"确定",cancel:"取消",close:"关闭",set:"设置",select:"选择",reset:"重置",remove:"移除",update:"更新",create:"创建",search:"搜索",filter:"过滤",refresh:"刷新",expand:e=>e?`展开"${e}"`:"扩张",collapse:e=>e?`折叠"${e}"`:"坍塌"},date:{days:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),daysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),headerTitle:e=>new Intl.DateTimeFormat("zh-CN",{weekday:"short",month:"short",day:"numeric"}).format(e),firstDayOfWeek:0,format24h:!1,pluralDay:"天",prevMonth:"上个月",nextMonth:"下个月",prevYear:"上一年",nextYear:"下一年",today:"今天",prevRangeYears:e=>`以前${e}年`,nextRangeYears:e=>`接下来${e}年`},table:{noData:"没有可用数据",noResults:"找不到匹配的数据",loading:"正在加载...",selectedRecords:e=>"已选择"+e+"行",recordsPerPage:"每页的行数:",allRows:"全部",pagination:(e,t,r)=>e+"-"+t+" / "+r,columns:"列"},pagination:{first:"第一页",prev:"上一页",next:"下一页",last:"最后一页"},editor:{url:"URL",bold:"粗体",italic:"斜体",strikethrough:"删除线",underline:"下划线",unorderedList:"无序列表",orderedList:"有序列表",subscript:"下标",superscript:"上标",hyperlink:"超链接",toggleFullscreen:"全屏切换",quote:"引号",left:"左对齐",center:"居中对齐",right:"右对齐",justify:"两端对齐",print:"打印",outdent:"减少缩进",indent:"增加缩进",removeFormat:"清除样式",formatting:"格式化",fontSize:"字体大小",align:"对齐",hr:"插入水平线",undo:"撤消",redo:"重做",heading1:"标题一",heading2:"标题二",heading3:"标题三",heading4:"标题四",heading5:"标题五",heading6:"标题六",paragraph:"段落",code:"代码",size1:"非常小",size2:"比较小",size3:"正常",size4:"中等偏大",size5:"大",size6:"非常大",size7:"超级大",defaultFont:"默认字体",viewSource:"查看资料"},tree:{noNodes:"没有可用节点",noResults:"找不到匹配的节点"}};/*!
18
18
  * pinia v3.0.3
19
19
  * (c) 2025 Eduardo San Martin Morote
20
20
  * @license MIT
21
- */let z2;const ro=e=>z2=e,B2=Symbol();function Zs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Gu;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Gu||(Gu={}));function G5(){const e=Kd(!0),t=e.run(()=>xe({}));let r=[],n=[];const u=gu({install(i){ro(u),u._a=i,i.provide(B2,u),i.config.globalProperties.$pinia=u,n.forEach(a=>r.push(a)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return u}const O2=()=>{};function W1(e,t,r,n=O2){e.push(t);const u=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&Zd()&&g3(u),u}function W0(e,...t){e.slice().forEach(r=>{r(...t)})}const W5=e=>e(),K1=Symbol(),Ko=Symbol();function Qs(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],u=e[r];Zs(u)&&Zs(n)&&e.hasOwnProperty(r)&&!Ct(n)&&!Xn(n)?e[r]=Qs(u,n):e[r]=n}return e}const K5=Symbol();function Z5(e){return!Zs(e)||!Object.prototype.hasOwnProperty.call(e,K5)}const{assign:Hn}=Object;function Q5(e){return!!(Ct(e)&&e.effect)}function X5(e,t,r,n){const{state:u,actions:i,getters:a}=t,o=r.state.value[e];let s;function l(){o||(r.state.value[e]=u?u():{});const c=H3(r.state.value[e]);return Hn(c,i,Object.keys(a||{}).reduce((f,m)=>(f[m]=gu(W(()=>{ro(r);const p=r._s.get(e);return a[m].call(p,p)})),f),{}))}return s=R2(e,l,t,r,n,!0),s}function R2(e,t,r={},n,u,i){let a;const o=Hn({actions:{}},r),s={deep:!0};let l,c,f=[],m=[],p;const v=n.state.value[e];!i&&!v&&(n.state.value[e]={}),xe({});let x;function y(V){let S;l=c=!1,typeof V=="function"?(V(n.state.value[e]),S={type:Gu.patchFunction,storeId:e,events:p}):(Qs(n.state.value[e],V),S={type:Gu.patchObject,payload:V,storeId:e,events:p});const Y=x=Symbol();pt().then(()=>{x===Y&&(l=!0)}),c=!0,W0(f,S,n.state.value[e])}const T=i?function(){const{state:S}=r,Y=S?S():{};this.$patch(Z=>{Hn(Z,Y)})}:O2;function D(){a.stop(),f=[],m=[],n._s.delete(e)}const _=(V,S="")=>{if(K1 in V)return V[Ko]=S,V;const Y=function(){ro(n);const Z=Array.from(arguments),M=[],U=[];function B(I){M.push(I)}function ne(I){U.push(I)}W0(m,{args:Z,name:Y[Ko],store:F,after:B,onError:ne});let L;try{L=V.apply(this&&this.$id===e?this:F,Z)}catch(I){throw W0(U,I),I}return L instanceof Promise?L.then(I=>(W0(M,I),I)).catch(I=>(W0(U,I),Promise.reject(I))):(W0(M,L),L)};return Y[K1]=!0,Y[Ko]=S,Y},w={_p:n,$id:e,$onAction:W1.bind(null,m),$patch:y,$reset:T,$subscribe(V,S={}){const Y=W1(f,V,S.detached,()=>Z()),Z=a.run(()=>Ne(()=>n.state.value[e],M=>{(S.flush==="sync"?c:l)&&V({storeId:e,type:Gu.direct,events:p},M)},Hn({},s,S)));return Y},$dispose:D},F=vu(w);n._s.set(e,F);const z=(n._a&&n._a.runWithContext||W5)(()=>n._e.run(()=>(a=Kd()).run(()=>t({action:_}))));for(const V in z){const S=z[V];if(Ct(S)&&!Q5(S)||Xn(S))i||(v&&Z5(S)&&(Ct(S)?S.value=v[V]:Qs(S,v[V])),n.state.value[e][V]=S);else if(typeof S=="function"){const Y=_(S,V);z[V]=Y,o.actions[V]=S}}return Hn(F,z),Hn(Qe(F),z),Object.defineProperty(F,"$state",{get:()=>n.state.value[e],set:V=>{y(S=>{Hn(S,V)})}}),n._p.forEach(V=>{Hn(F,a.run(()=>V({store:F,app:n._a,pinia:n,options:o})))}),v&&i&&r.hydrate&&r.hydrate(F.$state,v),l=!0,c=!0,F}/*! #__NO_SIDE_EFFECTS__ */function J5(e,t,r){let n;const u=typeof t=="function";n=u?r:t;function i(a,o){const s=v6();return a=a||(s?M0(B2,null):null),a&&ro(a),a=z2,a._s.has(e)||(u?R2(e,t,n,a):X5(e,n,a)),a._s.get(e)}return i.$id=e,i}const Z1={};function e8(e){let t=Z1[e];if(t)return t;t=Z1[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);t.push(n)}for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function fu(e,t){typeof t!="string"&&(t=fu.defaultChars);const r=e8(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let u="";for(let i=0,a=n.length;i<a;i+=3){const o=parseInt(n.slice(i+1,i+3),16);if(o<128){u+=r[o];continue}if((o&224)===192&&i+3<a){const s=parseInt(n.slice(i+4,i+6),16);if((s&192)===128){const l=o<<6&1984|s&63;l<128?u+="��":u+=String.fromCharCode(l),i+=3;continue}}if((o&240)===224&&i+6<a){const s=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16);if((s&192)===128&&(l&192)===128){const c=o<<12&61440|s<<6&4032|l&63;c<2048||c>=55296&&c<=57343?u+="���":u+=String.fromCharCode(c),i+=6;continue}}if((o&248)===240&&i+9<a){const s=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16),c=parseInt(n.slice(i+10,i+12),16);if((s&192)===128&&(l&192)===128&&(c&192)===128){let f=o<<18&1835008|s<<12&258048|l<<6&4032|c&63;f<65536||f>1114111?u+="����":(f-=65536,u+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),i+=9;continue}}u+="�"}return u})}fu.defaultChars=";/?:@&=+$,#";fu.componentChars="";const Q1={};function t8(e){let t=Q1[e];if(t)return t;t=Q1[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}function gi(e,t,r){typeof t!="string"&&(r=t,t=gi.defaultChars),typeof r>"u"&&(r=!0);const n=t8(t);let u="";for(let i=0,a=e.length;i<a;i++){const o=e.charCodeAt(i);if(r&&o===37&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){u+=e.slice(i,i+3),i+=2;continue}if(o<128){u+=n[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&i+1<a){const s=e.charCodeAt(i+1);if(s>=56320&&s<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}u+="%EF%BF%BD";continue}u+=encodeURIComponent(e[i])}return u}gi.defaultChars=";/?:@&=+$,-_.!~*'()#";gi.componentChars="-_.!~*'()";function Zl(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function _a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const r8=/^([a-z0-9.+-]+:)/i,n8=/:[0-9]*$/,u8=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i8=["<",">",'"',"`"," ","\r",`
22
- `," "],a8=["{","}","|","\\","^","`"].concat(i8),o8=["'"].concat(a8),X1=["%","/","?",";","#"].concat(o8),J1=["/","?","#"],s8=255,ef=/^[+a-z0-9A-Z_-]{0,63}$/,l8=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,tf={javascript:!0,"javascript:":!0},rf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ql(e,t){if(e&&e instanceof _a)return e;const r=new _a;return r.parse(e,t),r}_a.prototype.parse=function(e,t){let r,n,u,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=u8.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=r8.exec(i);if(a&&(a=a[0],r=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(u=i.substr(0,2)==="//",u&&!(a&&tf[a])&&(i=i.substr(2),this.slashes=!0)),!tf[a]&&(u||a&&!rf[a])){let l=-1;for(let v=0;v<J1.length;v++)n=i.indexOf(J1[v]),n!==-1&&(l===-1||n<l)&&(l=n);let c,f;l===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",l),f!==-1&&(c=i.slice(0,f),i=i.slice(f+1),this.auth=c),l=-1;for(let v=0;v<X1.length;v++)n=i.indexOf(X1[v]),n!==-1&&(l===-1||n<l)&&(l=n);l===-1&&(l=i.length),i[l-1]===":"&&l--;const m=i.slice(0,l);i=i.slice(l),this.parseHost(m),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const v=this.hostname.split(/\./);for(let x=0,y=v.length;x<y;x++){const T=v[x];if(T&&!T.match(ef)){let D="";for(let _=0,w=T.length;_<w;_++)T.charCodeAt(_)>127?D+="x":D+=T[_];if(!D.match(ef)){const _=v.slice(0,x),w=v.slice(x+1),F=T.match(l8);F&&(_.push(F[1]),w.unshift(F[2])),w.length&&(i=w.join(".")+i),this.hostname=_.join(".");break}}}}this.hostname.length>s8&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=i.indexOf("#");o!==-1&&(this.hash=i.substr(o),i=i.slice(0,o));const s=i.indexOf("?");return s!==-1&&(this.search=i.substr(s),i=i.slice(0,s)),i&&(this.pathname=i),rf[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};_a.prototype.parseHost=function(e){let t=n8.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const c8=Object.freeze(Object.defineProperty({__proto__:null,decode:fu,encode:gi,format:Zl,parse:Ql},Symbol.toStringTag,{value:"Module"})),q2=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,L2=/[\0-\x1F\x7F-\x9F]/,f8=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Xl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,P2=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,I2=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,d8=Object.freeze(Object.defineProperty({__proto__:null,Any:q2,Cc:L2,Cf:f8,P:Xl,S:P2,Z:I2},Symbol.toStringTag,{value:"Module"})),h8=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),m8=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Zo;const p8=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),v8=(Zo=String.fromCodePoint)!==null&&Zo!==void 0?Zo:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function g8(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=p8.get(e))!==null&&t!==void 0?t:e}var Pt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Pt||(Pt={}));const b8=32;var Wn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Wn||(Wn={}));function Xs(e){return e>=Pt.ZERO&&e<=Pt.NINE}function y8(e){return e>=Pt.UPPER_A&&e<=Pt.UPPER_F||e>=Pt.LOWER_A&&e<=Pt.LOWER_F}function x8(e){return e>=Pt.UPPER_A&&e<=Pt.UPPER_Z||e>=Pt.LOWER_A&&e<=Pt.LOWER_Z||Xs(e)}function w8(e){return e===Pt.EQUALS||x8(e)}var Lt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Lt||(Lt={}));var Gn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Gn||(Gn={}));class k8{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=Lt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Gn.Strict}startEntity(t){this.decodeMode=t,this.state=Lt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Lt.EntityStart:return t.charCodeAt(r)===Pt.NUM?(this.state=Lt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Lt.NamedEntity,this.stateNamedEntity(t,r));case Lt.NumericStart:return this.stateNumericStart(t,r);case Lt.NumericDecimal:return this.stateNumericDecimal(t,r);case Lt.NumericHex:return this.stateNumericHex(t,r);case Lt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|b8)===Pt.LOWER_X?(this.state=Lt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Lt.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,u){if(r!==n){const i=n-r;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(r,i),u),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const u=t.charCodeAt(r);if(Xs(u)||y8(u))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const u=t.charCodeAt(r);if(Xs(u))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Pt.SEMI)this.consumed+=1;else if(this.decodeMode===Gn.Strict)return 0;return this.emitCodePoint(g8(this.result),this.consumed),this.errors&&(t!==Pt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let u=n[this.treeIndex],i=(u&Wn.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const a=t.charCodeAt(r);if(this.treeIndex=S8(n,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Gn.Attribute&&(i===0||w8(a))?0:this.emitNotTerminatedNamedEntity();if(u=n[this.treeIndex],i=(u&Wn.VALUE_LENGTH)>>14,i!==0){if(a===Pt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Gn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,u=(n[r]&Wn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:u}=this;return this.emitCodePoint(r===1?u[t]&~Wn.VALUE_LENGTH:u[t+1],n),r===3&&this.emitCodePoint(u[t+2],n),n}end(){var t;switch(this.state){case Lt.NamedEntity:return this.result!==0&&(this.decodeMode!==Gn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Lt.NumericDecimal:return this.emitNumericEntity(0,2);case Lt.NumericHex:return this.emitNumericEntity(0,3);case Lt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Lt.EntityStart:return 0}}}function N2(e){let t="";const r=new k8(e,n=>t+=v8(n));return function(u,i){let a=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(a,o),r.startEntity(i);const l=r.write(u,o+1);if(l<0){a=o+r.end();break}a=o+l,o=l===0?a+1:a}const s=t+u.slice(a);return t="",s}}function S8(e,t,r,n){const u=(t&Wn.BRANCH_LENGTH)>>7,i=t&Wn.JUMP_TABLE;if(u===0)return i!==0&&n===i?r:-1;if(i){const s=n-i;return s<0||s>=u?-1:e[r+s]-1}let a=r,o=a+u-1;for(;a<=o;){const s=a+o>>>1,l=e[s];if(l<n)a=s+1;else if(l>n)o=s-1;else return e[s+u]}return-1}const A8=N2(h8);N2(m8);function H2(e,t=Gn.Legacy){return A8(e,t)}function C8(e){return Object.prototype.toString.call(e)}function Jl(e){return C8(e)==="[object String]"}const _8=Object.prototype.hasOwnProperty;function D8(e,t){return _8.call(e,t)}function no(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){e[n]=r[n]})}}),e}function V2(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function ec(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Da(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const U2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,E8=/&([a-z#][a-z0-9]{1,31});/gi,M8=new RegExp(U2.source+"|"+E8.source,"gi"),T8=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function F8(e,t){if(t.charCodeAt(0)===35&&T8.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ec(n)?Da(n):e}const r=H2(e);return r!==e?r:e}function z8(e){return e.indexOf("\\")<0?e:e.replace(U2,"$1")}function du(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(M8,function(t,r,n){return r||F8(t,n)})}const B8=/[&<>"]/,O8=/[&<>"]/g,R8={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function q8(e){return R8[e]}function u0(e){return B8.test(e)?e.replace(O8,q8):e}const L8=/[.?*+^$[\]\\(){}|-]/g;function P8(e){return e.replace(L8,"\\$&")}function dt(e){switch(e){case 9:case 32:return!0}return!1}function ni(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ui(e){return Xl.test(e)||P2.test(e)}function ii(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function uo(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const I8={mdurl:c8,ucmicro:d8},N8=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:V2,assign:no,escapeHtml:u0,escapeRE:P8,fromCodePoint:Da,has:D8,isMdAsciiPunct:ii,isPunctChar:ui,isSpace:dt,isString:Jl,isValidEntityCode:ec,isWhiteSpace:ni,lib:I8,normalizeReference:uo,unescapeAll:du,unescapeMd:z8},Symbol.toStringTag,{value:"Module"}));function H8(e,t,r){let n,u,i,a;const o=e.posMax,s=e.pos;for(e.pos=t+1,n=1;e.pos<o;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){u=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)n++;else if(r)return e.pos=s,-1}}let l=-1;return u&&(l=e.pos),e.pos=s,l}function V8(e,t,r){let n,u=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(u)===60){for(u++;u<r;){if(n=e.charCodeAt(u),n===10||n===60)return i;if(n===62)return i.pos=u+1,i.str=du(e.slice(t+1,u)),i.ok=!0,i;if(n===92&&u+1<r){u+=2;continue}u++}return i}let a=0;for(;u<r&&(n=e.charCodeAt(u),!(n===32||n<32||n===127));){if(n===92&&u+1<r){if(e.charCodeAt(u+1)===32)break;u+=2;continue}if(n===40&&(a++,a>32))return i;if(n===41){if(a===0)break;a--}u++}return t===u||a!==0||(i.str=du(e.slice(t,u)),i.pos=u,i.ok=!0),i}function U8(e,t,r,n){let u,i=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)a.str=n.str,a.marker=n.marker;else{if(i>=r)return a;let o=e.charCodeAt(i);if(o!==34&&o!==39&&o!==40)return a;t++,i++,o===40&&(o=41),a.marker=o}for(;i<r;){if(u=e.charCodeAt(i),u===a.marker)return a.pos=i+1,a.str+=du(e.slice(t,i)),a.ok=!0,a;if(u===40&&a.marker===41)return a;u===92&&i+1<r&&i++,i++}return a.can_continue=!0,a.str+=du(e.slice(t,i)),a}const j8=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:V8,parseLinkLabel:H8,parseLinkTitle:U8},Symbol.toStringTag,{value:"Module"})),dn={};dn.code_inline=function(e,t,r,n,u){const i=e[t];return"<code"+u.renderAttrs(i)+">"+u0(i.content)+"</code>"};dn.code_block=function(e,t,r,n,u){const i=e[t];return"<pre"+u.renderAttrs(i)+"><code>"+u0(e[t].content)+`</code></pre>
23
- `};dn.fence=function(e,t,r,n,u){const i=e[t],a=i.info?du(i.info).trim():"";let o="",s="";if(a){const c=a.split(/(\s+)/g);o=c[0],s=c.slice(2).join("")}let l;if(r.highlight?l=r.highlight(i.content,o,s)||u0(i.content):l=u0(i.content),l.indexOf("<pre")===0)return l+`
21
+ */let F2;const to=e=>F2=e,z2=Symbol();function Qs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Gu;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Gu||(Gu={}));function j5(){const e=Wd(!0),t=e.run(()=>we({}));let r=[],n=[];const u=gu({install(i){to(u),u._a=i,i.provide(z2,u),i.config.globalProperties.$pinia=u,n.forEach(a=>r.push(a)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return u}const B2=()=>{};function U1(e,t,r,n=B2){e.push(t);const u=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&Kd()&&m3(u),u}function W0(e,...t){e.slice().forEach(r=>{r(...t)})}const $5=e=>e(),j1=Symbol(),Ko=Symbol();function Xs(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],u=e[r];Qs(u)&&Qs(n)&&e.hasOwnProperty(r)&&!Ct(n)&&!Qn(n)?e[r]=Xs(u,n):e[r]=n}return e}const Y5=Symbol();function G5(e){return!Qs(e)||!Object.prototype.hasOwnProperty.call(e,Y5)}const{assign:Nn}=Object;function W5(e){return!!(Ct(e)&&e.effect)}function K5(e,t,r,n){const{state:u,actions:i,getters:a}=t,o=r.state.value[e];let s;function l(){o||(r.state.value[e]=u?u():{});const c=P3(r.state.value[e]);return Nn(c,i,Object.keys(a||{}).reduce((f,m)=>(f[m]=gu(W(()=>{to(r);const p=r._s.get(e);return a[m].call(p,p)})),f),{}))}return s=O2(e,l,t,r,n,!0),s}function O2(e,t,r={},n,u,i){let a;const o=Nn({actions:{}},r),s={deep:!0};let l,c,f=[],m=[],p;const v=n.state.value[e];!i&&!v&&(n.state.value[e]={}),we({});let x;function y(V){let S;l=c=!1,typeof V=="function"?(V(n.state.value[e]),S={type:Gu.patchFunction,storeId:e,events:p}):(Xs(n.state.value[e],V),S={type:Gu.patchObject,payload:V,storeId:e,events:p});const Y=x=Symbol();vt().then(()=>{x===Y&&(l=!0)}),c=!0,W0(f,S,n.state.value[e])}const T=i?function(){const{state:S}=r,Y=S?S():{};this.$patch(Z=>{Nn(Z,Y)})}:B2;function D(){a.stop(),f=[],m=[],n._s.delete(e)}const _=(V,S="")=>{if(j1 in V)return V[Ko]=S,V;const Y=function(){to(n);const Z=Array.from(arguments),M=[],U=[];function B(I){M.push(I)}function ne(I){U.push(I)}W0(m,{args:Z,name:Y[Ko],store:F,after:B,onError:ne});let L;try{L=V.apply(this&&this.$id===e?this:F,Z)}catch(I){throw W0(U,I),I}return L instanceof Promise?L.then(I=>(W0(M,I),I)).catch(I=>(W0(U,I),Promise.reject(I))):(W0(M,L),L)};return Y[j1]=!0,Y[Ko]=S,Y},w={_p:n,$id:e,$onAction:U1.bind(null,m),$patch:y,$reset:T,$subscribe(V,S={}){const Y=U1(f,V,S.detached,()=>Z()),Z=a.run(()=>Ne(()=>n.state.value[e],M=>{(S.flush==="sync"?c:l)&&V({storeId:e,type:Gu.direct,events:p},M)},Nn({},s,S)));return Y},$dispose:D},F=vu(w);n._s.set(e,F);const z=(n._a&&n._a.runWithContext||$5)(()=>n._e.run(()=>(a=Wd()).run(()=>t({action:_}))));for(const V in z){const S=z[V];if(Ct(S)&&!W5(S)||Qn(S))i||(v&&G5(S)&&(Ct(S)?S.value=v[V]:Xs(S,v[V])),n.state.value[e][V]=S);else if(typeof S=="function"){const Y=_(S,V);z[V]=Y,o.actions[V]=S}}return Nn(F,z),Nn(Qe(F),z),Object.defineProperty(F,"$state",{get:()=>n.state.value[e],set:V=>{y(S=>{Nn(S,V)})}}),n._p.forEach(V=>{Nn(F,a.run(()=>V({store:F,app:n._a,pinia:n,options:o})))}),v&&i&&r.hydrate&&r.hydrate(F.$state,v),l=!0,c=!0,F}/*! #__NO_SIDE_EFFECTS__ */function Z5(e,t,r){let n;const u=typeof t=="function";n=u?r:t;function i(a,o){const s=h6();return a=a||(s?E0(z2,null):null),a&&to(a),a=F2,a._s.has(e)||(u?O2(e,t,n,a):K5(e,n,a)),a._s.get(e)}return i.$id=e,i}const $1={};function Q5(e){let t=$1[e];if(t)return t;t=$1[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);t.push(n)}for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function fu(e,t){typeof t!="string"&&(t=fu.defaultChars);const r=Q5(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let u="";for(let i=0,a=n.length;i<a;i+=3){const o=parseInt(n.slice(i+1,i+3),16);if(o<128){u+=r[o];continue}if((o&224)===192&&i+3<a){const s=parseInt(n.slice(i+4,i+6),16);if((s&192)===128){const l=o<<6&1984|s&63;l<128?u+="��":u+=String.fromCharCode(l),i+=3;continue}}if((o&240)===224&&i+6<a){const s=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16);if((s&192)===128&&(l&192)===128){const c=o<<12&61440|s<<6&4032|l&63;c<2048||c>=55296&&c<=57343?u+="���":u+=String.fromCharCode(c),i+=6;continue}}if((o&248)===240&&i+9<a){const s=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16),c=parseInt(n.slice(i+10,i+12),16);if((s&192)===128&&(l&192)===128&&(c&192)===128){let f=o<<18&1835008|s<<12&258048|l<<6&4032|c&63;f<65536||f>1114111?u+="����":(f-=65536,u+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),i+=9;continue}}u+="�"}return u})}fu.defaultChars=";/?:@&=+$,#";fu.componentChars="";const Y1={};function X5(e){let t=Y1[e];if(t)return t;t=Y1[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}function gi(e,t,r){typeof t!="string"&&(r=t,t=gi.defaultChars),typeof r>"u"&&(r=!0);const n=X5(t);let u="";for(let i=0,a=e.length;i<a;i++){const o=e.charCodeAt(i);if(r&&o===37&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){u+=e.slice(i,i+3),i+=2;continue}if(o<128){u+=n[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&i+1<a){const s=e.charCodeAt(i+1);if(s>=56320&&s<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}u+="%EF%BF%BD";continue}u+=encodeURIComponent(e[i])}return u}gi.defaultChars=";/?:@&=+$,-_.!~*'()#";gi.componentChars="-_.!~*'()";function Kl(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Aa(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const J5=/^([a-z0-9.+-]+:)/i,e8=/:[0-9]*$/,t8=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,r8=["<",">",'"',"`"," ","\r",`
22
+ `," "],n8=["{","}","|","\\","^","`"].concat(r8),u8=["'"].concat(n8),G1=["%","/","?",";","#"].concat(u8),W1=["/","?","#"],i8=255,K1=/^[+a-z0-9A-Z_-]{0,63}$/,a8=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Z1={javascript:!0,"javascript:":!0},Q1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Zl(e,t){if(e&&e instanceof Aa)return e;const r=new Aa;return r.parse(e,t),r}Aa.prototype.parse=function(e,t){let r,n,u,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=t8.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=J5.exec(i);if(a&&(a=a[0],r=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(u=i.substr(0,2)==="//",u&&!(a&&Z1[a])&&(i=i.substr(2),this.slashes=!0)),!Z1[a]&&(u||a&&!Q1[a])){let l=-1;for(let v=0;v<W1.length;v++)n=i.indexOf(W1[v]),n!==-1&&(l===-1||n<l)&&(l=n);let c,f;l===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",l),f!==-1&&(c=i.slice(0,f),i=i.slice(f+1),this.auth=c),l=-1;for(let v=0;v<G1.length;v++)n=i.indexOf(G1[v]),n!==-1&&(l===-1||n<l)&&(l=n);l===-1&&(l=i.length),i[l-1]===":"&&l--;const m=i.slice(0,l);i=i.slice(l),this.parseHost(m),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const v=this.hostname.split(/\./);for(let x=0,y=v.length;x<y;x++){const T=v[x];if(T&&!T.match(K1)){let D="";for(let _=0,w=T.length;_<w;_++)T.charCodeAt(_)>127?D+="x":D+=T[_];if(!D.match(K1)){const _=v.slice(0,x),w=v.slice(x+1),F=T.match(a8);F&&(_.push(F[1]),w.unshift(F[2])),w.length&&(i=w.join(".")+i),this.hostname=_.join(".");break}}}}this.hostname.length>i8&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=i.indexOf("#");o!==-1&&(this.hash=i.substr(o),i=i.slice(0,o));const s=i.indexOf("?");return s!==-1&&(this.search=i.substr(s),i=i.slice(0,s)),i&&(this.pathname=i),Q1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Aa.prototype.parseHost=function(e){let t=e8.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const o8=Object.freeze(Object.defineProperty({__proto__:null,decode:fu,encode:gi,format:Kl,parse:Zl},Symbol.toStringTag,{value:"Module"})),q2=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,R2=/[\0-\x1F\x7F-\x9F]/,s8=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ql=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,L2=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,P2=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,l8=Object.freeze(Object.defineProperty({__proto__:null,Any:q2,Cc:R2,Cf:s8,P:Ql,S:L2,Z:P2},Symbol.toStringTag,{value:"Module"})),c8=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),f8=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Zo;const d8=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),h8=(Zo=String.fromCodePoint)!==null&&Zo!==void 0?Zo:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function m8(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=d8.get(e))!==null&&t!==void 0?t:e}var Pt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Pt||(Pt={}));const p8=32;var Gn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Gn||(Gn={}));function Js(e){return e>=Pt.ZERO&&e<=Pt.NINE}function v8(e){return e>=Pt.UPPER_A&&e<=Pt.UPPER_F||e>=Pt.LOWER_A&&e<=Pt.LOWER_F}function g8(e){return e>=Pt.UPPER_A&&e<=Pt.UPPER_Z||e>=Pt.LOWER_A&&e<=Pt.LOWER_Z||Js(e)}function b8(e){return e===Pt.EQUALS||g8(e)}var Lt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Lt||(Lt={}));var Yn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Yn||(Yn={}));class y8{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=Lt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Yn.Strict}startEntity(t){this.decodeMode=t,this.state=Lt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Lt.EntityStart:return t.charCodeAt(r)===Pt.NUM?(this.state=Lt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Lt.NamedEntity,this.stateNamedEntity(t,r));case Lt.NumericStart:return this.stateNumericStart(t,r);case Lt.NumericDecimal:return this.stateNumericDecimal(t,r);case Lt.NumericHex:return this.stateNumericHex(t,r);case Lt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|p8)===Pt.LOWER_X?(this.state=Lt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Lt.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,u){if(r!==n){const i=n-r;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(r,i),u),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const u=t.charCodeAt(r);if(Js(u)||v8(u))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const u=t.charCodeAt(r);if(Js(u))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Pt.SEMI)this.consumed+=1;else if(this.decodeMode===Yn.Strict)return 0;return this.emitCodePoint(m8(this.result),this.consumed),this.errors&&(t!==Pt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let u=n[this.treeIndex],i=(u&Gn.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const a=t.charCodeAt(r);if(this.treeIndex=x8(n,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Yn.Attribute&&(i===0||b8(a))?0:this.emitNotTerminatedNamedEntity();if(u=n[this.treeIndex],i=(u&Gn.VALUE_LENGTH)>>14,i!==0){if(a===Pt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Yn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,u=(n[r]&Gn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:u}=this;return this.emitCodePoint(r===1?u[t]&~Gn.VALUE_LENGTH:u[t+1],n),r===3&&this.emitCodePoint(u[t+2],n),n}end(){var t;switch(this.state){case Lt.NamedEntity:return this.result!==0&&(this.decodeMode!==Yn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Lt.NumericDecimal:return this.emitNumericEntity(0,2);case Lt.NumericHex:return this.emitNumericEntity(0,3);case Lt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Lt.EntityStart:return 0}}}function I2(e){let t="";const r=new y8(e,n=>t+=h8(n));return function(u,i){let a=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(a,o),r.startEntity(i);const l=r.write(u,o+1);if(l<0){a=o+r.end();break}a=o+l,o=l===0?a+1:a}const s=t+u.slice(a);return t="",s}}function x8(e,t,r,n){const u=(t&Gn.BRANCH_LENGTH)>>7,i=t&Gn.JUMP_TABLE;if(u===0)return i!==0&&n===i?r:-1;if(i){const s=n-i;return s<0||s>=u?-1:e[r+s]-1}let a=r,o=a+u-1;for(;a<=o;){const s=a+o>>>1,l=e[s];if(l<n)a=s+1;else if(l>n)o=s-1;else return e[s+u]}return-1}const w8=I2(c8);I2(f8);function N2(e,t=Yn.Legacy){return w8(e,t)}function k8(e){return Object.prototype.toString.call(e)}function Xl(e){return k8(e)==="[object String]"}const S8=Object.prototype.hasOwnProperty;function A8(e,t){return S8.call(e,t)}function ro(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){e[n]=r[n]})}}),e}function H2(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function Jl(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Ca(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const V2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,C8=/&([a-z#][a-z0-9]{1,31});/gi,_8=new RegExp(V2.source+"|"+C8.source,"gi"),D8=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function E8(e,t){if(t.charCodeAt(0)===35&&D8.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Jl(n)?Ca(n):e}const r=N2(e);return r!==e?r:e}function M8(e){return e.indexOf("\\")<0?e:e.replace(V2,"$1")}function du(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(_8,function(t,r,n){return r||E8(t,n)})}const T8=/[&<>"]/,F8=/[&<>"]/g,z8={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function B8(e){return z8[e]}function n0(e){return T8.test(e)?e.replace(F8,B8):e}const O8=/[.?*+^$[\]\\(){}|-]/g;function q8(e){return e.replace(O8,"\\$&")}function it(e){switch(e){case 9:case 32:return!0}return!1}function ni(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ui(e){return Ql.test(e)||L2.test(e)}function ii(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function no(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const R8={mdurl:o8,ucmicro:l8},L8=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:H2,assign:ro,escapeHtml:n0,escapeRE:q8,fromCodePoint:Ca,has:A8,isMdAsciiPunct:ii,isPunctChar:ui,isSpace:it,isString:Xl,isValidEntityCode:Jl,isWhiteSpace:ni,lib:R8,normalizeReference:no,unescapeAll:du,unescapeMd:M8},Symbol.toStringTag,{value:"Module"}));function P8(e,t,r){let n,u,i,a;const o=e.posMax,s=e.pos;for(e.pos=t+1,n=1;e.pos<o;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){u=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)n++;else if(r)return e.pos=s,-1}}let l=-1;return u&&(l=e.pos),e.pos=s,l}function I8(e,t,r){let n,u=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(u)===60){for(u++;u<r;){if(n=e.charCodeAt(u),n===10||n===60)return i;if(n===62)return i.pos=u+1,i.str=du(e.slice(t+1,u)),i.ok=!0,i;if(n===92&&u+1<r){u+=2;continue}u++}return i}let a=0;for(;u<r&&(n=e.charCodeAt(u),!(n===32||n<32||n===127));){if(n===92&&u+1<r){if(e.charCodeAt(u+1)===32)break;u+=2;continue}if(n===40&&(a++,a>32))return i;if(n===41){if(a===0)break;a--}u++}return t===u||a!==0||(i.str=du(e.slice(t,u)),i.pos=u,i.ok=!0),i}function N8(e,t,r,n){let u,i=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)a.str=n.str,a.marker=n.marker;else{if(i>=r)return a;let o=e.charCodeAt(i);if(o!==34&&o!==39&&o!==40)return a;t++,i++,o===40&&(o=41),a.marker=o}for(;i<r;){if(u=e.charCodeAt(i),u===a.marker)return a.pos=i+1,a.str+=du(e.slice(t,i)),a.ok=!0,a;if(u===40&&a.marker===41)return a;u===92&&i+1<r&&i++,i++}return a.can_continue=!0,a.str+=du(e.slice(t,i)),a}const H8=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:I8,parseLinkLabel:P8,parseLinkTitle:N8},Symbol.toStringTag,{value:"Module"})),fn={};fn.code_inline=function(e,t,r,n,u){const i=e[t];return"<code"+u.renderAttrs(i)+">"+n0(i.content)+"</code>"};fn.code_block=function(e,t,r,n,u){const i=e[t];return"<pre"+u.renderAttrs(i)+"><code>"+n0(e[t].content)+`</code></pre>
23
+ `};fn.fence=function(e,t,r,n,u){const i=e[t],a=i.info?du(i.info).trim():"";let o="",s="";if(a){const c=a.split(/(\s+)/g);o=c[0],s=c.slice(2).join("")}let l;if(r.highlight?l=r.highlight(i.content,o,s)||n0(i.content):l=n0(i.content),l.indexOf("<pre")===0)return l+`
24
24
  `;if(a){const c=i.attrIndex("class"),f=i.attrs?i.attrs.slice():[];c<0?f.push(["class",r.langPrefix+o]):(f[c]=f[c].slice(),f[c][1]+=" "+r.langPrefix+o);const m={attrs:f};return`<pre><code${u.renderAttrs(m)}>${l}</code></pre>
25
25
  `}return`<pre><code${u.renderAttrs(i)}>${l}</code></pre>
26
- `};dn.image=function(e,t,r,n,u){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=u.renderInlineAsText(i.children,r,n),u.renderToken(e,t,r)};dn.hardbreak=function(e,t,r){return r.xhtmlOut?`<br />
26
+ `};fn.image=function(e,t,r,n,u){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=u.renderInlineAsText(i.children,r,n),u.renderToken(e,t,r)};fn.hardbreak=function(e,t,r){return r.xhtmlOut?`<br />
27
27
  `:`<br>
28
- `};dn.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`<br />
28
+ `};fn.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`<br />
29
29
  `:`<br>
30
30
  `:`
31
- `};dn.text=function(e,t){return u0(e[t].content)};dn.html_block=function(e,t){return e[t].content};dn.html_inline=function(e,t){return e[t].content};function yu(){this.rules=no({},dn)}yu.prototype.renderAttrs=function(t){let r,n,u;if(!t.attrs)return"";for(u="",r=0,n=t.attrs.length;r<n;r++)u+=" "+u0(t.attrs[r][0])+'="'+u0(t.attrs[r][1])+'"';return u};yu.prototype.renderToken=function(t,r,n){const u=t[r];let i="";if(u.hidden)return"";u.block&&u.nesting!==-1&&r&&t[r-1].hidden&&(i+=`
31
+ `};fn.text=function(e,t){return n0(e[t].content)};fn.html_block=function(e,t){return e[t].content};fn.html_inline=function(e,t){return e[t].content};function yu(){this.rules=ro({},fn)}yu.prototype.renderAttrs=function(t){let r,n,u;if(!t.attrs)return"";for(u="",r=0,n=t.attrs.length;r<n;r++)u+=" "+n0(t.attrs[r][0])+'="'+n0(t.attrs[r][1])+'"';return u};yu.prototype.renderToken=function(t,r,n){const u=t[r];let i="";if(u.hidden)return"";u.block&&u.nesting!==-1&&r&&t[r-1].hidden&&(i+=`
32
32
  `),i+=(u.nesting===-1?"</":"<")+u.tag,i+=this.renderAttrs(u),u.nesting===0&&n.xhtmlOut&&(i+=" /");let a=!1;if(u.block&&(a=!0,u.nesting===1&&r+1<t.length)){const o=t[r+1];(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===u.tag)&&(a=!1)}return i+=a?`>
33
33
  `:">",i};yu.prototype.renderInline=function(e,t,r){let n="";const u=this.rules;for(let i=0,a=e.length;i<a;i++){const o=e[i].type;typeof u[o]<"u"?n+=u[o](e,i,t,r,this):n+=this.renderToken(e,i,t)}return n};yu.prototype.renderInlineAsText=function(e,t,r){let n="";for(let u=0,i=e.length;u<i;u++)switch(e[u].type){case"text":n+=e[u].content;break;case"image":n+=this.renderInlineAsText(e[u].children,t,r);break;case"html_inline":case"html_block":n+=e[u].content;break;case"softbreak":case"hardbreak":n+=`
34
- `;break}return n};yu.prototype.render=function(e,t,r){let n="";const u=this.rules;for(let i=0,a=e.length;i<a;i++){const o=e[i].type;o==="inline"?n+=this.renderInline(e[i].children,t,r):typeof u[o]<"u"?n+=u[o](e,i,t,r,this):n+=this.renderToken(e,i,t,r)}return n};function cr(){this.__rules__=[],this.__cache__=null}cr.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};cr.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(r){e.__cache__[r]=[],e.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||e.__cache__[r].push(n.fn))})})};cr.prototype.at=function(e,t,r){const n=this.__find__(e),u=r||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=u.alt||[],this.__cache__=null};cr.prototype.before=function(e,t,r,n){const u=this.__find__(e),i=n||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(u,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};cr.prototype.after=function(e,t,r,n){const u=this.__find__(e),i=n||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(u+1,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};cr.prototype.push=function(e,t,r){const n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};cr.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach(function(n){const u=this.__find__(n);if(u<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[u].enabled=!0,r.push(n)},this),this.__cache__=null,r};cr.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(e,t)};cr.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach(function(n){const u=this.__find__(n);if(u<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[u].enabled=!1,r.push(n)},this),this.__cache__=null,r};cr.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Vr(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Vr.prototype.attrIndex=function(t){if(!this.attrs)return-1;const r=this.attrs;for(let n=0,u=r.length;n<u;n++)if(r[n][0]===t)return n;return-1};Vr.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Vr.prototype.attrSet=function(t,r){const n=this.attrIndex(t),u=[t,r];n<0?this.attrPush(u):this.attrs[n]=u};Vr.prototype.attrGet=function(t){const r=this.attrIndex(t);let n=null;return r>=0&&(n=this.attrs[r][1]),n};Vr.prototype.attrJoin=function(t,r){const n=this.attrIndex(t);n<0?this.attrPush([t,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};function j2(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}j2.prototype.Token=Vr;const $8=/\r\n?|\n/g,Y8=/\0/g;function G8(e){let t;t=e.src.replace($8,`
35
- `),t=t.replace(Y8,"�"),e.src=t}function W8(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function K8(e){const t=e.tokens;for(let r=0,n=t.length;r<n;r++){const u=t[r];u.type==="inline"&&e.md.inline.parse(u.content,e.md,e.env,u.children)}}function Z8(e){return/^<a[>\s]/i.test(e)}function Q8(e){return/^<\/a\s*>/i.test(e)}function X8(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r<n;r++){if(t[r].type!=="inline"||!e.md.linkify.pretest(t[r].content))continue;let u=t[r].children,i=0;for(let a=u.length-1;a>=0;a--){const o=u[a];if(o.type==="link_close"){for(a--;u[a].level!==o.level&&u[a].type!=="link_open";)a--;continue}if(o.type==="html_inline"&&(Z8(o.content)&&i>0&&i--,Q8(o.content)&&i++),!(i>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const s=o.content;let l=e.md.linkify.match(s);const c=[];let f=o.level,m=0;l.length>0&&l[0].index===0&&a>0&&u[a-1].type==="text_special"&&(l=l.slice(1));for(let p=0;p<l.length;p++){const v=l[p].url,x=e.md.normalizeLink(v);if(!e.md.validateLink(x))continue;let y=l[p].text;l[p].schema?l[p].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,"");const T=l[p].index;if(T>m){const F=new e.Token("text","",0);F.content=s.slice(m,T),F.level=f,c.push(F)}const D=new e.Token("link_open","a",1);D.attrs=[["href",x]],D.level=f++,D.markup="linkify",D.info="auto",c.push(D);const _=new e.Token("text","",0);_.content=y,_.level=f,c.push(_);const w=new e.Token("link_close","a",-1);w.level=--f,w.markup="linkify",w.info="auto",c.push(w),m=l[p].lastIndex}if(m<s.length){const p=new e.Token("text","",0);p.content=s.slice(m),p.level=f,c.push(p)}t[r].children=u=V2(u,a,c)}}}}const $2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,J8=/\((c|tm|r)\)/i,ev=/\((c|tm|r)\)/ig,tv={c:"©",r:"®",tm:"™"};function rv(e,t){return tv[t.toLowerCase()]}function nv(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&(n.content=n.content.replace(ev,rv)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function uv(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&$2.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function iv(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(J8.test(e.tokens[t].content)&&nv(e.tokens[t].children),$2.test(e.tokens[t].content)&&uv(e.tokens[t].children))}const av=/['"]/,nf=/['"]/g,uf="’";function Pi(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function ov(e,t){let r;const n=[];for(let u=0;u<e.length;u++){const i=e[u],a=e[u].level;for(r=n.length-1;r>=0&&!(n[r].level<=a);r--);if(n.length=r+1,i.type!=="text")continue;let o=i.content,s=0,l=o.length;e:for(;s<l;){nf.lastIndex=s;const c=nf.exec(o);if(!c)break;let f=!0,m=!0;s=c.index+1;const p=c[0]==="'";let v=32;if(c.index-1>=0)v=o.charCodeAt(c.index-1);else for(r=u-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){v=e[r].content.charCodeAt(e[r].content.length-1);break}let x=32;if(s<l)x=o.charCodeAt(s);else for(r=u+1;r<e.length&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r++)if(e[r].content){x=e[r].content.charCodeAt(0);break}const y=ii(v)||ui(String.fromCharCode(v)),T=ii(x)||ui(String.fromCharCode(x)),D=ni(v),_=ni(x);if(_?f=!1:T&&(D||y||(f=!1)),D?m=!1:y&&(_||T||(m=!1)),x===34&&c[0]==='"'&&v>=48&&v<=57&&(m=f=!1),f&&m&&(f=y,m=T),!f&&!m){p&&(i.content=Pi(i.content,c.index,uf));continue}if(m)for(r=n.length-1;r>=0;r--){let w=n[r];if(n[r].level<a)break;if(w.single===p&&n[r].level===a){w=n[r];let F,j;p?(F=t.md.options.quotes[2],j=t.md.options.quotes[3]):(F=t.md.options.quotes[0],j=t.md.options.quotes[1]),i.content=Pi(i.content,c.index,j),e[w.token].content=Pi(e[w.token].content,w.pos,F),s+=j.length-1,w.token===u&&(s+=F.length-1),o=i.content,l=o.length,n.length=r;continue e}}f?n.push({token:u,pos:c.index,single:p,level:a}):m&&p&&(i.content=Pi(i.content,c.index,uf))}}}function sv(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!av.test(e.tokens[t].content)||ov(e.tokens[t].children,e)}function lv(e){let t,r;const n=e.tokens,u=n.length;for(let i=0;i<u;i++){if(n[i].type!=="inline")continue;const a=n[i].children,o=a.length;for(t=0;t<o;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=r=0;t<o;t++)a[t].type==="text"&&t+1<o&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==r&&(a[r]=a[t]),r++);t!==r&&(a.length=r)}}const Qo=[["normalize",G8],["block",W8],["inline",K8],["linkify",X8],["replacements",iv],["smartquotes",sv],["text_join",lv]];function tc(){this.ruler=new cr;for(let e=0;e<Qo.length;e++)this.ruler.push(Qo[e][0],Qo[e][1])}tc.prototype.process=function(e){const t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)};tc.prototype.State=j2;function hn(e,t,r,n){this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const u=this.src;for(let i=0,a=0,o=0,s=0,l=u.length,c=!1;a<l;a++){const f=u.charCodeAt(a);if(!c)if(dt(f)){o++,f===9?s+=4-s%4:s++;continue}else c=!0;(f===10||a===l-1)&&(f!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(o),this.sCount.push(s),this.bsCount.push(0),c=!1,o=0,s=0,i=a+1)}this.bMarks.push(u.length),this.eMarks.push(u.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}hn.prototype.push=function(e,t,r){const n=new Vr(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n};hn.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};hn.prototype.skipEmptyLines=function(t){for(let r=this.lineMax;t<r&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};hn.prototype.skipSpaces=function(t){for(let r=this.src.length;t<r;t++){const n=this.src.charCodeAt(t);if(!dt(n))break}return t};hn.prototype.skipSpacesBack=function(t,r){if(t<=r)return t;for(;t>r;)if(!dt(this.src.charCodeAt(--t)))return t+1;return t};hn.prototype.skipChars=function(t,r){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===r;t++);return t};hn.prototype.skipCharsBack=function(t,r,n){if(t<=n)return t;for(;t>n;)if(r!==this.src.charCodeAt(--t))return t+1;return t};hn.prototype.getLines=function(t,r,n,u){if(t>=r)return"";const i=new Array(r-t);for(let a=0,o=t;o<r;o++,a++){let s=0;const l=this.bMarks[o];let c=l,f;for(o+1<r||u?f=this.eMarks[o]+1:f=this.eMarks[o];c<f&&s<n;){const m=this.src.charCodeAt(c);if(dt(m))m===9?s+=4-(s+this.bsCount[o])%4:s++;else if(c-l<this.tShift[o])s++;else break;c++}s>n?i[a]=new Array(s-n+1).join(" ")+this.src.slice(c,f):i[a]=this.src.slice(c,f)}return i.join("")};hn.prototype.Token=Vr;const cv=65536;function Xo(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function af(e){const t=[],r=e.length;let n=0,u=e.charCodeAt(n),i=!1,a=0,o="";for(;n<r;)u===124&&(i?(o+=e.substring(a,n-1),a=n):(t.push(o+e.substring(a,n)),o="",a=n+1)),i=u===92,n++,u=e.charCodeAt(n);return t.push(o+e.substring(a)),t}function fv(e,t,r,n){if(t+2>r)return!1;let u=t+1;if(e.sCount[u]<e.blkIndent||e.sCount[u]-e.blkIndent>=4)return!1;let i=e.bMarks[u]+e.tShift[u];if(i>=e.eMarks[u])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58||i>=e.eMarks[u])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58&&!dt(o)||a===45&&dt(o))return!1;for(;i<e.eMarks[u];){const w=e.src.charCodeAt(i);if(w!==124&&w!==45&&w!==58&&!dt(w))return!1;i++}let s=Xo(e,t+1),l=s.split("|");const c=[];for(let w=0;w<l.length;w++){const F=l[w].trim();if(!F){if(w===0||w===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(F))return!1;F.charCodeAt(F.length-1)===58?c.push(F.charCodeAt(0)===58?"center":"right"):F.charCodeAt(0)===58?c.push("left"):c.push("")}if(s=Xo(e,t).trim(),s.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=af(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const f=l.length;if(f===0||f!==c.length)return!1;if(n)return!0;const m=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),v=e.push("table_open","table",1),x=[t,0];v.map=x;const y=e.push("thead_open","thead",1);y.map=[t,t+1];const T=e.push("tr_open","tr",1);T.map=[t,t+1];for(let w=0;w<l.length;w++){const F=e.push("th_open","th",1);c[w]&&(F.attrs=[["style","text-align:"+c[w]]]);const j=e.push("inline","",0);j.content=l[w].trim(),j.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let D,_=0;for(u=t+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){let w=!1;for(let j=0,z=p.length;j<z;j++)if(p[j](e,u,r,!0)){w=!0;break}if(w||(s=Xo(e,u).trim(),!s)||e.sCount[u]-e.blkIndent>=4||(l=af(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),_+=f-l.length,_>cv))break;if(u===t+2){const j=e.push("tbody_open","tbody",1);j.map=D=[t+2,0]}const F=e.push("tr_open","tr",1);F.map=[u,u+1];for(let j=0;j<f;j++){const z=e.push("td_open","td",1);c[j]&&(z.attrs=[["style","text-align:"+c[j]]]);const V=e.push("inline","",0);V.content=l[j]?l[j].trim():"",V.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return D&&(e.push("tbody_close","tbody",-1),D[1]=u),e.push("table_close","table",-1),x[1]=u,e.parentType=m,e.line=u,!0}function dv(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,u=n;for(;n<r;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,u=n;continue}break}e.line=u;const i=e.push("code_block","code",0);return i.content=e.getLines(t,u,4+e.blkIndent,!1)+`
36
- `,i.map=[t,e.line],!0}function hv(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||u+3>i)return!1;const a=e.src.charCodeAt(u);if(a!==126&&a!==96)return!1;let o=u;u=e.skipChars(u,a);let s=u-o;if(s<3)return!1;const l=e.src.slice(o,u),c=e.src.slice(u,i);if(a===96&&c.indexOf(String.fromCharCode(a))>=0)return!1;if(n)return!0;let f=t,m=!1;for(;f++,!(f>=r||(u=o=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],u<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(u)===a&&!(e.sCount[f]-e.blkIndent>=4)&&(u=e.skipChars(u,a),!(u-o<s)&&(u=e.skipSpaces(u),!(u<i)))){m=!0;break}s=e.sCount[t],e.line=f+(m?1:0);const p=e.push("fence","code",0);return p.info=c,p.content=e.getLines(t+1,f,s,!0),p.markup=l,p.map=[t,e.line],!0}function mv(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(u)!==62)return!1;if(n)return!0;const o=[],s=[],l=[],c=[],f=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let p=!1,v;for(v=t;v<r;v++){const _=e.sCount[v]<e.blkIndent;if(u=e.bMarks[v]+e.tShift[v],i=e.eMarks[v],u>=i)break;if(e.src.charCodeAt(u++)===62&&!_){let F=e.sCount[v]+1,j,z;e.src.charCodeAt(u)===32?(u++,F++,z=!1,j=!0):e.src.charCodeAt(u)===9?(j=!0,(e.bsCount[v]+F)%4===3?(u++,F++,z=!1):z=!0):j=!1;let V=F;for(o.push(e.bMarks[v]),e.bMarks[v]=u;u<i;){const S=e.src.charCodeAt(u);if(dt(S))S===9?V+=4-(V+e.bsCount[v]+(z?1:0))%4:V++;else break;u++}p=u>=i,s.push(e.bsCount[v]),e.bsCount[v]=e.sCount[v]+1+(j?1:0),l.push(e.sCount[v]),e.sCount[v]=V-F,c.push(e.tShift[v]),e.tShift[v]=u-e.bMarks[v];continue}if(p)break;let w=!1;for(let F=0,j=f.length;F<j;F++)if(f[F](e,v,r,!0)){w=!0;break}if(w){e.lineMax=v,e.blkIndent!==0&&(o.push(e.bMarks[v]),s.push(e.bsCount[v]),c.push(e.tShift[v]),l.push(e.sCount[v]),e.sCount[v]-=e.blkIndent);break}o.push(e.bMarks[v]),s.push(e.bsCount[v]),c.push(e.tShift[v]),l.push(e.sCount[v]),e.sCount[v]=-1}const x=e.blkIndent;e.blkIndent=0;const y=e.push("blockquote_open","blockquote",1);y.markup=">";const T=[t,0];y.map=T,e.md.block.tokenize(e,t,v);const D=e.push("blockquote_close","blockquote",-1);D.markup=">",e.lineMax=a,e.parentType=m,T[1]=e.line;for(let _=0;_<c.length;_++)e.bMarks[_+t]=o[_],e.tShift[_+t]=c[_],e.sCount[_+t]=l[_],e.bsCount[_+t]=s[_];return e.blkIndent=x,!0}function pv(e,t,r,n){const u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(i++);if(a!==42&&a!==45&&a!==95)return!1;let o=1;for(;i<u;){const l=e.src.charCodeAt(i++);if(l!==a&&!dt(l))return!1;l===a&&o++}if(o<3)return!1;if(n)return!0;e.line=t+1;const s=e.push("hr","hr",0);return s.map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0}function of(e,t){const r=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const u=e.src.charCodeAt(n++);if(u!==42&&u!==45&&u!==43)return-1;if(n<r){const i=e.src.charCodeAt(n);if(!dt(i))return-1}return n}function sf(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let u=r;if(u+1>=n)return-1;let i=e.src.charCodeAt(u++);if(i<48||i>57)return-1;for(;;){if(u>=n)return-1;if(i=e.src.charCodeAt(u++),i>=48&&i<=57){if(u-r>=10)return-1;continue}if(i===41||i===46)break;return-1}return u<n&&(i=e.src.charCodeAt(u),!dt(i))?-1:u}function vv(e,t){const r=e.level+2;for(let n=t+2,u=e.tokens.length-2;n<u;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function gv(e,t,r,n){let u,i,a,o,s=t,l=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let c=!1;n&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(c=!0);let f,m,p;if((p=sf(e,s))>=0){if(f=!0,a=e.bMarks[s]+e.tShift[s],m=Number(e.src.slice(a,p-1)),c&&m!==1)return!1}else if((p=of(e,s))>=0)f=!1;else return!1;if(c&&e.skipSpaces(p)>=e.eMarks[s])return!1;if(n)return!0;const v=e.src.charCodeAt(p-1),x=e.tokens.length;f?(o=e.push("ordered_list_open","ol",1),m!==1&&(o.attrs=[["start",m]])):o=e.push("bullet_list_open","ul",1);const y=[s,0];o.map=y,o.markup=String.fromCharCode(v);let T=!1;const D=e.md.block.ruler.getRules("list"),_=e.parentType;for(e.parentType="list";s<r;){i=p,u=e.eMarks[s];const w=e.sCount[s]+p-(e.bMarks[s]+e.tShift[s]);let F=w;for(;i<u;){const ne=e.src.charCodeAt(i);if(ne===9)F+=4-(F+e.bsCount[s])%4;else if(ne===32)F++;else break;i++}const j=i;let z;j>=u?z=1:z=F-w,z>4&&(z=1);const V=w+z;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(v);const S=[s,0];o.map=S,f&&(o.info=e.src.slice(a,p-1));const Y=e.tight,Z=e.tShift[s],M=e.sCount[s],U=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=V,e.tight=!0,e.tShift[s]=j-e.bMarks[s],e.sCount[s]=F,j>=u&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,s,r,!0),(!e.tight||T)&&(l=!1),T=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=U,e.tShift[s]=Z,e.sCount[s]=M,e.tight=Y,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(v),s=e.line,S[1]=s,s>=r||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let B=!1;for(let ne=0,L=D.length;ne<L;ne++)if(D[ne](e,s,r,!0)){B=!0;break}if(B)break;if(f){if(p=sf(e,s),p<0)break;a=e.bMarks[s]+e.tShift[s]}else if(p=of(e,s),p<0)break;if(v!==e.src.charCodeAt(p-1))break}return f?o=e.push("ordered_list_close","ol",-1):o=e.push("bullet_list_close","ul",-1),o.markup=String.fromCharCode(v),y[1]=s,e.line=s,e.parentType=_,l&&vv(e,x),!0}function bv(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(u)!==91)return!1;function o(D){const _=e.lineMax;if(D>=_||e.isEmpty(D))return null;let w=!1;if(e.sCount[D]-e.blkIndent>3&&(w=!0),e.sCount[D]<0&&(w=!0),!w){const z=e.md.block.ruler.getRules("reference"),V=e.parentType;e.parentType="reference";let S=!1;for(let Y=0,Z=z.length;Y<Z;Y++)if(z[Y](e,D,_,!0)){S=!0;break}if(e.parentType=V,S)return null}const F=e.bMarks[D]+e.tShift[D],j=e.eMarks[D];return e.src.slice(F,j+1)}let s=e.src.slice(u,i+1);i=s.length;let l=-1;for(u=1;u<i;u++){const D=s.charCodeAt(u);if(D===91)return!1;if(D===93){l=u;break}else if(D===10){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}else if(D===92&&(u++,u<i&&s.charCodeAt(u)===10)){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}}if(l<0||s.charCodeAt(l+1)!==58)return!1;for(u=l+2;u<i;u++){const D=s.charCodeAt(u);if(D===10){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}else if(!dt(D))break}const c=e.md.helpers.parseLinkDestination(s,u,i);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;u=c.pos;const m=u,p=a,v=u;for(;u<i;u++){const D=s.charCodeAt(u);if(D===10){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}else if(!dt(D))break}let x=e.md.helpers.parseLinkTitle(s,u,i);for(;x.can_continue;){const D=o(a);if(D===null)break;s+=D,u=i,i=s.length,a++,x=e.md.helpers.parseLinkTitle(s,u,i,x)}let y;for(u<i&&v!==u&&x.ok?(y=x.str,u=x.pos):(y="",u=m,a=p);u<i;){const D=s.charCodeAt(u);if(!dt(D))break;u++}if(u<i&&s.charCodeAt(u)!==10&&y)for(y="",u=m,a=p;u<i;){const D=s.charCodeAt(u);if(!dt(D))break;u++}if(u<i&&s.charCodeAt(u)!==10)return!1;const T=uo(s.slice(1,l));return T?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[T]>"u"&&(e.env.references[T]={title:y,href:f}),e.line=a),!0):!1}const yv=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],xv="[a-zA-Z_:][a-zA-Z0-9:._-]*",wv="[^\"'=<>`\\x00-\\x20]+",kv="'[^']*'",Sv='"[^"]*"',Av="(?:"+wv+"|"+kv+"|"+Sv+")",Cv="(?:\\s+"+xv+"(?:\\s*=\\s*"+Av+")?)",Y2="<[A-Za-z][A-Za-z0-9\\-]*"+Cv+"*\\s*\\/?>",G2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",_v="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Dv="<[?][\\s\\S]*?[?]>",Ev="<![A-Za-z][^>]*>",Mv="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Tv=new RegExp("^(?:"+Y2+"|"+G2+"|"+_v+"|"+Dv+"|"+Ev+"|"+Mv+")"),Fv=new RegExp("^(?:"+Y2+"|"+G2+")"),K0=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+yv.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Fv.source+"\\s*$"),/^$/,!1]];function zv(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;let a=e.src.slice(u,i),o=0;for(;o<K0.length&&!K0[o][0].test(a);o++);if(o===K0.length)return!1;if(n)return K0[o][2];let s=t+1;if(!K0[o][1].test(a)){for(;s<r&&!(e.sCount[s]<e.blkIndent);s++)if(u=e.bMarks[s]+e.tShift[s],i=e.eMarks[s],a=e.src.slice(u,i),K0[o][1].test(a)){a.length!==0&&s++;break}}e.line=s;const l=e.push("html_block","",0);return l.map=[t,s],l.content=e.getLines(t,s,e.blkIndent,!0),!0}function Bv(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(u);if(a!==35||u>=i)return!1;let o=1;for(a=e.src.charCodeAt(++u);a===35&&u<i&&o<=6;)o++,a=e.src.charCodeAt(++u);if(o>6||u<i&&!dt(a))return!1;if(n)return!0;i=e.skipSpacesBack(i,u);const s=e.skipCharsBack(i,35,u);s>u&&dt(e.src.charCodeAt(s-1))&&(i=s),e.line=t+1;const l=e.push("heading_open","h"+String(o),1);l.markup="########".slice(0,o),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(u,i).trim(),c.map=[t,e.line],c.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup="########".slice(0,o),!0}function Ov(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const u=e.parentType;e.parentType="paragraph";let i=0,a,o=t+1;for(;o<r&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let p=e.bMarks[o]+e.tShift[o];const v=e.eMarks[o];if(p<v&&(a=e.src.charCodeAt(p),(a===45||a===61)&&(p=e.skipChars(p,a),p=e.skipSpaces(p),p>=v))){i=a===61?1:2;break}}if(e.sCount[o]<0)continue;let m=!1;for(let p=0,v=n.length;p<v;p++)if(n[p](e,o,r,!0)){m=!0;break}if(m)break}if(!i)return!1;const s=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o+1;const l=e.push("heading_open","h"+String(i),1);l.markup=String.fromCharCode(a),l.map=[t,e.line];const c=e.push("inline","",0);c.content=s,c.map=[t,e.line-1],c.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup=String.fromCharCode(a),e.parentType=u,!0}function Rv(e,t,r){const n=e.md.block.ruler.getRules("paragraph"),u=e.parentType;let i=t+1;for(e.parentType="paragraph";i<r&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let l=!1;for(let c=0,f=n.length;c<f;c++)if(n[c](e,i,r,!0)){l=!0;break}if(l)break}const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const o=e.push("paragraph_open","p",1);o.map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=u,!0}const Ii=[["table",fv,["paragraph","reference"]],["code",dv],["fence",hv,["paragraph","reference","blockquote","list"]],["blockquote",mv,["paragraph","reference","blockquote","list"]],["hr",pv,["paragraph","reference","blockquote","list"]],["list",gv,["paragraph","reference","blockquote"]],["reference",bv],["html_block",zv,["paragraph","reference","blockquote"]],["heading",Bv,["paragraph","reference","blockquote"]],["lheading",Ov],["paragraph",Rv]];function io(){this.ruler=new cr;for(let e=0;e<Ii.length;e++)this.ruler.push(Ii[e][0],Ii[e][1],{alt:(Ii[e][2]||[]).slice()})}io.prototype.tokenize=function(e,t,r){const n=this.ruler.getRules(""),u=n.length,i=e.md.options.maxNesting;let a=t,o=!1;for(;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r||e.sCount[a]<e.blkIndent));){if(e.level>=i){e.line=r;break}const s=e.line;let l=!1;for(let c=0;c<u;c++)if(l=n[c](e,a,r,!1),l){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),a=e.line,a<r&&e.isEmpty(a)&&(o=!0,a++,e.line=a)}};io.prototype.parse=function(e,t,r,n){if(!e)return;const u=new this.State(e,t,r,n);this.tokenize(u,u.line,u.lineMax)};io.prototype.State=hn;function bi(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}bi.prototype.pushPending=function(){const e=new Vr("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};bi.prototype.push=function(e,t,r){this.pending&&this.pushPending();const n=new Vr(e,t,r);let u=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],u={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(u),n};bi.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),u=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<r&&this.src.charCodeAt(i)===n;)i++;const a=i-e,o=i<r?this.src.charCodeAt(i):32,s=ii(u)||ui(String.fromCharCode(u)),l=ii(o)||ui(String.fromCharCode(o)),c=ni(u),f=ni(o),m=!f&&(!l||c||s),p=!c&&(!s||f||l);return{can_open:m&&(t||!p||s),can_close:p&&(t||!m||l),length:a}};bi.prototype.Token=Vr;function qv(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Lv(e,t){let r=e.pos;for(;r<e.posMax&&!qv(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}const Pv=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Iv(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const r=e.pos,n=e.posMax;if(r+3>n||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const u=e.pending.match(Pv);if(!u)return!1;const i=u[1],a=e.md.linkify.matchAtStart(e.src.slice(r-i.length));if(!a)return!1;let o=a.url;if(o.length<=i.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=o.length-i.length,!0}function Nv(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const n=e.pending.length-1,u=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<u&&dt(e.src.charCodeAt(r));)r++;return e.pos=r,!0}const rc=[];for(let e=0;e<256;e++)rc.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){rc[e.charCodeAt(0)]=1});function Hv(e,t){let r=e.pos;const n=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let u=e.src.charCodeAt(r);if(u===10){for(t||e.push("hardbreak","br",0),r++;r<n&&(u=e.src.charCodeAt(r),!!dt(u));)r++;return e.pos=r,!0}let i=e.src[r];if(u>=55296&&u<=56319&&r+1<n){const o=e.src.charCodeAt(r+1);o>=56320&&o<=57343&&(i+=e.src[r+1],r++)}const a="\\"+i;if(!t){const o=e.push("text_special","",0);u<256&&rc[u]!==0?o.content=i:o.content=a,o.markup=a,o.info="escape"}return e.pos=r+1,!0}function Vv(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const u=r;r++;const i=e.posMax;for(;r<i&&e.src.charCodeAt(r)===96;)r++;const a=e.src.slice(u,r),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=u)return t||(e.pending+=a),e.pos+=o,!0;let s=r,l;for(;(l=e.src.indexOf("`",s))!==-1;){for(s=l+1;s<i&&e.src.charCodeAt(s)===96;)s++;const c=s-l;if(c===o){if(!t){const f=e.push("code_inline","code",0);f.markup=a,f.content=e.src.slice(r,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}function Uv(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t||n!==126)return!1;const u=e.scanDelims(e.pos,!0);let i=u.length;const a=String.fromCharCode(n);if(i<2)return!1;let o;i%2&&(o=e.push("text","",0),o.content=a,i--);for(let s=0;s<i;s+=2)o=e.push("text","",0),o.content=a+a,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:u.can_open,close:u.can_close});return e.pos+=u.length,!0}function lf(e,t){let r;const n=[],u=t.length;for(let i=0;i<u;i++){const a=t[i];if(a.marker!==126||a.end===-1)continue;const o=t[a.end];r=e.tokens[a.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=e.tokens[o.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~"&&n.push(o.token-1)}for(;n.length;){const i=n.pop();let a=i+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,i!==a&&(r=e.tokens[a],e.tokens[a]=e.tokens[i],e.tokens[i]=r)}}function jv(e){const t=e.tokens_meta,r=e.tokens_meta.length;lf(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&lf(e,t[n].delimiters)}const W2={tokenize:Uv,postProcess:jv};function $v(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t||n!==95&&n!==42)return!1;const u=e.scanDelims(e.pos,n===42);for(let i=0;i<u.length;i++){const a=e.push("text","",0);a.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:u.length,token:e.tokens.length-1,end:-1,open:u.can_open,close:u.can_close})}return e.pos+=u.length,!0}function cf(e,t){const r=t.length;for(let n=r-1;n>=0;n--){const u=t[n];if(u.marker!==95&&u.marker!==42||u.end===-1)continue;const i=t[u.end],a=n>0&&t[n-1].end===u.end+1&&t[n-1].marker===u.marker&&t[n-1].token===u.token-1&&t[u.end+1].token===i.token+1,o=String.fromCharCode(u.marker),s=e.tokens[u.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";const l=e.tokens[i.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?o+o:o,l.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[u.end+1].token].content="",n--)}}function Yv(e){const t=e.tokens_meta,r=e.tokens_meta.length;cf(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&cf(e,t[n].delimiters)}const K2={tokenize:$v,postProcess:Yv};function Gv(e,t){let r,n,u,i,a="",o="",s=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,f=e.posMax,m=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let v=p+1;if(v<f&&e.src.charCodeAt(v)===40){for(l=!1,v++;v<f&&(r=e.src.charCodeAt(v),!(!dt(r)&&r!==10));v++);if(v>=f)return!1;if(s=v,u=e.md.helpers.parseLinkDestination(e.src,v,e.posMax),u.ok){for(a=e.md.normalizeLink(u.str),e.md.validateLink(a)?v=u.pos:a="",s=v;v<f&&(r=e.src.charCodeAt(v),!(!dt(r)&&r!==10));v++);if(u=e.md.helpers.parseLinkTitle(e.src,v,e.posMax),v<f&&s!==v&&u.ok)for(o=u.str,v=u.pos;v<f&&(r=e.src.charCodeAt(v),!(!dt(r)&&r!==10));v++);}(v>=f||e.src.charCodeAt(v)!==41)&&(l=!0),v++}if(l){if(typeof e.env.references>"u")return!1;if(v<f&&e.src.charCodeAt(v)===91?(s=v+1,v=e.md.helpers.parseLinkLabel(e,v),v>=0?n=e.src.slice(s,v++):v=p+1):v=p+1,n||(n=e.src.slice(m,p)),i=e.env.references[uo(n)],!i)return e.pos=c,!1;a=i.href,o=i.title}if(!t){e.pos=m,e.posMax=p;const x=e.push("link_open","a",1),y=[["href",a]];x.attrs=y,o&&y.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=v,e.posMax=f,!0}function Wv(e,t){let r,n,u,i,a,o,s,l,c="";const f=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const p=e.pos+2,v=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(v<0)return!1;if(i=v+1,i<m&&e.src.charCodeAt(i)===40){for(i++;i<m&&(r=e.src.charCodeAt(i),!(!dt(r)&&r!==10));i++);if(i>=m)return!1;for(l=i,o=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),o.ok&&(c=e.md.normalizeLink(o.str),e.md.validateLink(c)?i=o.pos:c=""),l=i;i<m&&(r=e.src.charCodeAt(i),!(!dt(r)&&r!==10));i++);if(o=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<m&&l!==i&&o.ok)for(s=o.str,i=o.pos;i<m&&(r=e.src.charCodeAt(i),!(!dt(r)&&r!==10));i++);else s="";if(i>=m||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<m&&e.src.charCodeAt(i)===91?(l=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?u=e.src.slice(l,i++):i=v+1):i=v+1,u||(u=e.src.slice(p,v)),a=e.env.references[uo(u)],!a)return e.pos=f,!1;c=a.href,s=a.title}if(!t){n=e.src.slice(p,v);const x=[];e.md.inline.parse(n,e.md,e.env,x);const y=e.push("image","img",0),T=[["src",c],["alt",""]];y.attrs=T,y.children=x,y.content=n,s&&T.push(["title",s])}return e.pos=i,e.posMax=m,!0}const Kv=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Zv=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Qv(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const n=e.pos,u=e.posMax;for(;;){if(++r>=u)return!1;const a=e.src.charCodeAt(r);if(a===60)return!1;if(a===62)break}const i=e.src.slice(n+1,r);if(Zv.test(i)){const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(Kv.test(i)){const a=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function Xv(e){return/^<a[>\s]/i.test(e)}function Jv(e){return/^<\/a\s*>/i.test(e)}function e7(e){const t=e|32;return t>=97&&t<=122}function t7(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;const u=e.src.charCodeAt(n+1);if(u!==33&&u!==63&&u!==47&&!e7(u))return!1;const i=e.src.slice(n).match(Tv);if(!i)return!1;if(!t){const a=e.push("html_inline","",0);a.content=i[0],Xv(a.content)&&e.linkLevel++,Jv(a.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const r7=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,n7=/^&([a-z][a-z0-9]{1,31});/i;function u7(e,t){const r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){const i=e.src.slice(r).match(r7);if(i){if(!t){const a=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),o=e.push("text_special","",0);o.content=ec(a)?Da(a):Da(65533),o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(r).match(n7);if(i){const a=H2(i[0]);if(a!==i[0]){if(!t){const o=e.push("text_special","",0);o.content=a,o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function ff(e){const t={},r=e.length;if(!r)return;let n=0,u=-2;const i=[];for(let a=0;a<r;a++){const o=e[a];if(i.push(0),(e[n].marker!==o.marker||u!==o.token-1)&&(n=a),u=o.token,o.length=o.length||0,!o.close)continue;t.hasOwnProperty(o.marker)||(t[o.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[o.marker][(o.open?3:0)+o.length%3];let l=n-i[n]-1,c=l;for(;l>s;l-=i[l]+1){const f=e[l];if(f.marker===o.marker&&f.open&&f.end<0){let m=!1;if((f.close||o.open)&&(f.length+o.length)%3===0&&(f.length%3!==0||o.length%3!==0)&&(m=!0),!m){const p=l>0&&!e[l-1].open?i[l-1]+1:0;i[a]=a-l+p,i[l]=p,o.open=!1,f.end=a,f.close=!1,c=-1,u=-2;break}}}c!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=c)}}function i7(e){const t=e.tokens_meta,r=e.tokens_meta.length;ff(e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&ff(t[n].delimiters)}function a7(e){let t,r,n=0;const u=e.tokens,i=e.tokens.length;for(t=r=0;t<i;t++)u[t].nesting<0&&n--,u[t].level=n,u[t].nesting>0&&n++,u[t].type==="text"&&t+1<i&&u[t+1].type==="text"?u[t+1].content=u[t].content+u[t+1].content:(t!==r&&(u[r]=u[t]),r++);t!==r&&(u.length=r)}const Jo=[["text",Lv],["linkify",Iv],["newline",Nv],["escape",Hv],["backticks",Vv],["strikethrough",W2.tokenize],["emphasis",K2.tokenize],["link",Gv],["image",Wv],["autolink",Qv],["html_inline",t7],["entity",u7]],es=[["balance_pairs",i7],["strikethrough",W2.postProcess],["emphasis",K2.postProcess],["fragments_join",a7]];function yi(){this.ruler=new cr;for(let e=0;e<Jo.length;e++)this.ruler.push(Jo[e][0],Jo[e][1]);this.ruler2=new cr;for(let e=0;e<es.length;e++)this.ruler2.push(es[e][0],es[e][1])}yi.prototype.skipToken=function(e){const t=e.pos,r=this.ruler.getRules(""),n=r.length,u=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let a=!1;if(e.level<u){for(let o=0;o<n;o++)if(e.level++,a=r[o](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,i[t]=e.pos};yi.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,u=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let a=!1;if(e.level<u){for(let o=0;o<r;o++)if(a=t[o](e,!1),a){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yi.prototype.parse=function(e,t,r,n){const u=new this.State(e,t,r,n);this.tokenize(u);const i=this.ruler2.getRules(""),a=i.length;for(let o=0;o<a;o++)i[o](u)};yi.prototype.State=bi;function o7(e){const t={};e=e||{},t.src_Any=q2.source,t.src_Cc=L2.source,t.src_Z=I2.source,t.src_P=Xl.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Js(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(n){e[n]=r[n]})}),e}function ao(e){return Object.prototype.toString.call(e)}function s7(e){return ao(e)==="[object String]"}function l7(e){return ao(e)==="[object Object]"}function c7(e){return ao(e)==="[object RegExp]"}function df(e){return ao(e)==="[object Function]"}function f7(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Z2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function d7(e){return Object.keys(e||{}).reduce(function(t,r){return t||Z2.hasOwnProperty(r)},!1)}const h7={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},m7="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",p7="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function v7(e){e.__index__=-1,e.__text_cache__=""}function g7(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function hf(){return function(e,t){t.normalize(e)}}function Ea(e){const t=e.re=o7(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(m7),r.push(t.src_xn),t.src_tlds=r.join("|");function n(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const u=[];e.__compiled__={};function i(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const l={validate:null,link:null};if(e.__compiled__[o]=l,l7(s)){c7(s.validate)?l.validate=g7(s.validate):df(s.validate)?l.validate=s.validate:i(o,s),df(s.normalize)?l.normalize=s.normalize:s.normalize?i(o,s):l.normalize=hf();return}if(s7(s)){u.push(o);return}i(o,s)}),u.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:hf()};const a=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(f7).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),v7(e)}function b7(e,t){const r=e.__index__,n=e.__last_index__,u=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=u,this.text=u,this.url=u}function el(e,t){const r=new b7(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function gr(e,t){if(!(this instanceof gr))return new gr(e,t);t||d7(e)&&(t=e,e={}),this.__opts__=Js({},Z2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Js({},h7,e),this.__compiled__={},this.__tlds__=p7,this.__tlds_replaced__=!1,this.re={},Ea(this)}gr.prototype.add=function(t,r){return this.__schemas__[t]=r,Ea(this),this};gr.prototype.set=function(t){return this.__opts__=Js(this.__opts__,t),this};gr.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let r,n,u,i,a,o,s,l,c;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(r=s.exec(t))!==null;)if(i=this.testSchemaAt(t,r[2],s.lastIndex),i){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(u=t.match(this.re.email_fuzzy))!==null&&(a=u.index+u[1].length,o=u.index+u[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0};gr.prototype.pretest=function(t){return this.re.pretest.test(t)};gr.prototype.testSchemaAt=function(t,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,n,this):0};gr.prototype.match=function(t){const r=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(r.push(el(this,n)),n=this.__last_index__);let u=n?t.slice(n):t;for(;this.test(u);)r.push(el(this,n)),u=u.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};gr.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const r=this.re.schema_at_start.exec(t);if(!r)return null;const n=this.testSchemaAt(t,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,el(this,0)):null};gr.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,u,i){return n!==i[u-1]}).reverse(),Ea(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Ea(this),this)};gr.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};gr.prototype.onCompile=function(){};const au=2147483647,un=36,nc=1,ai=26,y7=38,x7=700,Q2=72,X2=128,J2="-",w7=/^xn--/,k7=/[^\0-\x7F]/,S7=/[\x2E\u3002\uFF0E\uFF61]/g,A7={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ts=un-nc,an=Math.floor,rs=String.fromCharCode;function $n(e){throw new RangeError(A7[e])}function C7(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function e4(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(S7,".");const u=e.split("."),i=C7(u,t).join(".");return n+i}function t4(e){const t=[];let r=0;const n=e.length;for(;r<n;){const u=e.charCodeAt(r++);if(u>=55296&&u<=56319&&r<n){const i=e.charCodeAt(r++);(i&64512)==56320?t.push(((u&1023)<<10)+(i&1023)+65536):(t.push(u),r--)}else t.push(u)}return t}const _7=e=>String.fromCodePoint(...e),D7=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:un},mf=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},r4=function(e,t,r){let n=0;for(e=r?an(e/x7):e>>1,e+=an(e/t);e>ts*ai>>1;n+=un)e=an(e/ts);return an(n+(ts+1)*e/(e+y7))},n4=function(e){const t=[],r=e.length;let n=0,u=X2,i=Q2,a=e.lastIndexOf(J2);a<0&&(a=0);for(let o=0;o<a;++o)e.charCodeAt(o)>=128&&$n("not-basic"),t.push(e.charCodeAt(o));for(let o=a>0?a+1:0;o<r;){const s=n;for(let c=1,f=un;;f+=un){o>=r&&$n("invalid-input");const m=D7(e.charCodeAt(o++));m>=un&&$n("invalid-input"),m>an((au-n)/c)&&$n("overflow"),n+=m*c;const p=f<=i?nc:f>=i+ai?ai:f-i;if(m<p)break;const v=un-p;c>an(au/v)&&$n("overflow"),c*=v}const l=t.length+1;i=r4(n-s,l,s==0),an(n/l)>au-u&&$n("overflow"),u+=an(n/l),n%=l,t.splice(n++,0,u)}return String.fromCodePoint(...t)},u4=function(e){const t=[];e=t4(e);const r=e.length;let n=X2,u=0,i=Q2;for(const s of e)s<128&&t.push(rs(s));const a=t.length;let o=a;for(a&&t.push(J2);o<r;){let s=au;for(const c of e)c>=n&&c<s&&(s=c);const l=o+1;s-n>an((au-u)/l)&&$n("overflow"),u+=(s-n)*l,n=s;for(const c of e)if(c<n&&++u>au&&$n("overflow"),c===n){let f=u;for(let m=un;;m+=un){const p=m<=i?nc:m>=i+ai?ai:m-i;if(f<p)break;const v=f-p,x=un-p;t.push(rs(mf(p+v%x,0))),f=an(v/x)}t.push(rs(mf(f,0))),i=r4(u,l,o===a),u=0,++o}++u,++n}return t.join("")},E7=function(e){return e4(e,function(t){return w7.test(t)?n4(t.slice(4).toLowerCase()):t})},M7=function(e){return e4(e,function(t){return k7.test(t)?"xn--"+u4(t):t})},i4={version:"2.3.1",ucs2:{decode:t4,encode:_7},decode:n4,encode:u4,toASCII:M7,toUnicode:E7},T7={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},F7={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},z7={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},B7={default:T7,zero:F7,commonmark:z7},O7=/^(vbscript|javascript|file|data):/,R7=/^data:image\/(gif|png|jpeg|webp);/;function q7(e){const t=e.trim().toLowerCase();return O7.test(t)?R7.test(t):!0}const a4=["http:","https:","mailto:"];function L7(e){const t=Ql(e,!0);if(t.hostname&&(!t.protocol||a4.indexOf(t.protocol)>=0))try{t.hostname=i4.toASCII(t.hostname)}catch{}return gi(Zl(t))}function P7(e){const t=Ql(e,!0);if(t.hostname&&(!t.protocol||a4.indexOf(t.protocol)>=0))try{t.hostname=i4.toUnicode(t.hostname)}catch{}return fu(Zl(t),fu.defaultChars+"%")}function br(e,t){if(!(this instanceof br))return new br(e,t);t||Jl(e)||(t=e||{},e="default"),this.inline=new yi,this.block=new io,this.core=new tc,this.renderer=new yu,this.linkify=new gr,this.validateLink=q7,this.normalizeLink=L7,this.normalizeLinkText=P7,this.utils=N8,this.helpers=no({},j8),this.options={},this.configure(e),t&&this.set(t)}br.prototype.set=function(e){return no(this.options,e),this};br.prototype.configure=function(e){const t=this;if(Jl(e)){const r=e;if(e=B7[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};br.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(u){r=r.concat(this[u].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(u){return r.indexOf(u)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};br.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(u){r=r.concat(this[u].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(u){return r.indexOf(u)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};br.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};br.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};br.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};br.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};br.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const F0=[];function o4(e){F0[F0.length-1](e)}function uc(e){Tt.is.desktop===!0&&(F0.push(e),F0.length===1&&document.body.addEventListener("focusin",o4))}function Ma(e){const t=F0.indexOf(e);t!==-1&&(F0.splice(t,1),F0.length===0&&document.body.removeEventListener("focusin",o4))}function I7(e){const t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";const r=()=>{};uc(r),document.body.appendChild(t),t.focus(),t.select();const n=document.execCommand("copy");return t.remove(),Ma(r),n}function N7(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,r)=>{const n=I7(e);n?t(!0):r(n)})}function ic(){return M0(c2)}class hr{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new hr(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Mr{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new Mr(r,hr.range(this,t))}}class fe{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,u,i,a=r&&r.loc;if(a&&a.start<=a.end){var o=a.lexer.input;u=a.start,i=a.end,u===o.length?n+=" at end of input: ":n+=" at position "+(u+1)+": ";var s=o.slice(u,i).replace(/[^]/g,"$&̲"),l;u>15?l="…"+o.slice(u-15,u):l=o.slice(0,u);var c;i+15<o.length?c=o.slice(i,i+15)+"…":c=o.slice(i),n+=l+s+c}var f=new Error(n);return f.name="ParseError",f.__proto__=fe.prototype,f.position=u,u!=null&&i!=null&&(f.length=i-u),f.rawMessage=t,f}}fe.prototype.__proto__=Error.prototype;var H7=function(t,r){return t.indexOf(r)!==-1},V7=function(t,r){return t===void 0?r:t},U7=/([A-Z])/g,j7=function(t){return t.replace(U7,"-$1").toLowerCase()},$7={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Y7=/[&><"']/g;function G7(e){return String(e).replace(Y7,t=>$7[t])}var s4=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},W7=function(t){var r=s4(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},K7=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Z7=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},ze={contains:H7,deflt:V7,escape:G7,hyphenate:j7,getBaseElem:s4,isCharacterBox:W7,protocolFromUrl:Z7},aa={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Q7(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class ac{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in aa)if(aa.hasOwnProperty(r)){var n=aa[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Q7(n)}}reportNonstrict(t,r,n){var u=this.strict;if(typeof u=="function"&&(u=u(t,r,n)),!(!u||u==="ignore")){if(u===!0||u==="error")throw new fe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);u==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+u+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var u=this.strict;if(typeof u=="function")try{u=u(t,r,n)}catch{u="error"}return!u||u==="ignore"?!1:u===!0||u==="error"?!0:u==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+u+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=ze.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class qn{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return tn[X7[this.id]]}sub(){return tn[J7[this.id]]}fracNum(){return tn[eg[this.id]]}fracDen(){return tn[tg[this.id]]}cramp(){return tn[rg[this.id]]}text(){return tn[ng[this.id]]}isTight(){return this.size>=2}}var oc=0,Ta=1,ou=2,_n=3,oi=4,_r=5,hu=6,ur=7,tn=[new qn(oc,0,!1),new qn(Ta,0,!0),new qn(ou,1,!1),new qn(_n,1,!0),new qn(oi,2,!1),new qn(_r,2,!0),new qn(hu,3,!1),new qn(ur,3,!0)],X7=[oi,_r,oi,_r,hu,ur,hu,ur],J7=[_r,_r,_r,_r,ur,ur,ur,ur],eg=[ou,_n,oi,_r,hu,ur,hu,ur],tg=[_n,_n,_r,_r,ur,ur,ur,ur],rg=[Ta,Ta,_n,_n,_r,_r,ur,ur],ng=[oc,Ta,ou,_n,ou,_n,ou,_n],Oe={DISPLAY:tn[oc],TEXT:tn[ou],SCRIPT:tn[oi],SCRIPTSCRIPT:tn[hu]},tl=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ug(e){for(var t=0;t<tl.length;t++)for(var r=tl[t],n=0;n<r.blocks.length;n++){var u=r.blocks[n];if(e>=u[0]&&e<=u[1])return r.name}return null}var oa=[];tl.forEach(e=>e.blocks.forEach(t=>oa.push(...t)));function l4(e){for(var t=0;t<oa.length;t+=2)if(e>=oa[t]&&e<=oa[t+1])return!0;return!1}var Z0=80,ig=function(t,r){return"M95,"+(622+t+r)+`
34
+ `;break}return n};yu.prototype.render=function(e,t,r){let n="";const u=this.rules;for(let i=0,a=e.length;i<a;i++){const o=e[i].type;o==="inline"?n+=this.renderInline(e[i].children,t,r):typeof u[o]<"u"?n+=u[o](e,i,t,r,this):n+=this.renderToken(e,i,t,r)}return n};function cr(){this.__rules__=[],this.__cache__=null}cr.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};cr.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(r){e.__cache__[r]=[],e.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||e.__cache__[r].push(n.fn))})})};cr.prototype.at=function(e,t,r){const n=this.__find__(e),u=r||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=u.alt||[],this.__cache__=null};cr.prototype.before=function(e,t,r,n){const u=this.__find__(e),i=n||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(u,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};cr.prototype.after=function(e,t,r,n){const u=this.__find__(e),i=n||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(u+1,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};cr.prototype.push=function(e,t,r){const n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};cr.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach(function(n){const u=this.__find__(n);if(u<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[u].enabled=!0,r.push(n)},this),this.__cache__=null,r};cr.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(e,t)};cr.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach(function(n){const u=this.__find__(n);if(u<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[u].enabled=!1,r.push(n)},this),this.__cache__=null,r};cr.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Vr(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Vr.prototype.attrIndex=function(t){if(!this.attrs)return-1;const r=this.attrs;for(let n=0,u=r.length;n<u;n++)if(r[n][0]===t)return n;return-1};Vr.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Vr.prototype.attrSet=function(t,r){const n=this.attrIndex(t),u=[t,r];n<0?this.attrPush(u):this.attrs[n]=u};Vr.prototype.attrGet=function(t){const r=this.attrIndex(t);let n=null;return r>=0&&(n=this.attrs[r][1]),n};Vr.prototype.attrJoin=function(t,r){const n=this.attrIndex(t);n<0?this.attrPush([t,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};function U2(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}U2.prototype.Token=Vr;const V8=/\r\n?|\n/g,U8=/\0/g;function j8(e){let t;t=e.src.replace(V8,`
35
+ `),t=t.replace(U8,"�"),e.src=t}function $8(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Y8(e){const t=e.tokens;for(let r=0,n=t.length;r<n;r++){const u=t[r];u.type==="inline"&&e.md.inline.parse(u.content,e.md,e.env,u.children)}}function G8(e){return/^<a[>\s]/i.test(e)}function W8(e){return/^<\/a\s*>/i.test(e)}function K8(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r<n;r++){if(t[r].type!=="inline"||!e.md.linkify.pretest(t[r].content))continue;let u=t[r].children,i=0;for(let a=u.length-1;a>=0;a--){const o=u[a];if(o.type==="link_close"){for(a--;u[a].level!==o.level&&u[a].type!=="link_open";)a--;continue}if(o.type==="html_inline"&&(G8(o.content)&&i>0&&i--,W8(o.content)&&i++),!(i>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const s=o.content;let l=e.md.linkify.match(s);const c=[];let f=o.level,m=0;l.length>0&&l[0].index===0&&a>0&&u[a-1].type==="text_special"&&(l=l.slice(1));for(let p=0;p<l.length;p++){const v=l[p].url,x=e.md.normalizeLink(v);if(!e.md.validateLink(x))continue;let y=l[p].text;l[p].schema?l[p].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,"");const T=l[p].index;if(T>m){const F=new e.Token("text","",0);F.content=s.slice(m,T),F.level=f,c.push(F)}const D=new e.Token("link_open","a",1);D.attrs=[["href",x]],D.level=f++,D.markup="linkify",D.info="auto",c.push(D);const _=new e.Token("text","",0);_.content=y,_.level=f,c.push(_);const w=new e.Token("link_close","a",-1);w.level=--f,w.markup="linkify",w.info="auto",c.push(w),m=l[p].lastIndex}if(m<s.length){const p=new e.Token("text","",0);p.content=s.slice(m),p.level=f,c.push(p)}t[r].children=u=H2(u,a,c)}}}}const j2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Z8=/\((c|tm|r)\)/i,Q8=/\((c|tm|r)\)/ig,X8={c:"©",r:"®",tm:"™"};function J8(e,t){return X8[t.toLowerCase()]}function e7(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&(n.content=n.content.replace(Q8,J8)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function t7(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&j2.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function r7(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Z8.test(e.tokens[t].content)&&e7(e.tokens[t].children),j2.test(e.tokens[t].content)&&t7(e.tokens[t].children))}const n7=/['"]/,X1=/['"]/g,J1="’";function Li(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function u7(e,t){let r;const n=[];for(let u=0;u<e.length;u++){const i=e[u],a=e[u].level;for(r=n.length-1;r>=0&&!(n[r].level<=a);r--);if(n.length=r+1,i.type!=="text")continue;let o=i.content,s=0,l=o.length;e:for(;s<l;){X1.lastIndex=s;const c=X1.exec(o);if(!c)break;let f=!0,m=!0;s=c.index+1;const p=c[0]==="'";let v=32;if(c.index-1>=0)v=o.charCodeAt(c.index-1);else for(r=u-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){v=e[r].content.charCodeAt(e[r].content.length-1);break}let x=32;if(s<l)x=o.charCodeAt(s);else for(r=u+1;r<e.length&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r++)if(e[r].content){x=e[r].content.charCodeAt(0);break}const y=ii(v)||ui(String.fromCharCode(v)),T=ii(x)||ui(String.fromCharCode(x)),D=ni(v),_=ni(x);if(_?f=!1:T&&(D||y||(f=!1)),D?m=!1:y&&(_||T||(m=!1)),x===34&&c[0]==='"'&&v>=48&&v<=57&&(m=f=!1),f&&m&&(f=y,m=T),!f&&!m){p&&(i.content=Li(i.content,c.index,J1));continue}if(m)for(r=n.length-1;r>=0;r--){let w=n[r];if(n[r].level<a)break;if(w.single===p&&n[r].level===a){w=n[r];let F,j;p?(F=t.md.options.quotes[2],j=t.md.options.quotes[3]):(F=t.md.options.quotes[0],j=t.md.options.quotes[1]),i.content=Li(i.content,c.index,j),e[w.token].content=Li(e[w.token].content,w.pos,F),s+=j.length-1,w.token===u&&(s+=F.length-1),o=i.content,l=o.length,n.length=r;continue e}}f?n.push({token:u,pos:c.index,single:p,level:a}):m&&p&&(i.content=Li(i.content,c.index,J1))}}}function i7(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!n7.test(e.tokens[t].content)||u7(e.tokens[t].children,e)}function a7(e){let t,r;const n=e.tokens,u=n.length;for(let i=0;i<u;i++){if(n[i].type!=="inline")continue;const a=n[i].children,o=a.length;for(t=0;t<o;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=r=0;t<o;t++)a[t].type==="text"&&t+1<o&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==r&&(a[r]=a[t]),r++);t!==r&&(a.length=r)}}const Qo=[["normalize",j8],["block",$8],["inline",Y8],["linkify",K8],["replacements",r7],["smartquotes",i7],["text_join",a7]];function ec(){this.ruler=new cr;for(let e=0;e<Qo.length;e++)this.ruler.push(Qo[e][0],Qo[e][1])}ec.prototype.process=function(e){const t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)};ec.prototype.State=U2;function dn(e,t,r,n){this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const u=this.src;for(let i=0,a=0,o=0,s=0,l=u.length,c=!1;a<l;a++){const f=u.charCodeAt(a);if(!c)if(it(f)){o++,f===9?s+=4-s%4:s++;continue}else c=!0;(f===10||a===l-1)&&(f!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(o),this.sCount.push(s),this.bsCount.push(0),c=!1,o=0,s=0,i=a+1)}this.bMarks.push(u.length),this.eMarks.push(u.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}dn.prototype.push=function(e,t,r){const n=new Vr(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n};dn.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};dn.prototype.skipEmptyLines=function(t){for(let r=this.lineMax;t<r&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};dn.prototype.skipSpaces=function(t){for(let r=this.src.length;t<r;t++){const n=this.src.charCodeAt(t);if(!it(n))break}return t};dn.prototype.skipSpacesBack=function(t,r){if(t<=r)return t;for(;t>r;)if(!it(this.src.charCodeAt(--t)))return t+1;return t};dn.prototype.skipChars=function(t,r){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===r;t++);return t};dn.prototype.skipCharsBack=function(t,r,n){if(t<=n)return t;for(;t>n;)if(r!==this.src.charCodeAt(--t))return t+1;return t};dn.prototype.getLines=function(t,r,n,u){if(t>=r)return"";const i=new Array(r-t);for(let a=0,o=t;o<r;o++,a++){let s=0;const l=this.bMarks[o];let c=l,f;for(o+1<r||u?f=this.eMarks[o]+1:f=this.eMarks[o];c<f&&s<n;){const m=this.src.charCodeAt(c);if(it(m))m===9?s+=4-(s+this.bsCount[o])%4:s++;else if(c-l<this.tShift[o])s++;else break;c++}s>n?i[a]=new Array(s-n+1).join(" ")+this.src.slice(c,f):i[a]=this.src.slice(c,f)}return i.join("")};dn.prototype.Token=Vr;const o7=65536;function Xo(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function ef(e){const t=[],r=e.length;let n=0,u=e.charCodeAt(n),i=!1,a=0,o="";for(;n<r;)u===124&&(i?(o+=e.substring(a,n-1),a=n):(t.push(o+e.substring(a,n)),o="",a=n+1)),i=u===92,n++,u=e.charCodeAt(n);return t.push(o+e.substring(a)),t}function s7(e,t,r,n){if(t+2>r)return!1;let u=t+1;if(e.sCount[u]<e.blkIndent||e.sCount[u]-e.blkIndent>=4)return!1;let i=e.bMarks[u]+e.tShift[u];if(i>=e.eMarks[u])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58||i>=e.eMarks[u])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58&&!it(o)||a===45&&it(o))return!1;for(;i<e.eMarks[u];){const w=e.src.charCodeAt(i);if(w!==124&&w!==45&&w!==58&&!it(w))return!1;i++}let s=Xo(e,t+1),l=s.split("|");const c=[];for(let w=0;w<l.length;w++){const F=l[w].trim();if(!F){if(w===0||w===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(F))return!1;F.charCodeAt(F.length-1)===58?c.push(F.charCodeAt(0)===58?"center":"right"):F.charCodeAt(0)===58?c.push("left"):c.push("")}if(s=Xo(e,t).trim(),s.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=ef(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const f=l.length;if(f===0||f!==c.length)return!1;if(n)return!0;const m=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),v=e.push("table_open","table",1),x=[t,0];v.map=x;const y=e.push("thead_open","thead",1);y.map=[t,t+1];const T=e.push("tr_open","tr",1);T.map=[t,t+1];for(let w=0;w<l.length;w++){const F=e.push("th_open","th",1);c[w]&&(F.attrs=[["style","text-align:"+c[w]]]);const j=e.push("inline","",0);j.content=l[w].trim(),j.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let D,_=0;for(u=t+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){let w=!1;for(let j=0,z=p.length;j<z;j++)if(p[j](e,u,r,!0)){w=!0;break}if(w||(s=Xo(e,u).trim(),!s)||e.sCount[u]-e.blkIndent>=4||(l=ef(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),_+=f-l.length,_>o7))break;if(u===t+2){const j=e.push("tbody_open","tbody",1);j.map=D=[t+2,0]}const F=e.push("tr_open","tr",1);F.map=[u,u+1];for(let j=0;j<f;j++){const z=e.push("td_open","td",1);c[j]&&(z.attrs=[["style","text-align:"+c[j]]]);const V=e.push("inline","",0);V.content=l[j]?l[j].trim():"",V.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return D&&(e.push("tbody_close","tbody",-1),D[1]=u),e.push("table_close","table",-1),x[1]=u,e.parentType=m,e.line=u,!0}function l7(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,u=n;for(;n<r;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,u=n;continue}break}e.line=u;const i=e.push("code_block","code",0);return i.content=e.getLines(t,u,4+e.blkIndent,!1)+`
36
+ `,i.map=[t,e.line],!0}function c7(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||u+3>i)return!1;const a=e.src.charCodeAt(u);if(a!==126&&a!==96)return!1;let o=u;u=e.skipChars(u,a);let s=u-o;if(s<3)return!1;const l=e.src.slice(o,u),c=e.src.slice(u,i);if(a===96&&c.indexOf(String.fromCharCode(a))>=0)return!1;if(n)return!0;let f=t,m=!1;for(;f++,!(f>=r||(u=o=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],u<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(u)===a&&!(e.sCount[f]-e.blkIndent>=4)&&(u=e.skipChars(u,a),!(u-o<s)&&(u=e.skipSpaces(u),!(u<i)))){m=!0;break}s=e.sCount[t],e.line=f+(m?1:0);const p=e.push("fence","code",0);return p.info=c,p.content=e.getLines(t+1,f,s,!0),p.markup=l,p.map=[t,e.line],!0}function f7(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(u)!==62)return!1;if(n)return!0;const o=[],s=[],l=[],c=[],f=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let p=!1,v;for(v=t;v<r;v++){const _=e.sCount[v]<e.blkIndent;if(u=e.bMarks[v]+e.tShift[v],i=e.eMarks[v],u>=i)break;if(e.src.charCodeAt(u++)===62&&!_){let F=e.sCount[v]+1,j,z;e.src.charCodeAt(u)===32?(u++,F++,z=!1,j=!0):e.src.charCodeAt(u)===9?(j=!0,(e.bsCount[v]+F)%4===3?(u++,F++,z=!1):z=!0):j=!1;let V=F;for(o.push(e.bMarks[v]),e.bMarks[v]=u;u<i;){const S=e.src.charCodeAt(u);if(it(S))S===9?V+=4-(V+e.bsCount[v]+(z?1:0))%4:V++;else break;u++}p=u>=i,s.push(e.bsCount[v]),e.bsCount[v]=e.sCount[v]+1+(j?1:0),l.push(e.sCount[v]),e.sCount[v]=V-F,c.push(e.tShift[v]),e.tShift[v]=u-e.bMarks[v];continue}if(p)break;let w=!1;for(let F=0,j=f.length;F<j;F++)if(f[F](e,v,r,!0)){w=!0;break}if(w){e.lineMax=v,e.blkIndent!==0&&(o.push(e.bMarks[v]),s.push(e.bsCount[v]),c.push(e.tShift[v]),l.push(e.sCount[v]),e.sCount[v]-=e.blkIndent);break}o.push(e.bMarks[v]),s.push(e.bsCount[v]),c.push(e.tShift[v]),l.push(e.sCount[v]),e.sCount[v]=-1}const x=e.blkIndent;e.blkIndent=0;const y=e.push("blockquote_open","blockquote",1);y.markup=">";const T=[t,0];y.map=T,e.md.block.tokenize(e,t,v);const D=e.push("blockquote_close","blockquote",-1);D.markup=">",e.lineMax=a,e.parentType=m,T[1]=e.line;for(let _=0;_<c.length;_++)e.bMarks[_+t]=o[_],e.tShift[_+t]=c[_],e.sCount[_+t]=l[_],e.bsCount[_+t]=s[_];return e.blkIndent=x,!0}function d7(e,t,r,n){const u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(i++);if(a!==42&&a!==45&&a!==95)return!1;let o=1;for(;i<u;){const l=e.src.charCodeAt(i++);if(l!==a&&!it(l))return!1;l===a&&o++}if(o<3)return!1;if(n)return!0;e.line=t+1;const s=e.push("hr","hr",0);return s.map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0}function tf(e,t){const r=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const u=e.src.charCodeAt(n++);if(u!==42&&u!==45&&u!==43)return-1;if(n<r){const i=e.src.charCodeAt(n);if(!it(i))return-1}return n}function rf(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let u=r;if(u+1>=n)return-1;let i=e.src.charCodeAt(u++);if(i<48||i>57)return-1;for(;;){if(u>=n)return-1;if(i=e.src.charCodeAt(u++),i>=48&&i<=57){if(u-r>=10)return-1;continue}if(i===41||i===46)break;return-1}return u<n&&(i=e.src.charCodeAt(u),!it(i))?-1:u}function h7(e,t){const r=e.level+2;for(let n=t+2,u=e.tokens.length-2;n<u;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function m7(e,t,r,n){let u,i,a,o,s=t,l=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let c=!1;n&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(c=!0);let f,m,p;if((p=rf(e,s))>=0){if(f=!0,a=e.bMarks[s]+e.tShift[s],m=Number(e.src.slice(a,p-1)),c&&m!==1)return!1}else if((p=tf(e,s))>=0)f=!1;else return!1;if(c&&e.skipSpaces(p)>=e.eMarks[s])return!1;if(n)return!0;const v=e.src.charCodeAt(p-1),x=e.tokens.length;f?(o=e.push("ordered_list_open","ol",1),m!==1&&(o.attrs=[["start",m]])):o=e.push("bullet_list_open","ul",1);const y=[s,0];o.map=y,o.markup=String.fromCharCode(v);let T=!1;const D=e.md.block.ruler.getRules("list"),_=e.parentType;for(e.parentType="list";s<r;){i=p,u=e.eMarks[s];const w=e.sCount[s]+p-(e.bMarks[s]+e.tShift[s]);let F=w;for(;i<u;){const ne=e.src.charCodeAt(i);if(ne===9)F+=4-(F+e.bsCount[s])%4;else if(ne===32)F++;else break;i++}const j=i;let z;j>=u?z=1:z=F-w,z>4&&(z=1);const V=w+z;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(v);const S=[s,0];o.map=S,f&&(o.info=e.src.slice(a,p-1));const Y=e.tight,Z=e.tShift[s],M=e.sCount[s],U=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=V,e.tight=!0,e.tShift[s]=j-e.bMarks[s],e.sCount[s]=F,j>=u&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,s,r,!0),(!e.tight||T)&&(l=!1),T=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=U,e.tShift[s]=Z,e.sCount[s]=M,e.tight=Y,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(v),s=e.line,S[1]=s,s>=r||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let B=!1;for(let ne=0,L=D.length;ne<L;ne++)if(D[ne](e,s,r,!0)){B=!0;break}if(B)break;if(f){if(p=rf(e,s),p<0)break;a=e.bMarks[s]+e.tShift[s]}else if(p=tf(e,s),p<0)break;if(v!==e.src.charCodeAt(p-1))break}return f?o=e.push("ordered_list_close","ol",-1):o=e.push("bullet_list_close","ul",-1),o.markup=String.fromCharCode(v),y[1]=s,e.line=s,e.parentType=_,l&&h7(e,x),!0}function p7(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(u)!==91)return!1;function o(D){const _=e.lineMax;if(D>=_||e.isEmpty(D))return null;let w=!1;if(e.sCount[D]-e.blkIndent>3&&(w=!0),e.sCount[D]<0&&(w=!0),!w){const z=e.md.block.ruler.getRules("reference"),V=e.parentType;e.parentType="reference";let S=!1;for(let Y=0,Z=z.length;Y<Z;Y++)if(z[Y](e,D,_,!0)){S=!0;break}if(e.parentType=V,S)return null}const F=e.bMarks[D]+e.tShift[D],j=e.eMarks[D];return e.src.slice(F,j+1)}let s=e.src.slice(u,i+1);i=s.length;let l=-1;for(u=1;u<i;u++){const D=s.charCodeAt(u);if(D===91)return!1;if(D===93){l=u;break}else if(D===10){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}else if(D===92&&(u++,u<i&&s.charCodeAt(u)===10)){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}}if(l<0||s.charCodeAt(l+1)!==58)return!1;for(u=l+2;u<i;u++){const D=s.charCodeAt(u);if(D===10){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}else if(!it(D))break}const c=e.md.helpers.parseLinkDestination(s,u,i);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;u=c.pos;const m=u,p=a,v=u;for(;u<i;u++){const D=s.charCodeAt(u);if(D===10){const _=o(a);_!==null&&(s+=_,i=s.length,a++)}else if(!it(D))break}let x=e.md.helpers.parseLinkTitle(s,u,i);for(;x.can_continue;){const D=o(a);if(D===null)break;s+=D,u=i,i=s.length,a++,x=e.md.helpers.parseLinkTitle(s,u,i,x)}let y;for(u<i&&v!==u&&x.ok?(y=x.str,u=x.pos):(y="",u=m,a=p);u<i;){const D=s.charCodeAt(u);if(!it(D))break;u++}if(u<i&&s.charCodeAt(u)!==10&&y)for(y="",u=m,a=p;u<i;){const D=s.charCodeAt(u);if(!it(D))break;u++}if(u<i&&s.charCodeAt(u)!==10)return!1;const T=no(s.slice(1,l));return T?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[T]>"u"&&(e.env.references[T]={title:y,href:f}),e.line=a),!0):!1}const v7=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],g7="[a-zA-Z_:][a-zA-Z0-9:._-]*",b7="[^\"'=<>`\\x00-\\x20]+",y7="'[^']*'",x7='"[^"]*"',w7="(?:"+b7+"|"+y7+"|"+x7+")",k7="(?:\\s+"+g7+"(?:\\s*=\\s*"+w7+")?)",$2="<[A-Za-z][A-Za-z0-9\\-]*"+k7+"*\\s*\\/?>",Y2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",S7="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",A7="<[?][\\s\\S]*?[?]>",C7="<![A-Za-z][^>]*>",_7="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",D7=new RegExp("^(?:"+$2+"|"+Y2+"|"+S7+"|"+A7+"|"+C7+"|"+_7+")"),E7=new RegExp("^(?:"+$2+"|"+Y2+")"),K0=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+v7.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(E7.source+"\\s*$"),/^$/,!1]];function M7(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;let a=e.src.slice(u,i),o=0;for(;o<K0.length&&!K0[o][0].test(a);o++);if(o===K0.length)return!1;if(n)return K0[o][2];let s=t+1;if(!K0[o][1].test(a)){for(;s<r&&!(e.sCount[s]<e.blkIndent);s++)if(u=e.bMarks[s]+e.tShift[s],i=e.eMarks[s],a=e.src.slice(u,i),K0[o][1].test(a)){a.length!==0&&s++;break}}e.line=s;const l=e.push("html_block","",0);return l.map=[t,s],l.content=e.getLines(t,s,e.blkIndent,!0),!0}function T7(e,t,r,n){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(u);if(a!==35||u>=i)return!1;let o=1;for(a=e.src.charCodeAt(++u);a===35&&u<i&&o<=6;)o++,a=e.src.charCodeAt(++u);if(o>6||u<i&&!it(a))return!1;if(n)return!0;i=e.skipSpacesBack(i,u);const s=e.skipCharsBack(i,35,u);s>u&&it(e.src.charCodeAt(s-1))&&(i=s),e.line=t+1;const l=e.push("heading_open","h"+String(o),1);l.markup="########".slice(0,o),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(u,i).trim(),c.map=[t,e.line],c.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup="########".slice(0,o),!0}function F7(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const u=e.parentType;e.parentType="paragraph";let i=0,a,o=t+1;for(;o<r&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let p=e.bMarks[o]+e.tShift[o];const v=e.eMarks[o];if(p<v&&(a=e.src.charCodeAt(p),(a===45||a===61)&&(p=e.skipChars(p,a),p=e.skipSpaces(p),p>=v))){i=a===61?1:2;break}}if(e.sCount[o]<0)continue;let m=!1;for(let p=0,v=n.length;p<v;p++)if(n[p](e,o,r,!0)){m=!0;break}if(m)break}if(!i)return!1;const s=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o+1;const l=e.push("heading_open","h"+String(i),1);l.markup=String.fromCharCode(a),l.map=[t,e.line];const c=e.push("inline","",0);c.content=s,c.map=[t,e.line-1],c.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup=String.fromCharCode(a),e.parentType=u,!0}function z7(e,t,r){const n=e.md.block.ruler.getRules("paragraph"),u=e.parentType;let i=t+1;for(e.parentType="paragraph";i<r&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let l=!1;for(let c=0,f=n.length;c<f;c++)if(n[c](e,i,r,!0)){l=!0;break}if(l)break}const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const o=e.push("paragraph_open","p",1);o.map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=u,!0}const Pi=[["table",s7,["paragraph","reference"]],["code",l7],["fence",c7,["paragraph","reference","blockquote","list"]],["blockquote",f7,["paragraph","reference","blockquote","list"]],["hr",d7,["paragraph","reference","blockquote","list"]],["list",m7,["paragraph","reference","blockquote"]],["reference",p7],["html_block",M7,["paragraph","reference","blockquote"]],["heading",T7,["paragraph","reference","blockquote"]],["lheading",F7],["paragraph",z7]];function uo(){this.ruler=new cr;for(let e=0;e<Pi.length;e++)this.ruler.push(Pi[e][0],Pi[e][1],{alt:(Pi[e][2]||[]).slice()})}uo.prototype.tokenize=function(e,t,r){const n=this.ruler.getRules(""),u=n.length,i=e.md.options.maxNesting;let a=t,o=!1;for(;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r||e.sCount[a]<e.blkIndent));){if(e.level>=i){e.line=r;break}const s=e.line;let l=!1;for(let c=0;c<u;c++)if(l=n[c](e,a,r,!1),l){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),a=e.line,a<r&&e.isEmpty(a)&&(o=!0,a++,e.line=a)}};uo.prototype.parse=function(e,t,r,n){if(!e)return;const u=new this.State(e,t,r,n);this.tokenize(u,u.line,u.lineMax)};uo.prototype.State=dn;function bi(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}bi.prototype.pushPending=function(){const e=new Vr("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};bi.prototype.push=function(e,t,r){this.pending&&this.pushPending();const n=new Vr(e,t,r);let u=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],u={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(u),n};bi.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),u=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<r&&this.src.charCodeAt(i)===n;)i++;const a=i-e,o=i<r?this.src.charCodeAt(i):32,s=ii(u)||ui(String.fromCharCode(u)),l=ii(o)||ui(String.fromCharCode(o)),c=ni(u),f=ni(o),m=!f&&(!l||c||s),p=!c&&(!s||f||l);return{can_open:m&&(t||!p||s),can_close:p&&(t||!m||l),length:a}};bi.prototype.Token=Vr;function B7(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function O7(e,t){let r=e.pos;for(;r<e.posMax&&!B7(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}const q7=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function R7(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const r=e.pos,n=e.posMax;if(r+3>n||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const u=e.pending.match(q7);if(!u)return!1;const i=u[1],a=e.md.linkify.matchAtStart(e.src.slice(r-i.length));if(!a)return!1;let o=a.url;if(o.length<=i.length)return!1;o=o.replace(/\*+$/,"");const s=e.md.normalizeLink(o);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=o.length-i.length,!0}function L7(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const n=e.pending.length-1,u=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<u&&it(e.src.charCodeAt(r));)r++;return e.pos=r,!0}const tc=[];for(let e=0;e<256;e++)tc.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){tc[e.charCodeAt(0)]=1});function P7(e,t){let r=e.pos;const n=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let u=e.src.charCodeAt(r);if(u===10){for(t||e.push("hardbreak","br",0),r++;r<n&&(u=e.src.charCodeAt(r),!!it(u));)r++;return e.pos=r,!0}let i=e.src[r];if(u>=55296&&u<=56319&&r+1<n){const o=e.src.charCodeAt(r+1);o>=56320&&o<=57343&&(i+=e.src[r+1],r++)}const a="\\"+i;if(!t){const o=e.push("text_special","",0);u<256&&tc[u]!==0?o.content=i:o.content=a,o.markup=a,o.info="escape"}return e.pos=r+1,!0}function I7(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const u=r;r++;const i=e.posMax;for(;r<i&&e.src.charCodeAt(r)===96;)r++;const a=e.src.slice(u,r),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=u)return t||(e.pending+=a),e.pos+=o,!0;let s=r,l;for(;(l=e.src.indexOf("`",s))!==-1;){for(s=l+1;s<i&&e.src.charCodeAt(s)===96;)s++;const c=s-l;if(c===o){if(!t){const f=e.push("code_inline","code",0);f.markup=a,f.content=e.src.slice(r,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}function N7(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t||n!==126)return!1;const u=e.scanDelims(e.pos,!0);let i=u.length;const a=String.fromCharCode(n);if(i<2)return!1;let o;i%2&&(o=e.push("text","",0),o.content=a,i--);for(let s=0;s<i;s+=2)o=e.push("text","",0),o.content=a+a,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:u.can_open,close:u.can_close});return e.pos+=u.length,!0}function nf(e,t){let r;const n=[],u=t.length;for(let i=0;i<u;i++){const a=t[i];if(a.marker!==126||a.end===-1)continue;const o=t[a.end];r=e.tokens[a.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=e.tokens[o.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~"&&n.push(o.token-1)}for(;n.length;){const i=n.pop();let a=i+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,i!==a&&(r=e.tokens[a],e.tokens[a]=e.tokens[i],e.tokens[i]=r)}}function H7(e){const t=e.tokens_meta,r=e.tokens_meta.length;nf(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&nf(e,t[n].delimiters)}const G2={tokenize:N7,postProcess:H7};function V7(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t||n!==95&&n!==42)return!1;const u=e.scanDelims(e.pos,n===42);for(let i=0;i<u.length;i++){const a=e.push("text","",0);a.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:u.length,token:e.tokens.length-1,end:-1,open:u.can_open,close:u.can_close})}return e.pos+=u.length,!0}function uf(e,t){const r=t.length;for(let n=r-1;n>=0;n--){const u=t[n];if(u.marker!==95&&u.marker!==42||u.end===-1)continue;const i=t[u.end],a=n>0&&t[n-1].end===u.end+1&&t[n-1].marker===u.marker&&t[n-1].token===u.token-1&&t[u.end+1].token===i.token+1,o=String.fromCharCode(u.marker),s=e.tokens[u.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";const l=e.tokens[i.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?o+o:o,l.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[u.end+1].token].content="",n--)}}function U7(e){const t=e.tokens_meta,r=e.tokens_meta.length;uf(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&uf(e,t[n].delimiters)}const W2={tokenize:V7,postProcess:U7};function j7(e,t){let r,n,u,i,a="",o="",s=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,f=e.posMax,m=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let v=p+1;if(v<f&&e.src.charCodeAt(v)===40){for(l=!1,v++;v<f&&(r=e.src.charCodeAt(v),!(!it(r)&&r!==10));v++);if(v>=f)return!1;if(s=v,u=e.md.helpers.parseLinkDestination(e.src,v,e.posMax),u.ok){for(a=e.md.normalizeLink(u.str),e.md.validateLink(a)?v=u.pos:a="",s=v;v<f&&(r=e.src.charCodeAt(v),!(!it(r)&&r!==10));v++);if(u=e.md.helpers.parseLinkTitle(e.src,v,e.posMax),v<f&&s!==v&&u.ok)for(o=u.str,v=u.pos;v<f&&(r=e.src.charCodeAt(v),!(!it(r)&&r!==10));v++);}(v>=f||e.src.charCodeAt(v)!==41)&&(l=!0),v++}if(l){if(typeof e.env.references>"u")return!1;if(v<f&&e.src.charCodeAt(v)===91?(s=v+1,v=e.md.helpers.parseLinkLabel(e,v),v>=0?n=e.src.slice(s,v++):v=p+1):v=p+1,n||(n=e.src.slice(m,p)),i=e.env.references[no(n)],!i)return e.pos=c,!1;a=i.href,o=i.title}if(!t){e.pos=m,e.posMax=p;const x=e.push("link_open","a",1),y=[["href",a]];x.attrs=y,o&&y.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=v,e.posMax=f,!0}function $7(e,t){let r,n,u,i,a,o,s,l,c="";const f=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const p=e.pos+2,v=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(v<0)return!1;if(i=v+1,i<m&&e.src.charCodeAt(i)===40){for(i++;i<m&&(r=e.src.charCodeAt(i),!(!it(r)&&r!==10));i++);if(i>=m)return!1;for(l=i,o=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),o.ok&&(c=e.md.normalizeLink(o.str),e.md.validateLink(c)?i=o.pos:c=""),l=i;i<m&&(r=e.src.charCodeAt(i),!(!it(r)&&r!==10));i++);if(o=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<m&&l!==i&&o.ok)for(s=o.str,i=o.pos;i<m&&(r=e.src.charCodeAt(i),!(!it(r)&&r!==10));i++);else s="";if(i>=m||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<m&&e.src.charCodeAt(i)===91?(l=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?u=e.src.slice(l,i++):i=v+1):i=v+1,u||(u=e.src.slice(p,v)),a=e.env.references[no(u)],!a)return e.pos=f,!1;c=a.href,s=a.title}if(!t){n=e.src.slice(p,v);const x=[];e.md.inline.parse(n,e.md,e.env,x);const y=e.push("image","img",0),T=[["src",c],["alt",""]];y.attrs=T,y.children=x,y.content=n,s&&T.push(["title",s])}return e.pos=i,e.posMax=m,!0}const Y7=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,G7=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function W7(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const n=e.pos,u=e.posMax;for(;;){if(++r>=u)return!1;const a=e.src.charCodeAt(r);if(a===60)return!1;if(a===62)break}const i=e.src.slice(n+1,r);if(G7.test(i)){const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(Y7.test(i)){const a=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function K7(e){return/^<a[>\s]/i.test(e)}function Z7(e){return/^<\/a\s*>/i.test(e)}function Q7(e){const t=e|32;return t>=97&&t<=122}function X7(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;const u=e.src.charCodeAt(n+1);if(u!==33&&u!==63&&u!==47&&!Q7(u))return!1;const i=e.src.slice(n).match(D7);if(!i)return!1;if(!t){const a=e.push("html_inline","",0);a.content=i[0],K7(a.content)&&e.linkLevel++,Z7(a.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const J7=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ev=/^&([a-z][a-z0-9]{1,31});/i;function tv(e,t){const r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){const i=e.src.slice(r).match(J7);if(i){if(!t){const a=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),o=e.push("text_special","",0);o.content=Jl(a)?Ca(a):Ca(65533),o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(r).match(ev);if(i){const a=N2(i[0]);if(a!==i[0]){if(!t){const o=e.push("text_special","",0);o.content=a,o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function af(e){const t={},r=e.length;if(!r)return;let n=0,u=-2;const i=[];for(let a=0;a<r;a++){const o=e[a];if(i.push(0),(e[n].marker!==o.marker||u!==o.token-1)&&(n=a),u=o.token,o.length=o.length||0,!o.close)continue;t.hasOwnProperty(o.marker)||(t[o.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[o.marker][(o.open?3:0)+o.length%3];let l=n-i[n]-1,c=l;for(;l>s;l-=i[l]+1){const f=e[l];if(f.marker===o.marker&&f.open&&f.end<0){let m=!1;if((f.close||o.open)&&(f.length+o.length)%3===0&&(f.length%3!==0||o.length%3!==0)&&(m=!0),!m){const p=l>0&&!e[l-1].open?i[l-1]+1:0;i[a]=a-l+p,i[l]=p,o.open=!1,f.end=a,f.close=!1,c=-1,u=-2;break}}}c!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=c)}}function rv(e){const t=e.tokens_meta,r=e.tokens_meta.length;af(e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&af(t[n].delimiters)}function nv(e){let t,r,n=0;const u=e.tokens,i=e.tokens.length;for(t=r=0;t<i;t++)u[t].nesting<0&&n--,u[t].level=n,u[t].nesting>0&&n++,u[t].type==="text"&&t+1<i&&u[t+1].type==="text"?u[t+1].content=u[t].content+u[t+1].content:(t!==r&&(u[r]=u[t]),r++);t!==r&&(u.length=r)}const Jo=[["text",O7],["linkify",R7],["newline",L7],["escape",P7],["backticks",I7],["strikethrough",G2.tokenize],["emphasis",W2.tokenize],["link",j7],["image",$7],["autolink",W7],["html_inline",X7],["entity",tv]],es=[["balance_pairs",rv],["strikethrough",G2.postProcess],["emphasis",W2.postProcess],["fragments_join",nv]];function yi(){this.ruler=new cr;for(let e=0;e<Jo.length;e++)this.ruler.push(Jo[e][0],Jo[e][1]);this.ruler2=new cr;for(let e=0;e<es.length;e++)this.ruler2.push(es[e][0],es[e][1])}yi.prototype.skipToken=function(e){const t=e.pos,r=this.ruler.getRules(""),n=r.length,u=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let a=!1;if(e.level<u){for(let o=0;o<n;o++)if(e.level++,a=r[o](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,i[t]=e.pos};yi.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,u=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let a=!1;if(e.level<u){for(let o=0;o<r;o++)if(a=t[o](e,!1),a){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yi.prototype.parse=function(e,t,r,n){const u=new this.State(e,t,r,n);this.tokenize(u);const i=this.ruler2.getRules(""),a=i.length;for(let o=0;o<a;o++)i[o](u)};yi.prototype.State=bi;function uv(e){const t={};e=e||{},t.src_Any=q2.source,t.src_Cc=R2.source,t.src_Z=P2.source,t.src_P=Ql.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function el(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(n){e[n]=r[n]})}),e}function io(e){return Object.prototype.toString.call(e)}function iv(e){return io(e)==="[object String]"}function av(e){return io(e)==="[object Object]"}function ov(e){return io(e)==="[object RegExp]"}function of(e){return io(e)==="[object Function]"}function sv(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const K2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function lv(e){return Object.keys(e||{}).reduce(function(t,r){return t||K2.hasOwnProperty(r)},!1)}const cv={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},fv="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",dv="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function hv(e){e.__index__=-1,e.__text_cache__=""}function mv(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function sf(){return function(e,t){t.normalize(e)}}function _a(e){const t=e.re=uv(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(fv),r.push(t.src_xn),t.src_tlds=r.join("|");function n(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const u=[];e.__compiled__={};function i(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const l={validate:null,link:null};if(e.__compiled__[o]=l,av(s)){ov(s.validate)?l.validate=mv(s.validate):of(s.validate)?l.validate=s.validate:i(o,s),of(s.normalize)?l.normalize=s.normalize:s.normalize?i(o,s):l.normalize=sf();return}if(iv(s)){u.push(o);return}i(o,s)}),u.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:sf()};const a=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(sv).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),hv(e)}function pv(e,t){const r=e.__index__,n=e.__last_index__,u=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=u,this.text=u,this.url=u}function tl(e,t){const r=new pv(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function gr(e,t){if(!(this instanceof gr))return new gr(e,t);t||lv(e)&&(t=e,e={}),this.__opts__=el({},K2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=el({},cv,e),this.__compiled__={},this.__tlds__=dv,this.__tlds_replaced__=!1,this.re={},_a(this)}gr.prototype.add=function(t,r){return this.__schemas__[t]=r,_a(this),this};gr.prototype.set=function(t){return this.__opts__=el(this.__opts__,t),this};gr.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let r,n,u,i,a,o,s,l,c;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(r=s.exec(t))!==null;)if(i=this.testSchemaAt(t,r[2],s.lastIndex),i){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(u=t.match(this.re.email_fuzzy))!==null&&(a=u.index+u[1].length,o=u.index+u[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0};gr.prototype.pretest=function(t){return this.re.pretest.test(t)};gr.prototype.testSchemaAt=function(t,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,n,this):0};gr.prototype.match=function(t){const r=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(r.push(tl(this,n)),n=this.__last_index__);let u=n?t.slice(n):t;for(;this.test(u);)r.push(tl(this,n)),u=u.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};gr.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const r=this.re.schema_at_start.exec(t);if(!r)return null;const n=this.testSchemaAt(t,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,tl(this,0)):null};gr.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,u,i){return n!==i[u-1]}).reverse(),_a(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,_a(this),this)};gr.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};gr.prototype.onCompile=function(){};const au=2147483647,un=36,rc=1,ai=26,vv=38,gv=700,Z2=72,Q2=128,X2="-",bv=/^xn--/,yv=/[^\0-\x7F]/,xv=/[\x2E\u3002\uFF0E\uFF61]/g,wv={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ts=un-rc,an=Math.floor,rs=String.fromCharCode;function jn(e){throw new RangeError(wv[e])}function kv(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function J2(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(xv,".");const u=e.split("."),i=kv(u,t).join(".");return n+i}function e4(e){const t=[];let r=0;const n=e.length;for(;r<n;){const u=e.charCodeAt(r++);if(u>=55296&&u<=56319&&r<n){const i=e.charCodeAt(r++);(i&64512)==56320?t.push(((u&1023)<<10)+(i&1023)+65536):(t.push(u),r--)}else t.push(u)}return t}const Sv=e=>String.fromCodePoint(...e),Av=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:un},lf=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},t4=function(e,t,r){let n=0;for(e=r?an(e/gv):e>>1,e+=an(e/t);e>ts*ai>>1;n+=un)e=an(e/ts);return an(n+(ts+1)*e/(e+vv))},r4=function(e){const t=[],r=e.length;let n=0,u=Q2,i=Z2,a=e.lastIndexOf(X2);a<0&&(a=0);for(let o=0;o<a;++o)e.charCodeAt(o)>=128&&jn("not-basic"),t.push(e.charCodeAt(o));for(let o=a>0?a+1:0;o<r;){const s=n;for(let c=1,f=un;;f+=un){o>=r&&jn("invalid-input");const m=Av(e.charCodeAt(o++));m>=un&&jn("invalid-input"),m>an((au-n)/c)&&jn("overflow"),n+=m*c;const p=f<=i?rc:f>=i+ai?ai:f-i;if(m<p)break;const v=un-p;c>an(au/v)&&jn("overflow"),c*=v}const l=t.length+1;i=t4(n-s,l,s==0),an(n/l)>au-u&&jn("overflow"),u+=an(n/l),n%=l,t.splice(n++,0,u)}return String.fromCodePoint(...t)},n4=function(e){const t=[];e=e4(e);const r=e.length;let n=Q2,u=0,i=Z2;for(const s of e)s<128&&t.push(rs(s));const a=t.length;let o=a;for(a&&t.push(X2);o<r;){let s=au;for(const c of e)c>=n&&c<s&&(s=c);const l=o+1;s-n>an((au-u)/l)&&jn("overflow"),u+=(s-n)*l,n=s;for(const c of e)if(c<n&&++u>au&&jn("overflow"),c===n){let f=u;for(let m=un;;m+=un){const p=m<=i?rc:m>=i+ai?ai:m-i;if(f<p)break;const v=f-p,x=un-p;t.push(rs(lf(p+v%x,0))),f=an(v/x)}t.push(rs(lf(f,0))),i=t4(u,l,o===a),u=0,++o}++u,++n}return t.join("")},Cv=function(e){return J2(e,function(t){return bv.test(t)?r4(t.slice(4).toLowerCase()):t})},_v=function(e){return J2(e,function(t){return yv.test(t)?"xn--"+n4(t):t})},u4={version:"2.3.1",ucs2:{decode:e4,encode:Sv},decode:r4,encode:n4,toASCII:_v,toUnicode:Cv},Dv={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Ev={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},Mv={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Tv={default:Dv,zero:Ev,commonmark:Mv},Fv=/^(vbscript|javascript|file|data):/,zv=/^data:image\/(gif|png|jpeg|webp);/;function Bv(e){const t=e.trim().toLowerCase();return Fv.test(t)?zv.test(t):!0}const i4=["http:","https:","mailto:"];function Ov(e){const t=Zl(e,!0);if(t.hostname&&(!t.protocol||i4.indexOf(t.protocol)>=0))try{t.hostname=u4.toASCII(t.hostname)}catch{}return gi(Kl(t))}function qv(e){const t=Zl(e,!0);if(t.hostname&&(!t.protocol||i4.indexOf(t.protocol)>=0))try{t.hostname=u4.toUnicode(t.hostname)}catch{}return fu(Kl(t),fu.defaultChars+"%")}function br(e,t){if(!(this instanceof br))return new br(e,t);t||Xl(e)||(t=e||{},e="default"),this.inline=new yi,this.block=new uo,this.core=new ec,this.renderer=new yu,this.linkify=new gr,this.validateLink=Bv,this.normalizeLink=Ov,this.normalizeLinkText=qv,this.utils=L8,this.helpers=ro({},H8),this.options={},this.configure(e),t&&this.set(t)}br.prototype.set=function(e){return ro(this.options,e),this};br.prototype.configure=function(e){const t=this;if(Xl(e)){const r=e;if(e=Tv[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};br.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(u){r=r.concat(this[u].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(u){return r.indexOf(u)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};br.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(u){r=r.concat(this[u].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(u){return r.indexOf(u)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};br.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};br.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};br.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};br.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};br.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const T0=[];function a4(e){T0[T0.length-1](e)}function nc(e){Tt.is.desktop===!0&&(T0.push(e),T0.length===1&&document.body.addEventListener("focusin",a4))}function Da(e){const t=T0.indexOf(e);t!==-1&&(T0.splice(t,1),T0.length===0&&document.body.removeEventListener("focusin",a4))}function Rv(e){const t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";const r=()=>{};nc(r),document.body.appendChild(t),t.focus(),t.select();const n=document.execCommand("copy");return t.remove(),Da(r),n}function Lv(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,r)=>{const n=Rv(e);n?t(!0):r(n)})}function uc(){return E0(l2)}const Ea=e=>e.replace(/&/gu,"&amp;").replace(/</gu,"&lt;").replace(/>/gu,"&gt;").replace(/"/gu,"&quot;").replace(/'/gu,"&#39;"),cf=(e,t,r=0)=>{let n=0,u=t-1;for(;u>=r&&e.charCodeAt(u)===92;)n++,u--;return n},ff=(e,t,r)=>{const n=e.src.charCodeAt(t-1),u=e.src.charCodeAt(t+1);return{canOpen:r||!it(u),canClose:!(u>=48&&u<=57)&&(r||!it(n))}},Pv=e=>(t,r)=>{if(t.src[t.pos]!=="$")return!1;let n=ff(t,t.pos,e);if(!n.canOpen)return r||(t.pending+="$"),t.pos++,!0;const u=t.pos+1;let i=u,a;const o=t.src.lastIndexOf("$");if(o===-1)return!1;for(;(i=t.src.indexOf("$",i))<=o;){for(a=i-1;t.src.charCodeAt(a)===92;)a--;if((i-a)%2===1)break;i++}if(i===-1)return r||(t.pending+="$"),t.pos=u,!0;if(i-u===0)return r||(t.pending+="$$"),t.pos=u+1,!0;if(n=ff(t,i,e),!n.canClose)return r||(t.pending+="$"),t.pos=u,!0;if(!r){const s=t.push("math_inline","math",0);s.markup="$",s.content=t.src.slice(u,i)}return t.pos=i+1,!0},Iv=()=>(e,t)=>{const r=e.pos;if(e.src.charCodeAt(r)!==92||e.src.charCodeAt(r+1)!==40)return!1;let n=r+2,u=!1;const i=e.src.length;for(;n<i-1;){if(e.src.charCodeAt(n)===92&&e.src.charCodeAt(n+1)===41){if(cf(e.src,r)%2===1)return!1;if(cf(e.src,n,r+2)%2===0){u=!0;break}}n++}if(!u)return!1;if(!t){const a=e.push("math_inline","math",0);a.markup="\\(",a.content=e.src.slice(r+2,n)}return e.pos=n+2,!0},Nv=(e,t,r,n)=>{const u=e.bMarks[t]+e.tShift[t];let i=e.eMarks[t];if(u+2>i||e.src.charCodeAt(u)!==36||e.src.charCodeAt(u+1)!==36)return!1;if(n)return!0;let a=e.skipSpacesBack(i,u),o=u+2,s,l=!1;a-o>=2&&e.src.charCodeAt(a-1)===36&&e.src.charCodeAt(a-2)===36?(s=e.src.slice(o,a-2),l=!0):s=e.src.slice(o,i);let c=t,f="";for(;!l&&(c++,!(c>=r||(o=e.bMarks[c]+e.tShift[c],i=e.eMarks[c],o<i&&e.tShift[c]<e.blkIndent)));)a=e.skipSpacesBack(i,o),a-o>=2&&e.src.charCodeAt(a-1)===36&&e.src.charCodeAt(a-2)===36&&(f=e.src.slice(o,a-2),l=!0);e.line=l?c+1:c;const m=e.push("math_block","math",0);return m.block=!0,m.content=(s?`${s}
37
+ `:"")+e.getLines(t+1,c,e.tShift[t],!0)+(f?`${f}
38
+ `:""),m.map=[t,e.line],m.markup="$$",!0},Hv=()=>(e,t,r,n)=>{const u=e.bMarks[t]+e.tShift[t];let i=e.eMarks[t];if(u+2>i||e.src.charCodeAt(u)!==92||e.src.charCodeAt(u+1)!==91)return!1;if(n)return!0;let a=e.skipSpacesBack(i,u),o=u+2,s,l=!1;a-o>=2&&e.src.charCodeAt(a-1)===93&&e.src.charCodeAt(a-2)===92?(s=e.src.slice(o,a-2),l=!0):s=e.src.slice(o,i);let c=t,f="";for(;!l&&(c++,!(c>=r||(o=e.bMarks[c]+e.tShift[c],i=e.eMarks[c],o<i&&e.tShift[c]<e.blkIndent)));)a=e.skipSpacesBack(i,o),a-o>=2&&e.src.charCodeAt(a-1)===93&&e.src.charCodeAt(a-2)===92&&(f=e.src.slice(o,a-2).trimEnd(),l=!0);if(!l)return!1;e.line=c+1;const m=e.push("math_block","math",0);return m.block=!0,m.content=(s?`${s}
39
+ `:"")+e.getLines(t+1,c,e.tShift[t],!0)+(f?`${f}
40
+ `:""),m.map=[t,e.line],m.markup="\\[",!0},df={alt:["paragraph","reference","blockquote","list"]},Vv=(e,t)=>{if(typeof t?.render!="function")throw new Error('[@mdit/plugin-tex]: "render" option should be a function');const{allowInlineWithSpace:r=!1,mathFence:n=!1,delimiters:u="dollars",render:i}=t;if(n){const a=e.renderer.rules.fence;e.renderer.rules.fence=(...o)=>{const[s,l,,c]=o,{content:f,info:m}=s[l];return m.trim()==="math"?i(f,!0,c):a(...o)}}(u==="dollars"||u==="all")&&(e.inline.ruler.after("escape","math_inline_dollar",Pv(r)),e.block.ruler.after("blockquote","math_block_dollar",Nv,df)),(u==="brackets"||u==="all")&&(e.inline.ruler.before("escape","math_inline_bracket",Iv()),e.block.ruler.after("blockquote","math_block_bracket",Hv(),df)),e.renderer.rules.math_inline=(a,o,s,l)=>i(a[o].content,!1,l),e.renderer.rules.math_block=(a,o,s,l)=>i(a[o].content,!0,l)};class hr{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new hr(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Mr{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new Mr(r,hr.range(this,t))}}class fe{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,u,i,a=r&&r.loc;if(a&&a.start<=a.end){var o=a.lexer.input;u=a.start,i=a.end,u===o.length?n+=" at end of input: ":n+=" at position "+(u+1)+": ";var s=o.slice(u,i).replace(/[^]/g,"$&̲"),l;u>15?l="…"+o.slice(u-15,u):l=o.slice(0,u);var c;i+15<o.length?c=o.slice(i,i+15)+"…":c=o.slice(i),n+=l+s+c}var f=new Error(n);return f.name="ParseError",f.__proto__=fe.prototype,f.position=u,u!=null&&i!=null&&(f.length=i-u),f.rawMessage=t,f}}fe.prototype.__proto__=Error.prototype;var Uv=function(t,r){return t.indexOf(r)!==-1},jv=function(t,r){return t===void 0?r:t},$v=/([A-Z])/g,Yv=function(t){return t.replace($v,"-$1").toLowerCase()},Gv={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Wv=/[&><"']/g;function Kv(e){return String(e).replace(Wv,t=>Gv[t])}var o4=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Zv=function(t){var r=o4(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Qv=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Xv=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},ze={contains:Uv,deflt:jv,escape:Kv,hyphenate:Yv,getBaseElem:o4,isCharacterBox:Zv,protocolFromUrl:Xv},ns={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Jv(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class eg{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in ns)if(ns.hasOwnProperty(r)){var n=ns[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Jv(n)}}reportNonstrict(t,r,n){var u=this.strict;if(typeof u=="function"&&(u=u(t,r,n)),!(!u||u==="ignore")){if(u===!0||u==="error")throw new fe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);u==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+u+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var u=this.strict;if(typeof u=="function")try{u=u(t,r,n)}catch{u="error"}return!u||u==="ignore"?!1:u===!0||u==="error"?!0:u==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+u+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=ze.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class qn{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return tn[tg[this.id]]}sub(){return tn[rg[this.id]]}fracNum(){return tn[ng[this.id]]}fracDen(){return tn[ug[this.id]]}cramp(){return tn[ig[this.id]]}text(){return tn[ag[this.id]]}isTight(){return this.size>=2}}var ic=0,Ma=1,ou=2,_n=3,oi=4,_r=5,hu=6,ur=7,tn=[new qn(ic,0,!1),new qn(Ma,0,!0),new qn(ou,1,!1),new qn(_n,1,!0),new qn(oi,2,!1),new qn(_r,2,!0),new qn(hu,3,!1),new qn(ur,3,!0)],tg=[oi,_r,oi,_r,hu,ur,hu,ur],rg=[_r,_r,_r,_r,ur,ur,ur,ur],ng=[ou,_n,oi,_r,hu,ur,hu,ur],ug=[_n,_n,_r,_r,ur,ur,ur,ur],ig=[Ma,Ma,_n,_n,_r,_r,ur,ur],ag=[ic,Ma,ou,_n,ou,_n,ou,_n],Oe={DISPLAY:tn[ic],TEXT:tn[ou],SCRIPT:tn[oi],SCRIPTSCRIPT:tn[hu]},rl=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function og(e){for(var t=0;t<rl.length;t++)for(var r=rl[t],n=0;n<r.blocks.length;n++){var u=r.blocks[n];if(e>=u[0]&&e<=u[1])return r.name}return null}var ia=[];rl.forEach(e=>e.blocks.forEach(t=>ia.push(...t)));function s4(e){for(var t=0;t<ia.length;t+=2)if(e>=ia[t]&&e<=ia[t+1])return!0;return!1}var Z0=80,sg=function(t,r){return"M95,"+(622+t+r)+`
37
41
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
38
42
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
39
43
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -44,7 +48,7 @@ c5.3,-9.3,12,-14,20,-14
44
48
  H400000v`+(40+t)+`H845.2724
45
49
  s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
46
50
  c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
47
- M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},ag=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
51
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},lg=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
48
52
  c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
49
53
  c340,-704.7,510.7,-1060.3,512,-1067
50
54
  l`+t/2.084+" -"+t+`
@@ -54,7 +58,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,
54
58
  c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
55
59
  s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
56
60
  c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
57
- M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},og=function(t,r){return"M983 "+(10+t+r)+`
61
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},cg=function(t,r){return"M983 "+(10+t+r)+`
58
62
  l`+t/3.13+" -"+t+`
59
63
  c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
60
64
  H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
@@ -63,7 +67,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
63
67
  c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
64
68
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
65
69
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
66
- M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},sg=function(t,r){return"M424,"+(2398+t+r)+`
70
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},fg=function(t,r){return"M424,"+(2398+t+r)+`
67
71
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
68
72
  c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
69
73
  s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
@@ -73,18 +77,18 @@ v`+(40+t)+`H1014.6
73
77
  s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
74
78
  c-2,6,-10,9,-24,9
75
79
  c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
76
- h400000v`+(40+t)+"h-400000z"},lg=function(t,r){return"M473,"+(2713+t+r)+`
80
+ h400000v`+(40+t)+"h-400000z"},dg=function(t,r){return"M473,"+(2713+t+r)+`
77
81
  c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
78
82
  c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
79
83
  s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
80
84
  c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
81
85
  c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
82
86
  s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
83
- 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},cg=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},fg=function(t,r,n){var u=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
87
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},hg=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},mg=function(t,r,n){var u=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
84
88
  H742v`+u+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
85
89
  h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
86
90
  c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
87
- 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},dg=function(t,r,n){r=1e3*r;var u="";switch(t){case"sqrtMain":u=ig(r,Z0);break;case"sqrtSize1":u=ag(r,Z0);break;case"sqrtSize2":u=og(r,Z0);break;case"sqrtSize3":u=sg(r,Z0);break;case"sqrtSize4":u=lg(r,Z0);break;case"sqrtTall":u=fg(r,Z0,n)}return u},hg=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},pf={doubleleftarrow:`M262 157
91
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},pg=function(t,r,n){r=1e3*r;var u="";switch(t){case"sqrtMain":u=sg(r,Z0);break;case"sqrtSize1":u=lg(r,Z0);break;case"sqrtSize2":u=cg(r,Z0);break;case"sqrtSize3":u=fg(r,Z0);break;case"sqrtSize4":u=dg(r,Z0);break;case"sqrtTall":u=mg(r,Z0,n)}return u},vg=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},hf={doubleleftarrow:`M262 157
88
92
  l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
89
93
  0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
90
94
  14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
@@ -259,7 +263,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
259
263
  c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
260
264
  -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
261
265
  c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
262
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},mg=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
266
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},gg=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
263
267
  H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
264
268
  M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
265
269
  c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
@@ -287,26 +291,28 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6
287
291
  c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
288
292
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
289
293
  l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
290
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class xi{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return ze.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var on={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ni={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},vf={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function pg(e,t){on[e]=t}function sc(e,t,r){if(!on[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),u=on[t][n];if(!u&&e[0]in vf&&(n=vf[e[0]].charCodeAt(0),u=on[t][n]),!u&&r==="text"&&l4(n)&&(u=on[t][77]),u)return{depth:u[0],height:u[1],italic:u[2],skew:u[3],width:u[4]}}var ns={};function vg(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ns[t]){var r=ns[t]={cssEmPerMu:Ni.quad[t]/18};for(var n in Ni)Ni.hasOwnProperty(n)&&(r[n]=Ni[n][t])}return ns[t]}var gg=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],gf=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],bf=function(t,r){return r.size<2?t:gg[t-1][r.size-1]};class Sn{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Sn.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=gf[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Sn(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:bf(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:gf[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=bf(Sn.BASESIZE,t);return this.size===r&&this.textSize===Sn.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Sn.BASESIZE?["sizing","reset-size"+this.size,"size"+Sn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=vg(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Sn.BASESIZE=6;var rl={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},bg={ex:!0,em:!0,mu:!0},c4=function(t){return typeof t!="string"&&(t=t.unit),t in rl||t in bg||t==="ex"},xt=function(t,r){var n;if(t.unit in rl)n=rl[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var u;if(r.style.isTight()?u=r.havingStyle(r.style.text()):u=r,t.unit==="ex")n=u.fontMetrics().xHeight;else if(t.unit==="em")n=u.fontMetrics().quad;else throw new fe("Invalid unit: '"+t.unit+"'");u!==r&&(n*=u.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},ye=function(t){return+t.toFixed(4)+"em"},i0=function(t){return t.filter(r=>r).join(" ")},f4=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var u=r.getColor();u&&(this.style.color=u)}},d4=function(t){var r=document.createElement(t);r.className=i0(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var u in this.attributes)this.attributes.hasOwnProperty(u)&&r.setAttribute(u,this.attributes[u]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},yg=/[\s"'>/=\x00-\x1f]/,h4=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+ze.escape(i0(this.classes))+'"');var n="";for(var u in this.style)this.style.hasOwnProperty(u)&&(n+=ze.hyphenate(u)+":"+this.style[u]+";");n&&(r+=' style="'+ze.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(yg.test(i))throw new fe("Invalid attribute name '"+i+"'");r+=" "+i+'="'+ze.escape(this.attributes[i])+'"'}r+=">";for(var a=0;a<this.children.length;a++)r+=this.children[a].toMarkup();return r+="</"+t+">",r};class wi{constructor(t,r,n,u){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,f4.call(this,t,n,u),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return ze.contains(this.classes,t)}toNode(){return d4.call(this,"span")}toMarkup(){return h4.call(this,"span")}}class lc{constructor(t,r,n,u){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,f4.call(this,r,u),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return ze.contains(this.classes,t)}toNode(){return d4.call(this,"a")}toMarkup(){return h4.call(this,"a")}}class xg{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return ze.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+ze.escape(this.src)+'"'+(' alt="'+ze.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=ze.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+ze.escape(r)+'"'),t+="'/>",t}}var wg={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Tr{constructor(t,r,n,u,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=u||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=ug(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=wg[this.text])}hasClass(t){return ze.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=ye(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=i0(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=ze.escape(i0(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var u in this.style)this.style.hasOwnProperty(u)&&(n+=ze.hyphenate(u)+":"+this.style[u]+";");n&&(t=!0,r+=' style="'+ze.escape(n)+'"');var i=ze.escape(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Tn{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var u=0;u<this.children.length;u++)r.appendChild(this.children[u].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+ze.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class a0{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",pf[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+ze.escape(this.alternate)+'"/>':'<path d="'+ze.escape(pf[this.pathName])+'"/>'}}class nl{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+ze.escape(this.attributes[r])+'"');return t+="/>",t}}function yf(e){if(e instanceof Tr)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function kg(e){if(e instanceof wi)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Sg={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ag={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ht={math:{},text:{}};function d(e,t,r,n,u,i){ht[e][u]={font:t,group:r,replace:n},i&&n&&(ht[e][n]=ht[e][u])}var h="math",se="text",g="main",C="ams",bt="accent-token",Ce="bin",ar="close",xu="inner",Be="mathord",Ft="op-token",yr="open",oo="punct",E="rel",On="spacing",P="textord";d(h,g,E,"≡","\\equiv",!0);d(h,g,E,"≺","\\prec",!0);d(h,g,E,"≻","\\succ",!0);d(h,g,E,"∼","\\sim",!0);d(h,g,E,"⊥","\\perp");d(h,g,E,"⪯","\\preceq",!0);d(h,g,E,"⪰","\\succeq",!0);d(h,g,E,"≃","\\simeq",!0);d(h,g,E,"∣","\\mid",!0);d(h,g,E,"≪","\\ll",!0);d(h,g,E,"≫","\\gg",!0);d(h,g,E,"≍","\\asymp",!0);d(h,g,E,"∥","\\parallel");d(h,g,E,"⋈","\\bowtie",!0);d(h,g,E,"⌣","\\smile",!0);d(h,g,E,"⊑","\\sqsubseteq",!0);d(h,g,E,"⊒","\\sqsupseteq",!0);d(h,g,E,"≐","\\doteq",!0);d(h,g,E,"⌢","\\frown",!0);d(h,g,E,"∋","\\ni",!0);d(h,g,E,"∝","\\propto",!0);d(h,g,E,"⊢","\\vdash",!0);d(h,g,E,"⊣","\\dashv",!0);d(h,g,E,"∋","\\owns");d(h,g,oo,".","\\ldotp");d(h,g,oo,"⋅","\\cdotp");d(h,g,P,"#","\\#");d(se,g,P,"#","\\#");d(h,g,P,"&","\\&");d(se,g,P,"&","\\&");d(h,g,P,"ℵ","\\aleph",!0);d(h,g,P,"∀","\\forall",!0);d(h,g,P,"ℏ","\\hbar",!0);d(h,g,P,"∃","\\exists",!0);d(h,g,P,"∇","\\nabla",!0);d(h,g,P,"♭","\\flat",!0);d(h,g,P,"ℓ","\\ell",!0);d(h,g,P,"♮","\\natural",!0);d(h,g,P,"♣","\\clubsuit",!0);d(h,g,P,"℘","\\wp",!0);d(h,g,P,"♯","\\sharp",!0);d(h,g,P,"♢","\\diamondsuit",!0);d(h,g,P,"ℜ","\\Re",!0);d(h,g,P,"♡","\\heartsuit",!0);d(h,g,P,"ℑ","\\Im",!0);d(h,g,P,"♠","\\spadesuit",!0);d(h,g,P,"§","\\S",!0);d(se,g,P,"§","\\S");d(h,g,P,"¶","\\P",!0);d(se,g,P,"¶","\\P");d(h,g,P,"†","\\dag");d(se,g,P,"†","\\dag");d(se,g,P,"†","\\textdagger");d(h,g,P,"‡","\\ddag");d(se,g,P,"‡","\\ddag");d(se,g,P,"‡","\\textdaggerdbl");d(h,g,ar,"⎱","\\rmoustache",!0);d(h,g,yr,"⎰","\\lmoustache",!0);d(h,g,ar,"⟯","\\rgroup",!0);d(h,g,yr,"⟮","\\lgroup",!0);d(h,g,Ce,"∓","\\mp",!0);d(h,g,Ce,"⊖","\\ominus",!0);d(h,g,Ce,"⊎","\\uplus",!0);d(h,g,Ce,"⊓","\\sqcap",!0);d(h,g,Ce,"∗","\\ast");d(h,g,Ce,"⊔","\\sqcup",!0);d(h,g,Ce,"◯","\\bigcirc",!0);d(h,g,Ce,"∙","\\bullet",!0);d(h,g,Ce,"‡","\\ddagger");d(h,g,Ce,"≀","\\wr",!0);d(h,g,Ce,"⨿","\\amalg");d(h,g,Ce,"&","\\And");d(h,g,E,"⟵","\\longleftarrow",!0);d(h,g,E,"⇐","\\Leftarrow",!0);d(h,g,E,"⟸","\\Longleftarrow",!0);d(h,g,E,"⟶","\\longrightarrow",!0);d(h,g,E,"⇒","\\Rightarrow",!0);d(h,g,E,"⟹","\\Longrightarrow",!0);d(h,g,E,"↔","\\leftrightarrow",!0);d(h,g,E,"⟷","\\longleftrightarrow",!0);d(h,g,E,"⇔","\\Leftrightarrow",!0);d(h,g,E,"⟺","\\Longleftrightarrow",!0);d(h,g,E,"↦","\\mapsto",!0);d(h,g,E,"⟼","\\longmapsto",!0);d(h,g,E,"↗","\\nearrow",!0);d(h,g,E,"↩","\\hookleftarrow",!0);d(h,g,E,"↪","\\hookrightarrow",!0);d(h,g,E,"↘","\\searrow",!0);d(h,g,E,"↼","\\leftharpoonup",!0);d(h,g,E,"⇀","\\rightharpoonup",!0);d(h,g,E,"↙","\\swarrow",!0);d(h,g,E,"↽","\\leftharpoondown",!0);d(h,g,E,"⇁","\\rightharpoondown",!0);d(h,g,E,"↖","\\nwarrow",!0);d(h,g,E,"⇌","\\rightleftharpoons",!0);d(h,C,E,"≮","\\nless",!0);d(h,C,E,"","\\@nleqslant");d(h,C,E,"","\\@nleqq");d(h,C,E,"⪇","\\lneq",!0);d(h,C,E,"≨","\\lneqq",!0);d(h,C,E,"","\\@lvertneqq");d(h,C,E,"⋦","\\lnsim",!0);d(h,C,E,"⪉","\\lnapprox",!0);d(h,C,E,"⊀","\\nprec",!0);d(h,C,E,"⋠","\\npreceq",!0);d(h,C,E,"⋨","\\precnsim",!0);d(h,C,E,"⪹","\\precnapprox",!0);d(h,C,E,"≁","\\nsim",!0);d(h,C,E,"","\\@nshortmid");d(h,C,E,"∤","\\nmid",!0);d(h,C,E,"⊬","\\nvdash",!0);d(h,C,E,"⊭","\\nvDash",!0);d(h,C,E,"⋪","\\ntriangleleft");d(h,C,E,"⋬","\\ntrianglelefteq",!0);d(h,C,E,"⊊","\\subsetneq",!0);d(h,C,E,"","\\@varsubsetneq");d(h,C,E,"⫋","\\subsetneqq",!0);d(h,C,E,"","\\@varsubsetneqq");d(h,C,E,"≯","\\ngtr",!0);d(h,C,E,"","\\@ngeqslant");d(h,C,E,"","\\@ngeqq");d(h,C,E,"⪈","\\gneq",!0);d(h,C,E,"≩","\\gneqq",!0);d(h,C,E,"","\\@gvertneqq");d(h,C,E,"⋧","\\gnsim",!0);d(h,C,E,"⪊","\\gnapprox",!0);d(h,C,E,"⊁","\\nsucc",!0);d(h,C,E,"⋡","\\nsucceq",!0);d(h,C,E,"⋩","\\succnsim",!0);d(h,C,E,"⪺","\\succnapprox",!0);d(h,C,E,"≆","\\ncong",!0);d(h,C,E,"","\\@nshortparallel");d(h,C,E,"∦","\\nparallel",!0);d(h,C,E,"⊯","\\nVDash",!0);d(h,C,E,"⋫","\\ntriangleright");d(h,C,E,"⋭","\\ntrianglerighteq",!0);d(h,C,E,"","\\@nsupseteqq");d(h,C,E,"⊋","\\supsetneq",!0);d(h,C,E,"","\\@varsupsetneq");d(h,C,E,"⫌","\\supsetneqq",!0);d(h,C,E,"","\\@varsupsetneqq");d(h,C,E,"⊮","\\nVdash",!0);d(h,C,E,"⪵","\\precneqq",!0);d(h,C,E,"⪶","\\succneqq",!0);d(h,C,E,"","\\@nsubseteqq");d(h,C,Ce,"⊴","\\unlhd");d(h,C,Ce,"⊵","\\unrhd");d(h,C,E,"↚","\\nleftarrow",!0);d(h,C,E,"↛","\\nrightarrow",!0);d(h,C,E,"⇍","\\nLeftarrow",!0);d(h,C,E,"⇏","\\nRightarrow",!0);d(h,C,E,"↮","\\nleftrightarrow",!0);d(h,C,E,"⇎","\\nLeftrightarrow",!0);d(h,C,E,"△","\\vartriangle");d(h,C,P,"ℏ","\\hslash");d(h,C,P,"▽","\\triangledown");d(h,C,P,"◊","\\lozenge");d(h,C,P,"Ⓢ","\\circledS");d(h,C,P,"®","\\circledR");d(se,C,P,"®","\\circledR");d(h,C,P,"∡","\\measuredangle",!0);d(h,C,P,"∄","\\nexists");d(h,C,P,"℧","\\mho");d(h,C,P,"Ⅎ","\\Finv",!0);d(h,C,P,"⅁","\\Game",!0);d(h,C,P,"‵","\\backprime");d(h,C,P,"▲","\\blacktriangle");d(h,C,P,"▼","\\blacktriangledown");d(h,C,P,"■","\\blacksquare");d(h,C,P,"⧫","\\blacklozenge");d(h,C,P,"★","\\bigstar");d(h,C,P,"∢","\\sphericalangle",!0);d(h,C,P,"∁","\\complement",!0);d(h,C,P,"ð","\\eth",!0);d(se,g,P,"ð","ð");d(h,C,P,"╱","\\diagup");d(h,C,P,"╲","\\diagdown");d(h,C,P,"□","\\square");d(h,C,P,"□","\\Box");d(h,C,P,"◊","\\Diamond");d(h,C,P,"¥","\\yen",!0);d(se,C,P,"¥","\\yen",!0);d(h,C,P,"✓","\\checkmark",!0);d(se,C,P,"✓","\\checkmark");d(h,C,P,"ℶ","\\beth",!0);d(h,C,P,"ℸ","\\daleth",!0);d(h,C,P,"ℷ","\\gimel",!0);d(h,C,P,"ϝ","\\digamma",!0);d(h,C,P,"ϰ","\\varkappa");d(h,C,yr,"┌","\\@ulcorner",!0);d(h,C,ar,"┐","\\@urcorner",!0);d(h,C,yr,"└","\\@llcorner",!0);d(h,C,ar,"┘","\\@lrcorner",!0);d(h,C,E,"≦","\\leqq",!0);d(h,C,E,"⩽","\\leqslant",!0);d(h,C,E,"⪕","\\eqslantless",!0);d(h,C,E,"≲","\\lesssim",!0);d(h,C,E,"⪅","\\lessapprox",!0);d(h,C,E,"≊","\\approxeq",!0);d(h,C,Ce,"⋖","\\lessdot");d(h,C,E,"⋘","\\lll",!0);d(h,C,E,"≶","\\lessgtr",!0);d(h,C,E,"⋚","\\lesseqgtr",!0);d(h,C,E,"⪋","\\lesseqqgtr",!0);d(h,C,E,"≑","\\doteqdot");d(h,C,E,"≓","\\risingdotseq",!0);d(h,C,E,"≒","\\fallingdotseq",!0);d(h,C,E,"∽","\\backsim",!0);d(h,C,E,"⋍","\\backsimeq",!0);d(h,C,E,"⫅","\\subseteqq",!0);d(h,C,E,"⋐","\\Subset",!0);d(h,C,E,"⊏","\\sqsubset",!0);d(h,C,E,"≼","\\preccurlyeq",!0);d(h,C,E,"⋞","\\curlyeqprec",!0);d(h,C,E,"≾","\\precsim",!0);d(h,C,E,"⪷","\\precapprox",!0);d(h,C,E,"⊲","\\vartriangleleft");d(h,C,E,"⊴","\\trianglelefteq");d(h,C,E,"⊨","\\vDash",!0);d(h,C,E,"⊪","\\Vvdash",!0);d(h,C,E,"⌣","\\smallsmile");d(h,C,E,"⌢","\\smallfrown");d(h,C,E,"≏","\\bumpeq",!0);d(h,C,E,"≎","\\Bumpeq",!0);d(h,C,E,"≧","\\geqq",!0);d(h,C,E,"⩾","\\geqslant",!0);d(h,C,E,"⪖","\\eqslantgtr",!0);d(h,C,E,"≳","\\gtrsim",!0);d(h,C,E,"⪆","\\gtrapprox",!0);d(h,C,Ce,"⋗","\\gtrdot");d(h,C,E,"⋙","\\ggg",!0);d(h,C,E,"≷","\\gtrless",!0);d(h,C,E,"⋛","\\gtreqless",!0);d(h,C,E,"⪌","\\gtreqqless",!0);d(h,C,E,"≖","\\eqcirc",!0);d(h,C,E,"≗","\\circeq",!0);d(h,C,E,"≜","\\triangleq",!0);d(h,C,E,"∼","\\thicksim");d(h,C,E,"≈","\\thickapprox");d(h,C,E,"⫆","\\supseteqq",!0);d(h,C,E,"⋑","\\Supset",!0);d(h,C,E,"⊐","\\sqsupset",!0);d(h,C,E,"≽","\\succcurlyeq",!0);d(h,C,E,"⋟","\\curlyeqsucc",!0);d(h,C,E,"≿","\\succsim",!0);d(h,C,E,"⪸","\\succapprox",!0);d(h,C,E,"⊳","\\vartriangleright");d(h,C,E,"⊵","\\trianglerighteq");d(h,C,E,"⊩","\\Vdash",!0);d(h,C,E,"∣","\\shortmid");d(h,C,E,"∥","\\shortparallel");d(h,C,E,"≬","\\between",!0);d(h,C,E,"⋔","\\pitchfork",!0);d(h,C,E,"∝","\\varpropto");d(h,C,E,"◀","\\blacktriangleleft");d(h,C,E,"∴","\\therefore",!0);d(h,C,E,"∍","\\backepsilon");d(h,C,E,"▶","\\blacktriangleright");d(h,C,E,"∵","\\because",!0);d(h,C,E,"⋘","\\llless");d(h,C,E,"⋙","\\gggtr");d(h,C,Ce,"⊲","\\lhd");d(h,C,Ce,"⊳","\\rhd");d(h,C,E,"≂","\\eqsim",!0);d(h,g,E,"⋈","\\Join");d(h,C,E,"≑","\\Doteq",!0);d(h,C,Ce,"∔","\\dotplus",!0);d(h,C,Ce,"∖","\\smallsetminus");d(h,C,Ce,"⋒","\\Cap",!0);d(h,C,Ce,"⋓","\\Cup",!0);d(h,C,Ce,"⩞","\\doublebarwedge",!0);d(h,C,Ce,"⊟","\\boxminus",!0);d(h,C,Ce,"⊞","\\boxplus",!0);d(h,C,Ce,"⋇","\\divideontimes",!0);d(h,C,Ce,"⋉","\\ltimes",!0);d(h,C,Ce,"⋊","\\rtimes",!0);d(h,C,Ce,"⋋","\\leftthreetimes",!0);d(h,C,Ce,"⋌","\\rightthreetimes",!0);d(h,C,Ce,"⋏","\\curlywedge",!0);d(h,C,Ce,"⋎","\\curlyvee",!0);d(h,C,Ce,"⊝","\\circleddash",!0);d(h,C,Ce,"⊛","\\circledast",!0);d(h,C,Ce,"⋅","\\centerdot");d(h,C,Ce,"⊺","\\intercal",!0);d(h,C,Ce,"⋒","\\doublecap");d(h,C,Ce,"⋓","\\doublecup");d(h,C,Ce,"⊠","\\boxtimes",!0);d(h,C,E,"⇢","\\dashrightarrow",!0);d(h,C,E,"⇠","\\dashleftarrow",!0);d(h,C,E,"⇇","\\leftleftarrows",!0);d(h,C,E,"⇆","\\leftrightarrows",!0);d(h,C,E,"⇚","\\Lleftarrow",!0);d(h,C,E,"↞","\\twoheadleftarrow",!0);d(h,C,E,"↢","\\leftarrowtail",!0);d(h,C,E,"↫","\\looparrowleft",!0);d(h,C,E,"⇋","\\leftrightharpoons",!0);d(h,C,E,"↶","\\curvearrowleft",!0);d(h,C,E,"↺","\\circlearrowleft",!0);d(h,C,E,"↰","\\Lsh",!0);d(h,C,E,"⇈","\\upuparrows",!0);d(h,C,E,"↿","\\upharpoonleft",!0);d(h,C,E,"⇃","\\downharpoonleft",!0);d(h,g,E,"⊶","\\origof",!0);d(h,g,E,"⊷","\\imageof",!0);d(h,C,E,"⊸","\\multimap",!0);d(h,C,E,"↭","\\leftrightsquigarrow",!0);d(h,C,E,"⇉","\\rightrightarrows",!0);d(h,C,E,"⇄","\\rightleftarrows",!0);d(h,C,E,"↠","\\twoheadrightarrow",!0);d(h,C,E,"↣","\\rightarrowtail",!0);d(h,C,E,"↬","\\looparrowright",!0);d(h,C,E,"↷","\\curvearrowright",!0);d(h,C,E,"↻","\\circlearrowright",!0);d(h,C,E,"↱","\\Rsh",!0);d(h,C,E,"⇊","\\downdownarrows",!0);d(h,C,E,"↾","\\upharpoonright",!0);d(h,C,E,"⇂","\\downharpoonright",!0);d(h,C,E,"⇝","\\rightsquigarrow",!0);d(h,C,E,"⇝","\\leadsto");d(h,C,E,"⇛","\\Rrightarrow",!0);d(h,C,E,"↾","\\restriction");d(h,g,P,"‘","`");d(h,g,P,"$","\\$");d(se,g,P,"$","\\$");d(se,g,P,"$","\\textdollar");d(h,g,P,"%","\\%");d(se,g,P,"%","\\%");d(h,g,P,"_","\\_");d(se,g,P,"_","\\_");d(se,g,P,"_","\\textunderscore");d(h,g,P,"∠","\\angle",!0);d(h,g,P,"∞","\\infty",!0);d(h,g,P,"′","\\prime");d(h,g,P,"△","\\triangle");d(h,g,P,"Γ","\\Gamma",!0);d(h,g,P,"Δ","\\Delta",!0);d(h,g,P,"Θ","\\Theta",!0);d(h,g,P,"Λ","\\Lambda",!0);d(h,g,P,"Ξ","\\Xi",!0);d(h,g,P,"Π","\\Pi",!0);d(h,g,P,"Σ","\\Sigma",!0);d(h,g,P,"Υ","\\Upsilon",!0);d(h,g,P,"Φ","\\Phi",!0);d(h,g,P,"Ψ","\\Psi",!0);d(h,g,P,"Ω","\\Omega",!0);d(h,g,P,"A","Α");d(h,g,P,"B","Β");d(h,g,P,"E","Ε");d(h,g,P,"Z","Ζ");d(h,g,P,"H","Η");d(h,g,P,"I","Ι");d(h,g,P,"K","Κ");d(h,g,P,"M","Μ");d(h,g,P,"N","Ν");d(h,g,P,"O","Ο");d(h,g,P,"P","Ρ");d(h,g,P,"T","Τ");d(h,g,P,"X","Χ");d(h,g,P,"¬","\\neg",!0);d(h,g,P,"¬","\\lnot");d(h,g,P,"⊤","\\top");d(h,g,P,"⊥","\\bot");d(h,g,P,"∅","\\emptyset");d(h,C,P,"∅","\\varnothing");d(h,g,Be,"α","\\alpha",!0);d(h,g,Be,"β","\\beta",!0);d(h,g,Be,"γ","\\gamma",!0);d(h,g,Be,"δ","\\delta",!0);d(h,g,Be,"ϵ","\\epsilon",!0);d(h,g,Be,"ζ","\\zeta",!0);d(h,g,Be,"η","\\eta",!0);d(h,g,Be,"θ","\\theta",!0);d(h,g,Be,"ι","\\iota",!0);d(h,g,Be,"κ","\\kappa",!0);d(h,g,Be,"λ","\\lambda",!0);d(h,g,Be,"μ","\\mu",!0);d(h,g,Be,"ν","\\nu",!0);d(h,g,Be,"ξ","\\xi",!0);d(h,g,Be,"ο","\\omicron",!0);d(h,g,Be,"π","\\pi",!0);d(h,g,Be,"ρ","\\rho",!0);d(h,g,Be,"σ","\\sigma",!0);d(h,g,Be,"τ","\\tau",!0);d(h,g,Be,"υ","\\upsilon",!0);d(h,g,Be,"ϕ","\\phi",!0);d(h,g,Be,"χ","\\chi",!0);d(h,g,Be,"ψ","\\psi",!0);d(h,g,Be,"ω","\\omega",!0);d(h,g,Be,"ε","\\varepsilon",!0);d(h,g,Be,"ϑ","\\vartheta",!0);d(h,g,Be,"ϖ","\\varpi",!0);d(h,g,Be,"ϱ","\\varrho",!0);d(h,g,Be,"ς","\\varsigma",!0);d(h,g,Be,"φ","\\varphi",!0);d(h,g,Ce,"∗","*",!0);d(h,g,Ce,"+","+");d(h,g,Ce,"−","-",!0);d(h,g,Ce,"⋅","\\cdot",!0);d(h,g,Ce,"∘","\\circ",!0);d(h,g,Ce,"÷","\\div",!0);d(h,g,Ce,"±","\\pm",!0);d(h,g,Ce,"×","\\times",!0);d(h,g,Ce,"∩","\\cap",!0);d(h,g,Ce,"∪","\\cup",!0);d(h,g,Ce,"∖","\\setminus",!0);d(h,g,Ce,"∧","\\land");d(h,g,Ce,"∨","\\lor");d(h,g,Ce,"∧","\\wedge",!0);d(h,g,Ce,"∨","\\vee",!0);d(h,g,P,"√","\\surd");d(h,g,yr,"⟨","\\langle",!0);d(h,g,yr,"∣","\\lvert");d(h,g,yr,"∥","\\lVert");d(h,g,ar,"?","?");d(h,g,ar,"!","!");d(h,g,ar,"⟩","\\rangle",!0);d(h,g,ar,"∣","\\rvert");d(h,g,ar,"∥","\\rVert");d(h,g,E,"=","=");d(h,g,E,":",":");d(h,g,E,"≈","\\approx",!0);d(h,g,E,"≅","\\cong",!0);d(h,g,E,"≥","\\ge");d(h,g,E,"≥","\\geq",!0);d(h,g,E,"←","\\gets");d(h,g,E,">","\\gt",!0);d(h,g,E,"∈","\\in",!0);d(h,g,E,"","\\@not");d(h,g,E,"⊂","\\subset",!0);d(h,g,E,"⊃","\\supset",!0);d(h,g,E,"⊆","\\subseteq",!0);d(h,g,E,"⊇","\\supseteq",!0);d(h,C,E,"⊈","\\nsubseteq",!0);d(h,C,E,"⊉","\\nsupseteq",!0);d(h,g,E,"⊨","\\models");d(h,g,E,"←","\\leftarrow",!0);d(h,g,E,"≤","\\le");d(h,g,E,"≤","\\leq",!0);d(h,g,E,"<","\\lt",!0);d(h,g,E,"→","\\rightarrow",!0);d(h,g,E,"→","\\to");d(h,C,E,"≱","\\ngeq",!0);d(h,C,E,"≰","\\nleq",!0);d(h,g,On," ","\\ ");d(h,g,On," ","\\space");d(h,g,On," ","\\nobreakspace");d(se,g,On," ","\\ ");d(se,g,On," "," ");d(se,g,On," ","\\space");d(se,g,On," ","\\nobreakspace");d(h,g,On,null,"\\nobreak");d(h,g,On,null,"\\allowbreak");d(h,g,oo,",",",");d(h,g,oo,";",";");d(h,C,Ce,"⊼","\\barwedge",!0);d(h,C,Ce,"⊻","\\veebar",!0);d(h,g,Ce,"⊙","\\odot",!0);d(h,g,Ce,"⊕","\\oplus",!0);d(h,g,Ce,"⊗","\\otimes",!0);d(h,g,P,"∂","\\partial",!0);d(h,g,Ce,"⊘","\\oslash",!0);d(h,C,Ce,"⊚","\\circledcirc",!0);d(h,C,Ce,"⊡","\\boxdot",!0);d(h,g,Ce,"△","\\bigtriangleup");d(h,g,Ce,"▽","\\bigtriangledown");d(h,g,Ce,"†","\\dagger");d(h,g,Ce,"⋄","\\diamond");d(h,g,Ce,"⋆","\\star");d(h,g,Ce,"◃","\\triangleleft");d(h,g,Ce,"▹","\\triangleright");d(h,g,yr,"{","\\{");d(se,g,P,"{","\\{");d(se,g,P,"{","\\textbraceleft");d(h,g,ar,"}","\\}");d(se,g,P,"}","\\}");d(se,g,P,"}","\\textbraceright");d(h,g,yr,"{","\\lbrace");d(h,g,ar,"}","\\rbrace");d(h,g,yr,"[","\\lbrack",!0);d(se,g,P,"[","\\lbrack",!0);d(h,g,ar,"]","\\rbrack",!0);d(se,g,P,"]","\\rbrack",!0);d(h,g,yr,"(","\\lparen",!0);d(h,g,ar,")","\\rparen",!0);d(se,g,P,"<","\\textless",!0);d(se,g,P,">","\\textgreater",!0);d(h,g,yr,"⌊","\\lfloor",!0);d(h,g,ar,"⌋","\\rfloor",!0);d(h,g,yr,"⌈","\\lceil",!0);d(h,g,ar,"⌉","\\rceil",!0);d(h,g,P,"\\","\\backslash");d(h,g,P,"∣","|");d(h,g,P,"∣","\\vert");d(se,g,P,"|","\\textbar",!0);d(h,g,P,"∥","\\|");d(h,g,P,"∥","\\Vert");d(se,g,P,"∥","\\textbardbl");d(se,g,P,"~","\\textasciitilde");d(se,g,P,"\\","\\textbackslash");d(se,g,P,"^","\\textasciicircum");d(h,g,E,"↑","\\uparrow",!0);d(h,g,E,"⇑","\\Uparrow",!0);d(h,g,E,"↓","\\downarrow",!0);d(h,g,E,"⇓","\\Downarrow",!0);d(h,g,E,"↕","\\updownarrow",!0);d(h,g,E,"⇕","\\Updownarrow",!0);d(h,g,Ft,"∐","\\coprod");d(h,g,Ft,"⋁","\\bigvee");d(h,g,Ft,"⋀","\\bigwedge");d(h,g,Ft,"⨄","\\biguplus");d(h,g,Ft,"⋂","\\bigcap");d(h,g,Ft,"⋃","\\bigcup");d(h,g,Ft,"∫","\\int");d(h,g,Ft,"∫","\\intop");d(h,g,Ft,"∬","\\iint");d(h,g,Ft,"∭","\\iiint");d(h,g,Ft,"∏","\\prod");d(h,g,Ft,"∑","\\sum");d(h,g,Ft,"⨂","\\bigotimes");d(h,g,Ft,"⨁","\\bigoplus");d(h,g,Ft,"⨀","\\bigodot");d(h,g,Ft,"∮","\\oint");d(h,g,Ft,"∯","\\oiint");d(h,g,Ft,"∰","\\oiiint");d(h,g,Ft,"⨆","\\bigsqcup");d(h,g,Ft,"∫","\\smallint");d(se,g,xu,"…","\\textellipsis");d(h,g,xu,"…","\\mathellipsis");d(se,g,xu,"…","\\ldots",!0);d(h,g,xu,"…","\\ldots",!0);d(h,g,xu,"⋯","\\@cdots",!0);d(h,g,xu,"⋱","\\ddots",!0);d(h,g,P,"⋮","\\varvdots");d(se,g,P,"⋮","\\varvdots");d(h,g,bt,"ˊ","\\acute");d(h,g,bt,"ˋ","\\grave");d(h,g,bt,"¨","\\ddot");d(h,g,bt,"~","\\tilde");d(h,g,bt,"ˉ","\\bar");d(h,g,bt,"˘","\\breve");d(h,g,bt,"ˇ","\\check");d(h,g,bt,"^","\\hat");d(h,g,bt,"⃗","\\vec");d(h,g,bt,"˙","\\dot");d(h,g,bt,"˚","\\mathring");d(h,g,Be,"","\\@imath");d(h,g,Be,"","\\@jmath");d(h,g,P,"ı","ı");d(h,g,P,"ȷ","ȷ");d(se,g,P,"ı","\\i",!0);d(se,g,P,"ȷ","\\j",!0);d(se,g,P,"ß","\\ss",!0);d(se,g,P,"æ","\\ae",!0);d(se,g,P,"œ","\\oe",!0);d(se,g,P,"ø","\\o",!0);d(se,g,P,"Æ","\\AE",!0);d(se,g,P,"Œ","\\OE",!0);d(se,g,P,"Ø","\\O",!0);d(se,g,bt,"ˊ","\\'");d(se,g,bt,"ˋ","\\`");d(se,g,bt,"ˆ","\\^");d(se,g,bt,"˜","\\~");d(se,g,bt,"ˉ","\\=");d(se,g,bt,"˘","\\u");d(se,g,bt,"˙","\\.");d(se,g,bt,"¸","\\c");d(se,g,bt,"˚","\\r");d(se,g,bt,"ˇ","\\v");d(se,g,bt,"¨",'\\"');d(se,g,bt,"˝","\\H");d(se,g,bt,"◯","\\textcircled");var m4={"--":!0,"---":!0,"``":!0,"''":!0};d(se,g,P,"–","--",!0);d(se,g,P,"–","\\textendash");d(se,g,P,"—","---",!0);d(se,g,P,"—","\\textemdash");d(se,g,P,"‘","`",!0);d(se,g,P,"‘","\\textquoteleft");d(se,g,P,"’","'",!0);d(se,g,P,"’","\\textquoteright");d(se,g,P,"“","``",!0);d(se,g,P,"“","\\textquotedblleft");d(se,g,P,"”","''",!0);d(se,g,P,"”","\\textquotedblright");d(h,g,P,"°","\\degree",!0);d(se,g,P,"°","\\degree");d(se,g,P,"°","\\textdegree",!0);d(h,g,P,"£","\\pounds");d(h,g,P,"£","\\mathsterling",!0);d(se,g,P,"£","\\pounds");d(se,g,P,"£","\\textsterling",!0);d(h,C,P,"✠","\\maltese");d(se,C,P,"✠","\\maltese");var xf='0123456789/@."';for(var us=0;us<xf.length;us++){var wf=xf.charAt(us);d(h,g,P,wf,wf)}var kf='0123456789!@*()-=+";:?/.,';for(var is=0;is<kf.length;is++){var Sf=kf.charAt(is);d(se,g,P,Sf,Sf)}var Fa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var as=0;as<Fa.length;as++){var Hi=Fa.charAt(as);d(h,g,Be,Hi,Hi),d(se,g,P,Hi,Hi)}d(h,C,P,"C","ℂ");d(se,C,P,"C","ℂ");d(h,C,P,"H","ℍ");d(se,C,P,"H","ℍ");d(h,C,P,"N","ℕ");d(se,C,P,"N","ℕ");d(h,C,P,"P","ℙ");d(se,C,P,"P","ℙ");d(h,C,P,"Q","ℚ");d(se,C,P,"Q","ℚ");d(h,C,P,"R","ℝ");d(se,C,P,"R","ℝ");d(h,C,P,"Z","ℤ");d(se,C,P,"Z","ℤ");d(h,g,Be,"h","ℎ");d(se,g,Be,"h","ℎ");var Le="";for(var Qt=0;Qt<Fa.length;Qt++){var wt=Fa.charAt(Qt);Le=String.fromCharCode(55349,56320+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56372+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56424+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56580+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56684+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56736+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56788+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56840+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56944+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Qt<26&&(Le=String.fromCharCode(55349,56632+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56476+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le))}Le="𝕜";d(h,g,Be,"k",Le);d(se,g,P,"k",Le);for(var b0=0;b0<10;b0++){var Ln=b0.toString();Le=String.fromCharCode(55349,57294+b0),d(h,g,Be,Ln,Le),d(se,g,P,Ln,Le),Le=String.fromCharCode(55349,57314+b0),d(h,g,Be,Ln,Le),d(se,g,P,Ln,Le),Le=String.fromCharCode(55349,57324+b0),d(h,g,Be,Ln,Le),d(se,g,P,Ln,Le),Le=String.fromCharCode(55349,57334+b0),d(h,g,Be,Ln,Le),d(se,g,P,Ln,Le)}var ul="ÐÞþ";for(var os=0;os<ul.length;os++){var Vi=ul.charAt(os);d(h,g,Be,Vi,Vi),d(se,g,P,Vi,Vi)}var Ui=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Af=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Cg=function(t,r){var n=t.charCodeAt(0),u=t.charCodeAt(1),i=(n-55296)*1024+(u-56320)+65536,a=r==="math"?0:1;if(119808<=i&&i<120484){var o=Math.floor((i-119808)/26);return[Ui[o][2],Ui[o][a]]}else if(120782<=i&&i<=120831){var s=Math.floor((i-120782)/10);return[Af[s][2],Af[s][a]]}else{if(i===120485||i===120486)return[Ui[0][2],Ui[0][a]];if(120486<i&&i<120782)return["",""];throw new fe("Unsupported character: "+t)}},so=function(t,r,n){return ht[n][t]&&ht[n][t].replace&&(t=ht[n][t].replace),{value:t,metrics:sc(t,r,n)}},Rr=function(t,r,n,u,i){var a=so(t,r,n),o=a.metrics;t=a.value;var s;if(o){var l=o.italic;(n==="text"||u&&u.font==="mathit")&&(l=0),s=new Tr(t,o.height,o.depth,l,o.skew,o.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),s=new Tr(t,0,0,0,0,0,i);if(u){s.maxFontSize=u.sizeMultiplier,u.style.isTight()&&s.classes.push("mtight");var c=u.getColor();c&&(s.style.color=c)}return s},_g=function(t,r,n,u){return u===void 0&&(u=[]),n.font==="boldsymbol"&&so(t,"Main-Bold",r).metrics?Rr(t,"Main-Bold",r,n,u.concat(["mathbf"])):t==="\\"||ht[r][t].font==="main"?Rr(t,"Main-Regular",r,n,u):Rr(t,"AMS-Regular",r,n,u.concat(["amsrm"]))},Dg=function(t,r,n,u,i){return i!=="textord"&&so(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Eg=function(t,r,n){var u=t.mode,i=t.text,a=["mord"],o=u==="math"||u==="text"&&r.font,s=o?r.font:r.fontFamily,l="",c="";if(i.charCodeAt(0)===55349&&([l,c]=Cg(i,u)),l.length>0)return Rr(i,l,u,r,a.concat(c));if(s){var f,m;if(s==="boldsymbol"){var p=Dg(i,u,r,a,n);f=p.fontName,m=[p.fontClass]}else o?(f=g4[s].fontName,m=[s]):(f=ji(s,r.fontWeight,r.fontShape),m=[s,r.fontWeight,r.fontShape]);if(so(i,f,u).metrics)return Rr(i,f,u,r,a.concat(m));if(m4.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var v=[],x=0;x<i.length;x++)v.push(Rr(i[x],f,u,r,a.concat(m)));return v4(v)}}if(n==="mathord")return Rr(i,"Math-Italic",u,r,a.concat(["mathnormal"]));if(n==="textord"){var y=ht[u][i]&&ht[u][i].font;if(y==="ams"){var T=ji("amsrm",r.fontWeight,r.fontShape);return Rr(i,T,u,r,a.concat("amsrm",r.fontWeight,r.fontShape))}else if(y==="main"||!y){var D=ji("textrm",r.fontWeight,r.fontShape);return Rr(i,D,u,r,a.concat(r.fontWeight,r.fontShape))}else{var _=ji(y,r.fontWeight,r.fontShape);return Rr(i,_,u,r,a.concat(_,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Mg=(e,t)=>{if(i0(e.classes)!==i0(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var u in t.style)if(t.style.hasOwnProperty(u)&&e.style[u]!==t.style[u])return!1;return!0},Tg=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Tr&&n instanceof Tr&&Mg(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},cc=function(t){for(var r=0,n=0,u=0,i=0;i<t.children.length;i++){var a=t.children[i];a.height>r&&(r=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>u&&(u=a.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=u},or=function(t,r,n,u){var i=new wi(t,r,n,u);return cc(i),i},p4=(e,t,r,n)=>new wi(e,t,r,n),Fg=function(t,r,n){var u=or([t],[],r);return u.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),u.style.borderBottomWidth=ye(u.height),u.maxFontSize=1,u},zg=function(t,r,n,u){var i=new lc(t,r,n,u);return cc(i),i},v4=function(t){var r=new xi(t);return cc(r),r},Bg=function(t,r){return t instanceof xi?or([],[t],r):t},Og=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],u=-r[0].shift-r[0].elem.depth,i=u,a=1;a<r.length;a++){var o=-r[a].shift-i-r[a].elem.depth,s=o-(r[a-1].elem.height+r[a-1].elem.depth);i=i+o,n.push({type:"kern",size:s}),n.push(r[a])}return{children:n,depth:u}}var l;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var m=t.children[f];c-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}l=c}else if(t.positionType==="bottom")l=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},Rg=function(t,r){for(var{children:n,depth:u}=Og(t),i=0,a=0;a<n.length;a++){var o=n[a];if(o.type==="elem"){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var l=or(["pstrut"],[]);l.style.height=ye(i);for(var c=[],f=u,m=u,p=u,v=0;v<n.length;v++){var x=n[v];if(x.type==="kern")p+=x.size;else{var y=x.elem,T=x.wrapperClasses||[],D=x.wrapperStyle||{},_=or(T,[l,y],void 0,D);_.style.top=ye(-i-p-y.depth),x.marginLeft&&(_.style.marginLeft=x.marginLeft),x.marginRight&&(_.style.marginRight=x.marginRight),c.push(_),p+=y.height+y.depth}f=Math.min(f,p),m=Math.max(m,p)}var w=or(["vlist"],c);w.style.height=ye(m);var F;if(f<0){var j=or([],[]),z=or(["vlist"],[j]);z.style.height=ye(-f);var V=or(["vlist-s"],[new Tr("​")]);F=[or(["vlist-r"],[w,V]),or(["vlist-r"],[z])]}else F=[or(["vlist-r"],[w])];var S=or(["vlist-t"],F);return F.length===2&&S.classes.push("vlist-t2"),S.height=m,S.depth=-f,S},qg=(e,t)=>{var r=or(["mspace"],[],t),n=xt(e,t);return r.style.marginRight=ye(n),r},ji=function(t,r,n){var u="";switch(t){case"amsrm":u="AMS";break;case"textrm":u="Main";break;case"textsf":u="SansSerif";break;case"texttt":u="Typewriter";break;default:u=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",u+"-"+i},g4={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},b4={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Lg=function(t,r){var[n,u,i]=b4[t],a=new a0(n),o=new Tn([a],{width:ye(u),height:ye(i),style:"width:"+ye(u),viewBox:"0 0 "+1e3*u+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),s=p4(["overlay"],[o],r);return s.height=i,s.style.height=ye(i),s.style.width=ye(u),s},K={fontMap:g4,makeSymbol:Rr,mathsym:_g,makeSpan:or,makeSvgSpan:p4,makeLineSpan:Fg,makeAnchor:zg,makeFragment:v4,wrapFragment:Bg,makeVList:Rg,makeOrd:Eg,makeGlue:qg,staticSvg:Lg,svgData:b4,tryCombineChars:Tg},yt={number:3,unit:"mu"},y0={number:4,unit:"mu"},xn={number:5,unit:"mu"},Pg={mord:{mop:yt,mbin:y0,mrel:xn,minner:yt},mop:{mord:yt,mop:yt,mrel:xn,minner:yt},mbin:{mord:y0,mop:y0,mopen:y0,minner:y0},mrel:{mord:xn,mop:xn,mopen:xn,minner:xn},mopen:{},mclose:{mop:yt,mbin:y0,mrel:xn,minner:yt},mpunct:{mord:yt,mop:yt,mrel:xn,mopen:yt,mclose:yt,mpunct:yt,minner:yt},minner:{mord:yt,mop:yt,mbin:y0,mrel:xn,mopen:yt,mpunct:yt,minner:yt}},Ig={mord:{mop:yt},mop:{mord:yt,mop:yt},mbin:{},mrel:{},mopen:{},mclose:{mop:yt},mpunct:{},minner:{mop:yt}},y4={},za={},Ba={};function ke(e){for(var{type:t,names:r,props:n,handler:u,htmlBuilder:i,mathmlBuilder:a}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:u},s=0;s<r.length;++s)y4[r[s]]=o;t&&(i&&(za[t]=i),a&&(Ba[t]=a))}function N0(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ke({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Oa=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},At=function(t){return t.type==="ordgroup"?t.body:[t]},Fn=K.makeSpan,Ng=["leftmost","mbin","mopen","mrel","mop","mpunct"],Hg=["rightmost","mrel","mclose","mpunct"],Vg={display:Oe.DISPLAY,text:Oe.TEXT,script:Oe.SCRIPT,scriptscript:Oe.SCRIPTSCRIPT},Ug={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Bt=function(t,r,n,u){u===void 0&&(u=[null,null]);for(var i=[],a=0;a<t.length;a++){var o=tt(t[a],r);if(o instanceof xi){var s=o.children;i.push(...s)}else i.push(o)}if(K.tryCombineChars(i),!n)return i;var l=r;if(t.length===1){var c=t[0];c.type==="sizing"?l=r.havingSize(c.size):c.type==="styling"&&(l=r.havingStyle(Vg[c.style]))}var f=Fn([u[0]||"leftmost"],[],r),m=Fn([u[1]||"rightmost"],[],r),p=n==="root";return Cf(i,(v,x)=>{var y=x.classes[0],T=v.classes[0];y==="mbin"&&ze.contains(Hg,T)?x.classes[0]="mord":T==="mbin"&&ze.contains(Ng,y)&&(v.classes[0]="mord")},{node:f},m,p),Cf(i,(v,x)=>{var y=il(x),T=il(v),D=y&&T?v.hasClass("mtight")?Ig[y][T]:Pg[y][T]:null;if(D)return K.makeGlue(D,l)},{node:f},m,p),i},Cf=function e(t,r,n,u,i){u&&t.push(u);for(var a=0;a<t.length;a++){var o=t[a],s=x4(o);if(s){e(s.children,r,n,null,i);continue}var l=!o.hasClass("mspace");if(l){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),a++))}l?n.node=o:i&&o.hasClass("newline")&&(n.node=Fn(["leftmost"])),n.insertAfter=(f=>m=>{t.splice(f+1,0,m),a++})(a)}u&&t.pop()},x4=function(t){return t instanceof xi||t instanceof lc||t instanceof wi&&t.hasClass("enclosing")?t:null},jg=function e(t,r){var n=x4(t);if(n){var u=n.children;if(u.length){if(r==="right")return e(u[u.length-1],"right");if(r==="left")return e(u[0],"left")}}return t},il=function(t,r){return t?(r&&(t=jg(t,r)),Ug[t.classes[0]]||null):null},si=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Fn(r.concat(n))},tt=function(t,r,n){if(!t)return Fn();if(za[t.type]){var u=za[t.type](t,r);if(n&&r.size!==n.size){u=Fn(r.sizingClasses(n),[u],r);var i=r.sizeMultiplier/n.sizeMultiplier;u.height*=i,u.depth*=i}return u}else throw new fe("Got group of unknown type: '"+t.type+"'")};function $i(e,t){var r=Fn(["base"],e,t),n=Fn(["strut"]);return n.style.height=ye(r.height+r.depth),r.depth&&(n.style.verticalAlign=ye(-r.depth)),r.children.unshift(n),r}function al(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Bt(e,t,"root"),u;n.length===2&&n[1].hasClass("tag")&&(u=n.pop());for(var i=[],a=[],o=0;o<n.length;o++)if(a.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var s=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,a.push(n[o]),n[o].hasClass("nobreak")&&(s=!0);s||(i.push($i(a,t)),a=[])}else n[o].hasClass("newline")&&(a.pop(),a.length>0&&(i.push($i(a,t)),a=[]),i.push(n[o]));a.length>0&&i.push($i(a,t));var l;r?(l=$i(Bt(r,t,!0)),l.classes=["tag"],i.push(l)):u&&i.push(u);var c=Fn(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=ye(c.height+c.depth),c.depth&&(f.style.verticalAlign=ye(-c.depth))}return c}function w4(e){return new xi(e)}class mr{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=i0(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof sn&&this.children[n+1]instanceof sn){for(var u=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof sn;)u+=this.children[++n].toText();t.appendChild(new sn(u).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=ze.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+ze.escape(i0(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class sn{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return ze.escape(this.toText())}toText(){return this.text}}class $g{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",ye(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ye(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ce={MathNode:mr,TextNode:sn,SpaceNode:$g,newDocumentFragment:w4},Fr=function(t,r,n){return ht[r][t]&&ht[r][t].replace&&t.charCodeAt(0)!==55349&&!(m4.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=ht[r][t].replace),new ce.TextNode(t)},fc=function(t){return t.length===1?t[0]:new ce.MathNode("mrow",t)},dc=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var u=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(ze.contains(["\\imath","\\jmath"],i))return null;ht[u][i]&&ht[u][i].replace&&(i=ht[u][i].replace);var a=K.fontMap[n].fontName;return sc(i,a,u)?K.fontMap[n].variant:null};function ss(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof sn&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof sn&&r.text===","}else return!1}var fr=function(t,r,n){if(t.length===1){var u=st(t[0],r);return n&&u instanceof mr&&u.type==="mo"&&(u.setAttribute("lspace","0em"),u.setAttribute("rspace","0em")),[u]}for(var i=[],a,o=0;o<t.length;o++){var s=st(t[o],r);if(s instanceof mr&&a instanceof mr){if(s.type==="mtext"&&a.type==="mtext"&&s.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...s.children);continue}else if(s.type==="mn"&&a.type==="mn"){a.children.push(...s.children);continue}else if(ss(s)&&a.type==="mn"){a.children.push(...s.children);continue}else if(s.type==="mn"&&ss(a))s.children=[...a.children,...s.children],i.pop();else if((s.type==="msup"||s.type==="msub")&&s.children.length>=1&&(a.type==="mn"||ss(a))){var l=s.children[0];l instanceof mr&&l.type==="mn"&&(l.children=[...a.children,...l.children],i.pop())}else if(a.type==="mi"&&a.children.length===1){var c=a.children[0];if(c instanceof sn&&c.text==="̸"&&(s.type==="mo"||s.type==="mi"||s.type==="mn")){var f=s.children[0];f instanceof sn&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(s),a=s}return i},o0=function(t,r,n){return fc(fr(t,r,n))},st=function(t,r){if(!t)return new ce.MathNode("mrow");if(Ba[t.type]){var n=Ba[t.type](t,r);return n}else throw new fe("Got group of unknown type: '"+t.type+"'")};function _f(e,t,r,n,u){var i=fr(e,r),a;i.length===1&&i[0]instanceof mr&&ze.contains(["mrow","mtable"],i[0].type)?a=i[0]:a=new ce.MathNode("mrow",i);var o=new ce.MathNode("annotation",[new ce.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var s=new ce.MathNode("semantics",[a,o]),l=new ce.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=u?"katex":"katex-mathml";return K.makeSpan([c],[l])}var k4=function(t){return new Sn({style:t.displayMode?Oe.DISPLAY:Oe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},S4=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=K.makeSpan(n,[t])}return t},Yg=function(t,r,n){var u=k4(n),i;if(n.output==="mathml")return _f(t,r,u,n.displayMode,!0);if(n.output==="html"){var a=al(t,u);i=K.makeSpan(["katex"],[a])}else{var o=_f(t,r,u,n.displayMode,!1),s=al(t,u);i=K.makeSpan(["katex"],[o,s])}return S4(i,n)},Gg=function(t,r,n){var u=k4(n),i=al(t,u),a=K.makeSpan(["katex"],[i]);return S4(a,n)},Wg={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Kg=function(t){var r=new ce.MathNode("mo",[new ce.TextNode(Wg[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Zg={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Qg=function(t){return t.type==="ordgroup"?t.body.length:1},Xg=function(t,r){function n(){var o=4e5,s=t.label.slice(1);if(ze.contains(["widehat","widecheck","widetilde","utilde"],s)){var l=t,c=Qg(l.base),f,m,p;if(c>5)s==="widehat"||s==="widecheck"?(f=420,o=2364,p=.42,m=s+"4"):(f=312,o=2340,p=.34,m="tilde4");else{var v=[1,1,2,2,3,3][c];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][v],f=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],m=s+v):(o=[0,600,1033,2339,2340][v],f=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],m="tilde"+v)}var x=new a0(m),y=new Tn([x],{width:"100%",height:ye(p),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:K.makeSvgSpan([],[y],r),minWidth:0,height:p}}else{var T=[],D=Zg[s],[_,w,F]=D,j=F/1e3,z=_.length,V,S;if(z===1){var Y=D[3];V=["hide-tail"],S=[Y]}else if(z===2)V=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else if(z===3)V=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
291
- `+z+" children.");for(var Z=0;Z<z;Z++){var M=new a0(_[Z]),U=new Tn([M],{width:"400em",height:ye(j),viewBox:"0 0 "+o+" "+F,preserveAspectRatio:S[Z]+" slice"}),B=K.makeSvgSpan([V[Z]],[U],r);if(z===1)return{span:B,minWidth:w,height:j};B.style.height=ye(j),T.push(B)}return{span:K.makeSpan(["stretchy"],T,r),minWidth:w,height:j}}}var{span:u,minWidth:i,height:a}=n();return u.height=a,u.style.height=ye(a),i>0&&(u.style.minWidth=ye(i)),u},Jg=function(t,r,n,u,i){var a,o=t.height+t.depth+n+u;if(/fbox|color|angl/.test(r)){if(a=K.makeSpan(["stretchy",r],[],i),r==="fbox"){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new nl({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new nl({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Tn(l,{width:"100%",height:ye(o)});a=K.makeSvgSpan([],[c],i)}return a.height=o,a.style.height=ye(o),a},zn={encloseSpan:Jg,mathMLnode:Kg,svgSpan:Xg};function je(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function hc(e){var t=lo(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function lo(e){return e&&(e.type==="atom"||Ag.hasOwnProperty(e.type))?e:null}var mc=(e,t)=>{var r,n,u;e&&e.type==="supsub"?(n=je(e.base,"accent"),r=n.base,e.base=r,u=kg(tt(e,t)),e.base=n):(n=je(e,"accent"),r=n.base);var i=tt(r,t.havingCrampedStyle()),a=n.isShifty&&ze.isCharacterBox(r),o=0;if(a){var s=ze.getBaseElem(r),l=tt(s,t.havingCrampedStyle());o=yf(l).skew}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=zn.svgSpan(n,t),m=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+ye(2*o)+")",marginLeft:ye(2*o)}:void 0}]},t);else{var p,v;n.label==="\\vec"?(p=K.staticSvg("vec",t),v=K.svgData.vec[1]):(p=K.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=yf(p),p.italic=0,v=p.width,c&&(f+=p.depth)),m=K.makeSpan(["accent-body"],[p]);var x=n.label==="\\textcircled";x&&(m.classes.push("accent-full"),f=i.height);var y=o;x||(y-=v/2),m.style.left=ye(y),n.label==="\\textcircled"&&(m.style.top=".2em"),m=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:m}]},t)}var T=K.makeSpan(["mord","accent"],[m],t);return u?(u.children[0]=T,u.height=Math.max(T.height,u.height),u.classes[0]="mord",u):T},A4=(e,t)=>{var r=e.isStretchy?zn.mathMLnode(e.label):new ce.MathNode("mo",[Fr(e.label,e.mode)]),n=new ce.MathNode("mover",[st(e.base,t),r]);return n.setAttribute("accent","true"),n},eb=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ke({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=Oa(t[0]),n=!eb.test(e.funcName),u=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:u,base:r}},htmlBuilder:mc,mathmlBuilder:A4});ke({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:mc,mathmlBuilder:A4});ke({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:u}},htmlBuilder:(e,t)=>{var r=tt(e.base,t),n=zn.svgSpan(e,t),u=e.label==="\\utilde"?.12:0,i=K.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:u},{type:"elem",elem:r}]},t);return K.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=zn.mathMLnode(e.label),n=new ce.MathNode("munder",[st(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Yi=e=>{var t=new ce.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ke({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:u}=e;return{type:"xArrow",mode:n.mode,label:u,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),u=K.wrapFragment(tt(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";u.classes.push(i+"-arrow-pad");var a;e.below&&(n=t.havingStyle(r.sub()),a=K.wrapFragment(tt(e.below,n,t),t),a.classes.push(i+"-arrow-pad"));var o=zn.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;(u.depth>.25||e.label==="\\xleftequilibrium")&&(l-=u.depth);var c;if(a){var f=-t.fontMetrics().axisHeight+a.height+.5*o.height+.111;c=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:l},{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:f}]},t)}else c=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:l},{type:"elem",elem:o,shift:s}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),K.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=zn.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var u=Yi(st(e.body,t));if(e.below){var i=Yi(st(e.below,t));n=new ce.MathNode("munderover",[r,i,u])}else n=new ce.MathNode("mover",[r,u])}else if(e.below){var a=Yi(st(e.below,t));n=new ce.MathNode("munder",[r,a])}else n=Yi(),n=new ce.MathNode("mover",[r,n]);return n}});var tb=K.makeSpan;function C4(e,t){var r=Bt(e.body,t,!0);return tb([e.mclass],r,t)}function _4(e,t){var r,n=fr(e.body,t);return e.mclass==="minner"?r=new ce.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new ce.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new ce.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ke({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:At(u),isCharacterBox:ze.isCharacterBox(u)}},htmlBuilder:C4,mathmlBuilder:_4});var co=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ke({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:co(t[0]),body:At(t[1]),isCharacterBox:ze.isCharacterBox(t[1])}}});ke({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,u=t[1],i=t[0],a;n!=="\\stackrel"?a=co(u):a="mrel";var o={type:"op",mode:u.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:At(u)},s={type:"supsub",mode:i.mode,base:o,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:a,body:[s],isCharacterBox:ze.isCharacterBox(s)}},htmlBuilder:C4,mathmlBuilder:_4});ke({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:co(t[0]),body:At(t[0])}},htmlBuilder(e,t){var r=Bt(e.body,t,!0),n=K.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=fr(e.body,t),n=new ce.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var rb={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Df=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ef=e=>e.type==="textord"&&e.text==="@",nb=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function ub(e,t,r){var n=rb[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var u=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},a=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[u,a,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ib(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new fe("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],u=[n],i=0;i<t.length;i++){for(var a=t[i],o=Df(),s=0;s<a.length;s++)if(!Ef(a[s]))o.body.push(a[s]);else{n.push(o),s+=1;var l=hc(a[s]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(l)>-1))if("<>AV".indexOf(l)>-1)for(var f=0;f<2;f++){for(var m=!0,p=s+1;p<a.length;p++){if(nb(a[p],l)){m=!1,s=p;break}if(Ef(a[p]))throw new fe("Missing a "+l+" character to complete a CD arrow.",a[p]);c[f].body.push(a[p])}if(m)throw new fe("Missing a "+l+" character to complete a CD arrow.",a[s])}else throw new fe('Expected one of "<>AV=|." after @',a[s]);var v=ub(l,c,e),x={type:"styling",body:[v],mode:"math",style:"display"};n.push(x),o=Df()}i%2===0?n.push(o):n.shift(),n=[],u.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var y=new Array(u[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:u,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(u.length+1).fill([])}}ke({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=K.wrapFragment(tt(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ye(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new ce.MathNode("mrow",[st(e.label,t)]);return r=new ce.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ce.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ke({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=K.wrapFragment(tt(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new ce.MathNode("mrow",[st(e.fragment,t)])}});ke({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=je(t[0],"ordgroup"),u=n.body,i="",a=0;a<u.length;a++){var o=je(u[a],"textord");i+=o.text}var s=parseInt(i),l;if(isNaN(s))throw new fe("\\@char has non-numeric argument "+i);if(s<0||s>=1114111)throw new fe("\\@char with invalid code point "+i);return s<=65535?l=String.fromCharCode(s):(s-=65536,l=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var D4=(e,t)=>{var r=Bt(e.body,t.withColor(e.color),!1);return K.makeFragment(r)},E4=(e,t)=>{var r=fr(e.body,t.withColor(e.color)),n=new ce.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ke({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=je(t[0],"color-token").color,u=t[1];return{type:"color",mode:r.mode,color:n,body:At(u)}},htmlBuilder:D4,mathmlBuilder:E4});ke({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,u=je(t[0],"color-token").color;r.gullet.macros.set("\\current@color",u);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:u,body:i}},htmlBuilder:D4,mathmlBuilder:E4});ke({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,u=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:u&&je(u,"size").value}},htmlBuilder(e,t){var r=K.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ye(xt(e.size,t)))),r},mathmlBuilder(e,t){var r=new ce.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ye(xt(e.size,t)))),r}});var ol={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},M4=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new fe("Expected a control sequence",e);return t},ab=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},T4=(e,t,r,n)=>{var u=e.gullet.macros.get(r.text);u==null&&(r.noexpand=!0,u={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,u,n)};ke({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(ol[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ol[n.text]),je(t.parseFunction(),"internal");throw new fe("Invalid token after macro prefix",n)}});ke({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),u=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(u))throw new fe("Expected a control sequence",n);for(var i=0,a,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){a=t.gullet.future(),o[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new fe('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new fe('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new fe("Expected a macro definition");o[i].push(n.text)}var{tokens:s}=t.gullet.consumeArg();return a&&s.unshift(a),(r==="\\edef"||r==="\\xdef")&&(s=t.gullet.expandTokens(s),s.reverse()),t.gullet.macros.set(u,{tokens:s,numArgs:i,delimiters:o},r===ol[r]),{type:"internal",mode:t.mode}}});ke({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=M4(t.gullet.popToken());t.gullet.consumeSpaces();var u=ab(t);return T4(t,n,u,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ke({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=M4(t.gullet.popToken()),u=t.gullet.popToken(),i=t.gullet.popToken();return T4(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(u),{type:"internal",mode:t.mode}}});var Lu=function(t,r,n){var u=ht.math[t]&&ht.math[t].replace,i=sc(u||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},pc=function(t,r,n,u){var i=n.havingBaseStyle(r),a=K.makeSpan(u.concat(i.sizingClasses(n)),[t],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},F4=function(t,r,n){var u=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/u.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=ye(i),t.height-=i,t.depth+=i},ob=function(t,r,n,u,i,a){var o=K.makeSymbol(t,"Main-Regular",i,u),s=pc(o,r,u,a);return n&&F4(s,u,r),s},sb=function(t,r,n,u){return K.makeSymbol(t,"Size"+r+"-Regular",n,u)},z4=function(t,r,n,u,i,a){var o=sb(t,r,i,u),s=pc(K.makeSpan(["delimsizing","size"+r],[o],u),Oe.TEXT,u,a);return n&&F4(s,u,Oe.TEXT),s},ls=function(t,r,n){var u;r==="Size1-Regular"?u="delim-size1":u="delim-size4";var i=K.makeSpan(["delimsizinginner",u],[K.makeSpan([],[K.makeSymbol(t,r,n)])]);return{type:"elem",elem:i}},cs=function(t,r,n){var u=on["Size4-Regular"][t.charCodeAt(0)]?on["Size4-Regular"][t.charCodeAt(0)][4]:on["Size1-Regular"][t.charCodeAt(0)][4],i=new a0("inner",hg(t,Math.round(1e3*r))),a=new Tn([i],{width:ye(u),height:ye(r),style:"width:"+ye(u),viewBox:"0 0 "+1e3*u+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=K.makeSvgSpan([],[a],n);return o.height=r,o.style.height=ye(r),o.style.width=ye(u),{type:"elem",elem:o}},sl=.008,Gi={type:"kern",size:-1*sl},lb=["|","\\lvert","\\rvert","\\vert"],cb=["\\|","\\lVert","\\rVert","\\Vert"],B4=function(t,r,n,u,i,a){var o,s,l,c,f="",m=0;o=l=c=t,s=null;var p="Size1-Regular";t==="\\uparrow"?l=c="⏐":t==="\\Uparrow"?l=c="‖":t==="\\downarrow"?o=l="⏐":t==="\\Downarrow"?o=l="‖":t==="\\updownarrow"?(o="\\uparrow",l="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",l="‖",c="\\Downarrow"):ze.contains(lb,t)?(l="∣",f="vert",m=333):ze.contains(cb,t)?(l="∥",f="doublevert",m=556):t==="["||t==="\\lbrack"?(o="⎡",l="⎢",c="⎣",p="Size4-Regular",f="lbrack",m=667):t==="]"||t==="\\rbrack"?(o="⎤",l="⎥",c="⎦",p="Size4-Regular",f="rbrack",m=667):t==="\\lfloor"||t==="⌊"?(l=o="⎢",c="⎣",p="Size4-Regular",f="lfloor",m=667):t==="\\lceil"||t==="⌈"?(o="⎡",l=c="⎢",p="Size4-Regular",f="lceil",m=667):t==="\\rfloor"||t==="⌋"?(l=o="⎥",c="⎦",p="Size4-Regular",f="rfloor",m=667):t==="\\rceil"||t==="⌉"?(o="⎤",l=c="⎥",p="Size4-Regular",f="rceil",m=667):t==="("||t==="\\lparen"?(o="⎛",l="⎜",c="⎝",p="Size4-Regular",f="lparen",m=875):t===")"||t==="\\rparen"?(o="⎞",l="⎟",c="⎠",p="Size4-Regular",f="rparen",m=875):t==="\\{"||t==="\\lbrace"?(o="⎧",s="⎨",c="⎩",l="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",s="⎬",c="⎭",l="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",l="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",l="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",l="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",l="⎪",p="Size4-Regular");var v=Lu(o,p,i),x=v.height+v.depth,y=Lu(l,p,i),T=y.height+y.depth,D=Lu(c,p,i),_=D.height+D.depth,w=0,F=1;if(s!==null){var j=Lu(s,p,i);w=j.height+j.depth,F=2}var z=x+_+w,V=Math.max(0,Math.ceil((r-z)/(F*T))),S=z+V*F*T,Y=u.fontMetrics().axisHeight;n&&(Y*=u.sizeMultiplier);var Z=S/2-Y,M=[];if(f.length>0){var U=S-x-_,B=Math.round(S*1e3),ne=mg(f,Math.round(U*1e3)),L=new a0(f,ne),I=(m/1e3).toFixed(3)+"em",N=(B/1e3).toFixed(3)+"em",ue=new Tn([L],{width:I,height:N,viewBox:"0 0 "+m+" "+B}),te=K.makeSvgSpan([],[ue],u);te.height=B/1e3,te.style.width=I,te.style.height=N,M.push({type:"elem",elem:te})}else{if(M.push(ls(c,p,i)),M.push(Gi),s===null){var H=S-x-_+2*sl;M.push(cs(l,H,u))}else{var R=(S-x-_-w)/2+2*sl;M.push(cs(l,R,u)),M.push(Gi),M.push(ls(s,p,i)),M.push(Gi),M.push(cs(l,R,u))}M.push(Gi),M.push(ls(o,p,i))}var he=u.havingBaseStyle(Oe.TEXT),Me=K.makeVList({positionType:"bottom",positionData:Z,children:M},he);return pc(K.makeSpan(["delimsizing","mult"],[Me],he),Oe.TEXT,u,a)},fs=80,ds=.08,hs=function(t,r,n,u,i){var a=dg(t,u,n),o=new a0(t,a),s=new Tn([o],{width:"400em",height:ye(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return K.makeSvgSpan(["hide-tail"],[s],i)},fb=function(t,r){var n=r.havingBaseSizing(),u=L4("\\surd",t*n.sizeMultiplier,q4,n),i=n.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s=0,l=0,c=0,f;return u.type==="small"?(c=1e3+1e3*a+fs,t<1?i=1:t<1.4&&(i=.7),s=(1+a+ds)/i,l=(1+a)/i,o=hs("sqrtMain",s,c,a,r),o.style.minWidth="0.853em",f=.833/i):u.type==="large"?(c=(1e3+fs)*Wu[u.size],l=(Wu[u.size]+a)/i,s=(Wu[u.size]+a+ds)/i,o=hs("sqrtSize"+u.size,s,c,a,r),o.style.minWidth="1.02em",f=1/i):(s=t+a+ds,l=t+a,c=Math.floor(1e3*t+a)+fs,o=hs("sqrtTall",s,c,a,r),o.style.minWidth="0.742em",f=1.056),o.height=l,o.style.height=ye(s),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*i}},O4=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],db=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],R4=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wu=[0,1.2,1.8,2.4,3],hb=function(t,r,n,u,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),ze.contains(O4,t)||ze.contains(R4,t))return z4(t,r,!1,n,u,i);if(ze.contains(db,t))return B4(t,Wu[r],!1,n,u,i);throw new fe("Illegal delimiter: '"+t+"'")},mb=[{type:"small",style:Oe.SCRIPTSCRIPT},{type:"small",style:Oe.SCRIPT},{type:"small",style:Oe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],pb=[{type:"small",style:Oe.SCRIPTSCRIPT},{type:"small",style:Oe.SCRIPT},{type:"small",style:Oe.TEXT},{type:"stack"}],q4=[{type:"small",style:Oe.SCRIPTSCRIPT},{type:"small",style:Oe.SCRIPT},{type:"small",style:Oe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],vb=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},L4=function(t,r,n,u){for(var i=Math.min(2,3-u.style.size),a=i;a<n.length&&n[a].type!=="stack";a++){var o=Lu(t,vb(n[a]),"math"),s=o.height+o.depth;if(n[a].type==="small"){var l=u.havingBaseStyle(n[a].style);s*=l.sizeMultiplier}if(s>r)return n[a]}return n[n.length-1]},P4=function(t,r,n,u,i,a){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;ze.contains(R4,t)?o=mb:ze.contains(O4,t)?o=q4:o=pb;var s=L4(t,r,o,u);return s.type==="small"?ob(t,s.style,n,u,i,a):s.type==="large"?z4(t,s.size,n,u,i,a):B4(t,r,n,u,i,a)},gb=function(t,r,n,u,i,a){var o=u.fontMetrics().axisHeight*u.sizeMultiplier,s=901,l=5/u.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),f=Math.max(c/500*s,2*c-l);return P4(t,f,!0,u,i,a)},Dn={sqrtImage:fb,sizedDelim:hb,sizeToMaxHeight:Wu,customSizedDelim:P4,leftRightDelim:gb},Mf={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},bb=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function fo(e,t){var r=lo(e);if(r&&ze.contains(bb,r.text))return r;throw r?new fe("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new fe("Invalid delimiter type '"+e.type+"'",e)}ke({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=fo(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Mf[e.funcName].size,mclass:Mf[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?K.makeSpan([e.mclass]):Dn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Fr(e.delim,e.mode));var r=new ce.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ye(Dn.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Tf(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ke({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new fe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:fo(t[0],e).text,color:r}}});ke({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fo(t[0],e),n=e.parser;++n.leftrightDepth;var u=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=je(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:u,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Tf(e);for(var r=Bt(e.body,t,!0,["mopen","mclose"]),n=0,u=0,i=!1,a=0;a<r.length;a++)r[a].isMiddle?i=!0:(n=Math.max(r[a].height,n),u=Math.max(r[a].depth,u));n*=t.sizeMultiplier,u*=t.sizeMultiplier;var o;if(e.left==="."?o=si(t,["mopen"]):o=Dn.leftRightDelim(e.left,n,u,t,e.mode,["mopen"]),r.unshift(o),i)for(var s=1;s<r.length;s++){var l=r[s],c=l.isMiddle;c&&(r[s]=Dn.leftRightDelim(c.delim,n,u,c.options,e.mode,[]))}var f;if(e.right===".")f=si(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;f=Dn.leftRightDelim(e.right,n,u,m,e.mode,["mclose"])}return r.push(f),K.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{Tf(e);var r=fr(e.body,t);if(e.left!=="."){var n=new ce.MathNode("mo",[Fr(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var u=new ce.MathNode("mo",[Fr(e.right,e.mode)]);u.setAttribute("fence","true"),e.rightColor&&u.setAttribute("mathcolor",e.rightColor),r.push(u)}return fc(r)}});ke({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fo(t[0],e);if(!e.parser.leftrightDepth)throw new fe("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=si(t,[]);else{r=Dn.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Fr("|","text"):Fr(e.delim,e.mode),n=new ce.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var vc=(e,t)=>{var r=K.wrapFragment(tt(e.body,t),t),n=e.label.slice(1),u=t.sizeMultiplier,i,a=0,o=ze.isCharacterBox(e.body);if(n==="sout")i=K.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/u,a=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var s=xt({number:.6,unit:"pt"},t),l=xt({number:.35,unit:"ex"},t),c=t.havingBaseSizing();u=u/c.sizeMultiplier;var f=r.height+r.depth+s+l;r.style.paddingLeft=ye(f/2+s);var m=Math.floor(1e3*f*u),p=cg(m),v=new Tn([new a0("phase",p)],{width:"400em",height:ye(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});i=K.makeSvgSpan(["hide-tail"],[v],t),i.style.height=ye(f),a=r.depth+s+l}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var x=0,y=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),x=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),y=x):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),x=4*T,y=Math.max(0,.25-r.depth)):(x=o?.2:0,y=x),i=zn.encloseSpan(r,n,x,y,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=ye(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=ye(T),i.style.borderRightWidth=ye(T)),a=r.depth+y,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var D;if(e.backgroundColor)D=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:a},{type:"elem",elem:r,shift:0}]},t);else{var _=/cancel|phase/.test(n)?["svg-align"]:[];D=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:a,wrapperClasses:_}]},t)}return/cancel/.test(n)&&(D.height=r.height,D.depth=r.depth),/cancel/.test(n)&&!o?K.makeSpan(["mord","cancel-lap"],[D],t):K.makeSpan(["mord"],[D],t)},gc=(e,t)=>{var r=0,n=new ce.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[st(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+u+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ke({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:u}=e,i=je(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:u,backgroundColor:i,body:a}},htmlBuilder:vc,mathmlBuilder:gc});ke({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:u}=e,i=je(t[0],"color-token").color,a=je(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:u,backgroundColor:a,borderColor:i,body:o}},htmlBuilder:vc,mathmlBuilder:gc});ke({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});ke({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];return{type:"enclose",mode:r.mode,label:n,body:u}},htmlBuilder:vc,mathmlBuilder:gc});ke({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var I4={};function mn(e){for(var{type:t,names:r,props:n,handler:u,htmlBuilder:i,mathmlBuilder:a}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:u},s=0;s<r.length;++s)I4[r[s]]=o;i&&(za[t]=i),a&&(Ba[t]=a)}var N4={};function b(e,t){N4[e]=t}function Ff(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var ho=e=>{var t=e.parser.settings;if(!t.displayMode)throw new fe("{"+e.envName+"} can be used only in display mode.")};function bc(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function l0(e,t,r){var{hskipBeforeAndAfter:n,addJot:u,cols:i,arraystretch:a,colSeparationType:o,autoTag:s,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:m}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new fe("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],x=[v],y=[],T=[],D=s!=null?[]:void 0;function _(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){D&&(e.gullet.macros.get("\\df@tag")?(D.push(e.subparse([new Mr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):D.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(_(),T.push(Ff(e));;){var F=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),F={type:"ordgroup",mode:e.mode,body:F},r&&(F={type:"styling",mode:e.mode,style:r,body:[F]}),v.push(F);var j=e.fetch().text;if(j==="&"){if(f&&v.length===f){if(l||o)throw new fe("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(j==="\\end"){w(),v.length===1&&F.type==="styling"&&F.body[0].body.length===0&&(x.length>1||!c)&&x.pop(),T.length<x.length+1&&T.push([]);break}else if(j==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),y.push(z?z.value:null),w(),T.push(Ff(e)),v=[],x.push(v),_()}else throw new fe("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:u,arraystretch:a,body:x,cols:i,rowGaps:y,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:D,leqno:m}}function yc(e){return e.slice(0,1)==="d"?"display":"text"}var pn=function(t,r){var n,u,i=t.body.length,a=t.hLinesBeforeRow,o=0,s=new Array(i),l=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,m=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(Oe.SCRIPT).sizeMultiplier;m=.2778*(p/r.sizeMultiplier)}var v=t.colSeparationType==="CD"?xt({number:3,unit:"ex"},r):12*f,x=3*f,y=t.arraystretch*v,T=.7*y,D=.3*y,_=0;function w(ge){for(var me=0;me<ge.length;++me)me>0&&(_+=.25),l.push({pos:_,isDashed:ge[me]})}for(w(a[0]),n=0;n<t.body.length;++n){var F=t.body[n],j=T,z=D;o<F.length&&(o=F.length);var V=new Array(F.length);for(u=0;u<F.length;++u){var S=tt(F[u],r);z<S.depth&&(z=S.depth),j<S.height&&(j=S.height),V[u]=S}var Y=t.rowGaps[n],Z=0;Y&&(Z=xt(Y,r),Z>0&&(Z+=D,z<Z&&(z=Z),Z=0)),t.addJot&&(z+=x),V.height=j,V.depth=z,_+=j,V.pos=_,_+=z+Z,s[n]=V,w(a[n+1])}var M=_/2+r.fontMetrics().axisHeight,U=t.cols||[],B=[],ne,L,I=[];if(t.tags&&t.tags.some(ge=>ge))for(n=0;n<i;++n){var N=s[n],ue=N.pos-M,te=t.tags[n],H=void 0;te===!0?H=K.makeSpan(["eqn-num"],[],r):te===!1?H=K.makeSpan([],[],r):H=K.makeSpan([],Bt(te,r,!0),r),H.depth=N.depth,H.height=N.height,I.push({type:"elem",elem:H,shift:ue})}for(u=0,L=0;u<o||L<U.length;++u,++L){for(var R=U[L]||{},he=!0;R.type==="separator";){if(he||(ne=K.makeSpan(["arraycolsep"],[]),ne.style.width=ye(r.fontMetrics().doubleRuleSep),B.push(ne)),R.separator==="|"||R.separator===":"){var Me=R.separator==="|"?"solid":"dashed",Fe=K.makeSpan(["vertical-separator"],[],r);Fe.style.height=ye(_),Fe.style.borderRightWidth=ye(c),Fe.style.borderRightStyle=Me,Fe.style.margin="0 "+ye(-c/2);var oe=_-M;oe&&(Fe.style.verticalAlign=ye(-oe)),B.push(Fe)}else throw new fe("Invalid separator type: "+R.separator);L++,R=U[L]||{},he=!1}if(!(u>=o)){var ve=void 0;(u>0||t.hskipBeforeAndAfter)&&(ve=ze.deflt(R.pregap,m),ve!==0&&(ne=K.makeSpan(["arraycolsep"],[]),ne.style.width=ye(ve),B.push(ne)));var Ue=[];for(n=0;n<i;++n){var de=s[n],Ke=de[u];if(Ke){var ut=de.pos-M;Ke.depth=de.depth,Ke.height=de.height,Ue.push({type:"elem",elem:Ke,shift:ut})}}Ue=K.makeVList({positionType:"individualShift",children:Ue},r),Ue=K.makeSpan(["col-align-"+(R.align||"c")],[Ue]),B.push(Ue),(u<o-1||t.hskipBeforeAndAfter)&&(ve=ze.deflt(R.postgap,m),ve!==0&&(ne=K.makeSpan(["arraycolsep"],[]),ne.style.width=ye(ve),B.push(ne)))}}if(s=K.makeSpan(["mtable"],B),l.length>0){for(var A=K.makeLineSpan("hline",r,c),O=K.makeLineSpan("hdashline",r,c),Q=[{type:"elem",elem:s,shift:0}];l.length>0;){var ie=l.pop(),re=ie.pos-M;ie.isDashed?Q.push({type:"elem",elem:O,shift:re}):Q.push({type:"elem",elem:A,shift:re})}s=K.makeVList({positionType:"individualShift",children:Q},r)}if(I.length===0)return K.makeSpan(["mord"],[s],r);var ee=K.makeVList({positionType:"individualShift",children:I},r);return ee=K.makeSpan(["tag"],[ee],r),K.makeFragment([s,ee])},yb={c:"center ",l:"left ",r:"right "},vn=function(t,r){for(var n=[],u=new ce.MathNode("mtd",[],["mtr-glue"]),i=new ce.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<t.body.length;a++){for(var o=t.body[a],s=[],l=0;l<o.length;l++)s.push(new ce.MathNode("mtd",[st(o[l],r)]));t.tags&&t.tags[a]&&(s.unshift(u),s.push(u),t.leqno?s.unshift(i):s.push(i)),n.push(new ce.MathNode("mtr",s))}var c=new ce.MathNode("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",ye(f));var m="",p="";if(t.cols&&t.cols.length>0){var v=t.cols,x="",y=!1,T=0,D=v.length;v[0].type==="separator"&&(m+="top ",T=1),v[v.length-1].type==="separator"&&(m+="bottom ",D-=1);for(var _=T;_<D;_++)v[_].type==="align"?(p+=yb[v[_].align],y&&(x+="none "),y=!0):v[_].type==="separator"&&y&&(x+=v[_].separator==="|"?"solid ":"dashed ",y=!1);c.setAttribute("columnalign",p.trim()),/[sd]/.test(x)&&c.setAttribute("columnlines",x.trim())}if(t.colSeparationType==="align"){for(var w=t.cols||[],F="",j=1;j<w.length;j++)F+=j%2?"0em ":"1em ";c.setAttribute("columnspacing",F.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var z="",V=t.hLinesBeforeRow;m+=V[0].length>0?"left ":"",m+=V[V.length-1].length>0?"right ":"";for(var S=1;S<V.length-1;S++)z+=V[S].length===0?"none ":V[S][0]?"dashed ":"solid ";return/[sd]/.test(z)&&c.setAttribute("rowlines",z.trim()),m!==""&&(c=new ce.MathNode("menclose",[c]),c.setAttribute("notation",m.trim())),t.arraystretch&&t.arraystretch<1&&(c=new ce.MathNode("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},H4=function(t,r){t.envName.indexOf("ed")===-1&&ho(t);var n=[],u=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",a=l0(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:bc(t.envName),emptySingleRow:!0,colSeparationType:u,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),o,s=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var m=je(r[0].body[f],"textord");c+=m.text}o=Number(c),s=o*2}var p=!s;a.body.forEach(function(T){for(var D=1;D<T.length;D+=2){var _=je(T[D],"styling"),w=je(_.body[0],"ordgroup");w.body.unshift(l)}if(p)s<T.length&&(s=T.length);else{var F=T.length/2;if(o<F)throw new fe("Too many math in a row: "+("expected "+o+", but got "+F),T[0])}});for(var v=0;v<s;++v){var x="r",y=0;v%2===1?x="l":v>0&&p&&(y=1),n[v]={type:"align",align:x,pregap:y,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};mn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=lo(t[0]),n=r?[t[0]]:je(t[0],"ordgroup").body,u=n.map(function(a){var o=hc(a),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new fe("Unknown column alignment: "+s,a)}),i={cols:u,hskipBeforeAndAfter:!0,maxNumCols:u.length};return l0(e.parser,i,yc(e.envName))},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var u=e.parser;if(u.consumeSpaces(),u.fetch().text==="["){if(u.consume(),u.consumeSpaces(),r=u.fetch().text,"lcr".indexOf(r)===-1)throw new fe("Expected l or c or r",u.nextToken);u.consume(),u.consumeSpaces(),u.expect("]"),u.consume(),n.cols=[{type:"align",align:r}]}}var i=l0(e.parser,n,yc(e.envName)),a=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(a).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=l0(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=lo(t[0]),n=r?[t[0]]:je(t[0],"ordgroup").body,u=n.map(function(a){var o=hc(a),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new fe("Unknown column alignment: "+s,a)});if(u.length>1)throw new fe("{subarray} can contain only one column");var i={cols:u,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=l0(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new fe("{subarray} can contain only one column");return i},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=l0(e.parser,t,yc(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:H4,htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){ze.contains(["gather","gather*"],e.envName)&&ho(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:bc(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return l0(e.parser,t,"display")},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:H4,htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){ho(e);var t={autoTag:bc(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return l0(e.parser,t,"display")},htmlBuilder:pn,mathmlBuilder:vn});mn({type:"array",names:["CD"],props:{numArgs:0},handler(e){return ho(e),ib(e.parser)},htmlBuilder:pn,mathmlBuilder:vn});b("\\nonumber","\\gdef\\@eqnsw{0}");b("\\notag","\\nonumber");ke({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new fe(e.funcName+" valid only within array environment")}});var zf=I4;ke({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];if(u.type!=="ordgroup")throw new fe("Invalid environment name",u);for(var i="",a=0;a<u.body.length;++a)i+=je(u.body[a],"textord").text;if(n==="\\begin"){if(!zf.hasOwnProperty(i))throw new fe("No such environment: "+i,u);var o=zf[i],{args:s,optArgs:l}=r.parseArguments("\\begin{"+i+"}",o),c={mode:r.mode,envName:i,parser:r},f=o.handler(c,s,l);r.expect("\\end",!1);var m=r.nextToken,p=je(r.parseFunction(),"environment");if(p.name!==i)throw new fe("Mismatch: \\begin{"+i+"} matched by \\end{"+p.name+"}",m);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:u}}});var V4=(e,t)=>{var r=e.font,n=t.withFont(r);return tt(e.body,n)},U4=(e,t)=>{var r=e.font,n=t.withFont(r);return st(e.body,n)},Bf={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ke({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=Oa(t[0]),i=n;return i in Bf&&(i=Bf[i]),{type:"font",mode:r.mode,font:i.slice(1),body:u}},htmlBuilder:V4,mathmlBuilder:U4});ke({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],u=ze.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:co(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:u}}});ke({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:u}=e,{mode:i}=r,a=r.parseExpression(!0,u),o="math"+n.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:V4,mathmlBuilder:U4});var j4=(e,t)=>{var r=t;return e==="display"?r=r.id>=Oe.SCRIPT.id?r.text():Oe.DISPLAY:e==="text"&&r.size===Oe.DISPLAY.size?r=Oe.TEXT:e==="script"?r=Oe.SCRIPT:e==="scriptscript"&&(r=Oe.SCRIPTSCRIPT),r},xc=(e,t)=>{var r=j4(e.size,t.style),n=r.fracNum(),u=r.fracDen(),i;i=t.havingStyle(n);var a=tt(e.numer,i,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,s=3.5/t.fontMetrics().ptPerEm;a.height=a.height<o?o:a.height,a.depth=a.depth<s?s:a.depth}i=t.havingStyle(u);var l=tt(e.denom,i,t),c,f,m;e.hasBarLine?(e.barSize?(f=xt(e.barSize,t),c=K.makeLineSpan("frac-line",t,f)):c=K.makeLineSpan("frac-line",t),f=c.height,m=c.height):(c=null,f=0,m=t.fontMetrics().defaultRuleThickness);var p,v,x;r.size===Oe.DISPLAY.size||e.size==="display"?(p=t.fontMetrics().num1,f>0?v=3*m:v=7*m,x=t.fontMetrics().denom1):(f>0?(p=t.fontMetrics().num2,v=m):(p=t.fontMetrics().num3,v=3*m),x=t.fontMetrics().denom2);var y;if(c){var D=t.fontMetrics().axisHeight;p-a.depth-(D+.5*f)<v&&(p+=v-(p-a.depth-(D+.5*f))),D-.5*f-(l.height-x)<v&&(x+=v-(D-.5*f-(l.height-x)));var _=-(D-.5*f);y=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:x},{type:"elem",elem:c,shift:_},{type:"elem",elem:a,shift:-p}]},t)}else{var T=p-a.depth-(l.height-x);T<v&&(p+=.5*(v-T),x+=.5*(v-T)),y=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:x},{type:"elem",elem:a,shift:-p}]},t)}i=t.havingStyle(r),y.height*=i.sizeMultiplier/t.sizeMultiplier,y.depth*=i.sizeMultiplier/t.sizeMultiplier;var w;r.size===Oe.DISPLAY.size?w=t.fontMetrics().delim1:r.size===Oe.SCRIPTSCRIPT.size?w=t.havingStyle(Oe.SCRIPT).fontMetrics().delim2:w=t.fontMetrics().delim2;var F,j;return e.leftDelim==null?F=si(t,["mopen"]):F=Dn.customSizedDelim(e.leftDelim,w,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?j=K.makeSpan([]):e.rightDelim==null?j=si(t,["mclose"]):j=Dn.customSizedDelim(e.rightDelim,w,!0,t.havingStyle(r),e.mode,["mclose"]),K.makeSpan(["mord"].concat(i.sizingClasses(t)),[F,K.makeSpan(["mfrac"],[y]),j],t)},wc=(e,t)=>{var r=new ce.MathNode("mfrac",[st(e.numer,t),st(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=xt(e.barSize,t);r.setAttribute("linethickness",ye(n))}var u=j4(e.size,t.style);if(u.size!==t.style.size){r=new ce.MathNode("mstyle",[r]);var i=u.size===Oe.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var o=new ce.MathNode("mo",[new ce.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),a.push(o)}if(a.push(r),e.rightDelim!=null){var s=new ce.MathNode("mo",[new ce.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return fc(a)}return r};ke({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0],i=t[1],a,o=null,s=null,l="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,o="(",s=")";break;case"\\\\bracefrac":a=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":a=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":l="display";break;case"\\tfrac":case"\\tbinom":l="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:u,denom:i,hasBarLine:a,leftDelim:o,rightDelim:s,size:l,barSize:null}},htmlBuilder:xc,mathmlBuilder:wc});ke({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:u,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ke({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,u;switch(r){case"\\over":u="\\frac";break;case"\\choose":u="\\binom";break;case"\\atop":u="\\\\atopfrac";break;case"\\brace":u="\\\\bracefrac";break;case"\\brack":u="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:u,token:n}}});var Of=["display","text","script","scriptscript"],Rf=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ke({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],u=t[5],i=Oa(t[0]),a=i.type==="atom"&&i.family==="open"?Rf(i.text):null,o=Oa(t[1]),s=o.type==="atom"&&o.family==="close"?Rf(o.text):null,l=je(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var m="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var v=je(p.body[0],"textord");m=Of[Number(v.text)]}}else p=je(p,"textord"),m=Of[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:u,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:s,size:m}},htmlBuilder:xc,mathmlBuilder:wc});ke({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:u}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:je(t[0],"size").value,token:u}}});ke({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0],i=K7(je(t[1],"infix").size),a=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:u,denom:a,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:xc,mathmlBuilder:wc});var $4=(e,t)=>{var r=t.style,n,u;e.type==="supsub"?(n=e.sup?tt(e.sup,t.havingStyle(r.sup()),t):tt(e.sub,t.havingStyle(r.sub()),t),u=je(e.base,"horizBrace")):u=je(e,"horizBrace");var i=tt(u.base,t.havingBaseStyle(Oe.DISPLAY)),a=zn.svgSpan(u,t),o;if(u.isOver?(o=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=K.makeVList({positionType:"bottom",positionData:i.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var s=K.makeSpan(["mord",u.isOver?"mover":"munder"],[o],t);u.isOver?o=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=K.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return K.makeSpan(["mord",u.isOver?"mover":"munder"],[o],t)},xb=(e,t)=>{var r=zn.mathMLnode(e.label);return new ce.MathNode(e.isOver?"mover":"munder",[st(e.base,t),r])};ke({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:$4,mathmlBuilder:xb});ke({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],u=je(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:u})?{type:"href",mode:r.mode,href:u,body:At(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Bt(e.body,t,!1);return K.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=o0(e.body,t);return r instanceof mr||(r=new mr("mrow",[r])),r.setAttribute("href",e.href),r}});ke({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=je(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var u=[],i=0;i<n.length;i++){var a=n[i];a==="~"&&(a="\\textasciitilde"),u.push({type:"textord",mode:"text",text:a})}var o={type:"text",mode:r.mode,font:"\\texttt",body:u};return{type:"href",mode:r.mode,href:n,body:At(o)}}});ke({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:At(t[0])}},htmlBuilder(e,t){var r=Bt(e.body,t,!1);return K.makeFragment(r)},mathmlBuilder(e,t){return new ce.MathNode("mrow",fr(e.body,t))}});ke({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:u}=e,i=je(t[0],"raw").string,a=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(n){case"\\htmlClass":s.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":s.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":s.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var l=i.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length!==2)throw new fe("Error parsing key-value for \\htmlData");s["data-"+f[0].trim()]=f[1].trim()}o={command:"\\htmlData",attributes:s};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:s,body:At(a)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Bt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var u=K.makeSpan(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&u.setAttribute(i,e.attributes[i]);return u},mathmlBuilder:(e,t)=>o0(e.body,t)});ke({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:At(t[0]),mathml:At(t[1])}},htmlBuilder:(e,t)=>{var r=Bt(e.html,t,!1);return K.makeFragment(r)},mathmlBuilder:(e,t)=>o0(e.mathml,t)});var ms=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new fe("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!c4(n))throw new fe("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ke({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,u={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},o="";if(r[0])for(var s=je(r[0],"raw").string,l=s.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length===2){var m=f[1].trim();switch(f[0].trim()){case"alt":o=m;break;case"width":u=ms(m);break;case"height":i=ms(m);break;case"totalheight":a=ms(m);break;default:throw new fe("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=je(t[0],"url").url;return o===""&&(o=p,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:o,width:u,height:i,totalheight:a,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=xt(e.height,t),n=0;e.totalheight.number>0&&(n=xt(e.totalheight,t)-r);var u=0;e.width.number>0&&(u=xt(e.width,t));var i={height:ye(r+n)};u>0&&(i.width=ye(u)),n>0&&(i.verticalAlign=ye(-n));var a=new xg(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=xt(e.height,t),u=0;if(e.totalheight.number>0&&(u=xt(e.totalheight,t)-n,r.setAttribute("valign",ye(-u))),r.setAttribute("height",ye(n+u)),e.width.number>0){var i=xt(e.width,t);r.setAttribute("width",ye(i))}return r.setAttribute("src",e.src),r}});ke({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,u=je(t[0],"size");if(r.settings.strict){var i=n[1]==="m",a=u.value.unit==="mu";i?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+u.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:u.value}},htmlBuilder(e,t){return K.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=xt(e.dimension,t);return new ce.SpaceNode(r)}});ke({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:u}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=K.makeSpan([],[tt(e.body,t)]),r=K.makeSpan(["inner"],[r],t)):r=K.makeSpan(["inner"],[tt(e.body,t)]);var n=K.makeSpan(["fix"],[]),u=K.makeSpan([e.alignment],[r,n],t),i=K.makeSpan(["strut"]);return i.style.height=ye(u.height+u.depth),u.depth&&(i.style.verticalAlign=ye(-u.depth)),u.children.unshift(i),u=K.makeSpan(["thinbox"],[u],t),K.makeSpan(["mord","vbox"],[u],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[st(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});ke({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,u=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",a=n.parseExpression(!1,i);return n.expect(i),n.switchMode(u),{type:"styling",mode:n.mode,style:"text",body:a}}});ke({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new fe("Mismatched "+e.funcName)}});var qf=(e,t)=>{switch(t.style.size){case Oe.DISPLAY.size:return e.display;case Oe.TEXT.size:return e.text;case Oe.SCRIPT.size:return e.script;case Oe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ke({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:At(t[0]),text:At(t[1]),script:At(t[2]),scriptscript:At(t[3])}},htmlBuilder:(e,t)=>{var r=qf(e,t),n=Bt(r,t,!1);return K.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=qf(e,t);return o0(r,t)}});var Y4=(e,t,r,n,u,i,a)=>{e=K.makeSpan([],[e]);var o=r&&ze.isCharacterBox(r),s,l;if(t){var c=tt(t,n.havingStyle(u.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=tt(r,n.havingStyle(u.sub()),n);s={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var m;if(l&&s){var p=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;m=K.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ye(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ye(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var v=e.height-a;m=K.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ye(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else if(l){var x=e.depth+a;m=K.makeVList({positionType:"bottom",positionData:x,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ye(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var y=[m];if(s&&i!==0&&!o){var T=K.makeSpan(["mspace"],[],n);T.style.marginRight=ye(i),y.unshift(T)}return K.makeSpan(["mop","op-limits"],y,n)},G4=["\\smallint"],wu=(e,t)=>{var r,n,u=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=je(e.base,"op"),u=!0):i=je(e,"op");var a=t.style,o=!1;a.size===Oe.DISPLAY.size&&i.symbol&&!ze.contains(G4,i.name)&&(o=!0);var s;if(i.symbol){var l=o?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),s=K.makeSymbol(i.name,l,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var f=s.italic,m=K.staticSvg(c+"Size"+(o?"2":"1"),t);s=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:m,shift:o?.08:0}]},t),i.name="\\"+c,s.classes.unshift("mop"),s.italic=f}}else if(i.body){var p=Bt(i.body,t,!0);p.length===1&&p[0]instanceof Tr?(s=p[0],s.classes[0]="mop"):s=K.makeSpan(["mop"],p,t)}else{for(var v=[],x=1;x<i.name.length;x++)v.push(K.mathsym(i.name[x],i.mode,t));s=K.makeSpan(["mop"],v,t)}var y=0,T=0;return(s instanceof Tr||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(y=(s.height-s.depth)/2-t.fontMetrics().axisHeight,T=s.italic),u?Y4(s,r,n,t,a,T,y):(y&&(s.style.position="relative",s.style.top=ye(y)),s)},ki=(e,t)=>{var r;if(e.symbol)r=new mr("mo",[Fr(e.name,e.mode)]),ze.contains(G4,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new mr("mo",fr(e.body,t));else{r=new mr("mi",[new sn(e.name.slice(1))]);var n=new mr("mo",[Fr("⁡","text")]);e.parentIsSupSub?r=new mr("mrow",[r,n]):r=w4([r,n])}return r},wb={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ke({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=n;return u.length===1&&(u=wb[u]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:wu,mathmlBuilder:ki});ke({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:At(n)}},htmlBuilder:wu,mathmlBuilder:ki});var kb={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ke({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:wu,mathmlBuilder:ki});ke({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:wu,mathmlBuilder:ki});ke({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=kb[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:wu,mathmlBuilder:ki});var W4=(e,t)=>{var r,n,u=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=je(e.base,"operatorname"),u=!0):i=je(e,"operatorname");var a;if(i.body.length>0){for(var o=i.body.map(f=>{var m=f.text;return typeof m=="string"?{type:"textord",mode:f.mode,text:m}:f}),s=Bt(o,t.withFont("mathrm"),!0),l=0;l<s.length;l++){var c=s[l];c instanceof Tr&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=K.makeSpan(["mop"],s,t)}else a=K.makeSpan(["mop"],[],t);return u?Y4(a,r,n,t,t.style,0,0):a},Sb=(e,t)=>{for(var r=fr(e.body,t.withFont("mathrm")),n=!0,u=0;u<r.length;u++){var i=r[u];if(!(i instanceof ce.SpaceNode))if(i instanceof ce.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=i.children[0];i.children.length===1&&a instanceof ce.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new ce.TextNode(o)]}var s=new ce.MathNode("mi",r);s.setAttribute("mathvariant","normal");var l=new ce.MathNode("mo",[Fr("⁡","text")]);return e.parentIsSupSub?new ce.MathNode("mrow",[s,l]):ce.newDocumentFragment([s,l])};ke({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0];return{type:"operatorname",mode:r.mode,body:At(u),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:W4,mathmlBuilder:Sb});b("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");N0({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?K.makeFragment(Bt(e.body,t,!1)):K.makeSpan(["mord"],Bt(e.body,t,!0),t)},mathmlBuilder(e,t){return o0(e.body,t,!0)}});ke({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=tt(e.body,t.havingCrampedStyle()),n=K.makeLineSpan("overline-line",t),u=t.fontMetrics().defaultRuleThickness,i=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*u},{type:"elem",elem:n},{type:"kern",size:u}]},t);return K.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("mover",[st(e.body,t),r]);return n.setAttribute("accent","true"),n}});ke({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:At(n)}},htmlBuilder:(e,t)=>{var r=Bt(e.body,t.withPhantom(),!1);return K.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=fr(e.body,t);return new ce.MathNode("mphantom",r)}});ke({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=K.makeSpan([],[tt(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),K.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=fr(At(e.body),t),n=new ce.MathNode("mphantom",r),u=new ce.MathNode("mpadded",[n]);return u.setAttribute("height","0px"),u.setAttribute("depth","0px"),u}});ke({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=K.makeSpan(["inner"],[tt(e.body,t.withPhantom())]),n=K.makeSpan(["fix"],[]);return K.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=fr(At(e.body),t),n=new ce.MathNode("mphantom",r),u=new ce.MathNode("mpadded",[n]);return u.setAttribute("width","0px"),u}});ke({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=je(t[0],"size").value,u=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:u}},htmlBuilder(e,t){var r=tt(e.body,t),n=xt(e.dy,t);return K.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new ce.MathNode("mpadded",[st(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ke({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ke({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,u=r[0],i=je(t[0],"size"),a=je(t[1],"size");return{type:"rule",mode:n.mode,shift:u&&je(u,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=K.makeSpan(["mord","rule"],[],t),n=xt(e.width,t),u=xt(e.height,t),i=e.shift?xt(e.shift,t):0;return r.style.borderRightWidth=ye(n),r.style.borderTopWidth=ye(u),r.style.bottom=ye(i),r.width=n,r.height=u+i,r.depth=-i,r.maxFontSize=u*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=xt(e.width,t),n=xt(e.height,t),u=e.shift?xt(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new ce.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",ye(r)),a.setAttribute("height",ye(n));var o=new ce.MathNode("mpadded",[a]);return u>=0?o.setAttribute("height",ye(u)):(o.setAttribute("height",ye(u)),o.setAttribute("depth",ye(-u))),o.setAttribute("voffset",ye(u)),o}});function K4(e,t,r){for(var n=Bt(e,t,!1),u=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var a=n[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[a+1]==="reset-size"+t.size&&(n[i].classes[a+1]="reset-size"+r.size),n[i].height*=u,n[i].depth*=u}return K.makeFragment(n)}var Lf=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ab=(e,t)=>{var r=t.havingSize(e.size);return K4(e.body,r,t)};ke({type:"sizing",names:Lf,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:u}=e,i=u.parseExpression(!1,r);return{type:"sizing",mode:u.mode,size:Lf.indexOf(n)+1,body:i}},htmlBuilder:Ab,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=fr(e.body,r),u=new ce.MathNode("mstyle",n);return u.setAttribute("mathsize",ye(r.sizeMultiplier)),u}});ke({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,u=!1,i=!1,a=r[0]&&je(r[0],"ordgroup");if(a)for(var o="",s=0;s<a.body.length;++s){var l=a.body[s];if(o=l.text,o==="t")u=!0;else if(o==="b")i=!0;else{u=!1,i=!1;break}}else u=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:u,smashDepth:i}},htmlBuilder:(e,t)=>{var r=K.makeSpan([],[tt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var u=0;u<r.children.length;u++)r.children[u].depth=0;var i=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return K.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[st(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ke({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,u=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:u}},htmlBuilder(e,t){var r=tt(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=K.wrapFragment(r,t);var n=t.fontMetrics(),u=n.defaultRuleThickness,i=u;t.style.id<Oe.TEXT.id&&(i=t.fontMetrics().xHeight);var a=u+i/4,o=r.height+r.depth+a+u,{span:s,ruleWidth:l,advanceWidth:c}=Dn.sqrtImage(o,t),f=s.height-l;f>r.height+r.depth+a&&(a=(a+f-r.height-r.depth)/2);var m=s.height-r.height-a-l;r.style.paddingLeft=ye(c);var p=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var v=t.havingStyle(Oe.SCRIPTSCRIPT),x=tt(e.index,v,t),y=.6*(p.height-p.depth),T=K.makeVList({positionType:"shift",positionData:-y,children:[{type:"elem",elem:x}]},t),D=K.makeSpan(["root"],[T]);return K.makeSpan(["mord","sqrt"],[D,p],t)}else return K.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new ce.MathNode("mroot",[st(r,t),st(n,t)]):new ce.MathNode("msqrt",[st(r,t)])}});var Pf={display:Oe.DISPLAY,text:Oe.TEXT,script:Oe.SCRIPT,scriptscript:Oe.SCRIPTSCRIPT};ke({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:u}=e,i=u.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:u.mode,style:a,body:i}},htmlBuilder(e,t){var r=Pf[e.style],n=t.havingStyle(r).withFont("");return K4(e.body,n,t)},mathmlBuilder(e,t){var r=Pf[e.style],n=t.havingStyle(r),u=fr(e.body,n),i=new ce.MathNode("mstyle",u),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=a[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var Cb=function(t,r){var n=t.base;if(n)if(n.type==="op"){var u=n.limits&&(r.style.size===Oe.DISPLAY.size||n.alwaysHandleSupSub);return u?wu:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===Oe.DISPLAY.size||n.limits);return i?W4:null}else{if(n.type==="accent")return ze.isCharacterBox(n.base)?mc:null;if(n.type==="horizBrace"){var a=!t.sub;return a===n.isOver?$4:null}else return null}else return null};N0({type:"supsub",htmlBuilder(e,t){var r=Cb(e,t);if(r)return r(e,t);var{base:n,sup:u,sub:i}=e,a=tt(n,t),o,s,l=t.fontMetrics(),c=0,f=0,m=n&&ze.isCharacterBox(n);if(u){var p=t.havingStyle(t.style.sup());o=tt(u,p,t),m||(c=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(i){var v=t.havingStyle(t.style.sub());s=tt(i,v,t),m||(f=a.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var x;t.style===Oe.DISPLAY?x=l.sup1:t.style.cramped?x=l.sup3:x=l.sup2;var y=t.sizeMultiplier,T=ye(.5/l.ptPerEm/y),D=null;if(s){var _=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(a instanceof Tr||_)&&(D=ye(-a.italic))}var w;if(o&&s){c=Math.max(c,x,o.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var F=l.defaultRuleThickness,j=4*F;if(c-o.depth-(s.height-f)<j){f=j-(c-o.depth)+s.height;var z=.8*l.xHeight-(c-o.depth);z>0&&(c+=z,f-=z)}var V=[{type:"elem",elem:s,shift:f,marginRight:T,marginLeft:D},{type:"elem",elem:o,shift:-c,marginRight:T}];w=K.makeVList({positionType:"individualShift",children:V},t)}else if(s){f=Math.max(f,l.sub1,s.height-.8*l.xHeight);var S=[{type:"elem",elem:s,marginLeft:D,marginRight:T}];w=K.makeVList({positionType:"shift",positionData:f,children:S},t)}else if(o)c=Math.max(c,x,o.depth+.25*l.xHeight),w=K.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:T}]},t);else throw new Error("supsub must have either sup or sub.");var Y=il(a,"right")||"mord";return K.makeSpan([Y],[a,K.makeSpan(["msupsub"],[w])],t)},mathmlBuilder(e,t){var r=!1,n,u;e.base&&e.base.type==="horizBrace"&&(u=!!e.sup,u===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[st(e.base,t)];e.sub&&i.push(st(e.sub,t)),e.sup&&i.push(st(e.sup,t));var a;if(r)a=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===Oe.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===Oe.DISPLAY||l.limits)?a="munderover":a="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===Oe.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===Oe.DISPLAY)?a="munder":a="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===Oe.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===Oe.DISPLAY)?a="mover":a="msup"}return new ce.MathNode(a,i)}});N0({type:"atom",htmlBuilder(e,t){return K.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[Fr(e.text,e.mode)]);if(e.family==="bin"){var n=dc(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Z4={mi:"italic",mn:"normal",mtext:"normal"};N0({type:"mathord",htmlBuilder(e,t){return K.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new ce.MathNode("mi",[Fr(e.text,e.mode,t)]),n=dc(e,t)||"italic";return n!==Z4[r.type]&&r.setAttribute("mathvariant",n),r}});N0({type:"textord",htmlBuilder(e,t){return K.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=Fr(e.text,e.mode,t),n=dc(e,t)||"normal",u;return e.mode==="text"?u=new ce.MathNode("mtext",[r]):/[0-9]/.test(e.text)?u=new ce.MathNode("mn",[r]):e.text==="\\prime"?u=new ce.MathNode("mo",[r]):u=new ce.MathNode("mi",[r]),n!==Z4[u.type]&&u.setAttribute("mathvariant",n),u}});var ps={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},vs={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};N0({type:"spacing",htmlBuilder(e,t){if(vs.hasOwnProperty(e.text)){var r=vs[e.text].className||"";if(e.mode==="text"){var n=K.makeOrd(e,t,"textord");return n.classes.push(r),n}else return K.makeSpan(["mspace",r],[K.mathsym(e.text,e.mode,t)],t)}else{if(ps.hasOwnProperty(e.text))return K.makeSpan(["mspace",ps[e.text]],[],t);throw new fe('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(vs.hasOwnProperty(e.text))r=new ce.MathNode("mtext",[new ce.TextNode(" ")]);else{if(ps.hasOwnProperty(e.text))return new ce.MathNode("mspace");throw new fe('Unknown type of space "'+e.text+'"')}return r}});var If=()=>{var e=new ce.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};N0({type:"tag",mathmlBuilder(e,t){var r=new ce.MathNode("mtable",[new ce.MathNode("mtr",[If(),new ce.MathNode("mtd",[o0(e.body,t)]),If(),new ce.MathNode("mtd",[o0(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Nf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Hf={"\\textbf":"textbf","\\textmd":"textmd"},_b={"\\textit":"textit","\\textup":"textup"},Vf=(e,t)=>{var r=e.font;if(r){if(Nf[r])return t.withTextFontFamily(Nf[r]);if(Hf[r])return t.withTextFontWeight(Hf[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(_b[r])};ke({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];return{type:"text",mode:r.mode,body:At(u),font:n}},htmlBuilder(e,t){var r=Vf(e,t),n=Bt(e.body,r,!0);return K.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Vf(e,t);return o0(e.body,r)}});ke({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tt(e.body,t),n=K.makeLineSpan("underline-line",t),u=t.fontMetrics().defaultRuleThickness,i=K.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:u},{type:"elem",elem:n},{type:"kern",size:3*u},{type:"elem",elem:r}]},t);return K.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("munder",[st(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ke({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tt(e.body,t),n=t.fontMetrics().axisHeight,u=.5*(r.height-n-(r.depth+n));return K.makeVList({positionType:"shift",positionData:u,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new ce.MathNode("mpadded",[st(e.body,t)],["vcenter"])}});ke({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new fe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Uf(e),n=[],u=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];a==="~"&&(a="\\textasciitilde"),n.push(K.makeSymbol(a,"Typewriter-Regular",e.mode,u,["mord","texttt"]))}return K.makeSpan(["mord","text"].concat(u.sizingClasses(t)),K.tryCombineChars(n),u)},mathmlBuilder(e,t){var r=new ce.TextNode(Uf(e)),n=new ce.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Uf=e=>e.body.replace(/ /g,e.star?"␣":" "),Kn=y4,Q4=`[ \r
292
- ]`,Db="\\\\[a-zA-Z@]+",Eb="\\\\[^\uD800-\uDFFF]",Mb="("+Db+")"+Q4+"*",Tb=`\\\\(
294
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class xi{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return ze.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Cn={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ii={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},mf={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function ac(e,t,r){if(!Cn[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),u=Cn[t][n];if(!u&&e[0]in mf&&(n=mf[e[0]].charCodeAt(0),u=Cn[t][n]),!u&&r==="text"&&s4(n)&&(u=Cn[t][77]),u)return{depth:u[0],height:u[1],italic:u[2],skew:u[3],width:u[4]}}var us={};function bg(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!us[t]){var r=us[t]={cssEmPerMu:Ii.quad[t]/18};for(var n in Ii)Ii.hasOwnProperty(n)&&(r[n]=Ii[n][t])}return us[t]}var yg=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],pf=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vf=function(t,r){return r.size<2?t:yg[t-1][r.size-1]};class kn{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||kn.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=pf[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new kn(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:vf(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:pf[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=vf(kn.BASESIZE,t);return this.size===r&&this.textSize===kn.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==kn.BASESIZE?["sizing","reset-size"+this.size,"size"+kn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=bg(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}kn.BASESIZE=6;var nl={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},xg={ex:!0,em:!0,mu:!0},l4=function(t){return typeof t!="string"&&(t=t.unit),t in nl||t in xg||t==="ex"},xt=function(t,r){var n;if(t.unit in nl)n=nl[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var u;if(r.style.isTight()?u=r.havingStyle(r.style.text()):u=r,t.unit==="ex")n=u.fontMetrics().xHeight;else if(t.unit==="em")n=u.fontMetrics().quad;else throw new fe("Invalid unit: '"+t.unit+"'");u!==r&&(n*=u.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},ye=function(t){return+t.toFixed(4)+"em"},u0=function(t){return t.filter(r=>r).join(" ")},c4=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var u=r.getColor();u&&(this.style.color=u)}},f4=function(t){var r=document.createElement(t);r.className=u0(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var u in this.attributes)this.attributes.hasOwnProperty(u)&&r.setAttribute(u,this.attributes[u]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},wg=/[\s"'>/=\x00-\x1f]/,d4=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+ze.escape(u0(this.classes))+'"');var n="";for(var u in this.style)this.style.hasOwnProperty(u)&&(n+=ze.hyphenate(u)+":"+this.style[u]+";");n&&(r+=' style="'+ze.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(wg.test(i))throw new fe("Invalid attribute name '"+i+"'");r+=" "+i+'="'+ze.escape(this.attributes[i])+'"'}r+=">";for(var a=0;a<this.children.length;a++)r+=this.children[a].toMarkup();return r+="</"+t+">",r};class ao{constructor(t,r,n,u){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,c4.call(this,t,n,u),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return ze.contains(this.classes,t)}toNode(){return f4.call(this,"span")}toMarkup(){return d4.call(this,"span")}}class h4{constructor(t,r,n,u){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,c4.call(this,r,u),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return ze.contains(this.classes,t)}toNode(){return f4.call(this,"a")}toMarkup(){return d4.call(this,"a")}}class kg{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return ze.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+ze.escape(this.src)+'"'+(' alt="'+ze.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=ze.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+ze.escape(r)+'"'),t+="'/>",t}}var Sg={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Nr{constructor(t,r,n,u,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=u||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=og(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Sg[this.text])}hasClass(t){return ze.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=ye(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=u0(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=ze.escape(u0(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var u in this.style)this.style.hasOwnProperty(u)&&(n+=ze.hyphenate(u)+":"+this.style[u]+";");n&&(t=!0,r+=' style="'+ze.escape(n)+'"');var i=ze.escape(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class i0{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var u=0;u<this.children.length;u++)r.appendChild(this.children[u].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+ze.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class L0{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",hf[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+ze.escape(this.alternate)+'"/>':'<path d="'+ze.escape(hf[this.pathName])+'"/>'}}class gf{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+ze.escape(this.attributes[r])+'"');return t+="/>",t}}function bf(e){if(e instanceof Nr)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Ag(e){if(e instanceof ao)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Cg={bin:1,close:1,inner:1,open:1,punct:1,rel:1},_g={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ht={math:{},text:{}};function d(e,t,r,n,u,i){ht[e][u]={font:t,group:r,replace:n},i&&n&&(ht[e][n]=ht[e][u])}var h="math",se="text",g="main",C="ams",bt="accent-token",Ce="bin",ar="close",xu="inner",Be="mathord",Ft="op-token",yr="open",oo="punct",E="rel",Bn="spacing",P="textord";d(h,g,E,"≡","\\equiv",!0);d(h,g,E,"≺","\\prec",!0);d(h,g,E,"≻","\\succ",!0);d(h,g,E,"∼","\\sim",!0);d(h,g,E,"⊥","\\perp");d(h,g,E,"⪯","\\preceq",!0);d(h,g,E,"⪰","\\succeq",!0);d(h,g,E,"≃","\\simeq",!0);d(h,g,E,"∣","\\mid",!0);d(h,g,E,"≪","\\ll",!0);d(h,g,E,"≫","\\gg",!0);d(h,g,E,"≍","\\asymp",!0);d(h,g,E,"∥","\\parallel");d(h,g,E,"⋈","\\bowtie",!0);d(h,g,E,"⌣","\\smile",!0);d(h,g,E,"⊑","\\sqsubseteq",!0);d(h,g,E,"⊒","\\sqsupseteq",!0);d(h,g,E,"≐","\\doteq",!0);d(h,g,E,"⌢","\\frown",!0);d(h,g,E,"∋","\\ni",!0);d(h,g,E,"∝","\\propto",!0);d(h,g,E,"⊢","\\vdash",!0);d(h,g,E,"⊣","\\dashv",!0);d(h,g,E,"∋","\\owns");d(h,g,oo,".","\\ldotp");d(h,g,oo,"⋅","\\cdotp");d(h,g,P,"#","\\#");d(se,g,P,"#","\\#");d(h,g,P,"&","\\&");d(se,g,P,"&","\\&");d(h,g,P,"ℵ","\\aleph",!0);d(h,g,P,"∀","\\forall",!0);d(h,g,P,"ℏ","\\hbar",!0);d(h,g,P,"∃","\\exists",!0);d(h,g,P,"∇","\\nabla",!0);d(h,g,P,"♭","\\flat",!0);d(h,g,P,"ℓ","\\ell",!0);d(h,g,P,"♮","\\natural",!0);d(h,g,P,"♣","\\clubsuit",!0);d(h,g,P,"℘","\\wp",!0);d(h,g,P,"♯","\\sharp",!0);d(h,g,P,"♢","\\diamondsuit",!0);d(h,g,P,"ℜ","\\Re",!0);d(h,g,P,"♡","\\heartsuit",!0);d(h,g,P,"ℑ","\\Im",!0);d(h,g,P,"♠","\\spadesuit",!0);d(h,g,P,"§","\\S",!0);d(se,g,P,"§","\\S");d(h,g,P,"¶","\\P",!0);d(se,g,P,"¶","\\P");d(h,g,P,"†","\\dag");d(se,g,P,"†","\\dag");d(se,g,P,"†","\\textdagger");d(h,g,P,"‡","\\ddag");d(se,g,P,"‡","\\ddag");d(se,g,P,"‡","\\textdaggerdbl");d(h,g,ar,"⎱","\\rmoustache",!0);d(h,g,yr,"⎰","\\lmoustache",!0);d(h,g,ar,"⟯","\\rgroup",!0);d(h,g,yr,"⟮","\\lgroup",!0);d(h,g,Ce,"∓","\\mp",!0);d(h,g,Ce,"⊖","\\ominus",!0);d(h,g,Ce,"⊎","\\uplus",!0);d(h,g,Ce,"⊓","\\sqcap",!0);d(h,g,Ce,"∗","\\ast");d(h,g,Ce,"⊔","\\sqcup",!0);d(h,g,Ce,"◯","\\bigcirc",!0);d(h,g,Ce,"∙","\\bullet",!0);d(h,g,Ce,"‡","\\ddagger");d(h,g,Ce,"≀","\\wr",!0);d(h,g,Ce,"⨿","\\amalg");d(h,g,Ce,"&","\\And");d(h,g,E,"⟵","\\longleftarrow",!0);d(h,g,E,"⇐","\\Leftarrow",!0);d(h,g,E,"⟸","\\Longleftarrow",!0);d(h,g,E,"⟶","\\longrightarrow",!0);d(h,g,E,"⇒","\\Rightarrow",!0);d(h,g,E,"⟹","\\Longrightarrow",!0);d(h,g,E,"↔","\\leftrightarrow",!0);d(h,g,E,"⟷","\\longleftrightarrow",!0);d(h,g,E,"⇔","\\Leftrightarrow",!0);d(h,g,E,"⟺","\\Longleftrightarrow",!0);d(h,g,E,"↦","\\mapsto",!0);d(h,g,E,"⟼","\\longmapsto",!0);d(h,g,E,"↗","\\nearrow",!0);d(h,g,E,"↩","\\hookleftarrow",!0);d(h,g,E,"↪","\\hookrightarrow",!0);d(h,g,E,"↘","\\searrow",!0);d(h,g,E,"↼","\\leftharpoonup",!0);d(h,g,E,"⇀","\\rightharpoonup",!0);d(h,g,E,"↙","\\swarrow",!0);d(h,g,E,"↽","\\leftharpoondown",!0);d(h,g,E,"⇁","\\rightharpoondown",!0);d(h,g,E,"↖","\\nwarrow",!0);d(h,g,E,"⇌","\\rightleftharpoons",!0);d(h,C,E,"≮","\\nless",!0);d(h,C,E,"","\\@nleqslant");d(h,C,E,"","\\@nleqq");d(h,C,E,"⪇","\\lneq",!0);d(h,C,E,"≨","\\lneqq",!0);d(h,C,E,"","\\@lvertneqq");d(h,C,E,"⋦","\\lnsim",!0);d(h,C,E,"⪉","\\lnapprox",!0);d(h,C,E,"⊀","\\nprec",!0);d(h,C,E,"⋠","\\npreceq",!0);d(h,C,E,"⋨","\\precnsim",!0);d(h,C,E,"⪹","\\precnapprox",!0);d(h,C,E,"≁","\\nsim",!0);d(h,C,E,"","\\@nshortmid");d(h,C,E,"∤","\\nmid",!0);d(h,C,E,"⊬","\\nvdash",!0);d(h,C,E,"⊭","\\nvDash",!0);d(h,C,E,"⋪","\\ntriangleleft");d(h,C,E,"⋬","\\ntrianglelefteq",!0);d(h,C,E,"⊊","\\subsetneq",!0);d(h,C,E,"","\\@varsubsetneq");d(h,C,E,"⫋","\\subsetneqq",!0);d(h,C,E,"","\\@varsubsetneqq");d(h,C,E,"≯","\\ngtr",!0);d(h,C,E,"","\\@ngeqslant");d(h,C,E,"","\\@ngeqq");d(h,C,E,"⪈","\\gneq",!0);d(h,C,E,"≩","\\gneqq",!0);d(h,C,E,"","\\@gvertneqq");d(h,C,E,"⋧","\\gnsim",!0);d(h,C,E,"⪊","\\gnapprox",!0);d(h,C,E,"⊁","\\nsucc",!0);d(h,C,E,"⋡","\\nsucceq",!0);d(h,C,E,"⋩","\\succnsim",!0);d(h,C,E,"⪺","\\succnapprox",!0);d(h,C,E,"≆","\\ncong",!0);d(h,C,E,"","\\@nshortparallel");d(h,C,E,"∦","\\nparallel",!0);d(h,C,E,"⊯","\\nVDash",!0);d(h,C,E,"⋫","\\ntriangleright");d(h,C,E,"⋭","\\ntrianglerighteq",!0);d(h,C,E,"","\\@nsupseteqq");d(h,C,E,"⊋","\\supsetneq",!0);d(h,C,E,"","\\@varsupsetneq");d(h,C,E,"⫌","\\supsetneqq",!0);d(h,C,E,"","\\@varsupsetneqq");d(h,C,E,"⊮","\\nVdash",!0);d(h,C,E,"⪵","\\precneqq",!0);d(h,C,E,"⪶","\\succneqq",!0);d(h,C,E,"","\\@nsubseteqq");d(h,C,Ce,"⊴","\\unlhd");d(h,C,Ce,"⊵","\\unrhd");d(h,C,E,"↚","\\nleftarrow",!0);d(h,C,E,"↛","\\nrightarrow",!0);d(h,C,E,"⇍","\\nLeftarrow",!0);d(h,C,E,"⇏","\\nRightarrow",!0);d(h,C,E,"↮","\\nleftrightarrow",!0);d(h,C,E,"⇎","\\nLeftrightarrow",!0);d(h,C,E,"△","\\vartriangle");d(h,C,P,"ℏ","\\hslash");d(h,C,P,"▽","\\triangledown");d(h,C,P,"◊","\\lozenge");d(h,C,P,"Ⓢ","\\circledS");d(h,C,P,"®","\\circledR");d(se,C,P,"®","\\circledR");d(h,C,P,"∡","\\measuredangle",!0);d(h,C,P,"∄","\\nexists");d(h,C,P,"℧","\\mho");d(h,C,P,"Ⅎ","\\Finv",!0);d(h,C,P,"⅁","\\Game",!0);d(h,C,P,"‵","\\backprime");d(h,C,P,"▲","\\blacktriangle");d(h,C,P,"▼","\\blacktriangledown");d(h,C,P,"■","\\blacksquare");d(h,C,P,"⧫","\\blacklozenge");d(h,C,P,"★","\\bigstar");d(h,C,P,"∢","\\sphericalangle",!0);d(h,C,P,"∁","\\complement",!0);d(h,C,P,"ð","\\eth",!0);d(se,g,P,"ð","ð");d(h,C,P,"╱","\\diagup");d(h,C,P,"╲","\\diagdown");d(h,C,P,"□","\\square");d(h,C,P,"□","\\Box");d(h,C,P,"◊","\\Diamond");d(h,C,P,"¥","\\yen",!0);d(se,C,P,"¥","\\yen",!0);d(h,C,P,"✓","\\checkmark",!0);d(se,C,P,"✓","\\checkmark");d(h,C,P,"ℶ","\\beth",!0);d(h,C,P,"ℸ","\\daleth",!0);d(h,C,P,"ℷ","\\gimel",!0);d(h,C,P,"ϝ","\\digamma",!0);d(h,C,P,"ϰ","\\varkappa");d(h,C,yr,"┌","\\@ulcorner",!0);d(h,C,ar,"┐","\\@urcorner",!0);d(h,C,yr,"└","\\@llcorner",!0);d(h,C,ar,"┘","\\@lrcorner",!0);d(h,C,E,"≦","\\leqq",!0);d(h,C,E,"⩽","\\leqslant",!0);d(h,C,E,"⪕","\\eqslantless",!0);d(h,C,E,"≲","\\lesssim",!0);d(h,C,E,"⪅","\\lessapprox",!0);d(h,C,E,"≊","\\approxeq",!0);d(h,C,Ce,"⋖","\\lessdot");d(h,C,E,"⋘","\\lll",!0);d(h,C,E,"≶","\\lessgtr",!0);d(h,C,E,"⋚","\\lesseqgtr",!0);d(h,C,E,"⪋","\\lesseqqgtr",!0);d(h,C,E,"≑","\\doteqdot");d(h,C,E,"≓","\\risingdotseq",!0);d(h,C,E,"≒","\\fallingdotseq",!0);d(h,C,E,"∽","\\backsim",!0);d(h,C,E,"⋍","\\backsimeq",!0);d(h,C,E,"⫅","\\subseteqq",!0);d(h,C,E,"⋐","\\Subset",!0);d(h,C,E,"⊏","\\sqsubset",!0);d(h,C,E,"≼","\\preccurlyeq",!0);d(h,C,E,"⋞","\\curlyeqprec",!0);d(h,C,E,"≾","\\precsim",!0);d(h,C,E,"⪷","\\precapprox",!0);d(h,C,E,"⊲","\\vartriangleleft");d(h,C,E,"⊴","\\trianglelefteq");d(h,C,E,"⊨","\\vDash",!0);d(h,C,E,"⊪","\\Vvdash",!0);d(h,C,E,"⌣","\\smallsmile");d(h,C,E,"⌢","\\smallfrown");d(h,C,E,"≏","\\bumpeq",!0);d(h,C,E,"≎","\\Bumpeq",!0);d(h,C,E,"≧","\\geqq",!0);d(h,C,E,"⩾","\\geqslant",!0);d(h,C,E,"⪖","\\eqslantgtr",!0);d(h,C,E,"≳","\\gtrsim",!0);d(h,C,E,"⪆","\\gtrapprox",!0);d(h,C,Ce,"⋗","\\gtrdot");d(h,C,E,"⋙","\\ggg",!0);d(h,C,E,"≷","\\gtrless",!0);d(h,C,E,"⋛","\\gtreqless",!0);d(h,C,E,"⪌","\\gtreqqless",!0);d(h,C,E,"≖","\\eqcirc",!0);d(h,C,E,"≗","\\circeq",!0);d(h,C,E,"≜","\\triangleq",!0);d(h,C,E,"∼","\\thicksim");d(h,C,E,"≈","\\thickapprox");d(h,C,E,"⫆","\\supseteqq",!0);d(h,C,E,"⋑","\\Supset",!0);d(h,C,E,"⊐","\\sqsupset",!0);d(h,C,E,"≽","\\succcurlyeq",!0);d(h,C,E,"⋟","\\curlyeqsucc",!0);d(h,C,E,"≿","\\succsim",!0);d(h,C,E,"⪸","\\succapprox",!0);d(h,C,E,"⊳","\\vartriangleright");d(h,C,E,"⊵","\\trianglerighteq");d(h,C,E,"⊩","\\Vdash",!0);d(h,C,E,"∣","\\shortmid");d(h,C,E,"∥","\\shortparallel");d(h,C,E,"≬","\\between",!0);d(h,C,E,"⋔","\\pitchfork",!0);d(h,C,E,"∝","\\varpropto");d(h,C,E,"◀","\\blacktriangleleft");d(h,C,E,"∴","\\therefore",!0);d(h,C,E,"∍","\\backepsilon");d(h,C,E,"▶","\\blacktriangleright");d(h,C,E,"∵","\\because",!0);d(h,C,E,"⋘","\\llless");d(h,C,E,"⋙","\\gggtr");d(h,C,Ce,"⊲","\\lhd");d(h,C,Ce,"⊳","\\rhd");d(h,C,E,"≂","\\eqsim",!0);d(h,g,E,"⋈","\\Join");d(h,C,E,"≑","\\Doteq",!0);d(h,C,Ce,"∔","\\dotplus",!0);d(h,C,Ce,"∖","\\smallsetminus");d(h,C,Ce,"⋒","\\Cap",!0);d(h,C,Ce,"⋓","\\Cup",!0);d(h,C,Ce,"⩞","\\doublebarwedge",!0);d(h,C,Ce,"⊟","\\boxminus",!0);d(h,C,Ce,"⊞","\\boxplus",!0);d(h,C,Ce,"⋇","\\divideontimes",!0);d(h,C,Ce,"⋉","\\ltimes",!0);d(h,C,Ce,"⋊","\\rtimes",!0);d(h,C,Ce,"⋋","\\leftthreetimes",!0);d(h,C,Ce,"⋌","\\rightthreetimes",!0);d(h,C,Ce,"⋏","\\curlywedge",!0);d(h,C,Ce,"⋎","\\curlyvee",!0);d(h,C,Ce,"⊝","\\circleddash",!0);d(h,C,Ce,"⊛","\\circledast",!0);d(h,C,Ce,"⋅","\\centerdot");d(h,C,Ce,"⊺","\\intercal",!0);d(h,C,Ce,"⋒","\\doublecap");d(h,C,Ce,"⋓","\\doublecup");d(h,C,Ce,"⊠","\\boxtimes",!0);d(h,C,E,"⇢","\\dashrightarrow",!0);d(h,C,E,"⇠","\\dashleftarrow",!0);d(h,C,E,"⇇","\\leftleftarrows",!0);d(h,C,E,"⇆","\\leftrightarrows",!0);d(h,C,E,"⇚","\\Lleftarrow",!0);d(h,C,E,"↞","\\twoheadleftarrow",!0);d(h,C,E,"↢","\\leftarrowtail",!0);d(h,C,E,"↫","\\looparrowleft",!0);d(h,C,E,"⇋","\\leftrightharpoons",!0);d(h,C,E,"↶","\\curvearrowleft",!0);d(h,C,E,"↺","\\circlearrowleft",!0);d(h,C,E,"↰","\\Lsh",!0);d(h,C,E,"⇈","\\upuparrows",!0);d(h,C,E,"↿","\\upharpoonleft",!0);d(h,C,E,"⇃","\\downharpoonleft",!0);d(h,g,E,"⊶","\\origof",!0);d(h,g,E,"⊷","\\imageof",!0);d(h,C,E,"⊸","\\multimap",!0);d(h,C,E,"↭","\\leftrightsquigarrow",!0);d(h,C,E,"⇉","\\rightrightarrows",!0);d(h,C,E,"⇄","\\rightleftarrows",!0);d(h,C,E,"↠","\\twoheadrightarrow",!0);d(h,C,E,"↣","\\rightarrowtail",!0);d(h,C,E,"↬","\\looparrowright",!0);d(h,C,E,"↷","\\curvearrowright",!0);d(h,C,E,"↻","\\circlearrowright",!0);d(h,C,E,"↱","\\Rsh",!0);d(h,C,E,"⇊","\\downdownarrows",!0);d(h,C,E,"↾","\\upharpoonright",!0);d(h,C,E,"⇂","\\downharpoonright",!0);d(h,C,E,"⇝","\\rightsquigarrow",!0);d(h,C,E,"⇝","\\leadsto");d(h,C,E,"⇛","\\Rrightarrow",!0);d(h,C,E,"↾","\\restriction");d(h,g,P,"‘","`");d(h,g,P,"$","\\$");d(se,g,P,"$","\\$");d(se,g,P,"$","\\textdollar");d(h,g,P,"%","\\%");d(se,g,P,"%","\\%");d(h,g,P,"_","\\_");d(se,g,P,"_","\\_");d(se,g,P,"_","\\textunderscore");d(h,g,P,"∠","\\angle",!0);d(h,g,P,"∞","\\infty",!0);d(h,g,P,"′","\\prime");d(h,g,P,"△","\\triangle");d(h,g,P,"Γ","\\Gamma",!0);d(h,g,P,"Δ","\\Delta",!0);d(h,g,P,"Θ","\\Theta",!0);d(h,g,P,"Λ","\\Lambda",!0);d(h,g,P,"Ξ","\\Xi",!0);d(h,g,P,"Π","\\Pi",!0);d(h,g,P,"Σ","\\Sigma",!0);d(h,g,P,"Υ","\\Upsilon",!0);d(h,g,P,"Φ","\\Phi",!0);d(h,g,P,"Ψ","\\Psi",!0);d(h,g,P,"Ω","\\Omega",!0);d(h,g,P,"A","Α");d(h,g,P,"B","Β");d(h,g,P,"E","Ε");d(h,g,P,"Z","Ζ");d(h,g,P,"H","Η");d(h,g,P,"I","Ι");d(h,g,P,"K","Κ");d(h,g,P,"M","Μ");d(h,g,P,"N","Ν");d(h,g,P,"O","Ο");d(h,g,P,"P","Ρ");d(h,g,P,"T","Τ");d(h,g,P,"X","Χ");d(h,g,P,"¬","\\neg",!0);d(h,g,P,"¬","\\lnot");d(h,g,P,"⊤","\\top");d(h,g,P,"⊥","\\bot");d(h,g,P,"∅","\\emptyset");d(h,C,P,"∅","\\varnothing");d(h,g,Be,"α","\\alpha",!0);d(h,g,Be,"β","\\beta",!0);d(h,g,Be,"γ","\\gamma",!0);d(h,g,Be,"δ","\\delta",!0);d(h,g,Be,"ϵ","\\epsilon",!0);d(h,g,Be,"ζ","\\zeta",!0);d(h,g,Be,"η","\\eta",!0);d(h,g,Be,"θ","\\theta",!0);d(h,g,Be,"ι","\\iota",!0);d(h,g,Be,"κ","\\kappa",!0);d(h,g,Be,"λ","\\lambda",!0);d(h,g,Be,"μ","\\mu",!0);d(h,g,Be,"ν","\\nu",!0);d(h,g,Be,"ξ","\\xi",!0);d(h,g,Be,"ο","\\omicron",!0);d(h,g,Be,"π","\\pi",!0);d(h,g,Be,"ρ","\\rho",!0);d(h,g,Be,"σ","\\sigma",!0);d(h,g,Be,"τ","\\tau",!0);d(h,g,Be,"υ","\\upsilon",!0);d(h,g,Be,"ϕ","\\phi",!0);d(h,g,Be,"χ","\\chi",!0);d(h,g,Be,"ψ","\\psi",!0);d(h,g,Be,"ω","\\omega",!0);d(h,g,Be,"ε","\\varepsilon",!0);d(h,g,Be,"ϑ","\\vartheta",!0);d(h,g,Be,"ϖ","\\varpi",!0);d(h,g,Be,"ϱ","\\varrho",!0);d(h,g,Be,"ς","\\varsigma",!0);d(h,g,Be,"φ","\\varphi",!0);d(h,g,Ce,"∗","*",!0);d(h,g,Ce,"+","+");d(h,g,Ce,"−","-",!0);d(h,g,Ce,"⋅","\\cdot",!0);d(h,g,Ce,"∘","\\circ",!0);d(h,g,Ce,"÷","\\div",!0);d(h,g,Ce,"±","\\pm",!0);d(h,g,Ce,"×","\\times",!0);d(h,g,Ce,"∩","\\cap",!0);d(h,g,Ce,"∪","\\cup",!0);d(h,g,Ce,"∖","\\setminus",!0);d(h,g,Ce,"∧","\\land");d(h,g,Ce,"∨","\\lor");d(h,g,Ce,"∧","\\wedge",!0);d(h,g,Ce,"∨","\\vee",!0);d(h,g,P,"√","\\surd");d(h,g,yr,"⟨","\\langle",!0);d(h,g,yr,"∣","\\lvert");d(h,g,yr,"∥","\\lVert");d(h,g,ar,"?","?");d(h,g,ar,"!","!");d(h,g,ar,"⟩","\\rangle",!0);d(h,g,ar,"∣","\\rvert");d(h,g,ar,"∥","\\rVert");d(h,g,E,"=","=");d(h,g,E,":",":");d(h,g,E,"≈","\\approx",!0);d(h,g,E,"≅","\\cong",!0);d(h,g,E,"≥","\\ge");d(h,g,E,"≥","\\geq",!0);d(h,g,E,"←","\\gets");d(h,g,E,">","\\gt",!0);d(h,g,E,"∈","\\in",!0);d(h,g,E,"","\\@not");d(h,g,E,"⊂","\\subset",!0);d(h,g,E,"⊃","\\supset",!0);d(h,g,E,"⊆","\\subseteq",!0);d(h,g,E,"⊇","\\supseteq",!0);d(h,C,E,"⊈","\\nsubseteq",!0);d(h,C,E,"⊉","\\nsupseteq",!0);d(h,g,E,"⊨","\\models");d(h,g,E,"←","\\leftarrow",!0);d(h,g,E,"≤","\\le");d(h,g,E,"≤","\\leq",!0);d(h,g,E,"<","\\lt",!0);d(h,g,E,"→","\\rightarrow",!0);d(h,g,E,"→","\\to");d(h,C,E,"≱","\\ngeq",!0);d(h,C,E,"≰","\\nleq",!0);d(h,g,Bn," ","\\ ");d(h,g,Bn," ","\\space");d(h,g,Bn," ","\\nobreakspace");d(se,g,Bn," ","\\ ");d(se,g,Bn," "," ");d(se,g,Bn," ","\\space");d(se,g,Bn," ","\\nobreakspace");d(h,g,Bn,null,"\\nobreak");d(h,g,Bn,null,"\\allowbreak");d(h,g,oo,",",",");d(h,g,oo,";",";");d(h,C,Ce,"⊼","\\barwedge",!0);d(h,C,Ce,"⊻","\\veebar",!0);d(h,g,Ce,"⊙","\\odot",!0);d(h,g,Ce,"⊕","\\oplus",!0);d(h,g,Ce,"⊗","\\otimes",!0);d(h,g,P,"∂","\\partial",!0);d(h,g,Ce,"⊘","\\oslash",!0);d(h,C,Ce,"⊚","\\circledcirc",!0);d(h,C,Ce,"⊡","\\boxdot",!0);d(h,g,Ce,"△","\\bigtriangleup");d(h,g,Ce,"▽","\\bigtriangledown");d(h,g,Ce,"†","\\dagger");d(h,g,Ce,"⋄","\\diamond");d(h,g,Ce,"⋆","\\star");d(h,g,Ce,"◃","\\triangleleft");d(h,g,Ce,"▹","\\triangleright");d(h,g,yr,"{","\\{");d(se,g,P,"{","\\{");d(se,g,P,"{","\\textbraceleft");d(h,g,ar,"}","\\}");d(se,g,P,"}","\\}");d(se,g,P,"}","\\textbraceright");d(h,g,yr,"{","\\lbrace");d(h,g,ar,"}","\\rbrace");d(h,g,yr,"[","\\lbrack",!0);d(se,g,P,"[","\\lbrack",!0);d(h,g,ar,"]","\\rbrack",!0);d(se,g,P,"]","\\rbrack",!0);d(h,g,yr,"(","\\lparen",!0);d(h,g,ar,")","\\rparen",!0);d(se,g,P,"<","\\textless",!0);d(se,g,P,">","\\textgreater",!0);d(h,g,yr,"⌊","\\lfloor",!0);d(h,g,ar,"⌋","\\rfloor",!0);d(h,g,yr,"⌈","\\lceil",!0);d(h,g,ar,"⌉","\\rceil",!0);d(h,g,P,"\\","\\backslash");d(h,g,P,"∣","|");d(h,g,P,"∣","\\vert");d(se,g,P,"|","\\textbar",!0);d(h,g,P,"∥","\\|");d(h,g,P,"∥","\\Vert");d(se,g,P,"∥","\\textbardbl");d(se,g,P,"~","\\textasciitilde");d(se,g,P,"\\","\\textbackslash");d(se,g,P,"^","\\textasciicircum");d(h,g,E,"↑","\\uparrow",!0);d(h,g,E,"⇑","\\Uparrow",!0);d(h,g,E,"↓","\\downarrow",!0);d(h,g,E,"⇓","\\Downarrow",!0);d(h,g,E,"↕","\\updownarrow",!0);d(h,g,E,"⇕","\\Updownarrow",!0);d(h,g,Ft,"∐","\\coprod");d(h,g,Ft,"⋁","\\bigvee");d(h,g,Ft,"⋀","\\bigwedge");d(h,g,Ft,"⨄","\\biguplus");d(h,g,Ft,"⋂","\\bigcap");d(h,g,Ft,"⋃","\\bigcup");d(h,g,Ft,"∫","\\int");d(h,g,Ft,"∫","\\intop");d(h,g,Ft,"∬","\\iint");d(h,g,Ft,"∭","\\iiint");d(h,g,Ft,"∏","\\prod");d(h,g,Ft,"∑","\\sum");d(h,g,Ft,"⨂","\\bigotimes");d(h,g,Ft,"⨁","\\bigoplus");d(h,g,Ft,"⨀","\\bigodot");d(h,g,Ft,"∮","\\oint");d(h,g,Ft,"∯","\\oiint");d(h,g,Ft,"∰","\\oiiint");d(h,g,Ft,"⨆","\\bigsqcup");d(h,g,Ft,"∫","\\smallint");d(se,g,xu,"…","\\textellipsis");d(h,g,xu,"…","\\mathellipsis");d(se,g,xu,"…","\\ldots",!0);d(h,g,xu,"…","\\ldots",!0);d(h,g,xu,"⋯","\\@cdots",!0);d(h,g,xu,"⋱","\\ddots",!0);d(h,g,P,"⋮","\\varvdots");d(se,g,P,"⋮","\\varvdots");d(h,g,bt,"ˊ","\\acute");d(h,g,bt,"ˋ","\\grave");d(h,g,bt,"¨","\\ddot");d(h,g,bt,"~","\\tilde");d(h,g,bt,"ˉ","\\bar");d(h,g,bt,"˘","\\breve");d(h,g,bt,"ˇ","\\check");d(h,g,bt,"^","\\hat");d(h,g,bt,"⃗","\\vec");d(h,g,bt,"˙","\\dot");d(h,g,bt,"˚","\\mathring");d(h,g,Be,"","\\@imath");d(h,g,Be,"","\\@jmath");d(h,g,P,"ı","ı");d(h,g,P,"ȷ","ȷ");d(se,g,P,"ı","\\i",!0);d(se,g,P,"ȷ","\\j",!0);d(se,g,P,"ß","\\ss",!0);d(se,g,P,"æ","\\ae",!0);d(se,g,P,"œ","\\oe",!0);d(se,g,P,"ø","\\o",!0);d(se,g,P,"Æ","\\AE",!0);d(se,g,P,"Œ","\\OE",!0);d(se,g,P,"Ø","\\O",!0);d(se,g,bt,"ˊ","\\'");d(se,g,bt,"ˋ","\\`");d(se,g,bt,"ˆ","\\^");d(se,g,bt,"˜","\\~");d(se,g,bt,"ˉ","\\=");d(se,g,bt,"˘","\\u");d(se,g,bt,"˙","\\.");d(se,g,bt,"¸","\\c");d(se,g,bt,"˚","\\r");d(se,g,bt,"ˇ","\\v");d(se,g,bt,"¨",'\\"');d(se,g,bt,"˝","\\H");d(se,g,bt,"◯","\\textcircled");var m4={"--":!0,"---":!0,"``":!0,"''":!0};d(se,g,P,"–","--",!0);d(se,g,P,"–","\\textendash");d(se,g,P,"—","---",!0);d(se,g,P,"—","\\textemdash");d(se,g,P,"‘","`",!0);d(se,g,P,"‘","\\textquoteleft");d(se,g,P,"’","'",!0);d(se,g,P,"’","\\textquoteright");d(se,g,P,"“","``",!0);d(se,g,P,"“","\\textquotedblleft");d(se,g,P,"”","''",!0);d(se,g,P,"”","\\textquotedblright");d(h,g,P,"°","\\degree",!0);d(se,g,P,"°","\\degree");d(se,g,P,"°","\\textdegree",!0);d(h,g,P,"£","\\pounds");d(h,g,P,"£","\\mathsterling",!0);d(se,g,P,"£","\\pounds");d(se,g,P,"£","\\textsterling",!0);d(h,C,P,"✠","\\maltese");d(se,C,P,"✠","\\maltese");var yf='0123456789/@."';for(var is=0;is<yf.length;is++){var xf=yf.charAt(is);d(h,g,P,xf,xf)}var wf='0123456789!@*()-=+";:?/.,';for(var as=0;as<wf.length;as++){var kf=wf.charAt(as);d(se,g,P,kf,kf)}var Ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var os=0;os<Ta.length;os++){var Ni=Ta.charAt(os);d(h,g,Be,Ni,Ni),d(se,g,P,Ni,Ni)}d(h,C,P,"C","ℂ");d(se,C,P,"C","ℂ");d(h,C,P,"H","ℍ");d(se,C,P,"H","ℍ");d(h,C,P,"N","ℕ");d(se,C,P,"N","ℕ");d(h,C,P,"P","ℙ");d(se,C,P,"P","ℙ");d(h,C,P,"Q","ℚ");d(se,C,P,"Q","ℚ");d(h,C,P,"R","ℝ");d(se,C,P,"R","ℝ");d(h,C,P,"Z","ℤ");d(se,C,P,"Z","ℤ");d(h,g,Be,"h","ℎ");d(se,g,Be,"h","ℎ");var Le="";for(var Qt=0;Qt<Ta.length;Qt++){var wt=Ta.charAt(Qt);Le=String.fromCharCode(55349,56320+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56372+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56424+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56580+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56684+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56736+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56788+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56840+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56944+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Qt<26&&(Le=String.fromCharCode(55349,56632+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le),Le=String.fromCharCode(55349,56476+Qt),d(h,g,Be,wt,Le),d(se,g,P,wt,Le))}Le="𝕜";d(h,g,Be,"k",Le);d(se,g,P,"k",Le);for(var g0=0;g0<10;g0++){var Rn=g0.toString();Le=String.fromCharCode(55349,57294+g0),d(h,g,Be,Rn,Le),d(se,g,P,Rn,Le),Le=String.fromCharCode(55349,57314+g0),d(h,g,Be,Rn,Le),d(se,g,P,Rn,Le),Le=String.fromCharCode(55349,57324+g0),d(h,g,Be,Rn,Le),d(se,g,P,Rn,Le),Le=String.fromCharCode(55349,57334+g0),d(h,g,Be,Rn,Le),d(se,g,P,Rn,Le)}var ul="ÐÞþ";for(var ss=0;ss<ul.length;ss++){var Hi=ul.charAt(ss);d(h,g,Be,Hi,Hi),d(se,g,P,Hi,Hi)}var Vi=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Sf=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Dg=function(t,r){var n=t.charCodeAt(0),u=t.charCodeAt(1),i=(n-55296)*1024+(u-56320)+65536,a=r==="math"?0:1;if(119808<=i&&i<120484){var o=Math.floor((i-119808)/26);return[Vi[o][2],Vi[o][a]]}else if(120782<=i&&i<=120831){var s=Math.floor((i-120782)/10);return[Sf[s][2],Sf[s][a]]}else{if(i===120485||i===120486)return[Vi[0][2],Vi[0][a]];if(120486<i&&i<120782)return["",""];throw new fe("Unsupported character: "+t)}},so=function(t,r,n){return ht[n][t]&&ht[n][t].replace&&(t=ht[n][t].replace),{value:t,metrics:ac(t,r,n)}},Or=function(t,r,n,u,i){var a=so(t,r,n),o=a.metrics;t=a.value;var s;if(o){var l=o.italic;(n==="text"||u&&u.font==="mathit")&&(l=0),s=new Nr(t,o.height,o.depth,l,o.skew,o.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),s=new Nr(t,0,0,0,0,0,i);if(u){s.maxFontSize=u.sizeMultiplier,u.style.isTight()&&s.classes.push("mtight");var c=u.getColor();c&&(s.style.color=c)}return s},Eg=function(t,r,n,u){return u===void 0&&(u=[]),n.font==="boldsymbol"&&so(t,"Main-Bold",r).metrics?Or(t,"Main-Bold",r,n,u.concat(["mathbf"])):t==="\\"||ht[r][t].font==="main"?Or(t,"Main-Regular",r,n,u):Or(t,"AMS-Regular",r,n,u.concat(["amsrm"]))},Mg=function(t,r,n,u,i){return i!=="textord"&&so(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Tg=function(t,r,n){var u=t.mode,i=t.text,a=["mord"],o=u==="math"||u==="text"&&r.font,s=o?r.font:r.fontFamily,l="",c="";if(i.charCodeAt(0)===55349&&([l,c]=Dg(i,u)),l.length>0)return Or(i,l,u,r,a.concat(c));if(s){var f,m;if(s==="boldsymbol"){var p=Mg(i,u,r,a,n);f=p.fontName,m=[p.fontClass]}else o?(f=g4[s].fontName,m=[s]):(f=Ui(s,r.fontWeight,r.fontShape),m=[s,r.fontWeight,r.fontShape]);if(so(i,f,u).metrics)return Or(i,f,u,r,a.concat(m));if(m4.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var v=[],x=0;x<i.length;x++)v.push(Or(i[x],f,u,r,a.concat(m)));return v4(v)}}if(n==="mathord")return Or(i,"Math-Italic",u,r,a.concat(["mathnormal"]));if(n==="textord"){var y=ht[u][i]&&ht[u][i].font;if(y==="ams"){var T=Ui("amsrm",r.fontWeight,r.fontShape);return Or(i,T,u,r,a.concat("amsrm",r.fontWeight,r.fontShape))}else if(y==="main"||!y){var D=Ui("textrm",r.fontWeight,r.fontShape);return Or(i,D,u,r,a.concat(r.fontWeight,r.fontShape))}else{var _=Ui(y,r.fontWeight,r.fontShape);return Or(i,_,u,r,a.concat(_,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Fg=(e,t)=>{if(u0(e.classes)!==u0(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var u in t.style)if(t.style.hasOwnProperty(u)&&e.style[u]!==t.style[u])return!1;return!0},zg=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Nr&&n instanceof Nr&&Fg(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},oc=function(t){for(var r=0,n=0,u=0,i=0;i<t.children.length;i++){var a=t.children[i];a.height>r&&(r=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>u&&(u=a.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=u},or=function(t,r,n,u){var i=new ao(t,r,n,u);return oc(i),i},p4=(e,t,r,n)=>new ao(e,t,r,n),Bg=function(t,r,n){var u=or([t],[],r);return u.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),u.style.borderBottomWidth=ye(u.height),u.maxFontSize=1,u},Og=function(t,r,n,u){var i=new h4(t,r,n,u);return oc(i),i},v4=function(t){var r=new xi(t);return oc(r),r},qg=function(t,r){return t instanceof xi?or([],[t],r):t},Rg=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],u=-r[0].shift-r[0].elem.depth,i=u,a=1;a<r.length;a++){var o=-r[a].shift-i-r[a].elem.depth,s=o-(r[a-1].elem.height+r[a-1].elem.depth);i=i+o,n.push({type:"kern",size:s}),n.push(r[a])}return{children:n,depth:u}}var l;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var m=t.children[f];c-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}l=c}else if(t.positionType==="bottom")l=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},Lg=function(t,r){for(var{children:n,depth:u}=Rg(t),i=0,a=0;a<n.length;a++){var o=n[a];if(o.type==="elem"){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var l=or(["pstrut"],[]);l.style.height=ye(i);for(var c=[],f=u,m=u,p=u,v=0;v<n.length;v++){var x=n[v];if(x.type==="kern")p+=x.size;else{var y=x.elem,T=x.wrapperClasses||[],D=x.wrapperStyle||{},_=or(T,[l,y],void 0,D);_.style.top=ye(-i-p-y.depth),x.marginLeft&&(_.style.marginLeft=x.marginLeft),x.marginRight&&(_.style.marginRight=x.marginRight),c.push(_),p+=y.height+y.depth}f=Math.min(f,p),m=Math.max(m,p)}var w=or(["vlist"],c);w.style.height=ye(m);var F;if(f<0){var j=or([],[]),z=or(["vlist"],[j]);z.style.height=ye(-f);var V=or(["vlist-s"],[new Nr("​")]);F=[or(["vlist-r"],[w,V]),or(["vlist-r"],[z])]}else F=[or(["vlist-r"],[w])];var S=or(["vlist-t"],F);return F.length===2&&S.classes.push("vlist-t2"),S.height=m,S.depth=-f,S},Pg=(e,t)=>{var r=or(["mspace"],[],t),n=xt(e,t);return r.style.marginRight=ye(n),r},Ui=function(t,r,n){var u="";switch(t){case"amsrm":u="AMS";break;case"textrm":u="Main";break;case"textsf":u="SansSerif";break;case"texttt":u="Typewriter";break;default:u=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",u+"-"+i},g4={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},b4={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ig=function(t,r){var[n,u,i]=b4[t],a=new L0(n),o=new i0([a],{width:ye(u),height:ye(i),style:"width:"+ye(u),viewBox:"0 0 "+1e3*u+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),s=p4(["overlay"],[o],r);return s.height=i,s.style.height=ye(i),s.style.width=ye(u),s},K={fontMap:g4,makeSymbol:Or,mathsym:Eg,makeSpan:or,makeSvgSpan:p4,makeLineSpan:Bg,makeAnchor:Og,makeFragment:v4,wrapFragment:qg,makeVList:Lg,makeOrd:Tg,makeGlue:Pg,staticSvg:Ig,svgData:b4,tryCombineChars:zg},yt={number:3,unit:"mu"},b0={number:4,unit:"mu"},yn={number:5,unit:"mu"},Ng={mord:{mop:yt,mbin:b0,mrel:yn,minner:yt},mop:{mord:yt,mop:yt,mrel:yn,minner:yt},mbin:{mord:b0,mop:b0,mopen:b0,minner:b0},mrel:{mord:yn,mop:yn,mopen:yn,minner:yn},mopen:{},mclose:{mop:yt,mbin:b0,mrel:yn,minner:yt},mpunct:{mord:yt,mop:yt,mrel:yn,mopen:yt,mclose:yt,mpunct:yt,minner:yt},minner:{mord:yt,mop:yt,mbin:b0,mrel:yn,mopen:yt,mpunct:yt,minner:yt}},Hg={mord:{mop:yt},mop:{mord:yt,mop:yt},mbin:{},mrel:{},mopen:{},mclose:{mop:yt},mpunct:{},minner:{mop:yt}},y4={},Fa={},za={};function ke(e){for(var{type:t,names:r,props:n,handler:u,htmlBuilder:i,mathmlBuilder:a}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:u},s=0;s<r.length;++s)y4[r[s]]=o;t&&(i&&(Fa[t]=i),a&&(za[t]=a))}function N0(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ke({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Ba=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},At=function(t){return t.type==="ordgroup"?t.body:[t]},Tn=K.makeSpan,Vg=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ug=["rightmost","mrel","mclose","mpunct"],jg={display:Oe.DISPLAY,text:Oe.TEXT,script:Oe.SCRIPT,scriptscript:Oe.SCRIPTSCRIPT},$g={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Bt=function(t,r,n,u){u===void 0&&(u=[null,null]);for(var i=[],a=0;a<t.length;a++){var o=tt(t[a],r);if(o instanceof xi){var s=o.children;i.push(...s)}else i.push(o)}if(K.tryCombineChars(i),!n)return i;var l=r;if(t.length===1){var c=t[0];c.type==="sizing"?l=r.havingSize(c.size):c.type==="styling"&&(l=r.havingStyle(jg[c.style]))}var f=Tn([u[0]||"leftmost"],[],r),m=Tn([u[1]||"rightmost"],[],r),p=n==="root";return Af(i,(v,x)=>{var y=x.classes[0],T=v.classes[0];y==="mbin"&&ze.contains(Ug,T)?x.classes[0]="mord":T==="mbin"&&ze.contains(Vg,y)&&(v.classes[0]="mord")},{node:f},m,p),Af(i,(v,x)=>{var y=il(x),T=il(v),D=y&&T?v.hasClass("mtight")?Hg[y][T]:Ng[y][T]:null;if(D)return K.makeGlue(D,l)},{node:f},m,p),i},Af=function e(t,r,n,u,i){u&&t.push(u);for(var a=0;a<t.length;a++){var o=t[a],s=x4(o);if(s){e(s.children,r,n,null,i);continue}var l=!o.hasClass("mspace");if(l){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),a++))}l?n.node=o:i&&o.hasClass("newline")&&(n.node=Tn(["leftmost"])),n.insertAfter=(f=>m=>{t.splice(f+1,0,m),a++})(a)}u&&t.pop()},x4=function(t){return t instanceof xi||t instanceof h4||t instanceof ao&&t.hasClass("enclosing")?t:null},Yg=function e(t,r){var n=x4(t);if(n){var u=n.children;if(u.length){if(r==="right")return e(u[u.length-1],"right");if(r==="left")return e(u[0],"left")}}return t},il=function(t,r){return t?(r&&(t=Yg(t,r)),$g[t.classes[0]]||null):null},si=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Tn(r.concat(n))},tt=function(t,r,n){if(!t)return Tn();if(Fa[t.type]){var u=Fa[t.type](t,r);if(n&&r.size!==n.size){u=Tn(r.sizingClasses(n),[u],r);var i=r.sizeMultiplier/n.sizeMultiplier;u.height*=i,u.depth*=i}return u}else throw new fe("Got group of unknown type: '"+t.type+"'")};function ji(e,t){var r=Tn(["base"],e,t),n=Tn(["strut"]);return n.style.height=ye(r.height+r.depth),r.depth&&(n.style.verticalAlign=ye(-r.depth)),r.children.unshift(n),r}function Cf(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Bt(e,t,"root"),u;n.length===2&&n[1].hasClass("tag")&&(u=n.pop());for(var i=[],a=[],o=0;o<n.length;o++)if(a.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var s=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,a.push(n[o]),n[o].hasClass("nobreak")&&(s=!0);s||(i.push(ji(a,t)),a=[])}else n[o].hasClass("newline")&&(a.pop(),a.length>0&&(i.push(ji(a,t)),a=[]),i.push(n[o]));a.length>0&&i.push(ji(a,t));var l;r?(l=ji(Bt(r,t,!0)),l.classes=["tag"],i.push(l)):u&&i.push(u);var c=Tn(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=ye(c.height+c.depth),c.depth&&(f.style.verticalAlign=ye(-c.depth))}return c}function w4(e){return new xi(e)}class mr{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=u0(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof on&&this.children[n+1]instanceof on){for(var u=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof on;)u+=this.children[++n].toText();t.appendChild(new on(u).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=ze.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+ze.escape(u0(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class on{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return ze.escape(this.toText())}toText(){return this.text}}class Gg{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",ye(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ye(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ce={MathNode:mr,TextNode:on,SpaceNode:Gg,newDocumentFragment:w4},Tr=function(t,r,n){return ht[r][t]&&ht[r][t].replace&&t.charCodeAt(0)!==55349&&!(m4.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=ht[r][t].replace),new ce.TextNode(t)},sc=function(t){return t.length===1?t[0]:new ce.MathNode("mrow",t)},lc=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var u=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(ze.contains(["\\imath","\\jmath"],i))return null;ht[u][i]&&ht[u][i].replace&&(i=ht[u][i].replace);var a=K.fontMap[n].fontName;return ac(i,a,u)?K.fontMap[n].variant:null};function ls(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof on&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof on&&r.text===","}else return!1}var fr=function(t,r,n){if(t.length===1){var u=lt(t[0],r);return n&&u instanceof mr&&u.type==="mo"&&(u.setAttribute("lspace","0em"),u.setAttribute("rspace","0em")),[u]}for(var i=[],a,o=0;o<t.length;o++){var s=lt(t[o],r);if(s instanceof mr&&a instanceof mr){if(s.type==="mtext"&&a.type==="mtext"&&s.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...s.children);continue}else if(s.type==="mn"&&a.type==="mn"){a.children.push(...s.children);continue}else if(ls(s)&&a.type==="mn"){a.children.push(...s.children);continue}else if(s.type==="mn"&&ls(a))s.children=[...a.children,...s.children],i.pop();else if((s.type==="msup"||s.type==="msub")&&s.children.length>=1&&(a.type==="mn"||ls(a))){var l=s.children[0];l instanceof mr&&l.type==="mn"&&(l.children=[...a.children,...l.children],i.pop())}else if(a.type==="mi"&&a.children.length===1){var c=a.children[0];if(c instanceof on&&c.text==="̸"&&(s.type==="mo"||s.type==="mi"||s.type==="mn")){var f=s.children[0];f instanceof on&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(s),a=s}return i},a0=function(t,r,n){return sc(fr(t,r,n))},lt=function(t,r){if(!t)return new ce.MathNode("mrow");if(za[t.type]){var n=za[t.type](t,r);return n}else throw new fe("Got group of unknown type: '"+t.type+"'")};function _f(e,t,r,n,u){var i=fr(e,r),a;i.length===1&&i[0]instanceof mr&&ze.contains(["mrow","mtable"],i[0].type)?a=i[0]:a=new ce.MathNode("mrow",i);var o=new ce.MathNode("annotation",[new ce.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var s=new ce.MathNode("semantics",[a,o]),l=new ce.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=u?"katex":"katex-mathml";return K.makeSpan([c],[l])}var Wg=function(t){return new kn({style:t.displayMode?Oe.DISPLAY:Oe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Kg=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=K.makeSpan(n,[t])}return t},Zg=function(t,r,n){var u=Wg(n),i;if(n.output==="mathml")return _f(t,r,u,n.displayMode,!0);if(n.output==="html"){var a=Cf(t,u);i=K.makeSpan(["katex"],[a])}else{var o=_f(t,r,u,n.displayMode,!1),s=Cf(t,u);i=K.makeSpan(["katex"],[o,s])}return Kg(i,n)},Qg={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Xg=function(t){var r=new ce.MathNode("mo",[new ce.TextNode(Qg[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Jg={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},eb=function(t){return t.type==="ordgroup"?t.body.length:1},tb=function(t,r){function n(){var o=4e5,s=t.label.slice(1);if(ze.contains(["widehat","widecheck","widetilde","utilde"],s)){var l=t,c=eb(l.base),f,m,p;if(c>5)s==="widehat"||s==="widecheck"?(f=420,o=2364,p=.42,m=s+"4"):(f=312,o=2340,p=.34,m="tilde4");else{var v=[1,1,2,2,3,3][c];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][v],f=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],m=s+v):(o=[0,600,1033,2339,2340][v],f=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],m="tilde"+v)}var x=new L0(m),y=new i0([x],{width:"100%",height:ye(p),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:K.makeSvgSpan([],[y],r),minWidth:0,height:p}}else{var T=[],D=Jg[s],[_,w,F]=D,j=F/1e3,z=_.length,V,S;if(z===1){var Y=D[3];V=["hide-tail"],S=[Y]}else if(z===2)V=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else if(z===3)V=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
295
+ `+z+" children.");for(var Z=0;Z<z;Z++){var M=new L0(_[Z]),U=new i0([M],{width:"400em",height:ye(j),viewBox:"0 0 "+o+" "+F,preserveAspectRatio:S[Z]+" slice"}),B=K.makeSvgSpan([V[Z]],[U],r);if(z===1)return{span:B,minWidth:w,height:j};B.style.height=ye(j),T.push(B)}return{span:K.makeSpan(["stretchy"],T,r),minWidth:w,height:j}}}var{span:u,minWidth:i,height:a}=n();return u.height=a,u.style.height=ye(a),i>0&&(u.style.minWidth=ye(i)),u},rb=function(t,r,n,u,i){var a,o=t.height+t.depth+n+u;if(/fbox|color|angl/.test(r)){if(a=K.makeSpan(["stretchy",r],[],i),r==="fbox"){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new gf({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new gf({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new i0(l,{width:"100%",height:ye(o)});a=K.makeSvgSpan([],[c],i)}return a.height=o,a.style.height=ye(o),a},Fn={encloseSpan:rb,mathMLnode:Xg,svgSpan:tb};function je(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function cc(e){var t=lo(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function lo(e){return e&&(e.type==="atom"||_g.hasOwnProperty(e.type))?e:null}var fc=(e,t)=>{var r,n,u;e&&e.type==="supsub"?(n=je(e.base,"accent"),r=n.base,e.base=r,u=Ag(tt(e,t)),e.base=n):(n=je(e,"accent"),r=n.base);var i=tt(r,t.havingCrampedStyle()),a=n.isShifty&&ze.isCharacterBox(r),o=0;if(a){var s=ze.getBaseElem(r),l=tt(s,t.havingCrampedStyle());o=bf(l).skew}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=Fn.svgSpan(n,t),m=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+ye(2*o)+")",marginLeft:ye(2*o)}:void 0}]},t);else{var p,v;n.label==="\\vec"?(p=K.staticSvg("vec",t),v=K.svgData.vec[1]):(p=K.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=bf(p),p.italic=0,v=p.width,c&&(f+=p.depth)),m=K.makeSpan(["accent-body"],[p]);var x=n.label==="\\textcircled";x&&(m.classes.push("accent-full"),f=i.height);var y=o;x||(y-=v/2),m.style.left=ye(y),n.label==="\\textcircled"&&(m.style.top=".2em"),m=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:m}]},t)}var T=K.makeSpan(["mord","accent"],[m],t);return u?(u.children[0]=T,u.height=Math.max(T.height,u.height),u.classes[0]="mord",u):T},k4=(e,t)=>{var r=e.isStretchy?Fn.mathMLnode(e.label):new ce.MathNode("mo",[Tr(e.label,e.mode)]),n=new ce.MathNode("mover",[lt(e.base,t),r]);return n.setAttribute("accent","true"),n},nb=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ke({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=Ba(t[0]),n=!nb.test(e.funcName),u=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:u,base:r}},htmlBuilder:fc,mathmlBuilder:k4});ke({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:fc,mathmlBuilder:k4});ke({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:u}},htmlBuilder:(e,t)=>{var r=tt(e.base,t),n=Fn.svgSpan(e,t),u=e.label==="\\utilde"?.12:0,i=K.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:u},{type:"elem",elem:r}]},t);return K.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Fn.mathMLnode(e.label),n=new ce.MathNode("munder",[lt(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var $i=e=>{var t=new ce.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ke({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:u}=e;return{type:"xArrow",mode:n.mode,label:u,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),u=K.wrapFragment(tt(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";u.classes.push(i+"-arrow-pad");var a;e.below&&(n=t.havingStyle(r.sub()),a=K.wrapFragment(tt(e.below,n,t),t),a.classes.push(i+"-arrow-pad"));var o=Fn.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;(u.depth>.25||e.label==="\\xleftequilibrium")&&(l-=u.depth);var c;if(a){var f=-t.fontMetrics().axisHeight+a.height+.5*o.height+.111;c=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:l},{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:f}]},t)}else c=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:l},{type:"elem",elem:o,shift:s}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),K.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=Fn.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var u=$i(lt(e.body,t));if(e.below){var i=$i(lt(e.below,t));n=new ce.MathNode("munderover",[r,i,u])}else n=new ce.MathNode("mover",[r,u])}else if(e.below){var a=$i(lt(e.below,t));n=new ce.MathNode("munder",[r,a])}else n=$i(),n=new ce.MathNode("mover",[r,n]);return n}});var ub=K.makeSpan;function S4(e,t){var r=Bt(e.body,t,!0);return ub([e.mclass],r,t)}function A4(e,t){var r,n=fr(e.body,t);return e.mclass==="minner"?r=new ce.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new ce.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new ce.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ke({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:At(u),isCharacterBox:ze.isCharacterBox(u)}},htmlBuilder:S4,mathmlBuilder:A4});var co=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ke({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:co(t[0]),body:At(t[1]),isCharacterBox:ze.isCharacterBox(t[1])}}});ke({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,u=t[1],i=t[0],a;n!=="\\stackrel"?a=co(u):a="mrel";var o={type:"op",mode:u.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:At(u)},s={type:"supsub",mode:i.mode,base:o,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:a,body:[s],isCharacterBox:ze.isCharacterBox(s)}},htmlBuilder:S4,mathmlBuilder:A4});ke({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:co(t[0]),body:At(t[0])}},htmlBuilder(e,t){var r=Bt(e.body,t,!0),n=K.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=fr(e.body,t),n=new ce.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var ib={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Df=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ef=e=>e.type==="textord"&&e.text==="@",ab=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function ob(e,t,r){var n=ib[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var u=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},a=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[u,a,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function sb(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new fe("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],u=[n],i=0;i<t.length;i++){for(var a=t[i],o=Df(),s=0;s<a.length;s++)if(!Ef(a[s]))o.body.push(a[s]);else{n.push(o),s+=1;var l=cc(a[s]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(l)>-1))if("<>AV".indexOf(l)>-1)for(var f=0;f<2;f++){for(var m=!0,p=s+1;p<a.length;p++){if(ab(a[p],l)){m=!1,s=p;break}if(Ef(a[p]))throw new fe("Missing a "+l+" character to complete a CD arrow.",a[p]);c[f].body.push(a[p])}if(m)throw new fe("Missing a "+l+" character to complete a CD arrow.",a[s])}else throw new fe('Expected one of "<>AV=|." after @',a[s]);var v=ob(l,c,e),x={type:"styling",body:[v],mode:"math",style:"display"};n.push(x),o=Df()}i%2===0?n.push(o):n.shift(),n=[],u.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var y=new Array(u[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:u,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(u.length+1).fill([])}}ke({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=K.wrapFragment(tt(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ye(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new ce.MathNode("mrow",[lt(e.label,t)]);return r=new ce.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ce.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ke({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=K.wrapFragment(tt(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new ce.MathNode("mrow",[lt(e.fragment,t)])}});ke({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=je(t[0],"ordgroup"),u=n.body,i="",a=0;a<u.length;a++){var o=je(u[a],"textord");i+=o.text}var s=parseInt(i),l;if(isNaN(s))throw new fe("\\@char has non-numeric argument "+i);if(s<0||s>=1114111)throw new fe("\\@char with invalid code point "+i);return s<=65535?l=String.fromCharCode(s):(s-=65536,l=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var C4=(e,t)=>{var r=Bt(e.body,t.withColor(e.color),!1);return K.makeFragment(r)},_4=(e,t)=>{var r=fr(e.body,t.withColor(e.color)),n=new ce.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ke({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=je(t[0],"color-token").color,u=t[1];return{type:"color",mode:r.mode,color:n,body:At(u)}},htmlBuilder:C4,mathmlBuilder:_4});ke({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,u=je(t[0],"color-token").color;r.gullet.macros.set("\\current@color",u);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:u,body:i}},htmlBuilder:C4,mathmlBuilder:_4});ke({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,u=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:u&&je(u,"size").value}},htmlBuilder(e,t){var r=K.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ye(xt(e.size,t)))),r},mathmlBuilder(e,t){var r=new ce.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ye(xt(e.size,t)))),r}});var al={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},D4=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new fe("Expected a control sequence",e);return t},lb=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},E4=(e,t,r,n)=>{var u=e.gullet.macros.get(r.text);u==null&&(r.noexpand=!0,u={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,u,n)};ke({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(al[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=al[n.text]),je(t.parseFunction(),"internal");throw new fe("Invalid token after macro prefix",n)}});ke({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),u=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(u))throw new fe("Expected a control sequence",n);for(var i=0,a,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){a=t.gullet.future(),o[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new fe('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new fe('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new fe("Expected a macro definition");o[i].push(n.text)}var{tokens:s}=t.gullet.consumeArg();return a&&s.unshift(a),(r==="\\edef"||r==="\\xdef")&&(s=t.gullet.expandTokens(s),s.reverse()),t.gullet.macros.set(u,{tokens:s,numArgs:i,delimiters:o},r===al[r]),{type:"internal",mode:t.mode}}});ke({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=D4(t.gullet.popToken());t.gullet.consumeSpaces();var u=lb(t);return E4(t,n,u,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ke({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=D4(t.gullet.popToken()),u=t.gullet.popToken(),i=t.gullet.popToken();return E4(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(u),{type:"internal",mode:t.mode}}});var Lu=function(t,r,n){var u=ht.math[t]&&ht.math[t].replace,i=ac(u||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},dc=function(t,r,n,u){var i=n.havingBaseStyle(r),a=K.makeSpan(u.concat(i.sizingClasses(n)),[t],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},M4=function(t,r,n){var u=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/u.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=ye(i),t.height-=i,t.depth+=i},cb=function(t,r,n,u,i,a){var o=K.makeSymbol(t,"Main-Regular",i,u),s=dc(o,r,u,a);return n&&M4(s,u,r),s},fb=function(t,r,n,u){return K.makeSymbol(t,"Size"+r+"-Regular",n,u)},T4=function(t,r,n,u,i,a){var o=fb(t,r,i,u),s=dc(K.makeSpan(["delimsizing","size"+r],[o],u),Oe.TEXT,u,a);return n&&M4(s,u,Oe.TEXT),s},cs=function(t,r,n){var u;r==="Size1-Regular"?u="delim-size1":u="delim-size4";var i=K.makeSpan(["delimsizinginner",u],[K.makeSpan([],[K.makeSymbol(t,r,n)])]);return{type:"elem",elem:i}},fs=function(t,r,n){var u=Cn["Size4-Regular"][t.charCodeAt(0)]?Cn["Size4-Regular"][t.charCodeAt(0)][4]:Cn["Size1-Regular"][t.charCodeAt(0)][4],i=new L0("inner",vg(t,Math.round(1e3*r))),a=new i0([i],{width:ye(u),height:ye(r),style:"width:"+ye(u),viewBox:"0 0 "+1e3*u+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=K.makeSvgSpan([],[a],n);return o.height=r,o.style.height=ye(r),o.style.width=ye(u),{type:"elem",elem:o}},ol=.008,Yi={type:"kern",size:-1*ol},db=["|","\\lvert","\\rvert","\\vert"],hb=["\\|","\\lVert","\\rVert","\\Vert"],F4=function(t,r,n,u,i,a){var o,s,l,c,f="",m=0;o=l=c=t,s=null;var p="Size1-Regular";t==="\\uparrow"?l=c="⏐":t==="\\Uparrow"?l=c="‖":t==="\\downarrow"?o=l="⏐":t==="\\Downarrow"?o=l="‖":t==="\\updownarrow"?(o="\\uparrow",l="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",l="‖",c="\\Downarrow"):ze.contains(db,t)?(l="∣",f="vert",m=333):ze.contains(hb,t)?(l="∥",f="doublevert",m=556):t==="["||t==="\\lbrack"?(o="⎡",l="⎢",c="⎣",p="Size4-Regular",f="lbrack",m=667):t==="]"||t==="\\rbrack"?(o="⎤",l="⎥",c="⎦",p="Size4-Regular",f="rbrack",m=667):t==="\\lfloor"||t==="⌊"?(l=o="⎢",c="⎣",p="Size4-Regular",f="lfloor",m=667):t==="\\lceil"||t==="⌈"?(o="⎡",l=c="⎢",p="Size4-Regular",f="lceil",m=667):t==="\\rfloor"||t==="⌋"?(l=o="⎥",c="⎦",p="Size4-Regular",f="rfloor",m=667):t==="\\rceil"||t==="⌉"?(o="⎤",l=c="⎥",p="Size4-Regular",f="rceil",m=667):t==="("||t==="\\lparen"?(o="⎛",l="⎜",c="⎝",p="Size4-Regular",f="lparen",m=875):t===")"||t==="\\rparen"?(o="⎞",l="⎟",c="⎠",p="Size4-Regular",f="rparen",m=875):t==="\\{"||t==="\\lbrace"?(o="⎧",s="⎨",c="⎩",l="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",s="⎬",c="⎭",l="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",l="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",l="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",l="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",l="⎪",p="Size4-Regular");var v=Lu(o,p,i),x=v.height+v.depth,y=Lu(l,p,i),T=y.height+y.depth,D=Lu(c,p,i),_=D.height+D.depth,w=0,F=1;if(s!==null){var j=Lu(s,p,i);w=j.height+j.depth,F=2}var z=x+_+w,V=Math.max(0,Math.ceil((r-z)/(F*T))),S=z+V*F*T,Y=u.fontMetrics().axisHeight;n&&(Y*=u.sizeMultiplier);var Z=S/2-Y,M=[];if(f.length>0){var U=S-x-_,B=Math.round(S*1e3),ne=gg(f,Math.round(U*1e3)),L=new L0(f,ne),I=(m/1e3).toFixed(3)+"em",N=(B/1e3).toFixed(3)+"em",ue=new i0([L],{width:I,height:N,viewBox:"0 0 "+m+" "+B}),te=K.makeSvgSpan([],[ue],u);te.height=B/1e3,te.style.width=I,te.style.height=N,M.push({type:"elem",elem:te})}else{if(M.push(cs(c,p,i)),M.push(Yi),s===null){var H=S-x-_+2*ol;M.push(fs(l,H,u))}else{var q=(S-x-_-w)/2+2*ol;M.push(fs(l,q,u)),M.push(Yi),M.push(cs(s,p,i)),M.push(Yi),M.push(fs(l,q,u))}M.push(Yi),M.push(cs(o,p,i))}var he=u.havingBaseStyle(Oe.TEXT),Me=K.makeVList({positionType:"bottom",positionData:Z,children:M},he);return dc(K.makeSpan(["delimsizing","mult"],[Me],he),Oe.TEXT,u,a)},ds=80,hs=.08,ms=function(t,r,n,u,i){var a=pg(t,u,n),o=new L0(t,a),s=new i0([o],{width:"400em",height:ye(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return K.makeSvgSpan(["hide-tail"],[s],i)},mb=function(t,r){var n=r.havingBaseSizing(),u=q4("\\surd",t*n.sizeMultiplier,O4,n),i=n.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s=0,l=0,c=0,f;return u.type==="small"?(c=1e3+1e3*a+ds,t<1?i=1:t<1.4&&(i=.7),s=(1+a+hs)/i,l=(1+a)/i,o=ms("sqrtMain",s,c,a,r),o.style.minWidth="0.853em",f=.833/i):u.type==="large"?(c=(1e3+ds)*Wu[u.size],l=(Wu[u.size]+a)/i,s=(Wu[u.size]+a+hs)/i,o=ms("sqrtSize"+u.size,s,c,a,r),o.style.minWidth="1.02em",f=1/i):(s=t+a+hs,l=t+a,c=Math.floor(1e3*t+a)+ds,o=ms("sqrtTall",s,c,a,r),o.style.minWidth="0.742em",f=1.056),o.height=l,o.style.height=ye(s),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*i}},z4=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],pb=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],B4=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wu=[0,1.2,1.8,2.4,3],vb=function(t,r,n,u,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),ze.contains(z4,t)||ze.contains(B4,t))return T4(t,r,!1,n,u,i);if(ze.contains(pb,t))return F4(t,Wu[r],!1,n,u,i);throw new fe("Illegal delimiter: '"+t+"'")},gb=[{type:"small",style:Oe.SCRIPTSCRIPT},{type:"small",style:Oe.SCRIPT},{type:"small",style:Oe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],bb=[{type:"small",style:Oe.SCRIPTSCRIPT},{type:"small",style:Oe.SCRIPT},{type:"small",style:Oe.TEXT},{type:"stack"}],O4=[{type:"small",style:Oe.SCRIPTSCRIPT},{type:"small",style:Oe.SCRIPT},{type:"small",style:Oe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],yb=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},q4=function(t,r,n,u){for(var i=Math.min(2,3-u.style.size),a=i;a<n.length&&n[a].type!=="stack";a++){var o=Lu(t,yb(n[a]),"math"),s=o.height+o.depth;if(n[a].type==="small"){var l=u.havingBaseStyle(n[a].style);s*=l.sizeMultiplier}if(s>r)return n[a]}return n[n.length-1]},R4=function(t,r,n,u,i,a){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;ze.contains(B4,t)?o=gb:ze.contains(z4,t)?o=O4:o=bb;var s=q4(t,r,o,u);return s.type==="small"?cb(t,s.style,n,u,i,a):s.type==="large"?T4(t,s.size,n,u,i,a):F4(t,r,n,u,i,a)},xb=function(t,r,n,u,i,a){var o=u.fontMetrics().axisHeight*u.sizeMultiplier,s=901,l=5/u.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),f=Math.max(c/500*s,2*c-l);return R4(t,f,!0,u,i,a)},Dn={sqrtImage:mb,sizedDelim:vb,sizeToMaxHeight:Wu,customSizedDelim:R4,leftRightDelim:xb},Mf={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},wb=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function fo(e,t){var r=lo(e);if(r&&ze.contains(wb,r.text))return r;throw r?new fe("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new fe("Invalid delimiter type '"+e.type+"'",e)}ke({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=fo(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Mf[e.funcName].size,mclass:Mf[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?K.makeSpan([e.mclass]):Dn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Tr(e.delim,e.mode));var r=new ce.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ye(Dn.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Tf(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ke({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new fe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:fo(t[0],e).text,color:r}}});ke({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fo(t[0],e),n=e.parser;++n.leftrightDepth;var u=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=je(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:u,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Tf(e);for(var r=Bt(e.body,t,!0,["mopen","mclose"]),n=0,u=0,i=!1,a=0;a<r.length;a++)r[a].isMiddle?i=!0:(n=Math.max(r[a].height,n),u=Math.max(r[a].depth,u));n*=t.sizeMultiplier,u*=t.sizeMultiplier;var o;if(e.left==="."?o=si(t,["mopen"]):o=Dn.leftRightDelim(e.left,n,u,t,e.mode,["mopen"]),r.unshift(o),i)for(var s=1;s<r.length;s++){var l=r[s],c=l.isMiddle;c&&(r[s]=Dn.leftRightDelim(c.delim,n,u,c.options,e.mode,[]))}var f;if(e.right===".")f=si(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;f=Dn.leftRightDelim(e.right,n,u,m,e.mode,["mclose"])}return r.push(f),K.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{Tf(e);var r=fr(e.body,t);if(e.left!=="."){var n=new ce.MathNode("mo",[Tr(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var u=new ce.MathNode("mo",[Tr(e.right,e.mode)]);u.setAttribute("fence","true"),e.rightColor&&u.setAttribute("mathcolor",e.rightColor),r.push(u)}return sc(r)}});ke({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fo(t[0],e);if(!e.parser.leftrightDepth)throw new fe("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=si(t,[]);else{r=Dn.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Tr("|","text"):Tr(e.delim,e.mode),n=new ce.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var hc=(e,t)=>{var r=K.wrapFragment(tt(e.body,t),t),n=e.label.slice(1),u=t.sizeMultiplier,i,a=0,o=ze.isCharacterBox(e.body);if(n==="sout")i=K.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/u,a=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var s=xt({number:.6,unit:"pt"},t),l=xt({number:.35,unit:"ex"},t),c=t.havingBaseSizing();u=u/c.sizeMultiplier;var f=r.height+r.depth+s+l;r.style.paddingLeft=ye(f/2+s);var m=Math.floor(1e3*f*u),p=hg(m),v=new i0([new L0("phase",p)],{width:"400em",height:ye(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});i=K.makeSvgSpan(["hide-tail"],[v],t),i.style.height=ye(f),a=r.depth+s+l}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var x=0,y=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),x=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),y=x):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),x=4*T,y=Math.max(0,.25-r.depth)):(x=o?.2:0,y=x),i=Fn.encloseSpan(r,n,x,y,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=ye(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=ye(T),i.style.borderRightWidth=ye(T)),a=r.depth+y,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var D;if(e.backgroundColor)D=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:a},{type:"elem",elem:r,shift:0}]},t);else{var _=/cancel|phase/.test(n)?["svg-align"]:[];D=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:a,wrapperClasses:_}]},t)}return/cancel/.test(n)&&(D.height=r.height,D.depth=r.depth),/cancel/.test(n)&&!o?K.makeSpan(["mord","cancel-lap"],[D],t):K.makeSpan(["mord"],[D],t)},mc=(e,t)=>{var r=0,n=new ce.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[lt(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+u+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ke({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:u}=e,i=je(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:u,backgroundColor:i,body:a}},htmlBuilder:hc,mathmlBuilder:mc});ke({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:u}=e,i=je(t[0],"color-token").color,a=je(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:u,backgroundColor:a,borderColor:i,body:o}},htmlBuilder:hc,mathmlBuilder:mc});ke({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});ke({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];return{type:"enclose",mode:r.mode,label:n,body:u}},htmlBuilder:hc,mathmlBuilder:mc});ke({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var L4={};function hn(e){for(var{type:t,names:r,props:n,handler:u,htmlBuilder:i,mathmlBuilder:a}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:u},s=0;s<r.length;++s)L4[r[s]]=o;i&&(Fa[t]=i),a&&(za[t]=a)}var P4={};function b(e,t){P4[e]=t}function Ff(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var ho=e=>{var t=e.parser.settings;if(!t.displayMode)throw new fe("{"+e.envName+"} can be used only in display mode.")};function pc(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function s0(e,t,r){var{hskipBeforeAndAfter:n,addJot:u,cols:i,arraystretch:a,colSeparationType:o,autoTag:s,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:m}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new fe("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],x=[v],y=[],T=[],D=s!=null?[]:void 0;function _(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){D&&(e.gullet.macros.get("\\df@tag")?(D.push(e.subparse([new Mr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):D.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(_(),T.push(Ff(e));;){var F=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),F={type:"ordgroup",mode:e.mode,body:F},r&&(F={type:"styling",mode:e.mode,style:r,body:[F]}),v.push(F);var j=e.fetch().text;if(j==="&"){if(f&&v.length===f){if(l||o)throw new fe("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(j==="\\end"){w(),v.length===1&&F.type==="styling"&&F.body[0].body.length===0&&(x.length>1||!c)&&x.pop(),T.length<x.length+1&&T.push([]);break}else if(j==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),y.push(z?z.value:null),w(),T.push(Ff(e)),v=[],x.push(v),_()}else throw new fe("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:u,arraystretch:a,body:x,cols:i,rowGaps:y,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:D,leqno:m}}function vc(e){return e.slice(0,1)==="d"?"display":"text"}var mn=function(t,r){var n,u,i=t.body.length,a=t.hLinesBeforeRow,o=0,s=new Array(i),l=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,m=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(Oe.SCRIPT).sizeMultiplier;m=.2778*(p/r.sizeMultiplier)}var v=t.colSeparationType==="CD"?xt({number:3,unit:"ex"},r):12*f,x=3*f,y=t.arraystretch*v,T=.7*y,D=.3*y,_=0;function w(ge){for(var me=0;me<ge.length;++me)me>0&&(_+=.25),l.push({pos:_,isDashed:ge[me]})}for(w(a[0]),n=0;n<t.body.length;++n){var F=t.body[n],j=T,z=D;o<F.length&&(o=F.length);var V=new Array(F.length);for(u=0;u<F.length;++u){var S=tt(F[u],r);z<S.depth&&(z=S.depth),j<S.height&&(j=S.height),V[u]=S}var Y=t.rowGaps[n],Z=0;Y&&(Z=xt(Y,r),Z>0&&(Z+=D,z<Z&&(z=Z),Z=0)),t.addJot&&(z+=x),V.height=j,V.depth=z,_+=j,V.pos=_,_+=z+Z,s[n]=V,w(a[n+1])}var M=_/2+r.fontMetrics().axisHeight,U=t.cols||[],B=[],ne,L,I=[];if(t.tags&&t.tags.some(ge=>ge))for(n=0;n<i;++n){var N=s[n],ue=N.pos-M,te=t.tags[n],H=void 0;te===!0?H=K.makeSpan(["eqn-num"],[],r):te===!1?H=K.makeSpan([],[],r):H=K.makeSpan([],Bt(te,r,!0),r),H.depth=N.depth,H.height=N.height,I.push({type:"elem",elem:H,shift:ue})}for(u=0,L=0;u<o||L<U.length;++u,++L){for(var q=U[L]||{},he=!0;q.type==="separator";){if(he||(ne=K.makeSpan(["arraycolsep"],[]),ne.style.width=ye(r.fontMetrics().doubleRuleSep),B.push(ne)),q.separator==="|"||q.separator===":"){var Me=q.separator==="|"?"solid":"dashed",Fe=K.makeSpan(["vertical-separator"],[],r);Fe.style.height=ye(_),Fe.style.borderRightWidth=ye(c),Fe.style.borderRightStyle=Me,Fe.style.margin="0 "+ye(-c/2);var oe=_-M;oe&&(Fe.style.verticalAlign=ye(-oe)),B.push(Fe)}else throw new fe("Invalid separator type: "+q.separator);L++,q=U[L]||{},he=!1}if(!(u>=o)){var ve=void 0;(u>0||t.hskipBeforeAndAfter)&&(ve=ze.deflt(q.pregap,m),ve!==0&&(ne=K.makeSpan(["arraycolsep"],[]),ne.style.width=ye(ve),B.push(ne)));var Ue=[];for(n=0;n<i;++n){var de=s[n],Ke=de[u];if(Ke){var ut=de.pos-M;Ke.depth=de.depth,Ke.height=de.height,Ue.push({type:"elem",elem:Ke,shift:ut})}}Ue=K.makeVList({positionType:"individualShift",children:Ue},r),Ue=K.makeSpan(["col-align-"+(q.align||"c")],[Ue]),B.push(Ue),(u<o-1||t.hskipBeforeAndAfter)&&(ve=ze.deflt(q.postgap,m),ve!==0&&(ne=K.makeSpan(["arraycolsep"],[]),ne.style.width=ye(ve),B.push(ne)))}}if(s=K.makeSpan(["mtable"],B),l.length>0){for(var A=K.makeLineSpan("hline",r,c),O=K.makeLineSpan("hdashline",r,c),Q=[{type:"elem",elem:s,shift:0}];l.length>0;){var ie=l.pop(),re=ie.pos-M;ie.isDashed?Q.push({type:"elem",elem:O,shift:re}):Q.push({type:"elem",elem:A,shift:re})}s=K.makeVList({positionType:"individualShift",children:Q},r)}if(I.length===0)return K.makeSpan(["mord"],[s],r);var ee=K.makeVList({positionType:"individualShift",children:I},r);return ee=K.makeSpan(["tag"],[ee],r),K.makeFragment([s,ee])},kb={c:"center ",l:"left ",r:"right "},pn=function(t,r){for(var n=[],u=new ce.MathNode("mtd",[],["mtr-glue"]),i=new ce.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<t.body.length;a++){for(var o=t.body[a],s=[],l=0;l<o.length;l++)s.push(new ce.MathNode("mtd",[lt(o[l],r)]));t.tags&&t.tags[a]&&(s.unshift(u),s.push(u),t.leqno?s.unshift(i):s.push(i)),n.push(new ce.MathNode("mtr",s))}var c=new ce.MathNode("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",ye(f));var m="",p="";if(t.cols&&t.cols.length>0){var v=t.cols,x="",y=!1,T=0,D=v.length;v[0].type==="separator"&&(m+="top ",T=1),v[v.length-1].type==="separator"&&(m+="bottom ",D-=1);for(var _=T;_<D;_++)v[_].type==="align"?(p+=kb[v[_].align],y&&(x+="none "),y=!0):v[_].type==="separator"&&y&&(x+=v[_].separator==="|"?"solid ":"dashed ",y=!1);c.setAttribute("columnalign",p.trim()),/[sd]/.test(x)&&c.setAttribute("columnlines",x.trim())}if(t.colSeparationType==="align"){for(var w=t.cols||[],F="",j=1;j<w.length;j++)F+=j%2?"0em ":"1em ";c.setAttribute("columnspacing",F.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var z="",V=t.hLinesBeforeRow;m+=V[0].length>0?"left ":"",m+=V[V.length-1].length>0?"right ":"";for(var S=1;S<V.length-1;S++)z+=V[S].length===0?"none ":V[S][0]?"dashed ":"solid ";return/[sd]/.test(z)&&c.setAttribute("rowlines",z.trim()),m!==""&&(c=new ce.MathNode("menclose",[c]),c.setAttribute("notation",m.trim())),t.arraystretch&&t.arraystretch<1&&(c=new ce.MathNode("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},I4=function(t,r){t.envName.indexOf("ed")===-1&&ho(t);var n=[],u=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",a=s0(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:pc(t.envName),emptySingleRow:!0,colSeparationType:u,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),o,s=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var m=je(r[0].body[f],"textord");c+=m.text}o=Number(c),s=o*2}var p=!s;a.body.forEach(function(T){for(var D=1;D<T.length;D+=2){var _=je(T[D],"styling"),w=je(_.body[0],"ordgroup");w.body.unshift(l)}if(p)s<T.length&&(s=T.length);else{var F=T.length/2;if(o<F)throw new fe("Too many math in a row: "+("expected "+o+", but got "+F),T[0])}});for(var v=0;v<s;++v){var x="r",y=0;v%2===1?x="l":v>0&&p&&(y=1),n[v]={type:"align",align:x,pregap:y,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};hn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=lo(t[0]),n=r?[t[0]]:je(t[0],"ordgroup").body,u=n.map(function(a){var o=cc(a),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new fe("Unknown column alignment: "+s,a)}),i={cols:u,hskipBeforeAndAfter:!0,maxNumCols:u.length};return s0(e.parser,i,vc(e.envName))},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var u=e.parser;if(u.consumeSpaces(),u.fetch().text==="["){if(u.consume(),u.consumeSpaces(),r=u.fetch().text,"lcr".indexOf(r)===-1)throw new fe("Expected l or c or r",u.nextToken);u.consume(),u.consumeSpaces(),u.expect("]"),u.consume(),n.cols=[{type:"align",align:r}]}}var i=s0(e.parser,n,vc(e.envName)),a=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(a).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=s0(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=lo(t[0]),n=r?[t[0]]:je(t[0],"ordgroup").body,u=n.map(function(a){var o=cc(a),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new fe("Unknown column alignment: "+s,a)});if(u.length>1)throw new fe("{subarray} can contain only one column");var i={cols:u,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=s0(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new fe("{subarray} can contain only one column");return i},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=s0(e.parser,t,vc(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:I4,htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){ze.contains(["gather","gather*"],e.envName)&&ho(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:pc(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return s0(e.parser,t,"display")},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:I4,htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){ho(e);var t={autoTag:pc(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return s0(e.parser,t,"display")},htmlBuilder:mn,mathmlBuilder:pn});hn({type:"array",names:["CD"],props:{numArgs:0},handler(e){return ho(e),sb(e.parser)},htmlBuilder:mn,mathmlBuilder:pn});b("\\nonumber","\\gdef\\@eqnsw{0}");b("\\notag","\\nonumber");ke({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new fe(e.funcName+" valid only within array environment")}});var zf=L4;ke({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];if(u.type!=="ordgroup")throw new fe("Invalid environment name",u);for(var i="",a=0;a<u.body.length;++a)i+=je(u.body[a],"textord").text;if(n==="\\begin"){if(!zf.hasOwnProperty(i))throw new fe("No such environment: "+i,u);var o=zf[i],{args:s,optArgs:l}=r.parseArguments("\\begin{"+i+"}",o),c={mode:r.mode,envName:i,parser:r},f=o.handler(c,s,l);r.expect("\\end",!1);var m=r.nextToken,p=je(r.parseFunction(),"environment");if(p.name!==i)throw new fe("Mismatch: \\begin{"+i+"} matched by \\end{"+p.name+"}",m);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:u}}});var N4=(e,t)=>{var r=e.font,n=t.withFont(r);return tt(e.body,n)},H4=(e,t)=>{var r=e.font,n=t.withFont(r);return lt(e.body,n)},Bf={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ke({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=Ba(t[0]),i=n;return i in Bf&&(i=Bf[i]),{type:"font",mode:r.mode,font:i.slice(1),body:u}},htmlBuilder:N4,mathmlBuilder:H4});ke({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],u=ze.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:co(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:u}}});ke({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:u}=e,{mode:i}=r,a=r.parseExpression(!0,u),o="math"+n.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:N4,mathmlBuilder:H4});var V4=(e,t)=>{var r=t;return e==="display"?r=r.id>=Oe.SCRIPT.id?r.text():Oe.DISPLAY:e==="text"&&r.size===Oe.DISPLAY.size?r=Oe.TEXT:e==="script"?r=Oe.SCRIPT:e==="scriptscript"&&(r=Oe.SCRIPTSCRIPT),r},gc=(e,t)=>{var r=V4(e.size,t.style),n=r.fracNum(),u=r.fracDen(),i;i=t.havingStyle(n);var a=tt(e.numer,i,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,s=3.5/t.fontMetrics().ptPerEm;a.height=a.height<o?o:a.height,a.depth=a.depth<s?s:a.depth}i=t.havingStyle(u);var l=tt(e.denom,i,t),c,f,m;e.hasBarLine?(e.barSize?(f=xt(e.barSize,t),c=K.makeLineSpan("frac-line",t,f)):c=K.makeLineSpan("frac-line",t),f=c.height,m=c.height):(c=null,f=0,m=t.fontMetrics().defaultRuleThickness);var p,v,x;r.size===Oe.DISPLAY.size||e.size==="display"?(p=t.fontMetrics().num1,f>0?v=3*m:v=7*m,x=t.fontMetrics().denom1):(f>0?(p=t.fontMetrics().num2,v=m):(p=t.fontMetrics().num3,v=3*m),x=t.fontMetrics().denom2);var y;if(c){var D=t.fontMetrics().axisHeight;p-a.depth-(D+.5*f)<v&&(p+=v-(p-a.depth-(D+.5*f))),D-.5*f-(l.height-x)<v&&(x+=v-(D-.5*f-(l.height-x)));var _=-(D-.5*f);y=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:x},{type:"elem",elem:c,shift:_},{type:"elem",elem:a,shift:-p}]},t)}else{var T=p-a.depth-(l.height-x);T<v&&(p+=.5*(v-T),x+=.5*(v-T)),y=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:x},{type:"elem",elem:a,shift:-p}]},t)}i=t.havingStyle(r),y.height*=i.sizeMultiplier/t.sizeMultiplier,y.depth*=i.sizeMultiplier/t.sizeMultiplier;var w;r.size===Oe.DISPLAY.size?w=t.fontMetrics().delim1:r.size===Oe.SCRIPTSCRIPT.size?w=t.havingStyle(Oe.SCRIPT).fontMetrics().delim2:w=t.fontMetrics().delim2;var F,j;return e.leftDelim==null?F=si(t,["mopen"]):F=Dn.customSizedDelim(e.leftDelim,w,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?j=K.makeSpan([]):e.rightDelim==null?j=si(t,["mclose"]):j=Dn.customSizedDelim(e.rightDelim,w,!0,t.havingStyle(r),e.mode,["mclose"]),K.makeSpan(["mord"].concat(i.sizingClasses(t)),[F,K.makeSpan(["mfrac"],[y]),j],t)},bc=(e,t)=>{var r=new ce.MathNode("mfrac",[lt(e.numer,t),lt(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=xt(e.barSize,t);r.setAttribute("linethickness",ye(n))}var u=V4(e.size,t.style);if(u.size!==t.style.size){r=new ce.MathNode("mstyle",[r]);var i=u.size===Oe.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var o=new ce.MathNode("mo",[new ce.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),a.push(o)}if(a.push(r),e.rightDelim!=null){var s=new ce.MathNode("mo",[new ce.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return sc(a)}return r};ke({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0],i=t[1],a,o=null,s=null,l="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,o="(",s=")";break;case"\\\\bracefrac":a=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":a=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":l="display";break;case"\\tfrac":case"\\tbinom":l="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:u,denom:i,hasBarLine:a,leftDelim:o,rightDelim:s,size:l,barSize:null}},htmlBuilder:gc,mathmlBuilder:bc});ke({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:u,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ke({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,u;switch(r){case"\\over":u="\\frac";break;case"\\choose":u="\\binom";break;case"\\atop":u="\\\\atopfrac";break;case"\\brace":u="\\\\bracefrac";break;case"\\brack":u="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:u,token:n}}});var Of=["display","text","script","scriptscript"],qf=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ke({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],u=t[5],i=Ba(t[0]),a=i.type==="atom"&&i.family==="open"?qf(i.text):null,o=Ba(t[1]),s=o.type==="atom"&&o.family==="close"?qf(o.text):null,l=je(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var m="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var v=je(p.body[0],"textord");m=Of[Number(v.text)]}}else p=je(p,"textord"),m=Of[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:u,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:s,size:m}},htmlBuilder:gc,mathmlBuilder:bc});ke({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:u}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:je(t[0],"size").value,token:u}}});ke({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0],i=Qv(je(t[1],"infix").size),a=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:u,denom:a,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:gc,mathmlBuilder:bc});var U4=(e,t)=>{var r=t.style,n,u;e.type==="supsub"?(n=e.sup?tt(e.sup,t.havingStyle(r.sup()),t):tt(e.sub,t.havingStyle(r.sub()),t),u=je(e.base,"horizBrace")):u=je(e,"horizBrace");var i=tt(u.base,t.havingBaseStyle(Oe.DISPLAY)),a=Fn.svgSpan(u,t),o;if(u.isOver?(o=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=K.makeVList({positionType:"bottom",positionData:i.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var s=K.makeSpan(["mord",u.isOver?"mover":"munder"],[o],t);u.isOver?o=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=K.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return K.makeSpan(["mord",u.isOver?"mover":"munder"],[o],t)},Sb=(e,t)=>{var r=Fn.mathMLnode(e.label);return new ce.MathNode(e.isOver?"mover":"munder",[lt(e.base,t),r])};ke({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:U4,mathmlBuilder:Sb});ke({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],u=je(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:u})?{type:"href",mode:r.mode,href:u,body:At(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Bt(e.body,t,!1);return K.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=a0(e.body,t);return r instanceof mr||(r=new mr("mrow",[r])),r.setAttribute("href",e.href),r}});ke({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=je(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var u=[],i=0;i<n.length;i++){var a=n[i];a==="~"&&(a="\\textasciitilde"),u.push({type:"textord",mode:"text",text:a})}var o={type:"text",mode:r.mode,font:"\\texttt",body:u};return{type:"href",mode:r.mode,href:n,body:At(o)}}});ke({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:At(t[0])}},htmlBuilder(e,t){var r=Bt(e.body,t,!1);return K.makeFragment(r)},mathmlBuilder(e,t){return new ce.MathNode("mrow",fr(e.body,t))}});ke({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:u}=e,i=je(t[0],"raw").string,a=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(n){case"\\htmlClass":s.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":s.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":s.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var l=i.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length!==2)throw new fe("Error parsing key-value for \\htmlData");s["data-"+f[0].trim()]=f[1].trim()}o={command:"\\htmlData",attributes:s};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:s,body:At(a)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Bt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var u=K.makeSpan(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&u.setAttribute(i,e.attributes[i]);return u},mathmlBuilder:(e,t)=>a0(e.body,t)});ke({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:At(t[0]),mathml:At(t[1])}},htmlBuilder:(e,t)=>{var r=Bt(e.html,t,!1);return K.makeFragment(r)},mathmlBuilder:(e,t)=>a0(e.mathml,t)});var ps=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new fe("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!l4(n))throw new fe("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ke({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,u={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},o="";if(r[0])for(var s=je(r[0],"raw").string,l=s.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length===2){var m=f[1].trim();switch(f[0].trim()){case"alt":o=m;break;case"width":u=ps(m);break;case"height":i=ps(m);break;case"totalheight":a=ps(m);break;default:throw new fe("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=je(t[0],"url").url;return o===""&&(o=p,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:o,width:u,height:i,totalheight:a,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=xt(e.height,t),n=0;e.totalheight.number>0&&(n=xt(e.totalheight,t)-r);var u=0;e.width.number>0&&(u=xt(e.width,t));var i={height:ye(r+n)};u>0&&(i.width=ye(u)),n>0&&(i.verticalAlign=ye(-n));var a=new kg(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=xt(e.height,t),u=0;if(e.totalheight.number>0&&(u=xt(e.totalheight,t)-n,r.setAttribute("valign",ye(-u))),r.setAttribute("height",ye(n+u)),e.width.number>0){var i=xt(e.width,t);r.setAttribute("width",ye(i))}return r.setAttribute("src",e.src),r}});ke({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,u=je(t[0],"size");if(r.settings.strict){var i=n[1]==="m",a=u.value.unit==="mu";i?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+u.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:u.value}},htmlBuilder(e,t){return K.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=xt(e.dimension,t);return new ce.SpaceNode(r)}});ke({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:u}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=K.makeSpan([],[tt(e.body,t)]),r=K.makeSpan(["inner"],[r],t)):r=K.makeSpan(["inner"],[tt(e.body,t)]);var n=K.makeSpan(["fix"],[]),u=K.makeSpan([e.alignment],[r,n],t),i=K.makeSpan(["strut"]);return i.style.height=ye(u.height+u.depth),u.depth&&(i.style.verticalAlign=ye(-u.depth)),u.children.unshift(i),u=K.makeSpan(["thinbox"],[u],t),K.makeSpan(["mord","vbox"],[u],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[lt(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});ke({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,u=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",a=n.parseExpression(!1,i);return n.expect(i),n.switchMode(u),{type:"styling",mode:n.mode,style:"text",body:a}}});ke({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new fe("Mismatched "+e.funcName)}});var Rf=(e,t)=>{switch(t.style.size){case Oe.DISPLAY.size:return e.display;case Oe.TEXT.size:return e.text;case Oe.SCRIPT.size:return e.script;case Oe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ke({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:At(t[0]),text:At(t[1]),script:At(t[2]),scriptscript:At(t[3])}},htmlBuilder:(e,t)=>{var r=Rf(e,t),n=Bt(r,t,!1);return K.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Rf(e,t);return a0(r,t)}});var j4=(e,t,r,n,u,i,a)=>{e=K.makeSpan([],[e]);var o=r&&ze.isCharacterBox(r),s,l;if(t){var c=tt(t,n.havingStyle(u.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=tt(r,n.havingStyle(u.sub()),n);s={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var m;if(l&&s){var p=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;m=K.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ye(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ye(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var v=e.height-a;m=K.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ye(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else if(l){var x=e.depth+a;m=K.makeVList({positionType:"bottom",positionData:x,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ye(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var y=[m];if(s&&i!==0&&!o){var T=K.makeSpan(["mspace"],[],n);T.style.marginRight=ye(i),y.unshift(T)}return K.makeSpan(["mop","op-limits"],y,n)},$4=["\\smallint"],wu=(e,t)=>{var r,n,u=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=je(e.base,"op"),u=!0):i=je(e,"op");var a=t.style,o=!1;a.size===Oe.DISPLAY.size&&i.symbol&&!ze.contains($4,i.name)&&(o=!0);var s;if(i.symbol){var l=o?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),s=K.makeSymbol(i.name,l,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var f=s.italic,m=K.staticSvg(c+"Size"+(o?"2":"1"),t);s=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:m,shift:o?.08:0}]},t),i.name="\\"+c,s.classes.unshift("mop"),s.italic=f}}else if(i.body){var p=Bt(i.body,t,!0);p.length===1&&p[0]instanceof Nr?(s=p[0],s.classes[0]="mop"):s=K.makeSpan(["mop"],p,t)}else{for(var v=[],x=1;x<i.name.length;x++)v.push(K.mathsym(i.name[x],i.mode,t));s=K.makeSpan(["mop"],v,t)}var y=0,T=0;return(s instanceof Nr||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(y=(s.height-s.depth)/2-t.fontMetrics().axisHeight,T=s.italic),u?j4(s,r,n,t,a,T,y):(y&&(s.style.position="relative",s.style.top=ye(y)),s)},wi=(e,t)=>{var r;if(e.symbol)r=new mr("mo",[Tr(e.name,e.mode)]),ze.contains($4,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new mr("mo",fr(e.body,t));else{r=new mr("mi",[new on(e.name.slice(1))]);var n=new mr("mo",[Tr("⁡","text")]);e.parentIsSupSub?r=new mr("mrow",[r,n]):r=w4([r,n])}return r},Ab={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ke({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=n;return u.length===1&&(u=Ab[u]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:wu,mathmlBuilder:wi});ke({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:At(n)}},htmlBuilder:wu,mathmlBuilder:wi});var Cb={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ke({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:wu,mathmlBuilder:wi});ke({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:wu,mathmlBuilder:wi});ke({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Cb[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:wu,mathmlBuilder:wi});var Y4=(e,t)=>{var r,n,u=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=je(e.base,"operatorname"),u=!0):i=je(e,"operatorname");var a;if(i.body.length>0){for(var o=i.body.map(f=>{var m=f.text;return typeof m=="string"?{type:"textord",mode:f.mode,text:m}:f}),s=Bt(o,t.withFont("mathrm"),!0),l=0;l<s.length;l++){var c=s[l];c instanceof Nr&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=K.makeSpan(["mop"],s,t)}else a=K.makeSpan(["mop"],[],t);return u?j4(a,r,n,t,t.style,0,0):a},_b=(e,t)=>{for(var r=fr(e.body,t.withFont("mathrm")),n=!0,u=0;u<r.length;u++){var i=r[u];if(!(i instanceof ce.SpaceNode))if(i instanceof ce.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=i.children[0];i.children.length===1&&a instanceof ce.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new ce.TextNode(o)]}var s=new ce.MathNode("mi",r);s.setAttribute("mathvariant","normal");var l=new ce.MathNode("mo",[Tr("⁡","text")]);return e.parentIsSupSub?new ce.MathNode("mrow",[s,l]):ce.newDocumentFragment([s,l])};ke({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,u=t[0];return{type:"operatorname",mode:r.mode,body:At(u),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Y4,mathmlBuilder:_b});b("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");N0({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?K.makeFragment(Bt(e.body,t,!1)):K.makeSpan(["mord"],Bt(e.body,t,!0),t)},mathmlBuilder(e,t){return a0(e.body,t,!0)}});ke({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=tt(e.body,t.havingCrampedStyle()),n=K.makeLineSpan("overline-line",t),u=t.fontMetrics().defaultRuleThickness,i=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*u},{type:"elem",elem:n},{type:"kern",size:u}]},t);return K.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("mover",[lt(e.body,t),r]);return n.setAttribute("accent","true"),n}});ke({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:At(n)}},htmlBuilder:(e,t)=>{var r=Bt(e.body,t.withPhantom(),!1);return K.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=fr(e.body,t);return new ce.MathNode("mphantom",r)}});ke({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=K.makeSpan([],[tt(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),K.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=fr(At(e.body),t),n=new ce.MathNode("mphantom",r),u=new ce.MathNode("mpadded",[n]);return u.setAttribute("height","0px"),u.setAttribute("depth","0px"),u}});ke({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=K.makeSpan(["inner"],[tt(e.body,t.withPhantom())]),n=K.makeSpan(["fix"],[]);return K.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=fr(At(e.body),t),n=new ce.MathNode("mphantom",r),u=new ce.MathNode("mpadded",[n]);return u.setAttribute("width","0px"),u}});ke({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=je(t[0],"size").value,u=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:u}},htmlBuilder(e,t){var r=tt(e.body,t),n=xt(e.dy,t);return K.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new ce.MathNode("mpadded",[lt(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ke({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ke({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,u=r[0],i=je(t[0],"size"),a=je(t[1],"size");return{type:"rule",mode:n.mode,shift:u&&je(u,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=K.makeSpan(["mord","rule"],[],t),n=xt(e.width,t),u=xt(e.height,t),i=e.shift?xt(e.shift,t):0;return r.style.borderRightWidth=ye(n),r.style.borderTopWidth=ye(u),r.style.bottom=ye(i),r.width=n,r.height=u+i,r.depth=-i,r.maxFontSize=u*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=xt(e.width,t),n=xt(e.height,t),u=e.shift?xt(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new ce.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",ye(r)),a.setAttribute("height",ye(n));var o=new ce.MathNode("mpadded",[a]);return u>=0?o.setAttribute("height",ye(u)):(o.setAttribute("height",ye(u)),o.setAttribute("depth",ye(-u))),o.setAttribute("voffset",ye(u)),o}});function G4(e,t,r){for(var n=Bt(e,t,!1),u=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var a=n[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[a+1]==="reset-size"+t.size&&(n[i].classes[a+1]="reset-size"+r.size),n[i].height*=u,n[i].depth*=u}return K.makeFragment(n)}var Lf=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Db=(e,t)=>{var r=t.havingSize(e.size);return G4(e.body,r,t)};ke({type:"sizing",names:Lf,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:u}=e,i=u.parseExpression(!1,r);return{type:"sizing",mode:u.mode,size:Lf.indexOf(n)+1,body:i}},htmlBuilder:Db,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=fr(e.body,r),u=new ce.MathNode("mstyle",n);return u.setAttribute("mathsize",ye(r.sizeMultiplier)),u}});ke({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,u=!1,i=!1,a=r[0]&&je(r[0],"ordgroup");if(a)for(var o="",s=0;s<a.body.length;++s){var l=a.body[s];if(o=l.text,o==="t")u=!0;else if(o==="b")i=!0;else{u=!1,i=!1;break}}else u=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:u,smashDepth:i}},htmlBuilder:(e,t)=>{var r=K.makeSpan([],[tt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var u=0;u<r.children.length;u++)r.children[u].depth=0;var i=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return K.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[lt(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ke({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,u=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:u}},htmlBuilder(e,t){var r=tt(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=K.wrapFragment(r,t);var n=t.fontMetrics(),u=n.defaultRuleThickness,i=u;t.style.id<Oe.TEXT.id&&(i=t.fontMetrics().xHeight);var a=u+i/4,o=r.height+r.depth+a+u,{span:s,ruleWidth:l,advanceWidth:c}=Dn.sqrtImage(o,t),f=s.height-l;f>r.height+r.depth+a&&(a=(a+f-r.height-r.depth)/2);var m=s.height-r.height-a-l;r.style.paddingLeft=ye(c);var p=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var v=t.havingStyle(Oe.SCRIPTSCRIPT),x=tt(e.index,v,t),y=.6*(p.height-p.depth),T=K.makeVList({positionType:"shift",positionData:-y,children:[{type:"elem",elem:x}]},t),D=K.makeSpan(["root"],[T]);return K.makeSpan(["mord","sqrt"],[D,p],t)}else return K.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new ce.MathNode("mroot",[lt(r,t),lt(n,t)]):new ce.MathNode("msqrt",[lt(r,t)])}});var Pf={display:Oe.DISPLAY,text:Oe.TEXT,script:Oe.SCRIPT,scriptscript:Oe.SCRIPTSCRIPT};ke({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:u}=e,i=u.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:u.mode,style:a,body:i}},htmlBuilder(e,t){var r=Pf[e.style],n=t.havingStyle(r).withFont("");return G4(e.body,n,t)},mathmlBuilder(e,t){var r=Pf[e.style],n=t.havingStyle(r),u=fr(e.body,n),i=new ce.MathNode("mstyle",u),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=a[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var Eb=function(t,r){var n=t.base;if(n)if(n.type==="op"){var u=n.limits&&(r.style.size===Oe.DISPLAY.size||n.alwaysHandleSupSub);return u?wu:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===Oe.DISPLAY.size||n.limits);return i?Y4:null}else{if(n.type==="accent")return ze.isCharacterBox(n.base)?fc:null;if(n.type==="horizBrace"){var a=!t.sub;return a===n.isOver?U4:null}else return null}else return null};N0({type:"supsub",htmlBuilder(e,t){var r=Eb(e,t);if(r)return r(e,t);var{base:n,sup:u,sub:i}=e,a=tt(n,t),o,s,l=t.fontMetrics(),c=0,f=0,m=n&&ze.isCharacterBox(n);if(u){var p=t.havingStyle(t.style.sup());o=tt(u,p,t),m||(c=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(i){var v=t.havingStyle(t.style.sub());s=tt(i,v,t),m||(f=a.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var x;t.style===Oe.DISPLAY?x=l.sup1:t.style.cramped?x=l.sup3:x=l.sup2;var y=t.sizeMultiplier,T=ye(.5/l.ptPerEm/y),D=null;if(s){var _=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(a instanceof Nr||_)&&(D=ye(-a.italic))}var w;if(o&&s){c=Math.max(c,x,o.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var F=l.defaultRuleThickness,j=4*F;if(c-o.depth-(s.height-f)<j){f=j-(c-o.depth)+s.height;var z=.8*l.xHeight-(c-o.depth);z>0&&(c+=z,f-=z)}var V=[{type:"elem",elem:s,shift:f,marginRight:T,marginLeft:D},{type:"elem",elem:o,shift:-c,marginRight:T}];w=K.makeVList({positionType:"individualShift",children:V},t)}else if(s){f=Math.max(f,l.sub1,s.height-.8*l.xHeight);var S=[{type:"elem",elem:s,marginLeft:D,marginRight:T}];w=K.makeVList({positionType:"shift",positionData:f,children:S},t)}else if(o)c=Math.max(c,x,o.depth+.25*l.xHeight),w=K.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:T}]},t);else throw new Error("supsub must have either sup or sub.");var Y=il(a,"right")||"mord";return K.makeSpan([Y],[a,K.makeSpan(["msupsub"],[w])],t)},mathmlBuilder(e,t){var r=!1,n,u;e.base&&e.base.type==="horizBrace"&&(u=!!e.sup,u===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[lt(e.base,t)];e.sub&&i.push(lt(e.sub,t)),e.sup&&i.push(lt(e.sup,t));var a;if(r)a=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===Oe.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===Oe.DISPLAY||l.limits)?a="munderover":a="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===Oe.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===Oe.DISPLAY)?a="munder":a="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===Oe.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===Oe.DISPLAY)?a="mover":a="msup"}return new ce.MathNode(a,i)}});N0({type:"atom",htmlBuilder(e,t){return K.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[Tr(e.text,e.mode)]);if(e.family==="bin"){var n=lc(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var W4={mi:"italic",mn:"normal",mtext:"normal"};N0({type:"mathord",htmlBuilder(e,t){return K.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new ce.MathNode("mi",[Tr(e.text,e.mode,t)]),n=lc(e,t)||"italic";return n!==W4[r.type]&&r.setAttribute("mathvariant",n),r}});N0({type:"textord",htmlBuilder(e,t){return K.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=Tr(e.text,e.mode,t),n=lc(e,t)||"normal",u;return e.mode==="text"?u=new ce.MathNode("mtext",[r]):/[0-9]/.test(e.text)?u=new ce.MathNode("mn",[r]):e.text==="\\prime"?u=new ce.MathNode("mo",[r]):u=new ce.MathNode("mi",[r]),n!==W4[u.type]&&u.setAttribute("mathvariant",n),u}});var vs={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},gs={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};N0({type:"spacing",htmlBuilder(e,t){if(gs.hasOwnProperty(e.text)){var r=gs[e.text].className||"";if(e.mode==="text"){var n=K.makeOrd(e,t,"textord");return n.classes.push(r),n}else return K.makeSpan(["mspace",r],[K.mathsym(e.text,e.mode,t)],t)}else{if(vs.hasOwnProperty(e.text))return K.makeSpan(["mspace",vs[e.text]],[],t);throw new fe('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(gs.hasOwnProperty(e.text))r=new ce.MathNode("mtext",[new ce.TextNode(" ")]);else{if(vs.hasOwnProperty(e.text))return new ce.MathNode("mspace");throw new fe('Unknown type of space "'+e.text+'"')}return r}});var If=()=>{var e=new ce.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};N0({type:"tag",mathmlBuilder(e,t){var r=new ce.MathNode("mtable",[new ce.MathNode("mtr",[If(),new ce.MathNode("mtd",[a0(e.body,t)]),If(),new ce.MathNode("mtd",[a0(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Nf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Hf={"\\textbf":"textbf","\\textmd":"textmd"},Mb={"\\textit":"textit","\\textup":"textup"},Vf=(e,t)=>{var r=e.font;if(r){if(Nf[r])return t.withTextFontFamily(Nf[r]);if(Hf[r])return t.withTextFontWeight(Hf[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Mb[r])};ke({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,u=t[0];return{type:"text",mode:r.mode,body:At(u),font:n}},htmlBuilder(e,t){var r=Vf(e,t),n=Bt(e.body,r,!0);return K.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Vf(e,t);return a0(e.body,r)}});ke({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tt(e.body,t),n=K.makeLineSpan("underline-line",t),u=t.fontMetrics().defaultRuleThickness,i=K.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:u},{type:"elem",elem:n},{type:"kern",size:3*u},{type:"elem",elem:r}]},t);return K.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("munder",[lt(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ke({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tt(e.body,t),n=t.fontMetrics().axisHeight,u=.5*(r.height-n-(r.depth+n));return K.makeVList({positionType:"shift",positionData:u,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new ce.MathNode("mpadded",[lt(e.body,t)],["vcenter"])}});ke({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new fe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Uf(e),n=[],u=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];a==="~"&&(a="\\textasciitilde"),n.push(K.makeSymbol(a,"Typewriter-Regular",e.mode,u,["mord","texttt"]))}return K.makeSpan(["mord","text"].concat(u.sizingClasses(t)),K.tryCombineChars(n),u)},mathmlBuilder(e,t){var r=new ce.TextNode(Uf(e)),n=new ce.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Uf=e=>e.body.replace(/ /g,e.star?"␣":" "),Wn=y4,K4=`[ \r
296
+ ]`,Tb="\\\\[a-zA-Z@]+",Fb="\\\\[^\uD800-\uDFFF]",zb="("+Tb+")"+K4+"*",Bb=`\\\\(
293
297
  |[ \r ]+
294
- ?)[ \r ]*`,ll="[̀-ͯ]",Fb=new RegExp(ll+"+$"),zb="("+Q4+"+)|"+(Tb+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ll+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ll+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Mb)+("|"+Eb+")");class jf{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(zb,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Mr("EOF",new hr(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new fe("Unexpected character: '"+t[r]+"'",new Mr(t[r],new hr(this,r,r+1)));var u=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[u]===14){var i=t.indexOf(`
295
- `,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new Mr(u,new hr(this,r,this.tokenRegex.lastIndex))}}class Bb{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new fe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var u=0;u<this.undefStack.length;u++)delete this.undefStack[u][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Ob=N4;b("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});b("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});b("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});b("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});b("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});b("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");b("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var $f={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};b("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new fe("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=$f[t.text],n==null||n>=r)throw new fe("Invalid base-"+r+" digit "+t.text);for(var u;(u=$f[e.future().text])!=null&&u<r;)n*=r,n+=u,e.popToken()}return"\\@char{"+n+"}"});var kc=(e,t,r,n)=>{var u=e.consumeArg().tokens;if(u.length!==1)throw new fe("\\newcommand's first argument must be a macro name");var i=u[0].text,a=e.isDefined(i);if(a&&!t)throw new fe("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new fe("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(u=e.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var s="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new fe("Invalid number of arguments: "+s);o=parseInt(s),u=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:u,numArgs:o}),""};b("\\newcommand",e=>kc(e,!1,!0,!1));b("\\renewcommand",e=>kc(e,!0,!1,!1));b("\\providecommand",e=>kc(e,!0,!0,!0));b("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});b("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});b("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Kn[r],ht.math[r],ht.text[r]),""});b("\\bgroup","{");b("\\egroup","}");b("~","\\nobreakspace");b("\\lq","`");b("\\rq","'");b("\\aa","\\r a");b("\\AA","\\r A");b("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");b("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");b("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");b("ℬ","\\mathscr{B}");b("ℰ","\\mathscr{E}");b("ℱ","\\mathscr{F}");b("ℋ","\\mathscr{H}");b("ℐ","\\mathscr{I}");b("ℒ","\\mathscr{L}");b("ℳ","\\mathscr{M}");b("ℛ","\\mathscr{R}");b("ℭ","\\mathfrak{C}");b("ℌ","\\mathfrak{H}");b("ℨ","\\mathfrak{Z}");b("\\Bbbk","\\Bbb{k}");b("·","\\cdotp");b("\\llap","\\mathllap{\\textrm{#1}}");b("\\rlap","\\mathrlap{\\textrm{#1}}");b("\\clap","\\mathclap{\\textrm{#1}}");b("\\mathstrut","\\vphantom{(}");b("\\underbar","\\underline{\\text{#1}}");b("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');b("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");b("\\ne","\\neq");b("≠","\\neq");b("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");b("∉","\\notin");b("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");b("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");b("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");b("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");b("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");b("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");b("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");b("⟂","\\perp");b("‼","\\mathclose{!\\mkern-0.8mu!}");b("∌","\\notni");b("⌜","\\ulcorner");b("⌝","\\urcorner");b("⌞","\\llcorner");b("⌟","\\lrcorner");b("©","\\copyright");b("®","\\textregistered");b("️","\\textregistered");b("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');b("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');b("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');b("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');b("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");b("⋮","\\vdots");b("\\varGamma","\\mathit{\\Gamma}");b("\\varDelta","\\mathit{\\Delta}");b("\\varTheta","\\mathit{\\Theta}");b("\\varLambda","\\mathit{\\Lambda}");b("\\varXi","\\mathit{\\Xi}");b("\\varPi","\\mathit{\\Pi}");b("\\varSigma","\\mathit{\\Sigma}");b("\\varUpsilon","\\mathit{\\Upsilon}");b("\\varPhi","\\mathit{\\Phi}");b("\\varPsi","\\mathit{\\Psi}");b("\\varOmega","\\mathit{\\Omega}");b("\\substack","\\begin{subarray}{c}#1\\end{subarray}");b("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");b("\\boxed","\\fbox{$\\displaystyle{#1}$}");b("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");b("\\implies","\\DOTSB\\;\\Longrightarrow\\;");b("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");b("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");b("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Yf={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};b("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Yf?t=Yf[r]:(r.slice(0,4)==="\\not"||r in ht.math&&ze.contains(["bin","rel"],ht.math[r].group))&&(t="\\dotsb"),t});var Sc={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};b("\\dotso",function(e){var t=e.future().text;return t in Sc?"\\ldots\\,":"\\ldots"});b("\\dotsc",function(e){var t=e.future().text;return t in Sc&&t!==","?"\\ldots\\,":"\\ldots"});b("\\cdots",function(e){var t=e.future().text;return t in Sc?"\\@cdots\\,":"\\@cdots"});b("\\dotsb","\\cdots");b("\\dotsm","\\cdots");b("\\dotsi","\\!\\cdots");b("\\dotsx","\\ldots\\,");b("\\DOTSI","\\relax");b("\\DOTSB","\\relax");b("\\DOTSX","\\relax");b("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");b("\\,","\\tmspace+{3mu}{.1667em}");b("\\thinspace","\\,");b("\\>","\\mskip{4mu}");b("\\:","\\tmspace+{4mu}{.2222em}");b("\\medspace","\\:");b("\\;","\\tmspace+{5mu}{.2777em}");b("\\thickspace","\\;");b("\\!","\\tmspace-{3mu}{.1667em}");b("\\negthinspace","\\!");b("\\negmedspace","\\tmspace-{4mu}{.2222em}");b("\\negthickspace","\\tmspace-{5mu}{.277em}");b("\\enspace","\\kern.5em ");b("\\enskip","\\hskip.5em\\relax");b("\\quad","\\hskip1em\\relax");b("\\qquad","\\hskip2em\\relax");b("\\tag","\\@ifstar\\tag@literal\\tag@paren");b("\\tag@paren","\\tag@literal{({#1})}");b("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new fe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});b("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");b("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");b("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");b("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");b("\\newline","\\\\\\relax");b("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var X4=ye(on["Main-Regular"][84][1]-.7*on["Main-Regular"][65][1]);b("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+X4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");b("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+X4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");b("\\hspace","\\@ifstar\\@hspacer\\@hspace");b("\\@hspace","\\hskip #1\\relax");b("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");b("\\ordinarycolon",":");b("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");b("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');b("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');b("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');b("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');b("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');b("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');b("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');b("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');b("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');b("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');b("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');b("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');b("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');b("∷","\\dblcolon");b("∹","\\eqcolon");b("≔","\\coloneqq");b("≕","\\eqqcolon");b("⩴","\\Coloneqq");b("\\ratio","\\vcentcolon");b("\\coloncolon","\\dblcolon");b("\\colonequals","\\coloneqq");b("\\coloncolonequals","\\Coloneqq");b("\\equalscolon","\\eqqcolon");b("\\equalscoloncolon","\\Eqqcolon");b("\\colonminus","\\coloneq");b("\\coloncolonminus","\\Coloneq");b("\\minuscolon","\\eqcolon");b("\\minuscoloncolon","\\Eqcolon");b("\\coloncolonapprox","\\Colonapprox");b("\\coloncolonsim","\\Colonsim");b("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");b("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");b("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");b("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");b("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");b("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");b("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");b("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");b("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");b("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");b("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");b("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");b("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");b("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");b("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");b("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");b("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");b("\\nleqq","\\html@mathml{\\@nleqq}{≰}");b("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");b("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");b("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");b("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");b("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");b("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");b("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");b("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");b("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");b("\\imath","\\html@mathml{\\@imath}{ı}");b("\\jmath","\\html@mathml{\\@jmath}{ȷ}");b("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");b("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");b("⟦","\\llbracket");b("⟧","\\rrbracket");b("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");b("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");b("⦃","\\lBrace");b("⦄","\\rBrace");b("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");b("⦵","\\minuso");b("\\darr","\\downarrow");b("\\dArr","\\Downarrow");b("\\Darr","\\Downarrow");b("\\lang","\\langle");b("\\rang","\\rangle");b("\\uarr","\\uparrow");b("\\uArr","\\Uparrow");b("\\Uarr","\\Uparrow");b("\\N","\\mathbb{N}");b("\\R","\\mathbb{R}");b("\\Z","\\mathbb{Z}");b("\\alef","\\aleph");b("\\alefsym","\\aleph");b("\\Alpha","\\mathrm{A}");b("\\Beta","\\mathrm{B}");b("\\bull","\\bullet");b("\\Chi","\\mathrm{X}");b("\\clubs","\\clubsuit");b("\\cnums","\\mathbb{C}");b("\\Complex","\\mathbb{C}");b("\\Dagger","\\ddagger");b("\\diamonds","\\diamondsuit");b("\\empty","\\emptyset");b("\\Epsilon","\\mathrm{E}");b("\\Eta","\\mathrm{H}");b("\\exist","\\exists");b("\\harr","\\leftrightarrow");b("\\hArr","\\Leftrightarrow");b("\\Harr","\\Leftrightarrow");b("\\hearts","\\heartsuit");b("\\image","\\Im");b("\\infin","\\infty");b("\\Iota","\\mathrm{I}");b("\\isin","\\in");b("\\Kappa","\\mathrm{K}");b("\\larr","\\leftarrow");b("\\lArr","\\Leftarrow");b("\\Larr","\\Leftarrow");b("\\lrarr","\\leftrightarrow");b("\\lrArr","\\Leftrightarrow");b("\\Lrarr","\\Leftrightarrow");b("\\Mu","\\mathrm{M}");b("\\natnums","\\mathbb{N}");b("\\Nu","\\mathrm{N}");b("\\Omicron","\\mathrm{O}");b("\\plusmn","\\pm");b("\\rarr","\\rightarrow");b("\\rArr","\\Rightarrow");b("\\Rarr","\\Rightarrow");b("\\real","\\Re");b("\\reals","\\mathbb{R}");b("\\Reals","\\mathbb{R}");b("\\Rho","\\mathrm{P}");b("\\sdot","\\cdot");b("\\sect","\\S");b("\\spades","\\spadesuit");b("\\sub","\\subset");b("\\sube","\\subseteq");b("\\supe","\\supseteq");b("\\Tau","\\mathrm{T}");b("\\thetasym","\\vartheta");b("\\weierp","\\wp");b("\\Zeta","\\mathrm{Z}");b("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");b("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");b("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");b("\\bra","\\mathinner{\\langle{#1}|}");b("\\ket","\\mathinner{|{#1}\\rangle}");b("\\braket","\\mathinner{\\langle{#1}\\rangle}");b("\\Bra","\\left\\langle#1\\right|");b("\\Ket","\\left|#1\\right\\rangle");var J4=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,u=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var s=f=>m=>{e&&(m.macros.set("|",a),u.length&&m.macros.set("\\|",o));var p=f;if(!f&&u.length){var v=m.future();v.text==="|"&&(m.popToken(),p=!0)}return{tokens:p?u:n,numArgs:0}};t.macros.set("|",s(!1)),u.length&&t.macros.set("\\|",s(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};b("\\bra@ket",J4(!1));b("\\bra@set",J4(!0));b("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");b("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");b("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");b("\\angln","{\\angl n}");b("\\blue","\\textcolor{##6495ed}{#1}");b("\\orange","\\textcolor{##ffa500}{#1}");b("\\pink","\\textcolor{##ff00af}{#1}");b("\\red","\\textcolor{##df0030}{#1}");b("\\green","\\textcolor{##28ae7b}{#1}");b("\\gray","\\textcolor{gray}{#1}");b("\\purple","\\textcolor{##9d38bd}{#1}");b("\\blueA","\\textcolor{##ccfaff}{#1}");b("\\blueB","\\textcolor{##80f6ff}{#1}");b("\\blueC","\\textcolor{##63d9ea}{#1}");b("\\blueD","\\textcolor{##11accd}{#1}");b("\\blueE","\\textcolor{##0c7f99}{#1}");b("\\tealA","\\textcolor{##94fff5}{#1}");b("\\tealB","\\textcolor{##26edd5}{#1}");b("\\tealC","\\textcolor{##01d1c1}{#1}");b("\\tealD","\\textcolor{##01a995}{#1}");b("\\tealE","\\textcolor{##208170}{#1}");b("\\greenA","\\textcolor{##b6ffb0}{#1}");b("\\greenB","\\textcolor{##8af281}{#1}");b("\\greenC","\\textcolor{##74cf70}{#1}");b("\\greenD","\\textcolor{##1fab54}{#1}");b("\\greenE","\\textcolor{##0d923f}{#1}");b("\\goldA","\\textcolor{##ffd0a9}{#1}");b("\\goldB","\\textcolor{##ffbb71}{#1}");b("\\goldC","\\textcolor{##ff9c39}{#1}");b("\\goldD","\\textcolor{##e07d10}{#1}");b("\\goldE","\\textcolor{##a75a05}{#1}");b("\\redA","\\textcolor{##fca9a9}{#1}");b("\\redB","\\textcolor{##ff8482}{#1}");b("\\redC","\\textcolor{##f9685d}{#1}");b("\\redD","\\textcolor{##e84d39}{#1}");b("\\redE","\\textcolor{##bc2612}{#1}");b("\\maroonA","\\textcolor{##ffbde0}{#1}");b("\\maroonB","\\textcolor{##ff92c6}{#1}");b("\\maroonC","\\textcolor{##ed5fa6}{#1}");b("\\maroonD","\\textcolor{##ca337c}{#1}");b("\\maroonE","\\textcolor{##9e034e}{#1}");b("\\purpleA","\\textcolor{##ddd7ff}{#1}");b("\\purpleB","\\textcolor{##c6b9fc}{#1}");b("\\purpleC","\\textcolor{##aa87ff}{#1}");b("\\purpleD","\\textcolor{##7854ab}{#1}");b("\\purpleE","\\textcolor{##543b78}{#1}");b("\\mintA","\\textcolor{##f5f9e8}{#1}");b("\\mintB","\\textcolor{##edf2df}{#1}");b("\\mintC","\\textcolor{##e0e5cc}{#1}");b("\\grayA","\\textcolor{##f6f7f7}{#1}");b("\\grayB","\\textcolor{##f0f1f2}{#1}");b("\\grayC","\\textcolor{##e3e5e6}{#1}");b("\\grayD","\\textcolor{##d6d8da}{#1}");b("\\grayE","\\textcolor{##babec2}{#1}");b("\\grayF","\\textcolor{##888d93}{#1}");b("\\grayG","\\textcolor{##626569}{#1}");b("\\grayH","\\textcolor{##3b3e40}{#1}");b("\\grayI","\\textcolor{##21242c}{#1}");b("\\kaBlue","\\textcolor{##314453}{#1}");b("\\kaGreen","\\textcolor{##71B307}{#1}");var em={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Rb{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new Bb(Ob,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new jf(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,u;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:u,end:n}=this.consumeArg(["]"])}else({tokens:u,start:r,end:n}=this.consumeArg());return this.pushToken(new Mr("EOF",n.loc)),this.pushTokens(u),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var u=this.future(),i,a=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++a;else if(i.text==="}"){if(--a,a===-1)throw new fe("Extra }",i)}else if(i.text==="EOF")throw new fe("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",i);if(t&&n)if((a===0||a===1&&t[o]==="{")&&i.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(a!==0||n);return u.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:u,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new fe("The length of delimiters doesn't match the number of args!");for(var n=r[0],u=0;u<n.length;u++){var i=this.popToken();if(n[u]!==i.text)throw new fe("Use of the macro doesn't match its definition",i)}}for(var a=[],o=0;o<t;o++)a.push(this.consumeArg(r&&r[o+1]).tokens);return a}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new fe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,u=r.noexpand?null:this._getExpansion(n);if(u==null||t&&u.unexpandable){if(t&&u==null&&n[0]==="\\"&&!this.isDefined(n))throw new fe("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=u.tokens,a=this.consumeArgs(u.numArgs,u.delimiters);if(u.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var s=i[o];if(s.text==="#"){if(o===0)throw new fe("Incomplete placeholder at end of macro body",s);if(s=i[--o],s.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(s.text))i.splice(o,2,...a[+s.text-1]);else throw new fe("Not a valid argument number",s)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Mr(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var u=this.stack.pop();u.treatAsRelax&&(u.noexpand=!1,u.treatAsRelax=!1),r.push(u)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var u=typeof r=="function"?r(this):r;if(typeof u=="string"){var i=0;if(u.indexOf("#")!==-1)for(var a=u.replace(/##/g,"");a.indexOf("#"+(i+1))!==-1;)++i;for(var o=new jf(u,this.settings),s=[],l=o.lex();l.text!=="EOF";)s.push(l),l=o.lex();s.reverse();var c={tokens:s,numArgs:i};return c}return u}isDefined(t){return this.macros.has(t)||Kn.hasOwnProperty(t)||ht.math.hasOwnProperty(t)||ht.text.hasOwnProperty(t)||em.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Kn.hasOwnProperty(t)&&!Kn[t].primitive}}var Gf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Wi=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),gs={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Wf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class mo{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Rb(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new fe("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Mr("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var u=this.fetch();if(mo.endOfExpression.indexOf(u.text)!==-1||r&&u.text===r||t&&Kn[u.text]&&Kn[u.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,u=0;u<t.length;u++)if(t[u].type==="infix"){if(r!==-1)throw new fe("only one infix operator per group",t[u].token);r=u,n=t[u].replaceWith}if(r!==-1&&n){var i,a,o=t.slice(0,r),s=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?i=o[0]:i={type:"ordgroup",mode:this.mode,body:o},s.length===1&&s[0].type==="ordgroup"?a=s[0]:a={type:"ordgroup",mode:this.mode,body:s};var l;return n==="\\\\abovefrac"?l=this.callFunction(n,[i,t[r],a],[]):l=this.callFunction(n,[i,a],[]),[l]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var u;do{var i;u=this.parseGroup(t)}while(((i=u)==null?void 0:i.type)==="internal");if(!u)throw new fe("Expected group after '"+n+"'",r);return u}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var u={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[u]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if(r?.type==="internal"||this.mode==="text")return r;for(var n,u;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var a=i.text==="\\limits";r.limits=a,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new fe("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new fe("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(u)throw new fe("Double subscript",i);u=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new fe("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();this.fetch().text==="'";)s.push(o),this.consume();this.fetch().text==="^"&&s.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:s}}else if(Wi[i.text]){var l=Gf.test(i.text),c=[];for(c.push(new Mr(Wi[i.text])),this.consume();;){var f=this.fetch().text;if(!Wi[f]||Gf.test(f)!==l)break;c.unshift(new Mr(Wi[f])),this.consume()}var m=this.subparse(c);l?u={type:"ordgroup",mode:"math",body:m}:n={type:"ordgroup",mode:"math",body:m}}else break}return n||u?{type:"supsub",mode:this.mode,base:r,sup:n,sub:u}:r}parseFunction(t,r){var n=this.fetch(),u=n.text,i=Kn[u];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new fe("Got function '"+u+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new fe("Can't use function '"+u+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new fe("Can't use function '"+u+"' in math mode",n);var{args:a,optArgs:o}=this.parseArguments(u,i);return this.callFunction(u,a,o,n,t)}callFunction(t,r,n,u,i){var a={funcName:t,parser:this,token:u,breakOnTokenText:i},o=Kn[t];if(o&&o.handler)return o.handler(a,r,n);throw new fe("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var u=[],i=[],a=0;a<n;a++){var o=r.argTypes&&r.argTypes[a],s=a<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&a===1&&i[0]==null)&&(o="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",o,s);if(s)i.push(l);else if(l!=null)u.push(l);else throw new fe("Null argument, please report this as a bug")}return{args:u,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var u=this.parseArgumentGroup(n,"text");return u!=null?{type:"styling",mode:u.mode,body:[u],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new fe("A primitive argument cannot be optional");var a=this.parseGroup(t);if(a==null)throw new fe("Expected group as "+t,this.fetch());return a}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new fe("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var u="",i;(i=this.fetch()).text!=="EOF";)u+=i.text,this.consume();return this.consume(),n.text=u,n}parseRegexGroup(t,r){for(var n=this.fetch(),u=n,i="",a;(a=this.fetch()).text!=="EOF"&&t.test(i+a.text);)u=a,i+=u.text,this.consume();if(i==="")throw new fe("Invalid "+r+": '"+n.text+"'",n);return n.range(u,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new fe("Invalid color: '"+r.text+"'",r);var u=n[0];return/^[0-9a-f]{6}$/i.test(u)&&(u="#"+u),{type:"color-token",mode:this.mode,color:u}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var u=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!u)throw new fe("Invalid size: '"+r.text+"'",r);var i={number:+(u[1]+u[2]),unit:u[3]};if(!c4(i))throw new fe("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var u=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(u),a}parseGroup(t,r){var n=this.fetch(),u=n.text,i;if(u==="{"||u==="\\begingroup"){this.consume();var a=u==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:hr.range(n,s),body:o,semisimple:u==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&u[0]==="\\"&&!em.hasOwnProperty(u)){if(this.settings.throwOnError)throw new fe("Undefined control sequence: "+u,n);i=this.formatUnsupportedCmd(u),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var u=t[n],i=u.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:hr.range(u,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:hr.range(u,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:hr.range(u,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),u=n.charAt(0)==="*";if(u&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new fe(`\\verb assertion failed --
296
- please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:u}}Wf.hasOwnProperty(r[0])&&!ht[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Wf[r[0]]+r.slice(1));var i=Fb.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var a;if(ht[this.mode][r]){this.settings.strict&&this.mode==="math"&&ul.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=ht[this.mode][r].group,s=hr.range(t),l;if(Sg.hasOwnProperty(o)){var c=o;l={type:"atom",mode:this.mode,family:c,loc:s,text:r}}else l={type:o,mode:this.mode,loc:s,text:r};a=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(l4(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),a={type:"textord",mode:"text",loc:hr.range(t),text:r};else return null;if(this.consume(),i)for(var f=0;f<i[0].length;f++){var m=i[0][f];if(!gs[m])throw new fe("Unknown accent ' "+m+"'",t);var p=gs[m][this.mode]||gs[m].text;if(!p)throw new fe("Accent "+m+" unsupported in "+this.mode+" mode",t);a={type:"accent",mode:this.mode,loc:hr.range(t),label:p,isStretchy:!1,isShifty:!0,base:a}}return a}}mo.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Ac=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new mo(t,r);delete n.gullet.macros.current["\\df@tag"];var u=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new fe("\\tag works only in display equations");u=[{type:"tag",mode:"text",body:u,tag:n.subparse([new Mr("\\df@tag")])}]}return u},tm=function(t,r,n){r.textContent="";var u=Cc(t,n).toNode();r.appendChild(u)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),tm=function(){throw new fe("KaTeX doesn't work in quirks mode.")});var qb=function(t,r){var n=Cc(t,r).toMarkup();return n},Lb=function(t,r){var n=new ac(r);return Ac(t,n)},rm=function(t,r,n){if(n.throwOnError||!(t instanceof fe))throw t;var u=K.makeSpan(["katex-error"],[new Tr(r)]);return u.setAttribute("title",t.toString()),u.setAttribute("style","color:"+n.errorColor),u},Cc=function(t,r){var n=new ac(r);try{var u=Ac(t,n);return Yg(u,t,n)}catch(i){return rm(i,t,n)}},Pb=function(t,r){var n=new ac(r);try{var u=Ac(t,n);return Gg(u,t,n)}catch(i){return rm(i,t,n)}},Ib="0.16.22",Nb={Span:wi,Anchor:lc,SymbolNode:Tr,SvgNode:Tn,PathNode:a0,LineNode:nl},Kf={version:Ib,render:tm,renderToString:qb,ParseError:fe,SETTINGS_SCHEMA:aa,__parse:Lb,__renderToDomTree:Cc,__renderToHTMLTree:Pb,__setFontMetrics:pg,__defineSymbol:d,__defineFunction:ke,__defineMacro:b,__domTree:Nb},Hb=function(t,r,n){for(var u=n,i=0,a=t.length;u<r.length;){var o=r[u];if(i<=0&&r.slice(u,u+a)===t)return u;o==="\\"?u++:o==="{"?i++:o==="}"&&i--,u++}return-1},Vb=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},Ub=/^\\begin{/,jb=function(t,r){for(var n,u=[],i=new RegExp("("+r.map(l=>Vb(l.left)).join("|")+")");n=t.search(i),n!==-1;){n>0&&(u.push({type:"text",data:t.slice(0,n)}),t=t.slice(n));var a=r.findIndex(l=>t.startsWith(l.left));if(n=Hb(r[a].right,t,r[a].left.length),n===-1)break;var o=t.slice(0,n+r[a].right.length),s=Ub.test(o)?o:t.slice(r[a].left.length,n);u.push({type:"math",data:s,rawData:o,display:r[a].display}),t=t.slice(n+r[a].right.length)}return t!==""&&u.push({type:"text",data:t}),u},$b=function(t,r){var n=jb(t,r.delimiters);if(n.length===1&&n[0].type==="text")return null;for(var u=document.createDocumentFragment(),i=0;i<n.length;i++)if(n[i].type==="text")u.appendChild(document.createTextNode(n[i].data));else{var a=document.createElement("span"),o=n[i].data;r.displayMode=n[i].display;try{r.preProcess&&(o=r.preProcess(o)),Kf.render(o,a,r)}catch(s){if(!(s instanceof Kf.ParseError))throw s;r.errorCallback("KaTeX auto-render: Failed to parse `"+n[i].data+"` with ",s),u.appendChild(document.createTextNode(n[i].rawData));continue}u.appendChild(a)}return u},Yb=function e(t,r){for(var n=0;n<t.childNodes.length;n++){var u=t.childNodes[n];if(u.nodeType===3){for(var i=u.textContent,a=u.nextSibling,o=0;a&&a.nodeType===Node.TEXT_NODE;)i+=a.textContent,a=a.nextSibling,o++;var s=$b(i,r);if(s){for(var l=0;l<o;l++)u.nextSibling.remove();n+=s.childNodes.length-1,t.replaceChild(s,u)}else n+=o}else u.nodeType===1&&function(){var c=" "+u.className+" ",f=r.ignoredTags.indexOf(u.nodeName.toLowerCase())===-1&&r.ignoredClasses.every(m=>c.indexOf(" "+m+" ")===-1);f&&e(u,r)}()}},Gb=function(t,r){if(!t)throw new Error("No element provided to render");var n={};for(var u in r)r.hasOwnProperty(u)&&(n[u]=r[u]);n.delimiters=n.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],n.ignoredTags=n.ignoredTags||["script","noscript","style","textarea","pre","code","option"],n.ignoredClasses=n.ignoredClasses||[],n.errorCallback=n.errorCallback||console.error,n.macros=n.macros||{},Yb(t,n)};const Wb={class:"t-flex t-flex-col t-bg-white t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"}},Kb=["innerHTML"],Zb={key:0,class:"t-flex t-justify-end"},Qb=Hr({__name:"TextContentTypeMessage",props:{message:{type:Object,required:!0}},setup(e){const t=e,r=new br({html:!0,linkify:!0});r.renderer.rules.paragraph_open=()=>'<p class="t-leading-[22px] t-mb-4">',r.renderer.rules.bullet_list_open=()=>'<ul class="">',r.renderer.rules.list_item_open=()=>'<li class="t-mb-4 t-ml-5 t-list-disc">',r.renderer.rules.link_open=(a,o)=>`<a class="t-text-[#165DFF] t-cursor-pointer t-font-normal" href="${a[o].attrGet("href")||""}">`,r.renderer.rules.heading_open=(a,o)=>{const s=a[o].tag;return s==="h3"?'<h3 class="t-font-semibold t-text-base t-mb-4">':`<${s}>`};const n=ic();function u(a){N7(a).then(()=>{n.notify({message:"复制成功!",type:"positive",iconColor:"green",iconSize:"16px",classes:"copy-notify",timeout:2e3})}).catch(()=>{n.notify({message:"复制失败!",type:"negative",iconColor:"red",iconSize:"16px",classes:"copy-notify",timeout:2e3})})}const i=xe(null);return Ne(()=>t.message.content,async()=>{await pt(),i.value&&Gb(i.value,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})},{immediate:!0}),(a,o)=>(Ie(),Ge("div",Wb,[le("div",{ref_key:"contentRef",ref:i,innerHTML:rt(r).render(e.message.content),class:"t-text-sm t-font-normal t-text-[#222]"},null,8,Kb),["completed","failed"].includes(e.message.state)?(Ie(),Ge("div",Zb,[(Ie(),Ge("svg",{class:"t-cursor-pointer",onClick:o[0]||(o[0]=s=>u(e.message.content)),xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#999999"},o[1]||(o[1]=[le("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"},null,-1)])))])):Ir("",!0)]))}}),Xb=""+new URL("study-plan-card-CWiVjiA6.png",import.meta.url).href,Jb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAAA9CAMAAAApvJHbAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAG2UExURUdwTPP3//H1//H3//P3//T0//L2//L2//H0//L2//L1//H1//L1/+/v//H1//L1//L2/83a7dDd7vL1/9Pf8M7b7R9Zz+Lr+eTt+tHe7y5n2NTi8s/c7SBaz9bj8yVf0yxm18nX7Spj1eTs+tfj9CJd0uHq+Orx/c3Z7MvY7WeT6d3n98/c7xxVzUd42ubw/OXu+yFb0MvZ8bfN9BpSynee7DFq2m6d9HKh9aC569Lg8trl9Ep73H2p+MTU8oCr+b/O6c7Y6idh1Onw+2yb9M3b78jW6h5XzXqn+Ofu+tnk89vm9ili1WCL5HGf9XSj9nel+ISu+mWK2hNGwEl512uQ4N/p+Hum9VR91tPe79Th9xZMxHmV2MPS6B1QxFmC2miV7oKg34iy/Ak4tRhPynGU4Xua3dHd8M7c863J96a+7K7B5g8/uTZhyURvz+/0/pGt5szY6ZW7/M3d92mZ9NDg+MHW+Nnl+cna932i7LHF6kt31EZz0ipWxSVTxTVu25Wz7rLN+Yel44u1/b3S9qrC8MPT7bbG4CRd0SNbz4On7Yqw9TJm0nCO17jJ5XiZ4sbX9D1oy9aFdVgAAAAQdFJOUwAg32BAMH+fYI9QcN8Q7++wPyxpAAADcElEQVR42u3X61vSYBzG8VV20E5uOrbps5AghAxFo0wwRAtIsTItNBQVUywqMjU1D3lISTr3H3f/diV6Vc4netOLvi9897m23T7bpQI6dOz4n1daAomOlRdXqQnm46dPlRddiVBWXnwnhRN/oY//17+r4uf4tXdqpNWofrfWqVpOvba6ehVVXa2iahA6P8WpLwLvSDCj7o4BTn27YA3X3d2BrPz6F2q1XuDWsK2t96l6K0nCvLrids35145zqLraP7ANSTVy627rRiQSsblFmS3pBkUjZrpit5G87nvzZmXlOfJZdJ2srpvoF7WdnV5VtSuK0xkPLS4uPkWZpXGfx0LpuokGbvCqirOuLhYIOOhx/f5KFF7OLi8t0XpVFkvvvrq2oaC7gKFhH2pSMumWmSRpWspjom80eKHjhqZrG1qTpNC7UBLruZs+HaDVvdrA0EPP+oaHaUBf1PLAVNuhY7EuBzRd+qGhH/UNjvt8Hk/UYqa9XmVufX39CeUvYCm18vxbNptdXu4w1Q3qwvTbsXtt12/1XGupRBJplvyctImMMS0VNb22+qr/TvPN2dnR0dGMtnNpWi3ixpGThjzmz22fn1lY+BoM5oKXaDLS9NzP+gaHMRyO3P660+ul0bAZ/bYIT04CM9Lj41jNYq5V5dXc3Obm5d1yeN6p7MBIL/XRkp8w0zO02r027Har5y66dicns+S7ZOSlKMtsIwptstoCKBaHwnpotjkkstDTz6FcLmgL9h6glctbW1uZTKZlp0UccWM1zOaLNm6b3jmNFnBgM026FBYR7heazhpOmp63HqTn5xMJ/8zjx+EmKsxYOA1N51TPb1u/7K9VNTH9Y7IeLEb1R0SWxo3TpfN568egmZ7D5IXZaLfmkIu19H6aSKfTqVRqA3h/rSTW3r9GVwqtRUQ5vpeY6XgsgFdTw2JNbpsNn1T6ojr5NL5KsXlHdcI/+WMzW1MYmytc2u6MJ6bHPhhnDfVTH2wyr47XbY7RZpibNkOzWE3m1HWxmSt4tS/u6X2SXwcC1ZocdrltkUIukVcHAni16RvMZJFyuVz4yfi0AksYGnwnWbJz6RuyvxKULHDBV1ZwaNTJXhZqd7W3485luevF/79T/x1dKpT8hT4iCIeL14cE4ejZ4v8lEsCLu/qZI4TJl53440oIfgcbZ6Z4VLm9SAAAAABJRU5ErkJggg==",ir=J5("global",{state:()=>({apiBaseUrl:"",token:"",deviceType:"",variables:{},messageList:[],mode:null,isAutoScrollBottom:!0,shortcutList:[],feedbackVisible:!1,studyPlanDialogVisible:!1,newsDialogVisible:!1,feedbackId:"",selectedMessage:null,messageMap:new Map,chatTimeoutTimer:null}),actions:{openNewsDialog(e){this.selectedMessage=e,this.newsDialogVisible=!0},openStudyPlanDialog(){this.studyPlanDialogVisible=!0}},getters:{getChatMetadata:e=>e.variables?.chatMetadata,getDomainId:e=>e.variables?.chatMetadata?.domainId}}),e9=["src"],t9={class:"t-flex t-flex-col t-space-y-1"},r9={class:"t-font-medium t-text-[#222]"},n9={class:"t-font-normal t-text-[#999]"},u9={class:"t-line-clamp-2 t-font-medium t-text-[#222] t-mb-2"},i9={class:"t-flex t-justify-between"},a9={class:"t-line-clamp-2 t-text-[#999] t-font-normal"},o9=["src"],s9={class:"t-flex t-items-center t-space-x-1"},l9=["src"],c9=Hr({__name:"CardContentTypeMessage",props:{message:{type:Object,required:!0}},setup(e){const t=ir(),r=e;return(n,u)=>e.message.content.action==="plan.generate"?(Ie(),Ge("div",{key:0,class:"t-flex t-space-x-3 t-text-sm t-bg-white t-w-full t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3 t-cursor-pointer",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},onClick:u[0]||(u[0]=(...i)=>rt(t).openStudyPlanDialog&&rt(t).openStudyPlanDialog(...i))},[le("img",{class:"t-size-[70px]",src:rt(Xb),draggable:"false",alt:"制定学习计划"},null,8,e9),le("div",t9,[le("div",r9,rn(e.message.content.title),1),le("div",n9,rn(e.message.content.description),1)])])):e.message.content.action==="news"?(Ie(),Ge("div",{key:1,class:"t-flex t-flex-col t-text-sm t-bg-white t-w-full t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3 t-cursor-pointer",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},onClick:u[1]||(u[1]=i=>rt(t).openNewsDialog(r.message))},[le("div",u9,rn(e.message.content.title),1),le("div",i9,[le("div",a9,rn(e.message.content.description),1),e.message.content?.image?(Ie(),Ge("img",{key:0,class:"t-size-[60px] t-object-cover t-object-center t-ml-4",src:e.message.content.image,draggable:"false",alt:"资讯"},null,8,o9)):Ir("",!0)]),u[3]||(u[3]=le("div",{class:"t-w-full t-border t-border-[#F5F5F5] t-border-b-0 t-my-3"},null,-1)),le("div",s9,[le("img",{class:"t-size-5",src:rt(Jb),draggable:"false",alt:"资讯"},null,8,l9),u[2]||(u[2]=le("div",{class:"t-text-[#333] t-text-xs t-font-normal"},"资讯",-1))])])):Ir("",!0)}}),f9=(e,t)=>{const r=e.__vccOpts||e;for(const[n,u]of t)r[n]=u;return r},d9={},h9={class:"t-flex t-bg-white t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3 t-w-fit",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"}};function m9(e,t){return Ie(),Ge("div",h9,t[0]||(t[0]=[le("div",{id:"typing-indicator"},[le("span"),le("span"),le("span"),le("span")],-1)]))}const p9=f9(d9,[["render",m9],["__scopeId","data-v-7392a481"]]);function Tu(e){return{id:"",chatId:"",threadId:"",domainId:ir().getDomainId,role:null,type:null,contentType:null,content:"",state:"created",...e}}function Zf(e){const t=ir();return e.filter(r=>["prologue","query","answer","feedback","push"].includes(r.type)).map(r=>({id:r.id,chatId:r.chatId,threadId:r.threadId,domainId:t.getDomainId,role:r.role,type:r.type,contentType:r.contentType,content:r.contentType==="card"?JSON.parse(r.content):r.content,state:"completed"}))}function Q0(e){return e[e.length-1]}async function v9(e,t){const r=e.getReader();let n;for(;!(n=await r.read()).done;)t(n.value)}function g9(e){let t,r,n,u=!1;return function(a){t===void 0?(t=a,r=0,n=-1):t=y9(t,a);const o=t.length;let s=0;for(;r<o;){u&&(t[r]===10&&(s=++r),u=!1);let l=-1;for(;r<o&&l===-1;++r)switch(t[r]){case 58:n===-1&&(n=r-s);break;case 13:u=!0;case 10:l=r;break}if(l===-1)break;e(t.subarray(s,l),n),s=r,n=-1}s===o?t=void 0:s!==0&&(t=t.subarray(s),r-=s)}}function b9(e,t,r){let n=Qf();const u=new TextDecoder;return function(a,o){if(a.length===0)r?.(n),n=Qf();else if(o>0){const s=u.decode(a.subarray(0,o)),l=o+(a[o+1]===32?2:1),c=u.decode(a.subarray(l));switch(s){case"data":n.data=n.data?n.data+`
297
- `+c:c;break;case"event":n.event=c;break;case"id":e(n.id=c);break;case"retry":const f=parseInt(c,10);isNaN(f)||t(n.retry=f);break}}}}function y9(e,t){const r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}function Qf(){return{data:"",event:"",id:"",retry:void 0}}var x9=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,n=Object.getOwnPropertySymbols(e);u<n.length;u++)t.indexOf(n[u])<0&&Object.prototype.propertyIsEnumerable.call(e,n[u])&&(r[n[u]]=e[n[u]]);return r};const cl="text/event-stream",w9=1e3,Xf="last-event-id";function k9(e,t){var{signal:r,headers:n,onopen:u,onmessage:i,onclose:a,onerror:o,openWhenHidden:s,fetch:l}=t,c=x9(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((f,m)=>{const p=Object.assign({},n);p.accept||(p.accept=cl);let v;function x(){v.abort(),document.hidden||F()}s||document.addEventListener("visibilitychange",x);let y=w9,T=0;function D(){document.removeEventListener("visibilitychange",x),window.clearTimeout(T),v.abort()}r?.addEventListener("abort",()=>{D(),f()});const _=l??window.fetch,w=u??S9;async function F(){var j;v=new AbortController;try{const z=await _(e,Object.assign(Object.assign({},c),{headers:p,signal:v.signal}));await w(z),await v9(z.body,g9(b9(V=>{V?p[Xf]=V:delete p[Xf]},V=>{y=V},i))),a?.(),D(),f()}catch(z){if(!v.signal.aborted)try{const V=(j=o?.(z))!==null&&j!==void 0?j:y;window.clearTimeout(T),T=window.setTimeout(F,V)}catch(V){D(),m(V)}}}F()})}function S9(e){const t=e.headers.get("content-type");if(!t?.startsWith(cl))throw new Error(`Expected content-type to be ${cl}, Actual: ${t}`)}let A0=null;function A9(){A0&&(A0.abort(),A0=null)}async function C9(e,t="POST",r,n){const u=ir(),i=u.apiBaseUrl||"https://ai.edusoho.net";A0=new AbortController;try{await k9(`${i}${e}`,{method:t,headers:{"Content-Type":"application/json",Authorization:`Bearer ${u.token}`},body:JSON.stringify(r),signal:A0.signal,async onopen(a){n?.onopen&&n.onopen(a)},onmessage(a){n?.onmessage&&n.onmessage(a)},onclose(){n?.onclose&&n.onclose(),A0=null},onerror(a){throw n?.onerror&&n.onerror(a),A0=null,a}})}catch(a){if(a instanceof Error&&a.name==="AbortError")return;throw a}}function nm(e,t){return function(){return e.apply(t,arguments)}}const{toString:_9}=Object.prototype,{getPrototypeOf:_c}=Object,{iterator:po,toStringTag:um}=Symbol,vo=(e=>t=>{const r=_9.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ur=e=>(e=e.toLowerCase(),t=>vo(t)===e),go=e=>t=>typeof t===e,{isArray:ku}=Array,li=go("undefined");function Si(e){return e!==null&&!li(e)&&e.constructor!==null&&!li(e.constructor)&&sr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const im=Ur("ArrayBuffer");function D9(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&im(e.buffer),t}const E9=go("string"),sr=go("function"),am=go("number"),Ai=e=>e!==null&&typeof e=="object",M9=e=>e===!0||e===!1,sa=e=>{if(vo(e)!=="object")return!1;const t=_c(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(um in e)&&!(po in e)},T9=e=>{if(!Ai(e)||Si(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},F9=Ur("Date"),z9=Ur("File"),B9=Ur("Blob"),O9=Ur("FileList"),R9=e=>Ai(e)&&sr(e.pipe),q9=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||sr(e.append)&&((t=vo(e))==="formdata"||t==="object"&&sr(e.toString)&&e.toString()==="[object FormData]"))},L9=Ur("URLSearchParams"),[P9,I9,N9,H9]=["ReadableStream","Request","Response","Headers"].map(Ur),V9=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ci(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,u;if(typeof e!="object"&&(e=[e]),ku(e))for(n=0,u=e.length;n<u;n++)t.call(null,e[n],n,e);else{if(Si(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(n=0;n<a;n++)o=i[n],t.call(null,e[o],o,e)}}function om(e,t){if(Si(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,u;for(;n-- >0;)if(u=r[n],t===u.toLowerCase())return u;return null}const C0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sm=e=>!li(e)&&e!==C0;function fl(){const{caseless:e}=sm(this)&&this||{},t={},r=(n,u)=>{const i=e&&om(t,u)||u;sa(t[i])&&sa(n)?t[i]=fl(t[i],n):sa(n)?t[i]=fl({},n):ku(n)?t[i]=n.slice():t[i]=n};for(let n=0,u=arguments.length;n<u;n++)arguments[n]&&Ci(arguments[n],r);return t}const U9=(e,t,r,{allOwnKeys:n}={})=>(Ci(t,(u,i)=>{r&&sr(u)?e[i]=nm(u,r):e[i]=u},{allOwnKeys:n}),e),j9=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$9=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Y9=(e,t,r,n)=>{let u,i,a;const o={};if(t=t||{},e==null)return t;do{for(u=Object.getOwnPropertyNames(e),i=u.length;i-- >0;)a=u[i],(!n||n(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=r!==!1&&_c(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},G9=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},W9=e=>{if(!e)return null;if(ku(e))return e;let t=e.length;if(!am(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},K9=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_c(Uint8Array)),Z9=(e,t)=>{const n=(e&&e[po]).call(e);let u;for(;(u=n.next())&&!u.done;){const i=u.value;t.call(e,i[0],i[1])}},Q9=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},X9=Ur("HTMLFormElement"),J9=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,u){return n.toUpperCase()+u}),Jf=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ey=Ur("RegExp"),lm=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ci(r,(u,i)=>{let a;(a=t(u,i,e))!==!1&&(n[i]=a||u)}),Object.defineProperties(e,n)},ty=e=>{lm(e,(t,r)=>{if(sr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(sr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ry=(e,t)=>{const r={},n=u=>{u.forEach(i=>{r[i]=!0})};return ku(e)?n(e):n(String(e).split(t)),r},ny=()=>{},uy=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function iy(e){return!!(e&&sr(e.append)&&e[um]==="FormData"&&e[po])}const ay=e=>{const t=new Array(10),r=(n,u)=>{if(Ai(n)){if(t.indexOf(n)>=0)return;if(Si(n))return n;if(!("toJSON"in n)){t[u]=n;const i=ku(n)?[]:{};return Ci(n,(a,o)=>{const s=r(a,u+1);!li(s)&&(i[o]=s)}),t[u]=void 0,i}}return n};return r(e,0)},oy=Ur("AsyncFunction"),sy=e=>e&&(Ai(e)||sr(e))&&sr(e.then)&&sr(e.catch),cm=((e,t)=>e?setImmediate:t?((r,n)=>(C0.addEventListener("message",({source:u,data:i})=>{u===C0&&i===r&&n.length&&n.shift()()},!1),u=>{n.push(u),C0.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",sr(C0.postMessage)),ly=typeof queueMicrotask<"u"?queueMicrotask.bind(C0):typeof process<"u"&&process.nextTick||cm,cy=e=>e!=null&&sr(e[po]),X={isArray:ku,isArrayBuffer:im,isBuffer:Si,isFormData:q9,isArrayBufferView:D9,isString:E9,isNumber:am,isBoolean:M9,isObject:Ai,isPlainObject:sa,isEmptyObject:T9,isReadableStream:P9,isRequest:I9,isResponse:N9,isHeaders:H9,isUndefined:li,isDate:F9,isFile:z9,isBlob:B9,isRegExp:ey,isFunction:sr,isStream:R9,isURLSearchParams:L9,isTypedArray:K9,isFileList:O9,forEach:Ci,merge:fl,extend:U9,trim:V9,stripBOM:j9,inherits:$9,toFlatObject:Y9,kindOf:vo,kindOfTest:Ur,endsWith:G9,toArray:W9,forEachEntry:Z9,matchAll:Q9,isHTMLForm:X9,hasOwnProperty:Jf,hasOwnProp:Jf,reduceDescriptors:lm,freezeMethods:ty,toObjectSet:ry,toCamelCase:J9,noop:ny,toFiniteNumber:uy,findKey:om,global:C0,isContextDefined:sm,isSpecCompliantForm:iy,toJSONObject:ay,isAsyncFn:oy,isThenable:sy,setImmediate:cm,asap:ly,isIterable:cy};function Ve(e,t,r,n,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),u&&(this.response=u,this.status=u.status?u.status:null)}X.inherits(Ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});const fm=Ve.prototype,dm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{dm[e]={value:e}});Object.defineProperties(Ve,dm);Object.defineProperty(fm,"isAxiosError",{value:!0});Ve.from=(e,t,r,n,u,i)=>{const a=Object.create(fm);return X.toFlatObject(e,a,function(s){return s!==Error.prototype},o=>o!=="isAxiosError"),Ve.call(a,e.message,t,r,n,u),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const fy=null;function dl(e){return X.isPlainObject(e)||X.isArray(e)}function hm(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function ed(e,t,r){return e?e.concat(t).map(function(u,i){return u=hm(u),!r&&i?"["+u+"]":u}).join(r?".":""):t}function dy(e){return X.isArray(e)&&!e.some(dl)}const hy=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function bo(e,t,r){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=X.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,y){return!X.isUndefined(y[x])});const n=r.metaTokens,u=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(u))throw new TypeError("visitor must be a function");function l(v){if(v===null)return"";if(X.isDate(v))return v.toISOString();if(X.isBoolean(v))return v.toString();if(!s&&X.isBlob(v))throw new Ve("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(v)||X.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function c(v,x,y){let T=v;if(v&&!y&&typeof v=="object"){if(X.endsWith(x,"{}"))x=n?x:x.slice(0,-2),v=JSON.stringify(v);else if(X.isArray(v)&&dy(v)||(X.isFileList(v)||X.endsWith(x,"[]"))&&(T=X.toArray(v)))return x=hm(x),T.forEach(function(_,w){!(X.isUndefined(_)||_===null)&&t.append(a===!0?ed([x],w,i):a===null?x:x+"[]",l(_))}),!1}return dl(v)?!0:(t.append(ed(y,x,i),l(v)),!1)}const f=[],m=Object.assign(hy,{defaultVisitor:c,convertValue:l,isVisitable:dl});function p(v,x){if(!X.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(v),X.forEach(v,function(T,D){(!(X.isUndefined(T)||T===null)&&u.call(t,T,X.isString(D)?D.trim():D,x,m))===!0&&p(T,x?x.concat(D):[D])}),f.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),t}function td(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Dc(e,t){this._pairs=[],e&&bo(e,this,t)}const mm=Dc.prototype;mm.append=function(t,r){this._pairs.push([t,r])};mm.toString=function(t){const r=t?function(n){return t.call(this,n,td)}:td;return this._pairs.map(function(u){return r(u[0])+"="+r(u[1])},"").join("&")};function my(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pm(e,t,r){if(!t)return e;const n=r&&r.encode||my;X.isFunction(r)&&(r={serialize:r});const u=r&&r.serialize;let i;if(u?i=u(t,r):i=X.isURLSearchParams(t)?t.toString():new Dc(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class rd{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(n){n!==null&&t(n)})}}const vm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},py=typeof URLSearchParams<"u"?URLSearchParams:Dc,vy=typeof FormData<"u"?FormData:null,gy=typeof Blob<"u"?Blob:null,by={isBrowser:!0,classes:{URLSearchParams:py,FormData:vy,Blob:gy},protocols:["http","https","file","blob","url","data"]},Ec=typeof window<"u"&&typeof document<"u",hl=typeof navigator=="object"&&navigator||void 0,yy=Ec&&(!hl||["ReactNative","NativeScript","NS"].indexOf(hl.product)<0),xy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",wy=Ec&&window.location.href||"http://localhost",ky=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ec,hasStandardBrowserEnv:yy,hasStandardBrowserWebWorkerEnv:xy,navigator:hl,origin:wy},Symbol.toStringTag,{value:"Module"})),Gt={...ky,...by};function Sy(e,t){return bo(e,new Gt.classes.URLSearchParams,{visitor:function(r,n,u,i){return Gt.isNode&&X.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Ay(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Cy(e){const t={},r=Object.keys(e);let n;const u=r.length;let i;for(n=0;n<u;n++)i=r[n],t[i]=e[i];return t}function gm(e){function t(r,n,u,i){let a=r[i++];if(a==="__proto__")return!0;const o=Number.isFinite(+a),s=i>=r.length;return a=!a&&X.isArray(u)?u.length:a,s?(X.hasOwnProp(u,a)?u[a]=[u[a],n]:u[a]=n,!o):((!u[a]||!X.isObject(u[a]))&&(u[a]=[]),t(r,n,u[a],i)&&X.isArray(u[a])&&(u[a]=Cy(u[a])),!o)}if(X.isFormData(e)&&X.isFunction(e.entries)){const r={};return X.forEachEntry(e,(n,u)=>{t(Ay(n),u,r,0)}),r}return null}function _y(e,t,r){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const _i={transitional:vm,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",u=n.indexOf("application/json")>-1,i=X.isObject(t);if(i&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return u?JSON.stringify(gm(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Sy(t,this.formSerializer).toString();if((o=X.isFileList(t))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return bo(o?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||u?(r.setContentType("application/json",!1),_y(t)):t}],transformResponse:[function(t){const r=this.transitional||_i.transitional,n=r&&r.forcedJSONParsing,u=this.responseType==="json";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(n&&!this.responseType||u)){const a=!(r&&r.silentJSONParsing)&&u;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Ve.from(o,Ve.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Gt.classes.FormData,Blob:Gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{_i.headers[e]={}});const Dy=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ey=e=>{const t={};let r,n,u;return e&&e.split(`
298
- `).forEach(function(a){u=a.indexOf(":"),r=a.substring(0,u).trim().toLowerCase(),n=a.substring(u+1).trim(),!(!r||t[r]&&Dy[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},nd=Symbol("internals");function Fu(e){return e&&String(e).trim().toLowerCase()}function la(e){return e===!1||e==null?e:X.isArray(e)?e.map(la):String(e)}function My(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Ty=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bs(e,t,r,n,u){if(X.isFunction(n))return n.call(this,t,r);if(u&&(t=r),!!X.isString(t)){if(X.isString(n))return t.indexOf(n)!==-1;if(X.isRegExp(n))return n.test(t)}}function Fy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function zy(e,t){const r=X.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(u,i,a){return this[n].call(this,t,u,i,a)},configurable:!0})})}let lr=class{constructor(t){t&&this.set(t)}set(t,r,n){const u=this;function i(o,s,l){const c=Fu(s);if(!c)throw new Error("header name must be a non-empty string");const f=X.findKey(u,c);(!f||u[f]===void 0||l===!0||l===void 0&&u[f]!==!1)&&(u[f||s]=la(o))}const a=(o,s)=>X.forEach(o,(l,c)=>i(l,c,s));if(X.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(X.isString(t)&&(t=t.trim())&&!Ty(t))a(Ey(t),r);else if(X.isObject(t)&&X.isIterable(t)){let o={},s,l;for(const c of t){if(!X.isArray(c))throw TypeError("Object iterator must return a key-value pair");o[l=c[0]]=(s=o[l])?X.isArray(s)?[...s,c[1]]:[s,c[1]]:c[1]}a(o,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Fu(t),t){const n=X.findKey(this,t);if(n){const u=this[n];if(!r)return u;if(r===!0)return My(u);if(X.isFunction(r))return r.call(this,u,n);if(X.isRegExp(r))return r.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Fu(t),t){const n=X.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||bs(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let u=!1;function i(a){if(a=Fu(a),a){const o=X.findKey(n,a);o&&(!r||bs(n,n[o],o,r))&&(delete n[o],u=!0)}}return X.isArray(t)?t.forEach(i):i(t),u}clear(t){const r=Object.keys(this);let n=r.length,u=!1;for(;n--;){const i=r[n];(!t||bs(this,this[i],i,t,!0))&&(delete this[i],u=!0)}return u}normalize(t){const r=this,n={};return X.forEach(this,(u,i)=>{const a=X.findKey(n,i);if(a){r[a]=la(u),delete r[i];return}const o=t?Fy(i):String(i).trim();o!==i&&delete r[i],r[o]=la(u),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return X.forEach(this,(n,u)=>{n!=null&&n!==!1&&(r[u]=t&&X.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
299
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(u=>n.set(u)),n}static accessor(t){const n=(this[nd]=this[nd]={accessors:{}}).accessors,u=this.prototype;function i(a){const o=Fu(a);n[o]||(zy(u,a),n[o]=!0)}return X.isArray(t)?t.forEach(i):i(t),this}};lr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(lr.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});X.freezeMethods(lr);function ys(e,t){const r=this||_i,n=t||r,u=lr.from(n.headers);let i=n.data;return X.forEach(e,function(o){i=o.call(r,i,u.normalize(),t?t.status:void 0)}),u.normalize(),i}function bm(e){return!!(e&&e.__CANCEL__)}function Su(e,t,r){Ve.call(this,e??"canceled",Ve.ERR_CANCELED,t,r),this.name="CanceledError"}X.inherits(Su,Ve,{__CANCEL__:!0});function ym(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ve("Request failed with status code "+r.status,[Ve.ERR_BAD_REQUEST,Ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function By(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Oy(e,t){e=e||10;const r=new Array(e),n=new Array(e);let u=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const l=Date.now(),c=n[i];a||(a=l),r[u]=s,n[u]=l;let f=i,m=0;for(;f!==u;)m+=r[f++],f=f%e;if(u=(u+1)%e,u===i&&(i=(i+1)%e),l-a<t)return;const p=c&&l-c;return p?Math.round(m*1e3/p):void 0}}function Ry(e,t){let r=0,n=1e3/t,u,i;const a=(l,c=Date.now())=>{r=c,u=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const c=Date.now(),f=c-r;f>=n?a(l,c):(u=l,i||(i=setTimeout(()=>{i=null,a(u)},n-f)))},()=>u&&a(u)]}const Ra=(e,t,r=3)=>{let n=0;const u=Oy(50,250);return Ry(i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-n,l=u(s),c=a<=o;n=a;const f={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&c?(o-a)/l:void 0,event:i,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},r)},ud=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},id=e=>(...t)=>X.asap(()=>e(...t)),qy=Gt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Gt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Gt.origin),Gt.navigator&&/(msie|trident)/i.test(Gt.navigator.userAgent)):()=>!0,Ly=Gt.hasStandardBrowserEnv?{write(e,t,r,n,u,i){const a=[e+"="+encodeURIComponent(t)];X.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),X.isString(n)&&a.push("path="+n),X.isString(u)&&a.push("domain="+u),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Py(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Iy(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function xm(e,t,r){let n=!Py(t);return e&&(n||r==!1)?Iy(e,t):t}const ad=e=>e instanceof lr?{...e}:e;function P0(e,t){t=t||{};const r={};function n(l,c,f,m){return X.isPlainObject(l)&&X.isPlainObject(c)?X.merge.call({caseless:m},l,c):X.isPlainObject(c)?X.merge({},c):X.isArray(c)?c.slice():c}function u(l,c,f,m){if(X.isUndefined(c)){if(!X.isUndefined(l))return n(void 0,l,f,m)}else return n(l,c,f,m)}function i(l,c){if(!X.isUndefined(c))return n(void 0,c)}function a(l,c){if(X.isUndefined(c)){if(!X.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function o(l,c,f){if(f in t)return n(l,c);if(f in e)return n(void 0,l)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(l,c,f)=>u(ad(l),ad(c),f,!0)};return X.forEach(Object.keys({...e,...t}),function(c){const f=s[c]||u,m=f(e[c],t[c],c);X.isUndefined(m)&&f!==o||(r[c]=m)}),r}const wm=e=>{const t=P0({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:u,xsrfCookieName:i,headers:a,auth:o}=t;t.headers=a=lr.from(a),t.url=pm(xm(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let s;if(X.isFormData(r)){if(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((s=a.getContentType())!==!1){const[l,...c]=s?s.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([l||"multipart/form-data",...c].join("; "))}}if(Gt.hasStandardBrowserEnv&&(n&&X.isFunction(n)&&(n=n(t)),n||n!==!1&&qy(t.url))){const l=u&&i&&Ly.read(i);l&&a.set(u,l)}return t},Ny=typeof XMLHttpRequest<"u",Hy=Ny&&function(e){return new Promise(function(r,n){const u=wm(e);let i=u.data;const a=lr.from(u.headers).normalize();let{responseType:o,onUploadProgress:s,onDownloadProgress:l}=u,c,f,m,p,v;function x(){p&&p(),v&&v(),u.cancelToken&&u.cancelToken.unsubscribe(c),u.signal&&u.signal.removeEventListener("abort",c)}let y=new XMLHttpRequest;y.open(u.method.toUpperCase(),u.url,!0),y.timeout=u.timeout;function T(){if(!y)return;const _=lr.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),F={data:!o||o==="text"||o==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:_,config:e,request:y};ym(function(z){r(z),x()},function(z){n(z),x()},F),y=null}"onloadend"in y?y.onloadend=T:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(T)},y.onabort=function(){y&&(n(new Ve("Request aborted",Ve.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new Ve("Network Error",Ve.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let w=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const F=u.transitional||vm;u.timeoutErrorMessage&&(w=u.timeoutErrorMessage),n(new Ve(w,F.clarifyTimeoutError?Ve.ETIMEDOUT:Ve.ECONNABORTED,e,y)),y=null},i===void 0&&a.setContentType(null),"setRequestHeader"in y&&X.forEach(a.toJSON(),function(w,F){y.setRequestHeader(F,w)}),X.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),o&&o!=="json"&&(y.responseType=u.responseType),l&&([m,v]=Ra(l,!0),y.addEventListener("progress",m)),s&&y.upload&&([f,p]=Ra(s),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",p)),(u.cancelToken||u.signal)&&(c=_=>{y&&(n(!_||_.type?new Su(null,e,y):_),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(c),u.signal&&(u.signal.aborted?c():u.signal.addEventListener("abort",c)));const D=By(u.url);if(D&&Gt.protocols.indexOf(D)===-1){n(new Ve("Unsupported protocol "+D+":",Ve.ERR_BAD_REQUEST,e));return}y.send(i||null)})},Vy=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,u;const i=function(l){if(!u){u=!0,o();const c=l instanceof Error?l:this.reason;n.abort(c instanceof Ve?c:new Su(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,i(new Ve(`timeout ${t} of ms exceeded`,Ve.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=()=>X.asap(o),s}},Uy=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,u;for(;n<r;)u=n+t,yield e.slice(n,u),n=u},jy=async function*(e,t){for await(const r of $y(e))yield*Uy(r,t)},$y=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},od=(e,t,r,n)=>{const u=jy(e,t);let i=0,a,o=s=>{a||(a=!0,n&&n(s))};return new ReadableStream({async pull(s){try{const{done:l,value:c}=await u.next();if(l){o(),s.close();return}let f=c.byteLength;if(r){let m=i+=f;r(m)}s.enqueue(new Uint8Array(c))}catch(l){throw o(l),l}},cancel(s){return o(s),u.return()}},{highWaterMark:2})},yo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",km=yo&&typeof ReadableStream=="function",Yy=yo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Sm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Gy=km&&Sm(()=>{let e=!1;const t=new Request(Gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),sd=64*1024,ml=km&&Sm(()=>X.isReadableStream(new Response("").body)),qa={stream:ml&&(e=>e.body)};yo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qa[t]&&(qa[t]=X.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new Ve(`Response type '${t}' is not supported`,Ve.ERR_NOT_SUPPORT,n)})})})(new Response);const Wy=async e=>{if(e==null)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e))return(await new Request(Gt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(X.isArrayBufferView(e)||X.isArrayBuffer(e))return e.byteLength;if(X.isURLSearchParams(e)&&(e=e+""),X.isString(e))return(await Yy(e)).byteLength},Ky=async(e,t)=>{const r=X.toFiniteNumber(e.getContentLength());return r??Wy(t)},Zy=yo&&(async e=>{let{url:t,method:r,data:n,signal:u,cancelToken:i,timeout:a,onDownloadProgress:o,onUploadProgress:s,responseType:l,headers:c,withCredentials:f="same-origin",fetchOptions:m}=wm(e);l=l?(l+"").toLowerCase():"text";let p=Vy([u,i&&i.toAbortSignal()],a),v;const x=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(s&&Gy&&r!=="get"&&r!=="head"&&(y=await Ky(c,n))!==0){let F=new Request(t,{method:"POST",body:n,duplex:"half"}),j;if(X.isFormData(n)&&(j=F.headers.get("content-type"))&&c.setContentType(j),F.body){const[z,V]=ud(y,Ra(id(s)));n=od(F.body,sd,z,V)}}X.isString(f)||(f=f?"include":"omit");const T="credentials"in Request.prototype;v=new Request(t,{...m,signal:p,method:r.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:T?f:void 0});let D=await fetch(v,m);const _=ml&&(l==="stream"||l==="response");if(ml&&(o||_&&x)){const F={};["status","statusText","headers"].forEach(S=>{F[S]=D[S]});const j=X.toFiniteNumber(D.headers.get("content-length")),[z,V]=o&&ud(j,Ra(id(o),!0))||[];D=new Response(od(D.body,sd,z,()=>{V&&V(),x&&x()}),F)}l=l||"text";let w=await qa[X.findKey(qa,l)||"text"](D,e);return!_&&x&&x(),await new Promise((F,j)=>{ym(F,j,{data:w,headers:lr.from(D.headers),status:D.status,statusText:D.statusText,config:e,request:v})})}catch(T){throw x&&x(),T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)?Object.assign(new Ve("Network Error",Ve.ERR_NETWORK,e,v),{cause:T.cause||T}):Ve.from(T,T&&T.code,e,v)}}),pl={http:fy,xhr:Hy,fetch:Zy};X.forEach(pl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ld=e=>`- ${e}`,Qy=e=>X.isFunction(e)||e===null||e===!1,Am={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let r,n;const u={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Qy(r)&&(n=pl[(a=String(r)).toLowerCase()],n===void 0))throw new Ve(`Unknown adapter '${a}'`);if(n)break;u[a||"#"+i]=n}if(!n){const i=Object.entries(u).map(([o,s])=>`adapter ${o} `+(s===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
300
- `+i.map(ld).join(`
301
- `):" "+ld(i[0]):"as no adapter specified";throw new Ve("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:pl};function xs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Su(null,e)}function cd(e){return xs(e),e.headers=lr.from(e.headers),e.data=ys.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Am.getAdapter(e.adapter||_i.adapter)(e).then(function(n){return xs(e),n.data=ys.call(e,e.transformResponse,n),n.headers=lr.from(n.headers),n},function(n){return bm(n)||(xs(e),n&&n.response&&(n.response.data=ys.call(e,e.transformResponse,n.response),n.response.headers=lr.from(n.response.headers))),Promise.reject(n)})}const Cm="1.11.0",xo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const fd={};xo.transitional=function(t,r,n){function u(i,a){return"[Axios v"+Cm+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,o)=>{if(t===!1)throw new Ve(u(a," has been removed"+(r?" in "+r:"")),Ve.ERR_DEPRECATED);return r&&!fd[a]&&(fd[a]=!0,console.warn(u(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,o):!0}};xo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Xy(e,t,r){if(typeof e!="object")throw new Ve("options must be an object",Ve.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let u=n.length;for(;u-- >0;){const i=n[u],a=t[i];if(a){const o=e[i],s=o===void 0||a(o,i,e);if(s!==!0)throw new Ve("option "+i+" must be "+s,Ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ve("Unknown option "+i,Ve.ERR_BAD_OPTION)}}const ca={assertOptions:Xy,validators:xo},Wr=ca.validators;let z0=class{constructor(t){this.defaults=t||{},this.interceptors={request:new rd,response:new rd}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const i=u.stack?u.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
302
- `+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=P0(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:i}=r;n!==void 0&&ca.assertOptions(n,{silentJSONParsing:Wr.transitional(Wr.boolean),forcedJSONParsing:Wr.transitional(Wr.boolean),clarifyTimeoutError:Wr.transitional(Wr.boolean)},!1),u!=null&&(X.isFunction(u)?r.paramsSerializer={serialize:u}:ca.assertOptions(u,{encode:Wr.function,serialize:Wr.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ca.assertOptions(r,{baseUrl:Wr.spelling("baseURL"),withXsrfToken:Wr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&X.merge(i.common,i[r.method]);i&&X.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),r.headers=lr.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(r)===!1||(s=s&&x.synchronous,o.unshift(x.fulfilled,x.rejected))});const l=[];this.interceptors.response.forEach(function(x){l.push(x.fulfilled,x.rejected)});let c,f=0,m;if(!s){const v=[cd.bind(this),void 0];for(v.unshift(...o),v.push(...l),m=v.length,c=Promise.resolve(r);f<m;)c=c.then(v[f++],v[f++]);return c}m=o.length;let p=r;for(f=0;f<m;){const v=o[f++],x=o[f++];try{p=v(p)}catch(y){x.call(this,y);break}}try{c=cd.call(this,p)}catch(v){return Promise.reject(v)}for(f=0,m=l.length;f<m;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=P0(this.defaults,t);const r=xm(t.baseURL,t.url,t.allowAbsoluteUrls);return pm(r,t.params,t.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(t){z0.prototype[t]=function(r,n){return this.request(P0(n||{},{method:t,url:r,data:(n||{}).data}))}});X.forEach(["post","put","patch"],function(t){function r(n){return function(i,a,o){return this.request(P0(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}z0.prototype[t]=r(),z0.prototype[t+"Form"]=r(!0)});let Jy=class _m{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(u=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](u);n._listeners=null}),this.promise.then=u=>{let i;const a=new Promise(o=>{n.subscribe(o),i=o}).then(u);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,o){n.reason||(n.reason=new Su(i,a,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new _m(function(u){t=u}),cancel:t}}};function ex(e){return function(r){return e.apply(null,r)}}function tx(e){return X.isObject(e)&&e.isAxiosError===!0}const vl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vl).forEach(([e,t])=>{vl[t]=e});function Dm(e){const t=new z0(e),r=nm(z0.prototype.request,t);return X.extend(r,z0.prototype,t,{allOwnKeys:!0}),X.extend(r,t,null,{allOwnKeys:!0}),r.create=function(u){return Dm(P0(e,u))},r}const _t=Dm(_i);_t.Axios=z0;_t.CanceledError=Su;_t.CancelToken=Jy;_t.isCancel=bm;_t.VERSION=Cm;_t.toFormData=bo;_t.AxiosError=Ve;_t.Cancel=_t.CanceledError;_t.all=function(t){return Promise.all(t)};_t.spread=ex;_t.isAxiosError=tx;_t.mergeConfig=P0;_t.AxiosHeaders=lr;_t.formToJSON=e=>gm(X.isHTMLForm(e)?new FormData(e):e);_t.getAdapter=Am.getAdapter;_t.HttpStatusCode=vl;_t.default=_t;const{Axios:bS,AxiosError:yS,CanceledError:xS,isCancel:wS,CancelToken:kS,VERSION:SS,all:AS,Cancel:CS,isAxiosError:_S,spread:DS,toFormData:ES,AxiosHeaders:MS,HttpStatusCode:TS,formToJSON:FS,getAdapter:zS,mergeConfig:BS}=_t,Mc=_t.create({timeout:12e4,headers:{"Content-Type":"application/json"}});Mc.interceptors.request.use(e=>e,e=>Promise.reject(e));Mc.interceptors.response.use(e=>e,e=>Promise.reject(e));async function ci(e,t="POST",r,n,u){try{const i=ir(),a=i.apiBaseUrl||"https://ai.edusoho.net",o=await Mc({url:e.startsWith("/api")?`${a}${e.substring(4)}`:e,method:t,data:r,...n,headers:{...n?.headers,Authorization:`Bearer ${i.token}`}});return u?.onSuccess,o.data}catch(i){throw console.error("请求失败:",i),i}finally{}}function Di(){const e=ir(),t=xe(0),r=xe(!1);async function n(z,V){e.mode="chat",e.isAutoScrollBottom=!0,x(),y(z),T(),j();const S={id:"",chatId:"",threadId:"",domainId:e.getDomainId,role:"user",type:null,content:z,contentType:"text",state:"completed",metadata:e.getChatMetadata},Y=V?{...S,workflow:V}:S;await C9("/agent/chat","POST",{...Y},{onmessage(Z){j(),w();const M=F(Z.data);o(M,Z.event)},onclose(){clearTimeout(e.chatTimeoutTimer)},onerror(){clearTimeout(e.chatTimeoutTimer),D(),_("网络连接失败,请检查后重试")}})}async function u(z=null,V){e.isAutoScrollBottom=V;const S={domainId:e.getDomainId,before:z,limit:20},Y=await ci("/api/agent/message/list","GET",null,{params:S});Y.length===0&&(r.value=!0);const Z=Zf(Y);e.messageList.unshift(...Z)}async function i(){e.isAutoScrollBottom=!0;const z={domainId:e.getDomainId},V=await ci("/api/agent/message/pullUnread","GET",null,{params:z}),S=Zf(V);e.messageList.push(...S)}async function a(){e.mode="history",!r.value&&t.value<=15&&(await u(e.messageList[0].id,!1),t.value+=1)}function o(z,V){Object.keys(z).length!==0&&(l(z,V),c(z),f(z)&&(s(z),p(z,V),v(z,V)))}function s(z){if(!e.messageMap.has(z.id)){D();const V=Tu({});e.messageList.push(V),e.messageMap.set(z.id,V)}}function l(z,V){V==="chat.failed"&&(D(),e.messageList.push(Tu({role:"assistant",contentType:"text",content:z.message,state:"failed"})))}function c(z){z.type==="feedback"&&(e.feedbackId=z.chatId,setTimeout(()=>{e.feedbackVisible=!0},1e4))}function f(z){return z.type==="answer"}function m(z){const V=e.messageMap.get(z.id);if(V)return V.chatId=z.chatId,V.threadId=z.threadId,V.role=z.role,V.type=z.type,V.contentType=z.contentType,V}function p(z,V){const S=m(z);S&&(z.contentType==="text"&&V==="message.delta"?(S.content+=z.content,S.state="delta"):z.contentType==="text"&&V==="message.completed"&&(S.content=z.content,S.state="completed"))}function v(z,V){const S=m(z);S&&z.contentType==="card"&&V==="message.completed"&&(e.isAutoScrollBottom=!0,S.content=JSON.parse(z.content),S.state="completed")}function x(){A9(),Q0(e.messageList)&&(Q0(e.messageList).state="completed")}function y(z){e.messageList.push(Tu({role:"user",content:z,contentType:"text",state:"completed"}))}function T(){e.messageList.push(Tu({role:"assistant",state:"created"}))}function D(){Q0(e.messageList).state==="created"&&e.messageList.pop()}function _(z){e.messageList.push(Tu({role:"assistant",contentType:"text",content:z,state:"failed"}))}function w(){e.feedbackVisible=!1}function F(z){return z.trim()===""?{}:JSON.parse(z)}function j(){e.chatTimeoutTimer&&clearTimeout(e.chatTimeoutTimer),e.chatTimeoutTimer=setTimeout(()=>{Q0(e.messageList).state==="created"?(D(),_("服务器繁忙,请重试")):Q0(e.messageList).state!=="failed"&&(Q0(e.messageList).content+=`
303
- 服务器连接失败,请重试`),e.chatTimeoutTimer=null},3e4)}return{chat:n,fetchMessages:u,fetchUnreadMessages:i,fetchHistoryMessages:a}}const rx={key:0,class:"t-flex t-flex-row-reverse t-w-full"},nx=["innerHTML"],ux={key:1,class:"t-flex t-w-full"},ix={key:0},ax={key:1,class:"t-w-full"},ox=Hr({__name:"MessageList",setup(e){const t=ir(),{fetchHistoryMessages:r}=Di(),n=xe(null),u=xe();Ne(t.messageList,async()=>{await pt(()=>{const s=n.value;if(s){if(t.isAutoScrollBottom)t.mode==="show"?i(s.scrollHeight,"auto"):t.mode==="chat"&&i(s.scrollHeight,"smooth");else if(t.mode==="history"){const l=s.scrollHeight-u.value;i(l,"auto")}u.value=s.scrollHeight}})},{deep:!0});function i(s,l){n.value&&n.value.scrollTo({top:s,behavior:l})}async function a(){if(n.value){const s=n.value,{scrollTop:l,clientHeight:c,scrollHeight:f}=s,m=l+c<f-40;t.isAutoScrollBottom=!m,l===0&&await r()}}const o=new br;return o.renderer.rules.paragraph_open=()=>'<p class="t-leading-[22px]">',(s,l)=>(Ie(),Ge("div",{ref_key:"messageListContainer",ref:n,class:R0(["t-flex t-flex-col t-space-y-5 t-overflow-y-auto t-pr-4 t-pl-4 t-h-full",{"t-pb-3":rt(t).messageList.length>0}]),onScroll:a},[(Ie(!0),Ge(Vt,null,ju(rt(t).messageList,c=>(Ie(),Ge("div",null,[c.role==="user"?(Ie(),Ge("div",rx,[le("div",{class:"t-text-white t-text-sm t-bg-primary t-w-fit t-max-w-full t-break-words t-rounded-t-xl t-rounded-l-xl t-px-4 t-py-3 t-font-normal",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},innerHTML:rt(o).render(c.content)},null,8,nx)])):c.role==="assistant"?(Ie(),Ge("div",ux,[c.state==="created"?(Ie(),Ge("div",ix,[et(p9)])):(Ie(),Ge("div",ax,[c.contentType==="text"?(Ie(),T0(Qb,{key:0,class:"t-w-full",message:c},null,8,["message"])):Ir("",!0),c.contentType==="card"?(Ie(),T0(c9,{key:1,class:"t-w-full",message:c},null,8,["message"])):Ir("",!0)]))])):Ir("",!0)]))),256))],34))}});let ws,Ki=0;const Nt=new Array(256);for(let e=0;e<256;e++)Nt[e]=(e+256).toString(16).substring(1);const sx=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const r=new Uint8Array(t);return e.getRandomValues(r),r}}return t=>{const r=[];for(let n=t;n>0;n--)r.push(Math.floor(Math.random()*256));return r}})(),dd=4096;function gl(){(ws===void 0||Ki+16>dd)&&(Ki=0,ws=sx(dd));const e=Array.prototype.slice.call(ws,Ki,Ki+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Nt[e[0]]+Nt[e[1]]+Nt[e[2]]+Nt[e[3]]+"-"+Nt[e[4]]+Nt[e[5]]+"-"+Nt[e[6]]+Nt[e[7]]+"-"+Nt[e[8]]+Nt[e[9]]+"-"+Nt[e[10]]+Nt[e[11]]+Nt[e[12]]+Nt[e[13]]+Nt[e[14]]+Nt[e[15]]}function lx(e){return e??null}function hd(e,t){return e??(t===!0?`f_${gl()}`:null)}function cx({getValue:e,required:t=!0}={}){if(r0.value===!0){const r=xe(e!==void 0?lx(e()):null);return t===!0&&r.value===null&&fn(()=>{r.value=`f_${gl()}`}),e!==void 0&&Ne(e,n=>{r.value=hd(n,t)}),r}return e!==void 0?W(()=>hd(e(),t)):xe(`f_${gl()}`)}const md=/^on[A-Z]/;function fx(){const{attrs:e,vnode:t}=gt(),r={listeners:xe({}),attributes:xe({})};function n(){const u={},i={};for(const a in e)a!=="class"&&a!=="style"&&md.test(a)===!1&&(u[a]=e[a]);for(const a in t.props)md.test(a)===!0&&(i[a]=t.props[a]);r.attributes.value=u,r.listeners.value=i}return Il(n),n(),r}const Ei={dark:{type:Boolean,default:null}};function Mi(e,t){return W(()=>e.dark===null?t.dark.isActive:e.dark)}function dx({validate:e,resetValidation:t,requiresQForm:r}){const n=M0(Wp,!1);if(n!==!1){const{props:u,proxy:i}=gt();Object.assign(i,{validate:e,resetValidation:t}),Ne(()=>u.disable,a=>{a===!0?(typeof t=="function"&&t(),n.unbindComponent(i)):n.bindComponent(i)}),fn(()=>{u.disable!==!0&&n.bindComponent(i)}),Wt(()=>{u.disable!==!0&&n.unbindComponent(i)})}else r===!0&&console.error("Parent QForm not found on useFormChild()!")}const pd=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,vd=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,gd=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Zi=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Qi=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,ks={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>pd.test(e),hexaColor:e=>vd.test(e),hexOrHexaColor:e=>gd.test(e),rgbColor:e=>Zi.test(e),rgbaColor:e=>Qi.test(e),rgbOrRgbaColor:e=>Zi.test(e)||Qi.test(e),hexOrRgbColor:e=>pd.test(e)||Zi.test(e),hexaOrRgbaColor:e=>vd.test(e)||Qi.test(e),anyColor:e=>gd.test(e)||Zi.test(e)||Qi.test(e)},hx=[!0,!1,"ondemand"],mx={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>hx.includes(e)}};function px(e,t){const{props:r,proxy:n}=gt(),u=xe(!1),i=xe(null),a=xe(!1);dx({validate:x,resetValidation:v});let o=0,s;const l=W(()=>r.rules!==void 0&&r.rules!==null&&r.rules.length!==0),c=W(()=>r.disable!==!0&&l.value===!0&&t.value===!1),f=W(()=>r.error===!0||u.value===!0),m=W(()=>typeof r.errorMessage=="string"&&r.errorMessage.length!==0?r.errorMessage:i.value);Ne(()=>r.modelValue,()=>{a.value=!0,c.value===!0&&r.lazyRules===!1&&y()});function p(){r.lazyRules!=="ondemand"&&c.value===!0&&a.value===!0&&y()}Ne(()=>r.reactiveRules,T=>{T===!0?s===void 0&&(s=Ne(()=>r.rules,p,{immediate:!0,deep:!0})):s!==void 0&&(s(),s=void 0)},{immediate:!0}),Ne(()=>r.lazyRules,p),Ne(e,T=>{T===!0?a.value=!0:c.value===!0&&r.lazyRules!=="ondemand"&&y()});function v(){o++,t.value=!1,a.value=!1,u.value=!1,i.value=null,y.cancel()}function x(T=r.modelValue){if(r.disable===!0||l.value===!1)return!0;const D=++o,_=t.value!==!0?()=>{a.value=!0}:()=>{},w=(j,z)=>{j===!0&&_(),u.value=j,i.value=z||null,t.value=!1},F=[];for(let j=0;j<r.rules.length;j++){const z=r.rules[j];let V;if(typeof z=="function"?V=z(T,ks):typeof z=="string"&&ks[z]!==void 0&&(V=ks[z](T)),V===!1||typeof V=="string")return w(!0,V),!1;V!==!0&&V!==void 0&&F.push(V)}return F.length===0?(w(!1),!0):(t.value=!0,Promise.all(F).then(j=>{if(j===void 0||Array.isArray(j)===!1||j.length===0)return D===o&&w(!1),!0;const z=j.find(V=>V===!1||typeof V=="string");return D===o&&w(z!==void 0,z),z===void 0},j=>(D===o&&(console.error(j),w(!0)),!1)))}const y=Yl(x,0);return Wt(()=>{s?.(),y.cancel()}),Object.assign(n,{resetValidation:v,validate:x}),bu(n,"hasError",()=>f.value),{isDirtyModel:a,hasRules:l,hasError:f,errorMessage:m,validate:x,resetValidation:v}}let _0=[],fi=[];function Em(e){fi=fi.filter(t=>t!==e)}function vx(e){Em(e),fi.push(e)}function bd(e){Em(e),fi.length===0&&_0.length!==0&&(_0[_0.length-1](),_0=[])}function wo(e){fi.length===0?e():_0.push(e)}function gx(e){_0=_0.filter(t=>t!==e)}function di(e){return e!=null&&(""+e).length!==0}const bx={...Ei,...mx,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},ko={...bx,maxlength:[Number,String]},Tc=["update:modelValue","clear","focus","blur"];function Fc({requiredForAttr:e=!0,tagProp:t,changeEvent:r=!1}={}){const{props:n,proxy:u}=gt(),i=Mi(n,u.$q),a=cx({required:e,getValue:()=>n.for});return{requiredForAttr:e,changeEvent:r,tag:t===!0?W(()=>n.tag):{value:"label"},isDark:i,editable:W(()=>n.disable!==!0&&n.readonly!==!0),innerLoading:xe(!1),focused:xe(!1),hasPopupOpen:!1,splitAttrs:fx(),targetUid:a,rootRef:xe(null),targetRef:xe(null),controlRef:xe(null)}}function zc(e){const{props:t,emit:r,slots:n,attrs:u,proxy:i}=gt(),{$q:a}=i;let o=null;e.hasValue===void 0&&(e.hasValue=W(()=>di(t.modelValue))),e.emitValue===void 0&&(e.emitValue=N=>{r("update:modelValue",N)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:S,onFocusout:Y}),Object.assign(e,{clearValue:Z,onControlFocusin:S,onControlFocusout:Y,focus:z}),e.computedCounter===void 0&&(e.computedCounter=W(()=>{if(t.counter!==!1){const N=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,ue=t.maxlength!==void 0?t.maxlength:t.maxValues;return N+(ue!==void 0?" / "+ue:"")}}));const{isDirtyModel:s,hasRules:l,hasError:c,errorMessage:f,resetValidation:m}=px(e.focused,e.innerLoading),p=e.floatingLabel!==void 0?W(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):W(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),v=W(()=>t.bottomSlots===!0||t.hint!==void 0||l.value===!0||t.counter===!0||t.error!==null),x=W(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),y=W(()=>`q-field row no-wrap items-start q-field--${x.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(p.value===!0?" q-field--float":"")+(D.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&v.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),T=W(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(c.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),D=W(()=>t.labelSlot===!0||t.label!==void 0),_=W(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&c.value!==!0?` text-${t.labelColor}`:"")),w=W(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:p.value,modelValue:t.modelValue,emitValue:e.emitValue})),F=W(()=>{const N={};return e.targetUid.value&&(N.for=e.targetUid.value),t.disable===!0&&(N["aria-disabled"]="true"),N});function j(){const N=document.activeElement;let ue=e.targetRef?.value;ue&&(N===null||N.id!==e.targetUid.value)&&(ue.hasAttribute("tabindex")===!0||(ue=ue.querySelector("[tabindex]")),ue!==N&&ue?.focus({preventScroll:!0}))}function z(){wo(j)}function V(){gx(j);const N=document.activeElement;N!==null&&e.rootRef.value.contains(N)&&N.blur()}function S(N){o!==null&&(clearTimeout(o),o=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,r("focus",N))}function Y(N,ue){o!==null&&clearTimeout(o),o=setTimeout(()=>{o=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,r("blur",N)),ue?.())})}function Z(N){Ut(N),a.platform.is.mobile!==!0?(e.targetRef?.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),r("update:modelValue",null),e.changeEvent===!0&&r("change",null),r("clear",t.modelValue),pt(()=>{const ue=s.value;m(),s.value=ue})}function M(N){[13,32].includes(N.keyCode)&&Z(N)}function U(){const N=[];return n.prepend!==void 0&&N.push(G("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Lr},n.prepend())),N.push(G("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},B())),c.value===!0&&t.noErrorIcon===!1&&N.push(L("error",[G(Er,{name:a.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?N.push(L("inner-loading-append",n.loading!==void 0?n.loading():[G(to,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&N.push(L("inner-clearable-append",[G(Er,{class:"q-field__focusable-action",name:t.clearIcon||a.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":a.lang.label.clear,onKeyup:M,onClick:Z})])),n.append!==void 0&&N.push(G("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Lr},n.append())),e.getInnerAppend!==void 0&&N.push(L("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&N.push(e.getControlChild()),N}function B(){const N=[];return t.prefix!==void 0&&t.prefix!==null&&N.push(G("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&N.push(e.getShadowControl()),e.getControl!==void 0?N.push(e.getControl()):n.rawControl!==void 0?N.push(n.rawControl()):n.control!==void 0&&N.push(G("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},n.control(w.value))),D.value===!0&&N.push(G("div",{class:_.value},nn(n.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&N.push(G("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),N.concat(nn(n.default))}function ne(){let N,ue;c.value===!0?f.value!==null?(N=[G("div",{role:"alert"},f.value)],ue=`q--slot-error-${f.value}`):(N=nn(n.error),ue="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(N=[G("div",t.hint)],ue=`q--slot-hint-${t.hint}`):(N=nn(n.hint),ue="q--slot-hint"));const te=t.counter===!0||n.counter!==void 0;if(t.hideBottomSpace===!0&&te===!1&&N===void 0)return;const H=G("div",{key:ue,class:"q-field__messages col"},N);return G("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:Lr},[t.hideBottomSpace===!0?H:G(Ar,{name:"q-transition--field-message"},()=>H),te===!0?G("div",{class:"q-field__counter"},n.counter!==void 0?n.counter():e.computedCounter.value):null])}function L(N,ue){return ue===null?null:G("div",{key:N,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},ue)}let I=!1;return mi(()=>{I=!0}),Pl(()=>{I===!0&&t.autofocus===!0&&i.focus()}),t.autofocus===!0&&fn(()=>{i.focus()}),Wt(()=>{o!==null&&clearTimeout(o)}),Object.assign(i,{focus:z,blur:V}),function(){const ue=e.getControl===void 0&&n.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...F.value}:F.value;return G(e.tag.value,{ref:e.rootRef,class:[y.value,u.class],style:u.style,...ue},[n.before!==void 0?G("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Lr},n.before()):null,G("div",{class:"q-field__inner relative-position col self-stretch"},[G("div",{ref:e.controlRef,class:T.value,tabindex:-1,...e.controlEvents},U()),v.value===!0?ne():null]),n.after!==void 0?G("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Lr},n.after()):null])}}const yd={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},La={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},Mm=Object.keys(La);Mm.forEach(e=>{La[e].regex=new RegExp(La[e].pattern)});const yx=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Mm.join("")+"])|(.)","g"),xd=/[.*+?^${}()|[\]\\]/g,Mt="",xx={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function wx(e,t,r,n){let u,i,a,o,s,l;const c=xe(null),f=xe(p());function m(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}Ne(()=>e.type+e.autogrow,x),Ne(()=>e.mask,S=>{if(S!==void 0)y(f.value,!0);else{const Y=z(f.value);x(),e.modelValue!==Y&&t("update:modelValue",Y)}}),Ne(()=>e.fillMask+e.reverseFillMask,()=>{c.value===!0&&y(f.value,!0)}),Ne(()=>e.unmaskedValue,()=>{c.value===!0&&y(f.value)});function p(){if(x(),c.value===!0){const S=F(z(e.modelValue));return e.fillMask!==!1?V(S):S}return e.modelValue}function v(S){if(S<u.length)return u.slice(-S);let Y="",Z=u;const M=Z.indexOf(Mt);if(M!==-1){for(let U=S-Z.length;U>0;U--)Y+=Mt;Z=Z.slice(0,M)+Y+Z.slice(M)}return Z}function x(){if(c.value=e.mask!==void 0&&e.mask.length!==0&&m(),c.value===!1){o=void 0,u="",i="";return}const S=yd[e.mask]===void 0?e.mask:yd[e.mask],Y=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",Z=Y.replace(xd,"\\$&"),M=[],U=[],B=[];let ne=e.reverseFillMask===!0,L="",I="";S.replace(yx,(H,R,he,Me,Fe)=>{if(Me!==void 0){const oe=La[Me];B.push(oe),I=oe.negate,ne===!0&&(U.push("(?:"+I+"+)?("+oe.pattern+"+)?(?:"+I+"+)?("+oe.pattern+"+)?"),ne=!1),U.push("(?:"+I+"+)?("+oe.pattern+")?")}else if(he!==void 0)L="\\"+(he==="\\"?"":he),B.push(he),M.push("([^"+L+"]+)?"+L+"?");else{const oe=R!==void 0?R:Fe;L=oe==="\\"?"\\\\\\\\":oe.replace(xd,"\\\\$&"),B.push(oe),M.push("([^"+L+"]+)?"+L+"?")}});const N=new RegExp("^"+M.join("")+"("+(L===""?".":"[^"+L+"]")+"+)?"+(L===""?"":"["+L+"]*")+"$"),ue=U.length-1,te=U.map((H,R)=>R===0&&e.reverseFillMask===!0?new RegExp("^"+Z+"*"+H):R===ue?new RegExp("^"+H+"("+(I===""?".":I)+"+)?"+(e.reverseFillMask===!0?"$":Z+"*")):new RegExp("^"+H));a=B,o=H=>{const R=N.exec(e.reverseFillMask===!0?H:H.slice(0,B.length+1));R!==null&&(H=R.slice(1).join(""));const he=[],Me=te.length;for(let Fe=0,oe=H;Fe<Me;Fe++){const ve=te[Fe].exec(oe);if(ve===null)break;oe=oe.slice(ve.shift().length),he.push(...ve)}return he.length!==0?he.join(""):H},u=B.map(H=>typeof H=="string"?H:Mt).join(""),i=u.split(Mt).join(Y)}function y(S,Y,Z){const M=n.value,U=M.selectionEnd,B=M.value.length-U,ne=z(S);Y===!0&&x();const L=F(ne),I=e.fillMask!==!1?V(L):L,N=f.value!==I;M.value!==I&&(M.value=I),N===!0&&(f.value=I),document.activeElement===M&&pt(()=>{if(I===i){const te=e.reverseFillMask===!0?i.length:0;M.setSelectionRange(te,te,"forward");return}if(Z==="insertFromPaste"&&e.reverseFillMask!==!0){const te=M.selectionEnd;let H=U-1;for(let R=s;R<=H&&R<te;R++)u[R]!==Mt&&H++;D.right(M,H);return}if(["deleteContentBackward","deleteContentForward"].indexOf(Z)!==-1){const te=e.reverseFillMask===!0?U===0?I.length>L.length?1:0:Math.max(0,I.length-(I===i?0:Math.min(L.length,B)+1))+1:U;M.setSelectionRange(te,te,"forward");return}if(e.reverseFillMask===!0)if(N===!0){const te=Math.max(0,I.length-(I===i?0:Math.min(L.length,B+1)));te===1&&U===1?M.setSelectionRange(te,te,"forward"):D.rightReverse(M,te)}else{const te=I.length-B;M.setSelectionRange(te,te,"backward")}else if(N===!0){const te=Math.max(0,u.indexOf(Mt),Math.min(L.length,U)-1);D.right(M,te)}else{const te=U-1;D.right(M,te)}});const ue=e.unmaskedValue===!0?z(I):I;String(e.modelValue)!==ue&&(e.modelValue!==null||ue!=="")&&r(ue,!0)}function T(S,Y,Z){const M=F(z(S.value));Y=Math.max(0,u.indexOf(Mt),Math.min(M.length,Y)),s=Y,S.setSelectionRange(Y,Z,"forward")}const D={left(S,Y){const Z=u.slice(Y-1).indexOf(Mt)===-1;let M=Math.max(0,Y-1);for(;M>=0;M--)if(u[M]===Mt){Y=M,Z===!0&&Y++;break}if(M<0&&u[Y]!==void 0&&u[Y]!==Mt)return D.right(S,0);Y>=0&&S.setSelectionRange(Y,Y,"backward")},right(S,Y){const Z=S.value.length;let M=Math.min(Z,Y+1);for(;M<=Z;M++)if(u[M]===Mt){Y=M;break}else u[M-1]===Mt&&(Y=M);if(M>Z&&u[Y-1]!==void 0&&u[Y-1]!==Mt)return D.left(S,Z);S.setSelectionRange(Y,Y,"forward")},leftReverse(S,Y){const Z=v(S.value.length);let M=Math.max(0,Y-1);for(;M>=0;M--)if(Z[M-1]===Mt){Y=M;break}else if(Z[M]===Mt&&(Y=M,M===0))break;if(M<0&&Z[Y]!==void 0&&Z[Y]!==Mt)return D.rightReverse(S,0);Y>=0&&S.setSelectionRange(Y,Y,"backward")},rightReverse(S,Y){const Z=S.value.length,M=v(Z),U=M.slice(0,Y+1).indexOf(Mt)===-1;let B=Math.min(Z,Y+1);for(;B<=Z;B++)if(M[B-1]===Mt){Y=B,Y>0&&U===!0&&Y--;break}if(B>Z&&M[Y-1]!==void 0&&M[Y-1]!==Mt)return D.leftReverse(S,Z);S.setSelectionRange(Y,Y,"forward")}};function _(S){t("click",S),l=void 0}function w(S){if(t("keydown",S),Gl(S)===!0||S.altKey===!0)return;const Y=n.value,Z=Y.selectionStart,M=Y.selectionEnd;if(S.shiftKey||(l=void 0),S.keyCode===37||S.keyCode===39){S.shiftKey&&l===void 0&&(l=Y.selectionDirection==="forward"?Z:M);const U=D[(S.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(S.preventDefault(),U(Y,l===Z?M:Z),S.shiftKey){const B=Y.selectionStart;Y.setSelectionRange(Math.min(l,B),Math.max(l,B),"forward")}}else S.keyCode===8&&e.reverseFillMask!==!0&&Z===M?(D.left(Y,Z),Y.setSelectionRange(Y.selectionStart,M,"backward")):S.keyCode===46&&e.reverseFillMask===!0&&Z===M&&(D.rightReverse(Y,M),Y.setSelectionRange(Z,Y.selectionEnd,"forward"))}function F(S){if(S==null||S==="")return"";if(e.reverseFillMask===!0)return j(S);const Y=a;let Z=0,M="";for(let U=0;U<Y.length;U++){const B=S[Z],ne=Y[U];if(typeof ne=="string")M+=ne;else if(B!==void 0&&ne.regex.test(B))M+=ne.transform!==void 0?ne.transform(B):B,Z++;else return M}return M}function j(S){const Y=a,Z=u.indexOf(Mt);let M=S.length-1,U="";for(let B=Y.length-1;B>=0&&M!==-1;B--){const ne=Y[B];let L=S[M];if(typeof ne=="string")U=ne+U;else if(L!==void 0&&ne.regex.test(L))do U=(ne.transform!==void 0?ne.transform(L):L)+U,M--,L=S[M];while(Z===B&&L!==void 0&&ne.regex.test(L));else return U}return U}function z(S){return typeof S!="string"||o===void 0?typeof S=="number"?o(""+S):S:o(S)}function V(S){return i.length-S.length<=0?S:e.reverseFillMask===!0&&S.length!==0?i.slice(0,-S.length)+S:S+i.slice(S.length)}return{innerValue:f,hasMask:c,moveCursorForPaste:T,updateMaskValue:y,onMaskedKeydown:w,onMaskedClick:_}}const Bc={name:String};function kx(e){return W(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Sx(e={}){return(t,r,n)=>{t[r](G("input",{class:"hidden"+(n||""),...e.value}))}}function Tm(e){return W(()=>e.name||e.for)}function Ax(e,t){function r(){const n=e.modelValue;try{const u="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(n)===n&&("length"in n?Array.from(n):[n]).forEach(i=>{u.items.add(i)}),{files:u.files}}catch{return{files:void 0}}}return W(()=>{if(e.type==="file")return r()})}const Cx=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,_x=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Dx=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Ex=/[a-z0-9_ -]$/i;function Fm(e){return function(r){if(r.type==="compositionend"||r.type==="change"){if(r.target.qComposing!==!0)return;r.target.qComposing=!1,e(r)}else r.type==="compositionupdate"&&r.target.qComposing!==!0&&typeof r.data=="string"&&(Tt.is.firefox===!0?Ex.test(r.data)===!1:Cx.test(r.data)===!0||_x.test(r.data)===!0||Dx.test(r.data)===!0)===!0&&(r.target.qComposing=!0)}}const Ss=Kt({name:"QInput",inheritAttrs:!1,props:{...ko,...xx,...Bc,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Tc,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:r}){const{proxy:n}=gt(),{$q:u}=n,i={};let a=NaN,o,s,l=null,c;const f=xe(null),m=Tm(e),{innerValue:p,hasMask:v,moveCursorForPaste:x,updateMaskValue:y,onMaskedKeydown:T,onMaskedClick:D}=wx(e,t,L,f),_=Ax(e),w=W(()=>di(p.value)),F=Fm(B),j=Fc({changeEvent:!0}),z=W(()=>e.type==="textarea"||e.autogrow===!0),V=W(()=>z.value===!0||["text","search","url","tel","password"].includes(e.type)),S=W(()=>{const R={...j.splitAttrs.listeners.value,onInput:B,onPaste:U,onChange:N,onBlur:ue,onFocus:Jr};return R.onCompositionstart=R.onCompositionupdate=R.onCompositionend=F,v.value===!0&&(R.onKeydown=T,R.onClick=D),e.autogrow===!0&&(R.onAnimationend=ne),R}),Y=W(()=>{const R={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:m.value,...j.splitAttrs.attributes.value,id:j.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return z.value===!1&&(R.type=e.type),e.autogrow===!0&&(R.rows=1),R});Ne(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),Ne(()=>e.modelValue,R=>{if(v.value===!0){if(s===!0&&(s=!1,String(R)===a))return;y(R)}else p.value!==R&&(p.value=R,e.type==="number"&&i.hasOwnProperty("value")===!0&&(o===!0?o=!1:delete i.value));e.autogrow===!0&&pt(I)}),Ne(()=>e.autogrow,R=>{R===!0?pt(I):f.value!==null&&r.rows>0&&(f.value.style.height="auto")}),Ne(()=>e.dense,()=>{e.autogrow===!0&&pt(I)});function Z(){wo(()=>{const R=document.activeElement;f.value!==null&&f.value!==R&&(R===null||R.id!==j.targetUid.value)&&f.value.focus({preventScroll:!0})})}function M(){f.value?.select()}function U(R){if(v.value===!0&&e.reverseFillMask!==!0){const he=R.target;x(he,he.selectionStart,he.selectionEnd)}t("paste",R)}function B(R){if(!R||!R.target)return;if(e.type==="file"){t("update:modelValue",R.target.files);return}const he=R.target.value;if(R.target.qComposing===!0){i.value=he;return}if(v.value===!0)y(he,!1,R.inputType);else if(L(he),V.value===!0&&R.target===document.activeElement){const{selectionStart:Me,selectionEnd:Fe}=R.target;Me!==void 0&&Fe!==void 0&&pt(()=>{R.target===document.activeElement&&he.indexOf(R.target.value)===0&&R.target.setSelectionRange(Me,Fe)})}e.autogrow===!0&&I()}function ne(R){t("animationend",R),I()}function L(R,he){c=()=>{l=null,e.type!=="number"&&i.hasOwnProperty("value")===!0&&delete i.value,e.modelValue!==R&&a!==R&&(a=R,he===!0&&(s=!0),t("update:modelValue",R),pt(()=>{a===R&&(a=NaN)})),c=void 0},e.type==="number"&&(o=!0,i.value=R),e.debounce!==void 0?(l!==null&&clearTimeout(l),i.value=R,l=setTimeout(c,e.debounce)):c()}function I(){requestAnimationFrame(()=>{const R=f.value;if(R!==null){const he=R.parentNode.style,{scrollTop:Me}=R,{overflowY:Fe,maxHeight:oe}=u.platform.is.firefox===!0?{}:window.getComputedStyle(R),ve=Fe!==void 0&&Fe!=="scroll";ve===!0&&(R.style.overflowY="hidden"),he.marginBottom=R.scrollHeight-1+"px",R.style.height="1px",R.style.height=R.scrollHeight+"px",ve===!0&&(R.style.overflowY=parseInt(oe,10)<R.scrollHeight?"auto":"hidden"),he.marginBottom="",R.scrollTop=Me}})}function N(R){F(R),l!==null&&(clearTimeout(l),l=null),c?.(),t("change",R.target.value)}function ue(R){R!==void 0&&Jr(R),l!==null&&(clearTimeout(l),l=null),c?.(),o=!1,s=!1,delete i.value,e.type!=="file"&&setTimeout(()=>{f.value!==null&&(f.value.value=p.value!==void 0?p.value:"")})}function te(){return i.hasOwnProperty("value")===!0?i.value:p.value!==void 0?p.value:""}Wt(()=>{ue()}),fn(()=>{e.autogrow===!0&&I()}),Object.assign(j,{innerValue:p,fieldClass:W(()=>`q-${z.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:W(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:L,hasValue:w,floatingLabel:W(()=>w.value===!0&&(e.type!=="number"||isNaN(p.value)===!1)||di(e.displayValue)),getControl:()=>G(z.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...Y.value,...S.value,...e.type!=="file"?{value:te()}:_.value}),getShadowControl:()=>G("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(z.value===!0?"":" text-no-wrap")},[G("span",{class:"invisible"},te()),G("span",e.shadowText)])});const H=zc(j);return Object.assign(n,{focus:Z,select:M,getNativeElement:()=>f.value}),bu(n,"nativeEl",()=>f.value),H}});function Mx(){let e=Object.create(null);return{getCache:(t,r)=>e[t]===void 0?e[t]=typeof r=="function"?r():r:e[t],setCache(t,r){e[t]=r},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}const Zn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function Tx(e,t,r){return Object.prototype.toString.call(e)==="[object Date]"&&(r=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Ox(Oc(e,t,r))}function wd(e,t,r){return Bm(Bx(e,t,r))}function Fx(e){return zx(e)===0}function fa(e,t){return t<=6?31:t<=11||Fx(e)?30:29}function zx(e){const t=Zn.length;let r=Zn[0],n,u,i,a,o;if(e<r||e>=Zn[t-1])throw new Error("Invalid Jalaali year "+e);for(o=1;o<t&&(n=Zn[o],u=n-r,!(e<n));o+=1)r=n;return a=e-r,u-a<6&&(a=a-u+mt(u+4,33)*33),i=pr(pr(a+1,33)-1,4),i===-1&&(i=4),i}function zm(e,t){const r=Zn.length,n=e+621;let u=-14,i=Zn[0],a,o,s,l,c;if(e<i||e>=Zn[r-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<r&&(a=Zn[c],o=a-i,!(e<a));c+=1)u=u+mt(o,33)*8+mt(pr(o,33),4),i=a;l=e-i,u=u+mt(l,33)*8+mt(pr(l,33)+3,4),pr(o,33)===4&&o-l===4&&(u+=1);const f=mt(n,4)-mt((mt(n,100)+1)*3,4)-150,m=20+u-f;return t||(o-l<6&&(l=l-o+mt(o+4,33)*33),s=pr(pr(l+1,33)-1,4),s===-1&&(s=4)),{leap:s,gy:n,march:m}}function Bx(e,t,r){const n=zm(e,!0);return Oc(n.gy,3,n.march)+(t-1)*31-mt(t,7)*(t-7)+r-1}function Ox(e){const t=Bm(e).gy;let r=t-621,n,u,i;const a=zm(r,!1),o=Oc(t,3,a.march);if(i=e-o,i>=0){if(i<=185)return u=1+mt(i,31),n=pr(i,31)+1,{jy:r,jm:u,jd:n};i-=186}else r-=1,i+=179,a.leap===1&&(i+=1);return u=7+mt(i,30),n=pr(i,30)+1,{jy:r,jm:u,jd:n}}function Oc(e,t,r){let n=mt((e+mt(t-8,6)+100100)*1461,4)+mt(153*pr(t+9,12)+2,5)+r-34840408;return n=n-mt(mt(e+100100+mt(t-8,6),100)*3,4)+752,n}function Bm(e){let t=4*e+139361631;t=t+mt(mt(4*e+183187720,146097)*3,4)*4-3908;const r=mt(pr(t,1461),4)*5+308,n=mt(pr(r,153),5)+1,u=pr(mt(r,153),12)+1;return{gy:mt(t,1461)-100100+mt(8-u,6),gm:u,gd:n}}function mt(e,t){return~~(e/t)}function pr(e,t){return e-~~(e/t)*t}function Rx(e){return e.charAt(0).toUpperCase()+e.slice(1)}function kd(e,t,r){if(r<=t)return t;const n=r-t+1;let u=t+(e-t)%n;return u<t&&(u=n+u),u===0?0:u}function at(e,t=2,r="0"){if(e==null)return e;const n=""+e;return n.length>=t?n:new Array(t-n.length+1).join(r)+n}const qx=["gregorian","persian"],Sd={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>qx.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Lx=["update:modelValue"];function Pn(e){return e.year+"/"+at(e.month)+"/"+at(e.day)}function Px(e,t){const r=W(()=>e.disable!==!0&&e.readonly!==!0),n=W(()=>r.value===!0?0:-1),u=W(()=>{const o=[];return e.color!==void 0&&o.push(`bg-${e.color}`),e.textColor!==void 0&&o.push(`text-${e.textColor}`),o.join(" ")});function i(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function a(o){const s=new Date,l=o===!0?null:0;if(e.calendar==="persian"){const c=Tx(s);return{year:c.jy,month:c.jm,day:c.jd}}return{year:s.getFullYear(),month:s.getMonth()+1,day:s.getDate(),hour:l,minute:l,second:l,millisecond:l}}return{editable:r,tabindex:n,headerClass:u,getLocale:i,getCurrentDate:a}}const Om=864e5,Ix=36e5,bl=6e4,Rm="YYYY-MM-DDTHH:mm:ss.SSSZ",Nx=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,Hx=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,As={};function Vx(e,t){const r="("+t.days.join("|")+")",n=e+r;if(As[n]!==void 0)return As[n];const u="("+t.daysShort.join("|")+")",i="("+t.months.join("|")+")",a="("+t.monthsShort.join("|")+")",o={};let s=0;const l=e.replace(Hx,f=>{switch(s++,f){case"YY":return o.YY=s,"(-?\\d{1,2})";case"YYYY":return o.YYYY=s,"(-?\\d{1,4})";case"M":return o.M=s,"(\\d{1,2})";case"Mo":return o.M=s++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return o.M=s,"(\\d{2})";case"MMM":return o.MMM=s,a;case"MMMM":return o.MMMM=s,i;case"D":return o.D=s,"(\\d{1,2})";case"Do":return o.D=s++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return o.D=s,"(\\d{2})";case"H":return o.H=s,"(\\d{1,2})";case"HH":return o.H=s,"(\\d{2})";case"h":return o.h=s,"(\\d{1,2})";case"hh":return o.h=s,"(\\d{2})";case"m":return o.m=s,"(\\d{1,2})";case"mm":return o.m=s,"(\\d{2})";case"s":return o.s=s,"(\\d{1,2})";case"ss":return o.s=s,"(\\d{2})";case"S":return o.S=s,"(\\d{1})";case"SS":return o.S=s,"(\\d{2})";case"SSS":return o.S=s,"(\\d{3})";case"A":return o.A=s,"(AM|PM)";case"a":return o.a=s,"(am|pm)";case"aa":return o.aa=s,"(a\\.m\\.|p\\.m\\.)";case"ddd":return u;case"dddd":return r;case"Q":case"d":case"E":return"(\\d{1})";case"do":return s++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return s++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return s++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return o.Z=s,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return o.ZZ=s,"(Z|[+-]\\d{2}\\d{2})";case"X":return o.X=s,"(-?\\d+)";case"x":return o.x=s,"(-?\\d{4,})";default:return s--,f[0]==="["&&(f=f.substring(1,f.length-1)),f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:o,regex:new RegExp("^"+l)};return As[n]=c,c}function qm(e,t){return e!==void 0?e:t!==void 0?t.date:Ys.date}function Ad(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),u=Math.floor(n/60),i=n%60;return r+at(u)+t+at(i)}function Ux(e,t,r){let n=e.getFullYear(),u=e.getMonth();const i=e.getDate();return t.year!==void 0&&(n+=r*t.year,delete t.year),t.month!==void 0&&(u+=r*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(n),e.setMonth(u),e.setDate(Math.min(i,Lc(e))),t.date!==void 0&&(e.setDate(e.getDate()+r*t.date),delete t.date),e}function jx(e,t,r){const n=t.year!==void 0?t.year:e[`get${r}FullYear`](),u=t.month!==void 0?t.month-1:e[`get${r}Month`](),i=new Date(n,u+1,0).getDate(),a=Math.min(i,t.date!==void 0?t.date:e[`get${r}Date`]());return e[`set${r}Date`](1),e[`set${r}Month`](2),e[`set${r}FullYear`](n),e[`set${r}Month`](u),e[`set${r}Date`](a),delete t.year,delete t.month,delete t.date,e}function Rc(e,t,r){const n=Lm(t),u=new Date(e),i=n.year!==void 0||n.month!==void 0||n.date!==void 0?Ux(u,n,r):u;for(const a in n){const o=Rx(a);i[`set${o}`](i[`get${o}`]()+r*n[a])}return i}function Lm(e){const t={...e};return e.years!==void 0&&(t.year=e.years,delete t.years),e.months!==void 0&&(t.month=e.months,delete t.months),e.days!==void 0&&(t.date=e.days,delete t.days),e.day!==void 0&&(t.date=e.day,delete t.day),e.hour!==void 0&&(t.hours=e.hour,delete t.hour),e.minute!==void 0&&(t.minutes=e.minute,delete t.minute),e.second!==void 0&&(t.seconds=e.second,delete t.second),e.millisecond!==void 0&&(t.milliseconds=e.millisecond,delete t.millisecond),t}function Pm(e,t,r){const n=Lm(t),u=r===!0?"UTC":"",i=new Date(e),a=n.year!==void 0||n.month!==void 0||n.date!==void 0?jx(i,n,u):i;for(const o in n){const s=o.charAt(0).toUpperCase()+o.slice(1);a[`set${u}${s}`](n[o])}return a}function $x(e,t,r){const n=Im(e,t,r),u=new Date(n.year,n.month===null?null:n.month-1,n.day===null?1:n.day,n.hour,n.minute,n.second,n.millisecond),i=u.getTimezoneOffset();return n.timezoneOffset===null||n.timezoneOffset===i?u:Rc(u,{minutes:n.timezoneOffset-i},1)}function Im(e,t,r,n,u){const i={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(u!==void 0&&Object.assign(i,u),e==null||e===""||typeof e!="string")return i;t===void 0&&(t=Rm);const a=qm(r,en.props),o=a.months,s=a.monthsShort,{regex:l,map:c}=Vx(t,a),f=e.match(l);if(f===null)return i;let m="";if(c.X!==void 0||c.x!==void 0){const p=parseInt(f[c.X!==void 0?c.X:c.x],10);if(isNaN(p)===!0||p<0)return i;const v=new Date(p*(c.X!==void 0?1e3:1));i.year=v.getFullYear(),i.month=v.getMonth()+1,i.day=v.getDate(),i.hour=v.getHours(),i.minute=v.getMinutes(),i.second=v.getSeconds(),i.millisecond=v.getMilliseconds()}else{if(c.YYYY!==void 0)i.year=parseInt(f[c.YYYY],10);else if(c.YY!==void 0){const p=parseInt(f[c.YY],10);i.year=p<0?p:2e3+p}if(c.M!==void 0){if(i.month=parseInt(f[c.M],10),i.month<1||i.month>12)return i}else c.MMM!==void 0?i.month=s.indexOf(f[c.MMM])+1:c.MMMM!==void 0&&(i.month=o.indexOf(f[c.MMMM])+1);if(c.D!==void 0){if(i.day=parseInt(f[c.D],10),i.year===null||i.month===null||i.day<1)return i;const p=n!=="persian"?new Date(i.year,i.month,0).getDate():fa(i.year,i.month);if(i.day>p)return i}c.H!==void 0?i.hour=parseInt(f[c.H],10)%24:c.h!==void 0&&(i.hour=parseInt(f[c.h],10)%12,(c.A&&f[c.A]==="PM"||c.a&&f[c.a]==="pm"||c.aa&&f[c.aa]==="p.m.")&&(i.hour+=12),i.hour=i.hour%24),c.m!==void 0&&(i.minute=parseInt(f[c.m],10)%60),c.s!==void 0&&(i.second=parseInt(f[c.s],10)%60),c.S!==void 0&&(i.millisecond=parseInt(f[c.S],10)*10**(3-f[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(m=c.Z!==void 0?f[c.Z].replace(":",""):f[c.ZZ],i.timezoneOffset=(m[0]==="+"?-1:1)*(60*m.slice(1,3)+1*m.slice(3,5)))}return i.dateHash=at(i.year,4)+"/"+at(i.month)+"/"+at(i.day),i.timeHash=at(i.hour)+":"+at(i.minute)+":"+at(i.second)+m,i}function Yx(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Gx(e,t){return Pm(new Date,e,t)}function Wx(e){const t=new Date(e).getDay();return t===0?7:t}function da(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const r=new Date(t.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);const n=t.getTimezoneOffset()-r.getTimezoneOffset();t.setHours(t.getHours()-n);const u=(t-r)/(Om*7);return 1+Math.floor(u)}function Kx(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Cs(e,t){const r=new Date(e);return t===!0?Kx(r):r.getTime()}function Zx(e,t,r,n={}){const u=Cs(t,n.onlyDate),i=Cs(r,n.onlyDate),a=Cs(e,n.onlyDate);return(a>u||n.inclusiveFrom===!0&&a===u)&&(a<i||n.inclusiveTo===!0&&a===i)}function Qx(e,t){return Rc(e,t,1)}function Xx(e,t){return Rc(e,t,-1)}function Qr(e,t,r){const n=new Date(e),u=`set${r===!0?"UTC":""}`;switch(t){case"year":case"years":n[`${u}Month`](0);case"month":case"months":n[`${u}Date`](1);case"day":case"days":case"date":n[`${u}Hours`](0);case"hour":case"hours":n[`${u}Minutes`](0);case"minute":case"minutes":n[`${u}Seconds`](0);case"second":case"seconds":n[`${u}Milliseconds`](0)}return n}function Jx(e,t,r){const n=new Date(e),u=`set${r===!0?"UTC":""}`;switch(t){case"year":case"years":n[`${u}Month`](11);case"month":case"months":n[`${u}Date`](Lc(n));case"day":case"days":case"date":n[`${u}Hours`](23);case"hour":case"hours":n[`${u}Minutes`](59);case"minute":case"minutes":n[`${u}Seconds`](59);case"second":case"seconds":n[`${u}Milliseconds`](999)}return n}function ew(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(r=>{t=Math.max(t,new Date(r))}),t}function tw(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(r=>{t=Math.min(t,new Date(r))}),t}function Xi(e,t,r){return(e.getTime()-e.getTimezoneOffset()*bl-(t.getTime()-t.getTimezoneOffset()*bl))/r}function qc(e,t,r="days"){const n=new Date(e),u=new Date(t);switch(r){case"years":case"year":return n.getFullYear()-u.getFullYear();case"months":case"month":return(n.getFullYear()-u.getFullYear())*12+n.getMonth()-u.getMonth();case"days":case"day":case"date":return Xi(Qr(n,"day"),Qr(u,"day"),Om);case"hours":case"hour":return Xi(Qr(n,"hour"),Qr(u,"hour"),Ix);case"minutes":case"minute":return Xi(Qr(n,"minute"),Qr(u,"minute"),bl);case"seconds":case"second":return Xi(Qr(n,"second"),Qr(u,"second"),1e3)}}function ha(e){return qc(e,Qr(e,"year"),"days")+1}function rw(e){return d2(e)===!0?"date":typeof e=="number"?"number":"string"}function nw(e,t,r){const n=new Date(e);if(t){const u=new Date(t);if(n<u)return u}if(r){const u=new Date(r);if(n>u)return u}return n}function uw(e,t,r){const n=new Date(e),u=new Date(t);if(r===void 0)return n.getTime()===u.getTime();switch(r){case"second":case"seconds":if(n.getSeconds()!==u.getSeconds())return!1;case"minute":case"minutes":if(n.getMinutes()!==u.getMinutes())return!1;case"hour":case"hours":if(n.getHours()!==u.getHours())return!1;case"day":case"days":case"date":if(n.getDate()!==u.getDate())return!1;case"month":case"months":if(n.getMonth()!==u.getMonth())return!1;case"year":case"years":if(n.getFullYear()!==u.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${r}`)}return!0}function Lc(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function X0(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const Cd={YY(e,t,r){const n=this.YYYY(e,t,r)%100;return n>=0?at(n):"-"+at(Math.abs(n))},YYYY(e,t,r){return r??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return X0(e.getMonth()+1)},MM(e){return at(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return X0(this.Q(e))},D(e){return e.getDate()},Do(e){return X0(e.getDate())},DD(e){return at(e.getDate())},DDD(e){return ha(e)},DDDo(e){return X0(ha(e))},DDDD(e){return at(ha(e),3)},d(e){return e.getDay()},do(e){return X0(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return da(e)},wo(e){return X0(da(e))},ww(e){return at(da(e))},H(e){return e.getHours()},HH(e){return at(e.getHours())},h(e){const t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return at(this.h(e))},m(e){return e.getMinutes()},mm(e){return at(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return at(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return at(Math.floor(e.getMilliseconds()/10))},SSS(e){return at(e.getMilliseconds(),3)},A(e){return e.getHours()<12?"AM":"PM"},a(e){return e.getHours()<12?"am":"pm"},aa(e){return e.getHours()<12?"a.m.":"p.m."},Z(e,t,r,n){const u=n??e.getTimezoneOffset();return Ad(u,":")},ZZ(e,t,r,n){const u=n??e.getTimezoneOffset();return Ad(u)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function Nm(e,t,r,n,u){if(e!==0&&!e||e===1/0||e===-1/0)return;const i=new Date(e);if(isNaN(i))return;t===void 0&&(t=Rm);const a=qm(r,en.props);return t.replace(Nx,(o,s)=>o in Cd?Cd[o](i,a,n,u):s===void 0?o:s.split("\\]").join("]"))}function iw(e){return d2(e)===!0?new Date(e.getTime()):e}const x0={isValid:Yx,extractDate:$x,buildDate:Gx,getDayOfWeek:Wx,getWeekOfYear:da,isBetweenDates:Zx,addToDate:Qx,subtractFromDate:Xx,adjustDate:Pm,startOfDate:Qr,endOfDate:Jx,getMaxDate:ew,getMinDate:tw,getDateDiff:qc,getDayOfYear:ha,inferDateFormat:rw,getDateBetween:nw,isSameDate:uw,daysInMonth:Lc,formatDate:Nm,clone:iw},wn=20,aw=["Calendar","Years","Months"],_d=e=>aw.includes(e),_s=e=>/^-?[\d]+\/[0-1]\d$/.test(e),J0=" — ";function In(e){return e.year+"/"+at(e.month)}const Dd=Kt({name:"QDate",props:{...Sd,...Bc,...Ei,modelValue:{required:!0,validator:e=>typeof e=="string"||Array.isArray(e)===!0||Object(e)===e||e===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...Sd.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:_s},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:_s},navigationMaxYearMonth:{type:String,validator:_s},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:_d}},emits:[...Lx,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:r}){const{proxy:n}=gt(),{$q:u}=n,i=Mi(e,u),{getCache:a}=Mx(),{tabindex:o,headerClass:s,getLocale:l,getCurrentDate:c}=Px(e,u);let f;const m=kx(e),p=Sx(m),v=xe(null),x=xe(Dt()),y=xe(l()),T=W(()=>Dt()),D=W(()=>l()),_=W(()=>c()),w=xe(Et(x.value,y.value)),F=xe(e.defaultView),j=W(()=>u.lang.rtl===!0?"right":"left"),z=xe(j.value),V=xe(j.value),S=w.value.year,Y=xe(S-S%wn-(S<0?wn:0)),Z=xe(null),M=W(()=>{const k=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${k} q-date--${k}-${e.minimal===!0?"minimal":"standard"}`+(i.value===!0?" q-date--dark q-dark":"")+(e.bordered===!0?" q-date--bordered":"")+(e.square===!0?" q-date--square no-border-radius":"")+(e.flat===!0?" q-date--flat no-shadow":"")+(e.disable===!0?" disabled":e.readonly===!0?" q-date--readonly":"")}),U=W(()=>e.color||"primary"),B=W(()=>e.textColor||"white"),ne=W(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),L=W(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),I=W(()=>L.value.filter(k=>typeof k=="string").map(k=>lt(k,x.value,y.value)).filter(k=>k.dateHash!==null&&k.day!==null&&k.month!==null&&k.year!==null)),N=W(()=>{const k=$=>lt($,x.value,y.value);return L.value.filter($=>n0($)===!0&&$.from!==void 0&&$.to!==void 0).map($=>({from:k($.from),to:k($.to)})).filter($=>$.from.dateHash!==null&&$.to.dateHash!==null&&$.from.dateHash<$.to.dateHash)}),ue=W(()=>e.calendar!=="persian"?k=>new Date(k.year,k.month-1,k.day):k=>{const $=wd(k.year,k.month,k.day);return new Date($.gy,$.gm-1,$.gd)}),te=W(()=>e.calendar==="persian"?Pn:(k,$,J)=>Nm(new Date(k.year,k.month-1,k.day,k.hour,k.minute,k.second,k.millisecond),$===void 0?x.value:$,J===void 0?y.value:J,k.year,k.timezoneOffset)),H=W(()=>I.value.length+N.value.reduce((k,$)=>k+1+qc(ue.value($.to),ue.value($.from)),0)),R=W(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(Z.value!==null){const J=Z.value.init,we=ue.value(J);return y.value.daysShort[we.getDay()]+", "+y.value.monthsShort[J.month-1]+" "+J.day+J0+"?"}if(H.value===0)return J0;if(H.value>1)return`${H.value} ${y.value.pluralDay}`;const k=I.value[0],$=ue.value(k);return isNaN($.valueOf())===!0?J0:y.value.headerTitle!==void 0?y.value.headerTitle($,k):y.value.daysShort[$.getDay()]+", "+y.value.monthsShort[k.month-1]+" "+k.day}),he=W(()=>I.value.concat(N.value.map($=>$.from)).sort(($,J)=>$.year-J.year||$.month-J.month)[0]),Me=W(()=>I.value.concat(N.value.map($=>$.to)).sort(($,J)=>J.year-$.year||J.month-$.month)[0]),Fe=W(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(H.value===0)return J0;if(H.value>1){const k=he.value,$=Me.value,J=y.value.monthsShort;return J[k.month-1]+(k.year!==$.year?" "+k.year+J0+J[$.month-1]+" ":k.month!==$.month?J0+J[$.month-1]:"")+" "+$.year}return I.value[0].year}),oe=W(()=>{const k=[u.iconSet.datetime.arrowLeft,u.iconSet.datetime.arrowRight];return u.lang.rtl===!0?k.reverse():k}),ve=W(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),Ue=W(()=>{const k=y.value.daysShort,$=ve.value;return $>0?k.slice($,7).concat(k.slice(0,$)):k}),de=W(()=>{const k=w.value;return e.calendar!=="persian"?new Date(k.year,k.month,0).getDate():fa(k.year,k.month)}),Ke=W(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),ut=W(()=>{if(e.navigationMinYearMonth===void 0)return null;const k=e.navigationMinYearMonth.split("/");return{year:parseInt(k[0],10),month:parseInt(k[1],10)}}),A=W(()=>{if(e.navigationMaxYearMonth===void 0)return null;const k=e.navigationMaxYearMonth.split("/");return{year:parseInt(k[0],10),month:parseInt(k[1],10)}}),O=W(()=>{const k={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return ut.value!==null&&ut.value.year>=w.value.year&&(k.year.prev=!1,ut.value.year===w.value.year&&ut.value.month>=w.value.month&&(k.month.prev=!1)),A.value!==null&&A.value.year<=w.value.year&&(k.year.next=!1,A.value.year===w.value.year&&A.value.month<=w.value.month&&(k.month.next=!1)),k}),Q=W(()=>{const k={};return I.value.forEach($=>{const J=In($);k[J]===void 0&&(k[J]=[]),k[J].push($.day)}),k}),ie=W(()=>{const k={};return N.value.forEach($=>{const J=In($.from),we=In($.to);if(k[J]===void 0&&(k[J]=[]),k[J].push({from:$.from.day,to:J===we?$.to.day:void 0,range:$}),J<we){let Se;const{year:$e,month:Ee}=$.from,Pe=Ee<12?{year:$e,month:Ee+1}:{year:$e+1,month:1};for(;(Se=In(Pe))<=we;)k[Se]===void 0&&(k[Se]=[]),k[Se].push({from:void 0,to:Se===we?$.to.day:void 0,range:$}),Pe.month++,Pe.month>12&&(Pe.year++,Pe.month=1)}}),k}),re=W(()=>{if(Z.value===null)return;const{init:k,initHash:$,final:J,finalHash:we}=Z.value,[Se,$e]=$<=we?[k,J]:[J,k],Ee=In(Se),Pe=In($e);if(Ee!==ee.value&&Pe!==ee.value)return;const Je={};return Ee===ee.value?(Je.from=Se.day,Je.includeFrom=!0):Je.from=1,Pe===ee.value?(Je.to=$e.day,Je.includeTo=!0):Je.to=de.value,Je}),ee=W(()=>In(w.value)),ge=W(()=>{const k={};if(e.options===void 0){for(let J=1;J<=de.value;J++)k[J]=!0;return k}const $=typeof e.options=="function"?e.options:J=>e.options.includes(J);for(let J=1;J<=de.value;J++){const we=ee.value+"/"+at(J);k[J]=$(we)}return k}),me=W(()=>{const k={};if(e.events===void 0)for(let $=1;$<=de.value;$++)k[$]=!1;else{const $=typeof e.events=="function"?e.events:J=>e.events.includes(J);for(let J=1;J<=de.value;J++){const we=ee.value+"/"+at(J);k[J]=$(we)===!0&&Ke.value(we)}}return k}),pe=W(()=>{let k,$;const{year:J,month:we}=w.value;if(e.calendar!=="persian")k=new Date(J,we-1,1),$=new Date(J,we-1,0).getDate();else{const Se=wd(J,we,1);k=new Date(Se.gy,Se.gm-1,Se.gd);let $e=we-1,Ee=J;$e===0&&($e=12,Ee--),$=fa(Ee,$e)}return{days:k.getDay()-ve.value-1,endDay:$}}),ae=W(()=>{const k=[],{days:$,endDay:J}=pe.value,we=$<0?$+7:$;if(we<6)for(let Ee=J-we;Ee<=J;Ee++)k.push({i:Ee,fill:!0});const Se=k.length;for(let Ee=1;Ee<=de.value;Ee++){const Pe={i:Ee,event:me.value[Ee],classes:[]};ge.value[Ee]===!0&&(Pe.in=!0,Pe.flat=!0),k.push(Pe)}if(Q.value[ee.value]!==void 0&&Q.value[ee.value].forEach(Ee=>{const Pe=Se+Ee-1;Object.assign(k[Pe],{selected:!0,unelevated:!0,flat:!1,color:U.value,textColor:B.value})}),ie.value[ee.value]!==void 0&&ie.value[ee.value].forEach(Ee=>{if(Ee.from!==void 0){const Pe=Se+Ee.from-1,Je=Se+(Ee.to||de.value)-1;for(let xr=Pe;xr<=Je;xr++)Object.assign(k[xr],{range:Ee.range,unelevated:!0,color:U.value,textColor:B.value});Object.assign(k[Pe],{rangeFrom:!0,flat:!1}),Ee.to!==void 0&&Object.assign(k[Je],{rangeTo:!0,flat:!1})}else if(Ee.to!==void 0){const Pe=Se+Ee.to-1;for(let Je=Se;Je<=Pe;Je++)Object.assign(k[Je],{range:Ee.range,unelevated:!0,color:U.value,textColor:B.value});Object.assign(k[Pe],{flat:!1,rangeTo:!0})}else{const Pe=Se+de.value-1;for(let Je=Se;Je<=Pe;Je++)Object.assign(k[Je],{range:Ee.range,unelevated:!0,color:U.value,textColor:B.value})}}),re.value!==void 0){const Ee=Se+re.value.from-1,Pe=Se+re.value.to-1;for(let Je=Ee;Je<=Pe;Je++)k[Je].color=U.value,k[Je].editRange=!0;re.value.includeFrom===!0&&(k[Ee].editRangeFrom=!0),re.value.includeTo===!0&&(k[Pe].editRangeTo=!0)}w.value.year===_.value.year&&w.value.month===_.value.month&&(k[Se+_.value.day-1].today=!0);const $e=k.length%7;if($e>0){const Ee=7-$e;for(let Pe=1;Pe<=Ee;Pe++)k.push({i:Pe,fill:!0})}return k.forEach(Ee=>{let Pe="q-date__calendar-item ";Ee.fill===!0?Pe+="q-date__calendar-item--fill":(Pe+=`q-date__calendar-item--${Ee.in===!0?"in":"out"}`,Ee.range!==void 0&&(Pe+=` q-date__range${Ee.rangeTo===!0?"-to":Ee.rangeFrom===!0?"-from":""}`),Ee.editRange===!0&&(Pe+=` q-date__edit-range${Ee.editRangeFrom===!0?"-from":""}${Ee.editRangeTo===!0?"-to":""}`),(Ee.range!==void 0||Ee.editRange===!0)&&(Pe+=` text-${Ee.color}`)),Ee.classes=Pe}),k}),Ae=W(()=>e.disable===!0?{"aria-disabled":"true"}:{});Ne(()=>e.modelValue,k=>{if(f===JSON.stringify(k))f=0;else{const $=Et(x.value,y.value);gn($.year,$.month,$)}}),Ne(F,()=>{v.value!==null&&n.$el.contains(document.activeElement)===!0&&v.value.focus()}),Ne(()=>w.value.year+"|"+w.value.month,()=>{r("navigation",{year:w.value.year,month:w.value.month})}),Ne(T,k=>{f0(k,y.value,"mask"),x.value=k}),Ne(D,k=>{f0(x.value,k,"locale"),y.value=k});function be(k){f=JSON.stringify(k)}function Te(){const{year:k,month:$,day:J}=_.value,we={...w.value,year:k,month:$,day:J},Se=Q.value[In(we)];(Se===void 0||Se.includes(we.day)===!1)&&Cu(we),Ze(we.year,we.month)}function qe(k){_d(k)===!0&&(F.value=k)}function Ye(k,$){["month","year"].includes(k)&&(k==="month"?jr:$r)($===!0?-1:1)}function Ze(k,$){F.value="Calendar",gn(k,$)}function Xe(k,$){if(e.range===!1||!k){Z.value=null;return}const J=Object.assign({...w.value},k),we=$!==void 0?Object.assign({...w.value},$):J;Z.value={init:J,initHash:Pn(J),final:we,finalHash:Pn(we)},Ze(J.year,J.month)}function Dt(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function lt(k,$,J){return Im(k,$,J,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Et(k,$){const J=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(J.length===0)return Ot();const we=J[J.length-1],Se=lt(we.from!==void 0?we.from:we,k,$);return Se.dateHash===null?Ot():Se}function Ot(){let k,$;if(e.defaultYearMonth!==void 0){const J=e.defaultYearMonth.split("/");k=parseInt(J[0],10),$=parseInt(J[1],10)}else{const J=_.value!==void 0?_.value:c();k=J.year,$=J.month}return{year:k,month:$,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:k+"/"+at($)+"/01"}}function jr(k){let $=w.value.year,J=Number(w.value.month)+k;J===13?(J=1,$++):J===0&&(J=12,$--),gn($,J),ne.value===!0&&H0("month")}function $r(k){const $=Number(w.value.year)+k;gn($,w.value.month),ne.value===!0&&H0("year")}function Rt(k){gn(k,w.value.month),F.value=e.defaultView==="Years"?"Months":"Calendar",ne.value===!0&&H0("year")}function Zt(k){gn(w.value.year,k),F.value="Calendar",ne.value===!0&&H0("month")}function c0(k,$){(Q.value[$]?.includes(k.day)===!0?V0:Cu)(k)}function dr(k){return{year:k.year,month:k.month,day:k.day}}function gn(k,$,J){if(ut.value!==null&&k<=ut.value.year&&(($<ut.value.month||k<ut.value.year)&&($=ut.value.month),k=ut.value.year),A.value!==null&&k>=A.value.year&&(($>A.value.month||k>A.value.year)&&($=A.value.month),k=A.value.year),J!==void 0){const{hour:Se,minute:$e,second:Ee,millisecond:Pe,timezoneOffset:Je,timeHash:xr}=J;Object.assign(w.value,{hour:Se,minute:$e,second:Ee,millisecond:Pe,timezoneOffset:Je,timeHash:xr})}const we=k+"/"+at($)+"/01";we!==w.value.dateHash&&(z.value=w.value.dateHash<we==(u.lang.rtl!==!0)?"left":"right",k!==w.value.year&&(V.value=z.value),pt(()=>{Y.value=k-k%wn-(k<0?wn:0),Object.assign(w.value,{year:k,month:$,day:1,dateHash:we})}))}function Au(k,$,J){const we=k!==null&&k.length===1&&e.multiple===!1?k[0]:k,{reason:Se,details:$e}=Ti($,J);be(we),r("update:modelValue",we,Se,$e)}function H0(k){const $=I.value[0]!==void 0&&I.value[0].dateHash!==null?{...I.value[0]}:{...w.value};pt(()=>{$.year=w.value.year,$.month=w.value.month;const J=e.calendar!=="persian"?new Date($.year,$.month,0).getDate():fa($.year,$.month);$.day=Math.min(Math.max(1,$.day),J);const we=bn($),{details:Se}=Ti("",$);be(we),r("update:modelValue",we,k,Se)})}function Ti(k,$){return $.from!==void 0?{reason:`${k}-range`,details:{...dr($.target),from:dr($.from),to:dr($.to)}}:{reason:`${k}-day`,details:dr($)}}function bn(k,$,J){return k.from!==void 0?{from:te.value(k.from,$,J),to:te.value(k.to,$,J)}:te.value(k,$,J)}function Cu(k){let $;if(e.multiple===!0)if(k.from!==void 0){const J=Pn(k.from),we=Pn(k.to),Se=I.value.filter(Ee=>Ee.dateHash<J||Ee.dateHash>we),$e=N.value.filter(({from:Ee,to:Pe})=>Pe.dateHash<J||Ee.dateHash>we);$=Se.concat($e).concat(k).map(Ee=>bn(Ee))}else{const J=L.value.slice();J.push(bn(k)),$=J}else $=bn(k);Au($,"add",k)}function V0(k){if(e.noUnset===!0)return;let $=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){const J=bn(k);k.from!==void 0?$=e.modelValue.filter(we=>we.from!==void 0?we.from!==J.from&&we.to!==J.to:!0):$=e.modelValue.filter(we=>we!==J),$.length===0&&($=null)}Au($,"remove",k)}function f0(k,$,J){const we=I.value.concat(N.value).map($e=>bn($e,k,$)).filter($e=>$e.from!==void 0?$e.from.dateHash!==null&&$e.to.dateHash!==null:$e.dateHash!==null),Se=(e.multiple===!0?we:we[0])||null;be(Se),r("update:modelValue",Se,J)}function d0(){if(e.minimal!==!0)return G("div",{class:"q-date__header "+s.value},[G("div",{class:"relative-position"},[G(Ar,{name:"q-transition--fade"},()=>G("div",{key:"h-yr-"+Fe.value,class:"q-date__header-subtitle q-date__header-link "+(F.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:o.value,...a("vY",{onClick(){F.value="Years"},onKeyup(k){k.keyCode===13&&(F.value="Years")}})},[Fe.value]))]),G("div",{class:"q-date__header-title relative-position flex no-wrap"},[G("div",{class:"relative-position col"},[G(Ar,{name:"q-transition--fade"},()=>G("div",{key:"h-sub"+R.value,class:"q-date__header-title-label q-date__header-link "+(F.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:o.value,...a("vC",{onClick(){F.value="Calendar"},onKeyup(k){k.keyCode===13&&(F.value="Calendar")}})},[R.value]))]),e.todayBtn===!0?G(Br,{class:"q-date__header-today self-start",icon:u.iconSet.datetime.today,"aria-label":u.lang.date.today,flat:!0,size:"sm",round:!0,tabindex:o.value,onClick:Te}):null])])}function Yr({label:k,type:$,key:J,dir:we,goTo:Se,boundaries:$e,cls:Ee}){return[G("div",{class:"row items-center q-date__arrow"},[G(Br,{round:!0,dense:!0,size:"sm",flat:!0,icon:oe.value[0],"aria-label":$==="Years"?u.lang.date.prevYear:u.lang.date.prevMonth,tabindex:o.value,disable:$e.prev===!1,...a("go-#"+$,{onClick(){Se(-1)}})})]),G("div",{class:"relative-position overflow-hidden flex flex-center"+Ee},[G(Ar,{name:"q-transition--jump-"+we},()=>G("div",{key:J},[G(Br,{flat:!0,dense:!0,noCaps:!0,label:k,tabindex:o.value,...a("view#"+$,{onClick:()=>{F.value=$}})})]))]),G("div",{class:"row items-center q-date__arrow"},[G(Br,{round:!0,dense:!0,size:"sm",flat:!0,icon:oe.value[1],"aria-label":$==="Years"?u.lang.date.nextYear:u.lang.date.nextMonth,tabindex:o.value,disable:$e.next===!1,...a("go+#"+$,{onClick(){Se(1)}})})])]}const So={Calendar:()=>[G("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[G("div",{class:"q-date__navigation row items-center no-wrap"},Yr({label:y.value.months[w.value.month-1],type:"Months",key:w.value.month,dir:z.value,goTo:jr,boundaries:O.value.month,cls:" col"}).concat(Yr({label:w.value.year,type:"Years",key:w.value.year,dir:V.value,goTo:$r,boundaries:O.value.year,cls:""}))),G("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},Ue.value.map(k=>G("div",{class:"q-date__calendar-item"},[G("div",k)]))),G("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[G(Ar,{name:"q-transition--slide-"+z.value},()=>G("div",{key:ee.value,class:"q-date__calendar-days fit"},ae.value.map(k=>G("div",{class:k.classes},[k.in===!0?G(Br,{class:k.today===!0?"q-date__today":"",dense:!0,flat:k.flat,unelevated:k.unelevated,color:k.color,textColor:k.textColor,label:k.i,tabindex:o.value,...a("day#"+k.i,{onClick:()=>{Ao(k.i)},onMouseover:()=>{Co(k.i)}})},k.event!==!1?()=>G("div",{class:"q-date__event bg-"+k.event}):null):G("div",""+k.i)]))))])])],Months(){const k=w.value.year===_.value.year,$=we=>ut.value!==null&&w.value.year===ut.value.year&&ut.value.month>we||A.value!==null&&w.value.year===A.value.year&&A.value.month<we,J=y.value.monthsShort.map((we,Se)=>{const $e=w.value.month===Se+1;return G("div",{class:"q-date__months-item flex flex-center"},[G(Br,{class:k===!0&&_.value.month===Se+1?"q-date__today":null,flat:$e!==!0,label:we,unelevated:$e,color:$e===!0?U.value:null,textColor:$e===!0?B.value:null,tabindex:o.value,disable:$(Se+1),...a("month#"+Se,{onClick:()=>{Zt(Se+1)}})})])});return e.yearsInMonthView===!0&&J.unshift(G("div",{class:"row no-wrap full-width"},[Yr({label:w.value.year,type:"Years",key:w.value.year,dir:V.value,goTo:$r,boundaries:O.value.year,cls:" col"})])),G("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},J)},Years(){const k=Y.value,$=k+wn,J=[],we=Se=>ut.value!==null&&ut.value.year>Se||A.value!==null&&A.value.year<Se;for(let Se=k;Se<=$;Se++){const $e=w.value.year===Se;J.push(G("div",{class:"q-date__years-item flex flex-center"},[G(Br,{key:"yr"+Se,class:_.value.year===Se?"q-date__today":null,flat:!$e,label:Se,dense:!0,unelevated:$e,color:$e===!0?U.value:null,textColor:$e===!0?B.value:null,tabindex:o.value,disable:we(Se),...a("yr#"+Se,{onClick:()=>{Rt(Se)}})})]))}return G("div",{class:"q-date__view q-date__years flex flex-center"},[G("div",{class:"col-auto"},[G(Br,{round:!0,dense:!0,flat:!0,icon:oe.value[0],"aria-label":u.lang.date.prevRangeYears(wn),tabindex:o.value,disable:we(k),...a("y-",{onClick:()=>{Y.value-=wn}})})]),G("div",{class:"q-date__years-content col self-stretch row items-center"},J),G("div",{class:"col-auto"},[G(Br,{round:!0,dense:!0,flat:!0,icon:oe.value[1],"aria-label":u.lang.date.nextRangeYears(wn),tabindex:o.value,disable:we($),...a("y+",{onClick:()=>{Y.value+=wn}})})])])}};function Ao(k){const $={...w.value,day:k};if(e.range===!1){c0($,ee.value);return}if(Z.value===null){const J=ae.value.find(Se=>Se.fill!==!0&&Se.i===k);if(e.noUnset!==!0&&J.range!==void 0){V0({target:$,from:J.range.from,to:J.range.to});return}if(J.selected===!0){V0($);return}const we=Pn($);Z.value={init:$,initHash:we,final:$,finalHash:we},r("rangeStart",dr($))}else{const J=Z.value.initHash,we=Pn($),Se=J<=we?{from:Z.value.init,to:$}:{from:$,to:Z.value.init};Z.value=null,Cu(J===we?$:{target:$,...Se}),r("rangeEnd",{from:dr(Se.from),to:dr(Se.to)})}}function Co(k){if(Z.value!==null){const $={...w.value,day:k};Object.assign(Z.value,{final:$,finalHash:Pn($)})}}return Object.assign(n,{setToday:Te,setView:qe,offsetCalendar:Ye,setCalendarTo:Ze,setEditingRange:Xe}),()=>{const k=[G("div",{class:"q-date__content col relative-position"},[G(Ar,{name:"q-transition--fade"},So[F.value])])],$=nn(t.default);return $!==void 0&&k.push(G("div",{class:"q-date__actions"},$)),e.name!==void 0&&e.disable!==!0&&p(k,"push"),G("div",{class:M.value,...Ae.value},[d0(),G("div",{ref:v,class:"q-date__main col column",tabindex:-1},k)])}}});function ow(e,t,r){let n;function u(){n!==void 0&&($s.remove(n),n=void 0)}return Wt(()=>{e.value===!0&&u()}),{removeFromHistory:u,addToHistory(){n={condition:()=>r.value===!0,handler:t},$s.add(n)}}}function Hm(){let e=null;const t=gt();function r(){e!==null&&(clearTimeout(e),e=null)}return mi(r),Wt(r),{removeTimeout:r,registerTimeout(n,u){r(),S2(t)===!1&&(e=setTimeout(()=>{e=null,n()},u))}}}function Vm(){let e;const t=gt();function r(){e=void 0}return mi(r),Wt(r),{removeTick:r,registerTick(n){e=n,pt(()=>{e===n&&(S2(t)===!1&&e(),e=void 0)})}}}const Um={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},jm=["beforeShow","show","beforeHide","hide"];function $m({showing:e,canShow:t,hideOnRouteChange:r,handleShow:n,handleHide:u,processOnMount:i}){const a=gt(),{props:o,emit:s,proxy:l}=a;let c;function f(D){e.value===!0?v(D):m(D)}function m(D){if(o.disable===!0||D?.qAnchorHandled===!0||t!==void 0&&t(D)!==!0)return;const _=o["onUpdate:modelValue"]!==void 0;_===!0&&(s("update:modelValue",!0),c=D,pt(()=>{c===D&&(c=void 0)})),(o.modelValue===null||_===!1)&&p(D)}function p(D){e.value!==!0&&(e.value=!0,s("beforeShow",D),n!==void 0?n(D):s("show",D))}function v(D){if(o.disable===!0)return;const _=o["onUpdate:modelValue"]!==void 0;_===!0&&(s("update:modelValue",!1),c=D,pt(()=>{c===D&&(c=void 0)})),(o.modelValue===null||_===!1)&&x(D)}function x(D){e.value!==!1&&(e.value=!1,s("beforeHide",D),u!==void 0?u(D):s("hide",D))}function y(D){o.disable===!0&&D===!0?o["onUpdate:modelValue"]!==void 0&&s("update:modelValue",!1):D===!0!==e.value&&(D===!0?p:x)(c)}Ne(()=>o.modelValue,y),r!==void 0&&k2(a)===!0&&Ne(()=>l.$route.fullPath,()=>{r.value===!0&&e.value===!0&&v()}),fn(()=>{y(o.modelValue)});const T={show:m,hide:v,toggle:f};return Object.assign(l,T),T}const Ym={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Gm(e,t=()=>{},r=()=>{}){return{transitionProps:W(()=>{const n=`q-transition--${e.transitionShow||t()}`,u=`q-transition--${e.transitionHide||r()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${u}-leave-from`,leaveActiveClass:`${u}-leave-active`,leaveToClass:`${u}-leave-to`}}),transitionStyle:W(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}const Ku=[];function sw(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return jo(e)}else if(e.__qPortal===!0){const r=jo(e);return r?.$options.name==="QPopupProxy"?(e.hide(t),r):e}e=jo(e)}while(e!=null)}const lw=Kt({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function cw(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function Wm(e,t,r,n){const u=xe(!1),i=xe(!1);let a=null;const o={},s=n==="dialog"&&cw(e);function l(f){if(f===!0){bd(o),i.value=!0;return}i.value=!1,u.value===!1&&(s===!1&&a===null&&(a=Wl(!1,n)),u.value=!0,Ku.push(e.proxy),vx(o))}function c(f){if(i.value=!1,f!==!0)return;bd(o),u.value=!1;const m=Ku.indexOf(e.proxy);m!==-1&&Ku.splice(m,1),a!==null&&(_2(a),a=null)}return Hl(()=>{c(!0)}),e.proxy.__qPortal=!0,bu(e.proxy,"contentEl",()=>t.value),{showPortal:l,hidePortal:c,portalIsActive:u,portalIsAccessible:i,renderPortal:()=>s===!0?r():u.value===!0?[G(X3,{to:a},G(lw,r))]:void 0}}function fw(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Ks(t))}}}const B0=[];let mu;function dw(e){mu=e.keyCode===27}function hw(){mu===!0&&(mu=!1)}function mw(e){mu===!0&&(mu=!1,L0(e,27)===!0&&B0[B0.length-1](e))}function Km(e){window[e]("keydown",dw),window[e]("blur",hw),window[e]("keyup",mw),mu=!1}function Zm(e){Tt.is.desktop===!0&&(B0.push(e),B0.length===1&&Km("addEventListener"))}function Pa(e){const t=B0.indexOf(e);t!==-1&&(B0.splice(t,1),B0.length===0&&Km("removeEventListener"))}let Ji=0;const pw={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},Ed={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Zu=Kt({name:"QDialog",inheritAttrs:!1,props:{...Um,...Ym,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...jm,"shake","click","escapeKey"],setup(e,{slots:t,emit:r,attrs:n}){const u=gt(),i=xe(null),a=xe(!1),o=xe(!1);let s=null,l=null,c,f;const m=W(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:p}=fw(),{registerTimeout:v}=Hm(),{registerTick:x,removeTick:y}=Vm(),{transitionProps:T,transitionStyle:D}=Gm(e,()=>Ed[e.position][0],()=>Ed[e.position][1]),_=W(()=>D.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:w,hidePortal:F,portalIsAccessible:j,renderPortal:z}=Wm(u,i,Fe,"dialog"),{hide:V}=$m({showing:a,hideOnRouteChange:m,handleShow:ne,handleHide:L,processOnMount:!0}),{addToHistory:S,removeFromHistory:Y}=ow(a,V,m),Z=W(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${pw[e.position]}`+(o.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),M=W(()=>a.value===!0&&e.seamless!==!0),U=W(()=>e.autoClose===!0?{onClick:R}:{}),B=W(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${M.value===!0?"modal":"seamless"}`,n.class]);Ne(()=>e.maximized,oe=>{a.value===!0&&H(oe)}),Ne(M,oe=>{p(oe),oe===!0?(uc(Me),Zm(ue)):(Ma(Me),Pa(ue))});function ne(oe){S(),l=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,H(e.maximized),w(),o.value=!0,e.noFocus!==!0?(document.activeElement?.blur(),x(I)):y(),v(()=>{if(u.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:ve,bottom:Ue}=document.activeElement.getBoundingClientRect(),{innerHeight:de}=window,Ke=window.visualViewport!==void 0?window.visualViewport.height:de;ve>0&&Ue>Ke/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Ke,Ue>=de?1/0:Math.ceil(document.scrollingElement.scrollTop+Ue-Ke/2))),document.activeElement.scrollIntoView()}f=!0,i.value.click(),f=!1}w(!0),o.value=!1,r("show",oe)},e.transitionDuration)}function L(oe){y(),Y(),te(!0),o.value=!0,F(),l!==null&&(((oe?.type.indexOf("key")===0?l.closest('[tabindex]:not([tabindex^="-"])'):void 0)||l).focus(),l=null),v(()=>{F(!0),o.value=!1,r("hide",oe)},e.transitionDuration)}function I(oe){wo(()=>{let ve=i.value;if(ve!==null){if(oe!==void 0){const Ue=ve.querySelector(oe);if(Ue!==null){Ue.focus({preventScroll:!0});return}}ve.contains(document.activeElement)!==!0&&(ve=ve.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||ve.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||ve.querySelector("[autofocus], [data-autofocus]")||ve,ve.focus({preventScroll:!0}))}})}function N(oe){oe&&typeof oe.focus=="function"?oe.focus({preventScroll:!0}):I(),r("shake");const ve=i.value;ve!==null&&(ve.classList.remove("q-animate--scale"),ve.classList.add("q-animate--scale"),s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,i.value!==null&&(ve.classList.remove("q-animate--scale"),I())},170))}function ue(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&N():(r("escapeKey"),V()))}function te(oe){s!==null&&(clearTimeout(s),s=null),(oe===!0||a.value===!0)&&(H(!1),e.seamless!==!0&&(p(!1),Ma(Me),Pa(ue))),oe!==!0&&(l=null)}function H(oe){oe===!0?c!==!0&&(Ji<1&&document.body.classList.add("q-body--dialog"),Ji++,c=!0):c===!0&&(Ji<2&&document.body.classList.remove("q-body--dialog"),Ji--,c=!1)}function R(oe){f!==!0&&(V(oe),r("click",oe))}function he(oe){e.persistent!==!0&&e.noBackdropDismiss!==!0?V(oe):e.noShake!==!0&&N()}function Me(oe){e.allowFocusOutside!==!0&&j.value===!0&&y2(i.value,oe.target)!==!0&&I('[tabindex]:not([tabindex="-1"])')}Object.assign(u.proxy,{focus:I,shake:N,__updateRefocusTarget(oe){l=oe||null}}),Wt(te);function Fe(){return G("div",{role:"dialog","aria-modal":M.value===!0?"true":"false",...n,class:B.value},[G(Ar,{name:"q-transition--fade",appear:!0},()=>M.value===!0?G("div",{class:"q-dialog__backdrop fixed-full",style:_.value,"aria-hidden":"true",tabindex:-1,onClick:he}):null),G(Ar,T.value,()=>a.value===!0?G("div",{ref:i,class:Z.value,style:D.value,tabindex:-1,...U.value},nn(t.default)):null)])}return z}}),vw=Kt({name:"QField",inheritAttrs:!1,props:{...ko,tag:{type:String,default:"label"}},emits:Tc,setup(){return zc(Fc({tagProp:!0}))}}),gw={xs:8,sm:10,md:14,lg:20,xl:24},bw=Kt({name:"QChip",props:{...Ei,...Ja,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:r}){const{proxy:{$q:n}}=gt(),u=Mi(e,n),i=eo(e,gw),a=W(()=>e.selected===!0||e.icon!==void 0),o=W(()=>e.selected===!0?e.iconSelected||n.iconSet.chip.selected:e.icon),s=W(()=>e.iconRemove||n.iconSet.chip.remove),l=W(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=W(()=>{const y=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(y?` text-${y} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(l.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(u.value===!0?" q-chip--dark q-dark":"")}),f=W(()=>{const y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},T={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||n.lang.label.remove};return{chip:y,remove:T}});function m(y){y.keyCode===13&&p(y)}function p(y){e.disable||(r("update:selected",!e.selected),r("click",y))}function v(y){(y.keyCode===void 0||y.keyCode===13)&&(Ut(y),e.disable===!1&&(r("update:modelValue",!1),r("remove")))}function x(){const y=[];l.value===!0&&y.push(G("div",{class:"q-focus-helper"})),a.value===!0&&y.push(G(Er,{class:"q-chip__icon q-chip__icon--left",name:o.value}));const T=e.label!==void 0?[G("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(G("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},m2(t.default,T))),e.iconRight&&y.push(G(Er,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(G(Er,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:s.value,...f.value.remove,onClick:v,onKeyup:v})),y}return()=>{if(e.modelValue===!1)return;const y={class:c.value,style:i.value};return l.value===!0&&Object.assign(y,f.value.chip,{onClick:p,onKeyup:m}),e5("div",y,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[x2,e.ripple]])}}}),yw=Kt({name:"QItem",props:{...Ei,...b5,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:r}){const{proxy:{$q:n}}=gt(),u=Mi(e,n),{hasLink:i,linkAttrs:a,linkClass:o,linkTag:s,navigateOnClick:l}=C2(),c=xe(null),f=xe(null),m=W(()=>e.clickable===!0||i.value===!0||e.tag==="label"),p=W(()=>e.disable!==!0&&m.value===!0),v=W(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(u.value===!0?" q-item--dark":"")+(i.value===!0&&e.active===null?o.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(p.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),x=W(()=>e.insetLevel===void 0?null:{["padding"+(n.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function y(_){p.value===!0&&(f.value!==null&&_.qAvoidFocus!==!0&&(_.qKeyEvent!==!0&&document.activeElement===c.value?f.value.focus():document.activeElement===f.value&&c.value.focus()),l(_))}function T(_){if(p.value===!0&&L0(_,[13,32])===!0){Ut(_),_.qKeyEvent=!0;const w=new MouseEvent("click",_);w.qKeyEvent=!0,c.value.dispatchEvent(w)}r("keyup",_)}function D(){const _=Jp(t.default,[]);return p.value===!0&&_.unshift(G("div",{class:"q-focus-helper",tabindex:-1,ref:f})),_}return()=>{const _={ref:c,class:v.value,style:x.value,role:"listitem",onClick:y,onKeyup:T};return p.value===!0?(_.tabindex=e.tabindex||"0",Object.assign(_,a.value)):m.value===!0&&(_["aria-disabled"]="true"),G(s.value,_,D())}}}),xw=Kt({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const r=W(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>G("div",{class:r.value},nn(t.default))}}),ww=Kt({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const r=W(()=>parseInt(e.lines,10)),n=W(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(r.value===1?" ellipsis":"")),u=W(()=>e.lines!==void 0&&r.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":r.value}:null);return()=>G("div",{style:u.value,class:n.value},nn(t.default))}});function kw(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Sa.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const Sw={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Aw={...Sw,contextMenu:Boolean};function Cw({showing:e,avoidEmit:t,configureAnchorEl:r}){const{props:n,proxy:u,emit:i}=gt(),a=xe(null);let o=null;function s(p){return a.value===null?!1:p===void 0||p.touches===void 0||p.touches.length<=1}const l={};r===void 0&&(Object.assign(l,{hide(p){u.hide(p)},toggle(p){u.toggle(p),p.qAnchorHandled=!0},toggleKey(p){L0(p,13)===!0&&l.toggle(p)},contextClick(p){u.hide(p),Lr(p),pt(()=>{u.show(p),p.qAnchorHandled=!0})},prevent:Lr,mobileTouch(p){if(l.mobileCleanup(p),s(p)!==!0)return;u.hide(p),a.value.classList.add("non-selectable");const v=p.target;js(l,"anchor",[[v,"touchmove","mobileCleanup","passive"],[v,"touchend","mobileCleanup","passive"],[v,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),o=setTimeout(()=>{o=null,u.show(p),p.qAnchorHandled=!0},300)},mobileCleanup(p){a.value.classList.remove("non-selectable"),o!==null&&(clearTimeout(o),o=null),e.value===!0&&p!==void 0&&kw()}}),r=function(p=n.contextMenu){if(n.noParentEvent===!0||a.value===null)return;let v;p===!0?u.$q.platform.is.mobile===!0?v=[[a.value,"touchstart","mobileTouch","passive"]]:v=[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:v=[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],js(l,"anchor",v)});function c(){a2(l,"anchor")}function f(p){for(a.value=p;a.value.classList.contains("q-anchor--skip");)a.value=a.value.parentNode;r()}function m(){if(n.target===!1||n.target===""||u.$el.parentNode===null)a.value=null;else if(n.target===!0)f(u.$el.parentNode);else{let p=n.target;if(typeof n.target=="string")try{p=document.querySelector(n.target)}catch{p=void 0}p!=null?(a.value=p.$el||p,r()):(a.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return Ne(()=>n.contextMenu,p=>{a.value!==null&&(c(),r(p))}),Ne(()=>n.target,()=>{a.value!==null&&c(),m()}),Ne(()=>n.noParentEvent,p=>{a.value!==null&&(p===!0?c():r())}),fn(()=>{m(),t!==!0&&n.modelValue===!0&&a.value===null&&i("update:modelValue",!1)}),Wt(()=>{o!==null&&clearTimeout(o),c()}),{anchorEl:a,canShow:s,anchorEvents:l}}function _w(e,t){const r=xe(null);let n;function u(o,s){const l=`${s!==void 0?"add":"remove"}EventListener`,c=s!==void 0?s:n;o!==window&&o[l]("scroll",c,er.passive),window[l]("scroll",c,er.passive),n=s}function i(){r.value!==null&&(u(r.value),r.value=null)}const a=Ne(()=>e.noParentEvent,()=>{r.value!==null&&(i(),t())});return Wt(a),{localScrollTarget:r,unconfigureScrollTarget:i,changeScrollEvent:u}}const{notPassiveCapture:Ia}=er,O0=[];function Na(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let r=Ku.length-1;for(;r>=0;){const n=Ku[r].$;if(n.type.name==="QTooltip"){r--;continue}if(n.type.name!=="QDialog")break;if(n.props.seamless!==!0)return;r--}for(let n=O0.length-1;n>=0;n--){const u=O0[n];if((u.anchorEl.value===null||u.anchorEl.value.contains(t)===!1)&&(t===document.body||u.innerRef.value!==null&&u.innerRef.value.contains(t)===!1))e.qClickOutside=!0,u.onClickOutside(e);else return}}function Dw(e){O0.push(e),O0.length===1&&(document.addEventListener("mousedown",Na,Ia),document.addEventListener("touchstart",Na,Ia))}function Md(e){const t=O0.findIndex(r=>r===e);t!==-1&&(O0.splice(t,1),O0.length===0&&(document.removeEventListener("mousedown",Na,Ia),document.removeEventListener("touchstart",Na,Ia)))}let Td,Fd;function zd(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Ew(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const yl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{yl[`${e}#ltr`]=e,yl[`${e}#rtl`]=e});function Bd(e,t){const r=e.split(" ");return{vertical:r[0],horizontal:yl[`${r[1]}#${t===!0?"rtl":"ltr"}`]}}function Mw(e,t){let{top:r,left:n,right:u,bottom:i,width:a,height:o}=e.getBoundingClientRect();return t!==void 0&&(r-=t[1],n-=t[0],i+=t[1],u+=t[0],a+=t[0],o+=t[1]),{top:r,bottom:i,height:o,left:n,right:u,width:a,middle:n+(u-n)/2,center:r+(i-r)/2}}function Tw(e,t,r){let{top:n,left:u}=e.getBoundingClientRect();return n+=t.top,u+=t.left,r!==void 0&&(n+=r[1],u+=r[0]),{top:n,bottom:n+1,height:1,left:u,right:u+1,width:1,middle:u,center:n}}function Fw(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Od(e,t,r,n){return{top:e[r.vertical]-t[n.vertical],left:e[r.horizontal]-t[n.horizontal]}}function Qm(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Qm(e,t+1)},10);return}const{targetEl:r,offset:n,anchorEl:u,anchorOrigin:i,selfOrigin:a,absoluteOffset:o,fit:s,cover:l,maxHeight:c,maxWidth:f}=e;if(Tt.is.ios===!0&&window.visualViewport!==void 0){const j=document.body.style,{offsetLeft:z,offsetTop:V}=window.visualViewport;z!==Td&&(j.setProperty("--q-pe-left",z+"px"),Td=z),V!==Fd&&(j.setProperty("--q-pe-top",V+"px"),Fd=V)}const{scrollLeft:m,scrollTop:p}=r,v=o===void 0?Mw(u,l===!0?[0,0]:n):Tw(u,o,n);Object.assign(r.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:f,maxHeight:c,visibility:"visible"});const{offsetWidth:x,offsetHeight:y}=r,{elWidth:T,elHeight:D}=s===!0||l===!0?{elWidth:Math.max(v.width,x),elHeight:l===!0?Math.max(v.height,y):y}:{elWidth:x,elHeight:y};let _={maxWidth:f,maxHeight:c};(s===!0||l===!0)&&(_.minWidth=v.width+"px",l===!0&&(_.minHeight=v.height+"px")),Object.assign(r.style,_);const w=Fw(T,D);let F=Od(v,w,i,a);if(o===void 0||n===void 0)Ds(F,v,w,i,a);else{const{top:j,left:z}=F;Ds(F,v,w,i,a);let V=!1;if(F.top!==j){V=!0;const S=2*n[1];v.center=v.top-=S,v.bottom-=S+2}if(F.left!==z){V=!0;const S=2*n[0];v.middle=v.left-=S,v.right-=S+2}V===!0&&(F=Od(v,w,i,a),Ds(F,v,w,i,a))}_={top:F.top+"px",left:F.left+"px"},F.maxHeight!==void 0&&(_.maxHeight=F.maxHeight+"px",v.height>F.maxHeight&&(_.minHeight=_.maxHeight)),F.maxWidth!==void 0&&(_.maxWidth=F.maxWidth+"px",v.width>F.maxWidth&&(_.minWidth=_.maxWidth)),Object.assign(r.style,_),r.scrollTop!==p&&(r.scrollTop=p),r.scrollLeft!==m&&(r.scrollLeft=m)}function Ds(e,t,r,n,u){const i=r.bottom,a=r.right,o=H5(),s=window.innerHeight-o,l=document.body.clientWidth;if(e.top<0||e.top+i>s)if(u.vertical==="center")e.top=t[n.vertical]>s/2?Math.max(0,s-i):0,e.maxHeight=Math.min(i,s);else if(t[n.vertical]>s/2){const c=Math.min(s,n.vertical==="center"?t.center:n.vertical===u.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,c),e.top=Math.max(0,c-i)}else e.top=Math.max(0,n.vertical==="center"?t.center:n.vertical===u.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,s-e.top);if(e.left<0||e.left+a>l)if(e.maxWidth=Math.min(a,l),u.horizontal==="middle")e.left=t[n.horizontal]>l/2?Math.max(0,l-a):0;else if(t[n.horizontal]>l/2){const c=Math.min(l,n.horizontal==="middle"?t.middle:n.horizontal===u.horizontal?t.right:t.left);e.maxWidth=Math.min(a,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,n.horizontal==="middle"?t.middle:n.horizontal===u.horizontal?t.left:t.right),e.maxWidth=Math.min(a,l-e.left)}const zw=Kt({name:"QMenu",inheritAttrs:!1,props:{...Aw,...Um,...Ei,...Ym,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:zd},self:{type:String,validator:zd},offset:{type:Array,validator:Ew},scrollTarget:q5,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...jm,"click","escapeKey"],setup(e,{slots:t,emit:r,attrs:n}){let u=null,i,a,o;const s=gt(),{proxy:l}=s,{$q:c}=l,f=xe(null),m=xe(!1),p=W(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),v=Mi(e,c),{registerTick:x,removeTick:y}=Vm(),{registerTimeout:T}=Hm(),{transitionProps:D,transitionStyle:_}=Gm(e),{localScrollTarget:w,changeScrollEvent:F,unconfigureScrollTarget:j}=_w(e,he),{anchorEl:z,canShow:V}=Cw({showing:m}),{hide:S}=$m({showing:m,canShow:V,handleShow:te,handleHide:H,hideOnRouteChange:p,processOnMount:!0}),{showPortal:Y,hidePortal:Z,renderPortal:M}=Wm(s,f,Ue,"menu"),U={anchorEl:z,innerRef:f,onClickOutside(de){if(e.persistent!==!0&&m.value===!0)return S(de),(de.type==="touchstart"||de.target.classList.contains("q-dialog__backdrop"))&&Ut(de),!0}},B=W(()=>Bd(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),ne=W(()=>e.cover===!0?B.value:Bd(e.self||"top start",c.lang.rtl)),L=W(()=>(e.square===!0?" q-menu--square":"")+(v.value===!0?" q-menu--dark q-dark":"")),I=W(()=>e.autoClose===!0?{onClick:Me}:{}),N=W(()=>m.value===!0&&e.persistent!==!0);Ne(N,de=>{de===!0?(Zm(oe),Dw(U)):(Pa(oe),Md(U))});function ue(){wo(()=>{let de=f.value;de&&de.contains(document.activeElement)!==!0&&(de=de.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||de.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||de.querySelector("[autofocus], [data-autofocus]")||de,de.focus({preventScroll:!0}))})}function te(de){if(u=e.noRefocus===!1?document.activeElement:null,uc(Fe),Y(),he(),i=void 0,de!==void 0&&(e.touchPosition||e.contextMenu)){const Ke=i2(de);if(Ke.left!==void 0){const{top:ut,left:A}=z.value.getBoundingClientRect();i={left:Ke.left-A,top:Ke.top-ut}}}a===void 0&&(a=Ne(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,ve)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{ve(),e.noFocus!==!0&&ue()}),T(()=>{c.platform.is.ios===!0&&(o=e.autoClose,f.value.click()),ve(),Y(!0),r("show",de)},e.transitionDuration)}function H(de){y(),Z(),R(!0),u!==null&&(de===void 0||de.qClickOutside!==!0)&&(((de?.type.indexOf("key")===0?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),T(()=>{Z(!0),r("hide",de)},e.transitionDuration)}function R(de){i=void 0,a!==void 0&&(a(),a=void 0),(de===!0||m.value===!0)&&(Ma(Fe),j(),Md(U),Pa(oe)),de!==!0&&(u=null)}function he(){(z.value!==null||e.scrollTarget!==void 0)&&(w.value=P5(z.value,e.scrollTarget),F(w.value,ve))}function Me(de){o!==!0?(sw(l,de),r("click",de)):o=!1}function Fe(de){N.value===!0&&e.noFocus!==!0&&y2(f.value,de.target)!==!0&&ue()}function oe(de){e.noEscDismiss!==!0&&(r("escapeKey"),S(de))}function ve(){Qm({targetEl:f.value,offset:e.offset,anchorEl:z.value,anchorOrigin:B.value,selfOrigin:ne.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function Ue(){return G(Ar,D.value,()=>m.value===!0?G("div",{role:"menu",...n,ref:f,tabindex:-1,class:["q-menu q-position-engine scroll"+L.value,n.class],style:[n.style,_.value],...I.value},nn(t.default)):null)}return Wt(R),Object.assign(l,{focus:ue,updatePosition:ve}),M}});let Ha=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Ha=e.scrollLeft>=0,e.remove()}const qr=1e3,Bw=["start","center","end","start-force","center-force","end-force"],Xm=Array.prototype.filter,Ow=window.getComputedStyle(document.body).overflowAnchor===void 0?cu:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const r=e.children||[];Xm.call(r,u=>u.dataset&&u.dataset.qVsAnchor!==void 0).forEach(u=>{delete u.dataset.qVsAnchor});const n=r[t];n?.dataset&&(n.dataset.qVsAnchor="")}))};function su(e,t){return e+t}function Es(e,t,r,n,u,i,a,o){const s=e===window?document.scrollingElement||document.documentElement:e,l=u===!0?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-a-o,scrollMaxSize:0,offsetStart:-a,offsetEnd:-o};if(u===!0?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=s.scrollLeft,c.scrollViewSize+=s.clientWidth),c.scrollMaxSize=s.scrollWidth,i===!0&&(c.scrollStart=(Ha===!0?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=s.scrollTop,c.scrollViewSize+=s.clientHeight),c.scrollMaxSize=s.scrollHeight),r!==null)for(let f=r.previousElementSibling;f!==null;f=f.previousElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetStart+=f[l]);if(n!==null)for(let f=n.nextElementSibling;f!==null;f=f.nextElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetEnd+=f[l]);if(t!==e){const f=s.getBoundingClientRect(),m=t.getBoundingClientRect();u===!0?(c.offsetStart+=m.left-f.left,c.offsetEnd-=m.width):(c.offsetStart+=m.top-f.top,c.offsetEnd-=m.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function Rd(e,t,r,n){t==="end"&&(t=(e===window?document.body:e)[r===!0?"scrollWidth":"scrollHeight"]),e===window?r===!0?(n===!0&&(t=(Ha===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):r===!0?(n===!0&&(t=(Ha===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function zu(e,t,r,n){if(r>=n)return 0;const u=t.length,i=Math.floor(r/qr),a=Math.floor((n-1)/qr)+1;let o=e.slice(i,a).reduce(su,0);return r%qr!==0&&(o-=t.slice(i*qr,r).reduce(su,0)),n%qr!==0&&n!==u&&(o-=t.slice(n,a*qr).reduce(su,0)),o}const Rw={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},qd={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Rw};function qw({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:r,virtualScrollItemSizeComputed:n}){const u=gt(),{props:i,emit:a,proxy:o}=u,{$q:s}=o;let l,c,f,m=[],p;const v=xe(0),x=xe(0),y=xe({}),T=xe(null),D=xe(null),_=xe(null),w=xe({from:0,to:0}),F=W(()=>i.tableColspan!==void 0?i.tableColspan:100);n===void 0&&(n=W(()=>i.virtualScrollItemSize));const j=W(()=>n.value+";"+i.virtualScrollHorizontal),z=W(()=>j.value+";"+i.virtualScrollSliceRatioBefore+";"+i.virtualScrollSliceRatioAfter);Ne(z,()=>{L()}),Ne(j,V);function V(){ne(c,!0)}function S(H){ne(H===void 0?c:H)}function Y(H,R){const he=t();if(he==null||he.nodeType===8)return;const Me=Es(he,r(),T.value,D.value,i.virtualScrollHorizontal,s.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd);f!==Me.scrollViewSize&&L(Me.scrollViewSize),M(he,Me,Math.min(e.value-1,Math.max(0,parseInt(H,10)||0)),0,Bw.indexOf(R)!==-1?R:c!==-1&&H>c?"end":"start")}function Z(){const H=t();if(H==null||H.nodeType===8)return;const R=Es(H,r(),T.value,D.value,i.virtualScrollHorizontal,s.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd),he=e.value-1,Me=R.scrollMaxSize-R.offsetStart-R.offsetEnd-x.value;if(l===R.scrollStart)return;if(R.scrollMaxSize<=0){M(H,R,0,0);return}f!==R.scrollViewSize&&L(R.scrollViewSize),U(w.value.from);const Fe=Math.floor(R.scrollMaxSize-Math.max(R.scrollViewSize,R.offsetEnd)-Math.min(p[he],R.scrollViewSize/2));if(Fe>0&&Math.ceil(R.scrollStart)>=Fe){M(H,R,he,R.scrollMaxSize-R.offsetEnd-m.reduce(su,0));return}let oe=0,ve=R.scrollStart-R.offsetStart,Ue=ve;if(ve<=Me&&ve+R.scrollViewSize>=v.value)ve-=v.value,oe=w.value.from,Ue=ve;else for(let de=0;ve>=m[de]&&oe<he;de++)ve-=m[de],oe+=qr;for(;ve>0&&oe<he;)ve-=p[oe],ve>-R.scrollViewSize?(oe++,Ue=ve):Ue=p[oe]+ve;M(H,R,oe,Ue)}function M(H,R,he,Me,Fe){const oe=typeof Fe=="string"&&Fe.indexOf("-force")!==-1,ve=oe===!0?Fe.replace("-force",""):Fe,Ue=ve!==void 0?ve:"start";let de=Math.max(0,he-y.value[Ue]),Ke=de+y.value.total;Ke>e.value&&(Ke=e.value,de=Math.max(0,Ke-y.value.total)),l=R.scrollStart;const ut=de!==w.value.from||Ke!==w.value.to;if(ut===!1&&ve===void 0){N(he);return}const{activeElement:A}=document,O=_.value;ut===!0&&O!==null&&O!==A&&O.contains(A)===!0&&(O.addEventListener("focusout",B),setTimeout(()=>{O?.removeEventListener("focusout",B)})),Ow(O,he-de);const Q=ve!==void 0?p.slice(de,he).reduce(su,0):0;if(ut===!0){const ie=Ke>=w.value.from&&de<=w.value.to?w.value.to:Ke;w.value={from:de,to:ie},v.value=zu(m,p,0,de),x.value=zu(m,p,Ke,e.value),requestAnimationFrame(()=>{w.value.to!==Ke&&l===R.scrollStart&&(w.value={from:w.value.from,to:Ke},x.value=zu(m,p,Ke,e.value))})}requestAnimationFrame(()=>{if(l!==R.scrollStart)return;ut===!0&&U(de);const ie=p.slice(de,he).reduce(su,0),re=ie+R.offsetStart+v.value,ee=re+p[he];let ge=re+Me;if(ve!==void 0){const me=ie-Q,pe=R.scrollStart+me;ge=oe!==!0&&pe<re&&ee<pe+R.scrollViewSize?pe:ve==="end"?ee-R.scrollViewSize:re-(ve==="start"?0:Math.round((R.scrollViewSize-p[he])/2))}l=ge,Rd(H,ge,i.virtualScrollHorizontal,s.lang.rtl),N(he)})}function U(H){const R=_.value;if(R){const he=Xm.call(R.children,de=>de.classList&&de.classList.contains("q-virtual-scroll--skip")===!1),Me=he.length,Fe=i.virtualScrollHorizontal===!0?de=>de.getBoundingClientRect().width:de=>de.offsetHeight;let oe=H,ve,Ue;for(let de=0;de<Me;){for(ve=Fe(he[de]),de++;de<Me&&he[de].classList.contains("q-virtual-scroll--with-prev")===!0;)ve+=Fe(he[de]),de++;Ue=ve-p[oe],Ue!==0&&(p[oe]+=Ue,m[Math.floor(oe/qr)]+=Ue),oe++}}}function B(){_.value?.focus()}function ne(H,R){const he=1*n.value;(R===!0||Array.isArray(p)===!1)&&(p=[]);const Me=p.length;p.length=e.value;for(let oe=e.value-1;oe>=Me;oe--)p[oe]=he;const Fe=Math.floor((e.value-1)/qr);m=[];for(let oe=0;oe<=Fe;oe++){let ve=0;const Ue=Math.min((oe+1)*qr,e.value);for(let de=oe*qr;de<Ue;de++)ve+=p[de];m.push(ve)}c=-1,l=void 0,v.value=zu(m,p,0,w.value.from),x.value=zu(m,p,w.value.to,e.value),H>=0?(U(w.value.from),pt(()=>{Y(H)})):ue()}function L(H){if(H===void 0&&typeof window<"u"){const ve=t();ve!=null&&ve.nodeType!==8&&(H=Es(ve,r(),T.value,D.value,i.virtualScrollHorizontal,s.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd).scrollViewSize)}f=H;const R=parseFloat(i.virtualScrollSliceRatioBefore)||0,he=parseFloat(i.virtualScrollSliceRatioAfter)||0,Me=1+R+he,Fe=H===void 0||H<=0?1:Math.ceil(H/n.value),oe=Math.max(1,Fe,Math.ceil((i.virtualScrollSliceSize>0?i.virtualScrollSliceSize:10)/Me));y.value={total:Math.ceil(oe*Me),start:Math.ceil(oe*R),center:Math.ceil(oe*(.5+R)),end:Math.ceil(oe*(1+R)),view:Fe}}function I(H,R){const he=i.virtualScrollHorizontal===!0?"width":"height",Me={["--q-virtual-scroll-item-"+he]:n.value+"px"};return[H==="tbody"?G(H,{class:"q-virtual-scroll__padding",key:"before",ref:T},[G("tr",[G("td",{style:{[he]:`${v.value}px`,...Me},colspan:F.value})])]):G(H,{class:"q-virtual-scroll__padding",key:"before",ref:T,style:{[he]:`${v.value}px`,...Me}}),G(H,{class:"q-virtual-scroll__content",key:"content",ref:_,tabindex:-1},R.flat()),H==="tbody"?G(H,{class:"q-virtual-scroll__padding",key:"after",ref:D},[G("tr",[G("td",{style:{[he]:`${x.value}px`,...Me},colspan:F.value})])]):G(H,{class:"q-virtual-scroll__padding",key:"after",ref:D,style:{[he]:`${x.value}px`,...Me}})]}function N(H){c!==H&&(i.onVirtualScroll!==void 0&&a("virtualScroll",{index:H,from:w.value.from,to:w.value.to-1,direction:H<c?"decrease":"increase",ref:o}),c=H)}L();const ue=Yl(Z,s.platform.is.ios===!0?120:35);Mh(()=>{L()});let te=!1;return mi(()=>{te=!0}),Pl(()=>{if(te!==!0)return;const H=t();l!==void 0&&H!==void 0&&H!==null&&H.nodeType!==8?Rd(H,l,i.virtualScrollHorizontal,s.lang.rtl):Y(c)}),Wt(()=>{ue.cancel()}),Object.assign(o,{scrollTo:Y,reset:V,refresh:S}),{virtualScrollSliceRange:w,virtualScrollSliceSizeComputed:y,setVirtualScrollSize:L,onVirtualScrollEvt:ue,localResetVirtualScroll:ne,padVirtualScroll:I,scrollTo:Y,reset:V,refresh:S}}const Ld=e=>["add","add-unique","toggle"].includes(e),Lw=".*+?^${}()|[]\\",Pw=Object.keys(ko);function Ms(e,t){if(typeof e=="function")return e;const r=e!==void 0?e:t;return n=>n!==null&&typeof n=="object"&&r in n?n[r]:n}const Iw=Kt({name:"QSelect",inheritAttrs:!1,props:{...qd,...Bc,...ko,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Ld},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:qd.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Tc,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:r}){const{proxy:n}=gt(),{$q:u}=n,i=xe(!1),a=xe(!1),o=xe(-1),s=xe(""),l=xe(!1),c=xe(!1);let f=null,m=null,p,v,x,y=null,T,D,_,w;const F=xe(null),j=xe(null),z=xe(null),V=xe(null),S=xe(null),Y=Tm(e),Z=Fm(V0),M=W(()=>Array.isArray(e.options)?e.options.length:0),U=W(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:B,virtualScrollSliceSizeComputed:ne,localResetVirtualScroll:L,padVirtualScroll:I,onVirtualScrollEvt:N,scrollTo:ue,setVirtualScrollSize:te}=qw({virtualScrollLength:M,getVirtualScrollTarget:H0,getVirtualScrollEl:Au,virtualScrollItemSizeComputed:U}),H=Fc(),R=W(()=>{const q=e.mapOptions===!0&&e.multiple!==!0,_e=e.modelValue!==void 0&&(e.modelValue!==null||q===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const De=e.mapOptions===!0&&p!==void 0?p:[],We=_e.map(ct=>jr(ct,De));return e.modelValue===null&&q===!0?We.filter(ct=>ct!==null):We}return _e}),he=W(()=>{const q={};return Pw.forEach(_e=>{const De=e[_e];De!==void 0&&(q[_e]=De)}),q}),Me=W(()=>e.optionsDark===null?H.isDark.value:e.optionsDark),Fe=W(()=>di(R.value)),oe=W(()=>{let q="q-field__input q-placeholder col";return e.hideSelected===!0||R.value.length===0?[q,e.inputClass]:(q+=" q-field__input--padding",e.inputClass===void 0?q:[q,e.inputClass])}),ve=W(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),Ue=W(()=>M.value===0),de=W(()=>R.value.map(q=>Ae.value(q)).join(", ")),Ke=W(()=>e.displayValue!==void 0?e.displayValue:de.value),ut=W(()=>e.optionsHtml===!0?()=>!0:q=>q?.html===!0),A=W(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||R.value.some(ut.value))),O=W(()=>H.focused.value===!0?e.tabindex:-1),Q=W(()=>{const q={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":i.value===!0?"true":"false","aria-controls":`${H.targetUid.value}_lb`};return o.value>=0&&(q["aria-activedescendant"]=`${H.targetUid.value}_${o.value}`),q}),ie=W(()=>({id:`${H.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),re=W(()=>R.value.map((q,_e)=>({index:_e,opt:q,html:ut.value(q),selected:!0,removeAtIndex:Xe,toggleOption:lt,tabindex:O.value}))),ee=W(()=>{if(M.value===0)return[];const{from:q,to:_e}=B.value;return e.options.slice(q,_e).map((De,We)=>{const ct=be.value(De)===!0,it=$r(De)===!0,It=q+We,St={clickable:!0,active:it,activeClass:pe.value,manualFocus:!0,focused:!1,disable:ct,tabindex:-1,dense:e.optionsDense,dark:Me.value,role:"option","aria-selected":it===!0?"true":"false",id:`${H.targetUid.value}_${It}`,onClick:()=>{lt(De)}};return ct!==!0&&(o.value===It&&(St.focused=!0),u.platform.is.desktop===!0&&(St.onMousemove=()=>{i.value===!0&&Et(It)})),{index:It,opt:De,html:ut.value(De),label:Ae.value(De),selected:St.active,focused:St.focused,toggleOption:lt,setOptionIndex:Et,itemProps:St}})}),ge=W(()=>e.dropdownIcon!==void 0?e.dropdownIcon:u.iconSet.arrow.dropdown),me=W(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),pe=W(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),ae=W(()=>Ms(e.optionValue,"value")),Ae=W(()=>Ms(e.optionLabel,"label")),be=W(()=>Ms(e.optionDisable,"disable")),Te=W(()=>R.value.map(ae.value)),qe=W(()=>{const q={onInput:V0,onChange:Z,onKeydown:gn,onKeyup:c0,onKeypress:dr,onFocus:Rt,onClick(_e){v===!0&&Jr(_e)}};return q.onCompositionstart=q.onCompositionupdate=q.onCompositionend=Z,q});Ne(R,q=>{p=q,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&H.innerLoading.value!==!0&&(a.value!==!0&&i.value!==!0||Fe.value!==!0)&&(x!==!0&&xr(),(a.value===!0||i.value===!0)&&Yr(""))},{immediate:!0}),Ne(()=>e.fillInput,xr),Ne(i,_o),Ne(M,u3);function Ye(q){return e.emitValue===!0?ae.value(q):q}function Ze(q){if(q!==-1&&q<R.value.length)if(e.multiple===!0){const _e=e.modelValue.slice();r("remove",{index:q,value:_e.splice(q,1)[0]}),r("update:modelValue",_e)}else r("update:modelValue",null)}function Xe(q){Ze(q),H.focus()}function Dt(q,_e){const De=Ye(q);if(e.multiple!==!0){e.fillInput===!0&&d0(Ae.value(q),!0,!0),r("update:modelValue",De);return}if(R.value.length===0){r("add",{index:0,value:De}),r("update:modelValue",e.multiple===!0?[De]:De);return}if(_e===!0&&$r(q)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const We=e.modelValue.slice();r("add",{index:We.length,value:De}),We.push(De),r("update:modelValue",We)}function lt(q,_e){if(H.editable.value!==!0||q===void 0||be.value(q)===!0)return;const De=ae.value(q);if(e.multiple!==!0){_e!==!0&&(d0(e.fillInput===!0?Ae.value(q):"",!0,!0),Je()),j.value?.focus(),(R.value.length===0||Yn(ae.value(R.value[0]),De)!==!0)&&r("update:modelValue",e.emitValue===!0?De:q);return}if((v!==!0||l.value===!0)&&H.focus(),Rt(),R.value.length===0){const it=e.emitValue===!0?De:q;r("add",{index:0,value:it}),r("update:modelValue",e.multiple===!0?[it]:it);return}const We=e.modelValue.slice(),ct=Te.value.findIndex(it=>Yn(it,De));if(ct!==-1)r("remove",{index:ct,value:We.splice(ct,1)[0]});else{if(e.maxValues!==void 0&&We.length>=e.maxValues)return;const it=e.emitValue===!0?De:q;r("add",{index:We.length,value:it}),We.push(it)}r("update:modelValue",We)}function Et(q){if(u.platform.is.desktop!==!0)return;const _e=q!==-1&&q<M.value?q:-1;o.value!==_e&&(o.value=_e)}function Ot(q=1,_e){if(i.value===!0){let De=o.value;do De=kd(De+q,-1,M.value-1);while(De!==-1&&De!==o.value&&be.value(e.options[De])===!0);o.value!==De&&(Et(De),ue(De),_e!==!0&&e.useInput===!0&&e.fillInput===!0&&f0(De>=0?Ae.value(e.options[De]):T,!0))}}function jr(q,_e){const De=We=>Yn(ae.value(We),q);return e.options.find(De)||_e.find(De)||q}function $r(q){const _e=ae.value(q);return Te.value.find(De=>Yn(De,_e))!==void 0}function Rt(q){e.useInput===!0&&j.value!==null&&(q===void 0||j.value===q.target&&q.target.value===de.value)&&j.value.select()}function Zt(q){L0(q,27)===!0&&i.value===!0&&(Jr(q),Je(),xr()),r("keyup",q)}function c0(q){const{value:_e}=q.target;if(q.keyCode!==void 0){Zt(q);return}if(q.target.value="",f!==null&&(clearTimeout(f),f=null),m!==null&&(clearTimeout(m),m=null),xr(),typeof _e=="string"&&_e.length!==0){const De=_e.toLocaleLowerCase(),We=it=>{const It=e.options.find(St=>String(it.value(St)).toLocaleLowerCase()===De);return It===void 0?!1:(R.value.indexOf(It)===-1?lt(It):Je(),!0)},ct=it=>{We(ae)!==!0&&it!==!0&&We(Ae)!==!0&&Yr(_e,!0,()=>ct(!0))};ct()}else H.clearValue(q)}function dr(q){r("keypress",q)}function gn(q){if(r("keydown",q),Gl(q)===!0)return;const _e=s.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),De=q.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(o.value!==-1||_e===!0);if(q.keyCode===27){Lr(q);return}if(q.keyCode===9&&De===!1){Ee();return}if(q.target===void 0||q.target.id!==H.targetUid.value||H.editable.value!==!0)return;if(q.keyCode===40&&H.innerLoading.value!==!0&&i.value===!1){Ut(q),Pe();return}if(q.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&s.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?Ze(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&r("update:modelValue",null);return}(q.keyCode===35||q.keyCode===36)&&(typeof s.value!="string"||s.value.length===0)&&(Ut(q),o.value=-1,Ot(q.keyCode===36?1:-1,e.multiple)),(q.keyCode===33||q.keyCode===34)&&ne.value!==void 0&&(Ut(q),o.value=Math.max(-1,Math.min(M.value,o.value+(q.keyCode===33?-1:1)*ne.value.view)),Ot(q.keyCode===33?1:-1,e.multiple)),(q.keyCode===38||q.keyCode===40)&&(Ut(q),Ot(q.keyCode===38?-1:1,e.multiple));const We=M.value;if((_===void 0||w<Date.now())&&(_=""),We>0&&e.useInput!==!0&&q.key!==void 0&&q.key.length===1&&q.altKey===!1&&q.ctrlKey===!1&&q.metaKey===!1&&(q.keyCode!==32||_.length!==0)){i.value!==!0&&Pe(q);const ct=q.key.toLocaleLowerCase(),it=_.length===1&&_[0]===ct;w=Date.now()+1500,it===!1&&(Ut(q),_+=ct);const It=new RegExp("^"+_.split("").map(Do=>Lw.indexOf(Do)!==-1?"\\"+Do:Do).join(".*"),"i");let St=o.value;if(it===!0||St<0||It.test(Ae.value(e.options[St]))!==!0)do St=kd(St+1,-1,We-1);while(St!==o.value&&(be.value(e.options[St])===!0||It.test(Ae.value(e.options[St]))!==!0));o.value!==St&&pt(()=>{Et(St),ue(St),St>=0&&e.useInput===!0&&e.fillInput===!0&&f0(Ae.value(e.options[St]),!0)});return}if(!(q.keyCode!==13&&(q.keyCode!==32||e.useInput===!0||_!=="")&&(q.keyCode!==9||De===!1))){if(q.keyCode!==9&&Ut(q),o.value!==-1&&o.value<We){lt(e.options[o.value]);return}if(_e===!0){const ct=(it,It)=>{if(It){if(Ld(It)!==!0)return}else It=e.newValueMode;if(d0("",e.multiple!==!0,!0),it==null)return;(It==="toggle"?lt:Dt)(it,It==="add-unique"),e.multiple!==!0&&(j.value?.focus(),Je())};if(e.onNewValue!==void 0?r("newValue",s.value,ct):ct(s.value),e.multiple!==!0)return}i.value===!0?Ee():H.innerLoading.value!==!0&&Pe()}}function Au(){return v===!0?S.value:z.value!==null&&z.value.contentEl!==null?z.value.contentEl:void 0}function H0(){return Au()}function Ti(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?re.value.map(q=>t["selected-item"](q)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?re.value.map((q,_e)=>G(bw,{key:"option-"+_e,removable:H.editable.value===!0&&be.value(q.opt)!==!0,dense:!0,textColor:e.color,tabindex:O.value,onRemove(){q.removeAtIndex(_e)}},()=>G("span",{class:"ellipsis",[q.html===!0?"innerHTML":"textContent"]:Ae.value(q.opt)}))):[G("span",{class:"ellipsis",[A.value===!0?"innerHTML":"textContent"]:Ke.value})]}function bn(){if(Ue.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:s.value}):void 0;const q=t.option!==void 0?t.option:De=>G(yw,{key:De.index,...De.itemProps},()=>G(xw,()=>G(ww,()=>G("span",{[De.html===!0?"innerHTML":"textContent"]:De.label}))));let _e=I("div",ee.value.map(q));return t["before-options"]!==void 0&&(_e=t["before-options"]().concat(_e)),ru(t["after-options"],_e)}function Cu(q,_e){const De=_e===!0?{...Q.value,...H.splitAttrs.attributes.value}:void 0,We={ref:_e===!0?j:void 0,key:"i_t",class:oe.value,style:e.inputStyle,value:s.value!==void 0?s.value:"",type:"search",...De,id:_e===!0?H.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":q===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...qe.value};return q!==!0&&v===!0&&(Array.isArray(We.class)===!0?We.class=[...We.class,"no-pointer-events"]:We.class+=" no-pointer-events"),G("input",We)}function V0(q){f!==null&&(clearTimeout(f),f=null),m!==null&&(clearTimeout(m),m=null),!(q&&q.target&&q.target.qComposing===!0)&&(f0(q.target.value||""),x=!0,T=s.value,H.focused.value!==!0&&(v!==!0||l.value===!0)&&H.focus(),e.onFilter!==void 0&&(f=setTimeout(()=>{f=null,Yr(s.value)},e.inputDebounce)))}function f0(q,_e){s.value!==q&&(s.value=q,_e===!0||e.inputDebounce===0||e.inputDebounce==="0"?r("inputValue",q):m=setTimeout(()=>{m=null,r("inputValue",q)},e.inputDebounce))}function d0(q,_e,De){x=De!==!0,e.useInput===!0&&(f0(q,!0),(_e===!0||De!==!0)&&(T=q),_e!==!0&&Yr(q))}function Yr(q,_e,De){if(e.onFilter===void 0||_e!==!0&&H.focused.value!==!0)return;H.innerLoading.value===!0?r("filterAbort"):(H.innerLoading.value=!0,c.value=!0),q!==""&&e.multiple!==!0&&R.value.length!==0&&x!==!0&&q===Ae.value(R.value[0])&&(q="");const We=setTimeout(()=>{i.value===!0&&(i.value=!1)},10);y!==null&&clearTimeout(y),y=We,r("filter",q,(ct,it)=>{(_e===!0||H.focused.value===!0)&&y===We&&(clearTimeout(y),typeof ct=="function"&&ct(),c.value=!1,pt(()=>{H.innerLoading.value=!1,H.editable.value===!0&&(_e===!0?i.value===!0&&Je():i.value===!0?_o(!0):i.value=!0),typeof it=="function"&&pt(()=>{it(n)}),typeof De=="function"&&pt(()=>{De(n)})}))},()=>{H.focused.value===!0&&y===We&&(clearTimeout(y),H.innerLoading.value=!1,c.value=!1),i.value===!0&&(i.value=!1)})}function So(){return G(zw,{ref:z,class:ve.value,style:e.popupContentStyle,modelValue:i.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&Ue.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:Me.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:me.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ie.value,onScrollPassive:N,onBeforeShow:Nc,onBeforeHide:Ao,onShow:Co},bn)}function Ao(q){Hc(q),Ee()}function Co(){te()}function k(q){Jr(q),j.value?.focus(),l.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function $(q){Jr(q),pt(()=>{l.value=!1})}function J(){const q=[G(vw,{class:`col-auto ${H.fieldClass.value}`,...he.value,for:H.targetUid.value,dark:Me.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:s.value.length!==0,...H.splitAttrs.listeners.value,onFocus:k,onBlur:$},{...t,rawControl:()=>H.getControl(!0),before:void 0,after:void 0})];return i.value===!0&&q.push(G("div",{ref:S,class:ve.value+" scroll",style:e.popupContentStyle,...ie.value,onClick:Lr,onScrollPassive:N},bn())),G(Zu,{ref:V,modelValue:a.value,position:e.useInput===!0?"top":void 0,transitionShow:D,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:Nc,onBeforeHide:we,onHide:Se,onShow:$e},()=>G("div",{class:"q-select__dialog"+(Me.value===!0?" q-select__dialog--dark q-dark":"")+(l.value===!0?" q-select__dialog--focused":"")},q))}function we(q){Hc(q),V.value!==null&&V.value.__updateRefocusTarget(H.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),H.focused.value=!1}function Se(q){Je(),H.focused.value===!1&&r("blur",q),xr()}function $e(){const q=document.activeElement;(q===null||q.id!==H.targetUid.value)&&j.value!==null&&j.value!==q&&j.value.focus(),te()}function Ee(){a.value!==!0&&(o.value=-1,i.value===!0&&(i.value=!1),H.focused.value===!1&&(y!==null&&(clearTimeout(y),y=null),H.innerLoading.value===!0&&(r("filterAbort"),H.innerLoading.value=!1,c.value=!1)))}function Pe(q){H.editable.value===!0&&(v===!0?(H.onControlFocusin(q),a.value=!0,pt(()=>{H.focus()})):H.focus(),e.onFilter!==void 0?Yr(s.value):(Ue.value!==!0||t["no-option"]!==void 0)&&(i.value=!0))}function Je(){a.value=!1,Ee()}function xr(){e.useInput===!0&&d0(e.multiple!==!0&&e.fillInput===!0&&R.value.length!==0&&Ae.value(R.value[0])||"",!0,!0)}function _o(q){let _e=-1;if(q===!0){if(R.value.length!==0){const De=ae.value(R.value[0]);_e=e.options.findIndex(We=>Yn(ae.value(We),De))}L(_e)}Et(_e)}function u3(q,_e){i.value===!0&&H.innerLoading.value===!1&&(L(-1,!0),pt(()=>{i.value===!0&&H.innerLoading.value===!1&&(q>_e?L():_o(!0))}))}function Ic(){a.value===!1&&z.value!==null&&z.value.updatePosition()}function Nc(q){q!==void 0&&Jr(q),r("popupShow",q),H.hasPopupOpen=!0,H.onControlFocusin(q)}function Hc(q){q!==void 0&&Jr(q),r("popupHide",q),H.hasPopupOpen=!1,H.onControlFocusout(q)}function Vc(){v=u.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||Ue.value===!1:!0),D=u.platform.is.ios===!0&&v===!0&&e.useInput===!0?"fade":e.transitionShow}return Il(Vc),Nl(Ic),Vc(),Wt(()=>{f!==null&&clearTimeout(f),m!==null&&clearTimeout(m)}),Object.assign(n,{showPopup:Pe,hidePopup:Je,removeAtIndex:Ze,add:Dt,toggleOption:lt,getOptionIndex:()=>o.value,setOptionIndex:Et,moveOptionSelection:Ot,filter:Yr,updateMenuPosition:Ic,updateInputValue:d0,isOptionSelected:$r,getEmittingOptionValue:Ye,isOptionDisabled:(...q)=>be.value.apply(null,q)===!0,getOptionValue:(...q)=>ae.value.apply(null,q),getOptionLabel:(...q)=>Ae.value.apply(null,q)}),Object.assign(H,{innerValue:R,fieldClass:W(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:F,targetRef:j,hasValue:Fe,showPopup:Pe,floatingLabel:W(()=>e.hideSelected!==!0&&Fe.value===!0||typeof s.value=="number"||s.value.length!==0||di(e.displayValue)),getControlChild:()=>{if(H.editable.value!==!1&&(a.value===!0||Ue.value!==!0||t["no-option"]!==void 0))return v===!0?J():So();H.hasPopupOpen===!0&&(H.hasPopupOpen=!1)},controlEvents:{onFocusin(q){H.onControlFocusin(q)},onFocusout(q){H.onControlFocusout(q,()=>{xr(),Ee()})},onClick(q){if(Lr(q),v!==!0&&i.value===!0){Ee(),j.value?.focus();return}Pe(q)}},getControl:q=>{const _e=Ti(),De=q===!0||a.value!==!0||v!==!0;if(e.useInput===!0)_e.push(Cu(q,De));else if(H.editable.value===!0){const ct=De===!0?Q.value:void 0;_e.push(G("input",{ref:De===!0?j:void 0,key:"d_t",class:"q-select__focus-target",id:De===!0?H.targetUid.value:void 0,value:Ke.value,readonly:!0,"data-autofocus":q===!0||e.autofocus===!0||void 0,...ct,onKeydown:gn,onKeyup:Zt,onKeypress:dr})),De===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&_e.push(G("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:c0}))}if(Y.value!==void 0&&e.disable!==!0&&Te.value.length!==0){const ct=Te.value.map(it=>G("option",{value:it,selected:!0}));_e.push(G("select",{class:"hidden",name:Y.value,multiple:e.multiple},ct))}const We=e.useInput===!0||De!==!0?void 0:H.splitAttrs.attributes.value;return G("div",{class:"q-field__native row items-center",...We,...H.splitAttrs.listeners.value},_e)},getInnerAppend:()=>e.loading!==!0&&c.value!==!0&&e.hideDropdownIcon!==!0?[G(Er,{class:"q-select__dropdown-icon"+(i.value===!0?" rotate-180":""),name:ge.value})]:null}),zc(H)}}),Nw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXQAAAEsCAMAAADkYLj7AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACKUExURUdwTNvg5ebm6Onp7vX19tre5vf39/X19+rs8PX19+zt8dzg5szT297i5+zu8dve5PX19/Pz9q64wtzg5dzg5fX1+q65wq+3x/b2+O7v89zg5ubp7dzg5vX19624wq24wf/62Ny46PX199zg5q64wt/i6OXo7P///+/w8+Pl6vLz9evt8LfAyfr7/JKDEUsAAAAhdFJOUwDfDh2/QCDM34Bmh2XwTiyas9vfvzOJIHPZn6vPjO+73xUXxlkAAAdzSURBVHja7N3LcqJAFIDhFkMm4ZopWEyhq+5CAYv3f725RMCyaEUCZ9rU/+9CJZsvnUODShQRETnVNgqK3X4Tm79t9vkujHxP0Vp5fpjHZqx9EW0VLS8eWMB7+NBXtKR4kpsJZQHrfTHyMDZTK1JFUuRDOVNGjnyoYMh8KT8zcwoVzV/mZmYZi31m6XmZs9jlCsyX2nGd+nj9aGHEiFUYg7q8Oery5qjLz3PUXTe3t1c0qa25jv362nmZWTLuf4kNl6GMi6SJw4UBI1tulo4dzL18s3iFIqmFPsRUnzDRmeqyFWaFYkW3yjoo9uqSp1Hmi3ShWaWNort7F7bqksVmnRJFMzaMpbmoPnT1h8uqPbZNbcYLFM04j+pLT33s6o7W7efXFRelj5YYW6ejvonedgdOZqydIluRGalDPdxAPx37SjNSruhh9OqPZnsDXQ/oB9CXQa+7yWFDbwf0E+jLoDfd5LCis9KXPpEezp6VFb0a0EtOpIvs09ue2IZe9gcqbr48mGfZLnZpC/rwx6C5OHq4zSh61VdeH+mHSd38W+fc25V9DaOsa2NLkb3IfDk2LzOG+hpFim6UcztdvoTpIp8XM12+xaukmaJ7S52FLl/AQv8P7dm6yOfzRqP/UMhwee4rpJjhMrFtxs5FvoCBLt8Oc/E8zOVLMH/Sz8DEnEPFPwOTpcqJXoN3R0q8tS9JQ0+5kP+iHerjdc3pkiXKid61W73Z1TOBZS7SL62fRT29OiE++jvIt8qNXrVrtfplwv2ueOerbfAI+85XrvShHcy/dz89D85zIsrNpOLQU+70ph3sXY217QH9y6Nhdle88JVLedrFftpH+rDIh9Igj2/9c4b+BxjpN3qxzfQ4TNV4aRBey8f7IvgEB30+urormPpJ9Jmfnr8Z9Bno8wMddNBBBx100EEHHXTQQQf9GdEPdbl+dV2BPnQwQp1A7zoZqcoG9H6hi3UC/VwNOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjroPNkI9GdE5xleXY2R6sDT6vqqUsi8Af2SXaKGJ5Dy2FfQQQcddNBBBx100EEHHXTQQQcddNBBBx100EEHHXTQQQf9u6On2lJTCaQt/VDfud/t3e1uozwQhmG/BtaFTfiS2BJFaaTaID72/I/vTX/wj2lWq83EM3nuM+jVkQecSHlvCfLRczSsn7vNv4zirr+Jv/q5P405h4NR26/wO8qfxpzDR2WUdggE+ujZmvbRQ/uudImGCNBXAj20SpdoDOgLhR5ULtM2EOi839ol0cNB4xKl0T8nz9O8kOi3Mo3mNPrnso4MbQc6gf6hbJlmgUDnj0YPrdW1RAWgK1umtg0C0JWpX4MU9JDpWaIS0HUt0yyIQFe1TN8/RKGHq44HFxnompbpNUhDDwf5S1QcuvjL9UOQhy79cr0KItFDK3qJCkLXskzbIBU9HMQv0fvo68B7nU6jb2VKzGn00TM13UGXfh+QhT9GnzxXA4G+U2tlL9GteL+CsSV7mdod84i/gqFD/RqC3EnfyuQtUWFnuvhlmgUSfbeVy3yh0aUv0/cPGn2/aRwYWsnndKqrwAcXSW+kwpfpNehBDwcpS1Q2usTL9UMQji7wcr0KytBDK2CJSkUXvEzbIBVd7jLN/N80jxML7rLOg/+L/pOOTn++8PBWfwvoxP3fYxo90LnVRw904jbqgeZA32t+5A71QN9veuCgA51ofBy6BzrR8DDzCehkD0NfgU62POxIBzrQY0KfgM6AzvVSOgOd/fVo8UBnP9RHoLOP+uKBzn6qD0DnVl9GD3TmC5hl9kC/27D+w3U6jd4D/Y+a5/GfNA/eA509oAMd6EAHOtCBDnSgAx3oQAc60IEOdKADHehABzrQgQ50oAMd6EAHOtCBDnSgAx3oQAc60IEOdKADHehABzrQgQ50oAMd6M+s++k1diwTE2dJcUndyavMuXOe2ehGvDi7W3rRv6pjGviuT90tvehHtxWJuy0at6V80jf3pw957bb0o281eRIRuX70LYKdlVw/ehzsNnfuRdCHo9upKfnHvHE7KX56iWDYS0fkFTYQ6K5hVc8cldfYm6PUrWErSR3Vm1fYyVFdDFu5I1J6qDu6znDVOLqjxtOFrjdcOfdSo+6+KY9i0t1R4YlOVxiuCvddCg8XusRwZVMGdRHmueGrc992fBXzxvK/kap/Wj+evjdPDGtJc4f9qJ7c5dYwZ3t3p9Ob5E6bOFWamSeU1O51Swv7tI8xQP6Ekhzkz2Avz68lXncmhpK+cS9SXVgTTT+K2mkvzUtrIispc8UDX/edibSqvCiEP/eZNXFXZb2e1ZrWRWeNjGxXXM7ivfsyMeLqir5OncCay+YtNLvRi+GurNGRrbIir+NdsulNu8gSo7KqKzf8WLDzoqwS8wrZritu+hs/O3Wd90XZJda8ZrbqsqLov/4BqXtgTVNfvqSzKgLq/wGssM8UbM2AHQAAAABJRU5ErkJggg==",Hw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAACKCAMAAABsMMGBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUdwTMnN1MnM1MbK1MnN08nN08jM08jP1sjM1MnM08rN08/P38nN1MrP1cjM0sjM1MfL08rO1MjN08/Pz8nN1IfXDeAAAAAUdFJOUwC/cDCQgEAg79+fEK9QUGCAf88QR8RyVAAAANhJREFUeNrtld0OgyAMRotSKfjv+v7Puorb0HR65cWW9Fxy6BdaSIA9zAw7zJkzZ+6nHSKCcRdhrBD7Wot2Jt6IKWhTmPdpkQXqPPqOcm04KNfAxrBkWRRVUKjoI5Oo4+lqkQ6EUSIaONK81iTRq5a8FOYtFJR7kBSuOxJo/JrmmHvQDGuoFAfQBOZ4+pZl/dLF00y6PEs+rCbJcu691ZG5d3AnM4tlrmrWIwju6x2ly7v9SF76d57joi7fkjDxDpqOTYUUtSnUA2I1BjDuAhHtrzJnzty/uife3CRGJAhTOgAAAABJRU5ErkJggg==",Vw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAACKCAMAAABsMMGBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTMfP18nN1MrO1MjM1MrN1MjN1M/P28nM1MjM08jM08fL08nN1MnM1MfJ1MfM1MnP1MnN1MnN1Dfh3+IAAAASdFJOUwAgz3/vn0gQ33CggK9gMGAwv9YtiLYAAADhSURBVHja7dLNkoQgDATggDBJ/Lff/2HXzFYJzMJxqvaQPojWB7YFUh0AVMXNzc3Nzc3Nzc3t35rn+2HNkoC4buFTpoQnuVE1KZGt0IQ7l+5MvGu0h6kmeT0zX1LwADBzXT4DULsLchO1uTHZ7AwIfxjL+60BwNNVOm2htUX6m8saV0A7pkCmCJwd2wEhANwxBpLZ8B9Pw3UgGfZFmoffudrl6lgENuI02BcEommwn9nGZGObDEj4rb2xOb8Ma3tn6Zz7QlQQUU8mPvVCIcshqJOUqoS5ksXKGz3WCCTJ+sgPl3MkIYfkbJAAAAAASUVORK5CYII=",Uw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAA8AQMAAACZypKEAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURcnN1MbuL9sAAAAMSURBVAjXY2AYGAAAAHgAAdrtolcAAAAASUVORK5CYII=";function jw(e){return["日","一","二","三","四","五","六"][e%7]||""}function Pd(e){const t=new Date(e),r=t.getFullYear(),n=t.getMonth()+1,u=t.getDate();return`${r}年${n}月${u}日`}const $w=[{key:"plan.create",content:{name:"制定学习计划",icon:`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
298
+ ?)[ \r ]*`,sl="[̀-ͯ]",Ob=new RegExp(sl+"+$"),qb="("+K4+"+)|"+(Bb+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(sl+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(sl+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+zb)+("|"+Fb+")");class jf{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(qb,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Mr("EOF",new hr(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new fe("Unexpected character: '"+t[r]+"'",new Mr(t[r],new hr(this,r,r+1)));var u=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[u]===14){var i=t.indexOf(`
299
+ `,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new Mr(u,new hr(this,r,this.tokenRegex.lastIndex))}}class Rb{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new fe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var u=0;u<this.undefStack.length;u++)delete this.undefStack[u][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Lb=P4;b("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});b("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});b("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});b("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});b("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});b("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");b("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var $f={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};b("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new fe("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=$f[t.text],n==null||n>=r)throw new fe("Invalid base-"+r+" digit "+t.text);for(var u;(u=$f[e.future().text])!=null&&u<r;)n*=r,n+=u,e.popToken()}return"\\@char{"+n+"}"});var yc=(e,t,r,n)=>{var u=e.consumeArg().tokens;if(u.length!==1)throw new fe("\\newcommand's first argument must be a macro name");var i=u[0].text,a=e.isDefined(i);if(a&&!t)throw new fe("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new fe("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(u=e.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var s="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new fe("Invalid number of arguments: "+s);o=parseInt(s),u=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:u,numArgs:o}),""};b("\\newcommand",e=>yc(e,!1,!0,!1));b("\\renewcommand",e=>yc(e,!0,!1,!1));b("\\providecommand",e=>yc(e,!0,!0,!0));b("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});b("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});b("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Wn[r],ht.math[r],ht.text[r]),""});b("\\bgroup","{");b("\\egroup","}");b("~","\\nobreakspace");b("\\lq","`");b("\\rq","'");b("\\aa","\\r a");b("\\AA","\\r A");b("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");b("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");b("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");b("ℬ","\\mathscr{B}");b("ℰ","\\mathscr{E}");b("ℱ","\\mathscr{F}");b("ℋ","\\mathscr{H}");b("ℐ","\\mathscr{I}");b("ℒ","\\mathscr{L}");b("ℳ","\\mathscr{M}");b("ℛ","\\mathscr{R}");b("ℭ","\\mathfrak{C}");b("ℌ","\\mathfrak{H}");b("ℨ","\\mathfrak{Z}");b("\\Bbbk","\\Bbb{k}");b("·","\\cdotp");b("\\llap","\\mathllap{\\textrm{#1}}");b("\\rlap","\\mathrlap{\\textrm{#1}}");b("\\clap","\\mathclap{\\textrm{#1}}");b("\\mathstrut","\\vphantom{(}");b("\\underbar","\\underline{\\text{#1}}");b("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');b("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");b("\\ne","\\neq");b("≠","\\neq");b("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");b("∉","\\notin");b("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");b("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");b("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");b("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");b("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");b("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");b("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");b("⟂","\\perp");b("‼","\\mathclose{!\\mkern-0.8mu!}");b("∌","\\notni");b("⌜","\\ulcorner");b("⌝","\\urcorner");b("⌞","\\llcorner");b("⌟","\\lrcorner");b("©","\\copyright");b("®","\\textregistered");b("️","\\textregistered");b("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');b("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');b("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');b("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');b("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");b("⋮","\\vdots");b("\\varGamma","\\mathit{\\Gamma}");b("\\varDelta","\\mathit{\\Delta}");b("\\varTheta","\\mathit{\\Theta}");b("\\varLambda","\\mathit{\\Lambda}");b("\\varXi","\\mathit{\\Xi}");b("\\varPi","\\mathit{\\Pi}");b("\\varSigma","\\mathit{\\Sigma}");b("\\varUpsilon","\\mathit{\\Upsilon}");b("\\varPhi","\\mathit{\\Phi}");b("\\varPsi","\\mathit{\\Psi}");b("\\varOmega","\\mathit{\\Omega}");b("\\substack","\\begin{subarray}{c}#1\\end{subarray}");b("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");b("\\boxed","\\fbox{$\\displaystyle{#1}$}");b("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");b("\\implies","\\DOTSB\\;\\Longrightarrow\\;");b("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");b("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");b("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Yf={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};b("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Yf?t=Yf[r]:(r.slice(0,4)==="\\not"||r in ht.math&&ze.contains(["bin","rel"],ht.math[r].group))&&(t="\\dotsb"),t});var xc={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};b("\\dotso",function(e){var t=e.future().text;return t in xc?"\\ldots\\,":"\\ldots"});b("\\dotsc",function(e){var t=e.future().text;return t in xc&&t!==","?"\\ldots\\,":"\\ldots"});b("\\cdots",function(e){var t=e.future().text;return t in xc?"\\@cdots\\,":"\\@cdots"});b("\\dotsb","\\cdots");b("\\dotsm","\\cdots");b("\\dotsi","\\!\\cdots");b("\\dotsx","\\ldots\\,");b("\\DOTSI","\\relax");b("\\DOTSB","\\relax");b("\\DOTSX","\\relax");b("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");b("\\,","\\tmspace+{3mu}{.1667em}");b("\\thinspace","\\,");b("\\>","\\mskip{4mu}");b("\\:","\\tmspace+{4mu}{.2222em}");b("\\medspace","\\:");b("\\;","\\tmspace+{5mu}{.2777em}");b("\\thickspace","\\;");b("\\!","\\tmspace-{3mu}{.1667em}");b("\\negthinspace","\\!");b("\\negmedspace","\\tmspace-{4mu}{.2222em}");b("\\negthickspace","\\tmspace-{5mu}{.277em}");b("\\enspace","\\kern.5em ");b("\\enskip","\\hskip.5em\\relax");b("\\quad","\\hskip1em\\relax");b("\\qquad","\\hskip2em\\relax");b("\\tag","\\@ifstar\\tag@literal\\tag@paren");b("\\tag@paren","\\tag@literal{({#1})}");b("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new fe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});b("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");b("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");b("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");b("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");b("\\newline","\\\\\\relax");b("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Z4=ye(Cn["Main-Regular"][84][1]-.7*Cn["Main-Regular"][65][1]);b("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Z4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");b("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Z4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");b("\\hspace","\\@ifstar\\@hspacer\\@hspace");b("\\@hspace","\\hskip #1\\relax");b("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");b("\\ordinarycolon",":");b("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");b("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');b("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');b("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');b("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');b("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');b("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');b("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');b("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');b("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');b("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');b("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');b("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');b("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');b("∷","\\dblcolon");b("∹","\\eqcolon");b("≔","\\coloneqq");b("≕","\\eqqcolon");b("⩴","\\Coloneqq");b("\\ratio","\\vcentcolon");b("\\coloncolon","\\dblcolon");b("\\colonequals","\\coloneqq");b("\\coloncolonequals","\\Coloneqq");b("\\equalscolon","\\eqqcolon");b("\\equalscoloncolon","\\Eqqcolon");b("\\colonminus","\\coloneq");b("\\coloncolonminus","\\Coloneq");b("\\minuscolon","\\eqcolon");b("\\minuscoloncolon","\\Eqcolon");b("\\coloncolonapprox","\\Colonapprox");b("\\coloncolonsim","\\Colonsim");b("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");b("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");b("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");b("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");b("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");b("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");b("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");b("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");b("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");b("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");b("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");b("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");b("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");b("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");b("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");b("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");b("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");b("\\nleqq","\\html@mathml{\\@nleqq}{≰}");b("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");b("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");b("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");b("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");b("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");b("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");b("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");b("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");b("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");b("\\imath","\\html@mathml{\\@imath}{ı}");b("\\jmath","\\html@mathml{\\@jmath}{ȷ}");b("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");b("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");b("⟦","\\llbracket");b("⟧","\\rrbracket");b("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");b("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");b("⦃","\\lBrace");b("⦄","\\rBrace");b("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");b("⦵","\\minuso");b("\\darr","\\downarrow");b("\\dArr","\\Downarrow");b("\\Darr","\\Downarrow");b("\\lang","\\langle");b("\\rang","\\rangle");b("\\uarr","\\uparrow");b("\\uArr","\\Uparrow");b("\\Uarr","\\Uparrow");b("\\N","\\mathbb{N}");b("\\R","\\mathbb{R}");b("\\Z","\\mathbb{Z}");b("\\alef","\\aleph");b("\\alefsym","\\aleph");b("\\Alpha","\\mathrm{A}");b("\\Beta","\\mathrm{B}");b("\\bull","\\bullet");b("\\Chi","\\mathrm{X}");b("\\clubs","\\clubsuit");b("\\cnums","\\mathbb{C}");b("\\Complex","\\mathbb{C}");b("\\Dagger","\\ddagger");b("\\diamonds","\\diamondsuit");b("\\empty","\\emptyset");b("\\Epsilon","\\mathrm{E}");b("\\Eta","\\mathrm{H}");b("\\exist","\\exists");b("\\harr","\\leftrightarrow");b("\\hArr","\\Leftrightarrow");b("\\Harr","\\Leftrightarrow");b("\\hearts","\\heartsuit");b("\\image","\\Im");b("\\infin","\\infty");b("\\Iota","\\mathrm{I}");b("\\isin","\\in");b("\\Kappa","\\mathrm{K}");b("\\larr","\\leftarrow");b("\\lArr","\\Leftarrow");b("\\Larr","\\Leftarrow");b("\\lrarr","\\leftrightarrow");b("\\lrArr","\\Leftrightarrow");b("\\Lrarr","\\Leftrightarrow");b("\\Mu","\\mathrm{M}");b("\\natnums","\\mathbb{N}");b("\\Nu","\\mathrm{N}");b("\\Omicron","\\mathrm{O}");b("\\plusmn","\\pm");b("\\rarr","\\rightarrow");b("\\rArr","\\Rightarrow");b("\\Rarr","\\Rightarrow");b("\\real","\\Re");b("\\reals","\\mathbb{R}");b("\\Reals","\\mathbb{R}");b("\\Rho","\\mathrm{P}");b("\\sdot","\\cdot");b("\\sect","\\S");b("\\spades","\\spadesuit");b("\\sub","\\subset");b("\\sube","\\subseteq");b("\\supe","\\supseteq");b("\\Tau","\\mathrm{T}");b("\\thetasym","\\vartheta");b("\\weierp","\\wp");b("\\Zeta","\\mathrm{Z}");b("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");b("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");b("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");b("\\bra","\\mathinner{\\langle{#1}|}");b("\\ket","\\mathinner{|{#1}\\rangle}");b("\\braket","\\mathinner{\\langle{#1}\\rangle}");b("\\Bra","\\left\\langle#1\\right|");b("\\Ket","\\left|#1\\right\\rangle");var Q4=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,u=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var s=f=>m=>{e&&(m.macros.set("|",a),u.length&&m.macros.set("\\|",o));var p=f;if(!f&&u.length){var v=m.future();v.text==="|"&&(m.popToken(),p=!0)}return{tokens:p?u:n,numArgs:0}};t.macros.set("|",s(!1)),u.length&&t.macros.set("\\|",s(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};b("\\bra@ket",Q4(!1));b("\\bra@set",Q4(!0));b("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");b("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");b("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");b("\\angln","{\\angl n}");b("\\blue","\\textcolor{##6495ed}{#1}");b("\\orange","\\textcolor{##ffa500}{#1}");b("\\pink","\\textcolor{##ff00af}{#1}");b("\\red","\\textcolor{##df0030}{#1}");b("\\green","\\textcolor{##28ae7b}{#1}");b("\\gray","\\textcolor{gray}{#1}");b("\\purple","\\textcolor{##9d38bd}{#1}");b("\\blueA","\\textcolor{##ccfaff}{#1}");b("\\blueB","\\textcolor{##80f6ff}{#1}");b("\\blueC","\\textcolor{##63d9ea}{#1}");b("\\blueD","\\textcolor{##11accd}{#1}");b("\\blueE","\\textcolor{##0c7f99}{#1}");b("\\tealA","\\textcolor{##94fff5}{#1}");b("\\tealB","\\textcolor{##26edd5}{#1}");b("\\tealC","\\textcolor{##01d1c1}{#1}");b("\\tealD","\\textcolor{##01a995}{#1}");b("\\tealE","\\textcolor{##208170}{#1}");b("\\greenA","\\textcolor{##b6ffb0}{#1}");b("\\greenB","\\textcolor{##8af281}{#1}");b("\\greenC","\\textcolor{##74cf70}{#1}");b("\\greenD","\\textcolor{##1fab54}{#1}");b("\\greenE","\\textcolor{##0d923f}{#1}");b("\\goldA","\\textcolor{##ffd0a9}{#1}");b("\\goldB","\\textcolor{##ffbb71}{#1}");b("\\goldC","\\textcolor{##ff9c39}{#1}");b("\\goldD","\\textcolor{##e07d10}{#1}");b("\\goldE","\\textcolor{##a75a05}{#1}");b("\\redA","\\textcolor{##fca9a9}{#1}");b("\\redB","\\textcolor{##ff8482}{#1}");b("\\redC","\\textcolor{##f9685d}{#1}");b("\\redD","\\textcolor{##e84d39}{#1}");b("\\redE","\\textcolor{##bc2612}{#1}");b("\\maroonA","\\textcolor{##ffbde0}{#1}");b("\\maroonB","\\textcolor{##ff92c6}{#1}");b("\\maroonC","\\textcolor{##ed5fa6}{#1}");b("\\maroonD","\\textcolor{##ca337c}{#1}");b("\\maroonE","\\textcolor{##9e034e}{#1}");b("\\purpleA","\\textcolor{##ddd7ff}{#1}");b("\\purpleB","\\textcolor{##c6b9fc}{#1}");b("\\purpleC","\\textcolor{##aa87ff}{#1}");b("\\purpleD","\\textcolor{##7854ab}{#1}");b("\\purpleE","\\textcolor{##543b78}{#1}");b("\\mintA","\\textcolor{##f5f9e8}{#1}");b("\\mintB","\\textcolor{##edf2df}{#1}");b("\\mintC","\\textcolor{##e0e5cc}{#1}");b("\\grayA","\\textcolor{##f6f7f7}{#1}");b("\\grayB","\\textcolor{##f0f1f2}{#1}");b("\\grayC","\\textcolor{##e3e5e6}{#1}");b("\\grayD","\\textcolor{##d6d8da}{#1}");b("\\grayE","\\textcolor{##babec2}{#1}");b("\\grayF","\\textcolor{##888d93}{#1}");b("\\grayG","\\textcolor{##626569}{#1}");b("\\grayH","\\textcolor{##3b3e40}{#1}");b("\\grayI","\\textcolor{##21242c}{#1}");b("\\kaBlue","\\textcolor{##314453}{#1}");b("\\kaGreen","\\textcolor{##71B307}{#1}");var X4={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Pb{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new Rb(Lb,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new jf(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,u;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:u,end:n}=this.consumeArg(["]"])}else({tokens:u,start:r,end:n}=this.consumeArg());return this.pushToken(new Mr("EOF",n.loc)),this.pushTokens(u),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var u=this.future(),i,a=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++a;else if(i.text==="}"){if(--a,a===-1)throw new fe("Extra }",i)}else if(i.text==="EOF")throw new fe("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",i);if(t&&n)if((a===0||a===1&&t[o]==="{")&&i.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(a!==0||n);return u.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:u,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new fe("The length of delimiters doesn't match the number of args!");for(var n=r[0],u=0;u<n.length;u++){var i=this.popToken();if(n[u]!==i.text)throw new fe("Use of the macro doesn't match its definition",i)}}for(var a=[],o=0;o<t;o++)a.push(this.consumeArg(r&&r[o+1]).tokens);return a}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new fe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,u=r.noexpand?null:this._getExpansion(n);if(u==null||t&&u.unexpandable){if(t&&u==null&&n[0]==="\\"&&!this.isDefined(n))throw new fe("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=u.tokens,a=this.consumeArgs(u.numArgs,u.delimiters);if(u.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var s=i[o];if(s.text==="#"){if(o===0)throw new fe("Incomplete placeholder at end of macro body",s);if(s=i[--o],s.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(s.text))i.splice(o,2,...a[+s.text-1]);else throw new fe("Not a valid argument number",s)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Mr(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var u=this.stack.pop();u.treatAsRelax&&(u.noexpand=!1,u.treatAsRelax=!1),r.push(u)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var u=typeof r=="function"?r(this):r;if(typeof u=="string"){var i=0;if(u.indexOf("#")!==-1)for(var a=u.replace(/##/g,"");a.indexOf("#"+(i+1))!==-1;)++i;for(var o=new jf(u,this.settings),s=[],l=o.lex();l.text!=="EOF";)s.push(l),l=o.lex();s.reverse();var c={tokens:s,numArgs:i};return c}return u}isDefined(t){return this.macros.has(t)||Wn.hasOwnProperty(t)||ht.math.hasOwnProperty(t)||ht.text.hasOwnProperty(t)||X4.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Wn.hasOwnProperty(t)&&!Wn[t].primitive}}var Gf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Gi=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),bs={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Wf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class mo{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Pb(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new fe("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Mr("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var u=this.fetch();if(mo.endOfExpression.indexOf(u.text)!==-1||r&&u.text===r||t&&Wn[u.text]&&Wn[u.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,u=0;u<t.length;u++)if(t[u].type==="infix"){if(r!==-1)throw new fe("only one infix operator per group",t[u].token);r=u,n=t[u].replaceWith}if(r!==-1&&n){var i,a,o=t.slice(0,r),s=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?i=o[0]:i={type:"ordgroup",mode:this.mode,body:o},s.length===1&&s[0].type==="ordgroup"?a=s[0]:a={type:"ordgroup",mode:this.mode,body:s};var l;return n==="\\\\abovefrac"?l=this.callFunction(n,[i,t[r],a],[]):l=this.callFunction(n,[i,a],[]),[l]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var u;do{var i;u=this.parseGroup(t)}while(((i=u)==null?void 0:i.type)==="internal");if(!u)throw new fe("Expected group after '"+n+"'",r);return u}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var u={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[u]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if(r?.type==="internal"||this.mode==="text")return r;for(var n,u;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var a=i.text==="\\limits";r.limits=a,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new fe("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new fe("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(u)throw new fe("Double subscript",i);u=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new fe("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();this.fetch().text==="'";)s.push(o),this.consume();this.fetch().text==="^"&&s.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:s}}else if(Gi[i.text]){var l=Gf.test(i.text),c=[];for(c.push(new Mr(Gi[i.text])),this.consume();;){var f=this.fetch().text;if(!Gi[f]||Gf.test(f)!==l)break;c.unshift(new Mr(Gi[f])),this.consume()}var m=this.subparse(c);l?u={type:"ordgroup",mode:"math",body:m}:n={type:"ordgroup",mode:"math",body:m}}else break}return n||u?{type:"supsub",mode:this.mode,base:r,sup:n,sub:u}:r}parseFunction(t,r){var n=this.fetch(),u=n.text,i=Wn[u];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new fe("Got function '"+u+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new fe("Can't use function '"+u+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new fe("Can't use function '"+u+"' in math mode",n);var{args:a,optArgs:o}=this.parseArguments(u,i);return this.callFunction(u,a,o,n,t)}callFunction(t,r,n,u,i){var a={funcName:t,parser:this,token:u,breakOnTokenText:i},o=Wn[t];if(o&&o.handler)return o.handler(a,r,n);throw new fe("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var u=[],i=[],a=0;a<n;a++){var o=r.argTypes&&r.argTypes[a],s=a<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&a===1&&i[0]==null)&&(o="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",o,s);if(s)i.push(l);else if(l!=null)u.push(l);else throw new fe("Null argument, please report this as a bug")}return{args:u,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var u=this.parseArgumentGroup(n,"text");return u!=null?{type:"styling",mode:u.mode,body:[u],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new fe("A primitive argument cannot be optional");var a=this.parseGroup(t);if(a==null)throw new fe("Expected group as "+t,this.fetch());return a}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new fe("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var u="",i;(i=this.fetch()).text!=="EOF";)u+=i.text,this.consume();return this.consume(),n.text=u,n}parseRegexGroup(t,r){for(var n=this.fetch(),u=n,i="",a;(a=this.fetch()).text!=="EOF"&&t.test(i+a.text);)u=a,i+=u.text,this.consume();if(i==="")throw new fe("Invalid "+r+": '"+n.text+"'",n);return n.range(u,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new fe("Invalid color: '"+r.text+"'",r);var u=n[0];return/^[0-9a-f]{6}$/i.test(u)&&(u="#"+u),{type:"color-token",mode:this.mode,color:u}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var u=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!u)throw new fe("Invalid size: '"+r.text+"'",r);var i={number:+(u[1]+u[2]),unit:u[3]};if(!l4(i))throw new fe("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var u=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(u),a}parseGroup(t,r){var n=this.fetch(),u=n.text,i;if(u==="{"||u==="\\begingroup"){this.consume();var a=u==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:hr.range(n,s),body:o,semisimple:u==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&u[0]==="\\"&&!X4.hasOwnProperty(u)){if(this.settings.throwOnError)throw new fe("Undefined control sequence: "+u,n);i=this.formatUnsupportedCmd(u),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var u=t[n],i=u.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:hr.range(u,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:hr.range(u,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:hr.range(u,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),u=n.charAt(0)==="*";if(u&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new fe(`\\verb assertion failed --
300
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:u}}Wf.hasOwnProperty(r[0])&&!ht[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Wf[r[0]]+r.slice(1));var i=Ob.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var a;if(ht[this.mode][r]){this.settings.strict&&this.mode==="math"&&ul.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=ht[this.mode][r].group,s=hr.range(t),l;if(Cg.hasOwnProperty(o)){var c=o;l={type:"atom",mode:this.mode,family:c,loc:s,text:r}}else l={type:o,mode:this.mode,loc:s,text:r};a=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(s4(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),a={type:"textord",mode:"text",loc:hr.range(t),text:r};else return null;if(this.consume(),i)for(var f=0;f<i[0].length;f++){var m=i[0][f];if(!bs[m])throw new fe("Unknown accent ' "+m+"'",t);var p=bs[m][this.mode]||bs[m].text;if(!p)throw new fe("Accent "+m+" unsupported in "+this.mode+" mode",t);a={type:"accent",mode:this.mode,loc:hr.range(t),label:p,isStretchy:!1,isShifty:!0,base:a}}return a}}mo.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Ib=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new mo(t,r);delete n.gullet.macros.current["\\df@tag"];var u=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new fe("\\tag works only in display equations");u=[{type:"tag",mode:"text",body:u,tag:n.subparse([new Mr("\\df@tag")])}]}return u};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.");var J4=function(t,r){var n=Hb(t,r).toMarkup();return n},Nb=function(t,r,n){if(n.throwOnError||!(t instanceof fe))throw t;var u=K.makeSpan(["katex-error"],[new Nr(r)]);return u.setAttribute("title",t.toString()),u.setAttribute("style","color:"+n.errorColor),u},Hb=function(t,r){var n=new eg(r);try{var u=Ib(t,n);return Zg(u,t,n)}catch(i){return Nb(i,t,n)}};const Vb=(e,t,r)=>{let n;try{n=J4(e,{...t,displayMode:!1})}catch(u){/* istanbul ignore else -- @preserve */if(u instanceof fe)console.error(u),n=`<span class='katex-error' title='${Ea(u.toString())}'>${Ea(e)}</span>`;else throw u}return r?.(n,!1)??n},Ub=(e,t,r)=>{let n;try{n=`<p class='katex-block'>${J4(e,{...t,displayMode:!0})}</p>
301
+ `}catch(u){/* istanbul ignore else -- @preserve */if(u instanceof fe)console.error(u),n=`<p class='katex-block katex-error' title='${Ea(u.toString())}'>${Ea(e)}</p>
302
+ `;else throw u}return r?.(n,!0)??n},jb=(e,t={})=>{const{allowInlineWithSpace:r=!1,delimiters:n,mathFence:u,logger:i=l=>l==="newLineInDisplayMode"?"ignore":"warn",macros:a={},transformer:o,...s}=t;e.use(Vv,{allowInlineWithSpace:r,delimiters:n,mathFence:u,render:(l,c,f)=>{const m={strict:(p,v,x)=>i(p,v,x,f)??"ignore",macros:a,throwOnError:!1,...s};return c?Ub(l,m,o):Vb(l,m,o)}})},$b={class:"t-flex t-flex-col t-bg-white t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"}},Yb=["innerHTML"],Gb={key:0,class:"t-flex t-justify-end"},Wb=Hr({__name:"TextContentTypeMessage",props:{message:{type:Object,required:!0}},setup(e){const t=new br({html:!0,linkify:!0});t.use(jb,{delimiters:"all"}),t.renderer.rules.paragraph_open=()=>'<p class="t-leading-[22px] t-mb-4">',t.renderer.rules.bullet_list_open=()=>'<ul class="">',t.renderer.rules.list_item_open=()=>'<li class="t-mb-4 t-ml-5 t-list-disc">',t.renderer.rules.link_open=(u,i)=>`<a class="t-text-[#165DFF] t-cursor-pointer t-font-normal" href="${u[i].attrGet("href")||""}">`,t.renderer.rules.heading_open=(u,i)=>{const a=u[i].tag;return a==="h3"?'<h3 class="t-font-semibold t-text-base t-mb-4">':`<${a}>`};const r=uc();function n(u){Lv(u).then(()=>{r.notify({message:"复制成功!",type:"positive",iconColor:"green",iconSize:"16px",classes:"copy-notify",timeout:2e3})}).catch(()=>{r.notify({message:"复制失败!",type:"negative",iconColor:"red",iconSize:"16px",classes:"copy-notify",timeout:2e3})})}return(u,i)=>(Ie(),Ge("div",$b,[le("div",{innerHTML:rt(t).render(e.message.content),class:"t-text-sm t-font-normal t-text-[#222]"},null,8,Yb),["completed","failed"].includes(e.message.state)?(Ie(),Ge("div",Gb,[(Ie(),Ge("svg",{class:"t-cursor-pointer",onClick:i[0]||(i[0]=a=>n(e.message.content)),xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#999999"},i[1]||(i[1]=[le("path",{d:"M360-240q-29.7 0-50.85-21.15Q288-282.3 288-312v-480q0-29.7 21.15-50.85Q330.3-864 360-864h384q29.7 0 50.85 21.15Q816-821.7 816-792v480q0 29.7-21.15 50.85Q773.7-240 744-240H360Zm0-72h384v-480H360v480ZM216-96q-29.7 0-50.85-21.15Q144-138.3 144-168v-552h72v552h456v72H216Zm144-216v-480 480Z"},null,-1)])))])):Pr("",!0)]))}}),Kb=""+new URL("study-plan-card-CWiVjiA6.png",import.meta.url).href,Zb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAAA9CAMAAAApvJHbAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAG2UExURUdwTPP3//H1//H3//P3//T0//L2//L2//H0//L2//L1//H1//L1/+/v//H1//L1//L2/83a7dDd7vL1/9Pf8M7b7R9Zz+Lr+eTt+tHe7y5n2NTi8s/c7SBaz9bj8yVf0yxm18nX7Spj1eTs+tfj9CJd0uHq+Orx/c3Z7MvY7WeT6d3n98/c7xxVzUd42ubw/OXu+yFb0MvZ8bfN9BpSynee7DFq2m6d9HKh9aC569Lg8trl9Ep73H2p+MTU8oCr+b/O6c7Y6idh1Onw+2yb9M3b78jW6h5XzXqn+Ofu+tnk89vm9ili1WCL5HGf9XSj9nel+ISu+mWK2hNGwEl512uQ4N/p+Hum9VR91tPe79Th9xZMxHmV2MPS6B1QxFmC2miV7oKg34iy/Ak4tRhPynGU4Xua3dHd8M7c863J96a+7K7B5g8/uTZhyURvz+/0/pGt5szY6ZW7/M3d92mZ9NDg+MHW+Nnl+cna932i7LHF6kt31EZz0ipWxSVTxTVu25Wz7rLN+Yel44u1/b3S9qrC8MPT7bbG4CRd0SNbz4On7Yqw9TJm0nCO17jJ5XiZ4sbX9D1oy9aFdVgAAAAQdFJOUwAg32BAMH+fYI9QcN8Q7++wPyxpAAADcElEQVR42u3X61vSYBzG8VV20E5uOrbps5AghAxFo0wwRAtIsTItNBQVUywqMjU1D3lISTr3H3f/diV6Vc4netOLvi9897m23T7bpQI6dOz4n1daAomOlRdXqQnm46dPlRddiVBWXnwnhRN/oY//17+r4uf4tXdqpNWofrfWqVpOvba6ehVVXa2iahA6P8WpLwLvSDCj7o4BTn27YA3X3d2BrPz6F2q1XuDWsK2t96l6K0nCvLrids35145zqLraP7ANSTVy627rRiQSsblFmS3pBkUjZrpit5G87nvzZmXlOfJZdJ2srpvoF7WdnV5VtSuK0xkPLS4uPkWZpXGfx0LpuokGbvCqirOuLhYIOOhx/f5KFF7OLi8t0XpVFkvvvrq2oaC7gKFhH2pSMumWmSRpWspjom80eKHjhqZrG1qTpNC7UBLruZs+HaDVvdrA0EPP+oaHaUBf1PLAVNuhY7EuBzRd+qGhH/UNjvt8Hk/UYqa9XmVufX39CeUvYCm18vxbNptdXu4w1Q3qwvTbsXtt12/1XGupRBJplvyctImMMS0VNb22+qr/TvPN2dnR0dGMtnNpWi3ixpGThjzmz22fn1lY+BoM5oKXaDLS9NzP+gaHMRyO3P660+ul0bAZ/bYIT04CM9Lj41jNYq5V5dXc3Obm5d1yeN6p7MBIL/XRkp8w0zO02r027Har5y66dicns+S7ZOSlKMtsIwptstoCKBaHwnpotjkkstDTz6FcLmgL9h6glctbW1uZTKZlp0UccWM1zOaLNm6b3jmNFnBgM026FBYR7heazhpOmp63HqTn5xMJ/8zjx+EmKsxYOA1N51TPb1u/7K9VNTH9Y7IeLEb1R0SWxo3TpfN568egmZ7D5IXZaLfmkIu19H6aSKfTqVRqA3h/rSTW3r9GVwqtRUQ5vpeY6XgsgFdTw2JNbpsNn1T6ojr5NL5KsXlHdcI/+WMzW1MYmytc2u6MJ6bHPhhnDfVTH2wyr47XbY7RZpibNkOzWE3m1HWxmSt4tS/u6X2SXwcC1ZocdrltkUIukVcHAni16RvMZJFyuVz4yfi0AksYGnwnWbJz6RuyvxKULHDBV1ZwaNTJXhZqd7W3485luevF/79T/x1dKpT8hT4iCIeL14cE4ejZ4v8lEsCLu/qZI4TJl53440oIfgcbZ6Z4VLm9SAAAAABJRU5ErkJggg==",ir=Z5("global",{state:()=>({apiBaseUrl:"",token:"",deviceType:"",variables:{},messageList:[],mode:null,isAutoScrollBottom:!0,shortcutList:[],feedbackVisible:!1,studyPlanDialogVisible:!1,newsDialogVisible:!1,feedbackId:"",selectedMessage:null,messageMap:new Map,chatTimeoutTimer:null}),actions:{openNewsDialog(e){this.selectedMessage=e,this.newsDialogVisible=!0},openStudyPlanDialog(){this.studyPlanDialogVisible=!0}},getters:{getChatMetadata:e=>e.variables?.chatMetadata,getDomainId:e=>e.variables?.chatMetadata?.domainId}}),Qb=["src"],Xb={class:"t-flex t-flex-col t-space-y-1"},Jb={class:"t-font-medium t-text-[#222]"},e9={class:"t-font-normal t-text-[#999]"},t9={class:"t-line-clamp-2 t-font-medium t-text-[#222] t-mb-2"},r9={class:"t-flex t-justify-between"},n9={class:"t-line-clamp-2 t-text-[#999] t-font-normal"},u9=["src"],i9={class:"t-flex t-items-center t-space-x-1"},a9=["src"],o9=Hr({__name:"CardContentTypeMessage",props:{message:{type:Object,required:!0}},setup(e){const t=ir(),r=e;return(n,u)=>e.message.content.action==="plan.generate"?(Ie(),Ge("div",{key:0,class:"t-flex t-space-x-3 t-text-sm t-bg-white t-w-full t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3 t-cursor-pointer",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},onClick:u[0]||(u[0]=(...i)=>rt(t).openStudyPlanDialog&&rt(t).openStudyPlanDialog(...i))},[le("img",{class:"t-size-[70px]",src:rt(Kb),draggable:"false",alt:"制定学习计划"},null,8,Qb),le("div",Xb,[le("div",Jb,rn(e.message.content.title),1),le("div",e9,rn(e.message.content.description),1)])])):e.message.content.action==="news"?(Ie(),Ge("div",{key:1,class:"t-flex t-flex-col t-text-sm t-bg-white t-w-full t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3 t-cursor-pointer",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},onClick:u[1]||(u[1]=i=>rt(t).openNewsDialog(r.message))},[le("div",t9,rn(e.message.content.title),1),le("div",r9,[le("div",n9,rn(e.message.content.description),1),e.message.content?.image?(Ie(),Ge("img",{key:0,class:"t-size-[60px] t-object-cover t-object-center t-ml-4",src:e.message.content.image,draggable:"false",alt:"资讯"},null,8,u9)):Pr("",!0)]),u[3]||(u[3]=le("div",{class:"t-w-full t-border t-border-[#F5F5F5] t-border-b-0 t-my-3"},null,-1)),le("div",i9,[le("img",{class:"t-size-5",src:rt(Zb),draggable:"false",alt:"资讯"},null,8,a9),u[2]||(u[2]=le("div",{class:"t-text-[#333] t-text-xs t-font-normal"},"资讯",-1))])])):Pr("",!0)}}),s9=(e,t)=>{const r=e.__vccOpts||e;for(const[n,u]of t)r[n]=u;return r},l9={},c9={class:"t-flex t-bg-white t-rounded-b-xl t-rounded-r-xl t-px-4 t-py-3 t-w-fit",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"}};function f9(e,t){return Ie(),Ge("div",c9,t[0]||(t[0]=[le("div",{id:"typing-indicator"},[le("span"),le("span"),le("span"),le("span")],-1)]))}const d9=s9(l9,[["render",f9],["__scopeId","data-v-7392a481"]]);function Tu(e){return{id:"",chatId:"",threadId:"",domainId:ir().getDomainId,role:null,type:null,contentType:null,content:"",state:"created",...e}}function Kf(e){const t=ir();return e.filter(r=>["prologue","query","answer","feedback","push"].includes(r.type)).map(r=>({id:r.id,chatId:r.chatId,threadId:r.threadId,domainId:t.getDomainId,role:r.role,type:r.type,contentType:r.contentType,content:r.contentType==="card"?JSON.parse(r.content):r.content,state:"completed"}))}function Q0(e){return e[e.length-1]}async function h9(e,t){const r=e.getReader();let n;for(;!(n=await r.read()).done;)t(n.value)}function m9(e){let t,r,n,u=!1;return function(a){t===void 0?(t=a,r=0,n=-1):t=v9(t,a);const o=t.length;let s=0;for(;r<o;){u&&(t[r]===10&&(s=++r),u=!1);let l=-1;for(;r<o&&l===-1;++r)switch(t[r]){case 58:n===-1&&(n=r-s);break;case 13:u=!0;case 10:l=r;break}if(l===-1)break;e(t.subarray(s,l),n),s=r,n=-1}s===o?t=void 0:s!==0&&(t=t.subarray(s),r-=s)}}function p9(e,t,r){let n=Zf();const u=new TextDecoder;return function(a,o){if(a.length===0)r?.(n),n=Zf();else if(o>0){const s=u.decode(a.subarray(0,o)),l=o+(a[o+1]===32?2:1),c=u.decode(a.subarray(l));switch(s){case"data":n.data=n.data?n.data+`
303
+ `+c:c;break;case"event":n.event=c;break;case"id":e(n.id=c);break;case"retry":const f=parseInt(c,10);isNaN(f)||t(n.retry=f);break}}}}function v9(e,t){const r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}function Zf(){return{data:"",event:"",id:"",retry:void 0}}var g9=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,n=Object.getOwnPropertySymbols(e);u<n.length;u++)t.indexOf(n[u])<0&&Object.prototype.propertyIsEnumerable.call(e,n[u])&&(r[n[u]]=e[n[u]]);return r};const ll="text/event-stream",b9=1e3,Qf="last-event-id";function y9(e,t){var{signal:r,headers:n,onopen:u,onmessage:i,onclose:a,onerror:o,openWhenHidden:s,fetch:l}=t,c=g9(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((f,m)=>{const p=Object.assign({},n);p.accept||(p.accept=ll);let v;function x(){v.abort(),document.hidden||F()}s||document.addEventListener("visibilitychange",x);let y=b9,T=0;function D(){document.removeEventListener("visibilitychange",x),window.clearTimeout(T),v.abort()}r?.addEventListener("abort",()=>{D(),f()});const _=l??window.fetch,w=u??x9;async function F(){var j;v=new AbortController;try{const z=await _(e,Object.assign(Object.assign({},c),{headers:p,signal:v.signal}));await w(z),await h9(z.body,m9(p9(V=>{V?p[Qf]=V:delete p[Qf]},V=>{y=V},i))),a?.(),D(),f()}catch(z){if(!v.signal.aborted)try{const V=(j=o?.(z))!==null&&j!==void 0?j:y;window.clearTimeout(T),T=window.setTimeout(F,V)}catch(V){D(),m(V)}}}F()})}function x9(e){const t=e.headers.get("content-type");if(!t?.startsWith(ll))throw new Error(`Expected content-type to be ${ll}, Actual: ${t}`)}let S0=null;function w9(){S0&&(S0.abort(),S0=null)}async function k9(e,t="POST",r,n){const u=ir(),i=u.apiBaseUrl||"https://ai.edusoho.net";S0=new AbortController;try{await y9(`${i}${e}`,{method:t,headers:{"Content-Type":"application/json",Authorization:`Bearer ${u.token}`},body:JSON.stringify(r),signal:S0.signal,async onopen(a){n?.onopen&&n.onopen(a)},onmessage(a){n?.onmessage&&n.onmessage(a)},onclose(){n?.onclose&&n.onclose(),S0=null},onerror(a){throw n?.onerror&&n.onerror(a),S0=null,a}})}catch(a){if(a instanceof Error&&a.name==="AbortError")return;throw a}}function em(e,t){return function(){return e.apply(t,arguments)}}const{toString:S9}=Object.prototype,{getPrototypeOf:wc}=Object,{iterator:po,toStringTag:tm}=Symbol,vo=(e=>t=>{const r=S9.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ur=e=>(e=e.toLowerCase(),t=>vo(t)===e),go=e=>t=>typeof t===e,{isArray:ku}=Array,li=go("undefined");function ki(e){return e!==null&&!li(e)&&e.constructor!==null&&!li(e.constructor)&&sr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rm=Ur("ArrayBuffer");function A9(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rm(e.buffer),t}const C9=go("string"),sr=go("function"),nm=go("number"),Si=e=>e!==null&&typeof e=="object",_9=e=>e===!0||e===!1,aa=e=>{if(vo(e)!=="object")return!1;const t=wc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(tm in e)&&!(po in e)},D9=e=>{if(!Si(e)||ki(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},E9=Ur("Date"),M9=Ur("File"),T9=Ur("Blob"),F9=Ur("FileList"),z9=e=>Si(e)&&sr(e.pipe),B9=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||sr(e.append)&&((t=vo(e))==="formdata"||t==="object"&&sr(e.toString)&&e.toString()==="[object FormData]"))},O9=Ur("URLSearchParams"),[q9,R9,L9,P9]=["ReadableStream","Request","Response","Headers"].map(Ur),I9=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ai(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,u;if(typeof e!="object"&&(e=[e]),ku(e))for(n=0,u=e.length;n<u;n++)t.call(null,e[n],n,e);else{if(ki(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(n=0;n<a;n++)o=i[n],t.call(null,e[o],o,e)}}function um(e,t){if(ki(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,u;for(;n-- >0;)if(u=r[n],t===u.toLowerCase())return u;return null}const A0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,im=e=>!li(e)&&e!==A0;function cl(){const{caseless:e}=im(this)&&this||{},t={},r=(n,u)=>{const i=e&&um(t,u)||u;aa(t[i])&&aa(n)?t[i]=cl(t[i],n):aa(n)?t[i]=cl({},n):ku(n)?t[i]=n.slice():t[i]=n};for(let n=0,u=arguments.length;n<u;n++)arguments[n]&&Ai(arguments[n],r);return t}const N9=(e,t,r,{allOwnKeys:n}={})=>(Ai(t,(u,i)=>{r&&sr(u)?e[i]=em(u,r):e[i]=u},{allOwnKeys:n}),e),H9=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),V9=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},U9=(e,t,r,n)=>{let u,i,a;const o={};if(t=t||{},e==null)return t;do{for(u=Object.getOwnPropertyNames(e),i=u.length;i-- >0;)a=u[i],(!n||n(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=r!==!1&&wc(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},j9=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},$9=e=>{if(!e)return null;if(ku(e))return e;let t=e.length;if(!nm(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Y9=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wc(Uint8Array)),G9=(e,t)=>{const n=(e&&e[po]).call(e);let u;for(;(u=n.next())&&!u.done;){const i=u.value;t.call(e,i[0],i[1])}},W9=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},K9=Ur("HTMLFormElement"),Z9=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,u){return n.toUpperCase()+u}),Xf=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Q9=Ur("RegExp"),am=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ai(r,(u,i)=>{let a;(a=t(u,i,e))!==!1&&(n[i]=a||u)}),Object.defineProperties(e,n)},X9=e=>{am(e,(t,r)=>{if(sr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(sr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},J9=(e,t)=>{const r={},n=u=>{u.forEach(i=>{r[i]=!0})};return ku(e)?n(e):n(String(e).split(t)),r},ey=()=>{},ty=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ry(e){return!!(e&&sr(e.append)&&e[tm]==="FormData"&&e[po])}const ny=e=>{const t=new Array(10),r=(n,u)=>{if(Si(n)){if(t.indexOf(n)>=0)return;if(ki(n))return n;if(!("toJSON"in n)){t[u]=n;const i=ku(n)?[]:{};return Ai(n,(a,o)=>{const s=r(a,u+1);!li(s)&&(i[o]=s)}),t[u]=void 0,i}}return n};return r(e,0)},uy=Ur("AsyncFunction"),iy=e=>e&&(Si(e)||sr(e))&&sr(e.then)&&sr(e.catch),om=((e,t)=>e?setImmediate:t?((r,n)=>(A0.addEventListener("message",({source:u,data:i})=>{u===A0&&i===r&&n.length&&n.shift()()},!1),u=>{n.push(u),A0.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",sr(A0.postMessage)),ay=typeof queueMicrotask<"u"?queueMicrotask.bind(A0):typeof process<"u"&&process.nextTick||om,oy=e=>e!=null&&sr(e[po]),X={isArray:ku,isArrayBuffer:rm,isBuffer:ki,isFormData:B9,isArrayBufferView:A9,isString:C9,isNumber:nm,isBoolean:_9,isObject:Si,isPlainObject:aa,isEmptyObject:D9,isReadableStream:q9,isRequest:R9,isResponse:L9,isHeaders:P9,isUndefined:li,isDate:E9,isFile:M9,isBlob:T9,isRegExp:Q9,isFunction:sr,isStream:z9,isURLSearchParams:O9,isTypedArray:Y9,isFileList:F9,forEach:Ai,merge:cl,extend:N9,trim:I9,stripBOM:H9,inherits:V9,toFlatObject:U9,kindOf:vo,kindOfTest:Ur,endsWith:j9,toArray:$9,forEachEntry:G9,matchAll:W9,isHTMLForm:K9,hasOwnProperty:Xf,hasOwnProp:Xf,reduceDescriptors:am,freezeMethods:X9,toObjectSet:J9,toCamelCase:Z9,noop:ey,toFiniteNumber:ty,findKey:um,global:A0,isContextDefined:im,isSpecCompliantForm:ry,toJSONObject:ny,isAsyncFn:uy,isThenable:iy,setImmediate:om,asap:ay,isIterable:oy};function Ve(e,t,r,n,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),u&&(this.response=u,this.status=u.status?u.status:null)}X.inherits(Ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});const sm=Ve.prototype,lm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{lm[e]={value:e}});Object.defineProperties(Ve,lm);Object.defineProperty(sm,"isAxiosError",{value:!0});Ve.from=(e,t,r,n,u,i)=>{const a=Object.create(sm);return X.toFlatObject(e,a,function(s){return s!==Error.prototype},o=>o!=="isAxiosError"),Ve.call(a,e.message,t,r,n,u),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const sy=null;function fl(e){return X.isPlainObject(e)||X.isArray(e)}function cm(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function Jf(e,t,r){return e?e.concat(t).map(function(u,i){return u=cm(u),!r&&i?"["+u+"]":u}).join(r?".":""):t}function ly(e){return X.isArray(e)&&!e.some(fl)}const cy=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function bo(e,t,r){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=X.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,y){return!X.isUndefined(y[x])});const n=r.metaTokens,u=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(u))throw new TypeError("visitor must be a function");function l(v){if(v===null)return"";if(X.isDate(v))return v.toISOString();if(X.isBoolean(v))return v.toString();if(!s&&X.isBlob(v))throw new Ve("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(v)||X.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function c(v,x,y){let T=v;if(v&&!y&&typeof v=="object"){if(X.endsWith(x,"{}"))x=n?x:x.slice(0,-2),v=JSON.stringify(v);else if(X.isArray(v)&&ly(v)||(X.isFileList(v)||X.endsWith(x,"[]"))&&(T=X.toArray(v)))return x=cm(x),T.forEach(function(_,w){!(X.isUndefined(_)||_===null)&&t.append(a===!0?Jf([x],w,i):a===null?x:x+"[]",l(_))}),!1}return fl(v)?!0:(t.append(Jf(y,x,i),l(v)),!1)}const f=[],m=Object.assign(cy,{defaultVisitor:c,convertValue:l,isVisitable:fl});function p(v,x){if(!X.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(v),X.forEach(v,function(T,D){(!(X.isUndefined(T)||T===null)&&u.call(t,T,X.isString(D)?D.trim():D,x,m))===!0&&p(T,x?x.concat(D):[D])}),f.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ed(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function kc(e,t){this._pairs=[],e&&bo(e,this,t)}const fm=kc.prototype;fm.append=function(t,r){this._pairs.push([t,r])};fm.toString=function(t){const r=t?function(n){return t.call(this,n,ed)}:ed;return this._pairs.map(function(u){return r(u[0])+"="+r(u[1])},"").join("&")};function fy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dm(e,t,r){if(!t)return e;const n=r&&r.encode||fy;X.isFunction(r)&&(r={serialize:r});const u=r&&r.serialize;let i;if(u?i=u(t,r):i=X.isURLSearchParams(t)?t.toString():new kc(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class td{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(n){n!==null&&t(n)})}}const hm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dy=typeof URLSearchParams<"u"?URLSearchParams:kc,hy=typeof FormData<"u"?FormData:null,my=typeof Blob<"u"?Blob:null,py={isBrowser:!0,classes:{URLSearchParams:dy,FormData:hy,Blob:my},protocols:["http","https","file","blob","url","data"]},Sc=typeof window<"u"&&typeof document<"u",dl=typeof navigator=="object"&&navigator||void 0,vy=Sc&&(!dl||["ReactNative","NativeScript","NS"].indexOf(dl.product)<0),gy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",by=Sc&&window.location.href||"http://localhost",yy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Sc,hasStandardBrowserEnv:vy,hasStandardBrowserWebWorkerEnv:gy,navigator:dl,origin:by},Symbol.toStringTag,{value:"Module"})),Gt={...yy,...py};function xy(e,t){return bo(e,new Gt.classes.URLSearchParams,{visitor:function(r,n,u,i){return Gt.isNode&&X.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function wy(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ky(e){const t={},r=Object.keys(e);let n;const u=r.length;let i;for(n=0;n<u;n++)i=r[n],t[i]=e[i];return t}function mm(e){function t(r,n,u,i){let a=r[i++];if(a==="__proto__")return!0;const o=Number.isFinite(+a),s=i>=r.length;return a=!a&&X.isArray(u)?u.length:a,s?(X.hasOwnProp(u,a)?u[a]=[u[a],n]:u[a]=n,!o):((!u[a]||!X.isObject(u[a]))&&(u[a]=[]),t(r,n,u[a],i)&&X.isArray(u[a])&&(u[a]=ky(u[a])),!o)}if(X.isFormData(e)&&X.isFunction(e.entries)){const r={};return X.forEachEntry(e,(n,u)=>{t(wy(n),u,r,0)}),r}return null}function Sy(e,t,r){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Ci={transitional:hm,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",u=n.indexOf("application/json")>-1,i=X.isObject(t);if(i&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return u?JSON.stringify(mm(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return xy(t,this.formSerializer).toString();if((o=X.isFileList(t))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return bo(o?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||u?(r.setContentType("application/json",!1),Sy(t)):t}],transformResponse:[function(t){const r=this.transitional||Ci.transitional,n=r&&r.forcedJSONParsing,u=this.responseType==="json";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(n&&!this.responseType||u)){const a=!(r&&r.silentJSONParsing)&&u;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Ve.from(o,Ve.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Gt.classes.FormData,Blob:Gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{Ci.headers[e]={}});const Ay=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Cy=e=>{const t={};let r,n,u;return e&&e.split(`
304
+ `).forEach(function(a){u=a.indexOf(":"),r=a.substring(0,u).trim().toLowerCase(),n=a.substring(u+1).trim(),!(!r||t[r]&&Ay[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},rd=Symbol("internals");function Fu(e){return e&&String(e).trim().toLowerCase()}function oa(e){return e===!1||e==null?e:X.isArray(e)?e.map(oa):String(e)}function _y(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Dy=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ys(e,t,r,n,u){if(X.isFunction(n))return n.call(this,t,r);if(u&&(t=r),!!X.isString(t)){if(X.isString(n))return t.indexOf(n)!==-1;if(X.isRegExp(n))return n.test(t)}}function Ey(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function My(e,t){const r=X.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(u,i,a){return this[n].call(this,t,u,i,a)},configurable:!0})})}let lr=class{constructor(t){t&&this.set(t)}set(t,r,n){const u=this;function i(o,s,l){const c=Fu(s);if(!c)throw new Error("header name must be a non-empty string");const f=X.findKey(u,c);(!f||u[f]===void 0||l===!0||l===void 0&&u[f]!==!1)&&(u[f||s]=oa(o))}const a=(o,s)=>X.forEach(o,(l,c)=>i(l,c,s));if(X.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(X.isString(t)&&(t=t.trim())&&!Dy(t))a(Cy(t),r);else if(X.isObject(t)&&X.isIterable(t)){let o={},s,l;for(const c of t){if(!X.isArray(c))throw TypeError("Object iterator must return a key-value pair");o[l=c[0]]=(s=o[l])?X.isArray(s)?[...s,c[1]]:[s,c[1]]:c[1]}a(o,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Fu(t),t){const n=X.findKey(this,t);if(n){const u=this[n];if(!r)return u;if(r===!0)return _y(u);if(X.isFunction(r))return r.call(this,u,n);if(X.isRegExp(r))return r.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Fu(t),t){const n=X.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||ys(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let u=!1;function i(a){if(a=Fu(a),a){const o=X.findKey(n,a);o&&(!r||ys(n,n[o],o,r))&&(delete n[o],u=!0)}}return X.isArray(t)?t.forEach(i):i(t),u}clear(t){const r=Object.keys(this);let n=r.length,u=!1;for(;n--;){const i=r[n];(!t||ys(this,this[i],i,t,!0))&&(delete this[i],u=!0)}return u}normalize(t){const r=this,n={};return X.forEach(this,(u,i)=>{const a=X.findKey(n,i);if(a){r[a]=oa(u),delete r[i];return}const o=t?Ey(i):String(i).trim();o!==i&&delete r[i],r[o]=oa(u),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return X.forEach(this,(n,u)=>{n!=null&&n!==!1&&(r[u]=t&&X.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
305
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(u=>n.set(u)),n}static accessor(t){const n=(this[rd]=this[rd]={accessors:{}}).accessors,u=this.prototype;function i(a){const o=Fu(a);n[o]||(My(u,a),n[o]=!0)}return X.isArray(t)?t.forEach(i):i(t),this}};lr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(lr.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});X.freezeMethods(lr);function xs(e,t){const r=this||Ci,n=t||r,u=lr.from(n.headers);let i=n.data;return X.forEach(e,function(o){i=o.call(r,i,u.normalize(),t?t.status:void 0)}),u.normalize(),i}function pm(e){return!!(e&&e.__CANCEL__)}function Su(e,t,r){Ve.call(this,e??"canceled",Ve.ERR_CANCELED,t,r),this.name="CanceledError"}X.inherits(Su,Ve,{__CANCEL__:!0});function vm(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ve("Request failed with status code "+r.status,[Ve.ERR_BAD_REQUEST,Ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Ty(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Fy(e,t){e=e||10;const r=new Array(e),n=new Array(e);let u=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const l=Date.now(),c=n[i];a||(a=l),r[u]=s,n[u]=l;let f=i,m=0;for(;f!==u;)m+=r[f++],f=f%e;if(u=(u+1)%e,u===i&&(i=(i+1)%e),l-a<t)return;const p=c&&l-c;return p?Math.round(m*1e3/p):void 0}}function zy(e,t){let r=0,n=1e3/t,u,i;const a=(l,c=Date.now())=>{r=c,u=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const c=Date.now(),f=c-r;f>=n?a(l,c):(u=l,i||(i=setTimeout(()=>{i=null,a(u)},n-f)))},()=>u&&a(u)]}const Oa=(e,t,r=3)=>{let n=0;const u=Fy(50,250);return zy(i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-n,l=u(s),c=a<=o;n=a;const f={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&c?(o-a)/l:void 0,event:i,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},r)},nd=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ud=e=>(...t)=>X.asap(()=>e(...t)),By=Gt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Gt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Gt.origin),Gt.navigator&&/(msie|trident)/i.test(Gt.navigator.userAgent)):()=>!0,Oy=Gt.hasStandardBrowserEnv?{write(e,t,r,n,u,i){const a=[e+"="+encodeURIComponent(t)];X.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),X.isString(n)&&a.push("path="+n),X.isString(u)&&a.push("domain="+u),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function qy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ry(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gm(e,t,r){let n=!qy(t);return e&&(n||r==!1)?Ry(e,t):t}const id=e=>e instanceof lr?{...e}:e;function P0(e,t){t=t||{};const r={};function n(l,c,f,m){return X.isPlainObject(l)&&X.isPlainObject(c)?X.merge.call({caseless:m},l,c):X.isPlainObject(c)?X.merge({},c):X.isArray(c)?c.slice():c}function u(l,c,f,m){if(X.isUndefined(c)){if(!X.isUndefined(l))return n(void 0,l,f,m)}else return n(l,c,f,m)}function i(l,c){if(!X.isUndefined(c))return n(void 0,c)}function a(l,c){if(X.isUndefined(c)){if(!X.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function o(l,c,f){if(f in t)return n(l,c);if(f in e)return n(void 0,l)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(l,c,f)=>u(id(l),id(c),f,!0)};return X.forEach(Object.keys({...e,...t}),function(c){const f=s[c]||u,m=f(e[c],t[c],c);X.isUndefined(m)&&f!==o||(r[c]=m)}),r}const bm=e=>{const t=P0({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:u,xsrfCookieName:i,headers:a,auth:o}=t;t.headers=a=lr.from(a),t.url=dm(gm(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let s;if(X.isFormData(r)){if(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((s=a.getContentType())!==!1){const[l,...c]=s?s.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([l||"multipart/form-data",...c].join("; "))}}if(Gt.hasStandardBrowserEnv&&(n&&X.isFunction(n)&&(n=n(t)),n||n!==!1&&By(t.url))){const l=u&&i&&Oy.read(i);l&&a.set(u,l)}return t},Ly=typeof XMLHttpRequest<"u",Py=Ly&&function(e){return new Promise(function(r,n){const u=bm(e);let i=u.data;const a=lr.from(u.headers).normalize();let{responseType:o,onUploadProgress:s,onDownloadProgress:l}=u,c,f,m,p,v;function x(){p&&p(),v&&v(),u.cancelToken&&u.cancelToken.unsubscribe(c),u.signal&&u.signal.removeEventListener("abort",c)}let y=new XMLHttpRequest;y.open(u.method.toUpperCase(),u.url,!0),y.timeout=u.timeout;function T(){if(!y)return;const _=lr.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),F={data:!o||o==="text"||o==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:_,config:e,request:y};vm(function(z){r(z),x()},function(z){n(z),x()},F),y=null}"onloadend"in y?y.onloadend=T:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(T)},y.onabort=function(){y&&(n(new Ve("Request aborted",Ve.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new Ve("Network Error",Ve.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let w=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const F=u.transitional||hm;u.timeoutErrorMessage&&(w=u.timeoutErrorMessage),n(new Ve(w,F.clarifyTimeoutError?Ve.ETIMEDOUT:Ve.ECONNABORTED,e,y)),y=null},i===void 0&&a.setContentType(null),"setRequestHeader"in y&&X.forEach(a.toJSON(),function(w,F){y.setRequestHeader(F,w)}),X.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),o&&o!=="json"&&(y.responseType=u.responseType),l&&([m,v]=Oa(l,!0),y.addEventListener("progress",m)),s&&y.upload&&([f,p]=Oa(s),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",p)),(u.cancelToken||u.signal)&&(c=_=>{y&&(n(!_||_.type?new Su(null,e,y):_),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(c),u.signal&&(u.signal.aborted?c():u.signal.addEventListener("abort",c)));const D=Ty(u.url);if(D&&Gt.protocols.indexOf(D)===-1){n(new Ve("Unsupported protocol "+D+":",Ve.ERR_BAD_REQUEST,e));return}y.send(i||null)})},Iy=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,u;const i=function(l){if(!u){u=!0,o();const c=l instanceof Error?l:this.reason;n.abort(c instanceof Ve?c:new Su(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,i(new Ve(`timeout ${t} of ms exceeded`,Ve.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=()=>X.asap(o),s}},Ny=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,u;for(;n<r;)u=n+t,yield e.slice(n,u),n=u},Hy=async function*(e,t){for await(const r of Vy(e))yield*Ny(r,t)},Vy=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},ad=(e,t,r,n)=>{const u=Hy(e,t);let i=0,a,o=s=>{a||(a=!0,n&&n(s))};return new ReadableStream({async pull(s){try{const{done:l,value:c}=await u.next();if(l){o(),s.close();return}let f=c.byteLength;if(r){let m=i+=f;r(m)}s.enqueue(new Uint8Array(c))}catch(l){throw o(l),l}},cancel(s){return o(s),u.return()}},{highWaterMark:2})},yo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ym=yo&&typeof ReadableStream=="function",Uy=yo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),xm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},jy=ym&&xm(()=>{let e=!1;const t=new Request(Gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),od=64*1024,hl=ym&&xm(()=>X.isReadableStream(new Response("").body)),qa={stream:hl&&(e=>e.body)};yo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qa[t]&&(qa[t]=X.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new Ve(`Response type '${t}' is not supported`,Ve.ERR_NOT_SUPPORT,n)})})})(new Response);const $y=async e=>{if(e==null)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e))return(await new Request(Gt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(X.isArrayBufferView(e)||X.isArrayBuffer(e))return e.byteLength;if(X.isURLSearchParams(e)&&(e=e+""),X.isString(e))return(await Uy(e)).byteLength},Yy=async(e,t)=>{const r=X.toFiniteNumber(e.getContentLength());return r??$y(t)},Gy=yo&&(async e=>{let{url:t,method:r,data:n,signal:u,cancelToken:i,timeout:a,onDownloadProgress:o,onUploadProgress:s,responseType:l,headers:c,withCredentials:f="same-origin",fetchOptions:m}=bm(e);l=l?(l+"").toLowerCase():"text";let p=Iy([u,i&&i.toAbortSignal()],a),v;const x=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(s&&jy&&r!=="get"&&r!=="head"&&(y=await Yy(c,n))!==0){let F=new Request(t,{method:"POST",body:n,duplex:"half"}),j;if(X.isFormData(n)&&(j=F.headers.get("content-type"))&&c.setContentType(j),F.body){const[z,V]=nd(y,Oa(ud(s)));n=ad(F.body,od,z,V)}}X.isString(f)||(f=f?"include":"omit");const T="credentials"in Request.prototype;v=new Request(t,{...m,signal:p,method:r.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:T?f:void 0});let D=await fetch(v,m);const _=hl&&(l==="stream"||l==="response");if(hl&&(o||_&&x)){const F={};["status","statusText","headers"].forEach(S=>{F[S]=D[S]});const j=X.toFiniteNumber(D.headers.get("content-length")),[z,V]=o&&nd(j,Oa(ud(o),!0))||[];D=new Response(ad(D.body,od,z,()=>{V&&V(),x&&x()}),F)}l=l||"text";let w=await qa[X.findKey(qa,l)||"text"](D,e);return!_&&x&&x(),await new Promise((F,j)=>{vm(F,j,{data:w,headers:lr.from(D.headers),status:D.status,statusText:D.statusText,config:e,request:v})})}catch(T){throw x&&x(),T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)?Object.assign(new Ve("Network Error",Ve.ERR_NETWORK,e,v),{cause:T.cause||T}):Ve.from(T,T&&T.code,e,v)}}),ml={http:sy,xhr:Py,fetch:Gy};X.forEach(ml,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sd=e=>`- ${e}`,Wy=e=>X.isFunction(e)||e===null||e===!1,wm={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let r,n;const u={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Wy(r)&&(n=ml[(a=String(r)).toLowerCase()],n===void 0))throw new Ve(`Unknown adapter '${a}'`);if(n)break;u[a||"#"+i]=n}if(!n){const i=Object.entries(u).map(([o,s])=>`adapter ${o} `+(s===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
306
+ `+i.map(sd).join(`
307
+ `):" "+sd(i[0]):"as no adapter specified";throw new Ve("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:ml};function ws(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Su(null,e)}function ld(e){return ws(e),e.headers=lr.from(e.headers),e.data=xs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wm.getAdapter(e.adapter||Ci.adapter)(e).then(function(n){return ws(e),n.data=xs.call(e,e.transformResponse,n),n.headers=lr.from(n.headers),n},function(n){return pm(n)||(ws(e),n&&n.response&&(n.response.data=xs.call(e,e.transformResponse,n.response),n.response.headers=lr.from(n.response.headers))),Promise.reject(n)})}const km="1.11.0",xo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const cd={};xo.transitional=function(t,r,n){function u(i,a){return"[Axios v"+km+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,o)=>{if(t===!1)throw new Ve(u(a," has been removed"+(r?" in "+r:"")),Ve.ERR_DEPRECATED);return r&&!cd[a]&&(cd[a]=!0,console.warn(u(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,o):!0}};xo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Ky(e,t,r){if(typeof e!="object")throw new Ve("options must be an object",Ve.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let u=n.length;for(;u-- >0;){const i=n[u],a=t[i];if(a){const o=e[i],s=o===void 0||a(o,i,e);if(s!==!0)throw new Ve("option "+i+" must be "+s,Ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ve("Unknown option "+i,Ve.ERR_BAD_OPTION)}}const sa={assertOptions:Ky,validators:xo},Wr=sa.validators;let F0=class{constructor(t){this.defaults=t||{},this.interceptors={request:new td,response:new td}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const i=u.stack?u.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
308
+ `+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=P0(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:i}=r;n!==void 0&&sa.assertOptions(n,{silentJSONParsing:Wr.transitional(Wr.boolean),forcedJSONParsing:Wr.transitional(Wr.boolean),clarifyTimeoutError:Wr.transitional(Wr.boolean)},!1),u!=null&&(X.isFunction(u)?r.paramsSerializer={serialize:u}:sa.assertOptions(u,{encode:Wr.function,serialize:Wr.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),sa.assertOptions(r,{baseUrl:Wr.spelling("baseURL"),withXsrfToken:Wr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&X.merge(i.common,i[r.method]);i&&X.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),r.headers=lr.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(r)===!1||(s=s&&x.synchronous,o.unshift(x.fulfilled,x.rejected))});const l=[];this.interceptors.response.forEach(function(x){l.push(x.fulfilled,x.rejected)});let c,f=0,m;if(!s){const v=[ld.bind(this),void 0];for(v.unshift(...o),v.push(...l),m=v.length,c=Promise.resolve(r);f<m;)c=c.then(v[f++],v[f++]);return c}m=o.length;let p=r;for(f=0;f<m;){const v=o[f++],x=o[f++];try{p=v(p)}catch(y){x.call(this,y);break}}try{c=ld.call(this,p)}catch(v){return Promise.reject(v)}for(f=0,m=l.length;f<m;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=P0(this.defaults,t);const r=gm(t.baseURL,t.url,t.allowAbsoluteUrls);return dm(r,t.params,t.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(t){F0.prototype[t]=function(r,n){return this.request(P0(n||{},{method:t,url:r,data:(n||{}).data}))}});X.forEach(["post","put","patch"],function(t){function r(n){return function(i,a,o){return this.request(P0(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}F0.prototype[t]=r(),F0.prototype[t+"Form"]=r(!0)});let Zy=class Sm{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(u=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](u);n._listeners=null}),this.promise.then=u=>{let i;const a=new Promise(o=>{n.subscribe(o),i=o}).then(u);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,o){n.reason||(n.reason=new Su(i,a,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Sm(function(u){t=u}),cancel:t}}};function Qy(e){return function(r){return e.apply(null,r)}}function Xy(e){return X.isObject(e)&&e.isAxiosError===!0}const pl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pl).forEach(([e,t])=>{pl[t]=e});function Am(e){const t=new F0(e),r=em(F0.prototype.request,t);return X.extend(r,F0.prototype,t,{allOwnKeys:!0}),X.extend(r,t,null,{allOwnKeys:!0}),r.create=function(u){return Am(P0(e,u))},r}const _t=Am(Ci);_t.Axios=F0;_t.CanceledError=Su;_t.CancelToken=Zy;_t.isCancel=pm;_t.VERSION=km;_t.toFormData=bo;_t.AxiosError=Ve;_t.Cancel=_t.CanceledError;_t.all=function(t){return Promise.all(t)};_t.spread=Qy;_t.isAxiosError=Xy;_t.mergeConfig=P0;_t.AxiosHeaders=lr;_t.formToJSON=e=>mm(X.isHTMLForm(e)?new FormData(e):e);_t.getAdapter=wm.getAdapter;_t.HttpStatusCode=pl;_t.default=_t;const{Axios:pS,AxiosError:vS,CanceledError:gS,isCancel:bS,CancelToken:yS,VERSION:xS,all:wS,Cancel:kS,isAxiosError:SS,spread:AS,toFormData:CS,AxiosHeaders:_S,HttpStatusCode:DS,formToJSON:ES,getAdapter:MS,mergeConfig:TS}=_t,Ac=_t.create({timeout:12e4,headers:{"Content-Type":"application/json"}});Ac.interceptors.request.use(e=>e,e=>Promise.reject(e));Ac.interceptors.response.use(e=>e,e=>Promise.reject(e));async function ci(e,t="POST",r,n,u){try{const i=ir(),a=i.apiBaseUrl||"https://ai.edusoho.net",o=await Ac({url:e.startsWith("/api")?`${a}${e.substring(4)}`:e,method:t,data:r,...n,headers:{...n?.headers,Authorization:`Bearer ${i.token}`}});return u?.onSuccess,o.data}catch(i){throw console.error("请求失败:",i),i}finally{}}function _i(){const e=ir(),t=we(0),r=we(!1);async function n(z,V){e.mode="chat",e.isAutoScrollBottom=!0,x(),y(z),T(),j();const S={id:"",chatId:"",threadId:"",domainId:e.getDomainId,role:"user",type:null,content:z,contentType:"text",state:"completed",metadata:e.getChatMetadata},Y=V?{...S,workflow:V}:S;await k9("/agent/chat","POST",{...Y},{onmessage(Z){j(),w();const M=F(Z.data);o(M,Z.event)},onclose(){clearTimeout(e.chatTimeoutTimer)},onerror(){clearTimeout(e.chatTimeoutTimer),D(),_("网络连接失败,请检查后重试")}})}async function u(z=null,V){e.isAutoScrollBottom=V;const S={domainId:e.getDomainId,before:z,limit:20},Y=await ci("/api/agent/message/list","GET",null,{params:S});Y.length===0&&(r.value=!0);const Z=Kf(Y);e.messageList.unshift(...Z)}async function i(){e.isAutoScrollBottom=!0;const z={domainId:e.getDomainId},V=await ci("/api/agent/message/pullUnread","GET",null,{params:z}),S=Kf(V);e.messageList.push(...S)}async function a(){e.mode="history",!r.value&&t.value<=15&&(await u(e.messageList[0].id,!1),t.value+=1)}function o(z,V){Object.keys(z).length!==0&&(l(z,V),c(z),f(z)&&(s(z),p(z,V),v(z,V)))}function s(z){if(!e.messageMap.has(z.id)){D();const V=Tu({});e.messageList.push(V),e.messageMap.set(z.id,V)}}function l(z,V){V==="chat.failed"&&(D(),e.messageList.push(Tu({role:"assistant",contentType:"text",content:z.message,state:"failed"})))}function c(z){z.type==="feedback"&&(e.feedbackId=z.chatId,setTimeout(()=>{e.feedbackVisible=!0},1e4))}function f(z){return z.type==="answer"}function m(z){const V=e.messageMap.get(z.id);if(V)return V.chatId=z.chatId,V.threadId=z.threadId,V.role=z.role,V.type=z.type,V.contentType=z.contentType,V}function p(z,V){const S=m(z);S&&(z.contentType==="text"&&V==="message.delta"?(S.content+=z.content,S.state="delta"):z.contentType==="text"&&V==="message.completed"&&(S.content=z.content,S.state="completed"))}function v(z,V){const S=m(z);S&&z.contentType==="card"&&V==="message.completed"&&(e.isAutoScrollBottom=!0,S.content=JSON.parse(z.content),S.state="completed")}function x(){w9(),Q0(e.messageList)&&(Q0(e.messageList).state="completed")}function y(z){e.messageList.push(Tu({role:"user",content:z,contentType:"text",state:"completed"}))}function T(){e.messageList.push(Tu({role:"assistant",state:"created"}))}function D(){Q0(e.messageList).state==="created"&&e.messageList.pop()}function _(z){e.messageList.push(Tu({role:"assistant",contentType:"text",content:z,state:"failed"}))}function w(){e.feedbackVisible=!1}function F(z){return z.trim()===""?{}:JSON.parse(z)}function j(){e.chatTimeoutTimer&&clearTimeout(e.chatTimeoutTimer),e.chatTimeoutTimer=setTimeout(()=>{Q0(e.messageList).state==="created"?(D(),_("服务器繁忙,请重试")):Q0(e.messageList).state!=="failed"&&(Q0(e.messageList).content+=`
309
+ 服务器连接失败,请重试`),e.chatTimeoutTimer=null},3e4)}return{chat:n,fetchMessages:u,fetchUnreadMessages:i,fetchHistoryMessages:a}}const Jy={key:0,class:"t-flex t-flex-row-reverse t-w-full"},ex=["innerHTML"],tx={key:1,class:"t-flex t-w-full"},rx={key:0},nx={key:1,class:"t-w-full"},ux=Hr({__name:"MessageList",setup(e){const t=ir(),{fetchHistoryMessages:r}=_i(),n=we(null),u=we();Ne(t.messageList,async()=>{await vt(()=>{const s=n.value;if(s){if(t.isAutoScrollBottom)t.mode==="show"?i(s.scrollHeight,"auto"):t.mode==="chat"&&i(s.scrollHeight,"smooth");else if(t.mode==="history"){const l=s.scrollHeight-u.value;i(l,"auto")}u.value=s.scrollHeight}})},{deep:!0});function i(s,l){n.value&&n.value.scrollTo({top:s,behavior:l})}async function a(){if(n.value){const s=n.value,{scrollTop:l,clientHeight:c,scrollHeight:f}=s,m=l+c<f-40;t.isAutoScrollBottom=!m,l===0&&await r()}}const o=new br;return o.renderer.rules.paragraph_open=()=>'<p class="t-leading-[22px]">',(s,l)=>(Ie(),Ge("div",{ref_key:"messageListContainer",ref:n,class:O0(["t-flex t-flex-col t-space-y-5 t-overflow-y-auto t-pr-4 t-pl-4 t-h-full",{"t-pb-3":rt(t).messageList.length>0}]),onScroll:a},[(Ie(!0),Ge(Vt,null,ju(rt(t).messageList,c=>(Ie(),Ge("div",null,[c.role==="user"?(Ie(),Ge("div",Jy,[le("div",{class:"t-text-white t-text-sm t-bg-primary t-w-fit t-max-w-full t-break-words t-rounded-t-xl t-rounded-l-xl t-px-4 t-py-3 t-font-normal",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},innerHTML:rt(o).render(c.content)},null,8,ex)])):c.role==="assistant"?(Ie(),Ge("div",tx,[c.state==="created"?(Ie(),Ge("div",rx,[et(d9)])):(Ie(),Ge("div",nx,[c.contentType==="text"?(Ie(),M0(Wb,{key:0,class:"t-w-full",message:c},null,8,["message"])):Pr("",!0),c.contentType==="card"?(Ie(),M0(o9,{key:1,class:"t-w-full",message:c},null,8,["message"])):Pr("",!0)]))])):Pr("",!0)]))),256))],34))}});let ks,Wi=0;const Nt=new Array(256);for(let e=0;e<256;e++)Nt[e]=(e+256).toString(16).substring(1);const ix=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const r=new Uint8Array(t);return e.getRandomValues(r),r}}return t=>{const r=[];for(let n=t;n>0;n--)r.push(Math.floor(Math.random()*256));return r}})(),fd=4096;function vl(){(ks===void 0||Wi+16>fd)&&(Wi=0,ks=ix(fd));const e=Array.prototype.slice.call(ks,Wi,Wi+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Nt[e[0]]+Nt[e[1]]+Nt[e[2]]+Nt[e[3]]+"-"+Nt[e[4]]+Nt[e[5]]+"-"+Nt[e[6]]+Nt[e[7]]+"-"+Nt[e[8]]+Nt[e[9]]+"-"+Nt[e[10]]+Nt[e[11]]+Nt[e[12]]+Nt[e[13]]+Nt[e[14]]+Nt[e[15]]}function ax(e){return e??null}function dd(e,t){return e??(t===!0?`f_${vl()}`:null)}function ox({getValue:e,required:t=!0}={}){if(t0.value===!0){const r=we(e!==void 0?ax(e()):null);return t===!0&&r.value===null&&cn(()=>{r.value=`f_${vl()}`}),e!==void 0&&Ne(e,n=>{r.value=dd(n,t)}),r}return e!==void 0?W(()=>dd(e(),t)):we(`f_${vl()}`)}const hd=/^on[A-Z]/;function sx(){const{attrs:e,vnode:t}=gt(),r={listeners:we({}),attributes:we({})};function n(){const u={},i={};for(const a in e)a!=="class"&&a!=="style"&&hd.test(a)===!1&&(u[a]=e[a]);for(const a in t.props)hd.test(a)===!0&&(i[a]=t.props[a]);r.attributes.value=u,r.listeners.value=i}return Pl(n),n(),r}const Di={dark:{type:Boolean,default:null}};function Ei(e,t){return W(()=>e.dark===null?t.dark.isActive:e.dark)}function lx({validate:e,resetValidation:t,requiresQForm:r}){const n=E0($p,!1);if(n!==!1){const{props:u,proxy:i}=gt();Object.assign(i,{validate:e,resetValidation:t}),Ne(()=>u.disable,a=>{a===!0?(typeof t=="function"&&t(),n.unbindComponent(i)):n.bindComponent(i)}),cn(()=>{u.disable!==!0&&n.bindComponent(i)}),Wt(()=>{u.disable!==!0&&n.unbindComponent(i)})}else r===!0&&console.error("Parent QForm not found on useFormChild()!")}const md=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,pd=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,vd=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Ki=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Zi=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Ss={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>md.test(e),hexaColor:e=>pd.test(e),hexOrHexaColor:e=>vd.test(e),rgbColor:e=>Ki.test(e),rgbaColor:e=>Zi.test(e),rgbOrRgbaColor:e=>Ki.test(e)||Zi.test(e),hexOrRgbColor:e=>md.test(e)||Ki.test(e),hexaOrRgbaColor:e=>pd.test(e)||Zi.test(e),anyColor:e=>vd.test(e)||Ki.test(e)||Zi.test(e)},cx=[!0,!1,"ondemand"],fx={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>cx.includes(e)}};function dx(e,t){const{props:r,proxy:n}=gt(),u=we(!1),i=we(null),a=we(!1);lx({validate:x,resetValidation:v});let o=0,s;const l=W(()=>r.rules!==void 0&&r.rules!==null&&r.rules.length!==0),c=W(()=>r.disable!==!0&&l.value===!0&&t.value===!1),f=W(()=>r.error===!0||u.value===!0),m=W(()=>typeof r.errorMessage=="string"&&r.errorMessage.length!==0?r.errorMessage:i.value);Ne(()=>r.modelValue,()=>{a.value=!0,c.value===!0&&r.lazyRules===!1&&y()});function p(){r.lazyRules!=="ondemand"&&c.value===!0&&a.value===!0&&y()}Ne(()=>r.reactiveRules,T=>{T===!0?s===void 0&&(s=Ne(()=>r.rules,p,{immediate:!0,deep:!0})):s!==void 0&&(s(),s=void 0)},{immediate:!0}),Ne(()=>r.lazyRules,p),Ne(e,T=>{T===!0?a.value=!0:c.value===!0&&r.lazyRules!=="ondemand"&&y()});function v(){o++,t.value=!1,a.value=!1,u.value=!1,i.value=null,y.cancel()}function x(T=r.modelValue){if(r.disable===!0||l.value===!1)return!0;const D=++o,_=t.value!==!0?()=>{a.value=!0}:()=>{},w=(j,z)=>{j===!0&&_(),u.value=j,i.value=z||null,t.value=!1},F=[];for(let j=0;j<r.rules.length;j++){const z=r.rules[j];let V;if(typeof z=="function"?V=z(T,Ss):typeof z=="string"&&Ss[z]!==void 0&&(V=Ss[z](T)),V===!1||typeof V=="string")return w(!0,V),!1;V!==!0&&V!==void 0&&F.push(V)}return F.length===0?(w(!1),!0):(t.value=!0,Promise.all(F).then(j=>{if(j===void 0||Array.isArray(j)===!1||j.length===0)return D===o&&w(!1),!0;const z=j.find(V=>V===!1||typeof V=="string");return D===o&&w(z!==void 0,z),z===void 0},j=>(D===o&&(console.error(j),w(!0)),!1)))}const y=$l(x,0);return Wt(()=>{s?.(),y.cancel()}),Object.assign(n,{resetValidation:v,validate:x}),bu(n,"hasError",()=>f.value),{isDirtyModel:a,hasRules:l,hasError:f,errorMessage:m,validate:x,resetValidation:v}}let C0=[],fi=[];function Cm(e){fi=fi.filter(t=>t!==e)}function hx(e){Cm(e),fi.push(e)}function gd(e){Cm(e),fi.length===0&&C0.length!==0&&(C0[C0.length-1](),C0=[])}function wo(e){fi.length===0?e():C0.push(e)}function mx(e){C0=C0.filter(t=>t!==e)}function di(e){return e!=null&&(""+e).length!==0}const px={...Di,...fx,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},ko={...px,maxlength:[Number,String]},Cc=["update:modelValue","clear","focus","blur"];function _c({requiredForAttr:e=!0,tagProp:t,changeEvent:r=!1}={}){const{props:n,proxy:u}=gt(),i=Ei(n,u.$q),a=ox({required:e,getValue:()=>n.for});return{requiredForAttr:e,changeEvent:r,tag:t===!0?W(()=>n.tag):{value:"label"},isDark:i,editable:W(()=>n.disable!==!0&&n.readonly!==!0),innerLoading:we(!1),focused:we(!1),hasPopupOpen:!1,splitAttrs:sx(),targetUid:a,rootRef:we(null),targetRef:we(null),controlRef:we(null)}}function Dc(e){const{props:t,emit:r,slots:n,attrs:u,proxy:i}=gt(),{$q:a}=i;let o=null;e.hasValue===void 0&&(e.hasValue=W(()=>di(t.modelValue))),e.emitValue===void 0&&(e.emitValue=N=>{r("update:modelValue",N)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:S,onFocusout:Y}),Object.assign(e,{clearValue:Z,onControlFocusin:S,onControlFocusout:Y,focus:z}),e.computedCounter===void 0&&(e.computedCounter=W(()=>{if(t.counter!==!1){const N=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,ue=t.maxlength!==void 0?t.maxlength:t.maxValues;return N+(ue!==void 0?" / "+ue:"")}}));const{isDirtyModel:s,hasRules:l,hasError:c,errorMessage:f,resetValidation:m}=dx(e.focused,e.innerLoading),p=e.floatingLabel!==void 0?W(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):W(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),v=W(()=>t.bottomSlots===!0||t.hint!==void 0||l.value===!0||t.counter===!0||t.error!==null),x=W(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),y=W(()=>`q-field row no-wrap items-start q-field--${x.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(p.value===!0?" q-field--float":"")+(D.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&v.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),T=W(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(c.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),D=W(()=>t.labelSlot===!0||t.label!==void 0),_=W(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&c.value!==!0?` text-${t.labelColor}`:"")),w=W(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:p.value,modelValue:t.modelValue,emitValue:e.emitValue})),F=W(()=>{const N={};return e.targetUid.value&&(N.for=e.targetUid.value),t.disable===!0&&(N["aria-disabled"]="true"),N});function j(){const N=document.activeElement;let ue=e.targetRef?.value;ue&&(N===null||N.id!==e.targetUid.value)&&(ue.hasAttribute("tabindex")===!0||(ue=ue.querySelector("[tabindex]")),ue!==N&&ue?.focus({preventScroll:!0}))}function z(){wo(j)}function V(){mx(j);const N=document.activeElement;N!==null&&e.rootRef.value.contains(N)&&N.blur()}function S(N){o!==null&&(clearTimeout(o),o=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,r("focus",N))}function Y(N,ue){o!==null&&clearTimeout(o),o=setTimeout(()=>{o=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,r("blur",N)),ue?.())})}function Z(N){Ut(N),a.platform.is.mobile!==!0?(e.targetRef?.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),r("update:modelValue",null),e.changeEvent===!0&&r("change",null),r("clear",t.modelValue),vt(()=>{const ue=s.value;m(),s.value=ue})}function M(N){[13,32].includes(N.keyCode)&&Z(N)}function U(){const N=[];return n.prepend!==void 0&&N.push(G("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Rr},n.prepend())),N.push(G("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},B())),c.value===!0&&t.noErrorIcon===!1&&N.push(L("error",[G(Er,{name:a.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?N.push(L("inner-loading-append",n.loading!==void 0?n.loading():[G(eo,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&N.push(L("inner-clearable-append",[G(Er,{class:"q-field__focusable-action",name:t.clearIcon||a.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":a.lang.label.clear,onKeyup:M,onClick:Z})])),n.append!==void 0&&N.push(G("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Rr},n.append())),e.getInnerAppend!==void 0&&N.push(L("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&N.push(e.getControlChild()),N}function B(){const N=[];return t.prefix!==void 0&&t.prefix!==null&&N.push(G("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&N.push(e.getShadowControl()),e.getControl!==void 0?N.push(e.getControl()):n.rawControl!==void 0?N.push(n.rawControl()):n.control!==void 0&&N.push(G("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},n.control(w.value))),D.value===!0&&N.push(G("div",{class:_.value},nn(n.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&N.push(G("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),N.concat(nn(n.default))}function ne(){let N,ue;c.value===!0?f.value!==null?(N=[G("div",{role:"alert"},f.value)],ue=`q--slot-error-${f.value}`):(N=nn(n.error),ue="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(N=[G("div",t.hint)],ue=`q--slot-hint-${t.hint}`):(N=nn(n.hint),ue="q--slot-hint"));const te=t.counter===!0||n.counter!==void 0;if(t.hideBottomSpace===!0&&te===!1&&N===void 0)return;const H=G("div",{key:ue,class:"q-field__messages col"},N);return G("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:Rr},[t.hideBottomSpace===!0?H:G(Ar,{name:"q-transition--field-message"},()=>H),te===!0?G("div",{class:"q-field__counter"},n.counter!==void 0?n.counter():e.computedCounter.value):null])}function L(N,ue){return ue===null?null:G("div",{key:N,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},ue)}let I=!1;return mi(()=>{I=!0}),Ll(()=>{I===!0&&t.autofocus===!0&&i.focus()}),t.autofocus===!0&&cn(()=>{i.focus()}),Wt(()=>{o!==null&&clearTimeout(o)}),Object.assign(i,{focus:z,blur:V}),function(){const ue=e.getControl===void 0&&n.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...F.value}:F.value;return G(e.tag.value,{ref:e.rootRef,class:[y.value,u.class],style:u.style,...ue},[n.before!==void 0?G("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Rr},n.before()):null,G("div",{class:"q-field__inner relative-position col self-stretch"},[G("div",{ref:e.controlRef,class:T.value,tabindex:-1,...e.controlEvents},U()),v.value===!0?ne():null]),n.after!==void 0?G("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Rr},n.after()):null])}}const bd={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Ra={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},_m=Object.keys(Ra);_m.forEach(e=>{Ra[e].regex=new RegExp(Ra[e].pattern)});const vx=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+_m.join("")+"])|(.)","g"),yd=/[.*+?^${}()|[\]\\]/g,Mt="",gx={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function bx(e,t,r,n){let u,i,a,o,s,l;const c=we(null),f=we(p());function m(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}Ne(()=>e.type+e.autogrow,x),Ne(()=>e.mask,S=>{if(S!==void 0)y(f.value,!0);else{const Y=z(f.value);x(),e.modelValue!==Y&&t("update:modelValue",Y)}}),Ne(()=>e.fillMask+e.reverseFillMask,()=>{c.value===!0&&y(f.value,!0)}),Ne(()=>e.unmaskedValue,()=>{c.value===!0&&y(f.value)});function p(){if(x(),c.value===!0){const S=F(z(e.modelValue));return e.fillMask!==!1?V(S):S}return e.modelValue}function v(S){if(S<u.length)return u.slice(-S);let Y="",Z=u;const M=Z.indexOf(Mt);if(M!==-1){for(let U=S-Z.length;U>0;U--)Y+=Mt;Z=Z.slice(0,M)+Y+Z.slice(M)}return Z}function x(){if(c.value=e.mask!==void 0&&e.mask.length!==0&&m(),c.value===!1){o=void 0,u="",i="";return}const S=bd[e.mask]===void 0?e.mask:bd[e.mask],Y=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",Z=Y.replace(yd,"\\$&"),M=[],U=[],B=[];let ne=e.reverseFillMask===!0,L="",I="";S.replace(vx,(H,q,he,Me,Fe)=>{if(Me!==void 0){const oe=Ra[Me];B.push(oe),I=oe.negate,ne===!0&&(U.push("(?:"+I+"+)?("+oe.pattern+"+)?(?:"+I+"+)?("+oe.pattern+"+)?"),ne=!1),U.push("(?:"+I+"+)?("+oe.pattern+")?")}else if(he!==void 0)L="\\"+(he==="\\"?"":he),B.push(he),M.push("([^"+L+"]+)?"+L+"?");else{const oe=q!==void 0?q:Fe;L=oe==="\\"?"\\\\\\\\":oe.replace(yd,"\\\\$&"),B.push(oe),M.push("([^"+L+"]+)?"+L+"?")}});const N=new RegExp("^"+M.join("")+"("+(L===""?".":"[^"+L+"]")+"+)?"+(L===""?"":"["+L+"]*")+"$"),ue=U.length-1,te=U.map((H,q)=>q===0&&e.reverseFillMask===!0?new RegExp("^"+Z+"*"+H):q===ue?new RegExp("^"+H+"("+(I===""?".":I)+"+)?"+(e.reverseFillMask===!0?"$":Z+"*")):new RegExp("^"+H));a=B,o=H=>{const q=N.exec(e.reverseFillMask===!0?H:H.slice(0,B.length+1));q!==null&&(H=q.slice(1).join(""));const he=[],Me=te.length;for(let Fe=0,oe=H;Fe<Me;Fe++){const ve=te[Fe].exec(oe);if(ve===null)break;oe=oe.slice(ve.shift().length),he.push(...ve)}return he.length!==0?he.join(""):H},u=B.map(H=>typeof H=="string"?H:Mt).join(""),i=u.split(Mt).join(Y)}function y(S,Y,Z){const M=n.value,U=M.selectionEnd,B=M.value.length-U,ne=z(S);Y===!0&&x();const L=F(ne),I=e.fillMask!==!1?V(L):L,N=f.value!==I;M.value!==I&&(M.value=I),N===!0&&(f.value=I),document.activeElement===M&&vt(()=>{if(I===i){const te=e.reverseFillMask===!0?i.length:0;M.setSelectionRange(te,te,"forward");return}if(Z==="insertFromPaste"&&e.reverseFillMask!==!0){const te=M.selectionEnd;let H=U-1;for(let q=s;q<=H&&q<te;q++)u[q]!==Mt&&H++;D.right(M,H);return}if(["deleteContentBackward","deleteContentForward"].indexOf(Z)!==-1){const te=e.reverseFillMask===!0?U===0?I.length>L.length?1:0:Math.max(0,I.length-(I===i?0:Math.min(L.length,B)+1))+1:U;M.setSelectionRange(te,te,"forward");return}if(e.reverseFillMask===!0)if(N===!0){const te=Math.max(0,I.length-(I===i?0:Math.min(L.length,B+1)));te===1&&U===1?M.setSelectionRange(te,te,"forward"):D.rightReverse(M,te)}else{const te=I.length-B;M.setSelectionRange(te,te,"backward")}else if(N===!0){const te=Math.max(0,u.indexOf(Mt),Math.min(L.length,U)-1);D.right(M,te)}else{const te=U-1;D.right(M,te)}});const ue=e.unmaskedValue===!0?z(I):I;String(e.modelValue)!==ue&&(e.modelValue!==null||ue!=="")&&r(ue,!0)}function T(S,Y,Z){const M=F(z(S.value));Y=Math.max(0,u.indexOf(Mt),Math.min(M.length,Y)),s=Y,S.setSelectionRange(Y,Z,"forward")}const D={left(S,Y){const Z=u.slice(Y-1).indexOf(Mt)===-1;let M=Math.max(0,Y-1);for(;M>=0;M--)if(u[M]===Mt){Y=M,Z===!0&&Y++;break}if(M<0&&u[Y]!==void 0&&u[Y]!==Mt)return D.right(S,0);Y>=0&&S.setSelectionRange(Y,Y,"backward")},right(S,Y){const Z=S.value.length;let M=Math.min(Z,Y+1);for(;M<=Z;M++)if(u[M]===Mt){Y=M;break}else u[M-1]===Mt&&(Y=M);if(M>Z&&u[Y-1]!==void 0&&u[Y-1]!==Mt)return D.left(S,Z);S.setSelectionRange(Y,Y,"forward")},leftReverse(S,Y){const Z=v(S.value.length);let M=Math.max(0,Y-1);for(;M>=0;M--)if(Z[M-1]===Mt){Y=M;break}else if(Z[M]===Mt&&(Y=M,M===0))break;if(M<0&&Z[Y]!==void 0&&Z[Y]!==Mt)return D.rightReverse(S,0);Y>=0&&S.setSelectionRange(Y,Y,"backward")},rightReverse(S,Y){const Z=S.value.length,M=v(Z),U=M.slice(0,Y+1).indexOf(Mt)===-1;let B=Math.min(Z,Y+1);for(;B<=Z;B++)if(M[B-1]===Mt){Y=B,Y>0&&U===!0&&Y--;break}if(B>Z&&M[Y-1]!==void 0&&M[Y-1]!==Mt)return D.leftReverse(S,Z);S.setSelectionRange(Y,Y,"forward")}};function _(S){t("click",S),l=void 0}function w(S){if(t("keydown",S),Yl(S)===!0||S.altKey===!0)return;const Y=n.value,Z=Y.selectionStart,M=Y.selectionEnd;if(S.shiftKey||(l=void 0),S.keyCode===37||S.keyCode===39){S.shiftKey&&l===void 0&&(l=Y.selectionDirection==="forward"?Z:M);const U=D[(S.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(S.preventDefault(),U(Y,l===Z?M:Z),S.shiftKey){const B=Y.selectionStart;Y.setSelectionRange(Math.min(l,B),Math.max(l,B),"forward")}}else S.keyCode===8&&e.reverseFillMask!==!0&&Z===M?(D.left(Y,Z),Y.setSelectionRange(Y.selectionStart,M,"backward")):S.keyCode===46&&e.reverseFillMask===!0&&Z===M&&(D.rightReverse(Y,M),Y.setSelectionRange(Z,Y.selectionEnd,"forward"))}function F(S){if(S==null||S==="")return"";if(e.reverseFillMask===!0)return j(S);const Y=a;let Z=0,M="";for(let U=0;U<Y.length;U++){const B=S[Z],ne=Y[U];if(typeof ne=="string")M+=ne;else if(B!==void 0&&ne.regex.test(B))M+=ne.transform!==void 0?ne.transform(B):B,Z++;else return M}return M}function j(S){const Y=a,Z=u.indexOf(Mt);let M=S.length-1,U="";for(let B=Y.length-1;B>=0&&M!==-1;B--){const ne=Y[B];let L=S[M];if(typeof ne=="string")U=ne+U;else if(L!==void 0&&ne.regex.test(L))do U=(ne.transform!==void 0?ne.transform(L):L)+U,M--,L=S[M];while(Z===B&&L!==void 0&&ne.regex.test(L));else return U}return U}function z(S){return typeof S!="string"||o===void 0?typeof S=="number"?o(""+S):S:o(S)}function V(S){return i.length-S.length<=0?S:e.reverseFillMask===!0&&S.length!==0?i.slice(0,-S.length)+S:S+i.slice(S.length)}return{innerValue:f,hasMask:c,moveCursorForPaste:T,updateMaskValue:y,onMaskedKeydown:w,onMaskedClick:_}}const Ec={name:String};function yx(e){return W(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function xx(e={}){return(t,r,n)=>{t[r](G("input",{class:"hidden"+(n||""),...e.value}))}}function Dm(e){return W(()=>e.name||e.for)}function wx(e,t){function r(){const n=e.modelValue;try{const u="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(n)===n&&("length"in n?Array.from(n):[n]).forEach(i=>{u.items.add(i)}),{files:u.files}}catch{return{files:void 0}}}return W(()=>{if(e.type==="file")return r()})}const kx=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Sx=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Ax=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Cx=/[a-z0-9_ -]$/i;function Em(e){return function(r){if(r.type==="compositionend"||r.type==="change"){if(r.target.qComposing!==!0)return;r.target.qComposing=!1,e(r)}else r.type==="compositionupdate"&&r.target.qComposing!==!0&&typeof r.data=="string"&&(Tt.is.firefox===!0?Cx.test(r.data)===!1:kx.test(r.data)===!0||Sx.test(r.data)===!0||Ax.test(r.data)===!0)===!0&&(r.target.qComposing=!0)}}const As=Kt({name:"QInput",inheritAttrs:!1,props:{...ko,...gx,...Ec,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Cc,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:r}){const{proxy:n}=gt(),{$q:u}=n,i={};let a=NaN,o,s,l=null,c;const f=we(null),m=Dm(e),{innerValue:p,hasMask:v,moveCursorForPaste:x,updateMaskValue:y,onMaskedKeydown:T,onMaskedClick:D}=bx(e,t,L,f),_=wx(e),w=W(()=>di(p.value)),F=Em(B),j=_c({changeEvent:!0}),z=W(()=>e.type==="textarea"||e.autogrow===!0),V=W(()=>z.value===!0||["text","search","url","tel","password"].includes(e.type)),S=W(()=>{const q={...j.splitAttrs.listeners.value,onInput:B,onPaste:U,onChange:N,onBlur:ue,onFocus:Jr};return q.onCompositionstart=q.onCompositionupdate=q.onCompositionend=F,v.value===!0&&(q.onKeydown=T,q.onClick=D),e.autogrow===!0&&(q.onAnimationend=ne),q}),Y=W(()=>{const q={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:m.value,...j.splitAttrs.attributes.value,id:j.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return z.value===!1&&(q.type=e.type),e.autogrow===!0&&(q.rows=1),q});Ne(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),Ne(()=>e.modelValue,q=>{if(v.value===!0){if(s===!0&&(s=!1,String(q)===a))return;y(q)}else p.value!==q&&(p.value=q,e.type==="number"&&i.hasOwnProperty("value")===!0&&(o===!0?o=!1:delete i.value));e.autogrow===!0&&vt(I)}),Ne(()=>e.autogrow,q=>{q===!0?vt(I):f.value!==null&&r.rows>0&&(f.value.style.height="auto")}),Ne(()=>e.dense,()=>{e.autogrow===!0&&vt(I)});function Z(){wo(()=>{const q=document.activeElement;f.value!==null&&f.value!==q&&(q===null||q.id!==j.targetUid.value)&&f.value.focus({preventScroll:!0})})}function M(){f.value?.select()}function U(q){if(v.value===!0&&e.reverseFillMask!==!0){const he=q.target;x(he,he.selectionStart,he.selectionEnd)}t("paste",q)}function B(q){if(!q||!q.target)return;if(e.type==="file"){t("update:modelValue",q.target.files);return}const he=q.target.value;if(q.target.qComposing===!0){i.value=he;return}if(v.value===!0)y(he,!1,q.inputType);else if(L(he),V.value===!0&&q.target===document.activeElement){const{selectionStart:Me,selectionEnd:Fe}=q.target;Me!==void 0&&Fe!==void 0&&vt(()=>{q.target===document.activeElement&&he.indexOf(q.target.value)===0&&q.target.setSelectionRange(Me,Fe)})}e.autogrow===!0&&I()}function ne(q){t("animationend",q),I()}function L(q,he){c=()=>{l=null,e.type!=="number"&&i.hasOwnProperty("value")===!0&&delete i.value,e.modelValue!==q&&a!==q&&(a=q,he===!0&&(s=!0),t("update:modelValue",q),vt(()=>{a===q&&(a=NaN)})),c=void 0},e.type==="number"&&(o=!0,i.value=q),e.debounce!==void 0?(l!==null&&clearTimeout(l),i.value=q,l=setTimeout(c,e.debounce)):c()}function I(){requestAnimationFrame(()=>{const q=f.value;if(q!==null){const he=q.parentNode.style,{scrollTop:Me}=q,{overflowY:Fe,maxHeight:oe}=u.platform.is.firefox===!0?{}:window.getComputedStyle(q),ve=Fe!==void 0&&Fe!=="scroll";ve===!0&&(q.style.overflowY="hidden"),he.marginBottom=q.scrollHeight-1+"px",q.style.height="1px",q.style.height=q.scrollHeight+"px",ve===!0&&(q.style.overflowY=parseInt(oe,10)<q.scrollHeight?"auto":"hidden"),he.marginBottom="",q.scrollTop=Me}})}function N(q){F(q),l!==null&&(clearTimeout(l),l=null),c?.(),t("change",q.target.value)}function ue(q){q!==void 0&&Jr(q),l!==null&&(clearTimeout(l),l=null),c?.(),o=!1,s=!1,delete i.value,e.type!=="file"&&setTimeout(()=>{f.value!==null&&(f.value.value=p.value!==void 0?p.value:"")})}function te(){return i.hasOwnProperty("value")===!0?i.value:p.value!==void 0?p.value:""}Wt(()=>{ue()}),cn(()=>{e.autogrow===!0&&I()}),Object.assign(j,{innerValue:p,fieldClass:W(()=>`q-${z.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:W(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:L,hasValue:w,floatingLabel:W(()=>w.value===!0&&(e.type!=="number"||isNaN(p.value)===!1)||di(e.displayValue)),getControl:()=>G(z.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...Y.value,...S.value,...e.type!=="file"?{value:te()}:_.value}),getShadowControl:()=>G("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(z.value===!0?"":" text-no-wrap")},[G("span",{class:"invisible"},te()),G("span",e.shadowText)])});const H=Dc(j);return Object.assign(n,{focus:Z,select:M,getNativeElement:()=>f.value}),bu(n,"nativeEl",()=>f.value),H}});function _x(){let e=Object.create(null);return{getCache:(t,r)=>e[t]===void 0?e[t]=typeof r=="function"?r():r:e[t],setCache(t,r){e[t]=r},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}const Kn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function Dx(e,t,r){return Object.prototype.toString.call(e)==="[object Date]"&&(r=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Fx(Mc(e,t,r))}function xd(e,t,r){return Tm(Tx(e,t,r))}function Ex(e){return Mx(e)===0}function la(e,t){return t<=6?31:t<=11||Ex(e)?30:29}function Mx(e){const t=Kn.length;let r=Kn[0],n,u,i,a,o;if(e<r||e>=Kn[t-1])throw new Error("Invalid Jalaali year "+e);for(o=1;o<t&&(n=Kn[o],u=n-r,!(e<n));o+=1)r=n;return a=e-r,u-a<6&&(a=a-u+mt(u+4,33)*33),i=pr(pr(a+1,33)-1,4),i===-1&&(i=4),i}function Mm(e,t){const r=Kn.length,n=e+621;let u=-14,i=Kn[0],a,o,s,l,c;if(e<i||e>=Kn[r-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<r&&(a=Kn[c],o=a-i,!(e<a));c+=1)u=u+mt(o,33)*8+mt(pr(o,33),4),i=a;l=e-i,u=u+mt(l,33)*8+mt(pr(l,33)+3,4),pr(o,33)===4&&o-l===4&&(u+=1);const f=mt(n,4)-mt((mt(n,100)+1)*3,4)-150,m=20+u-f;return t||(o-l<6&&(l=l-o+mt(o+4,33)*33),s=pr(pr(l+1,33)-1,4),s===-1&&(s=4)),{leap:s,gy:n,march:m}}function Tx(e,t,r){const n=Mm(e,!0);return Mc(n.gy,3,n.march)+(t-1)*31-mt(t,7)*(t-7)+r-1}function Fx(e){const t=Tm(e).gy;let r=t-621,n,u,i;const a=Mm(r,!1),o=Mc(t,3,a.march);if(i=e-o,i>=0){if(i<=185)return u=1+mt(i,31),n=pr(i,31)+1,{jy:r,jm:u,jd:n};i-=186}else r-=1,i+=179,a.leap===1&&(i+=1);return u=7+mt(i,30),n=pr(i,30)+1,{jy:r,jm:u,jd:n}}function Mc(e,t,r){let n=mt((e+mt(t-8,6)+100100)*1461,4)+mt(153*pr(t+9,12)+2,5)+r-34840408;return n=n-mt(mt(e+100100+mt(t-8,6),100)*3,4)+752,n}function Tm(e){let t=4*e+139361631;t=t+mt(mt(4*e+183187720,146097)*3,4)*4-3908;const r=mt(pr(t,1461),4)*5+308,n=mt(pr(r,153),5)+1,u=pr(mt(r,153),12)+1;return{gy:mt(t,1461)-100100+mt(8-u,6),gm:u,gd:n}}function mt(e,t){return~~(e/t)}function pr(e,t){return e-~~(e/t)*t}function zx(e){return e.charAt(0).toUpperCase()+e.slice(1)}function wd(e,t,r){if(r<=t)return t;const n=r-t+1;let u=t+(e-t)%n;return u<t&&(u=n+u),u===0?0:u}function ot(e,t=2,r="0"){if(e==null)return e;const n=""+e;return n.length>=t?n:new Array(t-n.length+1).join(r)+n}const Bx=["gregorian","persian"],kd={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Bx.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Ox=["update:modelValue"];function Ln(e){return e.year+"/"+ot(e.month)+"/"+ot(e.day)}function qx(e,t){const r=W(()=>e.disable!==!0&&e.readonly!==!0),n=W(()=>r.value===!0?0:-1),u=W(()=>{const o=[];return e.color!==void 0&&o.push(`bg-${e.color}`),e.textColor!==void 0&&o.push(`text-${e.textColor}`),o.join(" ")});function i(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function a(o){const s=new Date,l=o===!0?null:0;if(e.calendar==="persian"){const c=Dx(s);return{year:c.jy,month:c.jm,day:c.jd}}return{year:s.getFullYear(),month:s.getMonth()+1,day:s.getDate(),hour:l,minute:l,second:l,millisecond:l}}return{editable:r,tabindex:n,headerClass:u,getLocale:i,getCurrentDate:a}}const Fm=864e5,Rx=36e5,gl=6e4,zm="YYYY-MM-DDTHH:mm:ss.SSSZ",Lx=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,Px=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Cs={};function Ix(e,t){const r="("+t.days.join("|")+")",n=e+r;if(Cs[n]!==void 0)return Cs[n];const u="("+t.daysShort.join("|")+")",i="("+t.months.join("|")+")",a="("+t.monthsShort.join("|")+")",o={};let s=0;const l=e.replace(Px,f=>{switch(s++,f){case"YY":return o.YY=s,"(-?\\d{1,2})";case"YYYY":return o.YYYY=s,"(-?\\d{1,4})";case"M":return o.M=s,"(\\d{1,2})";case"Mo":return o.M=s++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return o.M=s,"(\\d{2})";case"MMM":return o.MMM=s,a;case"MMMM":return o.MMMM=s,i;case"D":return o.D=s,"(\\d{1,2})";case"Do":return o.D=s++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return o.D=s,"(\\d{2})";case"H":return o.H=s,"(\\d{1,2})";case"HH":return o.H=s,"(\\d{2})";case"h":return o.h=s,"(\\d{1,2})";case"hh":return o.h=s,"(\\d{2})";case"m":return o.m=s,"(\\d{1,2})";case"mm":return o.m=s,"(\\d{2})";case"s":return o.s=s,"(\\d{1,2})";case"ss":return o.s=s,"(\\d{2})";case"S":return o.S=s,"(\\d{1})";case"SS":return o.S=s,"(\\d{2})";case"SSS":return o.S=s,"(\\d{3})";case"A":return o.A=s,"(AM|PM)";case"a":return o.a=s,"(am|pm)";case"aa":return o.aa=s,"(a\\.m\\.|p\\.m\\.)";case"ddd":return u;case"dddd":return r;case"Q":case"d":case"E":return"(\\d{1})";case"do":return s++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return s++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return s++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return o.Z=s,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return o.ZZ=s,"(Z|[+-]\\d{2}\\d{2})";case"X":return o.X=s,"(-?\\d+)";case"x":return o.x=s,"(-?\\d{4,})";default:return s--,f[0]==="["&&(f=f.substring(1,f.length-1)),f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:o,regex:new RegExp("^"+l)};return Cs[n]=c,c}function Bm(e,t){return e!==void 0?e:t!==void 0?t.date:Gs.date}function Sd(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),u=Math.floor(n/60),i=n%60;return r+ot(u)+t+ot(i)}function Nx(e,t,r){let n=e.getFullYear(),u=e.getMonth();const i=e.getDate();return t.year!==void 0&&(n+=r*t.year,delete t.year),t.month!==void 0&&(u+=r*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(n),e.setMonth(u),e.setDate(Math.min(i,zc(e))),t.date!==void 0&&(e.setDate(e.getDate()+r*t.date),delete t.date),e}function Hx(e,t,r){const n=t.year!==void 0?t.year:e[`get${r}FullYear`](),u=t.month!==void 0?t.month-1:e[`get${r}Month`](),i=new Date(n,u+1,0).getDate(),a=Math.min(i,t.date!==void 0?t.date:e[`get${r}Date`]());return e[`set${r}Date`](1),e[`set${r}Month`](2),e[`set${r}FullYear`](n),e[`set${r}Month`](u),e[`set${r}Date`](a),delete t.year,delete t.month,delete t.date,e}function Tc(e,t,r){const n=Om(t),u=new Date(e),i=n.year!==void 0||n.month!==void 0||n.date!==void 0?Nx(u,n,r):u;for(const a in n){const o=zx(a);i[`set${o}`](i[`get${o}`]()+r*n[a])}return i}function Om(e){const t={...e};return e.years!==void 0&&(t.year=e.years,delete t.years),e.months!==void 0&&(t.month=e.months,delete t.months),e.days!==void 0&&(t.date=e.days,delete t.days),e.day!==void 0&&(t.date=e.day,delete t.day),e.hour!==void 0&&(t.hours=e.hour,delete t.hour),e.minute!==void 0&&(t.minutes=e.minute,delete t.minute),e.second!==void 0&&(t.seconds=e.second,delete t.second),e.millisecond!==void 0&&(t.milliseconds=e.millisecond,delete t.millisecond),t}function qm(e,t,r){const n=Om(t),u=r===!0?"UTC":"",i=new Date(e),a=n.year!==void 0||n.month!==void 0||n.date!==void 0?Hx(i,n,u):i;for(const o in n){const s=o.charAt(0).toUpperCase()+o.slice(1);a[`set${u}${s}`](n[o])}return a}function Vx(e,t,r){const n=Rm(e,t,r),u=new Date(n.year,n.month===null?null:n.month-1,n.day===null?1:n.day,n.hour,n.minute,n.second,n.millisecond),i=u.getTimezoneOffset();return n.timezoneOffset===null||n.timezoneOffset===i?u:Tc(u,{minutes:n.timezoneOffset-i},1)}function Rm(e,t,r,n,u){const i={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(u!==void 0&&Object.assign(i,u),e==null||e===""||typeof e!="string")return i;t===void 0&&(t=zm);const a=Bm(r,en.props),o=a.months,s=a.monthsShort,{regex:l,map:c}=Ix(t,a),f=e.match(l);if(f===null)return i;let m="";if(c.X!==void 0||c.x!==void 0){const p=parseInt(f[c.X!==void 0?c.X:c.x],10);if(isNaN(p)===!0||p<0)return i;const v=new Date(p*(c.X!==void 0?1e3:1));i.year=v.getFullYear(),i.month=v.getMonth()+1,i.day=v.getDate(),i.hour=v.getHours(),i.minute=v.getMinutes(),i.second=v.getSeconds(),i.millisecond=v.getMilliseconds()}else{if(c.YYYY!==void 0)i.year=parseInt(f[c.YYYY],10);else if(c.YY!==void 0){const p=parseInt(f[c.YY],10);i.year=p<0?p:2e3+p}if(c.M!==void 0){if(i.month=parseInt(f[c.M],10),i.month<1||i.month>12)return i}else c.MMM!==void 0?i.month=s.indexOf(f[c.MMM])+1:c.MMMM!==void 0&&(i.month=o.indexOf(f[c.MMMM])+1);if(c.D!==void 0){if(i.day=parseInt(f[c.D],10),i.year===null||i.month===null||i.day<1)return i;const p=n!=="persian"?new Date(i.year,i.month,0).getDate():la(i.year,i.month);if(i.day>p)return i}c.H!==void 0?i.hour=parseInt(f[c.H],10)%24:c.h!==void 0&&(i.hour=parseInt(f[c.h],10)%12,(c.A&&f[c.A]==="PM"||c.a&&f[c.a]==="pm"||c.aa&&f[c.aa]==="p.m.")&&(i.hour+=12),i.hour=i.hour%24),c.m!==void 0&&(i.minute=parseInt(f[c.m],10)%60),c.s!==void 0&&(i.second=parseInt(f[c.s],10)%60),c.S!==void 0&&(i.millisecond=parseInt(f[c.S],10)*10**(3-f[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(m=c.Z!==void 0?f[c.Z].replace(":",""):f[c.ZZ],i.timezoneOffset=(m[0]==="+"?-1:1)*(60*m.slice(1,3)+1*m.slice(3,5)))}return i.dateHash=ot(i.year,4)+"/"+ot(i.month)+"/"+ot(i.day),i.timeHash=ot(i.hour)+":"+ot(i.minute)+":"+ot(i.second)+m,i}function Ux(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function jx(e,t){return qm(new Date,e,t)}function $x(e){const t=new Date(e).getDay();return t===0?7:t}function ca(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const r=new Date(t.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);const n=t.getTimezoneOffset()-r.getTimezoneOffset();t.setHours(t.getHours()-n);const u=(t-r)/(Fm*7);return 1+Math.floor(u)}function Yx(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function _s(e,t){const r=new Date(e);return t===!0?Yx(r):r.getTime()}function Gx(e,t,r,n={}){const u=_s(t,n.onlyDate),i=_s(r,n.onlyDate),a=_s(e,n.onlyDate);return(a>u||n.inclusiveFrom===!0&&a===u)&&(a<i||n.inclusiveTo===!0&&a===i)}function Wx(e,t){return Tc(e,t,1)}function Kx(e,t){return Tc(e,t,-1)}function Qr(e,t,r){const n=new Date(e),u=`set${r===!0?"UTC":""}`;switch(t){case"year":case"years":n[`${u}Month`](0);case"month":case"months":n[`${u}Date`](1);case"day":case"days":case"date":n[`${u}Hours`](0);case"hour":case"hours":n[`${u}Minutes`](0);case"minute":case"minutes":n[`${u}Seconds`](0);case"second":case"seconds":n[`${u}Milliseconds`](0)}return n}function Zx(e,t,r){const n=new Date(e),u=`set${r===!0?"UTC":""}`;switch(t){case"year":case"years":n[`${u}Month`](11);case"month":case"months":n[`${u}Date`](zc(n));case"day":case"days":case"date":n[`${u}Hours`](23);case"hour":case"hours":n[`${u}Minutes`](59);case"minute":case"minutes":n[`${u}Seconds`](59);case"second":case"seconds":n[`${u}Milliseconds`](999)}return n}function Qx(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(r=>{t=Math.max(t,new Date(r))}),t}function Xx(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(r=>{t=Math.min(t,new Date(r))}),t}function Qi(e,t,r){return(e.getTime()-e.getTimezoneOffset()*gl-(t.getTime()-t.getTimezoneOffset()*gl))/r}function Fc(e,t,r="days"){const n=new Date(e),u=new Date(t);switch(r){case"years":case"year":return n.getFullYear()-u.getFullYear();case"months":case"month":return(n.getFullYear()-u.getFullYear())*12+n.getMonth()-u.getMonth();case"days":case"day":case"date":return Qi(Qr(n,"day"),Qr(u,"day"),Fm);case"hours":case"hour":return Qi(Qr(n,"hour"),Qr(u,"hour"),Rx);case"minutes":case"minute":return Qi(Qr(n,"minute"),Qr(u,"minute"),gl);case"seconds":case"second":return Qi(Qr(n,"second"),Qr(u,"second"),1e3)}}function fa(e){return Fc(e,Qr(e,"year"),"days")+1}function Jx(e){return f2(e)===!0?"date":typeof e=="number"?"number":"string"}function ew(e,t,r){const n=new Date(e);if(t){const u=new Date(t);if(n<u)return u}if(r){const u=new Date(r);if(n>u)return u}return n}function tw(e,t,r){const n=new Date(e),u=new Date(t);if(r===void 0)return n.getTime()===u.getTime();switch(r){case"second":case"seconds":if(n.getSeconds()!==u.getSeconds())return!1;case"minute":case"minutes":if(n.getMinutes()!==u.getMinutes())return!1;case"hour":case"hours":if(n.getHours()!==u.getHours())return!1;case"day":case"days":case"date":if(n.getDate()!==u.getDate())return!1;case"month":case"months":if(n.getMonth()!==u.getMonth())return!1;case"year":case"years":if(n.getFullYear()!==u.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${r}`)}return!0}function zc(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function X0(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const Ad={YY(e,t,r){const n=this.YYYY(e,t,r)%100;return n>=0?ot(n):"-"+ot(Math.abs(n))},YYYY(e,t,r){return r??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return X0(e.getMonth()+1)},MM(e){return ot(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return X0(this.Q(e))},D(e){return e.getDate()},Do(e){return X0(e.getDate())},DD(e){return ot(e.getDate())},DDD(e){return fa(e)},DDDo(e){return X0(fa(e))},DDDD(e){return ot(fa(e),3)},d(e){return e.getDay()},do(e){return X0(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return ca(e)},wo(e){return X0(ca(e))},ww(e){return ot(ca(e))},H(e){return e.getHours()},HH(e){return ot(e.getHours())},h(e){const t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return ot(this.h(e))},m(e){return e.getMinutes()},mm(e){return ot(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return ot(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return ot(Math.floor(e.getMilliseconds()/10))},SSS(e){return ot(e.getMilliseconds(),3)},A(e){return e.getHours()<12?"AM":"PM"},a(e){return e.getHours()<12?"am":"pm"},aa(e){return e.getHours()<12?"a.m.":"p.m."},Z(e,t,r,n){const u=n??e.getTimezoneOffset();return Sd(u,":")},ZZ(e,t,r,n){const u=n??e.getTimezoneOffset();return Sd(u)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function Lm(e,t,r,n,u){if(e!==0&&!e||e===1/0||e===-1/0)return;const i=new Date(e);if(isNaN(i))return;t===void 0&&(t=zm);const a=Bm(r,en.props);return t.replace(Lx,(o,s)=>o in Ad?Ad[o](i,a,n,u):s===void 0?o:s.split("\\]").join("]"))}function rw(e){return f2(e)===!0?new Date(e.getTime()):e}const y0={isValid:Ux,extractDate:Vx,buildDate:jx,getDayOfWeek:$x,getWeekOfYear:ca,isBetweenDates:Gx,addToDate:Wx,subtractFromDate:Kx,adjustDate:qm,startOfDate:Qr,endOfDate:Zx,getMaxDate:Qx,getMinDate:Xx,getDateDiff:Fc,getDayOfYear:fa,inferDateFormat:Jx,getDateBetween:ew,isSameDate:tw,daysInMonth:zc,formatDate:Lm,clone:rw},xn=20,nw=["Calendar","Years","Months"],Cd=e=>nw.includes(e),Ds=e=>/^-?[\d]+\/[0-1]\d$/.test(e),J0=" — ";function Pn(e){return e.year+"/"+ot(e.month)}const _d=Kt({name:"QDate",props:{...kd,...Ec,...Di,modelValue:{required:!0,validator:e=>typeof e=="string"||Array.isArray(e)===!0||Object(e)===e||e===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...kd.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:Ds},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:Ds},navigationMaxYearMonth:{type:String,validator:Ds},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:Cd}},emits:[...Ox,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:r}){const{proxy:n}=gt(),{$q:u}=n,i=Ei(e,u),{getCache:a}=_x(),{tabindex:o,headerClass:s,getLocale:l,getCurrentDate:c}=qx(e,u);let f;const m=yx(e),p=xx(m),v=we(null),x=we(Dt()),y=we(l()),T=W(()=>Dt()),D=W(()=>l()),_=W(()=>c()),w=we(Et(x.value,y.value)),F=we(e.defaultView),j=W(()=>u.lang.rtl===!0?"right":"left"),z=we(j.value),V=we(j.value),S=w.value.year,Y=we(S-S%xn-(S<0?xn:0)),Z=we(null),M=W(()=>{const k=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${k} q-date--${k}-${e.minimal===!0?"minimal":"standard"}`+(i.value===!0?" q-date--dark q-dark":"")+(e.bordered===!0?" q-date--bordered":"")+(e.square===!0?" q-date--square no-border-radius":"")+(e.flat===!0?" q-date--flat no-shadow":"")+(e.disable===!0?" disabled":e.readonly===!0?" q-date--readonly":"")}),U=W(()=>e.color||"primary"),B=W(()=>e.textColor||"white"),ne=W(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),L=W(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),I=W(()=>L.value.filter(k=>typeof k=="string").map(k=>ct(k,x.value,y.value)).filter(k=>k.dateHash!==null&&k.day!==null&&k.month!==null&&k.year!==null)),N=W(()=>{const k=$=>ct($,x.value,y.value);return L.value.filter($=>r0($)===!0&&$.from!==void 0&&$.to!==void 0).map($=>({from:k($.from),to:k($.to)})).filter($=>$.from.dateHash!==null&&$.to.dateHash!==null&&$.from.dateHash<$.to.dateHash)}),ue=W(()=>e.calendar!=="persian"?k=>new Date(k.year,k.month-1,k.day):k=>{const $=xd(k.year,k.month,k.day);return new Date($.gy,$.gm-1,$.gd)}),te=W(()=>e.calendar==="persian"?Ln:(k,$,J)=>Lm(new Date(k.year,k.month-1,k.day,k.hour,k.minute,k.second,k.millisecond),$===void 0?x.value:$,J===void 0?y.value:J,k.year,k.timezoneOffset)),H=W(()=>I.value.length+N.value.reduce((k,$)=>k+1+Fc(ue.value($.to),ue.value($.from)),0)),q=W(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(Z.value!==null){const J=Z.value.init,xe=ue.value(J);return y.value.daysShort[xe.getDay()]+", "+y.value.monthsShort[J.month-1]+" "+J.day+J0+"?"}if(H.value===0)return J0;if(H.value>1)return`${H.value} ${y.value.pluralDay}`;const k=I.value[0],$=ue.value(k);return isNaN($.valueOf())===!0?J0:y.value.headerTitle!==void 0?y.value.headerTitle($,k):y.value.daysShort[$.getDay()]+", "+y.value.monthsShort[k.month-1]+" "+k.day}),he=W(()=>I.value.concat(N.value.map($=>$.from)).sort(($,J)=>$.year-J.year||$.month-J.month)[0]),Me=W(()=>I.value.concat(N.value.map($=>$.to)).sort(($,J)=>J.year-$.year||J.month-$.month)[0]),Fe=W(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(H.value===0)return J0;if(H.value>1){const k=he.value,$=Me.value,J=y.value.monthsShort;return J[k.month-1]+(k.year!==$.year?" "+k.year+J0+J[$.month-1]+" ":k.month!==$.month?J0+J[$.month-1]:"")+" "+$.year}return I.value[0].year}),oe=W(()=>{const k=[u.iconSet.datetime.arrowLeft,u.iconSet.datetime.arrowRight];return u.lang.rtl===!0?k.reverse():k}),ve=W(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),Ue=W(()=>{const k=y.value.daysShort,$=ve.value;return $>0?k.slice($,7).concat(k.slice(0,$)):k}),de=W(()=>{const k=w.value;return e.calendar!=="persian"?new Date(k.year,k.month,0).getDate():la(k.year,k.month)}),Ke=W(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),ut=W(()=>{if(e.navigationMinYearMonth===void 0)return null;const k=e.navigationMinYearMonth.split("/");return{year:parseInt(k[0],10),month:parseInt(k[1],10)}}),A=W(()=>{if(e.navigationMaxYearMonth===void 0)return null;const k=e.navigationMaxYearMonth.split("/");return{year:parseInt(k[0],10),month:parseInt(k[1],10)}}),O=W(()=>{const k={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return ut.value!==null&&ut.value.year>=w.value.year&&(k.year.prev=!1,ut.value.year===w.value.year&&ut.value.month>=w.value.month&&(k.month.prev=!1)),A.value!==null&&A.value.year<=w.value.year&&(k.year.next=!1,A.value.year===w.value.year&&A.value.month<=w.value.month&&(k.month.next=!1)),k}),Q=W(()=>{const k={};return I.value.forEach($=>{const J=Pn($);k[J]===void 0&&(k[J]=[]),k[J].push($.day)}),k}),ie=W(()=>{const k={};return N.value.forEach($=>{const J=Pn($.from),xe=Pn($.to);if(k[J]===void 0&&(k[J]=[]),k[J].push({from:$.from.day,to:J===xe?$.to.day:void 0,range:$}),J<xe){let Se;const{year:$e,month:Ee}=$.from,Pe=Ee<12?{year:$e,month:Ee+1}:{year:$e+1,month:1};for(;(Se=Pn(Pe))<=xe;)k[Se]===void 0&&(k[Se]=[]),k[Se].push({from:void 0,to:Se===xe?$.to.day:void 0,range:$}),Pe.month++,Pe.month>12&&(Pe.year++,Pe.month=1)}}),k}),re=W(()=>{if(Z.value===null)return;const{init:k,initHash:$,final:J,finalHash:xe}=Z.value,[Se,$e]=$<=xe?[k,J]:[J,k],Ee=Pn(Se),Pe=Pn($e);if(Ee!==ee.value&&Pe!==ee.value)return;const Je={};return Ee===ee.value?(Je.from=Se.day,Je.includeFrom=!0):Je.from=1,Pe===ee.value?(Je.to=$e.day,Je.includeTo=!0):Je.to=de.value,Je}),ee=W(()=>Pn(w.value)),ge=W(()=>{const k={};if(e.options===void 0){for(let J=1;J<=de.value;J++)k[J]=!0;return k}const $=typeof e.options=="function"?e.options:J=>e.options.includes(J);for(let J=1;J<=de.value;J++){const xe=ee.value+"/"+ot(J);k[J]=$(xe)}return k}),me=W(()=>{const k={};if(e.events===void 0)for(let $=1;$<=de.value;$++)k[$]=!1;else{const $=typeof e.events=="function"?e.events:J=>e.events.includes(J);for(let J=1;J<=de.value;J++){const xe=ee.value+"/"+ot(J);k[J]=$(xe)===!0&&Ke.value(xe)}}return k}),pe=W(()=>{let k,$;const{year:J,month:xe}=w.value;if(e.calendar!=="persian")k=new Date(J,xe-1,1),$=new Date(J,xe-1,0).getDate();else{const Se=xd(J,xe,1);k=new Date(Se.gy,Se.gm-1,Se.gd);let $e=xe-1,Ee=J;$e===0&&($e=12,Ee--),$=la(Ee,$e)}return{days:k.getDay()-ve.value-1,endDay:$}}),ae=W(()=>{const k=[],{days:$,endDay:J}=pe.value,xe=$<0?$+7:$;if(xe<6)for(let Ee=J-xe;Ee<=J;Ee++)k.push({i:Ee,fill:!0});const Se=k.length;for(let Ee=1;Ee<=de.value;Ee++){const Pe={i:Ee,event:me.value[Ee],classes:[]};ge.value[Ee]===!0&&(Pe.in=!0,Pe.flat=!0),k.push(Pe)}if(Q.value[ee.value]!==void 0&&Q.value[ee.value].forEach(Ee=>{const Pe=Se+Ee-1;Object.assign(k[Pe],{selected:!0,unelevated:!0,flat:!1,color:U.value,textColor:B.value})}),ie.value[ee.value]!==void 0&&ie.value[ee.value].forEach(Ee=>{if(Ee.from!==void 0){const Pe=Se+Ee.from-1,Je=Se+(Ee.to||de.value)-1;for(let xr=Pe;xr<=Je;xr++)Object.assign(k[xr],{range:Ee.range,unelevated:!0,color:U.value,textColor:B.value});Object.assign(k[Pe],{rangeFrom:!0,flat:!1}),Ee.to!==void 0&&Object.assign(k[Je],{rangeTo:!0,flat:!1})}else if(Ee.to!==void 0){const Pe=Se+Ee.to-1;for(let Je=Se;Je<=Pe;Je++)Object.assign(k[Je],{range:Ee.range,unelevated:!0,color:U.value,textColor:B.value});Object.assign(k[Pe],{flat:!1,rangeTo:!0})}else{const Pe=Se+de.value-1;for(let Je=Se;Je<=Pe;Je++)Object.assign(k[Je],{range:Ee.range,unelevated:!0,color:U.value,textColor:B.value})}}),re.value!==void 0){const Ee=Se+re.value.from-1,Pe=Se+re.value.to-1;for(let Je=Ee;Je<=Pe;Je++)k[Je].color=U.value,k[Je].editRange=!0;re.value.includeFrom===!0&&(k[Ee].editRangeFrom=!0),re.value.includeTo===!0&&(k[Pe].editRangeTo=!0)}w.value.year===_.value.year&&w.value.month===_.value.month&&(k[Se+_.value.day-1].today=!0);const $e=k.length%7;if($e>0){const Ee=7-$e;for(let Pe=1;Pe<=Ee;Pe++)k.push({i:Pe,fill:!0})}return k.forEach(Ee=>{let Pe="q-date__calendar-item ";Ee.fill===!0?Pe+="q-date__calendar-item--fill":(Pe+=`q-date__calendar-item--${Ee.in===!0?"in":"out"}`,Ee.range!==void 0&&(Pe+=` q-date__range${Ee.rangeTo===!0?"-to":Ee.rangeFrom===!0?"-from":""}`),Ee.editRange===!0&&(Pe+=` q-date__edit-range${Ee.editRangeFrom===!0?"-from":""}${Ee.editRangeTo===!0?"-to":""}`),(Ee.range!==void 0||Ee.editRange===!0)&&(Pe+=` text-${Ee.color}`)),Ee.classes=Pe}),k}),Ae=W(()=>e.disable===!0?{"aria-disabled":"true"}:{});Ne(()=>e.modelValue,k=>{if(f===JSON.stringify(k))f=0;else{const $=Et(x.value,y.value);vn($.year,$.month,$)}}),Ne(F,()=>{v.value!==null&&n.$el.contains(document.activeElement)===!0&&v.value.focus()}),Ne(()=>w.value.year+"|"+w.value.month,()=>{r("navigation",{year:w.value.year,month:w.value.month})}),Ne(T,k=>{c0(k,y.value,"mask"),x.value=k}),Ne(D,k=>{c0(x.value,k,"locale"),y.value=k});function be(k){f=JSON.stringify(k)}function Te(){const{year:k,month:$,day:J}=_.value,xe={...w.value,year:k,month:$,day:J},Se=Q.value[Pn(xe)];(Se===void 0||Se.includes(xe.day)===!1)&&Cu(xe),Ze(xe.year,xe.month)}function Re(k){Cd(k)===!0&&(F.value=k)}function Ye(k,$){["month","year"].includes(k)&&(k==="month"?jr:$r)($===!0?-1:1)}function Ze(k,$){F.value="Calendar",vn(k,$)}function Xe(k,$){if(e.range===!1||!k){Z.value=null;return}const J=Object.assign({...w.value},k),xe=$!==void 0?Object.assign({...w.value},$):J;Z.value={init:J,initHash:Ln(J),final:xe,finalHash:Ln(xe)},Ze(J.year,J.month)}function Dt(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function ct(k,$,J){return Rm(k,$,J,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Et(k,$){const J=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(J.length===0)return Ot();const xe=J[J.length-1],Se=ct(xe.from!==void 0?xe.from:xe,k,$);return Se.dateHash===null?Ot():Se}function Ot(){let k,$;if(e.defaultYearMonth!==void 0){const J=e.defaultYearMonth.split("/");k=parseInt(J[0],10),$=parseInt(J[1],10)}else{const J=_.value!==void 0?_.value:c();k=J.year,$=J.month}return{year:k,month:$,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:k+"/"+ot($)+"/01"}}function jr(k){let $=w.value.year,J=Number(w.value.month)+k;J===13?(J=1,$++):J===0&&(J=12,$--),vn($,J),ne.value===!0&&H0("month")}function $r(k){const $=Number(w.value.year)+k;vn($,w.value.month),ne.value===!0&&H0("year")}function qt(k){vn(k,w.value.month),F.value=e.defaultView==="Years"?"Months":"Calendar",ne.value===!0&&H0("year")}function Zt(k){vn(w.value.year,k),F.value="Calendar",ne.value===!0&&H0("month")}function l0(k,$){(Q.value[$]?.includes(k.day)===!0?V0:Cu)(k)}function dr(k){return{year:k.year,month:k.month,day:k.day}}function vn(k,$,J){if(ut.value!==null&&k<=ut.value.year&&(($<ut.value.month||k<ut.value.year)&&($=ut.value.month),k=ut.value.year),A.value!==null&&k>=A.value.year&&(($>A.value.month||k>A.value.year)&&($=A.value.month),k=A.value.year),J!==void 0){const{hour:Se,minute:$e,second:Ee,millisecond:Pe,timezoneOffset:Je,timeHash:xr}=J;Object.assign(w.value,{hour:Se,minute:$e,second:Ee,millisecond:Pe,timezoneOffset:Je,timeHash:xr})}const xe=k+"/"+ot($)+"/01";xe!==w.value.dateHash&&(z.value=w.value.dateHash<xe==(u.lang.rtl!==!0)?"left":"right",k!==w.value.year&&(V.value=z.value),vt(()=>{Y.value=k-k%xn-(k<0?xn:0),Object.assign(w.value,{year:k,month:$,day:1,dateHash:xe})}))}function Au(k,$,J){const xe=k!==null&&k.length===1&&e.multiple===!1?k[0]:k,{reason:Se,details:$e}=Mi($,J);be(xe),r("update:modelValue",xe,Se,$e)}function H0(k){const $=I.value[0]!==void 0&&I.value[0].dateHash!==null?{...I.value[0]}:{...w.value};vt(()=>{$.year=w.value.year,$.month=w.value.month;const J=e.calendar!=="persian"?new Date($.year,$.month,0).getDate():la($.year,$.month);$.day=Math.min(Math.max(1,$.day),J);const xe=gn($),{details:Se}=Mi("",$);be(xe),r("update:modelValue",xe,k,Se)})}function Mi(k,$){return $.from!==void 0?{reason:`${k}-range`,details:{...dr($.target),from:dr($.from),to:dr($.to)}}:{reason:`${k}-day`,details:dr($)}}function gn(k,$,J){return k.from!==void 0?{from:te.value(k.from,$,J),to:te.value(k.to,$,J)}:te.value(k,$,J)}function Cu(k){let $;if(e.multiple===!0)if(k.from!==void 0){const J=Ln(k.from),xe=Ln(k.to),Se=I.value.filter(Ee=>Ee.dateHash<J||Ee.dateHash>xe),$e=N.value.filter(({from:Ee,to:Pe})=>Pe.dateHash<J||Ee.dateHash>xe);$=Se.concat($e).concat(k).map(Ee=>gn(Ee))}else{const J=L.value.slice();J.push(gn(k)),$=J}else $=gn(k);Au($,"add",k)}function V0(k){if(e.noUnset===!0)return;let $=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){const J=gn(k);k.from!==void 0?$=e.modelValue.filter(xe=>xe.from!==void 0?xe.from!==J.from&&xe.to!==J.to:!0):$=e.modelValue.filter(xe=>xe!==J),$.length===0&&($=null)}Au($,"remove",k)}function c0(k,$,J){const xe=I.value.concat(N.value).map($e=>gn($e,k,$)).filter($e=>$e.from!==void 0?$e.from.dateHash!==null&&$e.to.dateHash!==null:$e.dateHash!==null),Se=(e.multiple===!0?xe:xe[0])||null;be(Se),r("update:modelValue",Se,J)}function f0(){if(e.minimal!==!0)return G("div",{class:"q-date__header "+s.value},[G("div",{class:"relative-position"},[G(Ar,{name:"q-transition--fade"},()=>G("div",{key:"h-yr-"+Fe.value,class:"q-date__header-subtitle q-date__header-link "+(F.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:o.value,...a("vY",{onClick(){F.value="Years"},onKeyup(k){k.keyCode===13&&(F.value="Years")}})},[Fe.value]))]),G("div",{class:"q-date__header-title relative-position flex no-wrap"},[G("div",{class:"relative-position col"},[G(Ar,{name:"q-transition--fade"},()=>G("div",{key:"h-sub"+q.value,class:"q-date__header-title-label q-date__header-link "+(F.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:o.value,...a("vC",{onClick(){F.value="Calendar"},onKeyup(k){k.keyCode===13&&(F.value="Calendar")}})},[q.value]))]),e.todayBtn===!0?G(zr,{class:"q-date__header-today self-start",icon:u.iconSet.datetime.today,"aria-label":u.lang.date.today,flat:!0,size:"sm",round:!0,tabindex:o.value,onClick:Te}):null])])}function Yr({label:k,type:$,key:J,dir:xe,goTo:Se,boundaries:$e,cls:Ee}){return[G("div",{class:"row items-center q-date__arrow"},[G(zr,{round:!0,dense:!0,size:"sm",flat:!0,icon:oe.value[0],"aria-label":$==="Years"?u.lang.date.prevYear:u.lang.date.prevMonth,tabindex:o.value,disable:$e.prev===!1,...a("go-#"+$,{onClick(){Se(-1)}})})]),G("div",{class:"relative-position overflow-hidden flex flex-center"+Ee},[G(Ar,{name:"q-transition--jump-"+xe},()=>G("div",{key:J},[G(zr,{flat:!0,dense:!0,noCaps:!0,label:k,tabindex:o.value,...a("view#"+$,{onClick:()=>{F.value=$}})})]))]),G("div",{class:"row items-center q-date__arrow"},[G(zr,{round:!0,dense:!0,size:"sm",flat:!0,icon:oe.value[1],"aria-label":$==="Years"?u.lang.date.nextYear:u.lang.date.nextMonth,tabindex:o.value,disable:$e.next===!1,...a("go+#"+$,{onClick(){Se(1)}})})])]}const So={Calendar:()=>[G("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[G("div",{class:"q-date__navigation row items-center no-wrap"},Yr({label:y.value.months[w.value.month-1],type:"Months",key:w.value.month,dir:z.value,goTo:jr,boundaries:O.value.month,cls:" col"}).concat(Yr({label:w.value.year,type:"Years",key:w.value.year,dir:V.value,goTo:$r,boundaries:O.value.year,cls:""}))),G("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},Ue.value.map(k=>G("div",{class:"q-date__calendar-item"},[G("div",k)]))),G("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[G(Ar,{name:"q-transition--slide-"+z.value},()=>G("div",{key:ee.value,class:"q-date__calendar-days fit"},ae.value.map(k=>G("div",{class:k.classes},[k.in===!0?G(zr,{class:k.today===!0?"q-date__today":"",dense:!0,flat:k.flat,unelevated:k.unelevated,color:k.color,textColor:k.textColor,label:k.i,tabindex:o.value,...a("day#"+k.i,{onClick:()=>{Ao(k.i)},onMouseover:()=>{Co(k.i)}})},k.event!==!1?()=>G("div",{class:"q-date__event bg-"+k.event}):null):G("div",""+k.i)]))))])])],Months(){const k=w.value.year===_.value.year,$=xe=>ut.value!==null&&w.value.year===ut.value.year&&ut.value.month>xe||A.value!==null&&w.value.year===A.value.year&&A.value.month<xe,J=y.value.monthsShort.map((xe,Se)=>{const $e=w.value.month===Se+1;return G("div",{class:"q-date__months-item flex flex-center"},[G(zr,{class:k===!0&&_.value.month===Se+1?"q-date__today":null,flat:$e!==!0,label:xe,unelevated:$e,color:$e===!0?U.value:null,textColor:$e===!0?B.value:null,tabindex:o.value,disable:$(Se+1),...a("month#"+Se,{onClick:()=>{Zt(Se+1)}})})])});return e.yearsInMonthView===!0&&J.unshift(G("div",{class:"row no-wrap full-width"},[Yr({label:w.value.year,type:"Years",key:w.value.year,dir:V.value,goTo:$r,boundaries:O.value.year,cls:" col"})])),G("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},J)},Years(){const k=Y.value,$=k+xn,J=[],xe=Se=>ut.value!==null&&ut.value.year>Se||A.value!==null&&A.value.year<Se;for(let Se=k;Se<=$;Se++){const $e=w.value.year===Se;J.push(G("div",{class:"q-date__years-item flex flex-center"},[G(zr,{key:"yr"+Se,class:_.value.year===Se?"q-date__today":null,flat:!$e,label:Se,dense:!0,unelevated:$e,color:$e===!0?U.value:null,textColor:$e===!0?B.value:null,tabindex:o.value,disable:xe(Se),...a("yr#"+Se,{onClick:()=>{qt(Se)}})})]))}return G("div",{class:"q-date__view q-date__years flex flex-center"},[G("div",{class:"col-auto"},[G(zr,{round:!0,dense:!0,flat:!0,icon:oe.value[0],"aria-label":u.lang.date.prevRangeYears(xn),tabindex:o.value,disable:xe(k),...a("y-",{onClick:()=>{Y.value-=xn}})})]),G("div",{class:"q-date__years-content col self-stretch row items-center"},J),G("div",{class:"col-auto"},[G(zr,{round:!0,dense:!0,flat:!0,icon:oe.value[1],"aria-label":u.lang.date.nextRangeYears(xn),tabindex:o.value,disable:xe($),...a("y+",{onClick:()=>{Y.value+=xn}})})])])}};function Ao(k){const $={...w.value,day:k};if(e.range===!1){l0($,ee.value);return}if(Z.value===null){const J=ae.value.find(Se=>Se.fill!==!0&&Se.i===k);if(e.noUnset!==!0&&J.range!==void 0){V0({target:$,from:J.range.from,to:J.range.to});return}if(J.selected===!0){V0($);return}const xe=Ln($);Z.value={init:$,initHash:xe,final:$,finalHash:xe},r("rangeStart",dr($))}else{const J=Z.value.initHash,xe=Ln($),Se=J<=xe?{from:Z.value.init,to:$}:{from:$,to:Z.value.init};Z.value=null,Cu(J===xe?$:{target:$,...Se}),r("rangeEnd",{from:dr(Se.from),to:dr(Se.to)})}}function Co(k){if(Z.value!==null){const $={...w.value,day:k};Object.assign(Z.value,{final:$,finalHash:Ln($)})}}return Object.assign(n,{setToday:Te,setView:Re,offsetCalendar:Ye,setCalendarTo:Ze,setEditingRange:Xe}),()=>{const k=[G("div",{class:"q-date__content col relative-position"},[G(Ar,{name:"q-transition--fade"},So[F.value])])],$=nn(t.default);return $!==void 0&&k.push(G("div",{class:"q-date__actions"},$)),e.name!==void 0&&e.disable!==!0&&p(k,"push"),G("div",{class:M.value,...Ae.value},[f0(),G("div",{ref:v,class:"q-date__main col column",tabindex:-1},k)])}}});function uw(e,t,r){let n;function u(){n!==void 0&&(Ys.remove(n),n=void 0)}return Wt(()=>{e.value===!0&&u()}),{removeFromHistory:u,addToHistory(){n={condition:()=>r.value===!0,handler:t},Ys.add(n)}}}function Pm(){let e=null;const t=gt();function r(){e!==null&&(clearTimeout(e),e=null)}return mi(r),Wt(r),{removeTimeout:r,registerTimeout(n,u){r(),k2(t)===!1&&(e=setTimeout(()=>{e=null,n()},u))}}}function Im(){let e;const t=gt();function r(){e=void 0}return mi(r),Wt(r),{removeTick:r,registerTick(n){e=n,vt(()=>{e===n&&(k2(t)===!1&&e(),e=void 0)})}}}const Nm={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Hm=["beforeShow","show","beforeHide","hide"];function Vm({showing:e,canShow:t,hideOnRouteChange:r,handleShow:n,handleHide:u,processOnMount:i}){const a=gt(),{props:o,emit:s,proxy:l}=a;let c;function f(D){e.value===!0?v(D):m(D)}function m(D){if(o.disable===!0||D?.qAnchorHandled===!0||t!==void 0&&t(D)!==!0)return;const _=o["onUpdate:modelValue"]!==void 0;_===!0&&(s("update:modelValue",!0),c=D,vt(()=>{c===D&&(c=void 0)})),(o.modelValue===null||_===!1)&&p(D)}function p(D){e.value!==!0&&(e.value=!0,s("beforeShow",D),n!==void 0?n(D):s("show",D))}function v(D){if(o.disable===!0)return;const _=o["onUpdate:modelValue"]!==void 0;_===!0&&(s("update:modelValue",!1),c=D,vt(()=>{c===D&&(c=void 0)})),(o.modelValue===null||_===!1)&&x(D)}function x(D){e.value!==!1&&(e.value=!1,s("beforeHide",D),u!==void 0?u(D):s("hide",D))}function y(D){o.disable===!0&&D===!0?o["onUpdate:modelValue"]!==void 0&&s("update:modelValue",!1):D===!0!==e.value&&(D===!0?p:x)(c)}Ne(()=>o.modelValue,y),r!==void 0&&w2(a)===!0&&Ne(()=>l.$route.fullPath,()=>{r.value===!0&&e.value===!0&&v()}),cn(()=>{y(o.modelValue)});const T={show:m,hide:v,toggle:f};return Object.assign(l,T),T}const Um={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function jm(e,t=()=>{},r=()=>{}){return{transitionProps:W(()=>{const n=`q-transition--${e.transitionShow||t()}`,u=`q-transition--${e.transitionHide||r()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${u}-leave-from`,leaveActiveClass:`${u}-leave-active`,leaveToClass:`${u}-leave-to`}}),transitionStyle:W(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}const Ku=[];function iw(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return jo(e)}else if(e.__qPortal===!0){const r=jo(e);return r?.$options.name==="QPopupProxy"?(e.hide(t),r):e}e=jo(e)}while(e!=null)}const aw=Kt({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function ow(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function $m(e,t,r,n){const u=we(!1),i=we(!1);let a=null;const o={},s=n==="dialog"&&ow(e);function l(f){if(f===!0){gd(o),i.value=!0;return}i.value=!1,u.value===!1&&(s===!1&&a===null&&(a=Gl(!1,n)),u.value=!0,Ku.push(e.proxy),hx(o))}function c(f){if(i.value=!1,f!==!0)return;gd(o),u.value=!1;const m=Ku.indexOf(e.proxy);m!==-1&&Ku.splice(m,1),a!==null&&(C2(a),a=null)}return Nl(()=>{c(!0)}),e.proxy.__qPortal=!0,bu(e.proxy,"contentEl",()=>t.value),{showPortal:l,hidePortal:c,portalIsActive:u,portalIsAccessible:i,renderPortal:()=>s===!0?r():u.value===!0?[G(K3,{to:a},G(aw,r))]:void 0}}function sw(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Zs(t))}}}const z0=[];let mu;function lw(e){mu=e.keyCode===27}function cw(){mu===!0&&(mu=!1)}function fw(e){mu===!0&&(mu=!1,R0(e,27)===!0&&z0[z0.length-1](e))}function Ym(e){window[e]("keydown",lw),window[e]("blur",cw),window[e]("keyup",fw),mu=!1}function Gm(e){Tt.is.desktop===!0&&(z0.push(e),z0.length===1&&Ym("addEventListener"))}function La(e){const t=z0.indexOf(e);t!==-1&&(z0.splice(t,1),z0.length===0&&Ym("removeEventListener"))}let Xi=0;const dw={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},Dd={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Zu=Kt({name:"QDialog",inheritAttrs:!1,props:{...Nm,...Um,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Hm,"shake","click","escapeKey"],setup(e,{slots:t,emit:r,attrs:n}){const u=gt(),i=we(null),a=we(!1),o=we(!1);let s=null,l=null,c,f;const m=W(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:p}=sw(),{registerTimeout:v}=Pm(),{registerTick:x,removeTick:y}=Im(),{transitionProps:T,transitionStyle:D}=jm(e,()=>Dd[e.position][0],()=>Dd[e.position][1]),_=W(()=>D.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:w,hidePortal:F,portalIsAccessible:j,renderPortal:z}=$m(u,i,Fe,"dialog"),{hide:V}=Vm({showing:a,hideOnRouteChange:m,handleShow:ne,handleHide:L,processOnMount:!0}),{addToHistory:S,removeFromHistory:Y}=uw(a,V,m),Z=W(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${dw[e.position]}`+(o.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),M=W(()=>a.value===!0&&e.seamless!==!0),U=W(()=>e.autoClose===!0?{onClick:q}:{}),B=W(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${M.value===!0?"modal":"seamless"}`,n.class]);Ne(()=>e.maximized,oe=>{a.value===!0&&H(oe)}),Ne(M,oe=>{p(oe),oe===!0?(nc(Me),Gm(ue)):(Da(Me),La(ue))});function ne(oe){S(),l=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,H(e.maximized),w(),o.value=!0,e.noFocus!==!0?(document.activeElement?.blur(),x(I)):y(),v(()=>{if(u.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:ve,bottom:Ue}=document.activeElement.getBoundingClientRect(),{innerHeight:de}=window,Ke=window.visualViewport!==void 0?window.visualViewport.height:de;ve>0&&Ue>Ke/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Ke,Ue>=de?1/0:Math.ceil(document.scrollingElement.scrollTop+Ue-Ke/2))),document.activeElement.scrollIntoView()}f=!0,i.value.click(),f=!1}w(!0),o.value=!1,r("show",oe)},e.transitionDuration)}function L(oe){y(),Y(),te(!0),o.value=!0,F(),l!==null&&(((oe?.type.indexOf("key")===0?l.closest('[tabindex]:not([tabindex^="-"])'):void 0)||l).focus(),l=null),v(()=>{F(!0),o.value=!1,r("hide",oe)},e.transitionDuration)}function I(oe){wo(()=>{let ve=i.value;if(ve!==null){if(oe!==void 0){const Ue=ve.querySelector(oe);if(Ue!==null){Ue.focus({preventScroll:!0});return}}ve.contains(document.activeElement)!==!0&&(ve=ve.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||ve.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||ve.querySelector("[autofocus], [data-autofocus]")||ve,ve.focus({preventScroll:!0}))}})}function N(oe){oe&&typeof oe.focus=="function"?oe.focus({preventScroll:!0}):I(),r("shake");const ve=i.value;ve!==null&&(ve.classList.remove("q-animate--scale"),ve.classList.add("q-animate--scale"),s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,i.value!==null&&(ve.classList.remove("q-animate--scale"),I())},170))}function ue(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&N():(r("escapeKey"),V()))}function te(oe){s!==null&&(clearTimeout(s),s=null),(oe===!0||a.value===!0)&&(H(!1),e.seamless!==!0&&(p(!1),Da(Me),La(ue))),oe!==!0&&(l=null)}function H(oe){oe===!0?c!==!0&&(Xi<1&&document.body.classList.add("q-body--dialog"),Xi++,c=!0):c===!0&&(Xi<2&&document.body.classList.remove("q-body--dialog"),Xi--,c=!1)}function q(oe){f!==!0&&(V(oe),r("click",oe))}function he(oe){e.persistent!==!0&&e.noBackdropDismiss!==!0?V(oe):e.noShake!==!0&&N()}function Me(oe){e.allowFocusOutside!==!0&&j.value===!0&&b2(i.value,oe.target)!==!0&&I('[tabindex]:not([tabindex="-1"])')}Object.assign(u.proxy,{focus:I,shake:N,__updateRefocusTarget(oe){l=oe||null}}),Wt(te);function Fe(){return G("div",{role:"dialog","aria-modal":M.value===!0?"true":"false",...n,class:B.value},[G(Ar,{name:"q-transition--fade",appear:!0},()=>M.value===!0?G("div",{class:"q-dialog__backdrop fixed-full",style:_.value,"aria-hidden":"true",tabindex:-1,onClick:he}):null),G(Ar,T.value,()=>a.value===!0?G("div",{ref:i,class:Z.value,style:D.value,tabindex:-1,...U.value},nn(t.default)):null)])}return z}}),hw=Kt({name:"QField",inheritAttrs:!1,props:{...ko,tag:{type:String,default:"label"}},emits:Cc,setup(){return Dc(_c({tagProp:!0}))}}),mw={xs:8,sm:10,md:14,lg:20,xl:24},pw=Kt({name:"QChip",props:{...Di,...Xa,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:r}){const{proxy:{$q:n}}=gt(),u=Ei(e,n),i=Ja(e,mw),a=W(()=>e.selected===!0||e.icon!==void 0),o=W(()=>e.selected===!0?e.iconSelected||n.iconSet.chip.selected:e.icon),s=W(()=>e.iconRemove||n.iconSet.chip.remove),l=W(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=W(()=>{const y=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(y?` text-${y} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(l.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(u.value===!0?" q-chip--dark q-dark":"")}),f=W(()=>{const y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},T={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||n.lang.label.remove};return{chip:y,remove:T}});function m(y){y.keyCode===13&&p(y)}function p(y){e.disable||(r("update:selected",!e.selected),r("click",y))}function v(y){(y.keyCode===void 0||y.keyCode===13)&&(Ut(y),e.disable===!1&&(r("update:modelValue",!1),r("remove")))}function x(){const y=[];l.value===!0&&y.push(G("div",{class:"q-focus-helper"})),a.value===!0&&y.push(G(Er,{class:"q-chip__icon q-chip__icon--left",name:o.value}));const T=e.label!==void 0?[G("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(G("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},h2(t.default,T))),e.iconRight&&y.push(G(Er,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(G(Er,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:s.value,...f.value.remove,onClick:v,onKeyup:v})),y}return()=>{if(e.modelValue===!1)return;const y={class:c.value,style:i.value};return l.value===!0&&Object.assign(y,f.value.chip,{onClick:p,onKeyup:m}),Qp("div",y,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[y2,e.ripple]])}}}),vw=Kt({name:"QItem",props:{...Di,...p5,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:r}){const{proxy:{$q:n}}=gt(),u=Ei(e,n),{hasLink:i,linkAttrs:a,linkClass:o,linkTag:s,navigateOnClick:l}=A2(),c=we(null),f=we(null),m=W(()=>e.clickable===!0||i.value===!0||e.tag==="label"),p=W(()=>e.disable!==!0&&m.value===!0),v=W(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(u.value===!0?" q-item--dark":"")+(i.value===!0&&e.active===null?o.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(p.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),x=W(()=>e.insetLevel===void 0?null:{["padding"+(n.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function y(_){p.value===!0&&(f.value!==null&&_.qAvoidFocus!==!0&&(_.qKeyEvent!==!0&&document.activeElement===c.value?f.value.focus():document.activeElement===f.value&&c.value.focus()),l(_))}function T(_){if(p.value===!0&&R0(_,[13,32])===!0){Ut(_),_.qKeyEvent=!0;const w=new MouseEvent("click",_);w.qKeyEvent=!0,c.value.dispatchEvent(w)}r("keyup",_)}function D(){const _=Zp(t.default,[]);return p.value===!0&&_.unshift(G("div",{class:"q-focus-helper",tabindex:-1,ref:f})),_}return()=>{const _={ref:c,class:v.value,style:x.value,role:"listitem",onClick:y,onKeyup:T};return p.value===!0?(_.tabindex=e.tabindex||"0",Object.assign(_,a.value)):m.value===!0&&(_["aria-disabled"]="true"),G(s.value,_,D())}}}),gw=Kt({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const r=W(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>G("div",{class:r.value},nn(t.default))}}),bw=Kt({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const r=W(()=>parseInt(e.lines,10)),n=W(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(r.value===1?" ellipsis":"")),u=W(()=>e.lines!==void 0&&r.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":r.value}:null);return()=>G("div",{style:u.value,class:n.value},nn(t.default))}});function yw(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),wa.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const xw={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},ww={...xw,contextMenu:Boolean};function kw({showing:e,avoidEmit:t,configureAnchorEl:r}){const{props:n,proxy:u,emit:i}=gt(),a=we(null);let o=null;function s(p){return a.value===null?!1:p===void 0||p.touches===void 0||p.touches.length<=1}const l={};r===void 0&&(Object.assign(l,{hide(p){u.hide(p)},toggle(p){u.toggle(p),p.qAnchorHandled=!0},toggleKey(p){R0(p,13)===!0&&l.toggle(p)},contextClick(p){u.hide(p),Rr(p),vt(()=>{u.show(p),p.qAnchorHandled=!0})},prevent:Rr,mobileTouch(p){if(l.mobileCleanup(p),s(p)!==!0)return;u.hide(p),a.value.classList.add("non-selectable");const v=p.target;$s(l,"anchor",[[v,"touchmove","mobileCleanup","passive"],[v,"touchend","mobileCleanup","passive"],[v,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),o=setTimeout(()=>{o=null,u.show(p),p.qAnchorHandled=!0},300)},mobileCleanup(p){a.value.classList.remove("non-selectable"),o!==null&&(clearTimeout(o),o=null),e.value===!0&&p!==void 0&&yw()}}),r=function(p=n.contextMenu){if(n.noParentEvent===!0||a.value===null)return;let v;p===!0?u.$q.platform.is.mobile===!0?v=[[a.value,"touchstart","mobileTouch","passive"]]:v=[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:v=[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],$s(l,"anchor",v)});function c(){i2(l,"anchor")}function f(p){for(a.value=p;a.value.classList.contains("q-anchor--skip");)a.value=a.value.parentNode;r()}function m(){if(n.target===!1||n.target===""||u.$el.parentNode===null)a.value=null;else if(n.target===!0)f(u.$el.parentNode);else{let p=n.target;if(typeof n.target=="string")try{p=document.querySelector(n.target)}catch{p=void 0}p!=null?(a.value=p.$el||p,r()):(a.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return Ne(()=>n.contextMenu,p=>{a.value!==null&&(c(),r(p))}),Ne(()=>n.target,()=>{a.value!==null&&c(),m()}),Ne(()=>n.noParentEvent,p=>{a.value!==null&&(p===!0?c():r())}),cn(()=>{m(),t!==!0&&n.modelValue===!0&&a.value===null&&i("update:modelValue",!1)}),Wt(()=>{o!==null&&clearTimeout(o),c()}),{anchorEl:a,canShow:s,anchorEvents:l}}function Sw(e,t){const r=we(null);let n;function u(o,s){const l=`${s!==void 0?"add":"remove"}EventListener`,c=s!==void 0?s:n;o!==window&&o[l]("scroll",c,er.passive),window[l]("scroll",c,er.passive),n=s}function i(){r.value!==null&&(u(r.value),r.value=null)}const a=Ne(()=>e.noParentEvent,()=>{r.value!==null&&(i(),t())});return Wt(a),{localScrollTarget:r,unconfigureScrollTarget:i,changeScrollEvent:u}}const{notPassiveCapture:Pa}=er,B0=[];function Ia(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let r=Ku.length-1;for(;r>=0;){const n=Ku[r].$;if(n.type.name==="QTooltip"){r--;continue}if(n.type.name!=="QDialog")break;if(n.props.seamless!==!0)return;r--}for(let n=B0.length-1;n>=0;n--){const u=B0[n];if((u.anchorEl.value===null||u.anchorEl.value.contains(t)===!1)&&(t===document.body||u.innerRef.value!==null&&u.innerRef.value.contains(t)===!1))e.qClickOutside=!0,u.onClickOutside(e);else return}}function Aw(e){B0.push(e),B0.length===1&&(document.addEventListener("mousedown",Ia,Pa),document.addEventListener("touchstart",Ia,Pa))}function Ed(e){const t=B0.findIndex(r=>r===e);t!==-1&&(B0.splice(t,1),B0.length===0&&(document.removeEventListener("mousedown",Ia,Pa),document.removeEventListener("touchstart",Ia,Pa)))}let Md,Td;function Fd(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Cw(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const bl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{bl[`${e}#ltr`]=e,bl[`${e}#rtl`]=e});function zd(e,t){const r=e.split(" ");return{vertical:r[0],horizontal:bl[`${r[1]}#${t===!0?"rtl":"ltr"}`]}}function _w(e,t){let{top:r,left:n,right:u,bottom:i,width:a,height:o}=e.getBoundingClientRect();return t!==void 0&&(r-=t[1],n-=t[0],i+=t[1],u+=t[0],a+=t[0],o+=t[1]),{top:r,bottom:i,height:o,left:n,right:u,width:a,middle:n+(u-n)/2,center:r+(i-r)/2}}function Dw(e,t,r){let{top:n,left:u}=e.getBoundingClientRect();return n+=t.top,u+=t.left,r!==void 0&&(n+=r[1],u+=r[0]),{top:n,bottom:n+1,height:1,left:u,right:u+1,width:1,middle:u,center:n}}function Ew(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Bd(e,t,r,n){return{top:e[r.vertical]-t[n.vertical],left:e[r.horizontal]-t[n.horizontal]}}function Wm(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Wm(e,t+1)},10);return}const{targetEl:r,offset:n,anchorEl:u,anchorOrigin:i,selfOrigin:a,absoluteOffset:o,fit:s,cover:l,maxHeight:c,maxWidth:f}=e;if(Tt.is.ios===!0&&window.visualViewport!==void 0){const j=document.body.style,{offsetLeft:z,offsetTop:V}=window.visualViewport;z!==Md&&(j.setProperty("--q-pe-left",z+"px"),Md=z),V!==Td&&(j.setProperty("--q-pe-top",V+"px"),Td=V)}const{scrollLeft:m,scrollTop:p}=r,v=o===void 0?_w(u,l===!0?[0,0]:n):Dw(u,o,n);Object.assign(r.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:f,maxHeight:c,visibility:"visible"});const{offsetWidth:x,offsetHeight:y}=r,{elWidth:T,elHeight:D}=s===!0||l===!0?{elWidth:Math.max(v.width,x),elHeight:l===!0?Math.max(v.height,y):y}:{elWidth:x,elHeight:y};let _={maxWidth:f,maxHeight:c};(s===!0||l===!0)&&(_.minWidth=v.width+"px",l===!0&&(_.minHeight=v.height+"px")),Object.assign(r.style,_);const w=Ew(T,D);let F=Bd(v,w,i,a);if(o===void 0||n===void 0)Es(F,v,w,i,a);else{const{top:j,left:z}=F;Es(F,v,w,i,a);let V=!1;if(F.top!==j){V=!0;const S=2*n[1];v.center=v.top-=S,v.bottom-=S+2}if(F.left!==z){V=!0;const S=2*n[0];v.middle=v.left-=S,v.right-=S+2}V===!0&&(F=Bd(v,w,i,a),Es(F,v,w,i,a))}_={top:F.top+"px",left:F.left+"px"},F.maxHeight!==void 0&&(_.maxHeight=F.maxHeight+"px",v.height>F.maxHeight&&(_.minHeight=_.maxHeight)),F.maxWidth!==void 0&&(_.maxWidth=F.maxWidth+"px",v.width>F.maxWidth&&(_.minWidth=_.maxWidth)),Object.assign(r.style,_),r.scrollTop!==p&&(r.scrollTop=p),r.scrollLeft!==m&&(r.scrollLeft=m)}function Es(e,t,r,n,u){const i=r.bottom,a=r.right,o=P5(),s=window.innerHeight-o,l=document.body.clientWidth;if(e.top<0||e.top+i>s)if(u.vertical==="center")e.top=t[n.vertical]>s/2?Math.max(0,s-i):0,e.maxHeight=Math.min(i,s);else if(t[n.vertical]>s/2){const c=Math.min(s,n.vertical==="center"?t.center:n.vertical===u.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,c),e.top=Math.max(0,c-i)}else e.top=Math.max(0,n.vertical==="center"?t.center:n.vertical===u.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,s-e.top);if(e.left<0||e.left+a>l)if(e.maxWidth=Math.min(a,l),u.horizontal==="middle")e.left=t[n.horizontal]>l/2?Math.max(0,l-a):0;else if(t[n.horizontal]>l/2){const c=Math.min(l,n.horizontal==="middle"?t.middle:n.horizontal===u.horizontal?t.right:t.left);e.maxWidth=Math.min(a,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,n.horizontal==="middle"?t.middle:n.horizontal===u.horizontal?t.left:t.right),e.maxWidth=Math.min(a,l-e.left)}const Mw=Kt({name:"QMenu",inheritAttrs:!1,props:{...ww,...Nm,...Di,...Um,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Fd},self:{type:String,validator:Fd},offset:{type:Array,validator:Cw},scrollTarget:B5,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Hm,"click","escapeKey"],setup(e,{slots:t,emit:r,attrs:n}){let u=null,i,a,o;const s=gt(),{proxy:l}=s,{$q:c}=l,f=we(null),m=we(!1),p=W(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),v=Ei(e,c),{registerTick:x,removeTick:y}=Im(),{registerTimeout:T}=Pm(),{transitionProps:D,transitionStyle:_}=jm(e),{localScrollTarget:w,changeScrollEvent:F,unconfigureScrollTarget:j}=Sw(e,he),{anchorEl:z,canShow:V}=kw({showing:m}),{hide:S}=Vm({showing:m,canShow:V,handleShow:te,handleHide:H,hideOnRouteChange:p,processOnMount:!0}),{showPortal:Y,hidePortal:Z,renderPortal:M}=$m(s,f,Ue,"menu"),U={anchorEl:z,innerRef:f,onClickOutside(de){if(e.persistent!==!0&&m.value===!0)return S(de),(de.type==="touchstart"||de.target.classList.contains("q-dialog__backdrop"))&&Ut(de),!0}},B=W(()=>zd(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),ne=W(()=>e.cover===!0?B.value:zd(e.self||"top start",c.lang.rtl)),L=W(()=>(e.square===!0?" q-menu--square":"")+(v.value===!0?" q-menu--dark q-dark":"")),I=W(()=>e.autoClose===!0?{onClick:Me}:{}),N=W(()=>m.value===!0&&e.persistent!==!0);Ne(N,de=>{de===!0?(Gm(oe),Aw(U)):(La(oe),Ed(U))});function ue(){wo(()=>{let de=f.value;de&&de.contains(document.activeElement)!==!0&&(de=de.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||de.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||de.querySelector("[autofocus], [data-autofocus]")||de,de.focus({preventScroll:!0}))})}function te(de){if(u=e.noRefocus===!1?document.activeElement:null,nc(Fe),Y(),he(),i=void 0,de!==void 0&&(e.touchPosition||e.contextMenu)){const Ke=u2(de);if(Ke.left!==void 0){const{top:ut,left:A}=z.value.getBoundingClientRect();i={left:Ke.left-A,top:Ke.top-ut}}}a===void 0&&(a=Ne(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,ve)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{ve(),e.noFocus!==!0&&ue()}),T(()=>{c.platform.is.ios===!0&&(o=e.autoClose,f.value.click()),ve(),Y(!0),r("show",de)},e.transitionDuration)}function H(de){y(),Z(),q(!0),u!==null&&(de===void 0||de.qClickOutside!==!0)&&(((de?.type.indexOf("key")===0?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),T(()=>{Z(!0),r("hide",de)},e.transitionDuration)}function q(de){i=void 0,a!==void 0&&(a(),a=void 0),(de===!0||m.value===!0)&&(Da(Fe),j(),Ed(U),La(oe)),de!==!0&&(u=null)}function he(){(z.value!==null||e.scrollTarget!==void 0)&&(w.value=q5(z.value,e.scrollTarget),F(w.value,ve))}function Me(de){o!==!0?(iw(l,de),r("click",de)):o=!1}function Fe(de){N.value===!0&&e.noFocus!==!0&&b2(f.value,de.target)!==!0&&ue()}function oe(de){e.noEscDismiss!==!0&&(r("escapeKey"),S(de))}function ve(){Wm({targetEl:f.value,offset:e.offset,anchorEl:z.value,anchorOrigin:B.value,selfOrigin:ne.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function Ue(){return G(Ar,D.value,()=>m.value===!0?G("div",{role:"menu",...n,ref:f,tabindex:-1,class:["q-menu q-position-engine scroll"+L.value,n.class],style:[n.style,_.value],...I.value},nn(t.default)):null)}return Wt(q),Object.assign(l,{focus:ue,updatePosition:ve}),M}});let Na=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Na=e.scrollLeft>=0,e.remove()}const qr=1e3,Tw=["start","center","end","start-force","center-force","end-force"],Km=Array.prototype.filter,Fw=window.getComputedStyle(document.body).overflowAnchor===void 0?cu:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const r=e.children||[];Km.call(r,u=>u.dataset&&u.dataset.qVsAnchor!==void 0).forEach(u=>{delete u.dataset.qVsAnchor});const n=r[t];n?.dataset&&(n.dataset.qVsAnchor="")}))};function su(e,t){return e+t}function Ms(e,t,r,n,u,i,a,o){const s=e===window?document.scrollingElement||document.documentElement:e,l=u===!0?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-a-o,scrollMaxSize:0,offsetStart:-a,offsetEnd:-o};if(u===!0?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=s.scrollLeft,c.scrollViewSize+=s.clientWidth),c.scrollMaxSize=s.scrollWidth,i===!0&&(c.scrollStart=(Na===!0?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=s.scrollTop,c.scrollViewSize+=s.clientHeight),c.scrollMaxSize=s.scrollHeight),r!==null)for(let f=r.previousElementSibling;f!==null;f=f.previousElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetStart+=f[l]);if(n!==null)for(let f=n.nextElementSibling;f!==null;f=f.nextElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetEnd+=f[l]);if(t!==e){const f=s.getBoundingClientRect(),m=t.getBoundingClientRect();u===!0?(c.offsetStart+=m.left-f.left,c.offsetEnd-=m.width):(c.offsetStart+=m.top-f.top,c.offsetEnd-=m.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function Od(e,t,r,n){t==="end"&&(t=(e===window?document.body:e)[r===!0?"scrollWidth":"scrollHeight"]),e===window?r===!0?(n===!0&&(t=(Na===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):r===!0?(n===!0&&(t=(Na===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function zu(e,t,r,n){if(r>=n)return 0;const u=t.length,i=Math.floor(r/qr),a=Math.floor((n-1)/qr)+1;let o=e.slice(i,a).reduce(su,0);return r%qr!==0&&(o-=t.slice(i*qr,r).reduce(su,0)),n%qr!==0&&n!==u&&(o-=t.slice(n,a*qr).reduce(su,0)),o}const zw={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},qd={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...zw};function Bw({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:r,virtualScrollItemSizeComputed:n}){const u=gt(),{props:i,emit:a,proxy:o}=u,{$q:s}=o;let l,c,f,m=[],p;const v=we(0),x=we(0),y=we({}),T=we(null),D=we(null),_=we(null),w=we({from:0,to:0}),F=W(()=>i.tableColspan!==void 0?i.tableColspan:100);n===void 0&&(n=W(()=>i.virtualScrollItemSize));const j=W(()=>n.value+";"+i.virtualScrollHorizontal),z=W(()=>j.value+";"+i.virtualScrollSliceRatioBefore+";"+i.virtualScrollSliceRatioAfter);Ne(z,()=>{L()}),Ne(j,V);function V(){ne(c,!0)}function S(H){ne(H===void 0?c:H)}function Y(H,q){const he=t();if(he==null||he.nodeType===8)return;const Me=Ms(he,r(),T.value,D.value,i.virtualScrollHorizontal,s.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd);f!==Me.scrollViewSize&&L(Me.scrollViewSize),M(he,Me,Math.min(e.value-1,Math.max(0,parseInt(H,10)||0)),0,Tw.indexOf(q)!==-1?q:c!==-1&&H>c?"end":"start")}function Z(){const H=t();if(H==null||H.nodeType===8)return;const q=Ms(H,r(),T.value,D.value,i.virtualScrollHorizontal,s.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd),he=e.value-1,Me=q.scrollMaxSize-q.offsetStart-q.offsetEnd-x.value;if(l===q.scrollStart)return;if(q.scrollMaxSize<=0){M(H,q,0,0);return}f!==q.scrollViewSize&&L(q.scrollViewSize),U(w.value.from);const Fe=Math.floor(q.scrollMaxSize-Math.max(q.scrollViewSize,q.offsetEnd)-Math.min(p[he],q.scrollViewSize/2));if(Fe>0&&Math.ceil(q.scrollStart)>=Fe){M(H,q,he,q.scrollMaxSize-q.offsetEnd-m.reduce(su,0));return}let oe=0,ve=q.scrollStart-q.offsetStart,Ue=ve;if(ve<=Me&&ve+q.scrollViewSize>=v.value)ve-=v.value,oe=w.value.from,Ue=ve;else for(let de=0;ve>=m[de]&&oe<he;de++)ve-=m[de],oe+=qr;for(;ve>0&&oe<he;)ve-=p[oe],ve>-q.scrollViewSize?(oe++,Ue=ve):Ue=p[oe]+ve;M(H,q,oe,Ue)}function M(H,q,he,Me,Fe){const oe=typeof Fe=="string"&&Fe.indexOf("-force")!==-1,ve=oe===!0?Fe.replace("-force",""):Fe,Ue=ve!==void 0?ve:"start";let de=Math.max(0,he-y.value[Ue]),Ke=de+y.value.total;Ke>e.value&&(Ke=e.value,de=Math.max(0,Ke-y.value.total)),l=q.scrollStart;const ut=de!==w.value.from||Ke!==w.value.to;if(ut===!1&&ve===void 0){N(he);return}const{activeElement:A}=document,O=_.value;ut===!0&&O!==null&&O!==A&&O.contains(A)===!0&&(O.addEventListener("focusout",B),setTimeout(()=>{O?.removeEventListener("focusout",B)})),Fw(O,he-de);const Q=ve!==void 0?p.slice(de,he).reduce(su,0):0;if(ut===!0){const ie=Ke>=w.value.from&&de<=w.value.to?w.value.to:Ke;w.value={from:de,to:ie},v.value=zu(m,p,0,de),x.value=zu(m,p,Ke,e.value),requestAnimationFrame(()=>{w.value.to!==Ke&&l===q.scrollStart&&(w.value={from:w.value.from,to:Ke},x.value=zu(m,p,Ke,e.value))})}requestAnimationFrame(()=>{if(l!==q.scrollStart)return;ut===!0&&U(de);const ie=p.slice(de,he).reduce(su,0),re=ie+q.offsetStart+v.value,ee=re+p[he];let ge=re+Me;if(ve!==void 0){const me=ie-Q,pe=q.scrollStart+me;ge=oe!==!0&&pe<re&&ee<pe+q.scrollViewSize?pe:ve==="end"?ee-q.scrollViewSize:re-(ve==="start"?0:Math.round((q.scrollViewSize-p[he])/2))}l=ge,Od(H,ge,i.virtualScrollHorizontal,s.lang.rtl),N(he)})}function U(H){const q=_.value;if(q){const he=Km.call(q.children,de=>de.classList&&de.classList.contains("q-virtual-scroll--skip")===!1),Me=he.length,Fe=i.virtualScrollHorizontal===!0?de=>de.getBoundingClientRect().width:de=>de.offsetHeight;let oe=H,ve,Ue;for(let de=0;de<Me;){for(ve=Fe(he[de]),de++;de<Me&&he[de].classList.contains("q-virtual-scroll--with-prev")===!0;)ve+=Fe(he[de]),de++;Ue=ve-p[oe],Ue!==0&&(p[oe]+=Ue,m[Math.floor(oe/qr)]+=Ue),oe++}}}function B(){_.value?.focus()}function ne(H,q){const he=1*n.value;(q===!0||Array.isArray(p)===!1)&&(p=[]);const Me=p.length;p.length=e.value;for(let oe=e.value-1;oe>=Me;oe--)p[oe]=he;const Fe=Math.floor((e.value-1)/qr);m=[];for(let oe=0;oe<=Fe;oe++){let ve=0;const Ue=Math.min((oe+1)*qr,e.value);for(let de=oe*qr;de<Ue;de++)ve+=p[de];m.push(ve)}c=-1,l=void 0,v.value=zu(m,p,0,w.value.from),x.value=zu(m,p,w.value.to,e.value),H>=0?(U(w.value.from),vt(()=>{Y(H)})):ue()}function L(H){if(H===void 0&&typeof window<"u"){const ve=t();ve!=null&&ve.nodeType!==8&&(H=Ms(ve,r(),T.value,D.value,i.virtualScrollHorizontal,s.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd).scrollViewSize)}f=H;const q=parseFloat(i.virtualScrollSliceRatioBefore)||0,he=parseFloat(i.virtualScrollSliceRatioAfter)||0,Me=1+q+he,Fe=H===void 0||H<=0?1:Math.ceil(H/n.value),oe=Math.max(1,Fe,Math.ceil((i.virtualScrollSliceSize>0?i.virtualScrollSliceSize:10)/Me));y.value={total:Math.ceil(oe*Me),start:Math.ceil(oe*q),center:Math.ceil(oe*(.5+q)),end:Math.ceil(oe*(1+q)),view:Fe}}function I(H,q){const he=i.virtualScrollHorizontal===!0?"width":"height",Me={["--q-virtual-scroll-item-"+he]:n.value+"px"};return[H==="tbody"?G(H,{class:"q-virtual-scroll__padding",key:"before",ref:T},[G("tr",[G("td",{style:{[he]:`${v.value}px`,...Me},colspan:F.value})])]):G(H,{class:"q-virtual-scroll__padding",key:"before",ref:T,style:{[he]:`${v.value}px`,...Me}}),G(H,{class:"q-virtual-scroll__content",key:"content",ref:_,tabindex:-1},q.flat()),H==="tbody"?G(H,{class:"q-virtual-scroll__padding",key:"after",ref:D},[G("tr",[G("td",{style:{[he]:`${x.value}px`,...Me},colspan:F.value})])]):G(H,{class:"q-virtual-scroll__padding",key:"after",ref:D,style:{[he]:`${x.value}px`,...Me}})]}function N(H){c!==H&&(i.onVirtualScroll!==void 0&&a("virtualScroll",{index:H,from:w.value.from,to:w.value.to-1,direction:H<c?"decrease":"increase",ref:o}),c=H)}L();const ue=$l(Z,s.platform.is.ios===!0?120:35);Eh(()=>{L()});let te=!1;return mi(()=>{te=!0}),Ll(()=>{if(te!==!0)return;const H=t();l!==void 0&&H!==void 0&&H!==null&&H.nodeType!==8?Od(H,l,i.virtualScrollHorizontal,s.lang.rtl):Y(c)}),Wt(()=>{ue.cancel()}),Object.assign(o,{scrollTo:Y,reset:V,refresh:S}),{virtualScrollSliceRange:w,virtualScrollSliceSizeComputed:y,setVirtualScrollSize:L,onVirtualScrollEvt:ue,localResetVirtualScroll:ne,padVirtualScroll:I,scrollTo:Y,reset:V,refresh:S}}const Rd=e=>["add","add-unique","toggle"].includes(e),Ow=".*+?^${}()|[]\\",qw=Object.keys(ko);function Ts(e,t){if(typeof e=="function")return e;const r=e!==void 0?e:t;return n=>n!==null&&typeof n=="object"&&r in n?n[r]:n}const Rw=Kt({name:"QSelect",inheritAttrs:!1,props:{...qd,...Ec,...ko,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Rd},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:qd.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Cc,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:r}){const{proxy:n}=gt(),{$q:u}=n,i=we(!1),a=we(!1),o=we(-1),s=we(""),l=we(!1),c=we(!1);let f=null,m=null,p,v,x,y=null,T,D,_,w;const F=we(null),j=we(null),z=we(null),V=we(null),S=we(null),Y=Dm(e),Z=Em(V0),M=W(()=>Array.isArray(e.options)?e.options.length:0),U=W(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:B,virtualScrollSliceSizeComputed:ne,localResetVirtualScroll:L,padVirtualScroll:I,onVirtualScrollEvt:N,scrollTo:ue,setVirtualScrollSize:te}=Bw({virtualScrollLength:M,getVirtualScrollTarget:H0,getVirtualScrollEl:Au,virtualScrollItemSizeComputed:U}),H=_c(),q=W(()=>{const R=e.mapOptions===!0&&e.multiple!==!0,_e=e.modelValue!==void 0&&(e.modelValue!==null||R===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const De=e.mapOptions===!0&&p!==void 0?p:[],We=_e.map(ft=>jr(ft,De));return e.modelValue===null&&R===!0?We.filter(ft=>ft!==null):We}return _e}),he=W(()=>{const R={};return qw.forEach(_e=>{const De=e[_e];De!==void 0&&(R[_e]=De)}),R}),Me=W(()=>e.optionsDark===null?H.isDark.value:e.optionsDark),Fe=W(()=>di(q.value)),oe=W(()=>{let R="q-field__input q-placeholder col";return e.hideSelected===!0||q.value.length===0?[R,e.inputClass]:(R+=" q-field__input--padding",e.inputClass===void 0?R:[R,e.inputClass])}),ve=W(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),Ue=W(()=>M.value===0),de=W(()=>q.value.map(R=>Ae.value(R)).join(", ")),Ke=W(()=>e.displayValue!==void 0?e.displayValue:de.value),ut=W(()=>e.optionsHtml===!0?()=>!0:R=>R?.html===!0),A=W(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||q.value.some(ut.value))),O=W(()=>H.focused.value===!0?e.tabindex:-1),Q=W(()=>{const R={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":i.value===!0?"true":"false","aria-controls":`${H.targetUid.value}_lb`};return o.value>=0&&(R["aria-activedescendant"]=`${H.targetUid.value}_${o.value}`),R}),ie=W(()=>({id:`${H.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),re=W(()=>q.value.map((R,_e)=>({index:_e,opt:R,html:ut.value(R),selected:!0,removeAtIndex:Xe,toggleOption:ct,tabindex:O.value}))),ee=W(()=>{if(M.value===0)return[];const{from:R,to:_e}=B.value;return e.options.slice(R,_e).map((De,We)=>{const ft=be.value(De)===!0,at=$r(De)===!0,It=R+We,St={clickable:!0,active:at,activeClass:pe.value,manualFocus:!0,focused:!1,disable:ft,tabindex:-1,dense:e.optionsDense,dark:Me.value,role:"option","aria-selected":at===!0?"true":"false",id:`${H.targetUid.value}_${It}`,onClick:()=>{ct(De)}};return ft!==!0&&(o.value===It&&(St.focused=!0),u.platform.is.desktop===!0&&(St.onMousemove=()=>{i.value===!0&&Et(It)})),{index:It,opt:De,html:ut.value(De),label:Ae.value(De),selected:St.active,focused:St.focused,toggleOption:ct,setOptionIndex:Et,itemProps:St}})}),ge=W(()=>e.dropdownIcon!==void 0?e.dropdownIcon:u.iconSet.arrow.dropdown),me=W(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),pe=W(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),ae=W(()=>Ts(e.optionValue,"value")),Ae=W(()=>Ts(e.optionLabel,"label")),be=W(()=>Ts(e.optionDisable,"disable")),Te=W(()=>q.value.map(ae.value)),Re=W(()=>{const R={onInput:V0,onChange:Z,onKeydown:vn,onKeyup:l0,onKeypress:dr,onFocus:qt,onClick(_e){v===!0&&Jr(_e)}};return R.onCompositionstart=R.onCompositionupdate=R.onCompositionend=Z,R});Ne(q,R=>{p=R,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&H.innerLoading.value!==!0&&(a.value!==!0&&i.value!==!0||Fe.value!==!0)&&(x!==!0&&xr(),(a.value===!0||i.value===!0)&&Yr(""))},{immediate:!0}),Ne(()=>e.fillInput,xr),Ne(i,_o),Ne(M,t3);function Ye(R){return e.emitValue===!0?ae.value(R):R}function Ze(R){if(R!==-1&&R<q.value.length)if(e.multiple===!0){const _e=e.modelValue.slice();r("remove",{index:R,value:_e.splice(R,1)[0]}),r("update:modelValue",_e)}else r("update:modelValue",null)}function Xe(R){Ze(R),H.focus()}function Dt(R,_e){const De=Ye(R);if(e.multiple!==!0){e.fillInput===!0&&f0(Ae.value(R),!0,!0),r("update:modelValue",De);return}if(q.value.length===0){r("add",{index:0,value:De}),r("update:modelValue",e.multiple===!0?[De]:De);return}if(_e===!0&&$r(R)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const We=e.modelValue.slice();r("add",{index:We.length,value:De}),We.push(De),r("update:modelValue",We)}function ct(R,_e){if(H.editable.value!==!0||R===void 0||be.value(R)===!0)return;const De=ae.value(R);if(e.multiple!==!0){_e!==!0&&(f0(e.fillInput===!0?Ae.value(R):"",!0,!0),Je()),j.value?.focus(),(q.value.length===0||$n(ae.value(q.value[0]),De)!==!0)&&r("update:modelValue",e.emitValue===!0?De:R);return}if((v!==!0||l.value===!0)&&H.focus(),qt(),q.value.length===0){const at=e.emitValue===!0?De:R;r("add",{index:0,value:at}),r("update:modelValue",e.multiple===!0?[at]:at);return}const We=e.modelValue.slice(),ft=Te.value.findIndex(at=>$n(at,De));if(ft!==-1)r("remove",{index:ft,value:We.splice(ft,1)[0]});else{if(e.maxValues!==void 0&&We.length>=e.maxValues)return;const at=e.emitValue===!0?De:R;r("add",{index:We.length,value:at}),We.push(at)}r("update:modelValue",We)}function Et(R){if(u.platform.is.desktop!==!0)return;const _e=R!==-1&&R<M.value?R:-1;o.value!==_e&&(o.value=_e)}function Ot(R=1,_e){if(i.value===!0){let De=o.value;do De=wd(De+R,-1,M.value-1);while(De!==-1&&De!==o.value&&be.value(e.options[De])===!0);o.value!==De&&(Et(De),ue(De),_e!==!0&&e.useInput===!0&&e.fillInput===!0&&c0(De>=0?Ae.value(e.options[De]):T,!0))}}function jr(R,_e){const De=We=>$n(ae.value(We),R);return e.options.find(De)||_e.find(De)||R}function $r(R){const _e=ae.value(R);return Te.value.find(De=>$n(De,_e))!==void 0}function qt(R){e.useInput===!0&&j.value!==null&&(R===void 0||j.value===R.target&&R.target.value===de.value)&&j.value.select()}function Zt(R){R0(R,27)===!0&&i.value===!0&&(Jr(R),Je(),xr()),r("keyup",R)}function l0(R){const{value:_e}=R.target;if(R.keyCode!==void 0){Zt(R);return}if(R.target.value="",f!==null&&(clearTimeout(f),f=null),m!==null&&(clearTimeout(m),m=null),xr(),typeof _e=="string"&&_e.length!==0){const De=_e.toLocaleLowerCase(),We=at=>{const It=e.options.find(St=>String(at.value(St)).toLocaleLowerCase()===De);return It===void 0?!1:(q.value.indexOf(It)===-1?ct(It):Je(),!0)},ft=at=>{We(ae)!==!0&&at!==!0&&We(Ae)!==!0&&Yr(_e,!0,()=>ft(!0))};ft()}else H.clearValue(R)}function dr(R){r("keypress",R)}function vn(R){if(r("keydown",R),Yl(R)===!0)return;const _e=s.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),De=R.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(o.value!==-1||_e===!0);if(R.keyCode===27){Rr(R);return}if(R.keyCode===9&&De===!1){Ee();return}if(R.target===void 0||R.target.id!==H.targetUid.value||H.editable.value!==!0)return;if(R.keyCode===40&&H.innerLoading.value!==!0&&i.value===!1){Ut(R),Pe();return}if(R.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&s.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?Ze(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&r("update:modelValue",null);return}(R.keyCode===35||R.keyCode===36)&&(typeof s.value!="string"||s.value.length===0)&&(Ut(R),o.value=-1,Ot(R.keyCode===36?1:-1,e.multiple)),(R.keyCode===33||R.keyCode===34)&&ne.value!==void 0&&(Ut(R),o.value=Math.max(-1,Math.min(M.value,o.value+(R.keyCode===33?-1:1)*ne.value.view)),Ot(R.keyCode===33?1:-1,e.multiple)),(R.keyCode===38||R.keyCode===40)&&(Ut(R),Ot(R.keyCode===38?-1:1,e.multiple));const We=M.value;if((_===void 0||w<Date.now())&&(_=""),We>0&&e.useInput!==!0&&R.key!==void 0&&R.key.length===1&&R.altKey===!1&&R.ctrlKey===!1&&R.metaKey===!1&&(R.keyCode!==32||_.length!==0)){i.value!==!0&&Pe(R);const ft=R.key.toLocaleLowerCase(),at=_.length===1&&_[0]===ft;w=Date.now()+1500,at===!1&&(Ut(R),_+=ft);const It=new RegExp("^"+_.split("").map(Do=>Ow.indexOf(Do)!==-1?"\\"+Do:Do).join(".*"),"i");let St=o.value;if(at===!0||St<0||It.test(Ae.value(e.options[St]))!==!0)do St=wd(St+1,-1,We-1);while(St!==o.value&&(be.value(e.options[St])===!0||It.test(Ae.value(e.options[St]))!==!0));o.value!==St&&vt(()=>{Et(St),ue(St),St>=0&&e.useInput===!0&&e.fillInput===!0&&c0(Ae.value(e.options[St]),!0)});return}if(!(R.keyCode!==13&&(R.keyCode!==32||e.useInput===!0||_!=="")&&(R.keyCode!==9||De===!1))){if(R.keyCode!==9&&Ut(R),o.value!==-1&&o.value<We){ct(e.options[o.value]);return}if(_e===!0){const ft=(at,It)=>{if(It){if(Rd(It)!==!0)return}else It=e.newValueMode;if(f0("",e.multiple!==!0,!0),at==null)return;(It==="toggle"?ct:Dt)(at,It==="add-unique"),e.multiple!==!0&&(j.value?.focus(),Je())};if(e.onNewValue!==void 0?r("newValue",s.value,ft):ft(s.value),e.multiple!==!0)return}i.value===!0?Ee():H.innerLoading.value!==!0&&Pe()}}function Au(){return v===!0?S.value:z.value!==null&&z.value.contentEl!==null?z.value.contentEl:void 0}function H0(){return Au()}function Mi(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?re.value.map(R=>t["selected-item"](R)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?re.value.map((R,_e)=>G(pw,{key:"option-"+_e,removable:H.editable.value===!0&&be.value(R.opt)!==!0,dense:!0,textColor:e.color,tabindex:O.value,onRemove(){R.removeAtIndex(_e)}},()=>G("span",{class:"ellipsis",[R.html===!0?"innerHTML":"textContent"]:Ae.value(R.opt)}))):[G("span",{class:"ellipsis",[A.value===!0?"innerHTML":"textContent"]:Ke.value})]}function gn(){if(Ue.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:s.value}):void 0;const R=t.option!==void 0?t.option:De=>G(vw,{key:De.index,...De.itemProps},()=>G(gw,()=>G(bw,()=>G("span",{[De.html===!0?"innerHTML":"textContent"]:De.label}))));let _e=I("div",ee.value.map(R));return t["before-options"]!==void 0&&(_e=t["before-options"]().concat(_e)),ru(t["after-options"],_e)}function Cu(R,_e){const De=_e===!0?{...Q.value,...H.splitAttrs.attributes.value}:void 0,We={ref:_e===!0?j:void 0,key:"i_t",class:oe.value,style:e.inputStyle,value:s.value!==void 0?s.value:"",type:"search",...De,id:_e===!0?H.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":R===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...Re.value};return R!==!0&&v===!0&&(Array.isArray(We.class)===!0?We.class=[...We.class,"no-pointer-events"]:We.class+=" no-pointer-events"),G("input",We)}function V0(R){f!==null&&(clearTimeout(f),f=null),m!==null&&(clearTimeout(m),m=null),!(R&&R.target&&R.target.qComposing===!0)&&(c0(R.target.value||""),x=!0,T=s.value,H.focused.value!==!0&&(v!==!0||l.value===!0)&&H.focus(),e.onFilter!==void 0&&(f=setTimeout(()=>{f=null,Yr(s.value)},e.inputDebounce)))}function c0(R,_e){s.value!==R&&(s.value=R,_e===!0||e.inputDebounce===0||e.inputDebounce==="0"?r("inputValue",R):m=setTimeout(()=>{m=null,r("inputValue",R)},e.inputDebounce))}function f0(R,_e,De){x=De!==!0,e.useInput===!0&&(c0(R,!0),(_e===!0||De!==!0)&&(T=R),_e!==!0&&Yr(R))}function Yr(R,_e,De){if(e.onFilter===void 0||_e!==!0&&H.focused.value!==!0)return;H.innerLoading.value===!0?r("filterAbort"):(H.innerLoading.value=!0,c.value=!0),R!==""&&e.multiple!==!0&&q.value.length!==0&&x!==!0&&R===Ae.value(q.value[0])&&(R="");const We=setTimeout(()=>{i.value===!0&&(i.value=!1)},10);y!==null&&clearTimeout(y),y=We,r("filter",R,(ft,at)=>{(_e===!0||H.focused.value===!0)&&y===We&&(clearTimeout(y),typeof ft=="function"&&ft(),c.value=!1,vt(()=>{H.innerLoading.value=!1,H.editable.value===!0&&(_e===!0?i.value===!0&&Je():i.value===!0?_o(!0):i.value=!0),typeof at=="function"&&vt(()=>{at(n)}),typeof De=="function"&&vt(()=>{De(n)})}))},()=>{H.focused.value===!0&&y===We&&(clearTimeout(y),H.innerLoading.value=!1,c.value=!1),i.value===!0&&(i.value=!1)})}function So(){return G(Mw,{ref:z,class:ve.value,style:e.popupContentStyle,modelValue:i.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&Ue.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:Me.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:me.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ie.value,onScrollPassive:N,onBeforeShow:qc,onBeforeHide:Ao,onShow:Co},gn)}function Ao(R){Rc(R),Ee()}function Co(){te()}function k(R){Jr(R),j.value?.focus(),l.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function $(R){Jr(R),vt(()=>{l.value=!1})}function J(){const R=[G(hw,{class:`col-auto ${H.fieldClass.value}`,...he.value,for:H.targetUid.value,dark:Me.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:s.value.length!==0,...H.splitAttrs.listeners.value,onFocus:k,onBlur:$},{...t,rawControl:()=>H.getControl(!0),before:void 0,after:void 0})];return i.value===!0&&R.push(G("div",{ref:S,class:ve.value+" scroll",style:e.popupContentStyle,...ie.value,onClick:Rr,onScrollPassive:N},gn())),G(Zu,{ref:V,modelValue:a.value,position:e.useInput===!0?"top":void 0,transitionShow:D,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:qc,onBeforeHide:xe,onHide:Se,onShow:$e},()=>G("div",{class:"q-select__dialog"+(Me.value===!0?" q-select__dialog--dark q-dark":"")+(l.value===!0?" q-select__dialog--focused":"")},R))}function xe(R){Rc(R),V.value!==null&&V.value.__updateRefocusTarget(H.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),H.focused.value=!1}function Se(R){Je(),H.focused.value===!1&&r("blur",R),xr()}function $e(){const R=document.activeElement;(R===null||R.id!==H.targetUid.value)&&j.value!==null&&j.value!==R&&j.value.focus(),te()}function Ee(){a.value!==!0&&(o.value=-1,i.value===!0&&(i.value=!1),H.focused.value===!1&&(y!==null&&(clearTimeout(y),y=null),H.innerLoading.value===!0&&(r("filterAbort"),H.innerLoading.value=!1,c.value=!1)))}function Pe(R){H.editable.value===!0&&(v===!0?(H.onControlFocusin(R),a.value=!0,vt(()=>{H.focus()})):H.focus(),e.onFilter!==void 0?Yr(s.value):(Ue.value!==!0||t["no-option"]!==void 0)&&(i.value=!0))}function Je(){a.value=!1,Ee()}function xr(){e.useInput===!0&&f0(e.multiple!==!0&&e.fillInput===!0&&q.value.length!==0&&Ae.value(q.value[0])||"",!0,!0)}function _o(R){let _e=-1;if(R===!0){if(q.value.length!==0){const De=ae.value(q.value[0]);_e=e.options.findIndex(We=>$n(ae.value(We),De))}L(_e)}Et(_e)}function t3(R,_e){i.value===!0&&H.innerLoading.value===!1&&(L(-1,!0),vt(()=>{i.value===!0&&H.innerLoading.value===!1&&(R>_e?L():_o(!0))}))}function Oc(){a.value===!1&&z.value!==null&&z.value.updatePosition()}function qc(R){R!==void 0&&Jr(R),r("popupShow",R),H.hasPopupOpen=!0,H.onControlFocusin(R)}function Rc(R){R!==void 0&&Jr(R),r("popupHide",R),H.hasPopupOpen=!1,H.onControlFocusout(R)}function Lc(){v=u.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||Ue.value===!1:!0),D=u.platform.is.ios===!0&&v===!0&&e.useInput===!0?"fade":e.transitionShow}return Pl(Lc),Il(Oc),Lc(),Wt(()=>{f!==null&&clearTimeout(f),m!==null&&clearTimeout(m)}),Object.assign(n,{showPopup:Pe,hidePopup:Je,removeAtIndex:Ze,add:Dt,toggleOption:ct,getOptionIndex:()=>o.value,setOptionIndex:Et,moveOptionSelection:Ot,filter:Yr,updateMenuPosition:Oc,updateInputValue:f0,isOptionSelected:$r,getEmittingOptionValue:Ye,isOptionDisabled:(...R)=>be.value.apply(null,R)===!0,getOptionValue:(...R)=>ae.value.apply(null,R),getOptionLabel:(...R)=>Ae.value.apply(null,R)}),Object.assign(H,{innerValue:q,fieldClass:W(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:F,targetRef:j,hasValue:Fe,showPopup:Pe,floatingLabel:W(()=>e.hideSelected!==!0&&Fe.value===!0||typeof s.value=="number"||s.value.length!==0||di(e.displayValue)),getControlChild:()=>{if(H.editable.value!==!1&&(a.value===!0||Ue.value!==!0||t["no-option"]!==void 0))return v===!0?J():So();H.hasPopupOpen===!0&&(H.hasPopupOpen=!1)},controlEvents:{onFocusin(R){H.onControlFocusin(R)},onFocusout(R){H.onControlFocusout(R,()=>{xr(),Ee()})},onClick(R){if(Rr(R),v!==!0&&i.value===!0){Ee(),j.value?.focus();return}Pe(R)}},getControl:R=>{const _e=Mi(),De=R===!0||a.value!==!0||v!==!0;if(e.useInput===!0)_e.push(Cu(R,De));else if(H.editable.value===!0){const ft=De===!0?Q.value:void 0;_e.push(G("input",{ref:De===!0?j:void 0,key:"d_t",class:"q-select__focus-target",id:De===!0?H.targetUid.value:void 0,value:Ke.value,readonly:!0,"data-autofocus":R===!0||e.autofocus===!0||void 0,...ft,onKeydown:vn,onKeyup:Zt,onKeypress:dr})),De===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&_e.push(G("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:l0}))}if(Y.value!==void 0&&e.disable!==!0&&Te.value.length!==0){const ft=Te.value.map(at=>G("option",{value:at,selected:!0}));_e.push(G("select",{class:"hidden",name:Y.value,multiple:e.multiple},ft))}const We=e.useInput===!0||De!==!0?void 0:H.splitAttrs.attributes.value;return G("div",{class:"q-field__native row items-center",...We,...H.splitAttrs.listeners.value},_e)},getInnerAppend:()=>e.loading!==!0&&c.value!==!0&&e.hideDropdownIcon!==!0?[G(Er,{class:"q-select__dropdown-icon"+(i.value===!0?" rotate-180":""),name:ge.value})]:null}),Dc(H)}}),Lw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXQAAAEsCAMAAADkYLj7AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACKUExURUdwTNvg5ebm6Onp7vX19tre5vf39/X19+rs8PX19+zt8dzg5szT297i5+zu8dve5PX19/Pz9q64wtzg5dzg5fX1+q65wq+3x/b2+O7v89zg5ubp7dzg5vX19624wq24wf/62Ny46PX199zg5q64wt/i6OXo7P///+/w8+Pl6vLz9evt8LfAyfr7/JKDEUsAAAAhdFJOUwDfDh2/QCDM34Bmh2XwTiyas9vfvzOJIHPZn6vPjO+73xUXxlkAAAdzSURBVHja7N3LcqJAFIDhFkMm4ZopWEyhq+5CAYv3f725RMCyaEUCZ9rU/+9CJZsvnUODShQRETnVNgqK3X4Tm79t9vkujHxP0Vp5fpjHZqx9EW0VLS8eWMB7+NBXtKR4kpsJZQHrfTHyMDZTK1JFUuRDOVNGjnyoYMh8KT8zcwoVzV/mZmYZi31m6XmZs9jlCsyX2nGd+nj9aGHEiFUYg7q8Oery5qjLz3PUXTe3t1c0qa25jv362nmZWTLuf4kNl6GMi6SJw4UBI1tulo4dzL18s3iFIqmFPsRUnzDRmeqyFWaFYkW3yjoo9uqSp1Hmi3ShWaWNort7F7bqksVmnRJFMzaMpbmoPnT1h8uqPbZNbcYLFM04j+pLT33s6o7W7efXFRelj5YYW6ejvonedgdOZqydIluRGalDPdxAPx37SjNSruhh9OqPZnsDXQ/oB9CXQa+7yWFDbwf0E+jLoDfd5LCis9KXPpEezp6VFb0a0EtOpIvs09ue2IZe9gcqbr48mGfZLnZpC/rwx6C5OHq4zSh61VdeH+mHSd38W+fc25V9DaOsa2NLkb3IfDk2LzOG+hpFim6UcztdvoTpIp8XM12+xaukmaJ7S52FLl/AQv8P7dm6yOfzRqP/UMhwee4rpJjhMrFtxs5FvoCBLt8Oc/E8zOVLMH/Sz8DEnEPFPwOTpcqJXoN3R0q8tS9JQ0+5kP+iHerjdc3pkiXKid61W73Z1TOBZS7SL62fRT29OiE++jvIt8qNXrVrtfplwv2ueOerbfAI+85XrvShHcy/dz89D85zIsrNpOLQU+70ph3sXY217QH9y6Nhdle88JVLedrFftpH+rDIh9Igj2/9c4b+BxjpN3qxzfQ4TNV4aRBey8f7IvgEB30+urormPpJ9Jmfnr8Z9Bno8wMddNBBBx100EEHHXTQQQf9GdEPdbl+dV2BPnQwQp1A7zoZqcoG9H6hi3UC/VwNOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjrooIMOOuiggw466KCDDjroPNkI9GdE5xleXY2R6sDT6vqqUsi8Af2SXaKGJ5Dy2FfQQQcddNBBBx100EEHHXTQQQcddNBBBx100EEHHXTQQQf9u6On2lJTCaQt/VDfud/t3e1uozwQhmG/BtaFTfiS2BJFaaTaID72/I/vTX/wj2lWq83EM3nuM+jVkQecSHlvCfLRczSsn7vNv4zirr+Jv/q5P405h4NR26/wO8qfxpzDR2WUdggE+ujZmvbRQ/uudImGCNBXAj20SpdoDOgLhR5ULtM2EOi839ol0cNB4xKl0T8nz9O8kOi3Mo3mNPrnso4MbQc6gf6hbJlmgUDnj0YPrdW1RAWgK1umtg0C0JWpX4MU9JDpWaIS0HUt0yyIQFe1TN8/RKGHq44HFxnompbpNUhDDwf5S1QcuvjL9UOQhy79cr0KItFDK3qJCkLXskzbIBU9HMQv0fvo68B7nU6jb2VKzGn00TM13UGXfh+QhT9GnzxXA4G+U2tlL9GteL+CsSV7mdod84i/gqFD/RqC3EnfyuQtUWFnuvhlmgUSfbeVy3yh0aUv0/cPGn2/aRwYWsnndKqrwAcXSW+kwpfpNehBDwcpS1Q2usTL9UMQji7wcr0KytBDK2CJSkUXvEzbIBVd7jLN/N80jxML7rLOg/+L/pOOTn++8PBWfwvoxP3fYxo90LnVRw904jbqgeZA32t+5A71QN9veuCgA51ofBy6BzrR8DDzCehkD0NfgU62POxIBzrQY0KfgM6AzvVSOgOd/fVo8UBnP9RHoLOP+uKBzn6qD0DnVl9GD3TmC5hl9kC/27D+w3U6jd4D/Y+a5/GfNA/eA509oAMd6EAHOtCBDnSgAx3oQAc60IEOdKADHehABzrQgQ50oAMd6EAHOtCBDnSgAx3oQAc60IEOdKADHehABzrQgQ50oAMd6M+s++k1diwTE2dJcUndyavMuXOe2ehGvDi7W3rRv6pjGviuT90tvehHtxWJuy0at6V80jf3pw957bb0o281eRIRuX70LYKdlVw/ehzsNnfuRdCHo9upKfnHvHE7KX56iWDYS0fkFTYQ6K5hVc8cldfYm6PUrWErSR3Vm1fYyVFdDFu5I1J6qDu6znDVOLqjxtOFrjdcOfdSo+6+KY9i0t1R4YlOVxiuCvddCg8XusRwZVMGdRHmueGrc992fBXzxvK/kap/Wj+evjdPDGtJc4f9qJ7c5dYwZ3t3p9Ob5E6bOFWamSeU1O51Swv7tI8xQP6Ekhzkz2Avz68lXncmhpK+cS9SXVgTTT+K2mkvzUtrIispc8UDX/edibSqvCiEP/eZNXFXZb2e1ZrWRWeNjGxXXM7ivfsyMeLqir5OncCay+YtNLvRi+GurNGRrbIir+NdsulNu8gSo7KqKzf8WLDzoqwS8wrZritu+hs/O3Wd90XZJda8ZrbqsqLov/4BqXtgTVNfvqSzKgLq/wGssM8UbM2AHQAAAABJRU5ErkJggg==",Pw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAACKCAMAAABsMMGBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUdwTMnN1MnM1MbK1MnN08nN08jM08jP1sjM1MnM08rN08/P38nN1MrP1cjM0sjM1MfL08rO1MjN08/Pz8nN1IfXDeAAAAAUdFJOUwC/cDCQgEAg79+fEK9QUGCAf88QR8RyVAAAANhJREFUeNrtld0OgyAMRotSKfjv+v7Puorb0HR65cWW9Fxy6BdaSIA9zAw7zJkzZ+6nHSKCcRdhrBD7Wot2Jt6IKWhTmPdpkQXqPPqOcm04KNfAxrBkWRRVUKjoI5Oo4+lqkQ6EUSIaONK81iTRq5a8FOYtFJR7kBSuOxJo/JrmmHvQDGuoFAfQBOZ4+pZl/dLF00y6PEs+rCbJcu691ZG5d3AnM4tlrmrWIwju6x2ly7v9SF76d57joi7fkjDxDpqOTYUUtSnUA2I1BjDuAhHtrzJnzty/uife3CRGJAhTOgAAAABJRU5ErkJggg==",Iw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAACKCAMAAABsMMGBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTMfP18nN1MrO1MjM1MrN1MjN1M/P28nM1MjM08jM08fL08nN1MnM1MfJ1MfM1MnP1MnN1MnN1Dfh3+IAAAASdFJOUwAgz3/vn0gQ33CggK9gMGAwv9YtiLYAAADhSURBVHja7dLNkoQgDATggDBJ/Lff/2HXzFYJzMJxqvaQPojWB7YFUh0AVMXNzc3Nzc3Nzc3t35rn+2HNkoC4buFTpoQnuVE1KZGt0IQ7l+5MvGu0h6kmeT0zX1LwADBzXT4DULsLchO1uTHZ7AwIfxjL+60BwNNVOm2htUX6m8saV0A7pkCmCJwd2wEhANwxBpLZ8B9Pw3UgGfZFmoffudrl6lgENuI02BcEommwn9nGZGObDEj4rb2xOb8Ma3tn6Zz7QlQQUU8mPvVCIcshqJOUqoS5ksXKGz3WCCTJ+sgPl3MkIYfkbJAAAAAASUVORK5CYII=",Nw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAA8AQMAAACZypKEAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAADUExURcnN1MbuL9sAAAAMSURBVAjXY2AYGAAAAHgAAdrtolcAAAAASUVORK5CYII=";function Hw(e){return["日","一","二","三","四","五","六"][e%7]||""}function Ld(e){const t=new Date(e),r=t.getFullYear(),n=t.getMonth()+1,u=t.getDate();return`${r}年${n}月${u}日`}const Vw=[{key:"plan.create",content:{name:"制定学习计划",icon:`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
304
310
  <path d="M1.66665 6.33301H14.3333V13.6663C14.3333 14.0345 14.0348 14.333 13.6666 14.333H2.33332C1.96513 14.333 1.66665 14.0345 1.66665 13.6663V6.33301Z" stroke="#333333" stroke-linejoin="round"/>
305
311
  <path d="M1.66665 3.33366C1.66665 2.96547 1.96513 2.66699 2.33332 2.66699H13.6666C14.0348 2.66699 14.3333 2.96547 14.3333 3.33366V6.33366H1.66665V3.33366Z" stroke="#333333" stroke-linejoin="round"/>
306
312
  <path d="M5.33335 10.333L7.33335 12.333L11.3334 8.33301" stroke="#333333" stroke-linecap="round" stroke-linejoin="round"/>
307
313
  <path d="M5.33335 1.66699V4.33366" stroke="#333333" stroke-linecap="round"/>
308
314
  <path d="M10.6666 1.66699V4.33366" stroke="#333333" stroke-linecap="round"/>
309
- </svg>`,type:"Send",data:{content:"制定学习计划"}}}],Yw=[{key:"plan.check",content:{name:"查看学习计划",icon:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
315
+ </svg>`,type:"Send",data:{content:"制定学习计划"}}}],Uw=[{key:"plan.check",content:{name:"查看学习计划",icon:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
310
316
  <path d="M13 2H3C2.44772 2 2 2.44772 2 3V13C2 13.5523 2.44772 14 3 14H13C13.5523 14 14 13.5523 14 13V3C14 2.44772 13.5523 2 13 2Z" stroke="#333333" stroke-linejoin="round"/>
311
317
  <path d="M7.00016 4.33301H4.3335V6.99967H7.00016V4.33301Z" stroke="#333333" stroke-linejoin="round"/>
312
318
  <path d="M7.00016 9H4.3335V11.6667H7.00016V9Z" stroke="#333333" stroke-linejoin="round"/>
@@ -317,4 +323,4 @@ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
317
323
  </svg>`,type:"Send",data:{content:"查看学习计划"}}},{key:"plan.recreate",content:{name:"重新制定学习计划",icon:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
318
324
  <path d="M12.2426 12.2426C11.1569 13.3284 9.65687 14 8 14C4.6863 14 2 11.3137 2 8C2 4.6863 4.6863 2 8 2C9.65687 2 11.1569 2.67157 12.2426 3.75737C12.7953 4.31003 14 5.66667 14 5.66667" stroke="#333333" stroke-linecap="round" stroke-linejoin="round"/>
319
325
  <path d="M14 2.66699V5.66699H11" stroke="#333333" stroke-linecap="round" stroke-linejoin="round"/>
320
- `,type:"Send",data:{content:"重新制定学习计划"}}}];function Jm(){function e(){const r=ir();r.shortcutList=r.variables?.studyPlanGenerated?Yw:$w}function t(){const r=ir();r.shortcutList=r.shortcutList.filter(n=>n.key!=="plan.create")}return{initShortcutList:e,updateShortcutList:t}}const Gw={class:"t-bg-white t-flex t-flex-col"},Ww={class:"t-fixed t-left-0 t-top-0 t-w-full t-flex t-items-center t-justify-between t-p-4 t-border-b-[1px] t-border-[#EBEBEB] t-bg-white t-z-10"},Kw={class:"t-pt-[89px] t-pb-[93px] t-flex t-flex-col t-px-5 t-h-fit overflow-y-auto t-space-y-8"},Zw={class:"t-flex t-flex-col t-space-y-5 t-w-full"},Qw={class:"t-flex t-items-center t-space-x-2"},Xw={class:"t-flex t-items-center t-flex-1 t-border t-border-[#DCDEE0] t-rounded-md t-px-3"},Jw={class:"t-flex t-items-center t-flex-1 t-border t-border-[#DCDEE0] t-rounded-md t-px-3"},ek={class:"t-flex t-flex-col t-space-y-5 t-w-full"},tk={class:"t-flex t-space-x-2.5"},rk=["onClick"],nk={key:0,class:"t-flex t-flex-col t-space-y-5 t-w-full"},uk={class:"t-flex t-border t-border-[#DCDEE0] t-rounded-md t-w-fit"},ik={class:"t-px-3 t-w-[80px]"},ak={key:1,class:"t-flex t-flex-col t-space-y-5 t-w-full"},ok={class:"t-flex t-justify-center t-w-full"},sk={class:"t-space-y-2.5 t-flex t-flex-col t-items-center"},lk=["src"],ck={key:2,class:"t-flex t-flex-col t-space-y-5 t-w-full"},fk={class:"t-flex t-flex-col t-space-y-5"},dk={class:"t-px-4 t-py-2 t-text-sm t-text-[#87898F] t-font-semibold t-w-full t-rounded-lg t-bg-gradient-to-r t-from-[rgba(245,245,245)] t-to-white t-mb-5"},hk={class:"t-flex t-flex-col t-px-5"},mk={class:"t-flex t-w-full t-space-x-5"},pk=["src"],vk=["src"],gk={class:"t-flex t-flex-col t-space-y-1 t-w-full"},bk={class:"t-text-sm t-text-[#37393D] t-font-semibold t-truncate"},yk={class:"t-text-xs t-text-[#87898F] t-font-normal"},xk=["src"],wk={class:"t-fixed t-left-0 t-bottom-0 t-w-full t-px-6 t-py-4 t-border-t-[1px] t-border-[#EBEBEB] t-bg-white t-z-10"},kk=Hr({__name:"StudyPlanDialog",setup(e){const t=ir(),{chat:r}=Di(),{updateShortcutList:n}=Jm();function u(){t.studyPlanDialogVisible=!1}const i=xe(""),a=xe(""),o=xe([1,2,3,4,5,6,7]),s=xe(2),l=M=>{const U=I(),B=N(),ne=M>=U,L=B?M<=ue(B):!0;return ne&&L;function I(){return x0.formatDate(new Date,"YYYY/MM/DD")}function N(){const te=y.value.filter(H=>H.value!=="").map(H=>H.value);return te.length>0&&[...te].sort().pop()||null}function ue(te){const H=a.value===""?te:a.value;return x0.formatDate(H,"YYYY/MM/DD")}},c=M=>{const U=x0.formatDate(new Date,"YYYY/MM/DD");if(i.value===""){const B=new Date;B.setFullYear(B.getFullYear()+1);const ne=x0.formatDate(B,"YYYY/MM/DD");return M>=U&&M<=ne}else{const B=x0.formatDate(i.value,"YYYY/MM/DD"),ne=new Date(i.value);ne.setFullYear(ne.getFullYear()+1);const L=x0.formatDate(ne,"YYYY/MM/DD");return M>=B&&M<=L}},f=xe(!1),m=xe(!1),p=xe([{text:"一",value:1},{text:"二",value:2},{text:"三",value:3},{text:"四",value:4},{text:"五",value:5},{text:"六",value:6},{text:"日",value:7}]);function v(M){if(o.value.length===1&&o.value.includes(M)){D.notify({message:"至少选一天!",classes:"study-day-notify",timeout:2e3});return}o.value.includes(M)?o.value=o.value.filter(U=>U!==M):o.value.push(M)}const x=()=>{if(!s.value){s.value=1;return}let M=parseFloat(s.value.toString());if(isNaN(M)){s.value=1;return}M=Math.max(.5,Math.min(24,M));let U=Math.round(M*2)/2;const B=U-Math.floor(U);B>0&&B<.5?U=Math.floor(U)+.5:B>.5&&(U=Math.ceil(U)),U=Math.min(24,U),s.value=U},y=xe([{label:"学完即止",value:""}]),T=M=>{const U=x0.formatDate(new Date,"YYYY-MM-DD");return M.filter(B=>B>=U).sort((B,ne)=>B.localeCompare(ne)).map(B=>({label:B,value:B}))},D=ic(),_=xe(!1);async function w(){const M={workflow:"plan.getGenerateConfig",inputs:{courseId:t.getChatMetadata.courseId}},U=await ci("/agent_worker","POST",M);U.ok&&(y.value=[{label:"学完即止",value:""},...T(U.outputs.deadlines)],Z.value=y.value,_.value=U.outputs.canGenerate)}const F=xe([]),j=M=>{const U=M.reduce((B,ne)=>{const{date:L,title:I,duration:N}=ne;return B[L]||(B[L]=[]),B[L].push({title:I,duration:N}),B},{});return Object.entries(U).map(([B,ne])=>({date:B,items:ne}))};async function z(){const M={workflow:"plan.preview",inputs:{courseId:t.getChatMetadata.courseId,startDate:i.value===""?null:i.value,endDate:a.value===""?null:a.value,weekDays:o.value,dailyLearnDuration:a.value===""?s.value:null}},U=await ci("/agent_worker","POST",M);F.value=j(U.outputs.tasks)}const V=["周日","周一","周二","周三","周四","周五","周六"],S=W(()=>{const M=Pd(i.value),U=Pd(a.value),B=o.value.sort((ne,L)=>ne-L).map(ne=>`周${jw(ne)}`).join("、");return`我将从${i.value===""?"今日开始":M}在每${B}学习,${a.value===""?`每次学习${s.value}小时,`:""}直到${a.value===""?"学完即止":`${U}完成学习`}`});async function Y(){_.value&&(await r(S.value,{workflow:"plan.generate",inputs:{workerUrl:t.getChatMetadata.workerUrl,courseId:t.getChatMetadata.courseId,startDate:i.value===""?null:i.value,endDate:a.value===""?null:a.value,weekDays:o.value,dailyLearnDuration:s.value}}),n(),u())}Ne(()=>t.studyPlanDialogVisible,async M=>{M&&(D.loading.show(),await w(),_.value&&await z(),D.loading.hide())},{deep:!0});const Z=xe([]);return Ne(i,M=>{if(M==="")Z.value=y.value;else{if(a.value!==""&&M>a.value&&(a.value=M),y.value.length===1)return;Z.value=[{label:"学完即止",value:""},...y.value.filter(U=>new Date(U.value)>=new Date(i.value))]}}),Ne([i,a,o,s],async()=>{_.value&&await z()},{deep:!0}),(M,U)=>(Ie(),T0(Zu,{modelValue:rt(t).studyPlanDialogVisible,"onUpdate:modelValue":U[14]||(U[14]=B=>rt(t).studyPlanDialogVisible=B),maximized:"","transition-show":"slide-up","transition-hide":"slide-down"},{default:Sr(()=>[le("div",Gw,[le("div",Ww,[(Ie(),Ge("svg",{class:"t-cursor-pointer",onClick:u,xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#1F1F1F"},U[15]||(U[15]=[le("path",{d:"M624-96 240-480l384-384 68 68-316 316 316 316-68 68Z"},null,-1)]))),U[16]||(U[16]=le("div",{class:"t-text-base t-text-[#333] t-font-medium"},"制定学习计划",-1)),U[17]||(U[17]=le("svg",{class:"t-opacity-0",xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#222222"},[le("path",{d:"m291-240-51-51 189-189-189-189 51-51 189 189 189-189 51 51-189 189 189 189-51 51-189-189-189 189Z"})],-1))]),le("div",Kw,[le("div",Zw,[U[19]||(U[19]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"起止时间",-1)),le("div",Qw,[le("div",Xw,[et(Ss,{modelValue:i.value,"onUpdate:modelValue":U[0]||(U[0]=B=>i.value=B),dense:"",readonly:"",borderless:"",placeholder:"从今日起",onClick:U[1]||(U[1]=B=>f.value=!0),class:"t-w-full date-input-placeholder"},{append:Sr(()=>[et(Er,{name:"calendar_today",size:"14px",style:{color:"#c0c0c2"}})]),_:1},8,["modelValue"]),et(Zu,{modelValue:f.value,"onUpdate:modelValue":U[5]||(U[5]=B=>f.value=B)},{default:Sr(()=>[et(Dd,{class:"study-date-picker",modelValue:i.value,"onUpdate:modelValue":[U[3]||(U[3]=B=>i.value=B),U[4]||(U[4]=B=>f.value=!1)],minimal:"",mask:"YYYY-MM-DD",options:l},{default:Sr(()=>[le("button",{class:"t-w-full t-rounded-md t-font-normal t-text-sm t-px-2.5 t-py-1.5 t-border",onClick:U[2]||(U[2]=B=>{i.value="",f.value=!1})},"从今日起")]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),U[18]||(U[18]=le("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16px",viewBox:"0 -960 960 960",width:"16px",fill:"#858585"},[le("path",{d:"m600-216-51-51 177-177H96v-72h630L549-693l51-51 264 264-264 264Z"})],-1)),le("div",Jw,[y.value.length>1?(Ie(),T0(Iw,{key:0,class:"t-w-full",borderless:"",dense:"",modelValue:a.value,"onUpdate:modelValue":U[6]||(U[6]=B=>a.value=B),"dropdown-icon":"keyboard_arrow_down","emit-value":"","map-options":"",behavior:"dialog",options:Z.value},null,8,["modelValue","options"])):(Ie(),T0(Ss,{key:1,modelValue:a.value,"onUpdate:modelValue":U[7]||(U[7]=B=>a.value=B),dense:"",readonly:"",borderless:"",placeholder:"学完即止",onClick:U[8]||(U[8]=B=>m.value=!0),class:"t-w-full date-input-placeholder"},{append:Sr(()=>[et(Er,{name:"calendar_today",size:"14px",style:{color:"#c0c0c2"}})]),_:1},8,["modelValue"])),et(Zu,{modelValue:m.value,"onUpdate:modelValue":U[12]||(U[12]=B=>m.value=B)},{default:Sr(()=>[et(Dd,{class:"study-date-picker",modelValue:a.value,"onUpdate:modelValue":[U[10]||(U[10]=B=>a.value=B),U[11]||(U[11]=B=>m.value=!1)],minimal:"",mask:"YYYY-MM-DD",options:c},{default:Sr(()=>[le("button",{class:"t-w-full t-rounded-md t-font-normal t-text-sm t-px-2.5 t-py-1.5 t-border",onClick:U[9]||(U[9]=B=>{a.value="",m.value=!1})},"学完即止")]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])])]),le("div",ek,[U[20]||(U[20]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"每周学习日",-1)),le("div",tk,[(Ie(!0),Ge(Vt,null,ju(p.value,B=>(Ie(),Ge("button",{key:B.value,onClick:ne=>v(B.value),class:R0(["t-rounded-md t-font-normal t-text-base t-px-2.5 t-py-1.5 t-border",{"t-text-primary t-bg-[rgba(22,93,255,0.04)]":o.value.includes(B.value),"t-border-primary t-text-[#37393D]":o.value.includes(B.value)}])},rn(B.text),11,rk))),128))])]),a.value===""?(Ie(),Ge("div",nk,[U[22]||(U[22]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"每日学习时长",-1)),le("div",uk,[le("div",ik,[et(Ss,{modelValue:s.value,"onUpdate:modelValue":U[13]||(U[13]=B=>s.value=B),onBlur:x,borderless:"",dense:"",type:"number",min:"0.5",max:"24",step:"0.5"},null,8,["modelValue"])]),U[21]||(U[21]=le("div",{class:"t-px-3 t-py-2 t-flex t-w-fit t-items-center t-text-[#37393D] t-text-text-sm w-h-full t-border-l t-border-[#DCDEE0] t-bg-[#FAFAFA] t-font-normal t-rounded-r-md"},"小时",-1))])])):Ir("",!0),_.value?(Ie(),Ge("div",ck,[U[25]||(U[25]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"已为你智能生成学习计划",-1)),le("div",fk,[(Ie(!0),Ge(Vt,null,ju(F.value,B=>(Ie(),Ge("div",null,[le("div",dk,rn(`${B.date.replace(/-/g,"/")} ${V[new Date(B.date).getDay()]}`),1),(Ie(!0),Ge(Vt,null,ju(B.items,(ne,L)=>(Ie(),Ge("div",hk,[le("div",mk,[L+1===B.items.length?(Ie(),Ge("img",{key:0,class:"t-w-[9px] t-h-[46px]",src:rt(Vw),alt:"连线"},null,8,pk)):(Ie(),Ge("img",{key:1,class:"t-w-[9px] t-h-[46px]",src:rt(Hw),alt:"连线"},null,8,vk)),le("div",gk,[le("div",bk,rn(ne.title),1),le("div",yk,rn(`用时 · ${ne.duration}`),1)])]),L+1!==B.items.length?(Ie(),Ge("img",{key:0,class:"t-w-[1px] t-h-5 t-ml-1",src:rt(Uw),alt:"连线"},null,8,xk)):Ir("",!0)]))),256))]))),256))])])):(Ie(),Ge("div",ak,[U[24]||(U[24]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"学习计划",-1)),le("div",ok,[le("div",sk,[le("img",{class:"t-w-[120px] t-h-[100px]",src:rt(Nw),alt:"empty"},null,8,lk),U[23]||(U[23]=le("div",{class:"t-text-sm t-text-[#5E6166] t-font-normal"},"该课程暂无待制定的学习任务",-1))])])]))]),le("div",wk,[le("button",{class:R0(["t-w-full t-border t-rounded-lg t-px-4 t-py-[7px] t-text-base t-font-normal",{"t-bg-[#165DFF] t-border-[#165DFF] t-text-white hover:t-bg-[#4080FF] hover:t-border-[#4080FF] focus:t-bg-[#0E42D2] focus:t-border-[#0E42D2]":_.value,"t-bg-[#F5F5F5] t-border-[#DCDEE0] t-text-[#C0C0C2] t-cursor-not-allowed":!_.value}]),onClick:Y},"生成学习计划",2)])])]),_:1},8,["modelValue"]))}}),Sk={class:"t-bg-white t-flex t-flex-col"},Ak={class:"t-fixed t-left-0 t-top-0 t-w-full t-flex t-items-center t-justify-between t-p-4 t-border-b-[1px] t-border-[#EBEBEB] t-bg-white t-z-10"},Ck={class:"t-pt-[57px] t-flex t-flex-col t-h-full t-w-full"},_k=["src"],Dk=Hr({__name:"NewsDialog",setup(e){const t=ir();function r(){t.newsDialogVisible=!1}return(n,u)=>(Ie(),T0(Zu,{modelValue:rt(t).newsDialogVisible,"onUpdate:modelValue":u[0]||(u[0]=i=>rt(t).newsDialogVisible=i),maximized:"","transition-show":"slide-up","transition-hide":"slide-down"},{default:Sr(()=>[le("div",Sk,[le("div",Ak,[(Ie(),Ge("svg",{class:"t-cursor-pointer",onClick:r,xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#1F1F1F"},u[1]||(u[1]=[le("path",{d:"M624-96 240-480l384-384 68 68-316 316 316 316-68 68Z"},null,-1)]))),u[2]||(u[2]=le("div",{class:"t-text-base t-text-[#333] t-font-medium"},"资讯",-1)),u[3]||(u[3]=le("svg",{class:"t-opacity-0",xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#222222"},[le("path",{d:"m291-240-51-51 189-189-189-189 51-51 189 189 189-189 51 51-189 189 189 189-51 51-189-189-189 189Z"})],-1))]),le("div",Ck,[le("iframe",{class:"t-w-full t-h-full",src:(rt(t).selectedMessage?.content).data.url},null,8,_k)])])]),_:1},8,["modelValue"]))}}),Ek=""+new URL("assistant-icon-TfdLKQGo.png",import.meta.url).href;function cn(e){return cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(e)}function e3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mk(e){var t=function(r,n){if(cn(r)!="object"||!r)return r;var u=r[Symbol.toPrimitive];if(u!==void 0){var i=u.call(r,n);if(cn(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(e,"string");return cn(t)=="symbol"?t:String(t)}function Tk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Mk(n.key),n)}}function t3(e,t,r){return t&&Tk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Fk=function(){function e(){e3(this,e),this._listeners={}}return t3(e,[{key:"on",value:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._listeners[t]||(this._listeners[t]=[]),r._priority=parseInt(n)||0,this._listeners[t].indexOf(r)===-1&&(this._listeners[t].push(r),this._listeners[t].length>1&&this._listeners[t].sort(this.listenerSorter))}},{key:"listenerSorter",value:function(t,r){return t._priority-r._priority}},{key:"off",value:function(t,r){if(this._listeners[t]!==void 0)if(r!==void 0){var n=this._listeners[t].indexOf(r);-1<n&&this._listeners[t].splice(n,1)}else delete this._listeners[t]}},{key:"trigger",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof t=="string"&&(t={type:t,data:cn(r)==="object"&&r!==null?r:{}}),this._listeners[t.type]!==void 0)for(var n=this._listeners[t.type].length-1;n>=0;n--)this._listeners[t.type][n](t)}},{key:"destroy",value:function(){this._listeners={}}}]),e}();function xl(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xl=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,u=Object.defineProperty||function(L,I,N){L[I]=N.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(L,I,N){return Object.defineProperty(L,I,{value:N,enumerable:!0,configurable:!0,writable:!0}),L[I]}try{l({},"")}catch{l=function(I,N,ue){return I[N]=ue}}function c(L,I,N,ue){var te=I&&I.prototype instanceof T?I:T,H=Object.create(te.prototype),R=new B(ue||[]);return u(H,"_invoke",{value:Y(L,N,R)}),H}function f(L,I,N){try{return{type:"normal",arg:L.call(I,N)}}catch(ue){return{type:"throw",arg:ue}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",v="executing",x="completed",y={};function T(){}function D(){}function _(){}var w={};l(w,a,function(){return this});var F=Object.getPrototypeOf,j=F&&F(F(ne([])));j&&j!==r&&n.call(j,a)&&(w=j);var z=_.prototype=T.prototype=Object.create(w);function V(L){["next","throw","return"].forEach(function(I){l(L,I,function(N){return this._invoke(I,N)})})}function S(L,I){function N(te,H,R,he){var Me=f(L[te],L,H);if(Me.type!=="throw"){var Fe=Me.arg,oe=Fe.value;return oe&&cn(oe)=="object"&&n.call(oe,"__await")?I.resolve(oe.__await).then(function(ve){N("next",ve,R,he)},function(ve){N("throw",ve,R,he)}):I.resolve(oe).then(function(ve){Fe.value=ve,R(Fe)},function(ve){return N("throw",ve,R,he)})}he(Me.arg)}var ue;u(this,"_invoke",{value:function(te,H){function R(){return new I(function(he,Me){N(te,H,he,Me)})}return ue=ue?ue.then(R,R):R()}})}function Y(L,I,N){var ue=m;return function(te,H){if(ue===v)throw new Error("Generator is already running");if(ue===x){if(te==="throw")throw H;return{value:e,done:!0}}for(N.method=te,N.arg=H;;){var R=N.delegate;if(R){var he=Z(R,N);if(he){if(he===y)continue;return he}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(ue===m)throw ue=x,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);ue=v;var Me=f(L,I,N);if(Me.type==="normal"){if(ue=N.done?x:p,Me.arg===y)continue;return{value:Me.arg,done:N.done}}Me.type==="throw"&&(ue=x,N.method="throw",N.arg=Me.arg)}}}function Z(L,I){var N=I.method,ue=L.iterator[N];if(ue===e)return I.delegate=null,N==="throw"&&L.iterator.return&&(I.method="return",I.arg=e,Z(L,I),I.method==="throw")||N!=="return"&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+N+"' method")),y;var te=f(ue,L.iterator,I.arg);if(te.type==="throw")return I.method="throw",I.arg=te.arg,I.delegate=null,y;var H=te.arg;return H?H.done?(I[L.resultName]=H.value,I.next=L.nextLoc,I.method!=="return"&&(I.method="next",I.arg=e),I.delegate=null,y):H:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,y)}function M(L){var I={tryLoc:L[0]};1 in L&&(I.catchLoc=L[1]),2 in L&&(I.finallyLoc=L[2],I.afterLoc=L[3]),this.tryEntries.push(I)}function U(L){var I=L.completion||{};I.type="normal",delete I.arg,L.completion=I}function B(L){this.tryEntries=[{tryLoc:"root"}],L.forEach(M,this),this.reset(!0)}function ne(L){if(L||L===""){var I=L[a];if(I)return I.call(L);if(typeof L.next=="function")return L;if(!isNaN(L.length)){var N=-1,ue=function te(){for(;++N<L.length;)if(n.call(L,N))return te.value=L[N],te.done=!1,te;return te.value=e,te.done=!0,te};return ue.next=ue}}throw new TypeError(cn(L)+" is not iterable")}return D.prototype=_,u(z,"constructor",{value:_,configurable:!0}),u(_,"constructor",{value:D,configurable:!0}),D.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(L){var I=typeof L=="function"&&L.constructor;return!!I&&(I===D||(I.displayName||I.name)==="GeneratorFunction")},t.mark=function(L){return Object.setPrototypeOf?Object.setPrototypeOf(L,_):(L.__proto__=_,l(L,s,"GeneratorFunction")),L.prototype=Object.create(z),L},t.awrap=function(L){return{__await:L}},V(S.prototype),l(S.prototype,o,function(){return this}),t.AsyncIterator=S,t.async=function(L,I,N,ue,te){te===void 0&&(te=Promise);var H=new S(c(L,I,N,ue),te);return t.isGeneratorFunction(I)?H:H.next().then(function(R){return R.done?R.value:H.next()})},V(z),l(z,s,"Generator"),l(z,a,function(){return this}),l(z,"toString",function(){return"[object Generator]"}),t.keys=function(L){var I=Object(L),N=[];for(var ue in I)N.push(ue);return N.reverse(),function te(){for(;N.length;){var H=N.pop();if(H in I)return te.value=H,te.done=!1,te}return te.done=!0,te}},t.values=ne,B.prototype={constructor:B,reset:function(L){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(U),!L)for(var I in this)I.charAt(0)==="t"&&n.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=e)},stop:function(){this.done=!0;var L=this.tryEntries[0].completion;if(L.type==="throw")throw L.arg;return this.rval},dispatchException:function(L){if(this.done)throw L;var I=this;function N(Me,Fe){return H.type="throw",H.arg=L,I.next=Me,Fe&&(I.method="next",I.arg=e),!!Fe}for(var ue=this.tryEntries.length-1;ue>=0;--ue){var te=this.tryEntries[ue],H=te.completion;if(te.tryLoc==="root")return N("end");if(te.tryLoc<=this.prev){var R=n.call(te,"catchLoc"),he=n.call(te,"finallyLoc");if(R&&he){if(this.prev<te.catchLoc)return N(te.catchLoc,!0);if(this.prev<te.finallyLoc)return N(te.finallyLoc)}else if(R){if(this.prev<te.catchLoc)return N(te.catchLoc,!0)}else{if(!he)throw new Error("try statement without catch or finally");if(this.prev<te.finallyLoc)return N(te.finallyLoc)}}}},abrupt:function(L,I){for(var N=this.tryEntries.length-1;N>=0;--N){var ue=this.tryEntries[N];if(ue.tryLoc<=this.prev&&n.call(ue,"finallyLoc")&&this.prev<ue.finallyLoc){var te=ue;break}}te&&(L==="break"||L==="continue")&&te.tryLoc<=I&&I<=te.finallyLoc&&(te=null);var H=te?te.completion:{};return H.type=L,H.arg=I,te?(this.method="next",this.next=te.finallyLoc,y):this.complete(H)},complete:function(L,I){if(L.type==="throw")throw L.arg;return L.type==="break"||L.type==="continue"?this.next=L.arg:L.type==="return"?(this.rval=this.arg=L.arg,this.method="return",this.next="end"):L.type==="normal"&&I&&(this.next=I),y},finish:function(L){for(var I=this.tryEntries.length-1;I>=0;--I){var N=this.tryEntries[I];if(N.finallyLoc===L)return this.complete(N.completion,N.afterLoc),U(N),y}},catch:function(L){for(var I=this.tryEntries.length-1;I>=0;--I){var N=this.tryEntries[I];if(N.tryLoc===L){var ue=N.completion;if(ue.type==="throw"){var te=ue.arg;U(N)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(L,I,N){return this.delegate={iterator:ne(L),resultName:I,nextLoc:N},this.method==="next"&&(this.arg=e),y}},t}function Id(e,t,r,n,u,i,a){try{var o=e[i](a),s=o.value}catch(l){return void r(l)}o.done?t(s):Promise.resolve(s).then(n,u)}function r3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},pu(e)}function wl(){return wl=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(i,a){for(;!Object.prototype.hasOwnProperty.call(i,a)&&(i=pu(i))!==null;);return i}(e,t);if(n){var u=Object.getOwnPropertyDescriptor(n,t);return u.get?u.get.call(arguments.length<3?e:r):u.value}},wl.apply(this,arguments)}function kl(e,t){return kl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},kl(e,t)}function zk(e){var t=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,n=pu(e);if(t){var u=pu(this).constructor;r=Reflect.construct(n,arguments,u)}else r=n.apply(this,arguments);return function(i,a){if(a&&(cn(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return r3(i)}(this,r)}}var Bk=function(e){(function(n,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(u&&u.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),u&&kl(n,u)})(r,Fk);var t=zk(r);function r(){var n,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:100*Math.random()|0;return e3(this,r),(n=t.call(this)).id="BELLHOP:".concat(u),n.connected=!1,n.isChild=!0,n.connecting=!1,n.debug=!1,n.origin="*",n._sendLater=[],n.iframe=null,n.receive=n.receive.bind(r3(n)),n}return t3(r,[{key:"receive",value:function(n){if(this.target===n.source)if(this.logDebugMessage(!0,n),n.data==="connected")this.onConnectionReceived(n.data);else{var u=n.data;if(typeof u=="string")try{u=JSON.parse(u)}catch(i){console.warn("Bellhop error: ",i)}this.connected&&cn(u)==="object"&&u.type&&this.trigger(u)}}},{key:"onConnectionReceived",value:function(n){if(this.connecting=!1,this.connected=!0,!this.isChild){if(!this.target)return;this.target.postMessage(n,this.origin)}for(var u=0;u<this._sendLater.length;u++){var i=this._sendLater[u],a=i.type,o=i.data;this.send(a,o)}this._sendLater.length=0,this.trigger("connected")}},{key:"connect",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"*";this.connecting||(this.disconnect(),this.connecting=!0,n instanceof HTMLIFrameElement&&(this.iframe=n),this.isChild=n===void 0,this.supported=!0,this.isChild&&(this.supported=window!=n),this.origin=u,window.addEventListener("message",this.receive),this.isChild&&(window===this.target?this.trigger("failed"):this.target.postMessage("connected",this.origin)))}},{key:"disconnect",value:function(){this.connected=!1,this.connecting=!1,this.origin=null,this.iframe=null,this.isChild=!0,this._sendLater.length=0,window.removeEventListener("message",this.receive)}},{key:"send",value:function(n){if(typeof n!="string")throw"The event type must be a string";var u={type:n,data:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}};this.logDebugMessage(!1,u),this.connecting?this._sendLater.push(u):this.target.postMessage(JSON.stringify(u),this.origin)}},{key:"fetch",value:function(n,u){var i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!this.connecting&&!this.connected)throw"No connection, please call connect() first";this.on(n,function s(l){o&&i.off(l.type,s),u(l)}),this.send(n,a)}},{key:"respond",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0&&arguments[2],a=this,o=function(){var s,l=(s=xl().mark(function c(f){return xl().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(i&&a.off(f,o),typeof u!="function"){m.next=10;break}return m.t0=a,m.t1=f.type,m.next=6,u();case 6:m.t2=m.sent,m.t0.send.call(m.t0,m.t1,m.t2),m.next=11;break;case 10:a.send(f.type,u);case 11:case"end":return m.stop()}},c)}),function(){var c=this,f=arguments;return new Promise(function(m,p){var v=s.apply(c,f);function x(T){Id(v,m,p,x,y,"next",T)}function y(T){Id(v,m,p,x,y,"throw",T)}x(void 0)})});return function(c){return l.apply(this,arguments)}}();this.on(n,o)}},{key:"logDebugMessage",value:function(){var n=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=arguments.length>1?arguments[1]:void 0;this.debug&&typeof this.debug=="function"?this.debug({isChild:this.isChild,received:n,message:u}):this.debug&&console.log("Bellhop Instance (".concat(this.isChild?"Child":"Parent",") ").concat(n?"Receieved":"Sent"),u)}},{key:"destroy",value:function(){wl(pu(r.prototype),"destroy",this).call(this),this.disconnect(),this._sendLater.length=0}},{key:"target",get:function(){return this.isChild?window.parent:this.iframe.contentWindow}}]),r}();const Bu=new Bk;function n3(){const e=ir(),{initShortcutList:t}=Jm(),{chat:r,fetchMessages:n,fetchUnreadMessages:u}=Di();function i(){Bu.connect(),Bu.on("init",async s=>{e.apiBaseUrl=s.data.apiBaseUrl,e.token=s.data.token,e.deviceType=s.data.deviceType,e.variables={...s.data.variables,chatMetadata:{...s.data.variables.chatMetadata,workerUrl:s.data.variables.chatMetadata.workerUrl+"?token="+e.token}},t()}),Bu.on("showIframe",async s=>{e.mode="show",e.messageList.length===0?await n(null,!0):s.data.loadUnreadMessages&&await u(),s.data.chatMessage&&await r(s.data.chatMessage.content,s.data.chatMessage.workflow)})}function a(){Bu.send("hideIframe")}function o(s){const l=s.target.closest("a[href]");l&&(s.preventDefault(),Bu.send("clickLink",l.getAttribute("href")))}return{initBellhop:i,hideUI:a,clickLink:o}}const Ok={class:"t-flex t-px-4 t-py-3 t-items-center t-justify-between"},Rk={class:"t-flex t-items-center"},qk=["src"],Lk=Hr({__name:"Header",setup(e){const{hideUI:t}=n3();return(r,n)=>(Ie(),Ge("div",Ok,[le("div",Rk,[et(b2,{size:"32px"},{default:Sr(()=>[le("img",{src:rt(Ek),alt:"头像"},null,8,qk)]),_:1}),n[0]||(n[0]=le("div",{class:"t-text-sm t-text-[#5E6166] t-font-medium t-ml-2"},"小知老师",-1))]),et(Br,{round:"",style:{background:"#EBEBEB"},size:"xs",onClick:rt(t)},{default:Sr(()=>n[1]||(n[1]=[le("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#222222"},[le("path",{d:"m291-240-51-51 189-189-189-189 51-51 189 189 189-189 51 51-189 189 189 189-51 51-189-189-189 189Z"})],-1)])),_:1,__:[1]},8,["onClick"])]))}}),Pk=""+new URL("feedback-icon-BauvTOXV.png",import.meta.url).href,Ik="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUdwTP3EC/y/D/m1GPmvH/erH/ixGvarH/3FCfWqIf3DDParIPu+D/qzF/q3GPi2F/zADvzBDfq+D/m5FvaxHfWpIfauH/etHfarIPWqIf2/Ef+/D/aqIP/HD/m2F/m3F/3ECvaqIf3BDfasHvu3FP3FCvvAD/y7EPe/G/vEDviyGPa0G+aZNP/PD/+/H/bTXpw6CUjSEP+5CUUxUP/HCP25D//GCf+/DPy4Ef67Dv/DCf/ECf7FCv/FCP/GB/3ADfmwGf+9DPqxGP/CCv/BCv+8DP7BC/7EC/7DC/q6E/uzFf2/DPDw8P26D/u1FLu7u/itHP3CDPS5CvizGfaqIPqyF/ivG0MxTfb29vy2E/esHvn5+e7u7vewHfG2Cvu9EP28D/3BCvi7C/erHvj4+OHg4fLy8t3d3dDQ0Pq8E/apIPm1FtXU1vq3Ffy/EPetHvy7De2zCvm4FWwqv/T09KkmwPeyHP3BDWMrv+zs7LQlwP0xMT4wSIMpwObm5vm9Cvi2GE8svlksv/i5C/SyEuevCd7Ca/0kJP0qKn4pwOnLcZAowJ2Uonkpv+Xj4OqyCdnY19HR0UUsvfkfH58nwOjo6PevHTssuqImvU89Wfa2DPy8C+rq6nMqwMrHy9fX1+uzIpYowI0owN+vItLGo8Ekv/c2Nu65JZonwYYov/i0E+XIcJQnvuzFXdrVxufn59uyNOOsCtTBhqErc/UwJe45Odw0NeisD+Le1Fsosokpwdi5XNra2tanKsZ2WsCNRNgvMMoqOOgxMu4hIefeyuvQhqiirOrTlO+2F+G2N+S5P70hs/l4EIomt3FQh1Y+nd6cK3sps+InJ3AqrfApKnNjerIkuNvGirWwt9q7YZOGmdfQvYh7jri4uPuGD0Q1qZgsorYnVvubDaIrgYooksVecuGIReLWsng8m+q+QO6tEuLQn9/Llamdna2trejASOfBT/TBH+SuCaQjV3lUppYti31vhVxKZfdcFo5vaLYrpY+IlbmxmrgACwDDDEdwTJF3ZBAAAAEAdFJOUwD+v2AQIP7//t+AQEB/IN+f33BQv+9vn69/IBDPIM+P74/Pv+/usO7+kO/v/hAQz8/v/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wDvcP15AAAHrUlEQVR42o2VaVxTZxrFb0AQBIvo1KU61upMl9m+CBEw4YIBEriRkqAYISQxkGRKCAREY8aRqIGRWiRuKQoUqNBai4KK08q4Y2utddfpZu10nenY3dmXD3Oe9yaQUtrhZPtxeP8553luINyoipk6bVZ02ZIlS0pKSqLnTZ8RM44bm8bFTL+3LAAWFlYWluQV5lVWzguPGAM6QyQJLMzLK8grILGXaRFjQpGZBzEsLW1R2iIoLe3/4DFszvGFlQBBgVu6NAd3PPC0CJr4nbEPlJWVAaXMNEojhCk3NxdvYM/BU9w9o7IRswjFikACZBDT8uXL8YBy8Bb5P5kyGhsNtmR8ZWVBAUOJgpKGtJwp154zcTSWDVuAOYEyEucTk5ISkxIT6UXkHfZc+8RRWcRGUiqrSUziYlHJyfRMjsMBfAQdLS4ZjVkqUgAyCndnsvhg75GIAo7wUPYBxlamRWKlCCUyMZkhmZmZ6VBmutOUmWmCRbjjRyE7DweLymmROXY7GiN2MWKIYyxeTCan02kymcCz8NnDFzia4CexKvvzUF3d8y3VSU5gQbWavS0tLV6vs9WUnm4yJWOBQ2PPIDYvclFkPsDOAy+/8vKBvS1eZ4AUWr3a8wETOBykJwaLRywZT7mRkfn5dZ2bm9rcer3b/8reFrMIO73nNze5g6bXKIB2OpPCAtsaj2UVRC4l9qU2tbUGUrubDrR4WWXt3pfcIaYTMOjFSbHiZQL7ZIB1W3W60qKiUl2NvvYrHCSWzFJmWvW1f9a2CumCCfT9bNVgURrsnU/brLoi97n/NFqKdDXuo+e9rYK56k9k6s81kmklUxDSgTsf+gXg6ZiYBd+5UKuvKX1z96+hxiKd2t9jMLdqv4RZNGz29RhaBeAmp2ky4HvBFtOi73zmV+ss85ctW4aD50qtbUervF7DpzDLv2GaBR600YSVxVDr4ny7ve5FKvj3+TgI7XbXuJs6DVrf0TZr6e+DZmmN27JXK2QsEASj6aGZ3FR8topXM9iCc7vnQ3SwHPAFwCNNywWtMWsBT1uL5aaj9erVdoJtfqsO50S1W9ssFwyG+m+Y5WRqPRkULWDoeQiOzGdwL3aDhky7dVa/7VXAW/vUuqD5D50aplbIyliQxQvGSVy0CDuq6158o8ltbQ+ca8SF7q1H7c++ZQJWZAAW5nKVNLLd4ahuqXrV1qevaWTH3qlR+y1v+LRmmLVB823RNPOKDEUGzwvxHI0MODvJW3eo2+LXW22N77zdXqNua+rtMpg9hrvDplXvt9zqMnhWKFLEaI5d5HzA2VpfV6+ttk2vVqv17j7L8bd8Wo+grerqtQybW4/5tIKCREMDxoVCstPpNdQfvHXcUuv3+2ubbB1v1Rs8C7I8Wt/BWzZLbd+wiWDcXC4+AK+vzs42PWY21HcdLj9us9mOd3QfrDeYhQwFDzrUBIvYlBSFxsULHNbFYKfJ6DFrfYe6jh3uPnzs4CGfwYOtMroq1OSBktCb56KRbGfJglDh0Rp89XcP3a33GbQePoPNtsJjDjXRGOhC/CKL52YFkk1Ggef5h7/6jaiens1D6unpEc0vv14BktiUFJUiK56bhpEZXGHksx7ubt9WztTRsTWojo4O0dvW3v01QxmscYVxU+lPCvBjFUj+76PtvwxqG+6i2A+k9tufLyQRrVJlPchNKS6my5ztBPzHz7+4/eh36/abX/z1KlAmicY1gRtXHCkmGwXh5GuvPUP6FbRq1apdO5977un9T+z53b51jz++5amnVq4cGDglopTswr/AH2BoBiMZcAi6U0TXEcrYNQMDnQDluKVIVK6ZHDexOH89g42849+vA2TozpGpQNdsHLgMEAKtVITRlw1mthNcUeH6+HXQQfQJSh1GwW7ccEqOZKlculCp0uCrEr1XB6J51892rYKo79MggQb7ggS64QpyIcASieY+gmMAO6qzjRW8y/Xxrl0BdM++de992N//t2vD6IbtpxgpTZUvlKgmAaXooWRN9Xv79wdG/fDM6Reg0/03guj2y3KpXLxHKSmYRYswojWKq5cu7WFbev/04G9Jgy+cuSGizVc6AaYSLVdKEBwaTRtzqU5e2kcL7j89+KyowcEzG4Fub/7DCSkaS1MTpHKZUolgURE/DUSjuOrktS1btly7fvPI2rVrn10LHbneD5TY1NRUqTRBKoMmcEOamg+YaJdGojx5Y+XKj67fbGgACDU03DzT3Nx85QTIVGlCglwukynjuRDdv746MLVKqez8ZM1HZzc1BLXp7PvNzf/SAkTlhAQpkuf8MBQeN5tosbdEIjv1ydkdm4LacfYvl0+ABAgUbJRsCpBQOk6MRnHAMvkH/zyyI6AjF68ylB4oHhWFgUfonji2M1q4SimTSRPkOR+8e/Hiu2WtFBhMpVwlsSPp2diZkXamUmGdUThIgamYc0hRUplkNJa2RjTNTVuTsRzArHAgOkoWNSecG13hcSiObEYrgSKeQUOdZXODex6l+qRQGpOL+VHE0bQ/RuXv0ZQ4ao7BsXQl9k5NZfQMScIQ+/2KDaMrRulYuwT5oOh1ziOx3Bh03+QwhmtIEnxqlJo5YZN/zo1VM2MnPBgW7yI+fu6kybEzRz31PyxucdWplRvRAAAAAElFTkSuQmCC",Nk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAALoUExURUdwTP+9C/3CC/3ECv/ECPaqIP3FCf/FCP/GCP/DCf3DC/etG/WpIfmvH/erH/arIPu+D/q3GPasH/esHO20Cv3EC/y4EPzBDfzCDPi3F/u0FfaxHfq4FfetHfWpIf2/Efq7EvarIP+/D/i0GP/HD/m3F/aqIfWsIfWrIPasHv3DC/BiBuq0HPy6Efq8EfzBEfewG/evG/q3Fv3EDPaoIfvAD/zDDfvCDfu+DvvEDvi6Fvi1G/3FCv3ECvWtHv/PD/29Dv+/H1paWkUxUP/FCP/ECf/GCP/DCf/HB/7FCv/GCfuzFf++C/7GCf67Df+9DP7AC/7EC//BC/68DW5nUP25D/66Dv/CCf7CCv23EfaqIerq6+7t7v3BCkO1Cvu9EkMxTfq1Ff7DCvu0Ffy2EvmuG/y9Dvr6+vHx8fy1E/6+DfesHvitHPmxGP24Ef/HCPmvGverHvu5Evq2FPatH/6/DPy+Dvu/CvX19fu7EvqwGeDf4OLi4vexG/qyGPu+Ef27DvPyFezs7PO5CfLy8vm6Ffm0GP3BDf3DDP+/C/arH++2Cfj4+O20CfqxF/ewHOno6fy8C9WqHdWpHf/BCva9Cvm7DPG2CvizGvqzF/3ADvm+CuWvCfS3Cvm2F/i1GPevHUAwS/zCDtbW1Nvb2/e5C+bm5vb29vDw8Pu4FPq3D/SzEPi9CvT09N3c3fa7CjwwR+KsCemxCVpaW/3CC/2/DviwGveuHvu/D+Lg49utIejTl/C3GOW5Ofi4F9WpHvm4FHFiePu/EOKwFp6VpNrNqN68XeTk5PS2DefJd/e0EvzDDYV7jGdXb1pKY9jEiPC7Juu+QOnl2/GxEeHTrcGcKFE+W+itD+SsEEk9U9nZ1+uvDtTOu9e9bufh0OnFa+64J29nUNTGm1xKZdTQx9ysFtmzO+bbu9bChsvGztzAcHltS6yOMpSJmenPheCxIlVJXuHWty+sB9xxDv2uAN6qCQC9C0dwTHBw6QAAAAD4dFJOUwD+/v7+/v7+/v7+/t8QIEBAIH/+/oD/37/ff7/Pn+8gv68Q7yCPj29gv5/+/+5wUE/fX8/PsGBwgJCfb+7vzxCfEP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AueNppgAACHdJREFUeNqNlXtUU1cWxi8hQAIoVBjEVq2Paa1d1b4f83CmM17IJBAgYUICIQsTQgZCIJBAQiAoiwTCALE8SiDhEQQRFDHKEKhvKypU69Raba221bbz6HTef/T/+c4N0ExLWX6555x79zq/8+29bwLUsorZtuGl6JywnLDy8vLo7ZvXxKyiHk6rYjZvBJeTA7A4TldcrovTRem2P7X6IdA1G8MCZFxcnK6AUVlBmW6woGADwVdGARJPnU4XVUZUXV1SXQJNTw+WrYjHROfkhIU1F0fpdAVl09XV1fv37nXjwsBUAq35QdsnQQKFJ8j9+/cDTMlnpMzPT3E3unHK848sy65+CQk3FxdHFUxPl+zfm5LiTilSFimVRWq12kiGEWe4e7Y+txxLUi5v1kUNlgGFY1GROludHVBpdkICFhygVLofXYYNg61upmC6ZC9QZZFRnV2qzpYkJEgSJBKJIUFiKAVvPKxU5j+6DBtWjGLBuvPVxmy1ulQCZWVJsjClpZEbnGI4Qsy/Q0eTctHikhJ3fpEyO6EUKDBQkrS0urSFUVeXhRwOG40vBLNPgoUvbPPzjUaYAkxjkMzMzHSoLr0uEwJvyDIkGLcG9fwpsBVRg9MlbrcSPSJ5QoQjIyQEdEgmBg4AbYD5+m9fMH4DzQyrVKrVCbBFguDApIakpoZoU7UhOGLhGBwgMRxeKnsNvhoVM2+UlOQb1UcYGVx1mcCAEqVr29tdLld7SHs6pE3XgN6xkPjqnGaw07UwNhqvjo+fefBgfH7EBUNGWo3LNTJ/5saN7v6Rdo3WpNWmt1sshk0L3WoOK64YrO1xeweujj9457M2edvN0+/Pwyk9NfX3YPtv/AtBOYL9rnYtcE2mRWKIDbymsOKZwdq9bq9y/IP7N3PHCu32wty202dG2rWVqamake77N+vH7Hb7GBPUaCu1hDY8wbS6uZgk7W4E+07b2MQo0USh/K/YWFkZ4upeClYxQVNlpR943Y5fAd7cHFcB40bl1Q/uHxqram393cnW1tZRu/x094hW2z4Ptmp0IViIoMtfWVkJ2LIT8EbS6doepXL8mc9yJ1pzL318/Pi7J1tHxw6936/R+B7MBQWrxuYQzMggdDtaFkO69UaPEsZXDo2N5l7fc+DA8eMfn4T1LacLSZPgH5ngf5hgt6uS0CbNji3UNmLc06McGL93S24fvbR7zx7sPPB260S99ZkRX/x/2+yt//z/oD8DtNZkiUXJ5DU1Av6oRm5vvb57N3ZCJ6vqrWf7+ydJ8MvFYH1VrvWszewRZ6Bpmp3U9ooKVOwdMAKG8+5F/W0CcHcADg4SOEOMj1/zOhU9A7jRa7wwfuduW+EoTAKqsctrzjq7+44FB+sRJLBULM4wmdZTFTMo2Ws0Hpn/6DIae2lh23V0+9hst23y1lxu1WLwbSZoMyvelIo9Gf61VPMMKdl42DB/7+uatkI5ioY+rLHXWy9P9tucX9fIC+UB6y+RDYI+z5s8Yu03UXhPBDYYLsTfGbZi47sfwqLGnjt38IrT52uZ/V7wqIIrlUq/hb2AG7rvXTlolY/ZJ4612cfkc8fe67P1mm2TgaB9KYisZVKe1OHICMCNAxcMBsuI886nd2sOyetz6+WHrAc/+Xe8z+M52tL33l3rUvDybEsXjHk8KcuR4admYExgiyZvJP7Ep8MHa6xWa82x4S9mnfDgmn3Bwa9mnT6zjCvj8XgyscdDPT+IrBnYpLE5+0599cnw8PCfvvjLCaetVyGVic2+oGBfvM08JeWpuElcmVjsoX6x5Oz39/q6nX3f/PnUqW9OTLb4zAopOsMy+2wLwT4SnFLxeGB5oNdSGxZhk8njMR/12Vqc8fFOm68XFlySnkLRS4JOZwuCChWPy03iAVaxHInUtkDaDRaTP8MjEyvMvV0+X1evWaGSoi9EXKkZwa6u3l7WFDcpiZ2URNLmqsQvU8/BuWfAYKgz+T1imVSlmlJATTJADImh4slYU4qpJi44iM0WYY5kOV6jVjE/i3MNln0mv0Mmw27sZ+akJCTIS8IaeISA4wCRCiGVyoE/gY/V1vYgbTTM45ABxNFMQ7gBFvvwDIZ8sGKi8eFFqhxb8Ccfzl7AeSakreLOdp7v7Dzfcb6zA2tnR0cHmcgdRDMghEUkSyT/bFAzA78FZ9nnv15Bn3fRNJvNFtACpM56hYIeQ9oDFyyWfR4H6/YKKHSbTdMRNA04MpL1OIFjAh3Lu+hxOM5jxx8wAgsmzEF3HRF0RIRAkEyzQ1VPAyXWPd5zcM7zOKZk//j7b39Yt2kBHcFc4aKAMaxJxwykY1MylSqJZtMRbJIcGdhJ0sRtMlyxJpOJFkXCeNF64Nw5wH6WQ6USsbEfIGEYmrCC5GQ6meYgY06yXkDzRSIYB7R6q9fbgH6japYqlI/NEREYyRAmQQRMCSXAM4ejF0Tw+fwfUUv6GawbGvL2veWYihSFsmmOHvvBYb+enAAGC+H1eprm80VrqSA94UXeln0XPawmkQjWQBbF0QPUL9zo9XqBkM/f9eNgeNV6VM28rammyFC+AMVB2MvgQEBiBirg8MP5zwIJptfBGlUjccB8vEw9ygsoeQHkgE0Whoej4O/okXUDDSRxh6OpScTnC/U06ADyGz259HjmCIX8cBHY79HrSc9ADzU1oZ3hQiHcgQcrXMgPXY4lXWtgOu5hMV0TCoUcDjoH/8UzhOH88F2vUMvrhXUNDftI5oQWgYZ9IHOAEPr84mKfl0n9p/iqEHoINKkc/lA44Ui1P0fKK+jZdaRuFD4Uia9LKJ9kyiczFJkI25UVu4nQF1mkcaJQ4o8mYd31k1jqIfT4zk0EH4KuXYvEJbq2K/HVX1IPqy2xr72cuHaIaO2LT78au2XZXf8Da2K94EOrh08AAAAASUVORK5CYII=",Hk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUdwTP/ACvarHv/ECP/CCf/GCP++Cv/BCf/DCP+/CvatHv27Dfy4EfitG/erH/qvH/y/D//HB/WpIf3DC/arIP3EC/u+D/q3GPiwGvmyGPzCDfi0GfaxHfetHfWpIfWqIf2/EfarIP+/D//HD/m2F/m3F/aqIfWrIPWsIf3DC/y6EfasHvq8EfzBEd6mG/ewG/ezGfa1Gfq7Evq3Fv3FCvaoIf3EDPu8EvasHvzDDfvCDfvAD/mxGfvEDvi1G/q6Evq2Ff3ECe6vEfWtHvSrIPSqIvzEC//PD/28Dv+/H/zEDP//Uv/EC//DCf/CCf/ECf++C//BCv/HCP+/Cv/FCP/AC//GCP69DP/FCvuzFv/ACv7GCf25D/67Df3FCvaqICwbMf3CDPmuG/+8DPy2E/26D/3BDf+9C/u0Ff6+DP6/DP7DCv23Ef66DisaL/2/Dv7CCv7BC/zADvm1GPu1E/evHfqyF/y9D/iyGverHzAcNPu6ETkfPvesHv3DDPm2F/axHSgZLSYYKvu/EPetHTwgQf28DvqwGPmvGvizGjMdOPy5EjYeOyQWKOeuEPu9Evq4FEgwLpwmvfy7EPK3DPapIfmxGPq7FPm4FsyYFYcnvPy4Euwft2FEKvm5FbUlvzsmML8lv6h6H3tYIq6AF9civsgkvpEnvVU6LNMjv9gbpOMhv98cqd0iv80jv1Q0OrKDGrEkuZZuHrkjt9ygF8IjvOQdrI9mJP+/DLwfq6Ymv2opun0ovfOaMdMfsraGHskgsukesekgveYguvmwGqo7noUjrKogqqwlv1cos0gqPackuGIot/GyD72MFlxBIp1xIdodqN4ftjIhJ86UOt+eMXJPKsSHSmpHMOB9UZpvIYVdLMwco3YnteQesnMpveioF2E3ndlQcZQirJ4hqHQkqWolq7l0VOu0Hcg4kF8lqsJdaNommepvVvakJYdgJO2rF8eSGEEtJ8aOH5o1j+OGQuRbZ+mQPvKOO+RaaNgxk8ZLisJMi31HlJlPikdwTFLJBlMAAAEAdFJOUwD+/v7+/v7+/v7+/v7+IBC//t+AQP9AIP5/3/+/n+9/IK8QIM+Pj2Bvn+6/cFD+T+/f31/uz8+f32BwsN+Qb4Dv7/7P39/vEM8Q7xD//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wA2NtIFAAAIeUlEQVR42o3WCVQTdx4H8AlHwhERLSBKrdW1rVV72G7v3W27u+0e7yVhSCaBADHhCCbBkGBwMEhIaEiFFDAGQYooAu1SiisiFVzrUZvVVdf7Ptfe1/Z0z+7x9vubRJ+Px/r4TWaY6Hzm+/v9ZzyYcStl3szHpq5dvHjxihUrnlwwe1bKZGZiNTll9l1rI7C62lsd5a32TvIuuC9pAnRWREZVQxYItapg1aSKgoKZSROhkFFer3fSKqpQqDXUigqF0lfdlqcIc0ZVJ3i9BVAvv9y6fHkOPthxoFtM/7+x965duxaUMkOURmSJUI4lS3Jy8MlZ/qNp49qkx0CxRJMKQumAOSiHUEVFRdhRuEdO/cMPjWenko3yTkoHpUSo0qLScHWUdnTgB91mWc70cSwoLW+I5oQE7ZBK86T+PGleXp5fmufvkJaWOlY7HEugx1pMi2HTKbXIUSqVduShli4txrY0P78Y5c/z+6VSqcMxRk9dLOSuau/s7HQ40CQoGKn8/MR82ns7O78O4g4dHUU1j95q74VFbqj1ul6vd0hJ5kGAFBYWalA+TeKQXt+XHwxWgUufu2XN74P1JlSEWnNGcEVpXnExILkS2jWakpISTWGvXt91pNAXrKpC+NybdjKajhLssoDV2kM0MVFTWAiTWZKZWSLOFOP0iNWq/5aa8AX9/o5nb+BZsN4CPKEle/RW67fF+Yk+SDDQSInF4sxOj7XTpNGYNHyw2D8/0ngSmk7whtIr678JWD3f5ftoSoJiqJt4NLPX47F2Z4pN0IlBaXJktehtrmitz/nmrNXj6fVhdRBLQvgosWUqlcp45TGPR390dFRs0vgSi6VpAn4BD7iitbJ+uM9aW9uD3JLMUaJkxOJ4kpmw8dzwKegh8ajJzPsSq+4JL3U1NX396y5PbW3fEep4VEmZSlAlfpDEeTyn7K2t9egDgy1mk4kPzv8V8Gys9LVAl95a29h47IhPAxcvFi5Xojgc6YeSiyd9qhFcHxgy8Ym+hcB3IXjY4wE9ddynMZkRRBPiYkGBYdNqYTkRe+27xkbE95hNvA9LlkKrNdwIOvJTHzA1iQFJCAz3QCo2EW4gErG9x3Btj9nM8/PnMPMQnH7tYvdwhzTI8+KWkfODiOO0Sk4LIALBKQ4tQ51DWhErEkla2nuPchg7mMbMRrC7MqNmtbQqkTebjtetfCUwiBACdOBYrUC79HpnO8uyIuwSVmQuM/ELmQUJwPXLaihYI44fqVu5ssHZ0xSvFWkFr8WJqD2gtwIfBZOQZTk7V8Y/wfwcfyLSM5at9iPYZDY3bUF0gzNwlOVYETSLMbUXnXq82M5OloqwnLVzYtMvmQTgymU1Un+VjxebOY7t3rLyFVzczbJaNImdvdjgtFqtgXZCcnmMXC6XyCUiruwRptorjOxH1whGHNt0ibC1nULlsHswh75rCKewLMkYmVyCvk1MQgVGzljtl/p4U1m8SEJtDXYB9xAkQJ0EhlkwOSsBDYfT0IQr6zFy0MfzZXZImJaz+AulE05C9zqERRiRhJFMwDJsRiMnYHdGDdYryJvLRJwctqkP1jlIk1GT52kJe1pgycfEyPCRyQ1GrozxumnkdX68IWaRnQK6u5x6p7MPbYLKJJLwAwgMIlEWI0PF0cFmLy9nnqxwY7FXV1XxJrHdLpe39zU0OJ3O80i6MV5YN/Q0EcYOroix2e3lzM/cWC9grBfH2SR7cB0uHJHJ4GIwJI7yprN1K8G7WuSEycbJ4mz2GcxMd2UE8xy6vlSH67a0C61FLqWs7kPE98gUkHEKGbDFYExm5tHLCdzGl3EiSq47dLyFQMTS1dibLuE3mpCpiFYoFIiOs9ifYR4S2t6AxS4rt9vksuvdTQAKQoIUPKGm7gfj4KCJK1wG4x3MZDclr9vQjHfEaLPharqejgp/wVdfFaBHRfgrJUZTMJXMYjGmMcydbjfN3Ixkow2d4tboyn/hn9/39/dfvnz5s/f/WoFfoy0Sq8Imc1mMcxhmupBc1dzMo21LDN1ftuv9/hMDqBO7d+/dsWPHgS8qBKgSIEqRrUi1JdM/Npg5gzAl27CWKv/f+ge2b3/n6tWTJ4H3Ah/48As3CMno6Gi1Sq1QWAxPMag78YbVbAg2N5cbDRZLtmLXnwe2v7N+/bvvvrn5tTd++/pb27ZtPfDhB385DYhNla1SAbtchrsJp4SXu/mlcqPRYon7sn8AdP2+G3bTxq2HD6/5YP/+T1Qks7PVarUqOtVyPyhFZ+DlbmujZJvlyxMUu2/fm5s3vwG7adPGjX/43Zo1v9m//6NPslVqVbbw0aVSsBBdD7yhDStmsO3qhwVF7E1K9tVXr3z08YNq8GwcVAoXgiPRGJowluwfA1cx7FgK+/aVjz8/h45j1Vlq4FQEhyvpYWFomnrXiZMnN98cFg1H6Nt/2vnHz8/AxmYhWae7g7lZPxH6xtMyGr7f/Vp4jbduPfx7FCRR2IPvxarVWVlYNp1iBnNL3UO4DdGGXXv3vv4W6L8vnGlTo9rOnPvvlZ07YQ+ejoXNUufqdM//gLm15pKmvg1//2zbtn9dIEg5dIz99Nx/Dh5873QWCt90Ot0DY/7XumjdOop+yWhwud26bECMFy6cZjV/mjUllixyMfCYmrYICw5tNLpcqTpdbpYqoukwhT74HpsLm0p2rJ4rrBlFu3Q68FxKhxHwFOFEl6tLHc/Sqm0QdHm5wZWqAM6NpYdKPjIAtfz8U8z49eiiNmi84tCpCmjcAQYWEAX8OK3z+DXtCSE7rDE5aTK007Q/RMu3qQcegaYnhsnhQVCRoysZsbevtGRoDG4kTh6JVC/+OI2ZQN29MBnheNsonirV9evkp3/BTLTmpD37TPKMcvIzHr//6bQ54171PyXvl8Fid0HbAAAAAElFTkSuQmCC",Vk={class:"t-absolute t-left-0 -t-top-56 t-w-full t-flex t-justify-center t-z-20"},Uk={key:0,class:"t-flex t-flex-col t-items-center"},jk=["src"],$k={class:"t-p-[0.5px] t-bg-gradient-to-r t-from-[#9832FF] t-via-[#323CFF] t-to-[#32C8FF] t-rounded-xl",style:{"box-shadow":"0 3px 12px 0 rgba(50, 178, 255, 0.05), 0 2px 10px 0 rgba(50, 178, 255, 0.05), 0 3px 12px 0 rgba(0, 88, 142, 0.05)"}},Yk={class:"t-pl-6 t-pr-4 t-py-[14px] t-rounded-xl t-bg-white t-flex t-items-center"},Gk={class:"t-flex t-flex-col t-space-y-1"},Wk={class:"t-flex t-space-x-4"},Kk=["src"],Zk=["src"],Qk=["src"],Xk=Hr({__name:"Feedback",setup(e){const t=ir(),r=ic();async function n(i){const a={chatId:t.feedbackId,rating:i};await ci("/api/agent/chat/feedback","POST",a),u(),r.notify({message:"感谢反馈!",icon:"favorite",iconColor:"red",iconSize:"16px",classes:"feedback-notify",timeout:2e3})}function u(){t.feedbackVisible=!1}return(i,a)=>(Ie(),Ge("div",Vk,[et(Ar,{name:"fade"},{default:Sr(()=>[rt(t).feedbackVisible?(Ie(),Ge("div",Uk,[le("img",{class:"t-size-28",src:rt(Pk),alt:"头像"},null,8,jk),le("div",$k,[le("div",Yk,[le("div",Gk,[a[6]||(a[6]=le("div",{class:"t-font-semibold t-text-sm t-text-[#37393D]"},"到目前为止,我的回答有帮助吗?",-1)),le("div",Wk,[le("div",{onClick:a[0]||(a[0]=o=>n("good")),class:"t-flex t-flex-col t-space-y-1 t-justify-center t-px-3 t-py-2 t-cursor-pointer t-items-center"},[le("img",{class:"t-size-5",src:rt(Ik),alt:"有帮助"},null,8,Kk),a[3]||(a[3]=le("div",{class:"t-text-xs t-leading-5 t-font-normal t-text-[#5E6166]"},"有帮助",-1))]),le("div",{onClick:a[1]||(a[1]=o=>n("normal")),class:"t-flex t-flex-col t-space-y-1 t-justify-center t-px-3 t-py-2 t-cursor-pointer t-items-center"},[le("img",{class:"t-size-5",src:rt(Nk),alt:"一般"},null,8,Zk),a[4]||(a[4]=le("div",{class:"t-text-xs t-leading-5 t-font-normal t-text-[#5E6166]"},"一般",-1))]),le("div",{onClick:a[2]||(a[2]=o=>n("bad")),class:"t-flex t-flex-col t-space-y-1 t-justify-center t-px-3 t-py-2 t-cursor-pointer t-items-center"},[le("img",{class:"t-size-5",src:rt(Hk),alt:"不满意"},null,8,Qk),a[5]||(a[5]=le("div",{class:"t-text-xs t-leading-5 t-font-normal t-text-[#5E6166]"},"不满意",-1))])])]),a[8]||(a[8]=le("div",{class:"t-mx-4 t-border t-border-[#E5E6EB] t-border-l-0 t-h-[60px]"},null,-1)),(Ie(),Ge("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#C9CDD4",class:"t-cursor-pointer",onClick:u},a[7]||(a[7]=[le("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"},null,-1)])))])])])):Ir("",!0)]),_:1})]))}}),Jk={class:"t-flex t-space-x-2 t-w-full t-overflow-x-auto"},eS={key:"key",class:"t-mb-2"},tS=["onClick"],rS=["innerHTML"],nS={class:"t-text-sm t-text-[#222222] t-font-normal t-whitespace-nowrap"},uS=Hr({__name:"ShortcutList",setup(e){const t=ir(),{chat:r}=Di();return(n,u)=>(Ie(),Ge("div",Jk,[(Ie(!0),Ge(Vt,null,ju(rt(t).shortcutList,i=>(Ie(),Ge("div",eS,[le("div",{class:"t-py-1.5 t-px-3 t-space-x-1 t-rounded-md t-flex t-items-center t-bg-white t-cursor-pointer t-w-fit",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},onClick:a=>rt(r)(i.content.data.content,null)},[le("div",{class:"t-size-4",innerHTML:i.content.icon},null,8,rS),le("div",nS,rn(i.content.name),1)],8,tS)]))),128))]))}}),iS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABRUExURUdwTPX19fX19fX19fj4+Pf39/X19fX19fX19fT09PX19fX19fT09PX19fT09PT09PT09NTU1PX19fPz8+bm5tnZ2enp6dzc3N/f3+7u7tbW1iVNXl4AAAARdFJOUwCQQO8QIK/fYHCfvzDPv+9QewCgwQAAAsNJREFUeNrFmuuOozAMhQsEHG5t1yEh9P0fdGdXI1ndTePYEM33c0Y6JseOCU5vZZh2bIYVHvjFA+ahGVtzuwpjJ8AE62T7C9THGTPMJ2O0M7IMT/3DAxYBVqU/PpBHH6IF5NGH6AcUMwnSbcmdGoswDSppTJE9gGqgwKblgSeAhbUfT2KZ4sfTjJX0iZH1p5pLC17EIqhPFV2yWg3gZUBqxzV4IU2lBBNWmQB9Gia8mKGSQUT7FgDwckCxAH3LAKxAZ65YgNt2Hx23BNCr//rDzmThqVf/5sgX0qBV5wLM35tYq044TGMoxQp1IuYr9a5UJwJixqNeo847RB5ZpToR8117kqrzDhHTV4BVqU64bMczGnXeIUpCq1T3PusQbeZR9+xbJIfyPbtJyzPObFuZQ9ikG9Hx4vWLHMIhuY+dz8q/jo2pIWJNvgtCVt+7g68hqtMO/2fP67sXt8uI7oYJcg7tznl+lxHSABu+60fUBIgZ/X+iB1WAI9PWYlEfIpJJxu1DedJ/Sh3qqEzZCN7R34sdgk/d2vmUfijs1MT8+cwS3kNEl+ggETmGzJeTi2/lk1pVQI6G2nVmEaQvdQhHeuFkFvEKaf1Y8hliuDdyjMHR7hM6hIY/WlPhKhxa+WMLdXCNQ1Pm4MX3v1D2uWywACc6DxF96eHX6RyaS6dQzqkdKvXIax0q9WiTO0TjhBYL2BUOPSWfsYfcIZANGzexQ5amaR3yOC90CKTz0kPokBWPc6LAIVqAoJDcK+MQN7UbZC3VF/TRd/pOUkneyW8SLBLcW3oXZFg8mD1CcMjS/MBomdJwHuhrj/drX1DUv2KpGmGsfs3FsACeoFtqXzX+6GUpYUFljxVcWE8oZiB7aiwC2huPPkRHxV8jBIzmpuQ5IMtM5mjo7T2rTg9/Jsa0Jp2ZrEid//nPHbq/GYVV8POf3/rD+QfN5ZU1AAAAAElFTkSuQmCC",aS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABXUExURUdwTBZd/xVd/xZc/xtf/xdf/xZc/xVc/xZc/xZd/xdc/xZd/xZc/xZd/xZd/xZd/////yRn/zZz/22Z/8XX/3yk/+Lr/7bM/4qu/527/1aJ/9Ph//H1/9X2gBUAAAAPdFJOUwC/r5AQIO/fYHBAnzDPUOQSnzQAAALQSURBVHjaxZphk6MgDIarIojW5qCtrdr//ztvb2bv3umcJSTK7PNxdyaRhxApeMrD9L6pR2fpC+uquvG9OR2F6QZHG4xD1x4Q3VeUoNqZo6+Ipb7oH95RFq5TxfeWwPEpejx9iRRtTWIGwXR3sFNiEKYhJY3J0uNIjcvQdLa0A3dm9dNOmInwtBtfKD7wrJ9ils50EGdBfaqwm9VqHB2G21pxDR1IU2iCQaecAP00DHQwdSFBoH9L4OhwXKEBAF9mAMCaIwYQ7rd1jtwQnD76rz/cmFm46KN/E9OFVCujg4U2qb4XsTY6CLSNwRQrooNHulIrZXRwJUo4ajXReUNw1Gmi84bQtQdpdN4QGL4SjMroICQ7ntFE5w1hEnpl9HVKGsJi9rpnnx8pQ8B/2ExExszzmTQEmu1GFF/p+PdnuoZAvbmO45QM/1ruTA2BcfNdcE3Gn2Lkawh1aul/khOwRghkDZE90QYpQ7fwLjBQGmmCmcLErTI+wfy5PIlWtg/xCZZEW5uz+hDYnGR6fihP/CfXkEWZshmmiL9nG3Lo1txaWyPc5RuqPu9ZrtO7jIAOwhoCdeKXU5zfyhOj4g2BBu06OYgn4osMkT/1lCDM/8qHwip5l+GFYyhJvM/zNdAXD8HbHhh+a43CVRga+W0LOrjG0JC98VqZ/VBi42UogyDaD4E2d/MbdYaq7FOoqDaU62jSGsp1dJcbwnFCTxncFIYukp+xUW7IyQ4bn2JDODMylnjCJDTkpOeli9BQJz7OmQWGMABBIYVXpiEMANSyljpl9NF3WiuppCnKbxI6Atxb+hZ5QeqD2WVZArE0P3C0jGnYj2tLH++XvqAof8VSNIMvfs3FcHa0A3sufdX4o5eloHMqPdDP0g4kpoaeEoNwuPAokcKi+EukcN6clFxqYqkgR0PbVcnoePg9OYZx08zQiaLzn/9Ufz//GQWf//wGwSSwYgKfxgYAAAAASUVORK5CYII=",oS={class:"t-flex t-flex-col-reverse t-pl-4 t-pr-1 t-py-3 t-space-x-4 t-w-full bg-white t-max-h-[40vh] t-rounded-3xl t-relative",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"}},sS={class:"t-size-8 t-cursor-pointer t-absolute t-right-3 t-bottom-[6px] cursor-not-allowed"},lS=["src"],cS={class:"t-size-8 t-cursor-pointer t-absolute t-right-3 t-bottom-[6px]"},fS=["src"],dS=Hr({__name:"ChatInput",setup(e){const{chat:t}=Di(),r=xe("");Ne(r,()=>{n()});function n(){const o=document.getElementById("chat-input");o&&(o.style.height="auto",o.style.height=o.scrollHeight+"px")}function u(){r.value="";const o=document.getElementById("chat-input");o&&(o.value="")}const i=o=>{o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),r.value.trim()!==""&&a(r.value))};function a(o){t(o,null),u()}return(o,s)=>(Ie(),Ge("div",oS,[ql(le("textarea",{id:"chat-input",rows:"1",class:"focus-visible:t-outline-none t-resize-none t-pr-11","onUpdate:modelValue":s[0]||(s[0]=l=>r.value=l),placeholder:"请输入你的学习问题",onKeydown:i},null,544),[[_p,r.value]]),le("button",sS,[r.value.trim()===""?(Ie(),Ge("img",{key:0,src:rt(iS),alt:"禁止发送"},null,8,lS)):Ir("",!0)]),le("button",cS,[r.value.trim()!==""?(Ie(),Ge("img",{key:0,onClick:s[1]||(s[1]=l=>a(r.value.trim())),src:rt(aS),alt:"发送"},null,8,fS)):Ir("",!0)])]))}}),hS={class:"t-flex t-flex-col t-w-full t-p-4 t-relative"},mS=Hr({__name:"ChatContainer",setup(e){const t=ir(),{initBellhop:r,clickLink:n}=n3();return fn(()=>{r()}),document.addEventListener("click",u=>{n(u)}),(u,i)=>(Ie(),Ge(Vt,null,[le("div",{class:R0(["t-flex t-flex-col t-justify-between t-border-[2px] t-border-white t-bg-[#F5F5F7] t-w-full t-h-full",{"t-rounded-2xl":rt(t).deviceType==="PC"}])},[et(Lk),et(ox),le("div",hS,[et(Xk),et(uS),et(dS)])],2),et(kk),et(Dk)],64))}}),pS=G5(),Pc=n2(mS);Pc.use(pS);Pc.use(Xp,{plugins:{Notify:R5,Loading:zr},lang:Y5});Pc.mount("#app");
326
+ `,type:"Send",data:{content:"重新制定学习计划"}}}];function Zm(){function e(){const r=ir();r.shortcutList=r.variables?.studyPlanGenerated?Uw:Vw}function t(){const r=ir();r.shortcutList=r.shortcutList.filter(n=>n.key!=="plan.create")}return{initShortcutList:e,updateShortcutList:t}}const jw={class:"t-bg-white t-flex t-flex-col"},$w={class:"t-fixed t-left-0 t-top-0 t-w-full t-flex t-items-center t-justify-between t-p-4 t-border-b-[1px] t-border-[#EBEBEB] t-bg-white t-z-10"},Yw={class:"t-pt-[89px] t-pb-[93px] t-flex t-flex-col t-px-5 t-h-fit overflow-y-auto t-space-y-8"},Gw={class:"t-flex t-flex-col t-space-y-5 t-w-full"},Ww={class:"t-flex t-items-center t-space-x-2"},Kw={class:"t-flex t-items-center t-flex-1 t-border t-border-[#DCDEE0] t-rounded-md t-px-3"},Zw={class:"t-flex t-items-center t-flex-1 t-border t-border-[#DCDEE0] t-rounded-md t-px-3"},Qw={class:"t-flex t-flex-col t-space-y-5 t-w-full"},Xw={class:"t-flex t-space-x-2.5"},Jw=["onClick"],ek={key:0,class:"t-flex t-flex-col t-space-y-5 t-w-full"},tk={class:"t-flex t-border t-border-[#DCDEE0] t-rounded-md t-w-fit"},rk={class:"t-px-3 t-w-[80px]"},nk={key:1,class:"t-flex t-flex-col t-space-y-5 t-w-full"},uk={class:"t-flex t-justify-center t-w-full"},ik={class:"t-space-y-2.5 t-flex t-flex-col t-items-center"},ak=["src"],ok={key:2,class:"t-flex t-flex-col t-space-y-5 t-w-full"},sk={class:"t-flex t-flex-col t-space-y-5"},lk={class:"t-px-4 t-py-2 t-text-sm t-text-[#87898F] t-font-semibold t-w-full t-rounded-lg t-bg-gradient-to-r t-from-[rgba(245,245,245)] t-to-white t-mb-5"},ck={class:"t-flex t-flex-col t-px-5"},fk={class:"t-flex t-w-full t-space-x-5"},dk=["src"],hk=["src"],mk={class:"t-flex t-flex-col t-space-y-1 t-w-full"},pk={class:"t-text-sm t-text-[#37393D] t-font-semibold t-truncate"},vk={class:"t-text-xs t-text-[#87898F] t-font-normal"},gk=["src"],bk={class:"t-fixed t-left-0 t-bottom-0 t-w-full t-px-6 t-py-4 t-border-t-[1px] t-border-[#EBEBEB] t-bg-white t-z-10"},yk=Hr({__name:"StudyPlanDialog",setup(e){const t=ir(),{chat:r}=_i(),{updateShortcutList:n}=Zm();function u(){t.studyPlanDialogVisible=!1}const i=we(""),a=we(""),o=we([1,2,3,4,5,6,7]),s=we(2),l=M=>{const U=I(),B=N(),ne=M>=U,L=B?M<=ue(B):!0;return ne&&L;function I(){return y0.formatDate(new Date,"YYYY/MM/DD")}function N(){const te=y.value.filter(H=>H.value!=="").map(H=>H.value);return te.length>0&&[...te].sort().pop()||null}function ue(te){const H=a.value===""?te:a.value;return y0.formatDate(H,"YYYY/MM/DD")}},c=M=>{const U=y0.formatDate(new Date,"YYYY/MM/DD");if(i.value===""){const B=new Date;B.setFullYear(B.getFullYear()+1);const ne=y0.formatDate(B,"YYYY/MM/DD");return M>=U&&M<=ne}else{const B=y0.formatDate(i.value,"YYYY/MM/DD"),ne=new Date(i.value);ne.setFullYear(ne.getFullYear()+1);const L=y0.formatDate(ne,"YYYY/MM/DD");return M>=B&&M<=L}},f=we(!1),m=we(!1),p=we([{text:"一",value:1},{text:"二",value:2},{text:"三",value:3},{text:"四",value:4},{text:"五",value:5},{text:"六",value:6},{text:"日",value:7}]);function v(M){if(o.value.length===1&&o.value.includes(M)){D.notify({message:"至少选一天!",classes:"study-day-notify",timeout:2e3});return}o.value.includes(M)?o.value=o.value.filter(U=>U!==M):o.value.push(M)}const x=()=>{if(!s.value){s.value=1;return}let M=parseFloat(s.value.toString());if(isNaN(M)){s.value=1;return}M=Math.max(.5,Math.min(24,M));let U=Math.round(M*2)/2;const B=U-Math.floor(U);B>0&&B<.5?U=Math.floor(U)+.5:B>.5&&(U=Math.ceil(U)),U=Math.min(24,U),s.value=U},y=we([{label:"学完即止",value:""}]),T=M=>{const U=y0.formatDate(new Date,"YYYY-MM-DD");return M.filter(B=>B>=U).sort((B,ne)=>B.localeCompare(ne)).map(B=>({label:B,value:B}))},D=uc(),_=we(!1);async function w(){const M={workflow:"plan.getGenerateConfig",inputs:{courseId:t.getChatMetadata.courseId}},U=await ci("/agent_worker","POST",M);U.ok&&(y.value=[{label:"学完即止",value:""},...T(U.outputs.deadlines)],Z.value=y.value,_.value=U.outputs.canGenerate)}const F=we([]),j=M=>{const U=M.reduce((B,ne)=>{const{date:L,title:I,duration:N}=ne;return B[L]||(B[L]=[]),B[L].push({title:I,duration:N}),B},{});return Object.entries(U).map(([B,ne])=>({date:B,items:ne}))};async function z(){const M={workflow:"plan.preview",inputs:{courseId:t.getChatMetadata.courseId,startDate:i.value===""?null:i.value,endDate:a.value===""?null:a.value,weekDays:o.value,dailyLearnDuration:a.value===""?s.value:null}},U=await ci("/agent_worker","POST",M);F.value=j(U.outputs.tasks)}const V=["周日","周一","周二","周三","周四","周五","周六"],S=W(()=>{const M=Ld(i.value),U=Ld(a.value),B=o.value.sort((ne,L)=>ne-L).map(ne=>`周${Hw(ne)}`).join("、");return`我将从${i.value===""?"今日开始":M}在每${B}学习,${a.value===""?`每次学习${s.value}小时,`:""}直到${a.value===""?"学完即止":`${U}完成学习`}`});async function Y(){_.value&&(await r(S.value,{workflow:"plan.generate",inputs:{workerUrl:t.getChatMetadata.workerUrl,courseId:t.getChatMetadata.courseId,startDate:i.value===""?null:i.value,endDate:a.value===""?null:a.value,weekDays:o.value,dailyLearnDuration:s.value}}),n(),u())}Ne(()=>t.studyPlanDialogVisible,async M=>{M&&(D.loading.show(),await w(),_.value&&await z(),D.loading.hide())},{deep:!0});const Z=we([]);return Ne(i,M=>{if(M==="")Z.value=y.value;else{if(a.value!==""&&M>a.value&&(a.value=M),y.value.length===1)return;Z.value=[{label:"学完即止",value:""},...y.value.filter(U=>new Date(U.value)>=new Date(i.value))]}}),Ne([i,a,o,s],async()=>{_.value&&await z()},{deep:!0}),(M,U)=>(Ie(),M0(Zu,{modelValue:rt(t).studyPlanDialogVisible,"onUpdate:modelValue":U[14]||(U[14]=B=>rt(t).studyPlanDialogVisible=B),maximized:"","transition-show":"slide-up","transition-hide":"slide-down"},{default:Sr(()=>[le("div",jw,[le("div",$w,[(Ie(),Ge("svg",{class:"t-cursor-pointer",onClick:u,xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#1F1F1F"},U[15]||(U[15]=[le("path",{d:"M624-96 240-480l384-384 68 68-316 316 316 316-68 68Z"},null,-1)]))),U[16]||(U[16]=le("div",{class:"t-text-base t-text-[#333] t-font-medium"},"制定学习计划",-1)),U[17]||(U[17]=le("svg",{class:"t-opacity-0",xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#222222"},[le("path",{d:"m291-240-51-51 189-189-189-189 51-51 189 189 189-189 51 51-189 189 189 189-51 51-189-189-189 189Z"})],-1))]),le("div",Yw,[le("div",Gw,[U[19]||(U[19]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"起止时间",-1)),le("div",Ww,[le("div",Kw,[et(As,{modelValue:i.value,"onUpdate:modelValue":U[0]||(U[0]=B=>i.value=B),dense:"",readonly:"",borderless:"",placeholder:"从今日起",onClick:U[1]||(U[1]=B=>f.value=!0),class:"t-w-full date-input-placeholder"},{append:Sr(()=>[et(Er,{name:"calendar_today",size:"14px",style:{color:"#c0c0c2"}})]),_:1},8,["modelValue"]),et(Zu,{modelValue:f.value,"onUpdate:modelValue":U[5]||(U[5]=B=>f.value=B)},{default:Sr(()=>[et(_d,{class:"study-date-picker",modelValue:i.value,"onUpdate:modelValue":[U[3]||(U[3]=B=>i.value=B),U[4]||(U[4]=B=>f.value=!1)],minimal:"",mask:"YYYY-MM-DD",options:l},{default:Sr(()=>[le("button",{class:"t-w-full t-rounded-md t-font-normal t-text-sm t-px-2.5 t-py-1.5 t-border",onClick:U[2]||(U[2]=B=>{i.value="",f.value=!1})},"从今日起")]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),U[18]||(U[18]=le("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16px",viewBox:"0 -960 960 960",width:"16px",fill:"#858585"},[le("path",{d:"m600-216-51-51 177-177H96v-72h630L549-693l51-51 264 264-264 264Z"})],-1)),le("div",Zw,[y.value.length>1?(Ie(),M0(Rw,{key:0,class:"t-w-full",borderless:"",dense:"",modelValue:a.value,"onUpdate:modelValue":U[6]||(U[6]=B=>a.value=B),"dropdown-icon":"keyboard_arrow_down","emit-value":"","map-options":"",behavior:"dialog",options:Z.value},null,8,["modelValue","options"])):(Ie(),M0(As,{key:1,modelValue:a.value,"onUpdate:modelValue":U[7]||(U[7]=B=>a.value=B),dense:"",readonly:"",borderless:"",placeholder:"学完即止",onClick:U[8]||(U[8]=B=>m.value=!0),class:"t-w-full date-input-placeholder"},{append:Sr(()=>[et(Er,{name:"calendar_today",size:"14px",style:{color:"#c0c0c2"}})]),_:1},8,["modelValue"])),et(Zu,{modelValue:m.value,"onUpdate:modelValue":U[12]||(U[12]=B=>m.value=B)},{default:Sr(()=>[et(_d,{class:"study-date-picker",modelValue:a.value,"onUpdate:modelValue":[U[10]||(U[10]=B=>a.value=B),U[11]||(U[11]=B=>m.value=!1)],minimal:"",mask:"YYYY-MM-DD",options:c},{default:Sr(()=>[le("button",{class:"t-w-full t-rounded-md t-font-normal t-text-sm t-px-2.5 t-py-1.5 t-border",onClick:U[9]||(U[9]=B=>{a.value="",m.value=!1})},"学完即止")]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])])]),le("div",Qw,[U[20]||(U[20]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"每周学习日",-1)),le("div",Xw,[(Ie(!0),Ge(Vt,null,ju(p.value,B=>(Ie(),Ge("button",{key:B.value,onClick:ne=>v(B.value),class:O0(["t-rounded-md t-font-normal t-text-base t-px-2.5 t-py-1.5 t-border",{"t-text-primary t-bg-[rgba(22,93,255,0.04)]":o.value.includes(B.value),"t-border-primary t-text-[#37393D]":o.value.includes(B.value)}])},rn(B.text),11,Jw))),128))])]),a.value===""?(Ie(),Ge("div",ek,[U[22]||(U[22]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"每日学习时长",-1)),le("div",tk,[le("div",rk,[et(As,{modelValue:s.value,"onUpdate:modelValue":U[13]||(U[13]=B=>s.value=B),onBlur:x,borderless:"",dense:"",type:"number",min:"0.5",max:"24",step:"0.5"},null,8,["modelValue"])]),U[21]||(U[21]=le("div",{class:"t-px-3 t-py-2 t-flex t-w-fit t-items-center t-text-[#37393D] t-text-text-sm w-h-full t-border-l t-border-[#DCDEE0] t-bg-[#FAFAFA] t-font-normal t-rounded-r-md"},"小时",-1))])])):Pr("",!0),_.value?(Ie(),Ge("div",ok,[U[25]||(U[25]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"已为你智能生成学习计划",-1)),le("div",sk,[(Ie(!0),Ge(Vt,null,ju(F.value,B=>(Ie(),Ge("div",null,[le("div",lk,rn(`${B.date.replace(/-/g,"/")} ${V[new Date(B.date).getDay()]}`),1),(Ie(!0),Ge(Vt,null,ju(B.items,(ne,L)=>(Ie(),Ge("div",ck,[le("div",fk,[L+1===B.items.length?(Ie(),Ge("img",{key:0,class:"t-w-[9px] t-h-[46px]",src:rt(Iw),alt:"连线"},null,8,dk)):(Ie(),Ge("img",{key:1,class:"t-w-[9px] t-h-[46px]",src:rt(Pw),alt:"连线"},null,8,hk)),le("div",mk,[le("div",pk,rn(ne.title),1),le("div",vk,rn(`用时 · ${ne.duration}`),1)])]),L+1!==B.items.length?(Ie(),Ge("img",{key:0,class:"t-w-[1px] t-h-5 t-ml-1",src:rt(Nw),alt:"连线"},null,8,gk)):Pr("",!0)]))),256))]))),256))])])):(Ie(),Ge("div",nk,[U[24]||(U[24]=le("div",{class:"t-text-lg t-font-semibold t-text-[#37393D]"},"学习计划",-1)),le("div",uk,[le("div",ik,[le("img",{class:"t-w-[120px] t-h-[100px]",src:rt(Lw),alt:"empty"},null,8,ak),U[23]||(U[23]=le("div",{class:"t-text-sm t-text-[#5E6166] t-font-normal"},"该课程暂无待制定的学习任务",-1))])])]))]),le("div",bk,[le("button",{class:O0(["t-w-full t-border t-rounded-lg t-px-4 t-py-[7px] t-text-base t-font-normal",{"t-bg-[#165DFF] t-border-[#165DFF] t-text-white hover:t-bg-[#4080FF] hover:t-border-[#4080FF] focus:t-bg-[#0E42D2] focus:t-border-[#0E42D2]":_.value,"t-bg-[#F5F5F5] t-border-[#DCDEE0] t-text-[#C0C0C2] t-cursor-not-allowed":!_.value}]),onClick:Y},"生成学习计划",2)])])]),_:1},8,["modelValue"]))}}),xk={class:"t-bg-white t-flex t-flex-col"},wk={class:"t-fixed t-left-0 t-top-0 t-w-full t-flex t-items-center t-justify-between t-p-4 t-border-b-[1px] t-border-[#EBEBEB] t-bg-white t-z-10"},kk={class:"t-pt-[57px] t-flex t-flex-col t-h-full t-w-full"},Sk=["src"],Ak=Hr({__name:"NewsDialog",setup(e){const t=ir();function r(){t.newsDialogVisible=!1}return(n,u)=>(Ie(),M0(Zu,{modelValue:rt(t).newsDialogVisible,"onUpdate:modelValue":u[0]||(u[0]=i=>rt(t).newsDialogVisible=i),maximized:"","transition-show":"slide-up","transition-hide":"slide-down"},{default:Sr(()=>[le("div",xk,[le("div",wk,[(Ie(),Ge("svg",{class:"t-cursor-pointer",onClick:r,xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#1F1F1F"},u[1]||(u[1]=[le("path",{d:"M624-96 240-480l384-384 68 68-316 316 316 316-68 68Z"},null,-1)]))),u[2]||(u[2]=le("div",{class:"t-text-base t-text-[#333] t-font-medium"},"资讯",-1)),u[3]||(u[3]=le("svg",{class:"t-opacity-0",xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#222222"},[le("path",{d:"m291-240-51-51 189-189-189-189 51-51 189 189 189-189 51 51-189 189 189 189-51 51-189-189-189 189Z"})],-1))]),le("div",kk,[le("iframe",{class:"t-w-full t-h-full",src:(rt(t).selectedMessage?.content).data.url},null,8,Sk)])])]),_:1},8,["modelValue"]))}}),Ck=""+new URL("assistant-icon-TfdLKQGo.png",import.meta.url).href;function ln(e){return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ln(e)}function Qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _k(e){var t=function(r,n){if(ln(r)!="object"||!r)return r;var u=r[Symbol.toPrimitive];if(u!==void 0){var i=u.call(r,n);if(ln(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(e,"string");return ln(t)=="symbol"?t:String(t)}function Dk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_k(n.key),n)}}function Xm(e,t,r){return t&&Dk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ek=function(){function e(){Qm(this,e),this._listeners={}}return Xm(e,[{key:"on",value:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._listeners[t]||(this._listeners[t]=[]),r._priority=parseInt(n)||0,this._listeners[t].indexOf(r)===-1&&(this._listeners[t].push(r),this._listeners[t].length>1&&this._listeners[t].sort(this.listenerSorter))}},{key:"listenerSorter",value:function(t,r){return t._priority-r._priority}},{key:"off",value:function(t,r){if(this._listeners[t]!==void 0)if(r!==void 0){var n=this._listeners[t].indexOf(r);-1<n&&this._listeners[t].splice(n,1)}else delete this._listeners[t]}},{key:"trigger",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof t=="string"&&(t={type:t,data:ln(r)==="object"&&r!==null?r:{}}),this._listeners[t.type]!==void 0)for(var n=this._listeners[t.type].length-1;n>=0;n--)this._listeners[t.type][n](t)}},{key:"destroy",value:function(){this._listeners={}}}]),e}();function yl(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */yl=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,u=Object.defineProperty||function(L,I,N){L[I]=N.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(L,I,N){return Object.defineProperty(L,I,{value:N,enumerable:!0,configurable:!0,writable:!0}),L[I]}try{l({},"")}catch{l=function(I,N,ue){return I[N]=ue}}function c(L,I,N,ue){var te=I&&I.prototype instanceof T?I:T,H=Object.create(te.prototype),q=new B(ue||[]);return u(H,"_invoke",{value:Y(L,N,q)}),H}function f(L,I,N){try{return{type:"normal",arg:L.call(I,N)}}catch(ue){return{type:"throw",arg:ue}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",v="executing",x="completed",y={};function T(){}function D(){}function _(){}var w={};l(w,a,function(){return this});var F=Object.getPrototypeOf,j=F&&F(F(ne([])));j&&j!==r&&n.call(j,a)&&(w=j);var z=_.prototype=T.prototype=Object.create(w);function V(L){["next","throw","return"].forEach(function(I){l(L,I,function(N){return this._invoke(I,N)})})}function S(L,I){function N(te,H,q,he){var Me=f(L[te],L,H);if(Me.type!=="throw"){var Fe=Me.arg,oe=Fe.value;return oe&&ln(oe)=="object"&&n.call(oe,"__await")?I.resolve(oe.__await).then(function(ve){N("next",ve,q,he)},function(ve){N("throw",ve,q,he)}):I.resolve(oe).then(function(ve){Fe.value=ve,q(Fe)},function(ve){return N("throw",ve,q,he)})}he(Me.arg)}var ue;u(this,"_invoke",{value:function(te,H){function q(){return new I(function(he,Me){N(te,H,he,Me)})}return ue=ue?ue.then(q,q):q()}})}function Y(L,I,N){var ue=m;return function(te,H){if(ue===v)throw new Error("Generator is already running");if(ue===x){if(te==="throw")throw H;return{value:e,done:!0}}for(N.method=te,N.arg=H;;){var q=N.delegate;if(q){var he=Z(q,N);if(he){if(he===y)continue;return he}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(ue===m)throw ue=x,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);ue=v;var Me=f(L,I,N);if(Me.type==="normal"){if(ue=N.done?x:p,Me.arg===y)continue;return{value:Me.arg,done:N.done}}Me.type==="throw"&&(ue=x,N.method="throw",N.arg=Me.arg)}}}function Z(L,I){var N=I.method,ue=L.iterator[N];if(ue===e)return I.delegate=null,N==="throw"&&L.iterator.return&&(I.method="return",I.arg=e,Z(L,I),I.method==="throw")||N!=="return"&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+N+"' method")),y;var te=f(ue,L.iterator,I.arg);if(te.type==="throw")return I.method="throw",I.arg=te.arg,I.delegate=null,y;var H=te.arg;return H?H.done?(I[L.resultName]=H.value,I.next=L.nextLoc,I.method!=="return"&&(I.method="next",I.arg=e),I.delegate=null,y):H:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,y)}function M(L){var I={tryLoc:L[0]};1 in L&&(I.catchLoc=L[1]),2 in L&&(I.finallyLoc=L[2],I.afterLoc=L[3]),this.tryEntries.push(I)}function U(L){var I=L.completion||{};I.type="normal",delete I.arg,L.completion=I}function B(L){this.tryEntries=[{tryLoc:"root"}],L.forEach(M,this),this.reset(!0)}function ne(L){if(L||L===""){var I=L[a];if(I)return I.call(L);if(typeof L.next=="function")return L;if(!isNaN(L.length)){var N=-1,ue=function te(){for(;++N<L.length;)if(n.call(L,N))return te.value=L[N],te.done=!1,te;return te.value=e,te.done=!0,te};return ue.next=ue}}throw new TypeError(ln(L)+" is not iterable")}return D.prototype=_,u(z,"constructor",{value:_,configurable:!0}),u(_,"constructor",{value:D,configurable:!0}),D.displayName=l(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(L){var I=typeof L=="function"&&L.constructor;return!!I&&(I===D||(I.displayName||I.name)==="GeneratorFunction")},t.mark=function(L){return Object.setPrototypeOf?Object.setPrototypeOf(L,_):(L.__proto__=_,l(L,s,"GeneratorFunction")),L.prototype=Object.create(z),L},t.awrap=function(L){return{__await:L}},V(S.prototype),l(S.prototype,o,function(){return this}),t.AsyncIterator=S,t.async=function(L,I,N,ue,te){te===void 0&&(te=Promise);var H=new S(c(L,I,N,ue),te);return t.isGeneratorFunction(I)?H:H.next().then(function(q){return q.done?q.value:H.next()})},V(z),l(z,s,"Generator"),l(z,a,function(){return this}),l(z,"toString",function(){return"[object Generator]"}),t.keys=function(L){var I=Object(L),N=[];for(var ue in I)N.push(ue);return N.reverse(),function te(){for(;N.length;){var H=N.pop();if(H in I)return te.value=H,te.done=!1,te}return te.done=!0,te}},t.values=ne,B.prototype={constructor:B,reset:function(L){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(U),!L)for(var I in this)I.charAt(0)==="t"&&n.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=e)},stop:function(){this.done=!0;var L=this.tryEntries[0].completion;if(L.type==="throw")throw L.arg;return this.rval},dispatchException:function(L){if(this.done)throw L;var I=this;function N(Me,Fe){return H.type="throw",H.arg=L,I.next=Me,Fe&&(I.method="next",I.arg=e),!!Fe}for(var ue=this.tryEntries.length-1;ue>=0;--ue){var te=this.tryEntries[ue],H=te.completion;if(te.tryLoc==="root")return N("end");if(te.tryLoc<=this.prev){var q=n.call(te,"catchLoc"),he=n.call(te,"finallyLoc");if(q&&he){if(this.prev<te.catchLoc)return N(te.catchLoc,!0);if(this.prev<te.finallyLoc)return N(te.finallyLoc)}else if(q){if(this.prev<te.catchLoc)return N(te.catchLoc,!0)}else{if(!he)throw new Error("try statement without catch or finally");if(this.prev<te.finallyLoc)return N(te.finallyLoc)}}}},abrupt:function(L,I){for(var N=this.tryEntries.length-1;N>=0;--N){var ue=this.tryEntries[N];if(ue.tryLoc<=this.prev&&n.call(ue,"finallyLoc")&&this.prev<ue.finallyLoc){var te=ue;break}}te&&(L==="break"||L==="continue")&&te.tryLoc<=I&&I<=te.finallyLoc&&(te=null);var H=te?te.completion:{};return H.type=L,H.arg=I,te?(this.method="next",this.next=te.finallyLoc,y):this.complete(H)},complete:function(L,I){if(L.type==="throw")throw L.arg;return L.type==="break"||L.type==="continue"?this.next=L.arg:L.type==="return"?(this.rval=this.arg=L.arg,this.method="return",this.next="end"):L.type==="normal"&&I&&(this.next=I),y},finish:function(L){for(var I=this.tryEntries.length-1;I>=0;--I){var N=this.tryEntries[I];if(N.finallyLoc===L)return this.complete(N.completion,N.afterLoc),U(N),y}},catch:function(L){for(var I=this.tryEntries.length-1;I>=0;--I){var N=this.tryEntries[I];if(N.tryLoc===L){var ue=N.completion;if(ue.type==="throw"){var te=ue.arg;U(N)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(L,I,N){return this.delegate={iterator:ne(L),resultName:I,nextLoc:N},this.method==="next"&&(this.arg=e),y}},t}function Pd(e,t,r,n,u,i,a){try{var o=e[i](a),s=o.value}catch(l){return void r(l)}o.done?t(s):Promise.resolve(s).then(n,u)}function Jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},pu(e)}function xl(){return xl=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(i,a){for(;!Object.prototype.hasOwnProperty.call(i,a)&&(i=pu(i))!==null;);return i}(e,t);if(n){var u=Object.getOwnPropertyDescriptor(n,t);return u.get?u.get.call(arguments.length<3?e:r):u.value}},xl.apply(this,arguments)}function wl(e,t){return wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},wl(e,t)}function Mk(e){var t=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,n=pu(e);if(t){var u=pu(this).constructor;r=Reflect.construct(n,arguments,u)}else r=n.apply(this,arguments);return function(i,a){if(a&&(ln(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jm(i)}(this,r)}}var Tk=function(e){(function(n,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(u&&u.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),u&&wl(n,u)})(r,Ek);var t=Mk(r);function r(){var n,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:100*Math.random()|0;return Qm(this,r),(n=t.call(this)).id="BELLHOP:".concat(u),n.connected=!1,n.isChild=!0,n.connecting=!1,n.debug=!1,n.origin="*",n._sendLater=[],n.iframe=null,n.receive=n.receive.bind(Jm(n)),n}return Xm(r,[{key:"receive",value:function(n){if(this.target===n.source)if(this.logDebugMessage(!0,n),n.data==="connected")this.onConnectionReceived(n.data);else{var u=n.data;if(typeof u=="string")try{u=JSON.parse(u)}catch(i){console.warn("Bellhop error: ",i)}this.connected&&ln(u)==="object"&&u.type&&this.trigger(u)}}},{key:"onConnectionReceived",value:function(n){if(this.connecting=!1,this.connected=!0,!this.isChild){if(!this.target)return;this.target.postMessage(n,this.origin)}for(var u=0;u<this._sendLater.length;u++){var i=this._sendLater[u],a=i.type,o=i.data;this.send(a,o)}this._sendLater.length=0,this.trigger("connected")}},{key:"connect",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"*";this.connecting||(this.disconnect(),this.connecting=!0,n instanceof HTMLIFrameElement&&(this.iframe=n),this.isChild=n===void 0,this.supported=!0,this.isChild&&(this.supported=window!=n),this.origin=u,window.addEventListener("message",this.receive),this.isChild&&(window===this.target?this.trigger("failed"):this.target.postMessage("connected",this.origin)))}},{key:"disconnect",value:function(){this.connected=!1,this.connecting=!1,this.origin=null,this.iframe=null,this.isChild=!0,this._sendLater.length=0,window.removeEventListener("message",this.receive)}},{key:"send",value:function(n){if(typeof n!="string")throw"The event type must be a string";var u={type:n,data:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}};this.logDebugMessage(!1,u),this.connecting?this._sendLater.push(u):this.target.postMessage(JSON.stringify(u),this.origin)}},{key:"fetch",value:function(n,u){var i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!this.connecting&&!this.connected)throw"No connection, please call connect() first";this.on(n,function s(l){o&&i.off(l.type,s),u(l)}),this.send(n,a)}},{key:"respond",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0&&arguments[2],a=this,o=function(){var s,l=(s=yl().mark(function c(f){return yl().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(i&&a.off(f,o),typeof u!="function"){m.next=10;break}return m.t0=a,m.t1=f.type,m.next=6,u();case 6:m.t2=m.sent,m.t0.send.call(m.t0,m.t1,m.t2),m.next=11;break;case 10:a.send(f.type,u);case 11:case"end":return m.stop()}},c)}),function(){var c=this,f=arguments;return new Promise(function(m,p){var v=s.apply(c,f);function x(T){Pd(v,m,p,x,y,"next",T)}function y(T){Pd(v,m,p,x,y,"throw",T)}x(void 0)})});return function(c){return l.apply(this,arguments)}}();this.on(n,o)}},{key:"logDebugMessage",value:function(){var n=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=arguments.length>1?arguments[1]:void 0;this.debug&&typeof this.debug=="function"?this.debug({isChild:this.isChild,received:n,message:u}):this.debug&&console.log("Bellhop Instance (".concat(this.isChild?"Child":"Parent",") ").concat(n?"Receieved":"Sent"),u)}},{key:"destroy",value:function(){xl(pu(r.prototype),"destroy",this).call(this),this.disconnect(),this._sendLater.length=0}},{key:"target",get:function(){return this.isChild?window.parent:this.iframe.contentWindow}}]),r}();const Bu=new Tk;function e3(){const e=ir(),{initShortcutList:t}=Zm(),{chat:r,fetchMessages:n,fetchUnreadMessages:u}=_i();function i(){Bu.connect(),Bu.on("init",async s=>{e.apiBaseUrl=s.data.apiBaseUrl,e.token=s.data.token,e.deviceType=s.data.deviceType,e.variables={...s.data.variables,chatMetadata:{...s.data.variables.chatMetadata,workerUrl:s.data.variables.chatMetadata.workerUrl+"?token="+e.token}},t()}),Bu.on("showIframe",async s=>{e.mode="show",e.messageList.length===0?await n(null,!0):s.data.loadUnreadMessages&&await u(),s.data.chatMessage&&await r(s.data.chatMessage.content,s.data.chatMessage.workflow)})}function a(){Bu.send("hideIframe")}function o(s){const l=s.target.closest("a[href]");l&&(s.preventDefault(),Bu.send("clickLink",l.getAttribute("href")))}return{initBellhop:i,hideUI:a,clickLink:o}}const Fk={class:"t-flex t-px-4 t-py-3 t-items-center t-justify-between"},zk={class:"t-flex t-items-center"},Bk=["src"],Ok=Hr({__name:"Header",setup(e){const{hideUI:t}=e3();return(r,n)=>(Ie(),Ge("div",Fk,[le("div",zk,[et(g2,{size:"32px"},{default:Sr(()=>[le("img",{src:rt(Ck),alt:"头像"},null,8,Bk)]),_:1}),n[0]||(n[0]=le("div",{class:"t-text-sm t-text-[#5E6166] t-font-medium t-ml-2"},"小知老师",-1))]),et(zr,{round:"",style:{background:"#EBEBEB"},size:"xs",onClick:rt(t)},{default:Sr(()=>n[1]||(n[1]=[le("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#222222"},[le("path",{d:"m291-240-51-51 189-189-189-189 51-51 189 189 189-189 51 51-189 189 189 189-51 51-189-189-189 189Z"})],-1)])),_:1,__:[1]},8,["onClick"])]))}}),qk=""+new URL("feedback-icon-BauvTOXV.png",import.meta.url).href,Rk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUdwTP3EC/y/D/m1GPmvH/erH/ixGvarH/3FCfWqIf3DDParIPu+D/qzF/q3GPi2F/zADvzBDfq+D/m5FvaxHfWpIfauH/etHfarIPWqIf2/Ef+/D/aqIP/HD/m2F/m3F/3ECvaqIf3BDfasHvu3FP3FCvvAD/y7EPe/G/vEDviyGPa0G+aZNP/PD/+/H/bTXpw6CUjSEP+5CUUxUP/HCP25D//GCf+/DPy4Ef67Dv/DCf/ECf7FCv/FCP/GB/3ADfmwGf+9DPqxGP/CCv/BCv+8DP7BC/7EC/7DC/q6E/uzFf2/DPDw8P26D/u1FLu7u/itHP3CDPS5CvizGfaqIPqyF/ivG0MxTfb29vy2E/esHvn5+e7u7vewHfG2Cvu9EP28D/3BCvi7C/erHvj4+OHg4fLy8t3d3dDQ0Pq8E/apIPm1FtXU1vq3Ffy/EPetHvy7De2zCvm4FWwqv/T09KkmwPeyHP3BDWMrv+zs7LQlwP0xMT4wSIMpwObm5vm9Cvi2GE8svlksv/i5C/SyEuevCd7Ca/0kJP0qKn4pwOnLcZAowJ2Uonkpv+Xj4OqyCdnY19HR0UUsvfkfH58nwOjo6PevHTssuqImvU89Wfa2DPy8C+rq6nMqwMrHy9fX1+uzIpYowI0owN+vItLGo8Ekv/c2Nu65JZonwYYov/i0E+XIcJQnvuzFXdrVxufn59uyNOOsCtTBhqErc/UwJe45Odw0NeisD+Le1Fsosokpwdi5XNra2tanKsZ2WsCNRNgvMMoqOOgxMu4hIefeyuvQhqiirOrTlO+2F+G2N+S5P70hs/l4EIomt3FQh1Y+nd6cK3sps+InJ3AqrfApKnNjerIkuNvGirWwt9q7YZOGmdfQvYh7jri4uPuGD0Q1qZgsorYnVvubDaIrgYooksVecuGIReLWsng8m+q+QO6tEuLQn9/Llamdna2trejASOfBT/TBH+SuCaQjV3lUppYti31vhVxKZfdcFo5vaLYrpY+IlbmxmrgACwDDDEdwTJF3ZBAAAAEAdFJOUwD+v2AQIP7//t+AQEB/IN+f33BQv+9vn69/IBDPIM+P74/Pv+/usO7+kO/v/hAQz8/v/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wDvcP15AAAHrUlEQVR42o2VaVxTZxrFb0AQBIvo1KU61upMl9m+CBEw4YIBEriRkqAYISQxkGRKCAREY8aRqIGRWiRuKQoUqNBai4KK08q4Y2utddfpZu10nenY3dmXD3Oe9yaQUtrhZPtxeP8553luINyoipk6bVZ02ZIlS0pKSqLnTZ8RM44bm8bFTL+3LAAWFlYWluQV5lVWzguPGAM6QyQJLMzLK8grILGXaRFjQpGZBzEsLW1R2iIoLe3/4DFszvGFlQBBgVu6NAd3PPC0CJr4nbEPlJWVAaXMNEojhCk3NxdvYM/BU9w9o7IRswjFikACZBDT8uXL8YBy8Bb5P5kyGhsNtmR8ZWVBAUOJgpKGtJwp154zcTSWDVuAOYEyEucTk5ISkxIT6UXkHfZc+8RRWcRGUiqrSUziYlHJyfRMjsMBfAQdLS4ZjVkqUgAyCndnsvhg75GIAo7wUPYBxlamRWKlCCUyMZkhmZmZ6VBmutOUmWmCRbjjRyE7DweLymmROXY7GiN2MWKIYyxeTCan02kymcCz8NnDFzia4CexKvvzUF3d8y3VSU5gQbWavS0tLV6vs9WUnm4yJWOBQ2PPIDYvclFkPsDOAy+/8vKBvS1eZ4AUWr3a8wETOBykJwaLRywZT7mRkfn5dZ2bm9rcer3b/8reFrMIO73nNze5g6bXKIB2OpPCAtsaj2UVRC4l9qU2tbUGUrubDrR4WWXt3pfcIaYTMOjFSbHiZQL7ZIB1W3W60qKiUl2NvvYrHCSWzFJmWvW1f9a2CumCCfT9bNVgURrsnU/brLoi97n/NFqKdDXuo+e9rYK56k9k6s81kmklUxDSgTsf+gXg6ZiYBd+5UKuvKX1z96+hxiKd2t9jMLdqv4RZNGz29RhaBeAmp2ky4HvBFtOi73zmV+ss85ctW4aD50qtbUervF7DpzDLv2GaBR600YSVxVDr4ny7ve5FKvj3+TgI7XbXuJs6DVrf0TZr6e+DZmmN27JXK2QsEASj6aGZ3FR8topXM9iCc7vnQ3SwHPAFwCNNywWtMWsBT1uL5aaj9erVdoJtfqsO50S1W9ssFwyG+m+Y5WRqPRkULWDoeQiOzGdwL3aDhky7dVa/7VXAW/vUuqD5D50aplbIyliQxQvGSVy0CDuq6158o8ltbQ+ca8SF7q1H7c++ZQJWZAAW5nKVNLLd4ahuqXrV1qevaWTH3qlR+y1v+LRmmLVB823RNPOKDEUGzwvxHI0MODvJW3eo2+LXW22N77zdXqNua+rtMpg9hrvDplXvt9zqMnhWKFLEaI5d5HzA2VpfV6+ttk2vVqv17j7L8bd8Wo+grerqtQybW4/5tIKCREMDxoVCstPpNdQfvHXcUuv3+2ubbB1v1Rs8C7I8Wt/BWzZLbd+wiWDcXC4+AK+vzs42PWY21HcdLj9us9mOd3QfrDeYhQwFDzrUBIvYlBSFxsULHNbFYKfJ6DFrfYe6jh3uPnzs4CGfwYOtMroq1OSBktCb56KRbGfJglDh0Rp89XcP3a33GbQePoPNtsJjDjXRGOhC/CKL52YFkk1Ggef5h7/6jaiens1D6unpEc0vv14BktiUFJUiK56bhpEZXGHksx7ubt9WztTRsTWojo4O0dvW3v01QxmscYVxU+lPCvBjFUj+76PtvwxqG+6i2A+k9tufLyQRrVJlPchNKS6my5ztBPzHz7+4/eh36/abX/z1KlAmicY1gRtXHCkmGwXh5GuvPUP6FbRq1apdO5977un9T+z53b51jz++5amnVq4cGDglopTswr/AH2BoBiMZcAi6U0TXEcrYNQMDnQDluKVIVK6ZHDexOH89g42849+vA2TozpGpQNdsHLgMEAKtVITRlw1mthNcUeH6+HXQQfQJSh1GwW7ccEqOZKlculCp0uCrEr1XB6J51892rYKo79MggQb7ggS64QpyIcASieY+gmMAO6qzjRW8y/Xxrl0BdM++de992N//t2vD6IbtpxgpTZUvlKgmAaXooWRN9Xv79wdG/fDM6Reg0/03guj2y3KpXLxHKSmYRYswojWKq5cu7WFbev/04G9Jgy+cuSGizVc6AaYSLVdKEBwaTRtzqU5e2kcL7j89+KyowcEzG4Fub/7DCSkaS1MTpHKZUolgURE/DUSjuOrktS1btly7fvPI2rVrn10LHbneD5TY1NRUqTRBKoMmcEOamg+YaJdGojx5Y+XKj67fbGgACDU03DzT3Nx85QTIVGlCglwukynjuRDdv746MLVKqez8ZM1HZzc1BLXp7PvNzf/SAkTlhAQpkuf8MBQeN5tosbdEIjv1ydkdm4LacfYvl0+ABAgUbJRsCpBQOk6MRnHAMvkH/zyyI6AjF68ylB4oHhWFgUfonji2M1q4SimTSRPkOR+8e/Hiu2WtFBhMpVwlsSPp2diZkXamUmGdUThIgamYc0hRUplkNJa2RjTNTVuTsRzArHAgOkoWNSecG13hcSiObEYrgSKeQUOdZXODex6l+qRQGpOL+VHE0bQ/RuXv0ZQ4ao7BsXQl9k5NZfQMScIQ+/2KDaMrRulYuwT5oOh1ziOx3Bh03+QwhmtIEnxqlJo5YZN/zo1VM2MnPBgW7yI+fu6kybEzRz31PyxucdWplRvRAAAAAElFTkSuQmCC",Lk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAALoUExURUdwTP+9C/3CC/3ECv/ECPaqIP3FCf/FCP/GCP/DCf3DC/etG/WpIfmvH/erH/arIPu+D/q3GPasH/esHO20Cv3EC/y4EPzBDfzCDPi3F/u0FfaxHfq4FfetHfWpIf2/Efq7EvarIP+/D/i0GP/HD/m3F/aqIfWsIfWrIPasHv3DC/BiBuq0HPy6Efq8EfzBEfewG/evG/q3Fv3EDPaoIfvAD/zDDfvCDfu+DvvEDvi6Fvi1G/3FCv3ECvWtHv/PD/29Dv+/H1paWkUxUP/FCP/ECf/GCP/DCf/HB/7FCv/GCfuzFf++C/7GCf67Df+9DP7AC/7EC//BC/68DW5nUP25D/66Dv/CCf7CCv23EfaqIerq6+7t7v3BCkO1Cvu9EkMxTfq1Ff7DCvu0Ffy2EvmuG/y9Dvr6+vHx8fy1E/6+DfesHvitHPmxGP24Ef/HCPmvGverHvu5Evq2FPatH/6/DPy+Dvu/CvX19fu7EvqwGeDf4OLi4vexG/qyGPu+Ef27DvPyFezs7PO5CfLy8vm6Ffm0GP3BDf3DDP+/C/arH++2Cfj4+O20CfqxF/ewHOno6fy8C9WqHdWpHf/BCva9Cvm7DPG2CvizGvqzF/3ADvm+CuWvCfS3Cvm2F/i1GPevHUAwS/zCDtbW1Nvb2/e5C+bm5vb29vDw8Pu4FPq3D/SzEPi9CvT09N3c3fa7CjwwR+KsCemxCVpaW/3CC/2/DviwGveuHvu/D+Lg49utIejTl/C3GOW5Ofi4F9WpHvm4FHFiePu/EOKwFp6VpNrNqN68XeTk5PS2DefJd/e0EvzDDYV7jGdXb1pKY9jEiPC7Juu+QOnl2/GxEeHTrcGcKFE+W+itD+SsEEk9U9nZ1+uvDtTOu9e9bufh0OnFa+64J29nUNTGm1xKZdTQx9ysFtmzO+bbu9bChsvGztzAcHltS6yOMpSJmenPheCxIlVJXuHWty+sB9xxDv2uAN6qCQC9C0dwTHBw6QAAAAD4dFJOUwD+/v7+/v7+/v7+/t8QIEBAIH/+/oD/37/ff7/Pn+8gv68Q7yCPj29gv5/+/+5wUE/fX8/PsGBwgJCfb+7vzxCfEP////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AueNppgAACHdJREFUeNqNlXtUU1cWxi8hQAIoVBjEVq2Paa1d1b4f83CmM17IJBAgYUICIQsTQgZCIJBAQiAoiwTCALE8SiDhEQQRFDHKEKhvKypU69Raba221bbz6HTef/T/+c4N0ExLWX6555x79zq/8+29bwLUsorZtuGl6JywnLDy8vLo7ZvXxKyiHk6rYjZvBJeTA7A4TldcrovTRem2P7X6IdA1G8MCZFxcnK6AUVlBmW6woGADwVdGARJPnU4XVUZUXV1SXQJNTw+WrYjHROfkhIU1F0fpdAVl09XV1fv37nXjwsBUAq35QdsnQQKFJ8j9+/cDTMlnpMzPT3E3unHK848sy65+CQk3FxdHFUxPl+zfm5LiTilSFimVRWq12kiGEWe4e7Y+txxLUi5v1kUNlgGFY1GROludHVBpdkICFhygVLofXYYNg61upmC6ZC9QZZFRnV2qzpYkJEgSJBKJIUFiKAVvPKxU5j+6DBtWjGLBuvPVxmy1ulQCZWVJsjClpZEbnGI4Qsy/Q0eTctHikhJ3fpEyO6EUKDBQkrS0urSFUVeXhRwOG40vBLNPgoUvbPPzjUaYAkxjkMzMzHSoLr0uEwJvyDIkGLcG9fwpsBVRg9MlbrcSPSJ5QoQjIyQEdEgmBg4AbYD5+m9fMH4DzQyrVKrVCbBFguDApIakpoZoU7UhOGLhGBwgMRxeKnsNvhoVM2+UlOQb1UcYGVx1mcCAEqVr29tdLld7SHs6pE3XgN6xkPjqnGaw07UwNhqvjo+fefBgfH7EBUNGWo3LNTJ/5saN7v6Rdo3WpNWmt1sshk0L3WoOK64YrO1xeweujj9457M2edvN0+/Pwyk9NfX3YPtv/AtBOYL9rnYtcE2mRWKIDbymsOKZwdq9bq9y/IP7N3PHCu32wty202dG2rWVqamake77N+vH7Hb7GBPUaCu1hDY8wbS6uZgk7W4E+07b2MQo0USh/K/YWFkZ4upeClYxQVNlpR943Y5fAd7cHFcB40bl1Q/uHxqram393cnW1tZRu/x094hW2z4Ptmp0IViIoMtfWVkJ2LIT8EbS6doepXL8mc9yJ1pzL318/Pi7J1tHxw6936/R+B7MBQWrxuYQzMggdDtaFkO69UaPEsZXDo2N5l7fc+DA8eMfn4T1LacLSZPgH5ngf5hgt6uS0CbNji3UNmLc06McGL93S24fvbR7zx7sPPB260S99ZkRX/x/2+yt//z/oD8DtNZkiUXJ5DU1Av6oRm5vvb57N3ZCJ6vqrWf7+ydJ8MvFYH1VrvWszewRZ6Bpmp3U9ooKVOwdMAKG8+5F/W0CcHcADg4SOEOMj1/zOhU9A7jRa7wwfuduW+EoTAKqsctrzjq7+44FB+sRJLBULM4wmdZTFTMo2Ws0Hpn/6DIae2lh23V0+9hst23y1lxu1WLwbSZoMyvelIo9Gf61VPMMKdl42DB/7+uatkI5ioY+rLHXWy9P9tucX9fIC+UB6y+RDYI+z5s8Yu03UXhPBDYYLsTfGbZi47sfwqLGnjt38IrT52uZ/V7wqIIrlUq/hb2AG7rvXTlolY/ZJ4612cfkc8fe67P1mm2TgaB9KYisZVKe1OHICMCNAxcMBsuI886nd2sOyetz6+WHrAc/+Xe8z+M52tL33l3rUvDybEsXjHk8KcuR4admYExgiyZvJP7Ep8MHa6xWa82x4S9mnfDgmn3Bwa9mnT6zjCvj8XgyscdDPT+IrBnYpLE5+0599cnw8PCfvvjLCaetVyGVic2+oGBfvM08JeWpuElcmVjsoX6x5Oz39/q6nX3f/PnUqW9OTLb4zAopOsMy+2wLwT4SnFLxeGB5oNdSGxZhk8njMR/12Vqc8fFOm68XFlySnkLRS4JOZwuCChWPy03iAVaxHInUtkDaDRaTP8MjEyvMvV0+X1evWaGSoi9EXKkZwa6u3l7WFDcpiZ2URNLmqsQvU8/BuWfAYKgz+T1imVSlmlJATTJADImh4slYU4qpJi44iM0WYY5kOV6jVjE/i3MNln0mv0Mmw27sZ+akJCTIS8IaeISA4wCRCiGVyoE/gY/V1vYgbTTM45ABxNFMQ7gBFvvwDIZ8sGKi8eFFqhxb8Ccfzl7AeSakreLOdp7v7Dzfcb6zA2tnR0cHmcgdRDMghEUkSyT/bFAzA78FZ9nnv15Bn3fRNJvNFtACpM56hYIeQ9oDFyyWfR4H6/YKKHSbTdMRNA04MpL1OIFjAh3Lu+hxOM5jxx8wAgsmzEF3HRF0RIRAkEyzQ1VPAyXWPd5zcM7zOKZk//j7b39Yt2kBHcFc4aKAMaxJxwykY1MylSqJZtMRbJIcGdhJ0sRtMlyxJpOJFkXCeNF64Nw5wH6WQ6USsbEfIGEYmrCC5GQ6meYgY06yXkDzRSIYB7R6q9fbgH6japYqlI/NEREYyRAmQQRMCSXAM4ejF0Tw+fwfUUv6GawbGvL2veWYihSFsmmOHvvBYb+enAAGC+H1eprm80VrqSA94UXeln0XPawmkQjWQBbF0QPUL9zo9XqBkM/f9eNgeNV6VM28rammyFC+AMVB2MvgQEBiBirg8MP5zwIJptfBGlUjccB8vEw9ygsoeQHkgE0Whoej4O/okXUDDSRxh6OpScTnC/U06ADyGz259HjmCIX8cBHY79HrSc9ADzU1oZ3hQiHcgQcrXMgPXY4lXWtgOu5hMV0TCoUcDjoH/8UzhOH88F2vUMvrhXUNDftI5oQWgYZ9IHOAEPr84mKfl0n9p/iqEHoINKkc/lA44Ui1P0fKK+jZdaRuFD4Uia9LKJ9kyiczFJkI25UVu4nQF1mkcaJQ4o8mYd31k1jqIfT4zk0EH4KuXYvEJbq2K/HVX1IPqy2xr72cuHaIaO2LT78au2XZXf8Da2K94EOrh08AAAAASUVORK5CYII=",Pk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUdwTP/ACvarHv/ECP/CCf/GCP++Cv/BCf/DCP+/CvatHv27Dfy4EfitG/erH/qvH/y/D//HB/WpIf3DC/arIP3EC/u+D/q3GPiwGvmyGPzCDfi0GfaxHfetHfWpIfWqIf2/EfarIP+/D//HD/m2F/m3F/aqIfWrIPWsIf3DC/y6EfasHvq8EfzBEd6mG/ewG/ezGfa1Gfq7Evq3Fv3FCvaoIf3EDPu8EvasHvzDDfvCDfvAD/mxGfvEDvi1G/q6Evq2Ff3ECe6vEfWtHvSrIPSqIvzEC//PD/28Dv+/H/zEDP//Uv/EC//DCf/CCf/ECf++C//BCv/HCP+/Cv/FCP/AC//GCP69DP/FCvuzFv/ACv7GCf25D/67Df3FCvaqICwbMf3CDPmuG/+8DPy2E/26D/3BDf+9C/u0Ff6+DP6/DP7DCv23Ef66DisaL/2/Dv7CCv7BC/zADvm1GPu1E/evHfqyF/y9D/iyGverHzAcNPu6ETkfPvesHv3DDPm2F/axHSgZLSYYKvu/EPetHTwgQf28DvqwGPmvGvizGjMdOPy5EjYeOyQWKOeuEPu9Evq4FEgwLpwmvfy7EPK3DPapIfmxGPq7FPm4FsyYFYcnvPy4Euwft2FEKvm5FbUlvzsmML8lv6h6H3tYIq6AF9civsgkvpEnvVU6LNMjv9gbpOMhv98cqd0iv80jv1Q0OrKDGrEkuZZuHrkjt9ygF8IjvOQdrI9mJP+/DLwfq6Ymv2opun0ovfOaMdMfsraGHskgsukesekgveYguvmwGqo7noUjrKogqqwlv1cos0gqPackuGIot/GyD72MFlxBIp1xIdodqN4ftjIhJ86UOt+eMXJPKsSHSmpHMOB9UZpvIYVdLMwco3YnteQesnMpveioF2E3ndlQcZQirJ4hqHQkqWolq7l0VOu0Hcg4kF8lqsJdaNommepvVvakJYdgJO2rF8eSGEEtJ8aOH5o1j+OGQuRbZ+mQPvKOO+RaaNgxk8ZLisJMi31HlJlPikdwTFLJBlMAAAEAdFJOUwD+/v7+/v7+/v7+/v7+IBC//t+AQP9AIP5/3/+/n+9/IK8QIM+Pj2Bvn+6/cFD+T+/f31/uz8+f32BwsN+Qb4Dv7/7P39/vEM8Q7xD//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wA2NtIFAAAIeUlEQVR42o3WCVQTdx4H8AlHwhERLSBKrdW1rVV72G7v3W27u+0e7yVhSCaBADHhCCbBkGBwMEhIaEiFFDAGQYooAu1SiisiFVzrUZvVVdf7Ptfe1/Z0z+7x9vubRJ+Px/r4TWaY6Hzm+/v9ZzyYcStl3szHpq5dvHjxihUrnlwwe1bKZGZiNTll9l1rI7C62lsd5a32TvIuuC9pAnRWREZVQxYItapg1aSKgoKZSROhkFFer3fSKqpQqDXUigqF0lfdlqcIc0ZVJ3i9BVAvv9y6fHkOPthxoFtM/7+x965duxaUMkOURmSJUI4lS3Jy8MlZ/qNp49qkx0CxRJMKQumAOSiHUEVFRdhRuEdO/cMPjWenko3yTkoHpUSo0qLScHWUdnTgB91mWc70cSwoLW+I5oQE7ZBK86T+PGleXp5fmufvkJaWOlY7HEugx1pMi2HTKbXIUSqVduShli4txrY0P78Y5c/z+6VSqcMxRk9dLOSuau/s7HQ40CQoGKn8/MR82ns7O78O4g4dHUU1j95q74VFbqj1ul6vd0hJ5kGAFBYWalA+TeKQXt+XHwxWgUufu2XN74P1JlSEWnNGcEVpXnExILkS2jWakpISTWGvXt91pNAXrKpC+NybdjKajhLssoDV2kM0MVFTWAiTWZKZWSLOFOP0iNWq/5aa8AX9/o5nb+BZsN4CPKEle/RW67fF+Yk+SDDQSInF4sxOj7XTpNGYNHyw2D8/0ngSmk7whtIr678JWD3f5ftoSoJiqJt4NLPX47F2Z4pN0IlBaXJktehtrmitz/nmrNXj6fVhdRBLQvgosWUqlcp45TGPR390dFRs0vgSi6VpAn4BD7iitbJ+uM9aW9uD3JLMUaJkxOJ4kpmw8dzwKegh8ajJzPsSq+4JL3U1NX396y5PbW3fEep4VEmZSlAlfpDEeTyn7K2t9egDgy1mk4kPzv8V8Gys9LVAl95a29h47IhPAxcvFi5Xojgc6YeSiyd9qhFcHxgy8Ym+hcB3IXjY4wE9ddynMZkRRBPiYkGBYdNqYTkRe+27xkbE95hNvA9LlkKrNdwIOvJTHzA1iQFJCAz3QCo2EW4gErG9x3Btj9nM8/PnMPMQnH7tYvdwhzTI8+KWkfODiOO0Sk4LIALBKQ4tQ51DWhErEkla2nuPchg7mMbMRrC7MqNmtbQqkTebjtetfCUwiBACdOBYrUC79HpnO8uyIuwSVmQuM/ELmQUJwPXLaihYI44fqVu5ssHZ0xSvFWkFr8WJqD2gtwIfBZOQZTk7V8Y/wfwcfyLSM5at9iPYZDY3bUF0gzNwlOVYETSLMbUXnXq82M5OloqwnLVzYtMvmQTgymU1Un+VjxebOY7t3rLyFVzczbJaNImdvdjgtFqtgXZCcnmMXC6XyCUiruwRptorjOxH1whGHNt0ibC1nULlsHswh75rCKewLMkYmVyCvk1MQgVGzljtl/p4U1m8SEJtDXYB9xAkQJ0EhlkwOSsBDYfT0IQr6zFy0MfzZXZImJaz+AulE05C9zqERRiRhJFMwDJsRiMnYHdGDdYryJvLRJwctqkP1jlIk1GT52kJe1pgycfEyPCRyQ1GrozxumnkdX68IWaRnQK6u5x6p7MPbYLKJJLwAwgMIlEWI0PF0cFmLy9nnqxwY7FXV1XxJrHdLpe39zU0OJ3O80i6MV5YN/Q0EcYOroix2e3lzM/cWC9grBfH2SR7cB0uHJHJ4GIwJI7yprN1K8G7WuSEycbJ4mz2GcxMd2UE8xy6vlSH67a0C61FLqWs7kPE98gUkHEKGbDFYExm5tHLCdzGl3EiSq47dLyFQMTS1dibLuE3mpCpiFYoFIiOs9ifYR4S2t6AxS4rt9vksuvdTQAKQoIUPKGm7gfj4KCJK1wG4x3MZDclr9vQjHfEaLPharqejgp/wVdfFaBHRfgrJUZTMJXMYjGmMcydbjfN3Ixkow2d4tboyn/hn9/39/dfvnz5s/f/WoFfoy0Sq8Imc1mMcxhmupBc1dzMo21LDN1ftuv9/hMDqBO7d+/dsWPHgS8qBKgSIEqRrUi1JdM/Npg5gzAl27CWKv/f+ge2b3/n6tWTJ4H3Ah/48As3CMno6Gi1Sq1QWAxPMag78YbVbAg2N5cbDRZLtmLXnwe2v7N+/bvvvrn5tTd++/pb27ZtPfDhB385DYhNla1SAbtchrsJp4SXu/mlcqPRYon7sn8AdP2+G3bTxq2HD6/5YP/+T1Qks7PVarUqOtVyPyhFZ+DlbmujZJvlyxMUu2/fm5s3vwG7adPGjX/43Zo1v9m//6NPslVqVbbw0aVSsBBdD7yhDStmsO3qhwVF7E1K9tVXr3z08YNq8GwcVAoXgiPRGJowluwfA1cx7FgK+/aVjz8/h45j1Vlq4FQEhyvpYWFomnrXiZMnN98cFg1H6Nt/2vnHz8/AxmYhWae7g7lZPxH6xtMyGr7f/Vp4jbduPfx7FCRR2IPvxarVWVlYNp1iBnNL3UO4DdGGXXv3vv4W6L8vnGlTo9rOnPvvlZ07YQ+ejoXNUufqdM//gLm15pKmvg1//2zbtn9dIEg5dIz99Nx/Dh5873QWCt90Ot0DY/7XumjdOop+yWhwud26bECMFy6cZjV/mjUllixyMfCYmrYICw5tNLpcqTpdbpYqoukwhT74HpsLm0p2rJ4rrBlFu3Q68FxKhxHwFOFEl6tLHc/Sqm0QdHm5wZWqAM6NpYdKPjIAtfz8U8z49eiiNmi84tCpCmjcAQYWEAX8OK3z+DXtCSE7rDE5aTK007Q/RMu3qQcegaYnhsnhQVCRoysZsbevtGRoDG4kTh6JVC/+OI2ZQN29MBnheNsonirV9evkp3/BTLTmpD37TPKMcvIzHr//6bQ54171PyXvl8Fid0HbAAAAAElFTkSuQmCC",Ik={class:"t-absolute t-left-0 -t-top-56 t-w-full t-flex t-justify-center t-z-20"},Nk={key:0,class:"t-flex t-flex-col t-items-center"},Hk=["src"],Vk={class:"t-p-[0.5px] t-bg-gradient-to-r t-from-[#9832FF] t-via-[#323CFF] t-to-[#32C8FF] t-rounded-xl",style:{"box-shadow":"0 3px 12px 0 rgba(50, 178, 255, 0.05), 0 2px 10px 0 rgba(50, 178, 255, 0.05), 0 3px 12px 0 rgba(0, 88, 142, 0.05)"}},Uk={class:"t-pl-6 t-pr-4 t-py-[14px] t-rounded-xl t-bg-white t-flex t-items-center"},jk={class:"t-flex t-flex-col t-space-y-1"},$k={class:"t-flex t-space-x-4"},Yk=["src"],Gk=["src"],Wk=["src"],Kk=Hr({__name:"Feedback",setup(e){const t=ir(),r=uc();async function n(i){const a={chatId:t.feedbackId,rating:i};await ci("/api/agent/chat/feedback","POST",a),u(),r.notify({message:"感谢反馈!",icon:"favorite",iconColor:"red",iconSize:"16px",classes:"feedback-notify",timeout:2e3})}function u(){t.feedbackVisible=!1}return(i,a)=>(Ie(),Ge("div",Ik,[et(Ar,{name:"fade"},{default:Sr(()=>[rt(t).feedbackVisible?(Ie(),Ge("div",Nk,[le("img",{class:"t-size-28",src:rt(qk),alt:"头像"},null,8,Hk),le("div",Vk,[le("div",Uk,[le("div",jk,[a[6]||(a[6]=le("div",{class:"t-font-semibold t-text-sm t-text-[#37393D]"},"到目前为止,我的回答有帮助吗?",-1)),le("div",$k,[le("div",{onClick:a[0]||(a[0]=o=>n("good")),class:"t-flex t-flex-col t-space-y-1 t-justify-center t-px-3 t-py-2 t-cursor-pointer t-items-center"},[le("img",{class:"t-size-5",src:rt(Rk),alt:"有帮助"},null,8,Yk),a[3]||(a[3]=le("div",{class:"t-text-xs t-leading-5 t-font-normal t-text-[#5E6166]"},"有帮助",-1))]),le("div",{onClick:a[1]||(a[1]=o=>n("normal")),class:"t-flex t-flex-col t-space-y-1 t-justify-center t-px-3 t-py-2 t-cursor-pointer t-items-center"},[le("img",{class:"t-size-5",src:rt(Lk),alt:"一般"},null,8,Gk),a[4]||(a[4]=le("div",{class:"t-text-xs t-leading-5 t-font-normal t-text-[#5E6166]"},"一般",-1))]),le("div",{onClick:a[2]||(a[2]=o=>n("bad")),class:"t-flex t-flex-col t-space-y-1 t-justify-center t-px-3 t-py-2 t-cursor-pointer t-items-center"},[le("img",{class:"t-size-5",src:rt(Pk),alt:"不满意"},null,8,Wk),a[5]||(a[5]=le("div",{class:"t-text-xs t-leading-5 t-font-normal t-text-[#5E6166]"},"不满意",-1))])])]),a[8]||(a[8]=le("div",{class:"t-mx-4 t-border t-border-[#E5E6EB] t-border-l-0 t-h-[60px]"},null,-1)),(Ie(),Ge("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#C9CDD4",class:"t-cursor-pointer",onClick:u},a[7]||(a[7]=[le("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"},null,-1)])))])])])):Pr("",!0)]),_:1})]))}}),Zk={class:"t-flex t-space-x-2 t-w-full t-overflow-x-auto"},Qk={key:"key",class:"t-mb-2"},Xk=["onClick"],Jk=["innerHTML"],eS={class:"t-text-sm t-text-[#222222] t-font-normal t-whitespace-nowrap"},tS=Hr({__name:"ShortcutList",setup(e){const t=ir(),{chat:r}=_i();return(n,u)=>(Ie(),Ge("div",Zk,[(Ie(!0),Ge(Vt,null,ju(rt(t).shortcutList,i=>(Ie(),Ge("div",Qk,[le("div",{class:"t-py-1.5 t-px-3 t-space-x-1 t-rounded-md t-flex t-items-center t-bg-white t-cursor-pointer t-w-fit",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"},onClick:a=>rt(r)(i.content.data.content,null)},[le("div",{class:"t-size-4",innerHTML:i.content.icon},null,8,Jk),le("div",eS,rn(i.content.name),1)],8,Xk)]))),128))]))}}),rS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABRUExURUdwTPX19fX19fX19fj4+Pf39/X19fX19fX19fT09PX19fX19fT09PX19fT09PT09PT09NTU1PX19fPz8+bm5tnZ2enp6dzc3N/f3+7u7tbW1iVNXl4AAAARdFJOUwCQQO8QIK/fYHCfvzDPv+9QewCgwQAAAsNJREFUeNrFmuuOozAMhQsEHG5t1yEh9P0fdGdXI1ndTePYEM33c0Y6JseOCU5vZZh2bIYVHvjFA+ahGVtzuwpjJ8AE62T7C9THGTPMJ2O0M7IMT/3DAxYBVqU/PpBHH6IF5NGH6AcUMwnSbcmdGoswDSppTJE9gGqgwKblgSeAhbUfT2KZ4sfTjJX0iZH1p5pLC17EIqhPFV2yWg3gZUBqxzV4IU2lBBNWmQB9Gia8mKGSQUT7FgDwckCxAH3LAKxAZ65YgNt2Hx23BNCr//rDzmThqVf/5sgX0qBV5wLM35tYq044TGMoxQp1IuYr9a5UJwJixqNeo847RB5ZpToR8117kqrzDhHTV4BVqU64bMczGnXeIUpCq1T3PusQbeZR9+xbJIfyPbtJyzPObFuZQ9ikG9Hx4vWLHMIhuY+dz8q/jo2pIWJNvgtCVt+7g68hqtMO/2fP67sXt8uI7oYJcg7tznl+lxHSABu+60fUBIgZ/X+iB1WAI9PWYlEfIpJJxu1DedJ/Sh3qqEzZCN7R34sdgk/d2vmUfijs1MT8+cwS3kNEl+ggETmGzJeTi2/lk1pVQI6G2nVmEaQvdQhHeuFkFvEKaf1Y8hliuDdyjMHR7hM6hIY/WlPhKhxa+WMLdXCNQ1Pm4MX3v1D2uWywACc6DxF96eHX6RyaS6dQzqkdKvXIax0q9WiTO0TjhBYL2BUOPSWfsYfcIZANGzexQ5amaR3yOC90CKTz0kPokBWPc6LAIVqAoJDcK+MQN7UbZC3VF/TRd/pOUkneyW8SLBLcW3oXZFg8mD1CcMjS/MBomdJwHuhrj/drX1DUv2KpGmGsfs3FsACeoFtqXzX+6GUpYUFljxVcWE8oZiB7aiwC2huPPkRHxV8jBIzmpuQ5IMtM5mjo7T2rTg9/Jsa0Jp2ZrEid//nPHbq/GYVV8POf3/rD+QfN5ZU1AAAAAElFTkSuQmCC",nS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABXUExURUdwTBZd/xVd/xZc/xtf/xdf/xZc/xVc/xZc/xZd/xdc/xZd/xZc/xZd/xZd/xZd/////yRn/zZz/22Z/8XX/3yk/+Lr/7bM/4qu/527/1aJ/9Ph//H1/9X2gBUAAAAPdFJOUwC/r5AQIO/fYHBAnzDPUOQSnzQAAALQSURBVHjaxZphk6MgDIarIojW5qCtrdr//ztvb2bv3umcJSTK7PNxdyaRhxApeMrD9L6pR2fpC+uquvG9OR2F6QZHG4xD1x4Q3VeUoNqZo6+Ipb7oH95RFq5TxfeWwPEpejx9iRRtTWIGwXR3sFNiEKYhJY3J0uNIjcvQdLa0A3dm9dNOmInwtBtfKD7wrJ9ils50EGdBfaqwm9VqHB2G21pxDR1IU2iCQaecAP00DHQwdSFBoH9L4OhwXKEBAF9mAMCaIwYQ7rd1jtwQnD76rz/cmFm46KN/E9OFVCujg4U2qb4XsTY6CLSNwRQrooNHulIrZXRwJUo4ajXReUNw1Gmi84bQtQdpdN4QGL4SjMroICQ7ntFE5w1hEnpl9HVKGsJi9rpnnx8pQ8B/2ExExszzmTQEmu1GFF/p+PdnuoZAvbmO45QM/1ruTA2BcfNdcE3Gn2Lkawh1aul/khOwRghkDZE90QYpQ7fwLjBQGmmCmcLErTI+wfy5PIlWtg/xCZZEW5uz+hDYnGR6fihP/CfXkEWZshmmiL9nG3Lo1txaWyPc5RuqPu9ZrtO7jIAOwhoCdeKXU5zfyhOj4g2BBu06OYgn4osMkT/1lCDM/8qHwip5l+GFYyhJvM/zNdAXD8HbHhh+a43CVRga+W0LOrjG0JC98VqZ/VBi42UogyDaD4E2d/MbdYaq7FOoqDaU62jSGsp1dJcbwnFCTxncFIYukp+xUW7IyQ4bn2JDODMylnjCJDTkpOeli9BQJz7OmQWGMABBIYVXpiEMANSyljpl9NF3WiuppCnKbxI6Atxb+hZ5QeqD2WVZArE0P3C0jGnYj2tLH++XvqAof8VSNIMvfs3FcHa0A3sufdX4o5eloHMqPdDP0g4kpoaeEoNwuPAokcKi+EukcN6clFxqYqkgR0PbVcnoePg9OYZx08zQiaLzn/9Ufz//GQWf//wGwSSwYgKfxgYAAAAASUVORK5CYII=",uS={class:"t-flex t-flex-col-reverse t-pl-4 t-pr-1 t-py-3 t-space-x-4 t-w-full bg-white t-max-h-[40vh] t-rounded-3xl t-relative",style:{"box-shadow":"0 3px 4px 0 rgba(0, 0, 0, 0.05)"}},iS={class:"t-size-8 t-cursor-pointer t-absolute t-right-3 t-bottom-[6px] cursor-not-allowed"},aS=["src"],oS={class:"t-size-8 t-cursor-pointer t-absolute t-right-3 t-bottom-[6px]"},sS=["src"],lS=Hr({__name:"ChatInput",setup(e){const{chat:t}=_i(),r=we("");Ne(r,()=>{n()});function n(){const o=document.getElementById("chat-input");o&&(o.style.height="auto",o.style.height=o.scrollHeight+"px")}function u(){r.value="";const o=document.getElementById("chat-input");o&&(o.value="")}const i=o=>{o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),r.value.trim()!==""&&a(r.value))};function a(o){t(o,null),u()}return(o,s)=>(Ie(),Ge("div",uS,[ql(le("textarea",{id:"chat-input",rows:"1",class:"focus-visible:t-outline-none t-resize-none t-pr-11","onUpdate:modelValue":s[0]||(s[0]=l=>r.value=l),placeholder:"请输入你的学习问题",onKeydown:i},null,544),[[Sp,r.value]]),le("button",iS,[r.value.trim()===""?(Ie(),Ge("img",{key:0,src:rt(rS),alt:"禁止发送"},null,8,aS)):Pr("",!0)]),le("button",oS,[r.value.trim()!==""?(Ie(),Ge("img",{key:0,onClick:s[1]||(s[1]=l=>a(r.value.trim())),src:rt(nS),alt:"发送"},null,8,sS)):Pr("",!0)])]))}}),cS={class:"t-flex t-flex-col t-w-full t-p-4 t-relative"},fS=Hr({__name:"ChatContainer",setup(e){const t=ir(),{initBellhop:r,clickLink:n}=e3();return cn(()=>{r()}),document.addEventListener("click",u=>{n(u)}),(u,i)=>(Ie(),Ge(Vt,null,[le("div",{class:O0(["t-flex t-flex-col t-justify-between t-border-[2px] t-border-white t-bg-[#F5F5F7] t-w-full t-h-full",{"t-rounded-2xl":rt(t).deviceType==="PC"}])},[et(Ok),et(ux),le("div",cS,[et(Kk),et(tS),et(lS)])],2),et(yk),et(Ak)],64))}}),dS=j5(),Bc=r2(fS);Bc.use(dS);Bc.use(Kp,{plugins:{Notify:z5,Loading:Fr},lang:U5});Bc.mount("#app");