From a4558cc5919f19b41bb730b4c9024e72b6a076b0 Mon Sep 17 00:00:00 2001 From: jonatanklosko Date: Wed, 7 Jun 2023 10:31:34 +0000 Subject: [PATCH] Update assets --- static/assets/app.js | 208 +++++++++++++++++++++---------------------- 1 file changed, 104 insertions(+), 104 deletions(-) diff --git a/static/assets/app.js b/static/assets/app.js index 25f6f2fa7..fc0a87602 100644 --- a/static/assets/app.js +++ b/static/assets/app.js @@ -1,27 +1,27 @@ -import{a as $E,b as Nf,c as YE,d as D2,e as XE,f as Sh,g as M2,h as Zr,i as Si,j as bl,k as z1,l as U1,m as rr,n as O2,o as QE,p as ZE,q as kc,r as JE,s as eT}from"./chunk-HA3AQNT4.js";import{$ as oi,$a as Ct,$b as Ao,$c as KT,$d as uI,$e as dg,$f as pn,$g as ua,$h as Pk,$i as Jk,A as rT,Aa as ST,Ab as Eh,Ac as zT,Ad as rg,Ae as Rl,Af as UI,Ag as ck,Ah as xk,Ai as Pg,B as yl,Ba as Tn,Bb as W2,Bc as kW,Bd as T,Be as gI,Bf as WI,Bg as KW,Bh as Ek,Bi as Wk,C as Pf,Ca as Zo,Cb as LT,Cc as Y2,Cd as ut,Ce as wt,Cf as jI,Cg as o9,Ch as Hi,Ci as jk,D as W1,Da as CT,Db as j2,Dc as AW,Dd as kh,De as Dh,Df as VI,Dg as zh,Dh as h9,Di as ga,E as oT,Ea as wT,Eb as V2,Ec as UT,Ed as JT,Ee as _I,Ef as KI,Eg as Ue,Eh as m0,Ei as Vk,F as Ff,Fa as U2,Fb as xl,Fc as aa,Fd as Ll,Fe as MW,Ff as qI,Fg as fn,Fh as at,Fi as y9,G as sT,Ga as or,Gb as NT,Gc as WT,Gd as eI,Ge as vI,Gf as GI,Gg as bg,Gh as hs,Gi as YW,H as ln,Ha as Rc,Hb as RT,Hc as Xf,Hd as tI,He as Mh,Hf as $I,Hg as s9,Hh as Tk,Hi as Fg,I as xn,Ia as ra,Ib as DT,Ic as Qf,Id as iI,Ie as OW,If as YI,Ig as dk,Ih as p0,Ii as g0,J as Nc,Ja as oe,Jb as MT,Jc as Pc,Jd as nI,Je as bI,Jf as as,Jg as ha,Jh as u9,Ji as Kk,K as Nt,Ka as Vf,Kb as Gf,Kc as X2,Kd as rI,Ke as PW,Kf as e0,Kg as hk,Kh as Ik,Ki as qk,L as Re,La as ee,Lb as OT,Lc as kl,Ld as oI,Le as Oh,Lf as t0,Lg as yg,Lh as kk,Li as S9,M as F2,Ma as xT,Mb as PT,Mc as LW,Md as zc,Me as FW,Mf as i0,Mg as ls,Mh as m9,Mi as C9,N as aT,Na as dn,Nb as K2,Nc as Th,Nd as la,Ne as yI,Nf as n0,Ng as uk,Nh as Ak,Ni as w9,O as St,Oa as Yi,Ob as Ut,Oc as G1,Od as og,Oe as HW,Of as XI,Og as c0,Oh as Ig,Oi as Gk,P as lT,Pa as ET,Pb as q,Pc as $1,Pd as sg,Pe as SI,Pf as fg,Pg as mk,Ph as Lk,Pi as $k,Q as cT,Qa as xh,Qb as Ne,Qc as Y1,Qd as sI,Qe as BW,Qf as Ph,Qg as Sg,Qh as Nk,Qi as Hg,R as dT,Ra as ht,Rb as xe,Rc as NW,Rd as aI,Re as CI,Rf as n9,Rg as le,Rh as Rk,Ri as Yk,S as Hf,Sa as $t,Sb as Ke,Sc as es,Sd as lI,Se as zW,Sf as r0,Sg as mt,Sh as p9,Si as Xk,T as Bf,Ta as TT,Tb as FT,Tc as Fc,Td as DW,Te as rs,Tf as Ln,Tg as Cg,Th as pa,Ti as x9,U as H2,Ua as Dr,Ub as IW,Uc as Zf,Ud as cI,Ue as me,Uf as gg,Ug as d0,Uh as Dk,Ui as Qk,V as j1,Va as Ce,Vb as lr,Vc as jT,Vd as e9,Ve as he,Vf as Nn,Vg as pk,Vh as Mk,Vi as _0,W as hT,Wa as sr,Wb as Oc,Wc as Q2,Wd as Ah,We as wI,Wf as o0,Wg as h0,Wh as ei,Wi as Bg,X as st,Xa as nt,Xb as Or,Xc as ts,Xd as dI,Xe as Q1,Xf as QI,Xg as u0,Xh as kg,Xi as E9,Y as Sl,Ya as gt,Yb as q2,Yc as Z2,Yd as An,Ye as xI,Yf as Qi,Yg as Uh,Yh as Ok,Yi as T9,Z as uT,Za as In,Zb as HT,Zc as VT,Zd as hI,Ze as so,Zf as At,Zg as ai,Zh as hr,Zi as I9,_ as $i,_a as re,_b as ae,_c as Jt,_d as Lh,_e as os,_f as Fh,_g as cs,_h as Br,_i as Zk,a as g,aa as Tt,ab as Pi,ac as no,ad as Jf,ae as X1,af as hg,ag as _g,ah as Vc,ai as Kc,aj as eA,b as ve,ba as na,bb as Cl,bc as q1,bd as qT,be as Pr,bf as EI,bg as ZI,bh as pt,bi as f9,bj as zg,c as Be,ca as B2,cb as Xi,cc as Jo,cd as GT,ce as gi,cf as TI,cg as s0,ch as gn,ci as Ag,cj as v0,d as yt,da as EW,db as oa,dc as ro,dd as $T,de as Nl,df as II,dg as JI,dh as fk,di as ui,dj as tA,e as Jr,ea as zf,eb as io,ec as Ht,ed as YT,ee as ze,ef as ug,eg as ek,eh as wg,ei as ao,ej as k9,f as Rf,fa as mT,fb as ko,fc as fi,fd as Dt,fe as Yt,ff as mg,fg as UW,fh as gk,fi as Zi,fj as iA,g as Ac,ga as pT,gb as V1,gc as kn,gd as XT,ge as Xt,gf as pg,gg as vg,gh as _k,gi as jh,gj as Vh,h as Lc,ha as TW,hb as Kf,hc as El,hd as RW,he as Bt,hf as kI,hg as WW,hh as vk,hi as fa,hj as li,i as it,ia as fT,ib as Dc,ic as Tl,id as eg,ie as ag,if as AI,ig as a0,ih as bk,ii as Lg,ij as nA,j as tT,ja as wh,jb as Me,jc as $f,jd as QT,je as Fr,jf as LI,jg as da,jh as yk,ji as g9,jj as A9,k as xW,ka as Uf,kb as hn,kc as Yf,kd as rt,ke as Nh,kf as NI,kg as tk,kh as a9,ki as Fk,kj as rA,l as eo,la as gT,lb as je,lc as si,ld as un,le as Uc,lf as Z1,lg as Lo,lh as qW,li as Ng,lj as L9,m as Df,ma as Ze,mb as ar,mc as V,md as hi,me as lg,mf as RI,mg as l0,mh as ma,mi as _9,mj as Ug,n as Mf,na as En,nb as Ft,nc as G2,nd as oo,ne as is,nf as J1,ng as ik,nh as xg,ni as Hk,nj as Kh,o as ri,oa as Io,ob as Je,oc as Il,od as cr,oe as It,of as ss,og as nk,oh as Sk,oi as GW,oj as oA,p as P2,pa as Wf,pb as Ci,pc as Wn,pd as Hc,pe as cg,pf as ca,pg as Hh,ph as Wh,pi as Bk,pj as XW,q as Lt,qa as cn,qb as wl,qc as fe,qd as tg,qe as mI,qf as DI,qg as rk,qh as Eg,qi as v9,qj as us,r as W,ra as _T,rb as qf,rc as F,rd as ZT,re as dr,rf as jc,rg as r9,rh as l9,ri as zk,rj as qh,s as $,sa as Rt,sb as IT,sc as $2,sd as Ih,se as pI,sf as MI,sg as Bh,sh as Hr,si as Uk,sj as _a,t as di,ta as to,tb as Mr,tc as BT,td as J2,te as ct,tf as i9,tg as Rn,th as Ck,ti as $W,tj as Gh,u as iT,ua as vT,ub as sa,uc as be,ud as ot,ue as fI,uf as OI,ug as ok,uh as Tg,ui as Rg,v as ne,va as z2,vb as kT,vc as De,vd as mn,ve as Rh,vf as PI,vg as sk,vh as Dl,vi as f0,w as Of,wa as bT,wb as AT,wc as k,wd as ig,we as t9,wf as FI,wg as ak,wh as ds,wi as Dg,x as nT,xa as jf,xb as Mc,xc as ke,xd as Al,xe as jn,xf as HI,xg as jW,xh as c9,xi as Mg,y as Ch,ya as Gt,yb as K1,yc as ye,yd as Bc,ye as ns,yf as BI,yg as lk,yh as d9,yi as b9,z as Gi,za as yT,zb as Zt,zc as Fi,zd as ng,ze as Wc,zf as zI,zg as VW,zh as wk,zi as Og}from"./chunk-6SKM76U7.js";import{a as ge,b as Qe,c as Ic,d as Qo,e as vl,f as lt,g as wW,h as qi,i as To}from"./chunk-2YVZDWG7.js";var BA=lt(()=>{});var l_=lt((a_,zA)=>{(function(i,e){typeof a_=="object"?zA.exports=a_=e():typeof define=="function"&&define.amd?define([],e):i.CryptoJS=e()})(a_,function(){var i=i||function(e,t){var n;if(typeof window!="undefined"&&window.crypto&&(n=window.crypto),typeof self!="undefined"&&self.crypto&&(n=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window!="undefined"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof global!="undefined"&&global.crypto&&(n=global.crypto),!n&&typeof Ic=="function")try{n=BA()}catch(_){}var r=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch(_){}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch(_){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function _(){}return function(C){var x;return _.prototype=C,x=new _,_.prototype=null,x}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(_){var C=o(this);return _&&C.mixIn(_),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var _=this.extend();return _.init.apply(_,arguments),_},init:function(){},mixIn:function(_){for(var C in _)_.hasOwnProperty(C)&&(this[C]=_[C]);_.hasOwnProperty("toString")&&(this.toString=_.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(_,C){_=this.words=_||[],C!=t?this.sigBytes=C:this.sigBytes=_.length*4},toString:function(_){return(_||h).stringify(this)},concat:function(_){var C=this.words,x=_.words,I=this.sigBytes,A=_.sigBytes;if(this.clamp(),I%4)for(var O=0;O>>2]>>>24-O%4*8&255;C[I+O>>>2]|=D<<24-(I+O)%4*8}else for(var K=0;K>>2]=x[K>>>2];return this.sigBytes+=A,this},clamp:function(){var _=this.words,C=this.sigBytes;_[C>>>2]&=4294967295<<32-C%4*8,_.length=e.ceil(C/4)},clone:function(){var _=l.clone.call(this);return _.words=this.words.slice(0),_},random:function(_){for(var C=[],x=0;x<_;x+=4)C.push(r());return new c.init(C,_)}}),d=s.enc={},h=d.Hex={stringify:function(_){for(var C=_.words,x=_.sigBytes,I=[],A=0;A>>2]>>>24-A%4*8&255;I.push((O>>>4).toString(16)),I.push((O&15).toString(16))}return I.join("")},parse:function(_){for(var C=_.length,x=[],I=0;I>>3]|=parseInt(_.substr(I,2),16)<<24-I%8*4;return new c.init(x,C/2)}},u=d.Latin1={stringify:function(_){for(var C=_.words,x=_.sigBytes,I=[],A=0;A>>2]>>>24-A%4*8&255;I.push(String.fromCharCode(O))}return I.join("")},parse:function(_){for(var C=_.length,x=[],I=0;I>>2]|=(_.charCodeAt(I)&255)<<24-I%4*8;return new c.init(x,C)}},m=d.Utf8={stringify:function(_){try{return decodeURIComponent(escape(u.stringify(_)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(_){return u.parse(unescape(encodeURIComponent(_)))}},p=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(_){typeof _=="string"&&(_=m.parse(_)),this._data.concat(_),this._nDataBytes+=_.sigBytes},_process:function(_){var C,x=this._data,I=x.words,A=x.sigBytes,O=this.blockSize,D=O*4,K=A/D;_?K=e.ceil(K):K=e.max((K|0)-this._minBufferSize,0);var G=K*O,Se=e.min(G*4,A);if(G){for(var te=0;te{(function(i,e){typeof c_=="object"?UA.exports=c_=e(l_()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(c_,function(i){return function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[];(function(){for(var m=0;m<64;m++)a[m]=e.abs(e.sin(m+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,p){for(var f=0;f<16;f++){var b=p+f,_=m[b];m[b]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var C=this._hash.words,x=m[p+0],I=m[p+1],A=m[p+2],O=m[p+3],D=m[p+4],K=m[p+5],G=m[p+6],Se=m[p+7],te=m[p+8],Ie=m[p+9],Oe=m[p+10],He=m[p+11],Xe=m[p+12],B=m[p+13],Q=m[p+14],J=m[p+15],j=C[0],H=C[1],U=C[2],X=C[3];j=c(j,H,U,X,x,7,a[0]),X=c(X,j,H,U,I,12,a[1]),U=c(U,X,j,H,A,17,a[2]),H=c(H,U,X,j,O,22,a[3]),j=c(j,H,U,X,D,7,a[4]),X=c(X,j,H,U,K,12,a[5]),U=c(U,X,j,H,G,17,a[6]),H=c(H,U,X,j,Se,22,a[7]),j=c(j,H,U,X,te,7,a[8]),X=c(X,j,H,U,Ie,12,a[9]),U=c(U,X,j,H,Oe,17,a[10]),H=c(H,U,X,j,He,22,a[11]),j=c(j,H,U,X,Xe,7,a[12]),X=c(X,j,H,U,B,12,a[13]),U=c(U,X,j,H,Q,17,a[14]),H=c(H,U,X,j,J,22,a[15]),j=d(j,H,U,X,I,5,a[16]),X=d(X,j,H,U,G,9,a[17]),U=d(U,X,j,H,He,14,a[18]),H=d(H,U,X,j,x,20,a[19]),j=d(j,H,U,X,K,5,a[20]),X=d(X,j,H,U,Oe,9,a[21]),U=d(U,X,j,H,J,14,a[22]),H=d(H,U,X,j,D,20,a[23]),j=d(j,H,U,X,Ie,5,a[24]),X=d(X,j,H,U,Q,9,a[25]),U=d(U,X,j,H,O,14,a[26]),H=d(H,U,X,j,te,20,a[27]),j=d(j,H,U,X,B,5,a[28]),X=d(X,j,H,U,A,9,a[29]),U=d(U,X,j,H,Se,14,a[30]),H=d(H,U,X,j,Xe,20,a[31]),j=h(j,H,U,X,K,4,a[32]),X=h(X,j,H,U,te,11,a[33]),U=h(U,X,j,H,He,16,a[34]),H=h(H,U,X,j,Q,23,a[35]),j=h(j,H,U,X,I,4,a[36]),X=h(X,j,H,U,D,11,a[37]),U=h(U,X,j,H,Se,16,a[38]),H=h(H,U,X,j,Oe,23,a[39]),j=h(j,H,U,X,B,4,a[40]),X=h(X,j,H,U,x,11,a[41]),U=h(U,X,j,H,O,16,a[42]),H=h(H,U,X,j,G,23,a[43]),j=h(j,H,U,X,Ie,4,a[44]),X=h(X,j,H,U,Xe,11,a[45]),U=h(U,X,j,H,J,16,a[46]),H=h(H,U,X,j,A,23,a[47]),j=u(j,H,U,X,x,6,a[48]),X=u(X,j,H,U,Se,10,a[49]),U=u(U,X,j,H,Q,15,a[50]),H=u(H,U,X,j,K,21,a[51]),j=u(j,H,U,X,Xe,6,a[52]),X=u(X,j,H,U,O,10,a[53]),U=u(U,X,j,H,Oe,15,a[54]),H=u(H,U,X,j,I,21,a[55]),j=u(j,H,U,X,te,6,a[56]),X=u(X,j,H,U,J,10,a[57]),U=u(U,X,j,H,G,15,a[58]),H=u(H,U,X,j,B,21,a[59]),j=u(j,H,U,X,D,6,a[60]),X=u(X,j,H,U,He,10,a[61]),U=u(U,X,j,H,A,15,a[62]),H=u(H,U,X,j,Ie,21,a[63]),C[0]=C[0]+j|0,C[1]=C[1]+H|0,C[2]=C[2]+U|0,C[3]=C[3]+X|0},_doFinalize:function(){var m=this._data,p=m.words,f=this._nDataBytes*8,b=m.sigBytes*8;p[b>>>5]|=128<<24-b%32;var _=e.floor(f/4294967296),C=f;p[(b+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,p[(b+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,m.sigBytes=(p.length+1)*4,this._process();for(var x=this._hash,I=x.words,A=0;A<4;A++){var O=I[A];I[A]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}return x},clone:function(){var m=o.clone.call(this);return m._hash=this._hash.clone(),m}});function c(m,p,f,b,_,C,x){var I=m+(p&f|~p&b)+_+x;return(I<>>32-C)+p}function d(m,p,f,b,_,C,x){var I=m+(p&b|f&~b)+_+x;return(I<>>32-C)+p}function h(m,p,f,b,_,C,x){var I=m+(p^f^b)+_+x;return(I<>>32-C)+p}function u(m,p,f,b,_,C,x){var I=m+(f^(p|~b))+_+x;return(I<>>32-C)+p}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),i.MD5})});var VA=lt((d_,jA)=>{(function(i,e){typeof d_=="object"?jA.exports=d_=e(l_()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(d_,function(i){return function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[],l=[];(function(){function h(f){for(var b=e.sqrt(f),_=2;_<=b;_++)if(!(f%_))return!1;return!0}function u(f){return(f-(f|0))*4294967296|0}for(var m=2,p=0;p<64;)h(m)&&(p<8&&(a[p]=u(e.pow(m,1/2))),l[p]=u(e.pow(m,1/3)),p++),m++})();var c=[],d=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(h,u){for(var m=this._hash.words,p=m[0],f=m[1],b=m[2],_=m[3],C=m[4],x=m[5],I=m[6],A=m[7],O=0;O<64;O++){if(O<16)c[O]=h[u+O]|0;else{var D=c[O-15],K=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,G=c[O-2],Se=(G<<15|G>>>17)^(G<<13|G>>>19)^G>>>10;c[O]=K+c[O-7]+Se+c[O-16]}var te=C&x^~C&I,Ie=p&f^p&b^f&b,Oe=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),He=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),Xe=A+He+te+l[O]+c[O],B=Oe+Ie;A=I,I=x,x=C,C=_+Xe|0,_=b,b=f,f=p,p=Xe+B|0}m[0]=m[0]+p|0,m[1]=m[1]+f|0,m[2]=m[2]+b|0,m[3]=m[3]+_|0,m[4]=m[4]+C|0,m[5]=m[5]+x|0,m[6]=m[6]+I|0,m[7]=m[7]+A|0},_doFinalize:function(){var h=this._data,u=h.words,m=this._nDataBytes*8,p=h.sigBytes*8;return u[p>>>5]|=128<<24-p%32,u[(p+64>>>9<<4)+14]=e.floor(m/4294967296),u[(p+64>>>9<<4)+15]=m,h.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var h=o.clone.call(this);return h._hash=this._hash.clone(),h}});t.SHA256=o._createHelper(d),t.HmacSHA256=o._createHmacHelper(d)}(Math),i.SHA256})});var qA=lt((h_,KA)=>{(function(i,e){typeof h_=="object"?KA.exports=h_=e(l_()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(h_,function(i){return function(){var e=i,t=e.lib,n=t.WordArray,r=e.enc,o=r.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,d=this._map;a.clamp();for(var h=[],u=0;u>>2]>>>24-u%4*8&255,p=l[u+1>>>2]>>>24-(u+1)%4*8&255,f=l[u+2>>>2]>>>24-(u+2)%4*8&255,b=m<<16|p<<8|f,_=0;_<4&&u+_*.75>>6*(3-_)&63));var C=d.charAt(64);if(C)for(;h.length%4;)h.push(C);return h.join("")},parse:function(a){var l=a.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-u%4*2,f=m|p;d[h>>>2]|=f<<24-h%4*8,h++}return n.create(d,h)}}(),i.enc.Base64})});var ty=lt((Lae,pL)=>{pL.exports=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}});var wL=lt((Nae,CL)=>{"use strict";var b_=Object.prototype.hasOwnProperty,SL=Object.prototype.toString,fL=Object.defineProperty,gL=Object.getOwnPropertyDescriptor,_L=function(e){return typeof Array.isArray=="function"?Array.isArray(e):SL.call(e)==="[object Array]"},vL=function(e){if(!e||SL.call(e)!=="[object Object]")return!1;var t=b_.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&b_.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var r;for(r in e);return typeof r=="undefined"||b_.call(e,r)},bL=function(e,t){fL&&t.name==="__proto__"?fL(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},yL=function(e,t){if(t==="__proto__")if(b_.call(e,t)){if(gL)return gL(e,t).value}else return;return e[t]};CL.exports=function i(){var e,t,n,r,o,s,a=arguments[0],l=1,c=arguments.length,d=!1;for(typeof a=="boolean"&&(d=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l{"use strict";var UN={};function HK(i){var e,t,n=UN[i];if(n)return n;for(n=UN[i]=[],e=0;e<128;e++)t=String.fromCharCode(e),/^[0-9a-z]$/i.test(t)?n.push(t):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1=56320&&s<=57343)){l+=encodeURIComponent(i[n]+i[n+1]),n++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(i[n])}return l}N_.defaultChars=";/?:@&=+$,-_.!~*'()#";N_.componentChars="-_.!~*'()";WN.exports=N_});var O_=lt(Ca=>{"use strict";var KK=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];Ca.REPLACEMENT_CHARACTER="\uFFFD";Ca.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};Ca.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};Ca.isSurrogate=function(i){return i>=55296&&i<=57343};Ca.isSurrogatePair=function(i){return i>=56320&&i<=57343};Ca.getSurrogatePairCodePoint=function(i,e){return(i-55296)*1024+9216+e};Ca.isControlCodePoint=function(i){return i!==32&&i!==10&&i!==13&&i!==9&&i!==12&&i>=1&&i<=31||i>=127&&i<=159};Ca.isUndefinedCodePoint=function(i){return i>=64976&&i<=65007||KK.indexOf(i)>-1}});var P_=lt((Vue,aR)=>{"use strict";aR.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}});var cR=lt((Kue,lR)=>{"use strict";var ou=O_(),Py=P_(),Zc=ou.CODE_POINTS,qK=65536,Fy=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=qK}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){let t=this.html.charCodeAt(this.pos+1);if(ou.isSurrogatePair(t))return this.pos++,this._addGap(),ou.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Zc.EOF;return this._err(Py.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Zc.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===Zc.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===Zc.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Zc.LINE_FEED):(this.skipNextNewLine=!1,ou.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===Zc.LINE_FEED||e===Zc.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ou.isControlCodePoint(e)?this._err(Py.controlCharacterInInputStream):ou.isUndefinedCodePoint(e)&&this._err(Py.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}};lR.exports=Fy});var hR=lt((que,dR)=>{"use strict";dR.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])});var V0=lt((Gue,cD)=>{"use strict";var GK=cR(),Wt=O_(),td=hR(),Z=P_(),R=Wt.CODE_POINTS,Jc=Wt.CODE_POINT_SEQUENCES,$K={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},nD=1,rD=2,oD=4,YK=nD|rD|oD,ft="DATA_STATE",au="RCDATA_STATE",W0="RAWTEXT_STATE",Ea="SCRIPT_DATA_STATE",sD="PLAINTEXT_STATE",uR="TAG_OPEN_STATE",mR="END_TAG_OPEN_STATE",Hy="TAG_NAME_STATE",pR="RCDATA_LESS_THAN_SIGN_STATE",fR="RCDATA_END_TAG_OPEN_STATE",gR="RCDATA_END_TAG_NAME_STATE",_R="RAWTEXT_LESS_THAN_SIGN_STATE",vR="RAWTEXT_END_TAG_OPEN_STATE",bR="RAWTEXT_END_TAG_NAME_STATE",yR="SCRIPT_DATA_LESS_THAN_SIGN_STATE",SR="SCRIPT_DATA_END_TAG_OPEN_STATE",CR="SCRIPT_DATA_END_TAG_NAME_STATE",wR="SCRIPT_DATA_ESCAPE_START_STATE",xR="SCRIPT_DATA_ESCAPE_START_DASH_STATE",Do="SCRIPT_DATA_ESCAPED_STATE",ER="SCRIPT_DATA_ESCAPED_DASH_STATE",By="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",F_="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",TR="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",IR="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",kR="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",wa="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",AR="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",LR="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",H_="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",NR="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",ys="BEFORE_ATTRIBUTE_NAME_STATE",B_="ATTRIBUTE_NAME_STATE",zy="AFTER_ATTRIBUTE_NAME_STATE",Uy="BEFORE_ATTRIBUTE_VALUE_STATE",z_="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",U_="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",W_="ATTRIBUTE_VALUE_UNQUOTED_STATE",Wy="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",zl="SELF_CLOSING_START_TAG_STATE",H0="BOGUS_COMMENT_STATE",RR="MARKUP_DECLARATION_OPEN_STATE",DR="COMMENT_START_STATE",MR="COMMENT_START_DASH_STATE",Ul="COMMENT_STATE",OR="COMMENT_LESS_THAN_SIGN_STATE",PR="COMMENT_LESS_THAN_SIGN_BANG_STATE",FR="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",HR="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",j_="COMMENT_END_DASH_STATE",V_="COMMENT_END_STATE",BR="COMMENT_END_BANG_STATE",zR="DOCTYPE_STATE",K_="BEFORE_DOCTYPE_NAME_STATE",q_="DOCTYPE_NAME_STATE",UR="AFTER_DOCTYPE_NAME_STATE",WR="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",jR="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",jy="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",Vy="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",Ky="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",VR="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",KR="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",qR="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",B0="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",z0="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",qy="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",xa="BOGUS_DOCTYPE_STATE",G_="CDATA_SECTION_STATE",GR="CDATA_SECTION_BRACKET_STATE",$R="CDATA_SECTION_END_STATE",su="CHARACTER_REFERENCE_STATE",YR="NAMED_CHARACTER_REFERENCE_STATE",XR="AMBIGUOS_AMPERSAND_STATE",QR="NUMERIC_CHARACTER_REFERENCE_STATE",ZR="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",JR="DECIMAL_CHARACTER_REFERENCE_START_STATE",eD="HEXADEMICAL_CHARACTER_REFERENCE_STATE",tD="DECIMAL_CHARACTER_REFERENCE_STATE",U0="NUMERIC_CHARACTER_REFERENCE_END_STATE";function ci(i){return i===R.SPACE||i===R.LINE_FEED||i===R.TABULATION||i===R.FORM_FEED}function j0(i){return i>=R.DIGIT_0&&i<=R.DIGIT_9}function Mo(i){return i>=R.LATIN_CAPITAL_A&&i<=R.LATIN_CAPITAL_Z}function ed(i){return i>=R.LATIN_SMALL_A&&i<=R.LATIN_SMALL_Z}function jl(i){return ed(i)||Mo(i)}function Gy(i){return jl(i)||j0(i)}function aD(i){return i>=R.LATIN_CAPITAL_A&&i<=R.LATIN_CAPITAL_F}function lD(i){return i>=R.LATIN_SMALL_A&&i<=R.LATIN_SMALL_F}function XK(i){return j0(i)||aD(i)||lD(i)}function $_(i){return i+32}function wi(i){return i<=65535?String.fromCharCode(i):(i-=65536,String.fromCharCode(i>>>10&1023|55296)+String.fromCharCode(56320|i&1023))}function Wl(i){return String.fromCharCode($_(i))}function iD(i,e){let t=td[++i],n=++i,r=n+t-1;for(;n<=r;){let o=n+r>>>1,s=td[o];if(se)r=o-1;else return td[o+t]}return-1}var jt=class{constructor(){this.preprocessor=new GK,this.tokenQueue=[],this.allowCDATA=!1,this.state=ft,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:jt.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0,s=e.length,a=0,l=t,c;for(;a0&&(l=this._consume(),r++),l===R.EOF){o=!1;break}if(c=e[a],l!==c&&(n||l!==$_(c))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Jc.SCRIPT_STRING.length)return!1;for(let e=0;e0&&this._err(Z.endTagWithAttributes),e.selfClosing&&this._err(Z.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=jt.CHARACTER_TOKEN;ci(e)?t=jt.WHITESPACE_CHARACTER_TOKEN:e===R.NULL&&(t=jt.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,wi(e))}_emitSeveralCodePoints(e){for(let t=0;t-1;){let o=td[r],s=o")):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.state=Do,this._emitChars(Wt.REPLACEMENT_CHARACTER)):e===R.EOF?(this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Do,this._emitCodePoint(e))}[F_](e){e===R.SOLIDUS?(this.tempBuff=[],this.state=TR):jl(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(kR)):(this._emitChars("<"),this._reconsumeInState(Do))}[TR](e){jl(e)?(this._createEndTagToken(),this._reconsumeInState(IR)):(this._emitChars("")):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.state=wa,this._emitChars(Wt.REPLACEMENT_CHARACTER)):e===R.EOF?(this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=wa,this._emitCodePoint(e))}[H_](e){e===R.SOLIDUS?(this.tempBuff=[],this.state=NR,this._emitChars("/")):this._reconsumeInState(wa)}[NR](e){ci(e)||e===R.SOLIDUS||e===R.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?Do:wa,this._emitCodePoint(e)):Mo(e)?(this.tempBuff.push($_(e)),this._emitCodePoint(e)):ed(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(wa)}[ys](e){ci(e)||(e===R.SOLIDUS||e===R.GREATER_THAN_SIGN||e===R.EOF?this._reconsumeInState(zy):e===R.EQUALS_SIGN?(this._err(Z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=B_):(this._createAttr(""),this._reconsumeInState(B_)))}[B_](e){ci(e)||e===R.SOLIDUS||e===R.GREATER_THAN_SIGN||e===R.EOF?(this._leaveAttrName(zy),this._unconsume()):e===R.EQUALS_SIGN?this._leaveAttrName(Uy):Mo(e)?this.currentAttr.name+=Wl(e):e===R.QUOTATION_MARK||e===R.APOSTROPHE||e===R.LESS_THAN_SIGN?(this._err(Z.unexpectedCharacterInAttributeName),this.currentAttr.name+=wi(e)):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentAttr.name+=Wt.REPLACEMENT_CHARACTER):this.currentAttr.name+=wi(e)}[zy](e){ci(e)||(e===R.SOLIDUS?this.state=zl:e===R.EQUALS_SIGN?this.state=Uy:e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(B_)))}[Uy](e){ci(e)||(e===R.QUOTATION_MARK?this.state=z_:e===R.APOSTROPHE?this.state=U_:e===R.GREATER_THAN_SIGN?(this._err(Z.missingAttributeValue),this.state=ft,this._emitCurrentToken()):this._reconsumeInState(W_))}[z_](e){e===R.QUOTATION_MARK?this.state=Wy:e===R.AMPERSAND?(this.returnState=z_,this.state=su):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(Z.eofInTag),this._emitEOFToken()):this.currentAttr.value+=wi(e)}[U_](e){e===R.APOSTROPHE?this.state=Wy:e===R.AMPERSAND?(this.returnState=U_,this.state=su):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(Z.eofInTag),this._emitEOFToken()):this.currentAttr.value+=wi(e)}[W_](e){ci(e)?this._leaveAttrValue(ys):e===R.AMPERSAND?(this.returnState=W_,this.state=su):e===R.GREATER_THAN_SIGN?(this._leaveAttrValue(ft),this._emitCurrentToken()):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt.REPLACEMENT_CHARACTER):e===R.QUOTATION_MARK||e===R.APOSTROPHE||e===R.LESS_THAN_SIGN||e===R.EQUALS_SIGN||e===R.GRAVE_ACCENT?(this._err(Z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=wi(e)):e===R.EOF?(this._err(Z.eofInTag),this._emitEOFToken()):this.currentAttr.value+=wi(e)}[Wy](e){ci(e)?this._leaveAttrValue(ys):e===R.SOLIDUS?this._leaveAttrValue(zl):e===R.GREATER_THAN_SIGN?(this._leaveAttrValue(ft),this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInTag),this._emitEOFToken()):(this._err(Z.missingWhitespaceBetweenAttributes),this._reconsumeInState(ys))}[zl](e){e===R.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInTag),this._emitEOFToken()):(this._err(Z.unexpectedSolidusInTag),this._reconsumeInState(ys))}[H0](e){e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.data+=Wt.REPLACEMENT_CHARACTER):this.currentToken.data+=wi(e)}[RR](e){this._consumeSequenceIfMatch(Jc.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=DR):this._consumeSequenceIfMatch(Jc.DOCTYPE_STRING,e,!1)?this.state=zR:this._consumeSequenceIfMatch(Jc.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=G_:(this._err(Z.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=H0):this._ensureHibernation()||(this._err(Z.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(H0))}[DR](e){e===R.HYPHEN_MINUS?this.state=MR:e===R.GREATER_THAN_SIGN?(this._err(Z.abruptClosingOfEmptyComment),this.state=ft,this._emitCurrentToken()):this._reconsumeInState(Ul)}[MR](e){e===R.HYPHEN_MINUS?this.state=V_:e===R.GREATER_THAN_SIGN?(this._err(Z.abruptClosingOfEmptyComment),this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ul))}[Ul](e){e===R.HYPHEN_MINUS?this.state=j_:e===R.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=OR):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.data+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(Z.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=wi(e)}[OR](e){e===R.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=PR):e===R.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(Ul)}[PR](e){e===R.HYPHEN_MINUS?this.state=FR:this._reconsumeInState(Ul)}[FR](e){e===R.HYPHEN_MINUS?this.state=HR:this._reconsumeInState(j_)}[HR](e){e!==R.GREATER_THAN_SIGN&&e!==R.EOF&&this._err(Z.nestedComment),this._reconsumeInState(V_)}[j_](e){e===R.HYPHEN_MINUS?this.state=V_:e===R.EOF?(this._err(Z.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ul))}[V_](e){e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EXCLAMATION_MARK?this.state=BR:e===R.HYPHEN_MINUS?this.currentToken.data+="-":e===R.EOF?(this._err(Z.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(Ul))}[BR](e){e===R.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=j_):e===R.GREATER_THAN_SIGN?(this._err(Z.incorrectlyClosedComment),this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(Ul))}[zR](e){ci(e)?this.state=K_:e===R.GREATER_THAN_SIGN?this._reconsumeInState(K_):e===R.EOF?(this._err(Z.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(K_))}[K_](e){ci(e)||(Mo(e)?(this._createDoctypeToken(Wl(e)),this.state=q_):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this._createDoctypeToken(Wt.REPLACEMENT_CHARACTER),this.state=q_):e===R.GREATER_THAN_SIGN?(this._err(Z.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(Z.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(wi(e)),this.state=q_))}[q_](e){ci(e)?this.state=UR:e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):Mo(e)?this.currentToken.name+=Wl(e):e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.name+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=wi(e)}[UR](e){ci(e)||(e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Jc.PUBLIC_STRING,e,!1)?this.state=WR:this._consumeSequenceIfMatch(Jc.SYSTEM_STRING,e,!1)?this.state=KR:this._ensureHibernation()||(this._err(Z.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[WR](e){ci(e)?this.state=jR:e===R.QUOTATION_MARK?(this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=jy):e===R.APOSTROPHE?(this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=Vy):e===R.GREATER_THAN_SIGN?(this._err(Z.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa))}[jR](e){ci(e)||(e===R.QUOTATION_MARK?(this.currentToken.publicId="",this.state=jy):e===R.APOSTROPHE?(this.currentToken.publicId="",this.state=Vy):e===R.GREATER_THAN_SIGN?(this._err(Z.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[jy](e){e===R.QUOTATION_MARK?this.state=Ky:e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.publicId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(Z.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=wi(e)}[Vy](e){e===R.APOSTROPHE?this.state=Ky:e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.publicId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(Z.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=wi(e)}[Ky](e){ci(e)?this.state=VR:e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.QUOTATION_MARK?(this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=B0):e===R.APOSTROPHE?(this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=z0):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa))}[VR](e){ci(e)||(e===R.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ft):e===R.QUOTATION_MARK?(this.currentToken.systemId="",this.state=B0):e===R.APOSTROPHE?(this.currentToken.systemId="",this.state=z0):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[KR](e){ci(e)?this.state=qR:e===R.QUOTATION_MARK?(this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=B0):e===R.APOSTROPHE?(this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=z0):e===R.GREATER_THAN_SIGN?(this._err(Z.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa))}[qR](e){ci(e)||(e===R.QUOTATION_MARK?(this.currentToken.systemId="",this.state=B0):e===R.APOSTROPHE?(this.currentToken.systemId="",this.state=z0):e===R.GREATER_THAN_SIGN?(this._err(Z.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[B0](e){e===R.QUOTATION_MARK?this.state=qy:e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.systemId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(Z.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=wi(e)}[z0](e){e===R.APOSTROPHE?this.state=qy:e===R.NULL?(this._err(Z.unexpectedNullCharacter),this.currentToken.systemId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(Z.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=wi(e)}[qy](e){ci(e)||(e===R.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(Z.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Z.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(xa)))}[xa](e){e===R.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ft):e===R.NULL?this._err(Z.unexpectedNullCharacter):e===R.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[G_](e){e===R.RIGHT_SQUARE_BRACKET?this.state=GR:e===R.EOF?(this._err(Z.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[GR](e){e===R.RIGHT_SQUARE_BRACKET?this.state=$R:(this._emitChars("]"),this._reconsumeInState(G_))}[$R](e){e===R.GREATER_THAN_SIGN?this.state=ft:e===R.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(G_))}[su](e){this.tempBuff=[R.AMPERSAND],e===R.NUMBER_SIGN?(this.tempBuff.push(e),this.state=QR):Gy(e)?this._reconsumeInState(YR):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[YR](e){let t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[R.AMPERSAND];else if(t){let n=this.tempBuff[this.tempBuff.length-1]===R.SEMICOLON;this._isCharacterReferenceAttributeQuirk(n)||(n||this._errOnNextCodePoint(Z.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=XR}[XR](e){Gy(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=wi(e):this._emitCodePoint(e):(e===R.SEMICOLON&&this._err(Z.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[QR](e){this.charRefCode=0,e===R.LATIN_SMALL_X||e===R.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=ZR):this._reconsumeInState(JR)}[ZR](e){XK(e)?this._reconsumeInState(eD):(this._err(Z.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[JR](e){j0(e)?this._reconsumeInState(tD):(this._err(Z.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[eD](e){aD(e)?this.charRefCode=this.charRefCode*16+e-55:lD(e)?this.charRefCode=this.charRefCode*16+e-87:j0(e)?this.charRefCode=this.charRefCode*16+e-48:e===R.SEMICOLON?this.state=U0:(this._err(Z.missingSemicolonAfterCharacterReference),this._reconsumeInState(U0))}[tD](e){j0(e)?this.charRefCode=this.charRefCode*10+e-48:e===R.SEMICOLON?this.state=U0:(this._err(Z.missingSemicolonAfterCharacterReference),this._reconsumeInState(U0))}[U0](){if(this.charRefCode===R.NULL)this._err(Z.nullCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Z.characterReferenceOutsideUnicodeRange),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(Wt.isSurrogate(this.charRefCode))this._err(Z.surrogateCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(Wt.isUndefinedCodePoint(this.charRefCode))this._err(Z.noncharacterCharacterReference);else if(Wt.isControlCodePoint(this.charRefCode)||this.charRefCode===R.CARRIAGE_RETURN){this._err(Z.controlCharacterReference);let e=$K[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};jt.CHARACTER_TOKEN="CHARACTER_TOKEN";jt.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";jt.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";jt.START_TAG_TOKEN="START_TAG_TOKEN";jt.END_TAG_TOKEN="END_TAG_TOKEN";jt.COMMENT_TOKEN="COMMENT_TOKEN";jt.DOCTYPE_TOKEN="DOCTYPE_TOKEN";jt.EOF_TOKEN="EOF_TOKEN";jt.HIBERNATION_TOKEN="HIBERNATION_TOKEN";jt.MODE={DATA:ft,RCDATA:au,RAWTEXT:W0,SCRIPT_DATA:Ea,PLAINTEXT:sD};jt.getTokenAttr=function(i,e){for(let t=i.attrs.length-1;t>=0;t--)if(i.attrs[t].name===e)return i.attrs[t].value;return null};cD.exports=jt});var id=lt(lu=>{"use strict";var $y=lu.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};lu.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};lu.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var ue=lu.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};lu.SPECIAL_ELEMENTS={[$y.HTML]:{[ue.ADDRESS]:!0,[ue.APPLET]:!0,[ue.AREA]:!0,[ue.ARTICLE]:!0,[ue.ASIDE]:!0,[ue.BASE]:!0,[ue.BASEFONT]:!0,[ue.BGSOUND]:!0,[ue.BLOCKQUOTE]:!0,[ue.BODY]:!0,[ue.BR]:!0,[ue.BUTTON]:!0,[ue.CAPTION]:!0,[ue.CENTER]:!0,[ue.COL]:!0,[ue.COLGROUP]:!0,[ue.DD]:!0,[ue.DETAILS]:!0,[ue.DIR]:!0,[ue.DIV]:!0,[ue.DL]:!0,[ue.DT]:!0,[ue.EMBED]:!0,[ue.FIELDSET]:!0,[ue.FIGCAPTION]:!0,[ue.FIGURE]:!0,[ue.FOOTER]:!0,[ue.FORM]:!0,[ue.FRAME]:!0,[ue.FRAMESET]:!0,[ue.H1]:!0,[ue.H2]:!0,[ue.H3]:!0,[ue.H4]:!0,[ue.H5]:!0,[ue.H6]:!0,[ue.HEAD]:!0,[ue.HEADER]:!0,[ue.HGROUP]:!0,[ue.HR]:!0,[ue.HTML]:!0,[ue.IFRAME]:!0,[ue.IMG]:!0,[ue.INPUT]:!0,[ue.LI]:!0,[ue.LINK]:!0,[ue.LISTING]:!0,[ue.MAIN]:!0,[ue.MARQUEE]:!0,[ue.MENU]:!0,[ue.META]:!0,[ue.NAV]:!0,[ue.NOEMBED]:!0,[ue.NOFRAMES]:!0,[ue.NOSCRIPT]:!0,[ue.OBJECT]:!0,[ue.OL]:!0,[ue.P]:!0,[ue.PARAM]:!0,[ue.PLAINTEXT]:!0,[ue.PRE]:!0,[ue.SCRIPT]:!0,[ue.SECTION]:!0,[ue.SELECT]:!0,[ue.SOURCE]:!0,[ue.STYLE]:!0,[ue.SUMMARY]:!0,[ue.TABLE]:!0,[ue.TBODY]:!0,[ue.TD]:!0,[ue.TEMPLATE]:!0,[ue.TEXTAREA]:!0,[ue.TFOOT]:!0,[ue.TH]:!0,[ue.THEAD]:!0,[ue.TITLE]:!0,[ue.TR]:!0,[ue.TRACK]:!0,[ue.UL]:!0,[ue.WBR]:!0,[ue.XMP]:!0},[$y.MATHML]:{[ue.MI]:!0,[ue.MO]:!0,[ue.MN]:!0,[ue.MS]:!0,[ue.MTEXT]:!0,[ue.ANNOTATION_XML]:!0},[$y.SVG]:{[ue.TITLE]:!0,[ue.FOREIGN_OBJECT]:!0,[ue.DESC]:!0}}});var mD=lt((Yue,uD)=>{"use strict";var hD=id(),pe=hD.TAG_NAMES,Vt=hD.NAMESPACES;function dD(i){switch(i.length){case 1:return i===pe.P;case 2:return i===pe.RB||i===pe.RP||i===pe.RT||i===pe.DD||i===pe.DT||i===pe.LI;case 3:return i===pe.RTC;case 6:return i===pe.OPTION;case 8:return i===pe.OPTGROUP}return!1}function QK(i){switch(i.length){case 1:return i===pe.P;case 2:return i===pe.RB||i===pe.RP||i===pe.RT||i===pe.DD||i===pe.DT||i===pe.LI||i===pe.TD||i===pe.TH||i===pe.TR;case 3:return i===pe.RTC;case 5:return i===pe.TBODY||i===pe.TFOOT||i===pe.THEAD;case 6:return i===pe.OPTION;case 7:return i===pe.CAPTION;case 8:return i===pe.OPTGROUP||i===pe.COLGROUP}return!1}function Y_(i,e){switch(i.length){case 2:if(i===pe.TD||i===pe.TH)return e===Vt.HTML;if(i===pe.MI||i===pe.MO||i===pe.MN||i===pe.MS)return e===Vt.MATHML;break;case 4:if(i===pe.HTML)return e===Vt.HTML;if(i===pe.DESC)return e===Vt.SVG;break;case 5:if(i===pe.TABLE)return e===Vt.HTML;if(i===pe.MTEXT)return e===Vt.MATHML;if(i===pe.TITLE)return e===Vt.SVG;break;case 6:return(i===pe.APPLET||i===pe.OBJECT)&&e===Vt.HTML;case 7:return(i===pe.CAPTION||i===pe.MARQUEE)&&e===Vt.HTML;case 8:return i===pe.TEMPLATE&&e===Vt.HTML;case 13:return i===pe.FOREIGN_OBJECT&&e===Vt.SVG;case 14:return i===pe.ANNOTATION_XML&&e===Vt.MATHML}return!1}var Yy=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===pe.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Vt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){let n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){let t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===Vt.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){let t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){let e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===pe.H1||e===pe.H2||e===pe.H3||e===pe.H4||e===pe.H5||e===pe.H6&&t===Vt.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){let e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===pe.TD||e===pe.TH&&t===Vt.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==pe.TABLE&&this.currentTagName!==pe.TEMPLATE&&this.currentTagName!==pe.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Vt.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==pe.TBODY&&this.currentTagName!==pe.TFOOT&&this.currentTagName!==pe.THEAD&&this.currentTagName!==pe.TEMPLATE&&this.currentTagName!==pe.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Vt.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==pe.TR&&this.currentTagName!==pe.TEMPLATE&&this.currentTagName!==pe.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Vt.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){let e=this.items[1];return e&&this.treeAdapter.getTagName(e)===pe.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===pe.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Vt.HTML)return!0;if(Y_(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===pe.H1||t===pe.H2||t===pe.H3||t===pe.H4||t===pe.H5||t===pe.H6)&&n===Vt.HTML)return!0;if(Y_(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Vt.HTML)return!0;if((n===pe.UL||n===pe.OL)&&r===Vt.HTML||Y_(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Vt.HTML)return!0;if(n===pe.BUTTON&&r===Vt.HTML||Y_(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Vt.HTML){if(n===e)return!0;if(n===pe.TABLE||n===pe.TEMPLATE||n===pe.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===Vt.HTML){if(t===pe.TBODY||t===pe.THEAD||t===pe.TFOOT)return!0;if(t===pe.TABLE||t===pe.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Vt.HTML){if(n===e)return!0;if(n!==pe.OPTION&&n!==pe.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;dD(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;QK(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;dD(this.currentTagName)&&this.currentTagName!==e;)this.pop()}};uD.exports=Yy});var fD=lt((Xue,pD)=>{"use strict";var jr=class{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){let t=[];if(this.length>=3){let n=this.treeAdapter.getAttrList(e).length,r=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let s=this.length-1;s>=0;s--){let a=this.entries[s];if(a.type===jr.MARKER_ENTRY)break;let l=a.element,c=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===r&&this.treeAdapter.getNamespaceURI(l)===o&&c.length===n&&t.push({idx:s,attrs:c})}}return t.length<3?[]:t}_ensureNoahArkCondition(e){let t=this._getNoahArkConditionCandidates(e),n=t.length;if(n){let r=this.treeAdapter.getAttrList(e),o=r.length,s=Object.create(null);for(let a=0;a=3-1;a--)this.entries.splice(t[a].idx,1),this.length--}}insertMarker(){this.entries.push({type:jr.MARKER_ENTRY}),this.length++}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.push({type:jr.ELEMENT_ENTRY,element:e,token:t}),this.length++}insertElementAfterBookmark(e,t){let n=this.length-1;for(;n>=0&&this.entries[n]!==this.bookmark;n--);this.entries.splice(n+1,0,{type:jr.ELEMENT_ENTRY,element:e,token:t}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){let e=this.entries.pop();if(this.length--,e.type===jr.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let t=this.length-1;t>=0;t--){let n=this.entries[t];if(n.type===jr.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(n.element)===e)return n}return null}getElementEntry(e){for(let t=this.length-1;t>=0;t--){let n=this.entries[t];if(n.type===jr.ELEMENT_ENTRY&&n.element===e)return n}return null}};jr.MARKER_ENTRY="MARKER_ENTRY";jr.ELEMENT_ENTRY="ELEMENT_ENTRY";pD.exports=jr});var Ss=lt((Que,gD)=>{"use strict";var X_=class{constructor(e){let t={},n=this._getOverriddenMethods(this,t);for(let r of Object.keys(n))typeof n[r]=="function"&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}};X_.install=function(i,e,t){i.__mixins||(i.__mixins=[]);for(let r=0;r{"use strict";var ZK=Ss(),Xy=class extends ZK{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){let n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),(r===` +import{a as JE,b as Df,c as ZE,d as O2,e as eT,f as Sh,g as P2,h as Jr,i as Si,j as bl,k as z1,l as U1,m as rr,n as F2,o as tT,p as iT,q as kc,r as nT,s as rT}from"./chunk-HA3AQNT4.js";import{$ as oi,$a as Ct,$b as No,$c as YT,$d as gI,$e as ug,$f as pn,$g as ua,$h as zk,$i as nA,A as lT,Aa as ET,Ab as Eh,Ac as VT,Ad as sg,Ae as Rl,Af as KI,Ag as mk,Ah as kk,Ai as Hg,B as yl,Ba as Tn,Bb as V2,Bc as HW,Bd as I,Be as yI,Bf as qI,Bg as tj,Bh as Ak,Bi as qk,C as Hf,Ca as es,Cb as MT,Cc as Q2,Cd as ut,Ce as wt,Cf as GI,Cg as a9,Ch as Hi,Ci as Gk,D as W1,Da as TT,Db as K2,Dc as BW,Dd as kh,De as Dh,Df as $I,Dg as zh,Dh as m9,Di as ga,E as cT,Ea as IT,Eb as q2,Ec as KT,Ed as nI,Ee as SI,Ef as YI,Eg as Ue,Eh as m0,Ei as $k,F as Bf,Fa as j2,Fb as xl,Fc as aa,Fd as Ll,Fe as VW,Ff as XI,Fg as fn,Fh as at,Fi as C9,G as dT,Ga as or,Gb as OT,Gc as qT,Gd as rI,Ge as CI,Gf as QI,Gg as Sg,Gh as ms,Gi as oj,H as ln,Ha as Rc,Hb as PT,Hc as Jf,Hd as oI,He as Mh,Hf as JI,Hg as l9,Hh as Lk,Hi as Bg,I as xn,Ia as ra,Ib as FT,Ic as Zf,Id as sI,Ie as KW,If as ZI,Ig as pk,Ih as p0,Ii as g0,J as Nc,Ja as oe,Jb as HT,Jc as Pc,Jd as aI,Je as wI,Jf as cs,Jg as ha,Jh as p9,Ji as Yk,K as Nt,Ka as qf,Kb as Yf,Kc as J2,Kd as lI,Ke as qW,Kf as e0,Kg as fk,Kh as Nk,Ki as Xk,L as Re,La as te,Lb as BT,Lc as kl,Ld as cI,Le as Oh,Lf as t0,Lg as Cg,Lh as Rk,Li as w9,M as B2,Ma as kT,Mb as zT,Mc as zW,Md as zc,Me as GW,Mf as i0,Mg as ds,Mh as f9,Mi as x9,N as hT,Na as dn,Nb as G2,Nc as Th,Nd as la,Ne as xI,Nf as n0,Ng as gk,Nh as Dk,Ni as E9,O as St,Oa as Yi,Ob as Ut,Oc as G1,Od as ag,Oe as $W,Of as ek,Og as c0,Oh as Ag,Oi as Qk,P as uT,Pa as AT,Pb as G,Pc as $1,Pd as lg,Pe as EI,Pf as _g,Pg as _k,Ph as Mk,Pi as Jk,Q as mT,Qa as xh,Qb as Ne,Qc as Y1,Qd as dI,Qe as YW,Qf as Ph,Qg as wg,Qh as Ok,Qi as zg,R as pT,Ra as ht,Rb as xe,Rc as UW,Rd as hI,Re as TI,Rf as o9,Rg as le,Rh as Pk,Ri as Zk,S as zf,Sa as $t,Sb as Ke,Sc as is,Sd as uI,Se as XW,Sf as r0,Sg as mt,Sh as g9,Si as eA,T as Uf,Ta as LT,Tb as UT,Tc as Fc,Td as jW,Te as ss,Tf as Ln,Tg as xg,Th as pa,Ti as T9,U as z2,Ua as Dr,Ub as FW,Uc as eg,Ud as mI,Ue as pe,Uf as vg,Ug as d0,Uh as Fk,Ui as tA,V as j1,Va as Ce,Vb as lr,Vc as GT,Vd as i9,Ve as he,Vf as Nn,Vg as vk,Vh as Hk,Vi as _0,W as fT,Wa as sr,Wb as Oc,Wc as Z2,Wd as Ah,We as II,Wf as o0,Wg as h0,Wh as ei,Wi as Ug,X as st,Xa as nt,Xb as Or,Xc as ns,Xd as pI,Xe as Q1,Xf as tk,Xg as u0,Xh as Lg,Xi as I9,Y as Sl,Ya as gt,Yb as $2,Yc as e9,Yd as An,Ye as kI,Yf as Qi,Yg as Uh,Yh as Bk,Yi as k9,Z as gT,Za as In,Zb as WT,Zc as $T,Zd as fI,Ze as so,Zf as At,Zg as ai,Zh as hr,Zi as A9,_ as $i,_a as re,_b as ae,_c as Zt,_d as Lh,_e as as,_f as Fh,_g as hs,_h as Br,_i as iA,a as g,aa as Tt,ab as Pi,ac as no,ad as tg,ae as X1,af as mg,ag as bg,ah as Vc,ai as Kc,aj as rA,b as be,ba as na,bb as Cl,bc as q1,bd as XT,be as Pr,bf as AI,bg as ik,bh as pt,bi as _9,bj as Wg,c as Be,ca as U2,cb as Xi,cc as ts,cd as QT,ce as gi,cf as LI,cg as s0,ch as gn,ci as Ng,cj as v0,d as yt,da as OW,db as oa,dc as ro,dd as JT,de as Nl,df as NI,dg as nk,dh as bk,di as ui,dj as oA,e as Zr,ea as Wf,eb as io,ec as Ht,ed as ZT,ee as ze,ef as pg,eg as rk,eh as Eg,ei as ao,ej as L9,f as Mf,fa as _T,fb as Lo,fc as fi,fd as Dt,fe as Yt,ff as fg,fg as QW,fh as yk,fi as Ji,fj as sA,g as Ac,ga as vT,gb as V1,gc as kn,gd as eI,ge as Xt,gf as gg,gg as yg,gh as Sk,gi as jh,gj as Vh,h as Lc,ha as PW,hb as Gf,hc as El,hd as WW,he as Bt,hf as RI,hg as JW,hh as Ck,hi as fa,hj as li,i as it,ia as bT,ib as Dc,ic as Tl,id as ig,ie as cg,if as DI,ig as a0,ih as wk,ii as Rg,ij as aA,j as oT,ja as wh,jb as Me,jc as Xf,jd as tI,je as Fr,jf as MI,jg as da,jh as xk,ji as v9,jj as N9,k as MW,ka as jf,kb as hn,kc as Qf,kd as rt,ke as Nh,kf as OI,kg as ok,kh as c9,ki as Uk,kj as lA,l as eo,la as yT,lb as je,lc as si,ld as un,le as Uc,lf as J1,lg as Ro,lh as ij,li as Dg,lj as R9,m as Of,ma as Je,mb as ar,mc as K,md as hi,me as dg,mf as PI,mg as l0,mh as ma,mi as b9,mj as jg,n as Pf,na as En,nb as Ft,nc as Y2,nd as oo,ne as rs,nf as Z1,ng as sk,nh as Tg,ni as Wk,nj as Kh,o as ri,oa as Ao,ob as Ze,oc as Il,od as cr,oe as It,of as ls,og as ak,oh as Ek,oi as nj,oj as cA,p as H2,pa as Vf,pb as Ci,pc as Wn,pd as Hc,pe as hg,pf as ca,pg as Hh,ph as Wh,pi as jk,pj as sj,q as Lt,qa as cn,qb as wl,qc as ge,qd as ng,qe as _I,qf as FI,qg as lk,qh as Ig,qi as y9,qj as ps,r as j,ra as ST,rb as $f,rc as F,rd as iI,re as dr,rf as jc,rg as s9,rh as d9,ri as Vk,rj as qh,s as Y,sa as Rt,sb as NT,sc as X2,sd as Ih,se as vI,sf as HI,sg as Bh,sh as Hr,si as Kk,sj as _a,t as di,ta as to,tb as Mr,tc as jT,td as t9,te as ct,tf as r9,tg as Rn,th as Tk,ti as rj,tj as Gh,u as sT,ua as CT,ub as sa,uc as ye,ud as ot,ue as bI,uf as BI,ug as ck,uh as kg,ui as Mg,v as ne,va as W2,vb as RT,vc as De,vd as mn,ve as Rh,vf as zI,vg as dk,vh as Dl,vi as f0,w as Ff,wa as wT,wb as DT,wc as A,wd as rg,we as n9,wf as UI,wg as hk,wh as us,wi as Og,x as aT,xa as Kf,xb as Mc,xc as ke,xd as Al,xe as jn,xf as WI,xg as ZW,xh as h9,xi as Pg,y as Ch,ya as Gt,yb as K1,yc as Se,yd as Bc,ye as os,yf as jI,yg as uk,yh as u9,yi as S9,z as Gi,za as xT,zb as Jt,zc as Fi,zd as og,ze as Wc,zf as VI,zg as ej,zh as Ik,zi as Fg}from"./chunk-6SKM76U7.js";import{a as me,b as Qe,c as Ic,d as Zo,e as vl,f as lt,g as DW,h as qi,i as ko}from"./chunk-2YVZDWG7.js";var YA=lt(()=>{});var d_=lt((c_,XA)=>{(function(i,e){typeof c_=="object"?XA.exports=c_=e():typeof define=="function"&&define.amd?define([],e):i.CryptoJS=e()})(c_,function(){var i=i||function(e,t){var n;if(typeof window!="undefined"&&window.crypto&&(n=window.crypto),typeof self!="undefined"&&self.crypto&&(n=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window!="undefined"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof global!="undefined"&&global.crypto&&(n=global.crypto),!n&&typeof Ic=="function")try{n=YA()}catch(b){}var r=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch(b){}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch(b){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function b(){}return function(C){var E;return b.prototype=C,E=new b,b.prototype=null,E}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(b){var C=o(this);return b&&C.mixIn(b),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var C in b)b.hasOwnProperty(C)&&(this[C]=b[C]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(b,C){b=this.words=b||[],C!=t?this.sigBytes=C:this.sigBytes=b.length*4},toString:function(b){return(b||h).stringify(this)},concat:function(b){var C=this.words,E=b.words,w=this.sigBytes,k=b.sigBytes;if(this.clamp(),w%4)for(var O=0;O>>2]>>>24-O%4*8&255;C[w+O>>>2]|=D<<24-(w+O)%4*8}else for(var W=0;W>>2]=E[W>>>2];return this.sigBytes+=k,this},clamp:function(){var b=this.words,C=this.sigBytes;b[C>>>2]&=4294967295<<32-C%4*8,b.length=e.ceil(C/4)},clone:function(){var b=l.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var C=[],E=0;E>>2]>>>24-k%4*8&255;w.push((O>>>4).toString(16)),w.push((O&15).toString(16))}return w.join("")},parse:function(b){for(var C=b.length,E=[],w=0;w>>3]|=parseInt(b.substr(w,2),16)<<24-w%8*4;return new c.init(E,C/2)}},u=d.Latin1={stringify:function(b){for(var C=b.words,E=b.sigBytes,w=[],k=0;k>>2]>>>24-k%4*8&255;w.push(String.fromCharCode(O))}return w.join("")},parse:function(b){for(var C=b.length,E=[],w=0;w>>2]|=(b.charCodeAt(w)&255)<<24-w%4*8;return new c.init(E,C)}},m=d.Utf8={stringify:function(b){try{return decodeURIComponent(escape(u.stringify(b)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(b){return u.parse(unescape(encodeURIComponent(b)))}},p=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=m.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var C,E=this._data,w=E.words,k=E.sigBytes,O=this.blockSize,D=O*4,W=k/D;b?W=e.ceil(W):W=e.max((W|0)-this._minBufferSize,0);var q=W*O,_e=e.min(q*4,k);if(q){for(var ee=0;ee{(function(i,e){typeof h_=="object"?QA.exports=h_=e(d_()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(h_,function(i){return function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[];(function(){for(var m=0;m<64;m++)a[m]=e.abs(e.sin(m+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,p){for(var f=0;f<16;f++){var v=p+f,b=m[v];m[v]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var C=this._hash.words,E=m[p+0],w=m[p+1],k=m[p+2],O=m[p+3],D=m[p+4],W=m[p+5],q=m[p+6],_e=m[p+7],ee=m[p+8],Ie=m[p+9],Oe=m[p+10],He=m[p+11],Xe=m[p+12],B=m[p+13],Q=m[p+14],Z=m[p+15],V=C[0],H=C[1],U=C[2],X=C[3];V=c(V,H,U,X,E,7,a[0]),X=c(X,V,H,U,w,12,a[1]),U=c(U,X,V,H,k,17,a[2]),H=c(H,U,X,V,O,22,a[3]),V=c(V,H,U,X,D,7,a[4]),X=c(X,V,H,U,W,12,a[5]),U=c(U,X,V,H,q,17,a[6]),H=c(H,U,X,V,_e,22,a[7]),V=c(V,H,U,X,ee,7,a[8]),X=c(X,V,H,U,Ie,12,a[9]),U=c(U,X,V,H,Oe,17,a[10]),H=c(H,U,X,V,He,22,a[11]),V=c(V,H,U,X,Xe,7,a[12]),X=c(X,V,H,U,B,12,a[13]),U=c(U,X,V,H,Q,17,a[14]),H=c(H,U,X,V,Z,22,a[15]),V=d(V,H,U,X,w,5,a[16]),X=d(X,V,H,U,q,9,a[17]),U=d(U,X,V,H,He,14,a[18]),H=d(H,U,X,V,E,20,a[19]),V=d(V,H,U,X,W,5,a[20]),X=d(X,V,H,U,Oe,9,a[21]),U=d(U,X,V,H,Z,14,a[22]),H=d(H,U,X,V,D,20,a[23]),V=d(V,H,U,X,Ie,5,a[24]),X=d(X,V,H,U,Q,9,a[25]),U=d(U,X,V,H,O,14,a[26]),H=d(H,U,X,V,ee,20,a[27]),V=d(V,H,U,X,B,5,a[28]),X=d(X,V,H,U,k,9,a[29]),U=d(U,X,V,H,_e,14,a[30]),H=d(H,U,X,V,Xe,20,a[31]),V=h(V,H,U,X,W,4,a[32]),X=h(X,V,H,U,ee,11,a[33]),U=h(U,X,V,H,He,16,a[34]),H=h(H,U,X,V,Q,23,a[35]),V=h(V,H,U,X,w,4,a[36]),X=h(X,V,H,U,D,11,a[37]),U=h(U,X,V,H,_e,16,a[38]),H=h(H,U,X,V,Oe,23,a[39]),V=h(V,H,U,X,B,4,a[40]),X=h(X,V,H,U,E,11,a[41]),U=h(U,X,V,H,O,16,a[42]),H=h(H,U,X,V,q,23,a[43]),V=h(V,H,U,X,Ie,4,a[44]),X=h(X,V,H,U,Xe,11,a[45]),U=h(U,X,V,H,Z,16,a[46]),H=h(H,U,X,V,k,23,a[47]),V=u(V,H,U,X,E,6,a[48]),X=u(X,V,H,U,_e,10,a[49]),U=u(U,X,V,H,Q,15,a[50]),H=u(H,U,X,V,W,21,a[51]),V=u(V,H,U,X,Xe,6,a[52]),X=u(X,V,H,U,O,10,a[53]),U=u(U,X,V,H,Oe,15,a[54]),H=u(H,U,X,V,w,21,a[55]),V=u(V,H,U,X,ee,6,a[56]),X=u(X,V,H,U,Z,10,a[57]),U=u(U,X,V,H,q,15,a[58]),H=u(H,U,X,V,B,21,a[59]),V=u(V,H,U,X,D,6,a[60]),X=u(X,V,H,U,He,10,a[61]),U=u(U,X,V,H,k,15,a[62]),H=u(H,U,X,V,Ie,21,a[63]),C[0]=C[0]+V|0,C[1]=C[1]+H|0,C[2]=C[2]+U|0,C[3]=C[3]+X|0},_doFinalize:function(){var m=this._data,p=m.words,f=this._nDataBytes*8,v=m.sigBytes*8;p[v>>>5]|=128<<24-v%32;var b=e.floor(f/4294967296),C=f;p[(v+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p[(v+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,m.sigBytes=(p.length+1)*4,this._process();for(var E=this._hash,w=E.words,k=0;k<4;k++){var O=w[k];w[k]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}return E},clone:function(){var m=o.clone.call(this);return m._hash=this._hash.clone(),m}});function c(m,p,f,v,b,C,E){var w=m+(p&f|~p&v)+b+E;return(w<>>32-C)+p}function d(m,p,f,v,b,C,E){var w=m+(p&v|f&~v)+b+E;return(w<>>32-C)+p}function h(m,p,f,v,b,C,E){var w=m+(p^f^v)+b+E;return(w<>>32-C)+p}function u(m,p,f,v,b,C,E){var w=m+(f^(p|~v))+b+E;return(w<>>32-C)+p}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),i.MD5})});var eL=lt((u_,ZA)=>{(function(i,e){typeof u_=="object"?ZA.exports=u_=e(d_()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(u_,function(i){return function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[],l=[];(function(){function h(f){for(var v=e.sqrt(f),b=2;b<=v;b++)if(!(f%b))return!1;return!0}function u(f){return(f-(f|0))*4294967296|0}for(var m=2,p=0;p<64;)h(m)&&(p<8&&(a[p]=u(e.pow(m,1/2))),l[p]=u(e.pow(m,1/3)),p++),m++})();var c=[],d=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(h,u){for(var m=this._hash.words,p=m[0],f=m[1],v=m[2],b=m[3],C=m[4],E=m[5],w=m[6],k=m[7],O=0;O<64;O++){if(O<16)c[O]=h[u+O]|0;else{var D=c[O-15],W=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,q=c[O-2],_e=(q<<15|q>>>17)^(q<<13|q>>>19)^q>>>10;c[O]=W+c[O-7]+_e+c[O-16]}var ee=C&E^~C&w,Ie=p&f^p&v^f&v,Oe=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),He=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),Xe=k+He+ee+l[O]+c[O],B=Oe+Ie;k=w,w=E,E=C,C=b+Xe|0,b=v,v=f,f=p,p=Xe+B|0}m[0]=m[0]+p|0,m[1]=m[1]+f|0,m[2]=m[2]+v|0,m[3]=m[3]+b|0,m[4]=m[4]+C|0,m[5]=m[5]+E|0,m[6]=m[6]+w|0,m[7]=m[7]+k|0},_doFinalize:function(){var h=this._data,u=h.words,m=this._nDataBytes*8,p=h.sigBytes*8;return u[p>>>5]|=128<<24-p%32,u[(p+64>>>9<<4)+14]=e.floor(m/4294967296),u[(p+64>>>9<<4)+15]=m,h.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var h=o.clone.call(this);return h._hash=this._hash.clone(),h}});t.SHA256=o._createHelper(d),t.HmacSHA256=o._createHmacHelper(d)}(Math),i.SHA256})});var iL=lt((m_,tL)=>{(function(i,e){typeof m_=="object"?tL.exports=m_=e(d_()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(m_,function(i){return function(){var e=i,t=e.lib,n=t.WordArray,r=e.enc,o=r.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,d=this._map;a.clamp();for(var h=[],u=0;u>>2]>>>24-u%4*8&255,p=l[u+1>>>2]>>>24-(u+1)%4*8&255,f=l[u+2>>>2]>>>24-(u+2)%4*8&255,v=m<<16|p<<8|f,b=0;b<4&&u+b*.75>>6*(3-b)&63));var C=d.charAt(64);if(C)for(;h.length%4;)h.push(C);return h.join("")},parse:function(a){var l=a.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-u%4*2,f=m|p;d[h>>>2]|=f<<24-h%4*8,h++}return n.create(d,h)}}(),i.enc.Base64})});var oy=lt((zae,xL)=>{xL.exports=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}});var DL=lt((Uae,RL)=>{"use strict";var S_=Object.prototype.hasOwnProperty,NL=Object.prototype.toString,EL=Object.defineProperty,TL=Object.getOwnPropertyDescriptor,IL=function(e){return typeof Array.isArray=="function"?Array.isArray(e):NL.call(e)==="[object Array]"},kL=function(e){if(!e||NL.call(e)!=="[object Object]")return!1;var t=S_.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&S_.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var r;for(r in e);return typeof r=="undefined"||S_.call(e,r)},AL=function(e,t){EL&&t.name==="__proto__"?EL(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},LL=function(e,t){if(t==="__proto__")if(S_.call(e,t)){if(TL)return TL(e,t).value}else return;return e[t]};RL.exports=function i(){var e,t,n,r,o,s,a=arguments[0],l=1,c=arguments.length,d=!1;for(typeof a=="boolean"&&(d=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l{"use strict";var QN={};function $K(i){var e,t,n=QN[i];if(n)return n;for(n=QN[i]=[],e=0;e<128;e++)t=String.fromCharCode(e),/^[0-9a-z]$/i.test(t)?n.push(t):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1=56320&&s<=57343)){l+=encodeURIComponent(i[n]+i[n+1]),n++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(i[n])}return l}D_.defaultChars=";/?:@&=+$,-_.!~*'()#";D_.componentChars="-_.!~*'()";JN.exports=D_});var F_=lt(Ca=>{"use strict";var tq=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];Ca.REPLACEMENT_CHARACTER="\uFFFD";Ca.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};Ca.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};Ca.isSurrogate=function(i){return i>=55296&&i<=57343};Ca.isSurrogatePair=function(i){return i>=56320&&i<=57343};Ca.getSurrogatePairCodePoint=function(i,e){return(i-55296)*1024+9216+e};Ca.isControlCodePoint=function(i){return i!==32&&i!==10&&i!==13&&i!==9&&i!==12&&i>=1&&i<=31||i>=127&&i<=159};Ca.isUndefinedCodePoint=function(i){return i>=64976&&i<=65007||tq.indexOf(i)>-1}});var H_=lt((e1e,_R)=>{"use strict";_R.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}});var bR=lt((t1e,vR)=>{"use strict";var ou=F_(),zy=H_(),Jc=ou.CODE_POINTS,iq=65536,Uy=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=iq}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){let t=this.html.charCodeAt(this.pos+1);if(ou.isSurrogatePair(t))return this.pos++,this._addGap(),ou.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Jc.EOF;return this._err(zy.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Jc.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===Jc.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===Jc.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Jc.LINE_FEED):(this.skipNextNewLine=!1,ou.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===Jc.LINE_FEED||e===Jc.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ou.isControlCodePoint(e)?this._err(zy.controlCharacterInInputStream):ou.isUndefinedCodePoint(e)&&this._err(zy.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}};vR.exports=Uy});var SR=lt((i1e,yR)=>{"use strict";yR.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])});var q0=lt((n1e,bD)=>{"use strict";var nq=bR(),Wt=F_(),td=SR(),J=H_(),R=Wt.CODE_POINTS,Zc=Wt.CODE_POINT_SEQUENCES,rq={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},mD=1,pD=2,fD=4,oq=mD|pD|fD,ft="DATA_STATE",au="RCDATA_STATE",V0="RAWTEXT_STATE",Ea="SCRIPT_DATA_STATE",gD="PLAINTEXT_STATE",CR="TAG_OPEN_STATE",wR="END_TAG_OPEN_STATE",Wy="TAG_NAME_STATE",xR="RCDATA_LESS_THAN_SIGN_STATE",ER="RCDATA_END_TAG_OPEN_STATE",TR="RCDATA_END_TAG_NAME_STATE",IR="RAWTEXT_LESS_THAN_SIGN_STATE",kR="RAWTEXT_END_TAG_OPEN_STATE",AR="RAWTEXT_END_TAG_NAME_STATE",LR="SCRIPT_DATA_LESS_THAN_SIGN_STATE",NR="SCRIPT_DATA_END_TAG_OPEN_STATE",RR="SCRIPT_DATA_END_TAG_NAME_STATE",DR="SCRIPT_DATA_ESCAPE_START_STATE",MR="SCRIPT_DATA_ESCAPE_START_DASH_STATE",Oo="SCRIPT_DATA_ESCAPED_STATE",OR="SCRIPT_DATA_ESCAPED_DASH_STATE",jy="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",B_="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",PR="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",FR="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",HR="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",wa="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",BR="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",zR="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",z_="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",UR="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",ys="BEFORE_ATTRIBUTE_NAME_STATE",U_="ATTRIBUTE_NAME_STATE",Vy="AFTER_ATTRIBUTE_NAME_STATE",Ky="BEFORE_ATTRIBUTE_VALUE_STATE",W_="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",j_="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",V_="ATTRIBUTE_VALUE_UNQUOTED_STATE",qy="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",zl="SELF_CLOSING_START_TAG_STATE",z0="BOGUS_COMMENT_STATE",WR="MARKUP_DECLARATION_OPEN_STATE",jR="COMMENT_START_STATE",VR="COMMENT_START_DASH_STATE",Ul="COMMENT_STATE",KR="COMMENT_LESS_THAN_SIGN_STATE",qR="COMMENT_LESS_THAN_SIGN_BANG_STATE",GR="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",$R="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",K_="COMMENT_END_DASH_STATE",q_="COMMENT_END_STATE",YR="COMMENT_END_BANG_STATE",XR="DOCTYPE_STATE",G_="BEFORE_DOCTYPE_NAME_STATE",$_="DOCTYPE_NAME_STATE",QR="AFTER_DOCTYPE_NAME_STATE",JR="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",ZR="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",Gy="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",$y="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",Yy="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",eD="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",tD="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",iD="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",U0="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",W0="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Xy="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",xa="BOGUS_DOCTYPE_STATE",Y_="CDATA_SECTION_STATE",nD="CDATA_SECTION_BRACKET_STATE",rD="CDATA_SECTION_END_STATE",su="CHARACTER_REFERENCE_STATE",oD="NAMED_CHARACTER_REFERENCE_STATE",sD="AMBIGUOS_AMPERSAND_STATE",aD="NUMERIC_CHARACTER_REFERENCE_STATE",lD="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",cD="DECIMAL_CHARACTER_REFERENCE_START_STATE",dD="HEXADEMICAL_CHARACTER_REFERENCE_STATE",hD="DECIMAL_CHARACTER_REFERENCE_STATE",j0="NUMERIC_CHARACTER_REFERENCE_END_STATE";function ci(i){return i===R.SPACE||i===R.LINE_FEED||i===R.TABULATION||i===R.FORM_FEED}function K0(i){return i>=R.DIGIT_0&&i<=R.DIGIT_9}function Po(i){return i>=R.LATIN_CAPITAL_A&&i<=R.LATIN_CAPITAL_Z}function ed(i){return i>=R.LATIN_SMALL_A&&i<=R.LATIN_SMALL_Z}function jl(i){return ed(i)||Po(i)}function Qy(i){return jl(i)||K0(i)}function _D(i){return i>=R.LATIN_CAPITAL_A&&i<=R.LATIN_CAPITAL_F}function vD(i){return i>=R.LATIN_SMALL_A&&i<=R.LATIN_SMALL_F}function sq(i){return K0(i)||_D(i)||vD(i)}function X_(i){return i+32}function wi(i){return i<=65535?String.fromCharCode(i):(i-=65536,String.fromCharCode(i>>>10&1023|55296)+String.fromCharCode(56320|i&1023))}function Wl(i){return String.fromCharCode(X_(i))}function uD(i,e){let t=td[++i],n=++i,r=n+t-1;for(;n<=r;){let o=n+r>>>1,s=td[o];if(se)r=o-1;else return td[o+t]}return-1}var jt=class{constructor(){this.preprocessor=new nq,this.tokenQueue=[],this.allowCDATA=!1,this.state=ft,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:jt.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0,s=e.length,a=0,l=t,c;for(;a0&&(l=this._consume(),r++),l===R.EOF){o=!1;break}if(c=e[a],l!==c&&(n||l!==X_(c))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Zc.SCRIPT_STRING.length)return!1;for(let e=0;e0&&this._err(J.endTagWithAttributes),e.selfClosing&&this._err(J.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=jt.CHARACTER_TOKEN;ci(e)?t=jt.WHITESPACE_CHARACTER_TOKEN:e===R.NULL&&(t=jt.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,wi(e))}_emitSeveralCodePoints(e){for(let t=0;t-1;){let o=td[r],s=o")):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.state=Oo,this._emitChars(Wt.REPLACEMENT_CHARACTER)):e===R.EOF?(this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Oo,this._emitCodePoint(e))}[B_](e){e===R.SOLIDUS?(this.tempBuff=[],this.state=PR):jl(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(HR)):(this._emitChars("<"),this._reconsumeInState(Oo))}[PR](e){jl(e)?(this._createEndTagToken(),this._reconsumeInState(FR)):(this._emitChars("")):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.state=wa,this._emitChars(Wt.REPLACEMENT_CHARACTER)):e===R.EOF?(this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=wa,this._emitCodePoint(e))}[z_](e){e===R.SOLIDUS?(this.tempBuff=[],this.state=UR,this._emitChars("/")):this._reconsumeInState(wa)}[UR](e){ci(e)||e===R.SOLIDUS||e===R.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?Oo:wa,this._emitCodePoint(e)):Po(e)?(this.tempBuff.push(X_(e)),this._emitCodePoint(e)):ed(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(wa)}[ys](e){ci(e)||(e===R.SOLIDUS||e===R.GREATER_THAN_SIGN||e===R.EOF?this._reconsumeInState(Vy):e===R.EQUALS_SIGN?(this._err(J.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=U_):(this._createAttr(""),this._reconsumeInState(U_)))}[U_](e){ci(e)||e===R.SOLIDUS||e===R.GREATER_THAN_SIGN||e===R.EOF?(this._leaveAttrName(Vy),this._unconsume()):e===R.EQUALS_SIGN?this._leaveAttrName(Ky):Po(e)?this.currentAttr.name+=Wl(e):e===R.QUOTATION_MARK||e===R.APOSTROPHE||e===R.LESS_THAN_SIGN?(this._err(J.unexpectedCharacterInAttributeName),this.currentAttr.name+=wi(e)):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentAttr.name+=Wt.REPLACEMENT_CHARACTER):this.currentAttr.name+=wi(e)}[Vy](e){ci(e)||(e===R.SOLIDUS?this.state=zl:e===R.EQUALS_SIGN?this.state=Ky:e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(U_)))}[Ky](e){ci(e)||(e===R.QUOTATION_MARK?this.state=W_:e===R.APOSTROPHE?this.state=j_:e===R.GREATER_THAN_SIGN?(this._err(J.missingAttributeValue),this.state=ft,this._emitCurrentToken()):this._reconsumeInState(V_))}[W_](e){e===R.QUOTATION_MARK?this.state=qy:e===R.AMPERSAND?(this.returnState=W_,this.state=su):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentAttr.value+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(J.eofInTag),this._emitEOFToken()):this.currentAttr.value+=wi(e)}[j_](e){e===R.APOSTROPHE?this.state=qy:e===R.AMPERSAND?(this.returnState=j_,this.state=su):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentAttr.value+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(J.eofInTag),this._emitEOFToken()):this.currentAttr.value+=wi(e)}[V_](e){ci(e)?this._leaveAttrValue(ys):e===R.AMPERSAND?(this.returnState=V_,this.state=su):e===R.GREATER_THAN_SIGN?(this._leaveAttrValue(ft),this._emitCurrentToken()):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentAttr.value+=Wt.REPLACEMENT_CHARACTER):e===R.QUOTATION_MARK||e===R.APOSTROPHE||e===R.LESS_THAN_SIGN||e===R.EQUALS_SIGN||e===R.GRAVE_ACCENT?(this._err(J.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=wi(e)):e===R.EOF?(this._err(J.eofInTag),this._emitEOFToken()):this.currentAttr.value+=wi(e)}[qy](e){ci(e)?this._leaveAttrValue(ys):e===R.SOLIDUS?this._leaveAttrValue(zl):e===R.GREATER_THAN_SIGN?(this._leaveAttrValue(ft),this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInTag),this._emitEOFToken()):(this._err(J.missingWhitespaceBetweenAttributes),this._reconsumeInState(ys))}[zl](e){e===R.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInTag),this._emitEOFToken()):(this._err(J.unexpectedSolidusInTag),this._reconsumeInState(ys))}[z0](e){e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.data+=Wt.REPLACEMENT_CHARACTER):this.currentToken.data+=wi(e)}[WR](e){this._consumeSequenceIfMatch(Zc.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=jR):this._consumeSequenceIfMatch(Zc.DOCTYPE_STRING,e,!1)?this.state=XR:this._consumeSequenceIfMatch(Zc.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Y_:(this._err(J.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=z0):this._ensureHibernation()||(this._err(J.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(z0))}[jR](e){e===R.HYPHEN_MINUS?this.state=VR:e===R.GREATER_THAN_SIGN?(this._err(J.abruptClosingOfEmptyComment),this.state=ft,this._emitCurrentToken()):this._reconsumeInState(Ul)}[VR](e){e===R.HYPHEN_MINUS?this.state=q_:e===R.GREATER_THAN_SIGN?(this._err(J.abruptClosingOfEmptyComment),this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ul))}[Ul](e){e===R.HYPHEN_MINUS?this.state=K_:e===R.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=KR):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.data+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(J.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=wi(e)}[KR](e){e===R.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=qR):e===R.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(Ul)}[qR](e){e===R.HYPHEN_MINUS?this.state=GR:this._reconsumeInState(Ul)}[GR](e){e===R.HYPHEN_MINUS?this.state=$R:this._reconsumeInState(K_)}[$R](e){e!==R.GREATER_THAN_SIGN&&e!==R.EOF&&this._err(J.nestedComment),this._reconsumeInState(q_)}[K_](e){e===R.HYPHEN_MINUS?this.state=q_:e===R.EOF?(this._err(J.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ul))}[q_](e){e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EXCLAMATION_MARK?this.state=YR:e===R.HYPHEN_MINUS?this.currentToken.data+="-":e===R.EOF?(this._err(J.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(Ul))}[YR](e){e===R.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=K_):e===R.GREATER_THAN_SIGN?(this._err(J.incorrectlyClosedComment),this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(Ul))}[XR](e){ci(e)?this.state=G_:e===R.GREATER_THAN_SIGN?this._reconsumeInState(G_):e===R.EOF?(this._err(J.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(G_))}[G_](e){ci(e)||(Po(e)?(this._createDoctypeToken(Wl(e)),this.state=$_):e===R.NULL?(this._err(J.unexpectedNullCharacter),this._createDoctypeToken(Wt.REPLACEMENT_CHARACTER),this.state=$_):e===R.GREATER_THAN_SIGN?(this._err(J.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(J.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(wi(e)),this.state=$_))}[$_](e){ci(e)?this.state=QR:e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):Po(e)?this.currentToken.name+=Wl(e):e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.name+=Wt.REPLACEMENT_CHARACTER):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=wi(e)}[QR](e){ci(e)||(e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Zc.PUBLIC_STRING,e,!1)?this.state=JR:this._consumeSequenceIfMatch(Zc.SYSTEM_STRING,e,!1)?this.state=tD:this._ensureHibernation()||(this._err(J.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[JR](e){ci(e)?this.state=ZR:e===R.QUOTATION_MARK?(this._err(J.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=Gy):e===R.APOSTROPHE?(this._err(J.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=$y):e===R.GREATER_THAN_SIGN?(this._err(J.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa))}[ZR](e){ci(e)||(e===R.QUOTATION_MARK?(this.currentToken.publicId="",this.state=Gy):e===R.APOSTROPHE?(this.currentToken.publicId="",this.state=$y):e===R.GREATER_THAN_SIGN?(this._err(J.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[Gy](e){e===R.QUOTATION_MARK?this.state=Yy:e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.publicId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(J.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=wi(e)}[$y](e){e===R.APOSTROPHE?this.state=Yy:e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.publicId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(J.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=wi(e)}[Yy](e){ci(e)?this.state=eD:e===R.GREATER_THAN_SIGN?(this.state=ft,this._emitCurrentToken()):e===R.QUOTATION_MARK?(this._err(J.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=U0):e===R.APOSTROPHE?(this._err(J.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=W0):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa))}[eD](e){ci(e)||(e===R.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ft):e===R.QUOTATION_MARK?(this.currentToken.systemId="",this.state=U0):e===R.APOSTROPHE?(this.currentToken.systemId="",this.state=W0):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[tD](e){ci(e)?this.state=iD:e===R.QUOTATION_MARK?(this._err(J.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=U0):e===R.APOSTROPHE?(this._err(J.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=W0):e===R.GREATER_THAN_SIGN?(this._err(J.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa))}[iD](e){ci(e)||(e===R.QUOTATION_MARK?(this.currentToken.systemId="",this.state=U0):e===R.APOSTROPHE?(this.currentToken.systemId="",this.state=W0):e===R.GREATER_THAN_SIGN?(this._err(J.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=ft,this._emitCurrentToken()):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(xa)))}[U0](e){e===R.QUOTATION_MARK?this.state=Xy:e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.systemId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(J.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=wi(e)}[W0](e){e===R.APOSTROPHE?this.state=Xy:e===R.NULL?(this._err(J.unexpectedNullCharacter),this.currentToken.systemId+=Wt.REPLACEMENT_CHARACTER):e===R.GREATER_THAN_SIGN?(this._err(J.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=wi(e)}[Xy](e){ci(e)||(e===R.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ft):e===R.EOF?(this._err(J.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(J.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(xa)))}[xa](e){e===R.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ft):e===R.NULL?this._err(J.unexpectedNullCharacter):e===R.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Y_](e){e===R.RIGHT_SQUARE_BRACKET?this.state=nD:e===R.EOF?(this._err(J.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[nD](e){e===R.RIGHT_SQUARE_BRACKET?this.state=rD:(this._emitChars("]"),this._reconsumeInState(Y_))}[rD](e){e===R.GREATER_THAN_SIGN?this.state=ft:e===R.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Y_))}[su](e){this.tempBuff=[R.AMPERSAND],e===R.NUMBER_SIGN?(this.tempBuff.push(e),this.state=aD):Qy(e)?this._reconsumeInState(oD):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[oD](e){let t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[R.AMPERSAND];else if(t){let n=this.tempBuff[this.tempBuff.length-1]===R.SEMICOLON;this._isCharacterReferenceAttributeQuirk(n)||(n||this._errOnNextCodePoint(J.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=sD}[sD](e){Qy(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=wi(e):this._emitCodePoint(e):(e===R.SEMICOLON&&this._err(J.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[aD](e){this.charRefCode=0,e===R.LATIN_SMALL_X||e===R.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=lD):this._reconsumeInState(cD)}[lD](e){sq(e)?this._reconsumeInState(dD):(this._err(J.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[cD](e){K0(e)?this._reconsumeInState(hD):(this._err(J.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[dD](e){_D(e)?this.charRefCode=this.charRefCode*16+e-55:vD(e)?this.charRefCode=this.charRefCode*16+e-87:K0(e)?this.charRefCode=this.charRefCode*16+e-48:e===R.SEMICOLON?this.state=j0:(this._err(J.missingSemicolonAfterCharacterReference),this._reconsumeInState(j0))}[hD](e){K0(e)?this.charRefCode=this.charRefCode*10+e-48:e===R.SEMICOLON?this.state=j0:(this._err(J.missingSemicolonAfterCharacterReference),this._reconsumeInState(j0))}[j0](){if(this.charRefCode===R.NULL)this._err(J.nullCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(J.characterReferenceOutsideUnicodeRange),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(Wt.isSurrogate(this.charRefCode))this._err(J.surrogateCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(Wt.isUndefinedCodePoint(this.charRefCode))this._err(J.noncharacterCharacterReference);else if(Wt.isControlCodePoint(this.charRefCode)||this.charRefCode===R.CARRIAGE_RETURN){this._err(J.controlCharacterReference);let e=rq[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};jt.CHARACTER_TOKEN="CHARACTER_TOKEN";jt.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";jt.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";jt.START_TAG_TOKEN="START_TAG_TOKEN";jt.END_TAG_TOKEN="END_TAG_TOKEN";jt.COMMENT_TOKEN="COMMENT_TOKEN";jt.DOCTYPE_TOKEN="DOCTYPE_TOKEN";jt.EOF_TOKEN="EOF_TOKEN";jt.HIBERNATION_TOKEN="HIBERNATION_TOKEN";jt.MODE={DATA:ft,RCDATA:au,RAWTEXT:V0,SCRIPT_DATA:Ea,PLAINTEXT:gD};jt.getTokenAttr=function(i,e){for(let t=i.attrs.length-1;t>=0;t--)if(i.attrs[t].name===e)return i.attrs[t].value;return null};bD.exports=jt});var id=lt(lu=>{"use strict";var Jy=lu.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};lu.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};lu.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var ue=lu.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};lu.SPECIAL_ELEMENTS={[Jy.HTML]:{[ue.ADDRESS]:!0,[ue.APPLET]:!0,[ue.AREA]:!0,[ue.ARTICLE]:!0,[ue.ASIDE]:!0,[ue.BASE]:!0,[ue.BASEFONT]:!0,[ue.BGSOUND]:!0,[ue.BLOCKQUOTE]:!0,[ue.BODY]:!0,[ue.BR]:!0,[ue.BUTTON]:!0,[ue.CAPTION]:!0,[ue.CENTER]:!0,[ue.COL]:!0,[ue.COLGROUP]:!0,[ue.DD]:!0,[ue.DETAILS]:!0,[ue.DIR]:!0,[ue.DIV]:!0,[ue.DL]:!0,[ue.DT]:!0,[ue.EMBED]:!0,[ue.FIELDSET]:!0,[ue.FIGCAPTION]:!0,[ue.FIGURE]:!0,[ue.FOOTER]:!0,[ue.FORM]:!0,[ue.FRAME]:!0,[ue.FRAMESET]:!0,[ue.H1]:!0,[ue.H2]:!0,[ue.H3]:!0,[ue.H4]:!0,[ue.H5]:!0,[ue.H6]:!0,[ue.HEAD]:!0,[ue.HEADER]:!0,[ue.HGROUP]:!0,[ue.HR]:!0,[ue.HTML]:!0,[ue.IFRAME]:!0,[ue.IMG]:!0,[ue.INPUT]:!0,[ue.LI]:!0,[ue.LINK]:!0,[ue.LISTING]:!0,[ue.MAIN]:!0,[ue.MARQUEE]:!0,[ue.MENU]:!0,[ue.META]:!0,[ue.NAV]:!0,[ue.NOEMBED]:!0,[ue.NOFRAMES]:!0,[ue.NOSCRIPT]:!0,[ue.OBJECT]:!0,[ue.OL]:!0,[ue.P]:!0,[ue.PARAM]:!0,[ue.PLAINTEXT]:!0,[ue.PRE]:!0,[ue.SCRIPT]:!0,[ue.SECTION]:!0,[ue.SELECT]:!0,[ue.SOURCE]:!0,[ue.STYLE]:!0,[ue.SUMMARY]:!0,[ue.TABLE]:!0,[ue.TBODY]:!0,[ue.TD]:!0,[ue.TEMPLATE]:!0,[ue.TEXTAREA]:!0,[ue.TFOOT]:!0,[ue.TH]:!0,[ue.THEAD]:!0,[ue.TITLE]:!0,[ue.TR]:!0,[ue.TRACK]:!0,[ue.UL]:!0,[ue.WBR]:!0,[ue.XMP]:!0},[Jy.MATHML]:{[ue.MI]:!0,[ue.MO]:!0,[ue.MN]:!0,[ue.MS]:!0,[ue.MTEXT]:!0,[ue.ANNOTATION_XML]:!0},[Jy.SVG]:{[ue.TITLE]:!0,[ue.FOREIGN_OBJECT]:!0,[ue.DESC]:!0}}});var wD=lt((o1e,CD)=>{"use strict";var SD=id(),fe=SD.TAG_NAMES,Vt=SD.NAMESPACES;function yD(i){switch(i.length){case 1:return i===fe.P;case 2:return i===fe.RB||i===fe.RP||i===fe.RT||i===fe.DD||i===fe.DT||i===fe.LI;case 3:return i===fe.RTC;case 6:return i===fe.OPTION;case 8:return i===fe.OPTGROUP}return!1}function aq(i){switch(i.length){case 1:return i===fe.P;case 2:return i===fe.RB||i===fe.RP||i===fe.RT||i===fe.DD||i===fe.DT||i===fe.LI||i===fe.TD||i===fe.TH||i===fe.TR;case 3:return i===fe.RTC;case 5:return i===fe.TBODY||i===fe.TFOOT||i===fe.THEAD;case 6:return i===fe.OPTION;case 7:return i===fe.CAPTION;case 8:return i===fe.OPTGROUP||i===fe.COLGROUP}return!1}function Q_(i,e){switch(i.length){case 2:if(i===fe.TD||i===fe.TH)return e===Vt.HTML;if(i===fe.MI||i===fe.MO||i===fe.MN||i===fe.MS)return e===Vt.MATHML;break;case 4:if(i===fe.HTML)return e===Vt.HTML;if(i===fe.DESC)return e===Vt.SVG;break;case 5:if(i===fe.TABLE)return e===Vt.HTML;if(i===fe.MTEXT)return e===Vt.MATHML;if(i===fe.TITLE)return e===Vt.SVG;break;case 6:return(i===fe.APPLET||i===fe.OBJECT)&&e===Vt.HTML;case 7:return(i===fe.CAPTION||i===fe.MARQUEE)&&e===Vt.HTML;case 8:return i===fe.TEMPLATE&&e===Vt.HTML;case 13:return i===fe.FOREIGN_OBJECT&&e===Vt.SVG;case 14:return i===fe.ANNOTATION_XML&&e===Vt.MATHML}return!1}var Zy=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===fe.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Vt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){let n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){let t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===Vt.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){let t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){let e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===fe.H1||e===fe.H2||e===fe.H3||e===fe.H4||e===fe.H5||e===fe.H6&&t===Vt.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){let e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===fe.TD||e===fe.TH&&t===Vt.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==fe.TABLE&&this.currentTagName!==fe.TEMPLATE&&this.currentTagName!==fe.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Vt.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==fe.TBODY&&this.currentTagName!==fe.TFOOT&&this.currentTagName!==fe.THEAD&&this.currentTagName!==fe.TEMPLATE&&this.currentTagName!==fe.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Vt.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==fe.TR&&this.currentTagName!==fe.TEMPLATE&&this.currentTagName!==fe.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Vt.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){let e=this.items[1];return e&&this.treeAdapter.getTagName(e)===fe.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===fe.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Vt.HTML)return!0;if(Q_(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===fe.H1||t===fe.H2||t===fe.H3||t===fe.H4||t===fe.H5||t===fe.H6)&&n===Vt.HTML)return!0;if(Q_(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Vt.HTML)return!0;if((n===fe.UL||n===fe.OL)&&r===Vt.HTML||Q_(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Vt.HTML)return!0;if(n===fe.BUTTON&&r===Vt.HTML||Q_(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Vt.HTML){if(n===e)return!0;if(n===fe.TABLE||n===fe.TEMPLATE||n===fe.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===Vt.HTML){if(t===fe.TBODY||t===fe.THEAD||t===fe.TFOOT)return!0;if(t===fe.TABLE||t===fe.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Vt.HTML){if(n===e)return!0;if(n!==fe.OPTION&&n!==fe.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;yD(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;aq(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;yD(this.currentTagName)&&this.currentTagName!==e;)this.pop()}};CD.exports=Zy});var ED=lt((s1e,xD)=>{"use strict";var jr=class{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){let t=[];if(this.length>=3){let n=this.treeAdapter.getAttrList(e).length,r=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let s=this.length-1;s>=0;s--){let a=this.entries[s];if(a.type===jr.MARKER_ENTRY)break;let l=a.element,c=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===r&&this.treeAdapter.getNamespaceURI(l)===o&&c.length===n&&t.push({idx:s,attrs:c})}}return t.length<3?[]:t}_ensureNoahArkCondition(e){let t=this._getNoahArkConditionCandidates(e),n=t.length;if(n){let r=this.treeAdapter.getAttrList(e),o=r.length,s=Object.create(null);for(let a=0;a=3-1;a--)this.entries.splice(t[a].idx,1),this.length--}}insertMarker(){this.entries.push({type:jr.MARKER_ENTRY}),this.length++}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.push({type:jr.ELEMENT_ENTRY,element:e,token:t}),this.length++}insertElementAfterBookmark(e,t){let n=this.length-1;for(;n>=0&&this.entries[n]!==this.bookmark;n--);this.entries.splice(n+1,0,{type:jr.ELEMENT_ENTRY,element:e,token:t}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){let e=this.entries.pop();if(this.length--,e.type===jr.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let t=this.length-1;t>=0;t--){let n=this.entries[t];if(n.type===jr.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(n.element)===e)return n}return null}getElementEntry(e){for(let t=this.length-1;t>=0;t--){let n=this.entries[t];if(n.type===jr.ELEMENT_ENTRY&&n.element===e)return n}return null}};jr.MARKER_ENTRY="MARKER_ENTRY";jr.ELEMENT_ENTRY="ELEMENT_ENTRY";xD.exports=jr});var Ss=lt((a1e,TD)=>{"use strict";var J_=class{constructor(e){let t={},n=this._getOverriddenMethods(this,t);for(let r of Object.keys(n))typeof n[r]=="function"&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}};J_.install=function(i,e,t){i.__mixins||(i.__mixins=[]);for(let r=0;r{"use strict";var lq=Ss(),e3=class extends lq{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){let n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),(r===` `||r==="\r"&&this.html[n+1]!==` -`)&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){let n=this.pos;t.dropParsedChunk.call(this);let r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}};_D.exports=Xy});var e3=lt((Jue,bD)=>{"use strict";var vD=Ss(),Zy=V0(),JK=Qy(),Jy=class extends vD{constructor(e){super(e),this.tokenizer=e,this.posTracker=vD.install(e.preprocessor,JK),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;let e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){let n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(r){t._createDoctypeToken.call(this,r),this.currentToken.location=e.ctLoc},_createCharacterToken(r,o){t._createCharacterToken.call(this,r,o),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(r){t._createAttr.call(this,r),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(r){t._leaveAttrName.call(this,r),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(r){t._leaveAttrValue.call(this,r),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){let r=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=r.startLine,this.currentCharacterToken.location.endCol=r.startCol,this.currentCharacterToken.location.endOffset=r.startOffset),this.currentToken.type===Zy.EOF_TOKEN?(r.endLine=r.startLine,r.endCol=r.startCol,r.endOffset=r.startOffset):(r.endLine=e.posTracker.line,r.endCol=e.posTracker.col+1,r.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){let r=this.currentCharacterToken&&this.currentCharacterToken.location;r&&r.endOffset===-1&&(r.endLine=e.posTracker.line,r.endCol=e.posTracker.col,r.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(Zy.MODE).forEach(r=>{let o=Zy.MODE[r];n[o]=function(s){e.ctLoc=e._getCurrentLocation(),t[o].call(this,s)}}),n}};bD.exports=Jy});var SD=lt((e1e,yD)=>{"use strict";var eq=Ss(),t3=class extends eq{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let n=this.stackTop;n>0;n--)e.onItemPop(this.items[n]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}};yD.exports=t3});var xD=lt((t1e,wD)=>{"use strict";var i3=Ss(),CD=V0(),tq=e3(),iq=SD(),nq=id(),n3=nq.TAG_NAMES,r3=class extends i3{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let r=t.location,o=this.treeAdapter.getTagName(e),s=t.type===CD.END_TAG_TOKEN&&o===t.tagName,a={};s?(a.endTag=Object.assign({},r),a.endLine=r.endLine,a.endCol=r.endCol,a.endOffset=r.endOffset):(a.endLine=r.startLine,a.endCol=r.startCol,a.endOffset=r.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;let o=i3.install(this.tokenizer,tq);e.posTracker=o.posTracker,i3.install(this.openElements,iq,{onItemPop:function(s){e._setEndLocation(s,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let r=this.openElements.stackTop;r>=0;r--)e._setEndLocation(this.openElements.items[r],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===CD.END_TAG_TOKEN&&(n.tagName===n3.HTML||n.tagName===n3.BODY&&this.openElements.hasInScope(n3.BODY)))for(let o=this.openElements.stackTop;o>=0;o--){let s=this.openElements.items[o];if(this.treeAdapter.getTagName(s)===n.tagName){e._setEndLocation(s,n);break}}},_setDocumentType(n){t._setDocumentType.call(this,n);let r=this.treeAdapter.getChildNodes(this.document),o=r.length;for(let s=0;s{"use strict";var rq=Ss(),o3=class extends rq{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){let t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}};ED.exports=o3});var ID=lt((n1e,TD)=>{"use strict";var oq=Q_(),sq=Qy(),aq=Ss(),s3=class extends oq{constructor(e,t){super(e,t),this.posTracker=aq.install(e,sq),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}};TD.exports=s3});var AD=lt((r1e,kD)=>{"use strict";var lq=Q_(),cq=ID(),dq=Ss(),a3=class extends lq{constructor(e,t){super(e,t);let n=dq.install(e.preprocessor,cq,t);this.posTracker=n.posTracker}};kD.exports=a3});var RD=lt((o1e,ND)=>{"use strict";var hq=Q_(),uq=AD(),mq=e3(),LD=Ss(),l3=class extends hq{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),LD.install(this.tokenizer,uq,e.opts),LD.install(this.tokenizer,mq)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(n,r){e.locBeforeToken=r&&r.beforeToken,e._reportError(n)}}}};ND.exports=l3});var OD=lt(bt=>{"use strict";var{DOCUMENT_MODE:pq}=id();bt.createDocument=function(){return{nodeName:"#document",mode:pq.NO_QUIRKS,childNodes:[]}};bt.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};bt.createElement=function(i,e,t){return{nodeName:i,tagName:i,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}};bt.createCommentNode=function(i){return{nodeName:"#comment",data:i,parentNode:null}};var DD=function(i){return{nodeName:"#text",value:i,parentNode:null}},MD=bt.appendChild=function(i,e){i.childNodes.push(e),e.parentNode=i},fq=bt.insertBefore=function(i,e,t){let n=i.childNodes.indexOf(t);i.childNodes.splice(n,0,e),e.parentNode=i};bt.setTemplateContent=function(i,e){i.content=e};bt.getTemplateContent=function(i){return i.content};bt.setDocumentType=function(i,e,t,n){let r=null;for(let o=0;o{"use strict";PD.exports=function(e,t){return t=t||Object.create(null),[e,t].reduce((n,r)=>(Object.keys(r).forEach(o=>{n[o]=r[o]}),n),Object.create(null))}});var jD=lt(Z_=>{"use strict";var{DOCUMENT_MODE:cu}=id(),zD="html",gq="about:legacy-compat",_q="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",UD=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],vq=UD.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),bq=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],WD=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],yq=WD.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function HD(i){let e=i.indexOf('"')!==-1?"'":'"';return e+i+e}function BD(i,e){for(let t=0;t-1)return cu.QUIRKS;let n=e===null?vq:UD;if(BD(t,n))return cu.QUIRKS;if(n=e===null?WD:yq,BD(t,n))return cu.LIMITED_QUIRKS}return cu.NO_QUIRKS};Z_.serializeContent=function(i,e,t){let n="!DOCTYPE ";return i&&(n+=i),e?n+=" PUBLIC "+HD(e):t&&(n+=" SYSTEM"),t!==null&&(n+=" "+HD(t)),n}});var KD=lt(Vl=>{"use strict";var c3=V0(),d3=id(),Pe=d3.TAG_NAMES,vn=d3.NAMESPACES,J_=d3.ATTRS,VD={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Sq="definitionurl",Cq="definitionURL",wq={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},xq={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:vn.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:vn.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:vn.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:vn.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:vn.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:vn.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:vn.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:vn.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:vn.XML},"xml:space":{prefix:"xml",name:"space",namespace:vn.XML},xmlns:{prefix:"",name:"xmlns",namespace:vn.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:vn.XMLNS}},Eq=Vl.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},Tq={[Pe.B]:!0,[Pe.BIG]:!0,[Pe.BLOCKQUOTE]:!0,[Pe.BODY]:!0,[Pe.BR]:!0,[Pe.CENTER]:!0,[Pe.CODE]:!0,[Pe.DD]:!0,[Pe.DIV]:!0,[Pe.DL]:!0,[Pe.DT]:!0,[Pe.EM]:!0,[Pe.EMBED]:!0,[Pe.H1]:!0,[Pe.H2]:!0,[Pe.H3]:!0,[Pe.H4]:!0,[Pe.H5]:!0,[Pe.H6]:!0,[Pe.HEAD]:!0,[Pe.HR]:!0,[Pe.I]:!0,[Pe.IMG]:!0,[Pe.LI]:!0,[Pe.LISTING]:!0,[Pe.MENU]:!0,[Pe.META]:!0,[Pe.NOBR]:!0,[Pe.OL]:!0,[Pe.P]:!0,[Pe.PRE]:!0,[Pe.RUBY]:!0,[Pe.S]:!0,[Pe.SMALL]:!0,[Pe.SPAN]:!0,[Pe.STRONG]:!0,[Pe.STRIKE]:!0,[Pe.SUB]:!0,[Pe.SUP]:!0,[Pe.TABLE]:!0,[Pe.TT]:!0,[Pe.U]:!0,[Pe.UL]:!0,[Pe.VAR]:!0};Vl.causesExit=function(i){let e=i.tagName;return e===Pe.FONT&&(c3.getTokenAttr(i,J_.COLOR)!==null||c3.getTokenAttr(i,J_.SIZE)!==null||c3.getTokenAttr(i,J_.FACE)!==null)?!0:Tq[e]};Vl.adjustTokenMathMLAttrs=function(i){for(let e=0;e{"use strict";var M=V0(),Aq=mD(),qD=fD(),Lq=xD(),Nq=RD(),GD=Ss(),Rq=OD(),Dq=FD(),$D=jD(),Cs=KD(),bn=P_(),Mq=O_(),rd=id(),S=rd.TAG_NAMES,Ae=rd.NAMESPACES,rM=rd.ATTRS,Oq={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:Rq},oM="hidden",Pq=8,Fq=3,sM="INITIAL_MODE",u3="BEFORE_HTML_MODE",av="BEFORE_HEAD_MODE",uu="IN_HEAD_MODE",aM="IN_HEAD_NO_SCRIPT_MODE",lv="AFTER_HEAD_MODE",ws="IN_BODY_MODE",nv="TEXT_MODE",Fn="IN_TABLE_MODE",lM="IN_TABLE_TEXT_MODE",cv="IN_CAPTION_MODE",J0="IN_COLUMN_GROUP_MODE",uo="IN_TABLE_BODY_MODE",Aa="IN_ROW_MODE",dv="IN_CELL_MODE",m3="IN_SELECT_MODE",p3="IN_SELECT_IN_TABLE_MODE",rv="IN_TEMPLATE_MODE",f3="AFTER_BODY_MODE",hv="IN_FRAMESET_MODE",cM="AFTER_FRAMESET_MODE",dM="AFTER_AFTER_BODY_MODE",hM="AFTER_AFTER_FRAMESET_MODE",Hq={[S.TR]:Aa,[S.TBODY]:uo,[S.THEAD]:uo,[S.TFOOT]:uo,[S.CAPTION]:cv,[S.COLGROUP]:J0,[S.TABLE]:Fn,[S.BODY]:ws,[S.FRAMESET]:hv},Bq={[S.CAPTION]:Fn,[S.COLGROUP]:Fn,[S.TBODY]:Fn,[S.TFOOT]:Fn,[S.THEAD]:Fn,[S.COL]:J0,[S.TR]:uo,[S.TD]:Aa,[S.TH]:Aa},YD={[sM]:{[M.CHARACTER_TOKEN]:q0,[M.NULL_CHARACTER_TOKEN]:q0,[M.WHITESPACE_CHARACTER_TOKEN]:_t,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:Gq,[M.START_TAG_TOKEN]:q0,[M.END_TAG_TOKEN]:q0,[M.EOF_TOKEN]:q0},[u3]:{[M.CHARACTER_TOKEN]:$0,[M.NULL_CHARACTER_TOKEN]:$0,[M.WHITESPACE_CHARACTER_TOKEN]:_t,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:$q,[M.END_TAG_TOKEN]:Yq,[M.EOF_TOKEN]:$0},[av]:{[M.CHARACTER_TOKEN]:Y0,[M.NULL_CHARACTER_TOKEN]:Y0,[M.WHITESPACE_CHARACTER_TOKEN]:_t,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:ev,[M.START_TAG_TOKEN]:Xq,[M.END_TAG_TOKEN]:Qq,[M.EOF_TOKEN]:Y0},[uu]:{[M.CHARACTER_TOKEN]:X0,[M.NULL_CHARACTER_TOKEN]:X0,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:ev,[M.START_TAG_TOKEN]:on,[M.END_TAG_TOKEN]:od,[M.EOF_TOKEN]:X0},[aM]:{[M.CHARACTER_TOKEN]:Q0,[M.NULL_CHARACTER_TOKEN]:Q0,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:ev,[M.START_TAG_TOKEN]:Zq,[M.END_TAG_TOKEN]:Jq,[M.EOF_TOKEN]:Q0},[lv]:{[M.CHARACTER_TOKEN]:Z0,[M.NULL_CHARACTER_TOKEN]:Z0,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:ev,[M.START_TAG_TOKEN]:eG,[M.END_TAG_TOKEN]:tG,[M.EOF_TOKEN]:Z0},[ws]:{[M.CHARACTER_TOKEN]:tv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:gr,[M.END_TAG_TOKEN]:g3,[M.EOF_TOKEN]:Ia},[nv]:{[M.CHARACTER_TOKEN]:fr,[M.NULL_CHARACTER_TOKEN]:fr,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:_t,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:_t,[M.END_TAG_TOKEN]:RG,[M.EOF_TOKEN]:DG},[Fn]:{[M.CHARACTER_TOKEN]:ka,[M.NULL_CHARACTER_TOKEN]:ka,[M.WHITESPACE_CHARACTER_TOKEN]:ka,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:_3,[M.END_TAG_TOKEN]:v3,[M.EOF_TOKEN]:Ia},[lM]:{[M.CHARACTER_TOKEN]:jG,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:WG,[M.COMMENT_TOKEN]:G0,[M.DOCTYPE_TOKEN]:G0,[M.START_TAG_TOKEN]:G0,[M.END_TAG_TOKEN]:G0,[M.EOF_TOKEN]:G0},[cv]:{[M.CHARACTER_TOKEN]:tv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:VG,[M.END_TAG_TOKEN]:KG,[M.EOF_TOKEN]:Ia},[J0]:{[M.CHARACTER_TOKEN]:ov,[M.NULL_CHARACTER_TOKEN]:ov,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:qG,[M.END_TAG_TOKEN]:GG,[M.EOF_TOKEN]:Ia},[uo]:{[M.CHARACTER_TOKEN]:ka,[M.NULL_CHARACTER_TOKEN]:ka,[M.WHITESPACE_CHARACTER_TOKEN]:ka,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:$G,[M.END_TAG_TOKEN]:YG,[M.EOF_TOKEN]:Ia},[Aa]:{[M.CHARACTER_TOKEN]:ka,[M.NULL_CHARACTER_TOKEN]:ka,[M.WHITESPACE_CHARACTER_TOKEN]:ka,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:XG,[M.END_TAG_TOKEN]:QG,[M.EOF_TOKEN]:Ia},[dv]:{[M.CHARACTER_TOKEN]:tv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:ZG,[M.END_TAG_TOKEN]:JG,[M.EOF_TOKEN]:Ia},[m3]:{[M.CHARACTER_TOKEN]:fr,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:uM,[M.END_TAG_TOKEN]:mM,[M.EOF_TOKEN]:Ia},[p3]:{[M.CHARACTER_TOKEN]:fr,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:e$,[M.END_TAG_TOKEN]:t$,[M.EOF_TOKEN]:Ia},[rv]:{[M.CHARACTER_TOKEN]:tv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:i$,[M.END_TAG_TOKEN]:n$,[M.EOF_TOKEN]:pM},[f3]:{[M.CHARACTER_TOKEN]:sv,[M.NULL_CHARACTER_TOKEN]:sv,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:qq,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:r$,[M.END_TAG_TOKEN]:o$,[M.EOF_TOKEN]:K0},[hv]:{[M.CHARACTER_TOKEN]:_t,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:s$,[M.END_TAG_TOKEN]:a$,[M.EOF_TOKEN]:K0},[cM]:{[M.CHARACTER_TOKEN]:_t,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Ji,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:l$,[M.END_TAG_TOKEN]:c$,[M.EOF_TOKEN]:K0},[dM]:{[M.CHARACTER_TOKEN]:iv,[M.NULL_CHARACTER_TOKEN]:iv,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:XD,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:d$,[M.END_TAG_TOKEN]:iv,[M.EOF_TOKEN]:K0},[hM]:{[M.CHARACTER_TOKEN]:_t,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:XD,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:h$,[M.END_TAG_TOKEN]:_t,[M.EOF_TOKEN]:K0}},h3=class{constructor(e){this.options=Dq(Oq,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&GD.install(this,Lq),this.options.onParseError&&GD.install(this,Nq,{onParseError:this.options.onParseError})}parse(e){let t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(S.TEMPLATE,Ae.HTML,[]));let n=this.treeAdapter.createElement("documentmock",Ae.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===S.TEMPLATE&&this._pushTmplInsertionMode(rv),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);let r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new M(this.options),this.stopped=!1,this.insertionMode=sM,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new Aq(this.document,this.treeAdapter),this.activeFormattingElements=new qD(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();let t=this.tokenizer.getNextToken();if(t.type===M.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===M.WHITESPACE_CHARACTER_TOKEN&&t.chars[0]===` -`)){if(t.chars.length===1)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){let n=this.pendingScript;this.pendingScript=null,t(n);return}e&&e()}_setupTokenizerCDATAMode(){let e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==Ae.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,Ae.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=nv}switchToPlaintextParsing(){this.insertionMode=nv,this.originalInsertionMode=ws,this.tokenizer.state=M.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===S.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===Ae.HTML){let e=this.treeAdapter.getTagName(this.fragmentContext);e===S.TITLE||e===S.TEXTAREA?this.tokenizer.state=M.MODE.RCDATA:e===S.STYLE||e===S.XMP||e===S.IFRAME||e===S.NOEMBED||e===S.NOFRAMES||e===S.NOSCRIPT?this.tokenizer.state=M.MODE.RAWTEXT:e===S.SCRIPT?this.tokenizer.state=M.MODE.SCRIPT_DATA:e===S.PLAINTEXT&&(this.tokenizer.state=M.MODE.PLAINTEXT)}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){let t=this.treeAdapter.createElement(e,Ae.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,Ae.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(S.HTML,Ae.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{let t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){let t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;let n=this.treeAdapter.getNamespaceURI(t);if(n===Ae.HTML||this.treeAdapter.getTagName(t)===S.ANNOTATION_XML&&n===Ae.MATHML&&e.type===M.START_TAG_TOKEN&&e.tagName===S.SVG)return!1;let r=e.type===M.CHARACTER_TOKEN||e.type===M.NULL_CHARACTER_TOKEN||e.type===M.WHITESPACE_CHARACTER_TOKEN;return(e.type===M.START_TAG_TOKEN&&e.tagName!==S.MGLYPH&&e.tagName!==S.MALIGNMARK||r)&&this._isIntegrationPoint(t,Ae.MATHML)||(e.type===M.START_TAG_TOKEN||r)&&this._isIntegrationPoint(t,Ae.HTML)?!1:e.type!==M.EOF_TOKEN}_processToken(e){YD[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){YD[ws][e.type](this,e)}_processTokenInForeignContent(e){e.type===M.CHARACTER_TOKEN?m$(this,e):e.type===M.NULL_CHARACTER_TOKEN?u$(this,e):e.type===M.WHITESPACE_CHARACTER_TOKEN?fr(this,e):e.type===M.COMMENT_TOKEN?Ji(this,e):e.type===M.START_TAG_TOKEN?p$(this,e):e.type===M.END_TAG_TOKEN&&f$(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===M.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(bn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){let n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return Cs.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.length;if(e){let t=e,n=null;do if(t--,n=this.activeFormattingElements.entries[t],n.type===qD.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}while(t>0);for(let r=t;r=0;e--){let n=this.openElements.items[e];e===0&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));let r=this.treeAdapter.getTagName(n),o=Hq[r];if(o){this.insertionMode=o;break}else if(!t&&(r===S.TD||r===S.TH)){this.insertionMode=dv;break}else if(!t&&r===S.HEAD){this.insertionMode=uu;break}else if(r===S.SELECT){this._resetInsertionModeForSelect(e);break}else if(r===S.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(r===S.HTML){this.insertionMode=this.headElement?lv:av;break}else if(t){this.insertionMode=ws;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let n=this.openElements.items[t],r=this.treeAdapter.getTagName(n);if(r===S.TEMPLATE)break;if(r===S.TABLE){this.insertionMode=p3;return}}this.insertionMode=m3}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){let t=this.treeAdapter.getTagName(e);return t===S.TABLE||t===S.TBODY||t===S.TFOOT||t===S.THEAD||t===S.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){let e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){let n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===S.TEMPLATE&&o===Ae.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}else if(r===S.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){let t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return rd.SPECIAL_ELEMENTS[n][t]}};fM.exports=h3;function zq(i,e){let t=i.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?i.openElements.contains(t.element)?i.openElements.hasInScope(e.tagName)||(t=null):(i.activeFormattingElements.removeEntry(t),t=null):Oo(i,e),t}function Uq(i,e){let t=null;for(let n=i.openElements.stackTop;n>=0;n--){let r=i.openElements.items[n];if(r===e.element)break;i._isSpecialElement(r)&&(t=r)}return t||(i.openElements.popUntilElementPopped(e.element),i.activeFormattingElements.removeEntry(e)),t}function Wq(i,e,t){let n=e,r=i.openElements.getCommonAncestor(e);for(let o=0,s=r;s!==t;o++,s=r){r=i.openElements.getCommonAncestor(s);let a=i.activeFormattingElements.getElementEntry(s),l=a&&o>=Fq;!a||l?(l&&i.activeFormattingElements.removeEntry(a),i.openElements.remove(s)):(s=jq(i,a),n===e&&(i.activeFormattingElements.bookmark=a),i.treeAdapter.detachNode(n),i.treeAdapter.appendChild(s,n),n=s)}return n}function jq(i,e){let t=i.treeAdapter.getNamespaceURI(e.element),n=i.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return i.openElements.replace(e.element,n),e.element=n,n}function Vq(i,e,t){if(i._isElementCausesFosterParenting(e))i._fosterParentElement(t);else{let n=i.treeAdapter.getTagName(e),r=i.treeAdapter.getNamespaceURI(e);n===S.TEMPLATE&&r===Ae.HTML&&(e=i.treeAdapter.getTemplateContent(e)),i.treeAdapter.appendChild(e,t)}}function Kq(i,e,t){let n=i.treeAdapter.getNamespaceURI(t.element),r=t.token,o=i.treeAdapter.createElement(r.tagName,n,r.attrs);i._adoptNodes(e,o),i.treeAdapter.appendChild(e,o),i.activeFormattingElements.insertElementAfterBookmark(o,t.token),i.activeFormattingElements.removeEntry(t),i.openElements.remove(t.element),i.openElements.insertAfter(e,o)}function ql(i,e){let t;for(let n=0;n0?(i.openElements.generateImpliedEndTagsThoroughly(),i.openElements.currentTagName!==S.TEMPLATE&&i._err(bn.closingOfElementWithOpenChildElements),i.openElements.popUntilTagNamePopped(S.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i._popTmplInsertionMode(),i._resetInsertionMode()):i._err(bn.endTagWithoutMatchingOpenElement)}function X0(i,e){i.openElements.pop(),i.insertionMode=lv,i._processToken(e)}function Zq(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.BASEFONT||t===S.BGSOUND||t===S.HEAD||t===S.LINK||t===S.META||t===S.NOFRAMES||t===S.STYLE?on(i,e):t===S.NOSCRIPT?i._err(bn.nestedNoscriptInHead):Q0(i,e)}function Jq(i,e){let t=e.tagName;t===S.NOSCRIPT?(i.openElements.pop(),i.insertionMode=uu):t===S.BR?Q0(i,e):i._err(bn.endTagWithoutMatchingOpenElement)}function Q0(i,e){let t=e.type===M.EOF_TOKEN?bn.openElementsLeftAfterEof:bn.disallowedContentInNoscriptInHead;i._err(t),i.openElements.pop(),i.insertionMode=uu,i._processToken(e)}function eG(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.BODY?(i._insertElement(e,Ae.HTML),i.framesetOk=!1,i.insertionMode=ws):t===S.FRAMESET?(i._insertElement(e,Ae.HTML),i.insertionMode=hv):t===S.BASE||t===S.BASEFONT||t===S.BGSOUND||t===S.LINK||t===S.META||t===S.NOFRAMES||t===S.SCRIPT||t===S.STYLE||t===S.TEMPLATE||t===S.TITLE?(i._err(bn.abandonedHeadElementChild),i.openElements.push(i.headElement),on(i,e),i.openElements.remove(i.headElement)):t===S.HEAD?i._err(bn.misplacedStartTagForHeadElement):Z0(i,e)}function tG(i,e){let t=e.tagName;t===S.BODY||t===S.HTML||t===S.BR?Z0(i,e):t===S.TEMPLATE?od(i,e):i._err(bn.endTagWithoutMatchingOpenElement)}function Z0(i,e){i._insertFakeElement(S.BODY),i.insertionMode=ws,i._processToken(e)}function nd(i,e){i._reconstructActiveFormattingElements(),i._insertCharacters(e)}function tv(i,e){i._reconstructActiveFormattingElements(),i._insertCharacters(e),i.framesetOk=!1}function iG(i,e){i.openElements.tmplCount===0&&i.treeAdapter.adoptAttributes(i.openElements.items[0],e.attrs)}function nG(i,e){let t=i.openElements.tryPeekProperlyNestedBodyElement();t&&i.openElements.tmplCount===0&&(i.framesetOk=!1,i.treeAdapter.adoptAttributes(t,e.attrs))}function rG(i,e){let t=i.openElements.tryPeekProperlyNestedBodyElement();i.framesetOk&&t&&(i.treeAdapter.detachNode(t),i.openElements.popAllUpToHtmlElement(),i._insertElement(e,Ae.HTML),i.insertionMode=hv)}function Ta(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML)}function oG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement();let t=i.openElements.currentTagName;(t===S.H1||t===S.H2||t===S.H3||t===S.H4||t===S.H5||t===S.H6)&&i.openElements.pop(),i._insertElement(e,Ae.HTML)}function QD(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),i.skipNextNewLine=!0,i.framesetOk=!1}function sG(i,e){let t=i.openElements.tmplCount>0;(!i.formElement||t)&&(i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),t||(i.formElement=i.openElements.current))}function aG(i,e){i.framesetOk=!1;let t=e.tagName;for(let n=i.openElements.stackTop;n>=0;n--){let r=i.openElements.items[n],o=i.treeAdapter.getTagName(r),s=null;if(t===S.LI&&o===S.LI?s=S.LI:(t===S.DD||t===S.DT)&&(o===S.DD||o===S.DT)&&(s=o),s){i.openElements.generateImpliedEndTagsWithExclusion(s),i.openElements.popUntilTagNamePopped(s);break}if(o!==S.ADDRESS&&o!==S.DIV&&o!==S.P&&i._isSpecialElement(r))break}i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML)}function lG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),i.tokenizer.state=M.MODE.PLAINTEXT}function cG(i,e){i.openElements.hasInScope(S.BUTTON)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(S.BUTTON)),i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.framesetOk=!1}function dG(i,e){let t=i.activeFormattingElements.getElementEntryInScopeWithTagName(S.A);t&&(ql(i,e),i.openElements.remove(t.element),i.activeFormattingElements.removeEntry(t)),i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.activeFormattingElements.pushElement(i.openElements.current,e)}function du(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.activeFormattingElements.pushElement(i.openElements.current,e)}function hG(i,e){i._reconstructActiveFormattingElements(),i.openElements.hasInScope(S.NOBR)&&(ql(i,e),i._reconstructActiveFormattingElements()),i._insertElement(e,Ae.HTML),i.activeFormattingElements.pushElement(i.openElements.current,e)}function ZD(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.activeFormattingElements.insertMarker(),i.framesetOk=!1}function uG(i,e){i.treeAdapter.getDocumentMode(i.document)!==rd.DOCUMENT_MODE.QUIRKS&&i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),i.framesetOk=!1,i.insertionMode=Fn}function hu(i,e){i._reconstructActiveFormattingElements(),i._appendElement(e,Ae.HTML),i.framesetOk=!1,e.ackSelfClosing=!0}function mG(i,e){i._reconstructActiveFormattingElements(),i._appendElement(e,Ae.HTML);let t=M.getTokenAttr(e,rM.TYPE);(!t||t.toLowerCase()!==oM)&&(i.framesetOk=!1),e.ackSelfClosing=!0}function JD(i,e){i._appendElement(e,Ae.HTML),e.ackSelfClosing=!0}function pG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._appendElement(e,Ae.HTML),i.framesetOk=!1,e.ackSelfClosing=!0}function fG(i,e){e.tagName=S.IMG,hu(i,e)}function gG(i,e){i._insertElement(e,Ae.HTML),i.skipNextNewLine=!0,i.tokenizer.state=M.MODE.RCDATA,i.originalInsertionMode=i.insertionMode,i.framesetOk=!1,i.insertionMode=nv}function _G(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._reconstructActiveFormattingElements(),i.framesetOk=!1,i._switchToTextParsing(e,M.MODE.RAWTEXT)}function vG(i,e){i.framesetOk=!1,i._switchToTextParsing(e,M.MODE.RAWTEXT)}function eM(i,e){i._switchToTextParsing(e,M.MODE.RAWTEXT)}function bG(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.framesetOk=!1,i.insertionMode===Fn||i.insertionMode===cv||i.insertionMode===uo||i.insertionMode===Aa||i.insertionMode===dv?i.insertionMode=p3:i.insertionMode=m3}function tM(i,e){i.openElements.currentTagName===S.OPTION&&i.openElements.pop(),i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML)}function iM(i,e){i.openElements.hasInScope(S.RUBY)&&i.openElements.generateImpliedEndTags(),i._insertElement(e,Ae.HTML)}function yG(i,e){i.openElements.hasInScope(S.RUBY)&&i.openElements.generateImpliedEndTagsWithExclusion(S.RTC),i._insertElement(e,Ae.HTML)}function SG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML)}function CG(i,e){i._reconstructActiveFormattingElements(),Cs.adjustTokenMathMLAttrs(e),Cs.adjustTokenXMLAttrs(e),e.selfClosing?i._appendElement(e,Ae.MATHML):i._insertElement(e,Ae.MATHML),e.ackSelfClosing=!0}function wG(i,e){i._reconstructActiveFormattingElements(),Cs.adjustTokenSVGAttrs(e),Cs.adjustTokenXMLAttrs(e),e.selfClosing?i._appendElement(e,Ae.SVG):i._insertElement(e,Ae.SVG),e.ackSelfClosing=!0}function co(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML)}function gr(i,e){let t=e.tagName;switch(t.length){case 1:t===S.I||t===S.S||t===S.B||t===S.U?du(i,e):t===S.P?Ta(i,e):t===S.A?dG(i,e):co(i,e);break;case 2:t===S.DL||t===S.OL||t===S.UL?Ta(i,e):t===S.H1||t===S.H2||t===S.H3||t===S.H4||t===S.H5||t===S.H6?oG(i,e):t===S.LI||t===S.DD||t===S.DT?aG(i,e):t===S.EM||t===S.TT?du(i,e):t===S.BR?hu(i,e):t===S.HR?pG(i,e):t===S.RB?iM(i,e):t===S.RT||t===S.RP?yG(i,e):t!==S.TH&&t!==S.TD&&t!==S.TR&&co(i,e);break;case 3:t===S.DIV||t===S.DIR||t===S.NAV?Ta(i,e):t===S.PRE?QD(i,e):t===S.BIG?du(i,e):t===S.IMG||t===S.WBR?hu(i,e):t===S.XMP?_G(i,e):t===S.SVG?wG(i,e):t===S.RTC?iM(i,e):t!==S.COL&&co(i,e);break;case 4:t===S.HTML?iG(i,e):t===S.BASE||t===S.LINK||t===S.META?on(i,e):t===S.BODY?nG(i,e):t===S.MAIN||t===S.MENU?Ta(i,e):t===S.FORM?sG(i,e):t===S.CODE||t===S.FONT?du(i,e):t===S.NOBR?hG(i,e):t===S.AREA?hu(i,e):t===S.MATH?CG(i,e):t===S.MENU?SG(i,e):t!==S.HEAD&&co(i,e);break;case 5:t===S.STYLE||t===S.TITLE?on(i,e):t===S.ASIDE?Ta(i,e):t===S.SMALL?du(i,e):t===S.TABLE?uG(i,e):t===S.EMBED?hu(i,e):t===S.INPUT?mG(i,e):t===S.PARAM||t===S.TRACK?JD(i,e):t===S.IMAGE?fG(i,e):t!==S.FRAME&&t!==S.TBODY&&t!==S.TFOOT&&t!==S.THEAD&&co(i,e);break;case 6:t===S.SCRIPT?on(i,e):t===S.CENTER||t===S.FIGURE||t===S.FOOTER||t===S.HEADER||t===S.HGROUP||t===S.DIALOG?Ta(i,e):t===S.BUTTON?cG(i,e):t===S.STRIKE||t===S.STRONG?du(i,e):t===S.APPLET||t===S.OBJECT?ZD(i,e):t===S.KEYGEN?hu(i,e):t===S.SOURCE?JD(i,e):t===S.IFRAME?vG(i,e):t===S.SELECT?bG(i,e):t===S.OPTION?tM(i,e):co(i,e);break;case 7:t===S.BGSOUND?on(i,e):t===S.DETAILS||t===S.ADDRESS||t===S.ARTICLE||t===S.SECTION||t===S.SUMMARY?Ta(i,e):t===S.LISTING?QD(i,e):t===S.MARQUEE?ZD(i,e):t===S.NOEMBED?eM(i,e):t!==S.CAPTION&&co(i,e);break;case 8:t===S.BASEFONT?on(i,e):t===S.FRAMESET?rG(i,e):t===S.FIELDSET?Ta(i,e):t===S.TEXTAREA?gG(i,e):t===S.TEMPLATE?on(i,e):t===S.NOSCRIPT?i.options.scriptingEnabled?eM(i,e):co(i,e):t===S.OPTGROUP?tM(i,e):t!==S.COLGROUP&&co(i,e);break;case 9:t===S.PLAINTEXT?lG(i,e):co(i,e);break;case 10:t===S.BLOCKQUOTE||t===S.FIGCAPTION?Ta(i,e):co(i,e);break;default:co(i,e)}}function xG(i){i.openElements.hasInScope(S.BODY)&&(i.insertionMode=f3)}function EG(i,e){i.openElements.hasInScope(S.BODY)&&(i.insertionMode=f3,i._processToken(e))}function Kl(i,e){let t=e.tagName;i.openElements.hasInScope(t)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(t))}function TG(i){let e=i.openElements.tmplCount>0,t=i.formElement;e||(i.formElement=null),(t||e)&&i.openElements.hasInScope(S.FORM)&&(i.openElements.generateImpliedEndTags(),e?i.openElements.popUntilTagNamePopped(S.FORM):i.openElements.remove(t))}function IG(i){i.openElements.hasInButtonScope(S.P)||i._insertFakeElement(S.P),i._closePElement()}function kG(i){i.openElements.hasInListItemScope(S.LI)&&(i.openElements.generateImpliedEndTagsWithExclusion(S.LI),i.openElements.popUntilTagNamePopped(S.LI))}function AG(i,e){let t=e.tagName;i.openElements.hasInScope(t)&&(i.openElements.generateImpliedEndTagsWithExclusion(t),i.openElements.popUntilTagNamePopped(t))}function LG(i){i.openElements.hasNumberedHeaderInScope()&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilNumberedHeaderPopped())}function nM(i,e){let t=e.tagName;i.openElements.hasInScope(t)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(t),i.activeFormattingElements.clearToLastMarker())}function NG(i){i._reconstructActiveFormattingElements(),i._insertFakeElement(S.BR),i.openElements.pop(),i.framesetOk=!1}function Oo(i,e){let t=e.tagName;for(let n=i.openElements.stackTop;n>0;n--){let r=i.openElements.items[n];if(i.treeAdapter.getTagName(r)===t){i.openElements.generateImpliedEndTagsWithExclusion(t),i.openElements.popUntilElementPopped(r);break}if(i._isSpecialElement(r))break}}function g3(i,e){let t=e.tagName;switch(t.length){case 1:t===S.A||t===S.B||t===S.I||t===S.S||t===S.U?ql(i,e):t===S.P?IG(i,e):Oo(i,e);break;case 2:t===S.DL||t===S.UL||t===S.OL?Kl(i,e):t===S.LI?kG(i,e):t===S.DD||t===S.DT?AG(i,e):t===S.H1||t===S.H2||t===S.H3||t===S.H4||t===S.H5||t===S.H6?LG(i,e):t===S.BR?NG(i,e):t===S.EM||t===S.TT?ql(i,e):Oo(i,e);break;case 3:t===S.BIG?ql(i,e):t===S.DIR||t===S.DIV||t===S.NAV||t===S.PRE?Kl(i,e):Oo(i,e);break;case 4:t===S.BODY?xG(i,e):t===S.HTML?EG(i,e):t===S.FORM?TG(i,e):t===S.CODE||t===S.FONT||t===S.NOBR?ql(i,e):t===S.MAIN||t===S.MENU?Kl(i,e):Oo(i,e);break;case 5:t===S.ASIDE?Kl(i,e):t===S.SMALL?ql(i,e):Oo(i,e);break;case 6:t===S.CENTER||t===S.FIGURE||t===S.FOOTER||t===S.HEADER||t===S.HGROUP||t===S.DIALOG?Kl(i,e):t===S.APPLET||t===S.OBJECT?nM(i,e):t===S.STRIKE||t===S.STRONG?ql(i,e):Oo(i,e);break;case 7:t===S.ADDRESS||t===S.ARTICLE||t===S.DETAILS||t===S.SECTION||t===S.SUMMARY||t===S.LISTING?Kl(i,e):t===S.MARQUEE?nM(i,e):Oo(i,e);break;case 8:t===S.FIELDSET?Kl(i,e):t===S.TEMPLATE?od(i,e):Oo(i,e);break;case 10:t===S.BLOCKQUOTE||t===S.FIGCAPTION?Kl(i,e):Oo(i,e);break;default:Oo(i,e)}}function Ia(i,e){i.tmplInsertionModeStackTop>-1?pM(i,e):i.stopped=!0}function RG(i,e){e.tagName===S.SCRIPT&&(i.pendingScript=i.openElements.current),i.openElements.pop(),i.insertionMode=i.originalInsertionMode}function DG(i,e){i._err(bn.eofInElementThatCanContainOnlyText),i.openElements.pop(),i.insertionMode=i.originalInsertionMode,i._processToken(e)}function ka(i,e){let t=i.openElements.currentTagName;t===S.TABLE||t===S.TBODY||t===S.TFOOT||t===S.THEAD||t===S.TR?(i.pendingCharacterTokens=[],i.hasNonWhitespacePendingCharacterToken=!1,i.originalInsertionMode=i.insertionMode,i.insertionMode=lM,i._processToken(e)):ho(i,e)}function MG(i,e){i.openElements.clearBackToTableContext(),i.activeFormattingElements.insertMarker(),i._insertElement(e,Ae.HTML),i.insertionMode=cv}function OG(i,e){i.openElements.clearBackToTableContext(),i._insertElement(e,Ae.HTML),i.insertionMode=J0}function PG(i,e){i.openElements.clearBackToTableContext(),i._insertFakeElement(S.COLGROUP),i.insertionMode=J0,i._processToken(e)}function FG(i,e){i.openElements.clearBackToTableContext(),i._insertElement(e,Ae.HTML),i.insertionMode=uo}function HG(i,e){i.openElements.clearBackToTableContext(),i._insertFakeElement(S.TBODY),i.insertionMode=uo,i._processToken(e)}function BG(i,e){i.openElements.hasInTableScope(S.TABLE)&&(i.openElements.popUntilTagNamePopped(S.TABLE),i._resetInsertionMode(),i._processToken(e))}function zG(i,e){let t=M.getTokenAttr(e,rM.TYPE);t&&t.toLowerCase()===oM?i._appendElement(e,Ae.HTML):ho(i,e),e.ackSelfClosing=!0}function UG(i,e){!i.formElement&&i.openElements.tmplCount===0&&(i._insertElement(e,Ae.HTML),i.formElement=i.openElements.current,i.openElements.pop())}function _3(i,e){let t=e.tagName;switch(t.length){case 2:t===S.TD||t===S.TH||t===S.TR?HG(i,e):ho(i,e);break;case 3:t===S.COL?PG(i,e):ho(i,e);break;case 4:t===S.FORM?UG(i,e):ho(i,e);break;case 5:t===S.TABLE?BG(i,e):t===S.STYLE?on(i,e):t===S.TBODY||t===S.TFOOT||t===S.THEAD?FG(i,e):t===S.INPUT?zG(i,e):ho(i,e);break;case 6:t===S.SCRIPT?on(i,e):ho(i,e);break;case 7:t===S.CAPTION?MG(i,e):ho(i,e);break;case 8:t===S.COLGROUP?OG(i,e):t===S.TEMPLATE?on(i,e):ho(i,e);break;default:ho(i,e)}}function v3(i,e){let t=e.tagName;t===S.TABLE?i.openElements.hasInTableScope(S.TABLE)&&(i.openElements.popUntilTagNamePopped(S.TABLE),i._resetInsertionMode()):t===S.TEMPLATE?od(i,e):t!==S.BODY&&t!==S.CAPTION&&t!==S.COL&&t!==S.COLGROUP&&t!==S.HTML&&t!==S.TBODY&&t!==S.TD&&t!==S.TFOOT&&t!==S.TH&&t!==S.THEAD&&t!==S.TR&&ho(i,e)}function ho(i,e){let t=i.fosterParentingEnabled;i.fosterParentingEnabled=!0,i._processTokenInBodyMode(e),i.fosterParentingEnabled=t}function WG(i,e){i.pendingCharacterTokens.push(e)}function jG(i,e){i.pendingCharacterTokens.push(e),i.hasNonWhitespacePendingCharacterToken=!0}function G0(i,e){let t=0;if(i.hasNonWhitespacePendingCharacterToken)for(;t0?(i.openElements.popUntilTagNamePopped(S.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i._popTmplInsertionMode(),i._resetInsertionMode(),i._processToken(e)):i.stopped=!0}function r$(i,e){e.tagName===S.HTML?gr(i,e):sv(i,e)}function o$(i,e){e.tagName===S.HTML?i.fragmentContext||(i.insertionMode=dM):sv(i,e)}function sv(i,e){i.insertionMode=ws,i._processToken(e)}function s$(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.FRAMESET?i._insertElement(e,Ae.HTML):t===S.FRAME?(i._appendElement(e,Ae.HTML),e.ackSelfClosing=!0):t===S.NOFRAMES&&on(i,e)}function a$(i,e){e.tagName===S.FRAMESET&&!i.openElements.isRootHtmlElementCurrent()&&(i.openElements.pop(),!i.fragmentContext&&i.openElements.currentTagName!==S.FRAMESET&&(i.insertionMode=cM))}function l$(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.NOFRAMES&&on(i,e)}function c$(i,e){e.tagName===S.HTML&&(i.insertionMode=hM)}function d$(i,e){e.tagName===S.HTML?gr(i,e):iv(i,e)}function iv(i,e){i.insertionMode=ws,i._processToken(e)}function h$(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.NOFRAMES&&on(i,e)}function u$(i,e){e.chars=Mq.REPLACEMENT_CHARACTER,i._insertCharacters(e)}function m$(i,e){i._insertCharacters(e),i.framesetOk=!1}function p$(i,e){if(Cs.causesExit(e)&&!i.fragmentContext){for(;i.treeAdapter.getNamespaceURI(i.openElements.current)!==Ae.HTML&&!i._isIntegrationPoint(i.openElements.current);)i.openElements.pop();i._processToken(e)}else{let t=i._getAdjustedCurrentElement(),n=i.treeAdapter.getNamespaceURI(t);n===Ae.MATHML?Cs.adjustTokenMathMLAttrs(e):n===Ae.SVG&&(Cs.adjustTokenSVGTagName(e),Cs.adjustTokenSVGAttrs(e)),Cs.adjustTokenXMLAttrs(e),e.selfClosing?i._appendElement(e,n):i._insertElement(e,n),e.ackSelfClosing=!0}}function f$(i,e){for(let t=i.openElements.stackTop;t>0;t--){let n=i.openElements.items[t];if(i.treeAdapter.getNamespaceURI(n)===Ae.HTML){i._processToken(e);break}if(i.treeAdapter.getTagName(n).toLowerCase()===e.tagName){i.openElements.popUntilElementPopped(n);break}}}});var MM=lt((O0e,DM)=>{var AM=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,M$=/\n/g,O$=/^\s*/,P$=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,F$=/^:\s*/,H$=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,B$=/^[;\s]*/,z$=/^\s+|\s+$/g,U$=` -`,LM="/",NM="*",ld="",W$="comment",j$="declaration";DM.exports=function(i,e){if(typeof i!="string")throw new TypeError("First argument must be a string");if(!i)return[];e=e||{};var t=1,n=1;function r(f){var b=f.match(M$);b&&(t+=b.length);var _=f.lastIndexOf(U$);n=~_?f.length-_:n+f.length}function o(){var f={line:t,column:n};return function(b){return b.position=new s(f),d(),b}}function s(f){this.start=f,this.end={line:t,column:n},this.source=e.source}s.prototype.content=i;var a=[];function l(f){var b=new Error(e.source+":"+t+":"+n+": "+f);if(b.reason=f,b.filename=e.source,b.line=t,b.column=n,b.source=i,e.silent)a.push(b);else throw b}function c(f){var b=f.exec(i);if(b){var _=b[0];return r(_),i=i.slice(_.length),b}}function d(){c(O$)}function h(f){var b;for(f=f||[];b=u();)b!==!1&&f.push(b);return f}function u(){var f=o();if(!(LM!=i.charAt(0)||NM!=i.charAt(1))){for(var b=2;ld!=i.charAt(b)&&(NM!=i.charAt(b)||LM!=i.charAt(b+1));)++b;if(b+=2,ld===i.charAt(b-1))return l("End of comment missing");var _=i.slice(2,b-2);return n+=2,r(_),i=i.slice(b),n+=2,f({type:W$,comment:_})}}function m(){var f=o(),b=c(P$);if(b){if(u(),!c(F$))return l("property missing ':'");var _=c(H$),C=f({type:j$,property:RM(b[0].replace(AM,ld)),value:_?RM(_[0].replace(AM,ld)):ld});return c(B$),C}}function p(){var f=[];h(f);for(var b;b=m();)b!==!1&&(f.push(b),h(f));return f}return d(),p()};function RM(i){return i?i.replace(z$,ld):ld}});var PM=lt((P0e,OM)=>{var V$=MM();function K$(i,e){var t=null;if(!i||typeof i!="string")return t;for(var n,r=V$(i),o=typeof e=="function",s,a,l=0,c=r.length;l{Dt();Xt();it();na();ne();De();In();X2();ke();ut();Lg();mt();$W();GW();ve();Ci();Ke();nt();Vc();var GF=Ad&&Ad.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},B4=Ad&&Ad.__param||function(i,e){return function(t,n){e(t,n,i)}},d8=Ad&&Ad.__awaiter||function(i,e,t,n){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(h){s(h)}}function l(d){try{c(n.throw(d))}catch(h){s(h)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(i,e||[])).next())})},Hm=class{constructor(e,t,n){this._editor=e,this._languageFeaturesService=t,this._workerService=n,this._disposables=new W,this._sessionDisposables=new W,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(r=>{r.hasChanged(54)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(54)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let n=new Pc;for(let r of t.autoFormatTriggerCharacters)n.add(r.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(r=>{let o=r.charCodeAt(r.length-1);n.has(o)&&this._trigger(String.fromCharCode(o))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),n=this._editor.getPosition(),r=new Yt,o=this._editor.onDidChangeModelContent(s=>{if(s.isFlush){r.cancel(),o.dispose();return}for(let a=0,l=s.changes.length;a{r.token.isCancellationRequested||Jt(s)&&(Hk.execute(this._editor,s,!0),Bk(s))}).finally(()=>{o.dispose()})}};Hm.ID="editor.contrib.autoFormat";Hm=GF([B4(1,le),B4(2,fa)],Hm);var Bm=class{constructor(e,t,n){this.editor=e,this._languageFeaturesService=t,this._instantiationService=n,this._callOnDispose=new W,this._callOnModel=new W,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(53)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(v9,this.editor,e,2,cs.None,ze.None).catch(Be))}};Bm.ID="editor.contrib.formatOnPaste";Bm=GF([B4(1,le),B4(2,Ce)],Bm);var l8=class extends V{constructor(){super({id:"editor.action.formatDocument",label:g("formatDocument.label","Format Document"),alias:"Format Document",precondition:q.and(T.notInCompositeEditor,T.writable,T.hasDocumentFormattingProvider),kbOpts:{kbExpr:T.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(e,t){return d8(this,void 0,void 0,function*(){if(t.hasModel()){let n=e.get(Ce);yield e.get(ua).showWhile(n.invokeFunction(zk,t,1,cs.None,ze.None),250)}})}},c8=class extends V{constructor(){super({id:"editor.action.formatSelection",label:g("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:q.and(T.writable,T.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:T.editorTextFocus,primary:Tt(2089,2084),weight:100},contextMenuOpts:{when:T.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(e,t){return d8(this,void 0,void 0,function*(){if(!t.hasModel())return;let n=e.get(Ce),r=t.getModel(),o=t.getSelections().map(a=>a.isEmpty()?new k(a.startLineNumber,1,a.startLineNumber,r.getLineMaxColumn(a.startLineNumber)):a);yield e.get(ua).showWhile(n.invokeFunction(v9,t,o,1,cs.None,ze.None),250)})}};be(Hm.ID,Hm,2);be(Bm.ID,Bm,2);F(l8);F(c8);Je.registerCommand("editor.action.format",i=>d8(void 0,void 0,void 0,function*(){let e=i.get(gt).getFocusedCodeEditor();if(!e||!e.hasModel())return;let t=i.get(Ft);e.getSelection().isEmpty()?yield t.executeCommand("editor.action.formatDocument"):yield t.executeCommand("editor.action.formatSelection")}))});var cb,pB=vl(()=>{Fi();cb=class{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let r=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new ye(r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn),r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn)):new ye(r.endLineNumber,r.endColumn-this._text.length,r.endLineNumber,r.endColumn)}}});var fB=vl(()=>{});var gB=vl(()=>{fB()});var _B=lt(kp=>{ct();it();h0();De();ke();Fi();ut();fn();Lg();ve();pB();gB();var Ete=kp&&kp.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},Tte=kp&&kp.__param||function(i,e){return function(t,n){e(t,n,i)}},mc=class aw{static get(e){return e.getContribution(aw.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var n;(n=this.currentRequest)===null||n===void 0||n.cancel();let r=this.editor.getSelection(),o=this.editor.getModel();if(!o||!r)return;let s=r;if(s.startLineNumber!==s.endLineNumber)return;let a=new Cg(this.editor,5),l=o.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=Bt(c=>this.editorWorkerService.navigateValueSet(l,s,t)),this.currentRequest.then(c=>{var d;if(!c||!c.range||!c.value||!a.validate(this.editor))return;let h=k.lift(c.range),u=c.range,m=c.value.length-(s.endColumn-s.startColumn);u={startLineNumber:u.startLineNumber,startColumn:u.startColumn,endLineNumber:u.endLineNumber,endColumn:u.startColumn+c.value.length},m>1&&(s=new ye(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn+m-1));let p=new cb(h,s,c.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,p),this.editor.pushUndoStop(),this.decorations.set([{range:u,options:aw.DECORATION}]),(d=this.decorationRemover)===null||d===void 0||d.cancel(),this.decorationRemover=Nh(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(Be)}).catch(Be)):Promise.resolve(void 0)}};mc.ID="editor.contrib.inPlaceReplaceController";mc.DECORATION=Ue.register({description:"in-place-replace",className:"valueSetReplacement"});mc=Ete([Tte(1,fa)],mc);var lw=class extends V{constructor(){super({id:"editor.action.inPlaceReplace.up",label:g("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:3159,weight:100}})}run(e,t){let n=mc.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}},cw=class extends V{constructor(){super({id:"editor.action.inPlaceReplace.down",label:g("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:T.writable,kbOpts:{kbExpr:T.editorTextFocus,primary:3161,weight:100}})}run(e,t){let n=mc.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}};be(mc.ID,mc,4);F(lw);F(cw)});var ez=vl(()=>{});var tz=vl(()=>{ez()});var ul,iz=vl(()=>{Dr();YW();ve();fi();Ke();ul=class extends ro{constructor(){super({id:ul.ID,title:{value:g({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),original:"Toggle Tab Key Moves Focus"},precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},f1:!0})}run(e){let t=e.get(xe).getContextKeyValue("focusedView")==="terminal"?"terminalFocus":"editorFocus",r=!y9.getTabFocusMode(t);y9.setTabFocusMode(r,t),r?$t(g("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):$t(g("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}};ul.ID="editor.action.toggleTabFocusMode";Ht(ul)});var sz=lt(Qp=>{tz();ht();qW();Dr();xg();ne();ln();Ut();En();De();ut();iz();Ke();nt();gn();ao();Kh();var nz=Qp&&Qp.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},qb=Qp&&Qp.__param||function(i,e){return function(t,n){e(t,n,i)}},rz=new Ne("accessibilityHelpWidgetVisible",!1),ah=class oz extends ${static get(e){return e.getContribution(oz.ID)}constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(w1,this._editor))}show(){this._widget.show()}hide(){this._widget.hide()}};ah.ID="editor.contrib.accessibilityHelpController";ah=nz([qb(1,Ce)],ah);function Nie(i,e){return!i||i.length===0?li.noSelection:i.length===1?e?Mr(li.singleSelectionRange,i[0].positionLineNumber,i[0].positionColumn,e):Mr(li.singleSelection,i[0].positionLineNumber,i[0].positionColumn):e?Mr(li.multiSelectionRange,i.length,e):i.length>0?Mr(li.multiSelection,i.length):""}var w1=class Gb extends ma{constructor(e,t,n,r){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=r,this._editor=e,this._isVisibleKey=rz.bindTo(this._contextKeyService),this._domNode=a9(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-modal","true"),this._domNode.setAttribute("aria-hidden","true");let o=oe(this._domNode.domNode,ee("h1",void 0,li.accessibilityHelpTitle));o.id="help-dialog-heading",this._domNode.setAttribute("aria-labelledby",o.id),this._contentDomNode=a9(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._contentDomNode.domNode.id="help-dialog-content",this._domNode.appendChild(this._contentDomNode),this._contentDomNode.setAttribute("aria-describedby",this._contentDomNode.domNode.id),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(to(this._contentDomNode.domNode,"keydown",s=>{if(this._isVisible&&(s.equals(2083)&&($t(li.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),cn(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),s.preventDefault(),s.stopPropagation()),s.equals(2086))){$t(li.openingDocs);let a=this._editor.getRawOptions().accessibilityHelpUrl;typeof a=="undefined"&&(a="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(Ze.parse(a)),s.preventDefault(),s.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Gb.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){let r=this._keybindingService.lookupKeybinding(e);return r?Mr(t,r.getAriaLabel()):Mr(n,e)}_buildContent(){let e=this._contentDomNode.domNode,t=this._editor.getOptions(),n=this._editor.getSelections(),r=0;if(n){let c=this._editor.getModel();c&&n.forEach(d=>{r+=c.getValueLengthInRange(d)})}oe(e,ee("p",void 0,Nie(n,r)));let o=oe(e,ee("p"));t.get(59)?t.get(87)?o.textContent=li.readonlyDiffEditor:o.textContent=li.editableDiffEditor:t.get(87)?o.textContent=li.readonlyEditor:o.textContent=li.editableEditor;let s=oe(e,ee("ul")),a=Gi?li.changeConfigToOnMac:li.changeConfigToOnWinLinux;switch(t.get(2)){case 0:oe(s,ee("li",void 0,a));break;case 2:oe(s,ee("li",void 0,li.auto_on));break;case 1:oe(s,ee("li",void 0,li.auto_off,a));break}t.get(138)?oe(s,ee("li",void 0,this._descriptionForCommand(ul.ID,li.tabFocusModeOnMsg,li.tabFocusModeOnMsgNoKb))):oe(s,ee("li",void 0,this._descriptionForCommand(ul.ID,li.tabFocusModeOffMsg,li.tabFocusModeOffMsgNoKb)));let l=Gi?li.openDocMac:li.openDocWinLinux;oe(s,ee("li",void 0,l)),oe(e,ee("p",void 0,li.outroMsg))}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,cn(this._contentDomNode.domNode),this._editor.focus())}_layout(){let e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(Gb.WIDTH,e.width-40)),n=Math.max(5,Math.min(Gb.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(n);let r=Math.round((e.height-n)/2);this._domNode.setTop(r);let o=Math.round((e.width-t)/2);this._domNode.setLeft(o)}};w1.ID="editor.contrib.accessibilityHelpWidget";w1.WIDTH=500;w1.HEIGHT=300;w1=nz([qb(1,xe),qb(2,pt),qb(3,ui)],w1);var gx=class extends V{constructor(){super({id:"editor.action.showAccessibilityHelp",label:li.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let n=ah.get(t);n==null||n.show()}};be(ah.ID,ah,4);F(gx);var Rie=si.bindToContribution(ah.get);fe(new Rie({id:"closeAccessibilityHelp",precondition:rz,handler:i=>i.hide(),kbOpts:{weight:100+100,kbExpr:T.focus,primary:9,secondary:[1033]}}))});var az=vl(()=>{});var lz=vl(()=>{az()});var hz=lt(Jp=>{lz();ht();Dh();ne();De();Rn();FW();jW();oo();XW();Kh();var Die=Jp&&Jp.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},cz=Jp&&Jp.__param||function(i,e){return function(t,n){e(t,n,i)}},E1=class dz extends ${static get(e){return e.getContribution(dz.ID)}constructor(e,t,n){super(),this._editor=e,this._languageService=n,this._widget=null,this._register(this._editor.onDidChangeModel(r=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(r=>this.stop())),this._register(Bh.onDidChange(r=>this.stop())),this._register(this._editor.onKeyUp(r=>r.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new T1(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};E1.ID="editor.contrib.inspectTokens";E1=Die([cz(1,oA),cz(2,hi)],E1);var _x=class extends V{constructor(){super({id:"editor.action.inspectTokens",label:nA.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let n=E1.get(t);n==null||n.launch()}};function Mie(i){let e="";for(let t=0,n=i.length;tok,tokenize:(r,o,s)=>sk(e,s),tokenizeEncoded:(r,o,s)=>ak(n,s)}}var T1=class extends ${constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=Oie(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(n=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return T1._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),n=0;for(let l=t.tokens1.length-1;l>=0;l--){let c=t.tokens1[l];if(e.column-1>=c.offset){n=l;break}}let r=0;for(let l=t.tokens2.length>>>1;l>=0;l--)if(e.column-1>=t.tokens2[l<<1]){r=l;break}let o=this._model.getLineContent(e.lineNumber),s="";if(n{(function(i){if(typeof dW=="object"&&typeof VE!="undefined")VE.exports=i();else if(typeof define=="function"&&define.amd)define([],i);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=i()}})(function(){var i,e,t;return function(){function n(r,o,s){function a(d,h){if(!o[d]){if(!r[d]){var u=typeof Ic=="function"&&Ic;if(!h&&u)return u(d,!0);if(l)return l(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var p=o[d]={exports:{}};r[d][0].call(p.exports,function(f){var b=r[d][1][f];return a(b||f)},p,p.exports,n,r,o,s)}return o[d].exports}for(var l=typeof Ic=="function"&&Ic,c=0;cb._averageHeight){var D=b._renderChunk();b._lastRepaint=I,D!==!1&&typeof _.afterRender=="function"&&_.afterRender()}}};C()}return s(m,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(f,b){var _;if(Object.assign(this._config,c,b),!f||f.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=f;var C=this._config,x=this._scroller||C.scroller||document.createElement(C.scrollerTagName||"tr");if(typeof C.useFragment!="boolean"&&(this._config.useFragment=!0),!C.generate)throw new Error("Missing required `generate` function");if(!d(C.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(C.itemHeight)&&!d(C.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());d(C.itemHeight)?this._itemHeights=Array(C.total).fill(C.itemHeight):this._itemHeights=C.itemHeight,Object.keys(c).filter(function(B){return B in C}).forEach(function(B){var Q=C[B],J=d(Q);if(Q&&typeof Q!="string"&&typeof Q!="number"){var j="Invalid optional `"+B+"`, expected string or number";throw new Error(j)}else J&&(C[B]=Q+"px")});var I=!!C.horizontal,A=C[I?"width":"height"];if(A){var O=d(A),D=O?!1:A.slice(-1)==="%",K=O?A:parseInt(A.replace(/px|%/,""),10),G=window[I?"innerWidth":"innerHeight"];D?this._containerSize=G*K/100:this._containerSize=d(A)?A:K}var Se=C.scrollContainer,te=C.itemHeight*C.total,Ie=this._maxElementHeight;te>Ie&&console.warn(["HyperList: The maximum element height",Ie+"px has","been exceeded; please reduce your item height."].join(" "));var Oe={width:""+C.width,height:Se?te+"px":""+C.height,overflow:Se?"none":"auto",position:"relative"};m.mergeStyle(f,Oe),Se&&m.mergeStyle(C.scrollContainer,{overflow:"auto"});var He=(_={opacity:"0",position:"absolute"},a(_,I?"height":"width","1px"),a(_,I?"width":"height",te+"px"),_);m.mergeStyle(x,He),this._scroller||f.appendChild(x);var Xe=this._computeScrollPadding();this._scrollPaddingBottom=Xe.bottom,this._scrollPaddingTop=Xe.top,this._scroller=x,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(C.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof C.afterRender=="function"&&C.afterRender()}},{key:"_getRow",value:function(f){var b=this._config,_=b.generate(f),C=_.height;if(C!==void 0&&d(C)?(_=_.element,C!==this._itemHeights[f]&&(this._itemHeights[f]=C,this._computePositions(f),this._scrollHeight=this._computeScrollHeight(f))):C=this._itemHeights[f],!_||_.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+f);h(_,b.rowClassName||"vrow");var x=this._itemPositions[f]+this._scrollPaddingTop;return m.mergeStyle(_,a({position:"absolute"},b.horizontal?"left":"top",x+"px")),_}},{key:"_getScrollPosition",value:function(){var f=this._config;return typeof f.overrideScrollPosition=="function"?f.overrideScrollPosition():this._element[f.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(f){var b=this._config,_=this._element,C=this._getScrollPosition(),x=b.total,I=b.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((I<0||I-this._screenItemsLen<0)&&(I=0),!f&&this._lastFrom===I)return!1;this._lastFrom=I;var A=I+this._cachedItemsLen;(A>x||A+this._cachedItemsLen>x)&&(A=x);var O=b.useFragment?document.createDocumentFragment():[],D=this._scroller;O[b.useFragment?"appendChild":"push"](D);for(var K=I;K0&&arguments[0]!==void 0?arguments[0]:1,b=this._config,_=b.total,C=b.reverse;f<1&&!C&&(f=1);for(var x=f;x<_;x++)C?x===0?this._itemPositions[0]=this._scrollHeight-this._itemHeights[0]:this._itemPositions[x]=this._itemPositions[x-1]-this._itemHeights[x]:this._itemPositions[x]=this._itemHeights[x-1]+this._itemPositions[x-1]}},{key:"_computeScrollHeight",value:function(){var f,b=this,_=this._config,C=!!_.horizontal,x=_.total,I=this._itemHeights.reduce(function(te,Ie){return te+Ie},0)+this._scrollPaddingBottom+this._scrollPaddingTop;m.mergeStyle(this._scroller,(f={opacity:0,position:"absolute",top:"0px"},a(f,C?"height":"width","1px"),a(f,C?"width":"height",I+"px"),f));var A=this._itemHeights.slice(0).sort(function(te,Ie){return te-Ie}),O=Math.floor(x/2),D=x%2===0?(A[O]+A[O-1])/2:A[O],K=C?"clientWidth":"clientHeight",G=_.scrollContainer?_.scrollContainer:this._element,Se=G[K]?G[K]:this._containerSize;return this._screenItemsLen=Math.ceil(Se/D),this._containerSize=Se,this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3),this._averageHeight=D,_.reverse&&window.requestAnimationFrame(function(){C?b._element.scrollLeft=I:b._element.scrollTop=I}),I}},{key:"_computeScrollPadding",value:function(){var f=this._config,b=!!f.horizontal,_=f.reverse,C=window.getComputedStyle(this._element),x=function(A){var O=C.getPropertyValue("padding-"+A);return parseInt(O,10)||0};return b&&_?{bottom:x("left"),top:x("right")}:b?{bottom:x("right"),top:x("left")}:_?{bottom:x("top"),top:x("bottom")}:{bottom:x("bottom"),top:x("top")}}},{key:"_getFrom",value:function(f){for(var b=0;this._itemPositions[b]0&&this._itemPositions[b]{(function(i,e){"use strict";function t(){n.width=i.innerWidth,n.height=5*c.barThickness;var h=n.getContext("2d");h.shadowBlur=c.shadowBlur,h.shadowColor=c.shadowColor;var u,m=h.createLinearGradient(0,0,n.width,0);for(u in c.barColors)m.addColorStop(u,c.barColors[u]);h.lineWidth=c.barThickness,h.beginPath(),h.moveTo(0,c.barThickness/2),h.lineTo(Math.ceil(r*n.width),c.barThickness/2),h.strokeStyle=m,h.stroke()}var n,r,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},d={config:function(h){for(var u in h)c.hasOwnProperty(u)&&(c[u]=h[u])},show:function(h){var u,m;o||(h?l=l||setTimeout(()=>d.show(),h):(o=!0,a!==null&&i.cancelAnimationFrame(a),n||((m=(n=e.createElement("canvas")).style).position="fixed",m.top=m.left=m.right=m.margin=m.padding=0,m.zIndex=100001,m.display="none",c.className&&n.classList.add(c.className),e.body.appendChild(n),u="resize",h=t,(m=i).addEventListener?m.addEventListener(u,h,!1):m.attachEvent?m.attachEvent("on"+u,h):m["on"+u]=h),n.style.opacity=1,n.style.display="block",d.progress(0),c.autoRun&&function p(){s=i.requestAnimationFrame(p),d.progress("+"+.05*Math.pow(1-Math.sqrt(r),2))}()))},progress:function(h){return h===void 0||(typeof h=="string"&&(h=(0<=h.indexOf("+")||0<=h.indexOf("-")?r:0)+parseFloat(h)),r=1typeof i=="function"?i:function(){return i},QW=typeof self!="undefined"?self:null,b0=typeof window!="undefined"?window:null,S0=QW||b0||S0,ZW="2.0.0",ms={connecting:0,open:1,closing:2,closed:3},JW=1e4,ej=1e3,zr={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},va={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},R9={longpoll:"longpoll",websocket:"websocket"},tj={complete:4},Wg=class{constructor(i,e,t,n){this.channel=i,this.event=e,this.payload=t||function(){return{}},this.receivedResp=null,this.timeout=n,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(i){this.timeout=i,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(i,e){return this.hasReceived(i)&&e(this.receivedResp.response),this.recHooks.push({status:i,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:i,response:e,_ref:t}){this.recHooks.filter(n=>n.status===i).forEach(n=>n.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,i=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=i,this.matchReceive(i)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(i){return this.receivedResp&&this.receivedResp.status===i}trigger(i,e){this.channel.trigger(this.refEvent,{status:i,response:e})}},sA=class{constructor(i,e){this.callback=i,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},ij=class{constructor(i,e,t){this.state=zr.closed,this.topic=i,this.params=y0(e||{}),this.socket=t,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Wg(this,va.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new sA(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=zr.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(n=>n.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=zr.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=zr.closed,this.socket.remove(this)}),this.onError(n=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,n),this.isJoining()&&this.joinPush.reset(),this.state=zr.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new Wg(this,va.leave,y0({}),this.timeout).send(),this.state=zr.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(va.reply,(n,r)=>{this.trigger(this.replyEventName(r),n)})}join(i=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=i,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(i){this.on(va.close,i)}onError(i){return this.on(va.error,e=>i(e))}on(i,e){let t=this.bindingRef++;return this.bindings.push({event:i,ref:t,callback:e}),t}off(i,e){this.bindings=this.bindings.filter(t=>!(t.event===i&&(typeof e=="undefined"||e===t.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(i,e,t=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${i}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let n=new Wg(this,i,function(){return e},t);return this.canPush()?n.send():(n.startTimeout(),this.pushBuffer.push(n)),n}leave(i=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=zr.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(va.close,"leave")},t=new Wg(this,va.leave,y0({}),i);return t.receive("ok",()=>e()).receive("timeout",()=>e()),t.send(),this.canPush()||t.trigger("ok",{}),t}onMessage(i,e,t){return e}isMember(i,e,t,n){return this.topic!==i?!1:n&&n!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:i,event:e,payload:t,joinRef:n}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(i=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=zr.joining,this.joinPush.resend(i))}trigger(i,e,t,n){let r=this.onMessage(i,e,t,n);if(e&&!r)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===i);for(let s=0;s{let a=this.parseJSON(i.responseText);s&&s(a)},o&&(i.ontimeout=o),i.onprogress=()=>{},i.send(n),i}static xhrRequest(i,e,t,n,r,o,s,a){return i.open(e,t,!0),i.timeout=o,i.setRequestHeader("Content-Type",n),i.onerror=()=>a&&a(null),i.onreadystatechange=()=>{if(i.readyState===tj.complete&&a){let l=this.parseJSON(i.responseText);a(l)}},s&&(i.ontimeout=s),i.send(r),i}static parseJSON(i){if(!i||i==="")return null;try{return JSON.parse(i)}catch(e){return console&&console.log("failed to parse JSON response",i),null}}static serialize(i,e){let t=[];for(var n in i){if(!Object.prototype.hasOwnProperty.call(i,n))continue;let r=e?`${e}[${n}]`:n,o=i[n];typeof o=="object"?t.push(this.serialize(o,r)):t.push(encodeURIComponent(r)+"="+encodeURIComponent(o))}return t.join("&")}static appendParams(i,e){if(Object.keys(e).length===0)return i;let t=i.match(/\?/)?"&":"?";return`${i}${t}${this.serialize(e)}`}},N9=class{constructor(i){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(i),this.readyState=ms.connecting,this.poll()}normalizeEndpoint(i){return i.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+R9.websocket),"$1/"+R9.longpoll)}endpointURL(){return Vg.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(i,e,t){this.close(i,e,t),this.readyState=ms.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===ms.open||this.readyState===ms.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),i=>{if(i){var{status:e,token:t,messages:n}=i;this.token=t}else e=0;switch(e){case 200:n.forEach(r=>{setTimeout(()=>this.onmessage({data:r}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=ms.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${e}`)}})}send(i){this.currentBatch?this.currentBatch.push(i):this.awaitingBatchAck?this.batchBuffer.push(i):(this.currentBatch=[i],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(i){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",i.join(` -`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(i,e,t){for(let r of this.reqs)r.abort();this.readyState=ms.closed;let n=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:i,reason:e,wasClean:t});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",n)):this.onclose(n)}ajax(i,e,t,n,r){let o,s=()=>{this.reqs.delete(o),n()};o=Vg.request(i,this.endpointURL(),e,t,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&r(a)}),this.reqs.add(o)}};var jg={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(i,e){if(i.payload.constructor===ArrayBuffer)return e(this.binaryEncode(i));{let t=[i.join_ref,i.ref,i.topic,i.event,i.payload];return e(JSON.stringify(t))}},decode(i,e){if(i.constructor===ArrayBuffer)return e(this.binaryDecode(i));{let[t,n,r,o,s]=JSON.parse(i);return e({join_ref:t,ref:n,topic:r,event:o,payload:s})}},binaryEncode(i){let{join_ref:e,ref:t,event:n,topic:r,payload:o}=i,s=this.META_LENGTH+e.length+t.length+r.length+n.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,t.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),Array.from(e,h=>l.setUint8(c++,h.charCodeAt(0))),Array.from(t,h=>l.setUint8(c++,h.charCodeAt(0))),Array.from(r,h=>l.setUint8(c++,h.charCodeAt(0))),Array.from(n,h=>l.setUint8(c++,h.charCodeAt(0)));var d=new Uint8Array(a.byteLength+o.byteLength);return d.set(new Uint8Array(a),0),d.set(new Uint8Array(o),a.byteLength),d.buffer},binaryDecode(i){let e=new DataView(i),t=e.getUint8(0),n=new TextDecoder;switch(t){case this.KINDS.push:return this.decodePush(i,e,n);case this.KINDS.reply:return this.decodeReply(i,e,n);case this.KINDS.broadcast:return this.decodeBroadcast(i,e,n)}},decodePush(i,e,t){let n=e.getUint8(1),r=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=t.decode(i.slice(s,s+n));s=s+n;let l=t.decode(i.slice(s,s+r));s=s+r;let c=t.decode(i.slice(s,s+o));s=s+o;let d=i.slice(s,i.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:d}},decodeReply(i,e,t){let n=e.getUint8(1),r=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=t.decode(i.slice(a,a+n));a=a+n;let c=t.decode(i.slice(a,a+r));a=a+r;let d=t.decode(i.slice(a,a+o));a=a+o;let h=t.decode(i.slice(a,a+s));a=a+s;let u=i.slice(a,i.byteLength),m={status:h,response:u};return{join_ref:l,ref:c,topic:d,event:va.reply,payload:m}},decodeBroadcast(i,e,t){let n=e.getUint8(1),r=e.getUint8(2),o=this.HEADER_LENGTH+2,s=t.decode(i.slice(o,o+n));o=o+n;let a=t.decode(i.slice(o,o+r));o=o+r;let l=i.slice(o,i.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},Kg=class{constructor(i,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||JW,this.transport=e.transport||S0.WebSocket||N9,this.establishedConnections=0,this.defaultEncoder=jg.encode.bind(jg),this.defaultDecoder=jg.decode.bind(jg),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==N9?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let t=null;b0&&b0.addEventListener&&(b0.addEventListener("pagehide",n=>{this.conn&&(this.disconnect(),t=this.connectClock)}),b0.addEventListener("pageshow",n=>{t===this.connectClock&&(t=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=n=>e.rejoinAfterMs?e.rejoinAfterMs(n):[1e3,2e3,5e3][n-1]||1e4,this.reconnectAfterMs=n=>e.reconnectAfterMs?e.reconnectAfterMs(n):[10,50,100,150,200,250,500,1e3,2e3][n-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=y0(e.params||{}),this.endPoint=`${i}/${R9.websocket}`,this.vsn=e.vsn||ZW,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new sA(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return N9}replaceTransport(i){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=i}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let i=Vg.appendParams(Vg.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return i.charAt(0)!=="/"?i:i.charAt(1)==="/"?`${this.protocol()}:${i}`:`${this.protocol()}://${location.host}${i}`}disconnect(i,e,t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(i,e,t)}connect(i){i&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=y0(i)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(i,e,t){this.logger(i,e,t)}hasLogger(){return this.logger!==null}onOpen(i){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,i]),e}onClose(i){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,i]),e}onError(i){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,i]),e}onMessage(i){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,i]),e}ping(i){if(!this.isConnected())return!1;let e=this.makeRef(),t=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let n=this.onMessage(r=>{r.ref===e&&(this.off([n]),i(Date.now()-t))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,i])=>i())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),ej,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(i,e,t){if(!this.conn)return i&&i();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,t||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),i&&i()})})}waitForBufferDone(i,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){i();return}setTimeout(()=>{this.waitForBufferDone(i,e+1)},150*e)}waitForSocketClosed(i,e=1){if(e===5||!this.conn||this.conn.readyState===ms.closed){i();return}setTimeout(()=>{this.waitForSocketClosed(i,e+1)},150*e)}onConnClose(i){let e=i&&i.code;this.hasLogger()&&this.log("transport","close",i),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,t])=>t(i))}onConnError(i){this.hasLogger()&&this.log("transport",i);let e=this.transport,t=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,n])=>{n(i,e,t)}),(e===this.transport||t>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(i=>{i.isErrored()||i.isLeaving()||i.isClosed()||i.trigger(va.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case ms.connecting:return"connecting";case ms.open:return"open";case ms.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(i){this.off(i.stateChangeRefs),this.channels=this.channels.filter(e=>e.joinRef()!==i.joinRef())}off(i){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([t])=>i.indexOf(t)===-1)}channel(i,e={}){let t=new ij(i,e,this);return this.channels.push(t),t}push(i){if(this.hasLogger()){let{topic:e,event:t,payload:n,ref:r,join_ref:o}=i;this.log("push",`${e} ${t} (${o}, ${r})`,n)}this.isConnected()?this.encode(i,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(i,e=>this.conn.send(e)))}makeRef(){let i=this.ref+1;return i===this.ref?this.ref=0:this.ref=i,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(i=>i()),this.sendBuffer=[])}onConnMessage(i){this.decode(i.data,e=>{let{topic:t,event:n,payload:r,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${r.status||""} ${t} ${n} ${o&&"("+o+")"||""}`,r);for(let a=0;at.topic===i&&(t.isJoined()||t.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${i}"`),e.leave())}};var IA="consecutive-reloads",nj=10,rj=5e3,oj=1e4,sj=3e4,kA=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],Wr="data-phx-component",D9="data-phx-link",aj="track-static",lj="data-phx-link-state",vs="data-phx-ref",qc="data-phx-ref-src",AA="track-uploads",Gc="data-phx-upload-ref",G9="data-phx-preflighted-refs",cj="data-phx-done-refs",aA="drop-target",j9="data-phx-active-refs",i_="phx:live-file:updated",V9="data-phx-skip",lA="data-phx-prune",cA="page-loading",dA="phx-connected",M9="phx-loading",O9="phx-no-feedback",hA="phx-error",$h="data-phx-parent-id",$9="data-phx-main",A0="data-phx-root-id",dj="trigger-action",r_="feedback-for",K9="phx-has-focused",hj=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],LA=["checkbox","radio"],o_="phx-has-submitted",Fl="data-phx-session",Xh=`[${Fl}]`,uA="data-phx-sticky",I0="data-phx-static",P9="data-phx-readonly",qg="data-phx-disabled",q9="disable-with",Gg="data-phx-disable-with-restore",C0="hook",uj="debounce",mj="throttle",s_="update",F9="stream",pj="key",ps="phxPrivate",mA="auto-recover",$g="phx:live-socket:debug",H9="phx:live-socket:profiling",B9="phx:live-socket:latency-sim",fj="progress",pA="mounted",gj=1,_j=200,vj="phx-",bj=3e4,w0="debounce-trigger",Yg="throttled",fA="debounce-prev-key",yj={debounce:300,throttle:300},Xg="d",fs="s",Ur="c",gA="e",_A="r",vA="t",Sj="p",Cj="stream",wj=class{constructor(i,e,t){this.liveSocket=t,this.entry=i,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.uploadChannel=t.channel(`lvu:${i.ref}`,{token:i.metadata()})}error(i){clearTimeout(this.chunkTimer),this.uploadChannel.leave(),this.entry.error(i)}upload(){this.uploadChannel.onError(i=>this.error(i)),this.uploadChannel.join().receive("ok",i=>this.readNextChunk()).receive("error",i=>this.error(i))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let i=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);i.onload=t=>{if(t.target.error===null)this.offset+=t.target.result.byteLength,this.pushChunk(t.target.result);else return Mn("Read error: "+t.target.error)},i.readAsArrayBuffer(e)}pushChunk(i){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",i).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))})}},Mn=(i,e)=>console.error&&console.error(i,e),Ol=i=>{let e=typeof i;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(i)};function xj(){let i=new Set,e=document.querySelectorAll("*[id]");for(let t=0,n=e.length;t{i.liveSocket.isDebugEnabled()&&console.log(`${i.id} ${e}: ${t} - `,n)},z9=i=>typeof i=="function"?i:function(){return i},n_=i=>JSON.parse(JSON.stringify(i)),k0=(i,e,t)=>{do{if(i.matches(`[${e}]`)&&!i.disabled)return i;i=i.parentElement||i.parentNode}while(i!==null&&i.nodeType===1&&!(t&&t.isSameNode(i)||i.matches(Xh)));return null},x0=i=>i!==null&&typeof i=="object"&&!(i instanceof Array),Tj=(i,e)=>JSON.stringify(i)===JSON.stringify(e),bA=i=>{for(let e in i)return!1;return!0},Pl=(i,e)=>i&&e(i),Ij=function(i,e,t,n){i.forEach(r=>{new wj(r,t.config.chunk_size,n).upload()})},NA={canPushState(){return typeof history.pushState!="undefined"},dropLocal(i,e,t){return i.removeItem(this.localKey(e,t))},updateLocal(i,e,t,n,r){let o=this.getLocal(i,e,t),s=this.localKey(e,t),a=o===null?n:r(o);return i.setItem(s,JSON.stringify(a)),a},getLocal(i,e,t){return JSON.parse(i.getItem(this.localKey(e,t)))},updateCurrentState(i){this.canPushState()&&history.replaceState(i(history.state||{}),"",window.location.href)},pushState(i,e,t){if(this.canPushState()){if(t!==window.location.href){if(e.type=="redirect"&&e.scroll){let r=history.state||{};r.scroll=e.scroll,history.replaceState(r,"",window.location.href)}delete e.scroll,history[i+"State"](e,"",t||null);let n=this.getHashTargetEl(window.location.hash);n?n.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(t)},setCookie(i,e){document.cookie=`${i}=${e}`},getCookie(i){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${i}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(i,e){e&&NA.setCookie("__phoenix_flash__",e+"; max-age=60000; path=/"),window.location=i},localKey(i,e){return`${i}-${e}`},getHashTargetEl(i){let e=i.toString().substring(1);if(e!=="")return document.getElementById(e)||document.querySelector(`a[name="${e}"]`)}},gs=NA,No={byId(i){return document.getElementById(i)||Mn(`no id found for ${i}`)},removeClass(i,e){i.classList.remove(e),i.classList.length===0&&i.removeAttribute("class")},all(i,e,t){if(!i)return[];let n=Array.from(i.querySelectorAll(e));return t?n.forEach(t):n},childNodeLength(i){let e=document.createElement("template");return e.innerHTML=i,e.content.childElementCount},isUploadInput(i){return i.type==="file"&&i.getAttribute(Gc)!==null},findUploadInputs(i){return this.all(i,`input[type="file"][${Gc}]`)},findComponentNodeList(i,e){return this.filterWithinSameLiveView(this.all(i,`[${Wr}="${e}"]`),i)},isPhxDestroyed(i){return!!(i.id&&No.private(i,"destroyed"))},wantsNewTab(i){return i.ctrlKey||i.shiftKey||i.metaKey||i.button&&i.button===1||i.target.getAttribute("target")==="_blank"},isUnloadableFormSubmit(i){return!i.defaultPrevented&&!this.wantsNewTab(i)},isNewPageHref(i,e){let t;try{t=new URL(i)}catch(n){try{t=new URL(i,e)}catch(r){return!0}}return t.host===e.host&&t.protocol===e.protocol&&t.pathname===e.pathname&&t.search===e.search?t.hash===""&&!t.href.endsWith("#"):!0},markPhxChildDestroyed(i){this.isPhxChild(i)&&i.setAttribute(Fl,""),this.putPrivate(i,"destroyed",!0)},findPhxChildrenInFragment(i,e){let t=document.createElement("template");return t.innerHTML=i,this.findPhxChildren(t.content,e)},isIgnored(i,e){return(i.getAttribute(e)||i.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(i,e,t){return i.getAttribute&&t.indexOf(i.getAttribute(e))>=0},findPhxSticky(i){return this.all(i,`[${uA}]`)},findPhxChildren(i,e){return this.all(i,`${Xh}[${$h}="${e}"]`)},findParentCIDs(i,e){let t=new Set(e),n=e.reduce((r,o)=>{let s=`[${Wr}="${o}"] [${Wr}]`;return this.filterWithinSameLiveView(this.all(i,s),i).map(a=>parseInt(a.getAttribute(Wr))).forEach(a=>r.delete(a)),r},t);return n.size===0?new Set(e):n},filterWithinSameLiveView(i,e){return e.querySelector(Xh)?i.filter(t=>this.withinSameLiveView(t,e)):i},withinSameLiveView(i,e){for(;i=i.parentNode;){if(i.isSameNode(e))return!0;if(i.getAttribute(Fl)!==null)return!1}},private(i,e){return i[ps]&&i[ps][e]},deletePrivate(i,e){i[ps]&&delete i[ps][e]},putPrivate(i,e,t){i[ps]||(i[ps]={}),i[ps][e]=t},updatePrivate(i,e,t,n){let r=this.private(i,e);r===void 0?this.putPrivate(i,e,n(t)):this.putPrivate(i,e,n(r))},copyPrivates(i,e){e[ps]&&(i[ps]=e[ps])},putTitle(i){let e=document.querySelector("title");if(e){let{prefix:t,suffix:n}=e.dataset;document.title=`${t||""}${i}${n||""}`}else document.title=i},debounce(i,e,t,n,r,o,s,a){let l=i.getAttribute(t),c=i.getAttribute(r);l===""&&(l=n),c===""&&(c=o);let d=l||c;switch(d){case null:return a();case"blur":this.once(i,"debounce-blur")&&i.addEventListener("blur",()=>a());return;default:let h=parseInt(d),u=()=>c?this.deletePrivate(i,Yg):a(),m=this.incCycle(i,w0,u);if(isNaN(h))return Mn(`invalid throttle/debounce value: ${d}`);if(c){let f=!1;if(e.type==="keydown"){let b=this.private(i,fA);this.putPrivate(i,fA,e.key),f=b!==e.key}if(!f&&this.private(i,Yg))return!1;a(),this.putPrivate(i,Yg,!0),setTimeout(()=>{s()&&this.triggerCycle(i,w0)},h)}else setTimeout(()=>{s()&&this.triggerCycle(i,w0,m)},h);let p=i.form;p&&this.once(p,"bind-debounce")&&p.addEventListener("submit",()=>{Array.from(new FormData(p).entries(),([f])=>{let b=p.querySelector(`[name="${f}"]`);this.incCycle(b,w0),this.deletePrivate(b,Yg)})}),this.once(i,"bind-debounce")&&i.addEventListener("blur",()=>this.triggerCycle(i,w0))}},triggerCycle(i,e,t){let[n,r]=this.private(i,e);t||(t=n),t===n&&(this.incCycle(i,e),r())},once(i,e){return this.private(i,e)===!0?!1:(this.putPrivate(i,e,!0),!0)},incCycle(i,e,t=function(){}){let[n]=this.private(i,e)||[0,t];return n++,this.putPrivate(i,e,[n,t]),n},discardError(i,e,t){let n=e.getAttribute&&e.getAttribute(t),r=n&&i.querySelector(`[id="${n}"], [name="${n}"], [name="${n}[]"]`);r&&(this.private(r,K9)||this.private(r,o_)||e.classList.add(O9))},resetForm(i,e){Array.from(i.elements).forEach(t=>{let n=`[${e}="${t.id}"], +`)&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){let n=this.pos;t.dropParsedChunk.call(this);let r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}};ID.exports=e3});var r3=lt((c1e,AD)=>{"use strict";var kD=Ss(),i3=q0(),cq=t3(),n3=class extends kD{constructor(e){super(e),this.tokenizer=e,this.posTracker=kD.install(e.preprocessor,cq),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;let e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){let n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(r){t._createDoctypeToken.call(this,r),this.currentToken.location=e.ctLoc},_createCharacterToken(r,o){t._createCharacterToken.call(this,r,o),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(r){t._createAttr.call(this,r),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(r){t._leaveAttrName.call(this,r),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(r){t._leaveAttrValue.call(this,r),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){let r=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=r.startLine,this.currentCharacterToken.location.endCol=r.startCol,this.currentCharacterToken.location.endOffset=r.startOffset),this.currentToken.type===i3.EOF_TOKEN?(r.endLine=r.startLine,r.endCol=r.startCol,r.endOffset=r.startOffset):(r.endLine=e.posTracker.line,r.endCol=e.posTracker.col+1,r.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){let r=this.currentCharacterToken&&this.currentCharacterToken.location;r&&r.endOffset===-1&&(r.endLine=e.posTracker.line,r.endCol=e.posTracker.col,r.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(i3.MODE).forEach(r=>{let o=i3.MODE[r];n[o]=function(s){e.ctLoc=e._getCurrentLocation(),t[o].call(this,s)}}),n}};AD.exports=n3});var ND=lt((d1e,LD)=>{"use strict";var dq=Ss(),o3=class extends dq{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let n=this.stackTop;n>0;n--)e.onItemPop(this.items[n]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}};LD.exports=o3});var MD=lt((h1e,DD)=>{"use strict";var s3=Ss(),RD=q0(),hq=r3(),uq=ND(),mq=id(),a3=mq.TAG_NAMES,l3=class extends s3{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let r=t.location,o=this.treeAdapter.getTagName(e),s=t.type===RD.END_TAG_TOKEN&&o===t.tagName,a={};s?(a.endTag=Object.assign({},r),a.endLine=r.endLine,a.endCol=r.endCol,a.endOffset=r.endOffset):(a.endLine=r.startLine,a.endCol=r.startCol,a.endOffset=r.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;let o=s3.install(this.tokenizer,hq);e.posTracker=o.posTracker,s3.install(this.openElements,uq,{onItemPop:function(s){e._setEndLocation(s,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let r=this.openElements.stackTop;r>=0;r--)e._setEndLocation(this.openElements.items[r],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===RD.END_TAG_TOKEN&&(n.tagName===a3.HTML||n.tagName===a3.BODY&&this.openElements.hasInScope(a3.BODY)))for(let o=this.openElements.stackTop;o>=0;o--){let s=this.openElements.items[o];if(this.treeAdapter.getTagName(s)===n.tagName){e._setEndLocation(s,n);break}}},_setDocumentType(n){t._setDocumentType.call(this,n);let r=this.treeAdapter.getChildNodes(this.document),o=r.length;for(let s=0;s{"use strict";var pq=Ss(),c3=class extends pq{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){let t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}};OD.exports=c3});var FD=lt((m1e,PD)=>{"use strict";var fq=Z_(),gq=t3(),_q=Ss(),d3=class extends fq{constructor(e,t){super(e,t),this.posTracker=_q.install(e,gq),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}};PD.exports=d3});var BD=lt((p1e,HD)=>{"use strict";var vq=Z_(),bq=FD(),yq=Ss(),h3=class extends vq{constructor(e,t){super(e,t);let n=yq.install(e.preprocessor,bq,t);this.posTracker=n.posTracker}};HD.exports=h3});var WD=lt((f1e,UD)=>{"use strict";var Sq=Z_(),Cq=BD(),wq=r3(),zD=Ss(),u3=class extends Sq{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),zD.install(this.tokenizer,Cq,e.opts),zD.install(this.tokenizer,wq)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(n,r){e.locBeforeToken=r&&r.beforeToken,e._reportError(n)}}}};UD.exports=u3});var KD=lt(bt=>{"use strict";var{DOCUMENT_MODE:xq}=id();bt.createDocument=function(){return{nodeName:"#document",mode:xq.NO_QUIRKS,childNodes:[]}};bt.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};bt.createElement=function(i,e,t){return{nodeName:i,tagName:i,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}};bt.createCommentNode=function(i){return{nodeName:"#comment",data:i,parentNode:null}};var jD=function(i){return{nodeName:"#text",value:i,parentNode:null}},VD=bt.appendChild=function(i,e){i.childNodes.push(e),e.parentNode=i},Eq=bt.insertBefore=function(i,e,t){let n=i.childNodes.indexOf(t);i.childNodes.splice(n,0,e),e.parentNode=i};bt.setTemplateContent=function(i,e){i.content=e};bt.getTemplateContent=function(i){return i.content};bt.setDocumentType=function(i,e,t,n){let r=null;for(let o=0;o{"use strict";qD.exports=function(e,t){return t=t||Object.create(null),[e,t].reduce((n,r)=>(Object.keys(r).forEach(o=>{n[o]=r[o]}),n),Object.create(null))}});var ZD=lt(ev=>{"use strict";var{DOCUMENT_MODE:cu}=id(),XD="html",Tq="about:legacy-compat",Iq="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",QD=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],kq=QD.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),Aq=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],JD=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Lq=JD.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function $D(i){let e=i.indexOf('"')!==-1?"'":'"';return e+i+e}function YD(i,e){for(let t=0;t-1)return cu.QUIRKS;let n=e===null?kq:QD;if(YD(t,n))return cu.QUIRKS;if(n=e===null?JD:Lq,YD(t,n))return cu.LIMITED_QUIRKS}return cu.NO_QUIRKS};ev.serializeContent=function(i,e,t){let n="!DOCTYPE ";return i&&(n+=i),e?n+=" PUBLIC "+$D(e):t&&(n+=" SYSTEM"),t!==null&&(n+=" "+$D(t)),n}});var tM=lt(Vl=>{"use strict";var m3=q0(),p3=id(),Pe=p3.TAG_NAMES,vn=p3.NAMESPACES,tv=p3.ATTRS,eM={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Nq="definitionurl",Rq="definitionURL",Dq={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},Mq={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:vn.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:vn.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:vn.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:vn.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:vn.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:vn.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:vn.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:vn.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:vn.XML},"xml:space":{prefix:"xml",name:"space",namespace:vn.XML},xmlns:{prefix:"",name:"xmlns",namespace:vn.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:vn.XMLNS}},Oq=Vl.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},Pq={[Pe.B]:!0,[Pe.BIG]:!0,[Pe.BLOCKQUOTE]:!0,[Pe.BODY]:!0,[Pe.BR]:!0,[Pe.CENTER]:!0,[Pe.CODE]:!0,[Pe.DD]:!0,[Pe.DIV]:!0,[Pe.DL]:!0,[Pe.DT]:!0,[Pe.EM]:!0,[Pe.EMBED]:!0,[Pe.H1]:!0,[Pe.H2]:!0,[Pe.H3]:!0,[Pe.H4]:!0,[Pe.H5]:!0,[Pe.H6]:!0,[Pe.HEAD]:!0,[Pe.HR]:!0,[Pe.I]:!0,[Pe.IMG]:!0,[Pe.LI]:!0,[Pe.LISTING]:!0,[Pe.MENU]:!0,[Pe.META]:!0,[Pe.NOBR]:!0,[Pe.OL]:!0,[Pe.P]:!0,[Pe.PRE]:!0,[Pe.RUBY]:!0,[Pe.S]:!0,[Pe.SMALL]:!0,[Pe.SPAN]:!0,[Pe.STRONG]:!0,[Pe.STRIKE]:!0,[Pe.SUB]:!0,[Pe.SUP]:!0,[Pe.TABLE]:!0,[Pe.TT]:!0,[Pe.U]:!0,[Pe.UL]:!0,[Pe.VAR]:!0};Vl.causesExit=function(i){let e=i.tagName;return e===Pe.FONT&&(m3.getTokenAttr(i,tv.COLOR)!==null||m3.getTokenAttr(i,tv.SIZE)!==null||m3.getTokenAttr(i,tv.FACE)!==null)?!0:Pq[e]};Vl.adjustTokenMathMLAttrs=function(i){for(let e=0;e{"use strict";var M=q0(),Bq=wD(),iM=ED(),zq=MD(),Uq=WD(),nM=Ss(),Wq=KD(),jq=GD(),rM=ZD(),Cs=tM(),bn=H_(),Vq=F_(),rd=id(),S=rd.TAG_NAMES,Ae=rd.NAMESPACES,pM=rd.ATTRS,Kq={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:Wq},fM="hidden",qq=8,Gq=3,gM="INITIAL_MODE",g3="BEFORE_HTML_MODE",cv="BEFORE_HEAD_MODE",uu="IN_HEAD_MODE",_M="IN_HEAD_NO_SCRIPT_MODE",dv="AFTER_HEAD_MODE",ws="IN_BODY_MODE",ov="TEXT_MODE",Fn="IN_TABLE_MODE",vM="IN_TABLE_TEXT_MODE",hv="IN_CAPTION_MODE",tm="IN_COLUMN_GROUP_MODE",po="IN_TABLE_BODY_MODE",Aa="IN_ROW_MODE",uv="IN_CELL_MODE",_3="IN_SELECT_MODE",v3="IN_SELECT_IN_TABLE_MODE",sv="IN_TEMPLATE_MODE",b3="AFTER_BODY_MODE",mv="IN_FRAMESET_MODE",bM="AFTER_FRAMESET_MODE",yM="AFTER_AFTER_BODY_MODE",SM="AFTER_AFTER_FRAMESET_MODE",$q={[S.TR]:Aa,[S.TBODY]:po,[S.THEAD]:po,[S.TFOOT]:po,[S.CAPTION]:hv,[S.COLGROUP]:tm,[S.TABLE]:Fn,[S.BODY]:ws,[S.FRAMESET]:mv},Yq={[S.CAPTION]:Fn,[S.COLGROUP]:Fn,[S.TBODY]:Fn,[S.TFOOT]:Fn,[S.THEAD]:Fn,[S.COL]:tm,[S.TR]:po,[S.TD]:Aa,[S.TH]:Aa},oM={[gM]:{[M.CHARACTER_TOKEN]:$0,[M.NULL_CHARACTER_TOKEN]:$0,[M.WHITESPACE_CHARACTER_TOKEN]:_t,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:nG,[M.START_TAG_TOKEN]:$0,[M.END_TAG_TOKEN]:$0,[M.EOF_TOKEN]:$0},[g3]:{[M.CHARACTER_TOKEN]:X0,[M.NULL_CHARACTER_TOKEN]:X0,[M.WHITESPACE_CHARACTER_TOKEN]:_t,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:rG,[M.END_TAG_TOKEN]:oG,[M.EOF_TOKEN]:X0},[cv]:{[M.CHARACTER_TOKEN]:Q0,[M.NULL_CHARACTER_TOKEN]:Q0,[M.WHITESPACE_CHARACTER_TOKEN]:_t,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:iv,[M.START_TAG_TOKEN]:sG,[M.END_TAG_TOKEN]:aG,[M.EOF_TOKEN]:Q0},[uu]:{[M.CHARACTER_TOKEN]:J0,[M.NULL_CHARACTER_TOKEN]:J0,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:iv,[M.START_TAG_TOKEN]:on,[M.END_TAG_TOKEN]:od,[M.EOF_TOKEN]:J0},[_M]:{[M.CHARACTER_TOKEN]:Z0,[M.NULL_CHARACTER_TOKEN]:Z0,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:iv,[M.START_TAG_TOKEN]:lG,[M.END_TAG_TOKEN]:cG,[M.EOF_TOKEN]:Z0},[dv]:{[M.CHARACTER_TOKEN]:em,[M.NULL_CHARACTER_TOKEN]:em,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:iv,[M.START_TAG_TOKEN]:dG,[M.END_TAG_TOKEN]:hG,[M.EOF_TOKEN]:em},[ws]:{[M.CHARACTER_TOKEN]:nv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:gr,[M.END_TAG_TOKEN]:y3,[M.EOF_TOKEN]:Ia},[ov]:{[M.CHARACTER_TOKEN]:fr,[M.NULL_CHARACTER_TOKEN]:fr,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:_t,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:_t,[M.END_TAG_TOKEN]:WG,[M.EOF_TOKEN]:jG},[Fn]:{[M.CHARACTER_TOKEN]:ka,[M.NULL_CHARACTER_TOKEN]:ka,[M.WHITESPACE_CHARACTER_TOKEN]:ka,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:S3,[M.END_TAG_TOKEN]:C3,[M.EOF_TOKEN]:Ia},[vM]:{[M.CHARACTER_TOKEN]:ZG,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:JG,[M.COMMENT_TOKEN]:Y0,[M.DOCTYPE_TOKEN]:Y0,[M.START_TAG_TOKEN]:Y0,[M.END_TAG_TOKEN]:Y0,[M.EOF_TOKEN]:Y0},[hv]:{[M.CHARACTER_TOKEN]:nv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:e$,[M.END_TAG_TOKEN]:t$,[M.EOF_TOKEN]:Ia},[tm]:{[M.CHARACTER_TOKEN]:av,[M.NULL_CHARACTER_TOKEN]:av,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:i$,[M.END_TAG_TOKEN]:n$,[M.EOF_TOKEN]:Ia},[po]:{[M.CHARACTER_TOKEN]:ka,[M.NULL_CHARACTER_TOKEN]:ka,[M.WHITESPACE_CHARACTER_TOKEN]:ka,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:r$,[M.END_TAG_TOKEN]:o$,[M.EOF_TOKEN]:Ia},[Aa]:{[M.CHARACTER_TOKEN]:ka,[M.NULL_CHARACTER_TOKEN]:ka,[M.WHITESPACE_CHARACTER_TOKEN]:ka,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:s$,[M.END_TAG_TOKEN]:a$,[M.EOF_TOKEN]:Ia},[uv]:{[M.CHARACTER_TOKEN]:nv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:l$,[M.END_TAG_TOKEN]:c$,[M.EOF_TOKEN]:Ia},[_3]:{[M.CHARACTER_TOKEN]:fr,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:CM,[M.END_TAG_TOKEN]:wM,[M.EOF_TOKEN]:Ia},[v3]:{[M.CHARACTER_TOKEN]:fr,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:d$,[M.END_TAG_TOKEN]:h$,[M.EOF_TOKEN]:Ia},[sv]:{[M.CHARACTER_TOKEN]:nv,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:u$,[M.END_TAG_TOKEN]:m$,[M.EOF_TOKEN]:xM},[b3]:{[M.CHARACTER_TOKEN]:lv,[M.NULL_CHARACTER_TOKEN]:lv,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:iG,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:p$,[M.END_TAG_TOKEN]:f$,[M.EOF_TOKEN]:G0},[mv]:{[M.CHARACTER_TOKEN]:_t,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:g$,[M.END_TAG_TOKEN]:_$,[M.EOF_TOKEN]:G0},[bM]:{[M.CHARACTER_TOKEN]:_t,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:fr,[M.COMMENT_TOKEN]:Zi,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:v$,[M.END_TAG_TOKEN]:b$,[M.EOF_TOKEN]:G0},[yM]:{[M.CHARACTER_TOKEN]:rv,[M.NULL_CHARACTER_TOKEN]:rv,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:sM,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:y$,[M.END_TAG_TOKEN]:rv,[M.EOF_TOKEN]:G0},[SM]:{[M.CHARACTER_TOKEN]:_t,[M.NULL_CHARACTER_TOKEN]:_t,[M.WHITESPACE_CHARACTER_TOKEN]:nd,[M.COMMENT_TOKEN]:sM,[M.DOCTYPE_TOKEN]:_t,[M.START_TAG_TOKEN]:S$,[M.END_TAG_TOKEN]:_t,[M.EOF_TOKEN]:G0}},f3=class{constructor(e){this.options=jq(Kq,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&nM.install(this,zq),this.options.onParseError&&nM.install(this,Uq,{onParseError:this.options.onParseError})}parse(e){let t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(S.TEMPLATE,Ae.HTML,[]));let n=this.treeAdapter.createElement("documentmock",Ae.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===S.TEMPLATE&&this._pushTmplInsertionMode(sv),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);let r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new M(this.options),this.stopped=!1,this.insertionMode=gM,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new Bq(this.document,this.treeAdapter),this.activeFormattingElements=new iM(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();let t=this.tokenizer.getNextToken();if(t.type===M.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===M.WHITESPACE_CHARACTER_TOKEN&&t.chars[0]===` +`)){if(t.chars.length===1)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){let n=this.pendingScript;this.pendingScript=null,t(n);return}e&&e()}_setupTokenizerCDATAMode(){let e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==Ae.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,Ae.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=ov}switchToPlaintextParsing(){this.insertionMode=ov,this.originalInsertionMode=ws,this.tokenizer.state=M.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===S.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===Ae.HTML){let e=this.treeAdapter.getTagName(this.fragmentContext);e===S.TITLE||e===S.TEXTAREA?this.tokenizer.state=M.MODE.RCDATA:e===S.STYLE||e===S.XMP||e===S.IFRAME||e===S.NOEMBED||e===S.NOFRAMES||e===S.NOSCRIPT?this.tokenizer.state=M.MODE.RAWTEXT:e===S.SCRIPT?this.tokenizer.state=M.MODE.SCRIPT_DATA:e===S.PLAINTEXT&&(this.tokenizer.state=M.MODE.PLAINTEXT)}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){let t=this.treeAdapter.createElement(e,Ae.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,Ae.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(S.HTML,Ae.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{let t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){let t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;let n=this.treeAdapter.getNamespaceURI(t);if(n===Ae.HTML||this.treeAdapter.getTagName(t)===S.ANNOTATION_XML&&n===Ae.MATHML&&e.type===M.START_TAG_TOKEN&&e.tagName===S.SVG)return!1;let r=e.type===M.CHARACTER_TOKEN||e.type===M.NULL_CHARACTER_TOKEN||e.type===M.WHITESPACE_CHARACTER_TOKEN;return(e.type===M.START_TAG_TOKEN&&e.tagName!==S.MGLYPH&&e.tagName!==S.MALIGNMARK||r)&&this._isIntegrationPoint(t,Ae.MATHML)||(e.type===M.START_TAG_TOKEN||r)&&this._isIntegrationPoint(t,Ae.HTML)?!1:e.type!==M.EOF_TOKEN}_processToken(e){oM[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){oM[ws][e.type](this,e)}_processTokenInForeignContent(e){e.type===M.CHARACTER_TOKEN?w$(this,e):e.type===M.NULL_CHARACTER_TOKEN?C$(this,e):e.type===M.WHITESPACE_CHARACTER_TOKEN?fr(this,e):e.type===M.COMMENT_TOKEN?Zi(this,e):e.type===M.START_TAG_TOKEN?x$(this,e):e.type===M.END_TAG_TOKEN&&E$(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===M.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(bn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){let n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return Cs.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.length;if(e){let t=e,n=null;do if(t--,n=this.activeFormattingElements.entries[t],n.type===iM.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}while(t>0);for(let r=t;r=0;e--){let n=this.openElements.items[e];e===0&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));let r=this.treeAdapter.getTagName(n),o=$q[r];if(o){this.insertionMode=o;break}else if(!t&&(r===S.TD||r===S.TH)){this.insertionMode=uv;break}else if(!t&&r===S.HEAD){this.insertionMode=uu;break}else if(r===S.SELECT){this._resetInsertionModeForSelect(e);break}else if(r===S.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(r===S.HTML){this.insertionMode=this.headElement?dv:cv;break}else if(t){this.insertionMode=ws;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let n=this.openElements.items[t],r=this.treeAdapter.getTagName(n);if(r===S.TEMPLATE)break;if(r===S.TABLE){this.insertionMode=v3;return}}this.insertionMode=_3}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){let t=this.treeAdapter.getTagName(e);return t===S.TABLE||t===S.TBODY||t===S.TFOOT||t===S.THEAD||t===S.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){let e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){let n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===S.TEMPLATE&&o===Ae.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}else if(r===S.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){let t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return rd.SPECIAL_ELEMENTS[n][t]}};EM.exports=f3;function Xq(i,e){let t=i.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?i.openElements.contains(t.element)?i.openElements.hasInScope(e.tagName)||(t=null):(i.activeFormattingElements.removeEntry(t),t=null):Fo(i,e),t}function Qq(i,e){let t=null;for(let n=i.openElements.stackTop;n>=0;n--){let r=i.openElements.items[n];if(r===e.element)break;i._isSpecialElement(r)&&(t=r)}return t||(i.openElements.popUntilElementPopped(e.element),i.activeFormattingElements.removeEntry(e)),t}function Jq(i,e,t){let n=e,r=i.openElements.getCommonAncestor(e);for(let o=0,s=r;s!==t;o++,s=r){r=i.openElements.getCommonAncestor(s);let a=i.activeFormattingElements.getElementEntry(s),l=a&&o>=Gq;!a||l?(l&&i.activeFormattingElements.removeEntry(a),i.openElements.remove(s)):(s=Zq(i,a),n===e&&(i.activeFormattingElements.bookmark=a),i.treeAdapter.detachNode(n),i.treeAdapter.appendChild(s,n),n=s)}return n}function Zq(i,e){let t=i.treeAdapter.getNamespaceURI(e.element),n=i.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return i.openElements.replace(e.element,n),e.element=n,n}function eG(i,e,t){if(i._isElementCausesFosterParenting(e))i._fosterParentElement(t);else{let n=i.treeAdapter.getTagName(e),r=i.treeAdapter.getNamespaceURI(e);n===S.TEMPLATE&&r===Ae.HTML&&(e=i.treeAdapter.getTemplateContent(e)),i.treeAdapter.appendChild(e,t)}}function tG(i,e,t){let n=i.treeAdapter.getNamespaceURI(t.element),r=t.token,o=i.treeAdapter.createElement(r.tagName,n,r.attrs);i._adoptNodes(e,o),i.treeAdapter.appendChild(e,o),i.activeFormattingElements.insertElementAfterBookmark(o,t.token),i.activeFormattingElements.removeEntry(t),i.openElements.remove(t.element),i.openElements.insertAfter(e,o)}function ql(i,e){let t;for(let n=0;n0?(i.openElements.generateImpliedEndTagsThoroughly(),i.openElements.currentTagName!==S.TEMPLATE&&i._err(bn.closingOfElementWithOpenChildElements),i.openElements.popUntilTagNamePopped(S.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i._popTmplInsertionMode(),i._resetInsertionMode()):i._err(bn.endTagWithoutMatchingOpenElement)}function J0(i,e){i.openElements.pop(),i.insertionMode=dv,i._processToken(e)}function lG(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.BASEFONT||t===S.BGSOUND||t===S.HEAD||t===S.LINK||t===S.META||t===S.NOFRAMES||t===S.STYLE?on(i,e):t===S.NOSCRIPT?i._err(bn.nestedNoscriptInHead):Z0(i,e)}function cG(i,e){let t=e.tagName;t===S.NOSCRIPT?(i.openElements.pop(),i.insertionMode=uu):t===S.BR?Z0(i,e):i._err(bn.endTagWithoutMatchingOpenElement)}function Z0(i,e){let t=e.type===M.EOF_TOKEN?bn.openElementsLeftAfterEof:bn.disallowedContentInNoscriptInHead;i._err(t),i.openElements.pop(),i.insertionMode=uu,i._processToken(e)}function dG(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.BODY?(i._insertElement(e,Ae.HTML),i.framesetOk=!1,i.insertionMode=ws):t===S.FRAMESET?(i._insertElement(e,Ae.HTML),i.insertionMode=mv):t===S.BASE||t===S.BASEFONT||t===S.BGSOUND||t===S.LINK||t===S.META||t===S.NOFRAMES||t===S.SCRIPT||t===S.STYLE||t===S.TEMPLATE||t===S.TITLE?(i._err(bn.abandonedHeadElementChild),i.openElements.push(i.headElement),on(i,e),i.openElements.remove(i.headElement)):t===S.HEAD?i._err(bn.misplacedStartTagForHeadElement):em(i,e)}function hG(i,e){let t=e.tagName;t===S.BODY||t===S.HTML||t===S.BR?em(i,e):t===S.TEMPLATE?od(i,e):i._err(bn.endTagWithoutMatchingOpenElement)}function em(i,e){i._insertFakeElement(S.BODY),i.insertionMode=ws,i._processToken(e)}function nd(i,e){i._reconstructActiveFormattingElements(),i._insertCharacters(e)}function nv(i,e){i._reconstructActiveFormattingElements(),i._insertCharacters(e),i.framesetOk=!1}function uG(i,e){i.openElements.tmplCount===0&&i.treeAdapter.adoptAttributes(i.openElements.items[0],e.attrs)}function mG(i,e){let t=i.openElements.tryPeekProperlyNestedBodyElement();t&&i.openElements.tmplCount===0&&(i.framesetOk=!1,i.treeAdapter.adoptAttributes(t,e.attrs))}function pG(i,e){let t=i.openElements.tryPeekProperlyNestedBodyElement();i.framesetOk&&t&&(i.treeAdapter.detachNode(t),i.openElements.popAllUpToHtmlElement(),i._insertElement(e,Ae.HTML),i.insertionMode=mv)}function Ta(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML)}function fG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement();let t=i.openElements.currentTagName;(t===S.H1||t===S.H2||t===S.H3||t===S.H4||t===S.H5||t===S.H6)&&i.openElements.pop(),i._insertElement(e,Ae.HTML)}function aM(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),i.skipNextNewLine=!0,i.framesetOk=!1}function gG(i,e){let t=i.openElements.tmplCount>0;(!i.formElement||t)&&(i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),t||(i.formElement=i.openElements.current))}function _G(i,e){i.framesetOk=!1;let t=e.tagName;for(let n=i.openElements.stackTop;n>=0;n--){let r=i.openElements.items[n],o=i.treeAdapter.getTagName(r),s=null;if(t===S.LI&&o===S.LI?s=S.LI:(t===S.DD||t===S.DT)&&(o===S.DD||o===S.DT)&&(s=o),s){i.openElements.generateImpliedEndTagsWithExclusion(s),i.openElements.popUntilTagNamePopped(s);break}if(o!==S.ADDRESS&&o!==S.DIV&&o!==S.P&&i._isSpecialElement(r))break}i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML)}function vG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),i.tokenizer.state=M.MODE.PLAINTEXT}function bG(i,e){i.openElements.hasInScope(S.BUTTON)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(S.BUTTON)),i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.framesetOk=!1}function yG(i,e){let t=i.activeFormattingElements.getElementEntryInScopeWithTagName(S.A);t&&(ql(i,e),i.openElements.remove(t.element),i.activeFormattingElements.removeEntry(t)),i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.activeFormattingElements.pushElement(i.openElements.current,e)}function du(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.activeFormattingElements.pushElement(i.openElements.current,e)}function SG(i,e){i._reconstructActiveFormattingElements(),i.openElements.hasInScope(S.NOBR)&&(ql(i,e),i._reconstructActiveFormattingElements()),i._insertElement(e,Ae.HTML),i.activeFormattingElements.pushElement(i.openElements.current,e)}function lM(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.activeFormattingElements.insertMarker(),i.framesetOk=!1}function CG(i,e){i.treeAdapter.getDocumentMode(i.document)!==rd.DOCUMENT_MODE.QUIRKS&&i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML),i.framesetOk=!1,i.insertionMode=Fn}function hu(i,e){i._reconstructActiveFormattingElements(),i._appendElement(e,Ae.HTML),i.framesetOk=!1,e.ackSelfClosing=!0}function wG(i,e){i._reconstructActiveFormattingElements(),i._appendElement(e,Ae.HTML);let t=M.getTokenAttr(e,pM.TYPE);(!t||t.toLowerCase()!==fM)&&(i.framesetOk=!1),e.ackSelfClosing=!0}function cM(i,e){i._appendElement(e,Ae.HTML),e.ackSelfClosing=!0}function xG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._appendElement(e,Ae.HTML),i.framesetOk=!1,e.ackSelfClosing=!0}function EG(i,e){e.tagName=S.IMG,hu(i,e)}function TG(i,e){i._insertElement(e,Ae.HTML),i.skipNextNewLine=!0,i.tokenizer.state=M.MODE.RCDATA,i.originalInsertionMode=i.insertionMode,i.framesetOk=!1,i.insertionMode=ov}function IG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._reconstructActiveFormattingElements(),i.framesetOk=!1,i._switchToTextParsing(e,M.MODE.RAWTEXT)}function kG(i,e){i.framesetOk=!1,i._switchToTextParsing(e,M.MODE.RAWTEXT)}function dM(i,e){i._switchToTextParsing(e,M.MODE.RAWTEXT)}function AG(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML),i.framesetOk=!1,i.insertionMode===Fn||i.insertionMode===hv||i.insertionMode===po||i.insertionMode===Aa||i.insertionMode===uv?i.insertionMode=v3:i.insertionMode=_3}function hM(i,e){i.openElements.currentTagName===S.OPTION&&i.openElements.pop(),i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML)}function uM(i,e){i.openElements.hasInScope(S.RUBY)&&i.openElements.generateImpliedEndTags(),i._insertElement(e,Ae.HTML)}function LG(i,e){i.openElements.hasInScope(S.RUBY)&&i.openElements.generateImpliedEndTagsWithExclusion(S.RTC),i._insertElement(e,Ae.HTML)}function NG(i,e){i.openElements.hasInButtonScope(S.P)&&i._closePElement(),i._insertElement(e,Ae.HTML)}function RG(i,e){i._reconstructActiveFormattingElements(),Cs.adjustTokenMathMLAttrs(e),Cs.adjustTokenXMLAttrs(e),e.selfClosing?i._appendElement(e,Ae.MATHML):i._insertElement(e,Ae.MATHML),e.ackSelfClosing=!0}function DG(i,e){i._reconstructActiveFormattingElements(),Cs.adjustTokenSVGAttrs(e),Cs.adjustTokenXMLAttrs(e),e.selfClosing?i._appendElement(e,Ae.SVG):i._insertElement(e,Ae.SVG),e.ackSelfClosing=!0}function uo(i,e){i._reconstructActiveFormattingElements(),i._insertElement(e,Ae.HTML)}function gr(i,e){let t=e.tagName;switch(t.length){case 1:t===S.I||t===S.S||t===S.B||t===S.U?du(i,e):t===S.P?Ta(i,e):t===S.A?yG(i,e):uo(i,e);break;case 2:t===S.DL||t===S.OL||t===S.UL?Ta(i,e):t===S.H1||t===S.H2||t===S.H3||t===S.H4||t===S.H5||t===S.H6?fG(i,e):t===S.LI||t===S.DD||t===S.DT?_G(i,e):t===S.EM||t===S.TT?du(i,e):t===S.BR?hu(i,e):t===S.HR?xG(i,e):t===S.RB?uM(i,e):t===S.RT||t===S.RP?LG(i,e):t!==S.TH&&t!==S.TD&&t!==S.TR&&uo(i,e);break;case 3:t===S.DIV||t===S.DIR||t===S.NAV?Ta(i,e):t===S.PRE?aM(i,e):t===S.BIG?du(i,e):t===S.IMG||t===S.WBR?hu(i,e):t===S.XMP?IG(i,e):t===S.SVG?DG(i,e):t===S.RTC?uM(i,e):t!==S.COL&&uo(i,e);break;case 4:t===S.HTML?uG(i,e):t===S.BASE||t===S.LINK||t===S.META?on(i,e):t===S.BODY?mG(i,e):t===S.MAIN||t===S.MENU?Ta(i,e):t===S.FORM?gG(i,e):t===S.CODE||t===S.FONT?du(i,e):t===S.NOBR?SG(i,e):t===S.AREA?hu(i,e):t===S.MATH?RG(i,e):t===S.MENU?NG(i,e):t!==S.HEAD&&uo(i,e);break;case 5:t===S.STYLE||t===S.TITLE?on(i,e):t===S.ASIDE?Ta(i,e):t===S.SMALL?du(i,e):t===S.TABLE?CG(i,e):t===S.EMBED?hu(i,e):t===S.INPUT?wG(i,e):t===S.PARAM||t===S.TRACK?cM(i,e):t===S.IMAGE?EG(i,e):t!==S.FRAME&&t!==S.TBODY&&t!==S.TFOOT&&t!==S.THEAD&&uo(i,e);break;case 6:t===S.SCRIPT?on(i,e):t===S.CENTER||t===S.FIGURE||t===S.FOOTER||t===S.HEADER||t===S.HGROUP||t===S.DIALOG?Ta(i,e):t===S.BUTTON?bG(i,e):t===S.STRIKE||t===S.STRONG?du(i,e):t===S.APPLET||t===S.OBJECT?lM(i,e):t===S.KEYGEN?hu(i,e):t===S.SOURCE?cM(i,e):t===S.IFRAME?kG(i,e):t===S.SELECT?AG(i,e):t===S.OPTION?hM(i,e):uo(i,e);break;case 7:t===S.BGSOUND?on(i,e):t===S.DETAILS||t===S.ADDRESS||t===S.ARTICLE||t===S.SECTION||t===S.SUMMARY?Ta(i,e):t===S.LISTING?aM(i,e):t===S.MARQUEE?lM(i,e):t===S.NOEMBED?dM(i,e):t!==S.CAPTION&&uo(i,e);break;case 8:t===S.BASEFONT?on(i,e):t===S.FRAMESET?pG(i,e):t===S.FIELDSET?Ta(i,e):t===S.TEXTAREA?TG(i,e):t===S.TEMPLATE?on(i,e):t===S.NOSCRIPT?i.options.scriptingEnabled?dM(i,e):uo(i,e):t===S.OPTGROUP?hM(i,e):t!==S.COLGROUP&&uo(i,e);break;case 9:t===S.PLAINTEXT?vG(i,e):uo(i,e);break;case 10:t===S.BLOCKQUOTE||t===S.FIGCAPTION?Ta(i,e):uo(i,e);break;default:uo(i,e)}}function MG(i){i.openElements.hasInScope(S.BODY)&&(i.insertionMode=b3)}function OG(i,e){i.openElements.hasInScope(S.BODY)&&(i.insertionMode=b3,i._processToken(e))}function Kl(i,e){let t=e.tagName;i.openElements.hasInScope(t)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(t))}function PG(i){let e=i.openElements.tmplCount>0,t=i.formElement;e||(i.formElement=null),(t||e)&&i.openElements.hasInScope(S.FORM)&&(i.openElements.generateImpliedEndTags(),e?i.openElements.popUntilTagNamePopped(S.FORM):i.openElements.remove(t))}function FG(i){i.openElements.hasInButtonScope(S.P)||i._insertFakeElement(S.P),i._closePElement()}function HG(i){i.openElements.hasInListItemScope(S.LI)&&(i.openElements.generateImpliedEndTagsWithExclusion(S.LI),i.openElements.popUntilTagNamePopped(S.LI))}function BG(i,e){let t=e.tagName;i.openElements.hasInScope(t)&&(i.openElements.generateImpliedEndTagsWithExclusion(t),i.openElements.popUntilTagNamePopped(t))}function zG(i){i.openElements.hasNumberedHeaderInScope()&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilNumberedHeaderPopped())}function mM(i,e){let t=e.tagName;i.openElements.hasInScope(t)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(t),i.activeFormattingElements.clearToLastMarker())}function UG(i){i._reconstructActiveFormattingElements(),i._insertFakeElement(S.BR),i.openElements.pop(),i.framesetOk=!1}function Fo(i,e){let t=e.tagName;for(let n=i.openElements.stackTop;n>0;n--){let r=i.openElements.items[n];if(i.treeAdapter.getTagName(r)===t){i.openElements.generateImpliedEndTagsWithExclusion(t),i.openElements.popUntilElementPopped(r);break}if(i._isSpecialElement(r))break}}function y3(i,e){let t=e.tagName;switch(t.length){case 1:t===S.A||t===S.B||t===S.I||t===S.S||t===S.U?ql(i,e):t===S.P?FG(i,e):Fo(i,e);break;case 2:t===S.DL||t===S.UL||t===S.OL?Kl(i,e):t===S.LI?HG(i,e):t===S.DD||t===S.DT?BG(i,e):t===S.H1||t===S.H2||t===S.H3||t===S.H4||t===S.H5||t===S.H6?zG(i,e):t===S.BR?UG(i,e):t===S.EM||t===S.TT?ql(i,e):Fo(i,e);break;case 3:t===S.BIG?ql(i,e):t===S.DIR||t===S.DIV||t===S.NAV||t===S.PRE?Kl(i,e):Fo(i,e);break;case 4:t===S.BODY?MG(i,e):t===S.HTML?OG(i,e):t===S.FORM?PG(i,e):t===S.CODE||t===S.FONT||t===S.NOBR?ql(i,e):t===S.MAIN||t===S.MENU?Kl(i,e):Fo(i,e);break;case 5:t===S.ASIDE?Kl(i,e):t===S.SMALL?ql(i,e):Fo(i,e);break;case 6:t===S.CENTER||t===S.FIGURE||t===S.FOOTER||t===S.HEADER||t===S.HGROUP||t===S.DIALOG?Kl(i,e):t===S.APPLET||t===S.OBJECT?mM(i,e):t===S.STRIKE||t===S.STRONG?ql(i,e):Fo(i,e);break;case 7:t===S.ADDRESS||t===S.ARTICLE||t===S.DETAILS||t===S.SECTION||t===S.SUMMARY||t===S.LISTING?Kl(i,e):t===S.MARQUEE?mM(i,e):Fo(i,e);break;case 8:t===S.FIELDSET?Kl(i,e):t===S.TEMPLATE?od(i,e):Fo(i,e);break;case 10:t===S.BLOCKQUOTE||t===S.FIGCAPTION?Kl(i,e):Fo(i,e);break;default:Fo(i,e)}}function Ia(i,e){i.tmplInsertionModeStackTop>-1?xM(i,e):i.stopped=!0}function WG(i,e){e.tagName===S.SCRIPT&&(i.pendingScript=i.openElements.current),i.openElements.pop(),i.insertionMode=i.originalInsertionMode}function jG(i,e){i._err(bn.eofInElementThatCanContainOnlyText),i.openElements.pop(),i.insertionMode=i.originalInsertionMode,i._processToken(e)}function ka(i,e){let t=i.openElements.currentTagName;t===S.TABLE||t===S.TBODY||t===S.TFOOT||t===S.THEAD||t===S.TR?(i.pendingCharacterTokens=[],i.hasNonWhitespacePendingCharacterToken=!1,i.originalInsertionMode=i.insertionMode,i.insertionMode=vM,i._processToken(e)):mo(i,e)}function VG(i,e){i.openElements.clearBackToTableContext(),i.activeFormattingElements.insertMarker(),i._insertElement(e,Ae.HTML),i.insertionMode=hv}function KG(i,e){i.openElements.clearBackToTableContext(),i._insertElement(e,Ae.HTML),i.insertionMode=tm}function qG(i,e){i.openElements.clearBackToTableContext(),i._insertFakeElement(S.COLGROUP),i.insertionMode=tm,i._processToken(e)}function GG(i,e){i.openElements.clearBackToTableContext(),i._insertElement(e,Ae.HTML),i.insertionMode=po}function $G(i,e){i.openElements.clearBackToTableContext(),i._insertFakeElement(S.TBODY),i.insertionMode=po,i._processToken(e)}function YG(i,e){i.openElements.hasInTableScope(S.TABLE)&&(i.openElements.popUntilTagNamePopped(S.TABLE),i._resetInsertionMode(),i._processToken(e))}function XG(i,e){let t=M.getTokenAttr(e,pM.TYPE);t&&t.toLowerCase()===fM?i._appendElement(e,Ae.HTML):mo(i,e),e.ackSelfClosing=!0}function QG(i,e){!i.formElement&&i.openElements.tmplCount===0&&(i._insertElement(e,Ae.HTML),i.formElement=i.openElements.current,i.openElements.pop())}function S3(i,e){let t=e.tagName;switch(t.length){case 2:t===S.TD||t===S.TH||t===S.TR?$G(i,e):mo(i,e);break;case 3:t===S.COL?qG(i,e):mo(i,e);break;case 4:t===S.FORM?QG(i,e):mo(i,e);break;case 5:t===S.TABLE?YG(i,e):t===S.STYLE?on(i,e):t===S.TBODY||t===S.TFOOT||t===S.THEAD?GG(i,e):t===S.INPUT?XG(i,e):mo(i,e);break;case 6:t===S.SCRIPT?on(i,e):mo(i,e);break;case 7:t===S.CAPTION?VG(i,e):mo(i,e);break;case 8:t===S.COLGROUP?KG(i,e):t===S.TEMPLATE?on(i,e):mo(i,e);break;default:mo(i,e)}}function C3(i,e){let t=e.tagName;t===S.TABLE?i.openElements.hasInTableScope(S.TABLE)&&(i.openElements.popUntilTagNamePopped(S.TABLE),i._resetInsertionMode()):t===S.TEMPLATE?od(i,e):t!==S.BODY&&t!==S.CAPTION&&t!==S.COL&&t!==S.COLGROUP&&t!==S.HTML&&t!==S.TBODY&&t!==S.TD&&t!==S.TFOOT&&t!==S.TH&&t!==S.THEAD&&t!==S.TR&&mo(i,e)}function mo(i,e){let t=i.fosterParentingEnabled;i.fosterParentingEnabled=!0,i._processTokenInBodyMode(e),i.fosterParentingEnabled=t}function JG(i,e){i.pendingCharacterTokens.push(e)}function ZG(i,e){i.pendingCharacterTokens.push(e),i.hasNonWhitespacePendingCharacterToken=!0}function Y0(i,e){let t=0;if(i.hasNonWhitespacePendingCharacterToken)for(;t0?(i.openElements.popUntilTagNamePopped(S.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i._popTmplInsertionMode(),i._resetInsertionMode(),i._processToken(e)):i.stopped=!0}function p$(i,e){e.tagName===S.HTML?gr(i,e):lv(i,e)}function f$(i,e){e.tagName===S.HTML?i.fragmentContext||(i.insertionMode=yM):lv(i,e)}function lv(i,e){i.insertionMode=ws,i._processToken(e)}function g$(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.FRAMESET?i._insertElement(e,Ae.HTML):t===S.FRAME?(i._appendElement(e,Ae.HTML),e.ackSelfClosing=!0):t===S.NOFRAMES&&on(i,e)}function _$(i,e){e.tagName===S.FRAMESET&&!i.openElements.isRootHtmlElementCurrent()&&(i.openElements.pop(),!i.fragmentContext&&i.openElements.currentTagName!==S.FRAMESET&&(i.insertionMode=bM))}function v$(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.NOFRAMES&&on(i,e)}function b$(i,e){e.tagName===S.HTML&&(i.insertionMode=SM)}function y$(i,e){e.tagName===S.HTML?gr(i,e):rv(i,e)}function rv(i,e){i.insertionMode=ws,i._processToken(e)}function S$(i,e){let t=e.tagName;t===S.HTML?gr(i,e):t===S.NOFRAMES&&on(i,e)}function C$(i,e){e.chars=Vq.REPLACEMENT_CHARACTER,i._insertCharacters(e)}function w$(i,e){i._insertCharacters(e),i.framesetOk=!1}function x$(i,e){if(Cs.causesExit(e)&&!i.fragmentContext){for(;i.treeAdapter.getNamespaceURI(i.openElements.current)!==Ae.HTML&&!i._isIntegrationPoint(i.openElements.current);)i.openElements.pop();i._processToken(e)}else{let t=i._getAdjustedCurrentElement(),n=i.treeAdapter.getNamespaceURI(t);n===Ae.MATHML?Cs.adjustTokenMathMLAttrs(e):n===Ae.SVG&&(Cs.adjustTokenSVGTagName(e),Cs.adjustTokenSVGAttrs(e)),Cs.adjustTokenXMLAttrs(e),e.selfClosing?i._appendElement(e,n):i._insertElement(e,n),e.ackSelfClosing=!0}}function E$(i,e){for(let t=i.openElements.stackTop;t>0;t--){let n=i.openElements.items[t];if(i.treeAdapter.getNamespaceURI(n)===Ae.HTML){i._processToken(e);break}if(i.treeAdapter.getTagName(n).toLowerCase()===e.tagName){i.openElements.popUntilElementPopped(n);break}}}});var VM=lt((K0e,jM)=>{var BM=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,V$=/\n/g,K$=/^\s*/,q$=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,G$=/^:\s*/,$$=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Y$=/^[;\s]*/,X$=/^\s+|\s+$/g,Q$=` +`,zM="/",UM="*",ld="",J$="comment",Z$="declaration";jM.exports=function(i,e){if(typeof i!="string")throw new TypeError("First argument must be a string");if(!i)return[];e=e||{};var t=1,n=1;function r(f){var v=f.match(V$);v&&(t+=v.length);var b=f.lastIndexOf(Q$);n=~b?f.length-b:n+f.length}function o(){var f={line:t,column:n};return function(v){return v.position=new s(f),d(),v}}function s(f){this.start=f,this.end={line:t,column:n},this.source=e.source}s.prototype.content=i;var a=[];function l(f){var v=new Error(e.source+":"+t+":"+n+": "+f);if(v.reason=f,v.filename=e.source,v.line=t,v.column=n,v.source=i,e.silent)a.push(v);else throw v}function c(f){var v=f.exec(i);if(v){var b=v[0];return r(b),i=i.slice(b.length),v}}function d(){c(K$)}function h(f){var v;for(f=f||[];v=u();)v!==!1&&f.push(v);return f}function u(){var f=o();if(!(zM!=i.charAt(0)||UM!=i.charAt(1))){for(var v=2;ld!=i.charAt(v)&&(UM!=i.charAt(v)||zM!=i.charAt(v+1));)++v;if(v+=2,ld===i.charAt(v-1))return l("End of comment missing");var b=i.slice(2,v-2);return n+=2,r(b),i=i.slice(v),n+=2,f({type:J$,comment:b})}}function m(){var f=o(),v=c(q$);if(v){if(u(),!c(G$))return l("property missing ':'");var b=c($$),C=f({type:Z$,property:WM(v[0].replace(BM,ld)),value:b?WM(b[0].replace(BM,ld)):ld});return c(Y$),C}}function p(){var f=[];h(f);for(var v;v=m();)v!==!1&&(f.push(v),h(f));return f}return d(),p()};function WM(i){return i?i.replace(X$,ld):ld}});var qM=lt((q0e,KM)=>{var eY=VM();function tY(i,e){var t=null;if(!i||typeof i!="string")return t;for(var n,r=eY(i),o=typeof e=="function",s,a,l=0,c=r.length;l{Dt();Xt();it();na();ne();De();In();J2();ke();ut();Rg();mt();rj();nj();be();Ci();Ke();nt();Vc();var nH=Ad&&Ad.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},U4=Ad&&Ad.__param||function(i,e){return function(t,n){e(t,n,i)}},p8=Ad&&Ad.__awaiter||function(i,e,t,n){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(h){s(h)}}function l(d){try{c(n.throw(d))}catch(h){s(h)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(i,e||[])).next())})},zm=class{constructor(e,t,n){this._editor=e,this._languageFeaturesService=t,this._workerService=n,this._disposables=new j,this._sessionDisposables=new j,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(r=>{r.hasChanged(54)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(54)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let n=new Pc;for(let r of t.autoFormatTriggerCharacters)n.add(r.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(r=>{let o=r.charCodeAt(r.length-1);n.has(o)&&this._trigger(String.fromCharCode(o))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),n=this._editor.getPosition(),r=new Yt,o=this._editor.onDidChangeModelContent(s=>{if(s.isFlush){r.cancel(),o.dispose();return}for(let a=0,l=s.changes.length;a{r.token.isCancellationRequested||Zt(s)&&(Wk.execute(this._editor,s,!0),jk(s))}).finally(()=>{o.dispose()})}};zm.ID="editor.contrib.autoFormat";zm=nH([U4(1,le),U4(2,fa)],zm);var Um=class{constructor(e,t,n){this.editor=e,this._languageFeaturesService=t,this._instantiationService=n,this._callOnDispose=new j,this._callOnModel=new j,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(53)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(y9,this.editor,e,2,hs.None,ze.None).catch(Be))}};Um.ID="editor.contrib.formatOnPaste";Um=nH([U4(1,le),U4(2,Ce)],Um);var u8=class extends K{constructor(){super({id:"editor.action.formatDocument",label:g("formatDocument.label","Format Document"),alias:"Format Document",precondition:G.and(I.notInCompositeEditor,I.writable,I.hasDocumentFormattingProvider),kbOpts:{kbExpr:I.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(e,t){return p8(this,void 0,void 0,function*(){if(t.hasModel()){let n=e.get(Ce);yield e.get(ua).showWhile(n.invokeFunction(Vk,t,1,hs.None,ze.None),250)}})}},m8=class extends K{constructor(){super({id:"editor.action.formatSelection",label:g("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:G.and(I.writable,I.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:I.editorTextFocus,primary:Tt(2089,2084),weight:100},contextMenuOpts:{when:I.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(e,t){return p8(this,void 0,void 0,function*(){if(!t.hasModel())return;let n=e.get(Ce),r=t.getModel(),o=t.getSelections().map(a=>a.isEmpty()?new A(a.startLineNumber,1,a.startLineNumber,r.getLineMaxColumn(a.startLineNumber)):a);yield e.get(ua).showWhile(n.invokeFunction(y9,t,o,1,hs.None,ze.None),250)})}};ye(zm.ID,zm,2);ye(Um.ID,Um,2);F(u8);F(m8);Ze.registerCommand("editor.action.format",i=>p8(void 0,void 0,void 0,function*(){let e=i.get(gt).getFocusedCodeEditor();if(!e||!e.hasModel())return;let t=i.get(Ft);e.getSelection().isEmpty()?yield t.executeCommand("editor.action.formatDocument"):yield t.executeCommand("editor.action.formatSelection")}))});var hb,xB=vl(()=>{Fi();hb=class{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let r=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new Se(r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn),r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn)):new Se(r.endLineNumber,r.endColumn-this._text.length,r.endLineNumber,r.endColumn)}}});var EB=vl(()=>{});var TB=vl(()=>{EB()});var IB=lt(Lp=>{ct();it();h0();De();ke();Fi();ut();fn();Rg();be();xB();TB();var Ote=Lp&&Lp.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},Pte=Lp&&Lp.__param||function(i,e){return function(t,n){e(t,n,i)}},mc=class hw{static get(e){return e.getContribution(hw.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var n;(n=this.currentRequest)===null||n===void 0||n.cancel();let r=this.editor.getSelection(),o=this.editor.getModel();if(!o||!r)return;let s=r;if(s.startLineNumber!==s.endLineNumber)return;let a=new xg(this.editor,5),l=o.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=Bt(c=>this.editorWorkerService.navigateValueSet(l,s,t)),this.currentRequest.then(c=>{var d;if(!c||!c.range||!c.value||!a.validate(this.editor))return;let h=A.lift(c.range),u=c.range,m=c.value.length-(s.endColumn-s.startColumn);u={startLineNumber:u.startLineNumber,startColumn:u.startColumn,endLineNumber:u.endLineNumber,endColumn:u.startColumn+c.value.length},m>1&&(s=new Se(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn+m-1));let p=new hb(h,s,c.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,p),this.editor.pushUndoStop(),this.decorations.set([{range:u,options:hw.DECORATION}]),(d=this.decorationRemover)===null||d===void 0||d.cancel(),this.decorationRemover=Nh(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(Be)}).catch(Be)):Promise.resolve(void 0)}};mc.ID="editor.contrib.inPlaceReplaceController";mc.DECORATION=Ue.register({description:"in-place-replace",className:"valueSetReplacement"});mc=Ote([Pte(1,fa)],mc);var uw=class extends K{constructor(){super({id:"editor.action.inPlaceReplace.up",label:g("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:I.writable,kbOpts:{kbExpr:I.editorTextFocus,primary:3159,weight:100}})}run(e,t){let n=mc.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}},mw=class extends K{constructor(){super({id:"editor.action.inPlaceReplace.down",label:g("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:I.writable,kbOpts:{kbExpr:I.editorTextFocus,primary:3161,weight:100}})}run(e,t){let n=mc.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}};ye(mc.ID,mc,4);F(uw);F(mw)});var dz=vl(()=>{});var hz=vl(()=>{dz()});var ul,uz=vl(()=>{Dr();oj();be();fi();Ke();ul=class extends ro{constructor(){super({id:ul.ID,title:{value:g({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),original:"Toggle Tab Key Moves Focus"},precondition:void 0,keybinding:{primary:2091,mac:{primary:1323},weight:100},f1:!0})}run(e){let t=e.get(xe).getContextKeyValue("focusedView")==="terminal"?"terminalFocus":"editorFocus",r=!C9.getTabFocusMode(t);C9.setTabFocusMode(r,t),r?$t(g("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):$t(g("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}};ul.ID="editor.action.toggleTabFocusMode";Ht(ul)});var gz=lt(Zp=>{hz();ht();ij();Dr();Tg();ne();ln();Ut();En();De();ut();uz();Ke();nt();gn();ao();Kh();var mz=Zp&&Zp.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},$b=Zp&&Zp.__param||function(i,e){return function(t,n){e(t,n,i)}},pz=new Ne("accessibilityHelpWidgetVisible",!1),ah=class fz extends Y{static get(e){return e.getContribution(fz.ID)}constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(w1,this._editor))}show(){this._widget.show()}hide(){this._widget.hide()}};ah.ID="editor.contrib.accessibilityHelpController";ah=mz([$b(1,Ce)],ah);function Uie(i,e){return!i||i.length===0?li.noSelection:i.length===1?e?Mr(li.singleSelectionRange,i[0].positionLineNumber,i[0].positionColumn,e):Mr(li.singleSelection,i[0].positionLineNumber,i[0].positionColumn):e?Mr(li.multiSelectionRange,i.length,e):i.length>0?Mr(li.multiSelection,i.length):""}var w1=class Yb extends ma{constructor(e,t,n,r){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=r,this._editor=e,this._isVisibleKey=pz.bindTo(this._contextKeyService),this._domNode=c9(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-modal","true"),this._domNode.setAttribute("aria-hidden","true");let o=oe(this._domNode.domNode,te("h1",void 0,li.accessibilityHelpTitle));o.id="help-dialog-heading",this._domNode.setAttribute("aria-labelledby",o.id),this._contentDomNode=c9(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._contentDomNode.domNode.id="help-dialog-content",this._domNode.appendChild(this._contentDomNode),this._contentDomNode.setAttribute("aria-describedby",this._contentDomNode.domNode.id),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(to(this._contentDomNode.domNode,"keydown",s=>{if(this._isVisible&&(s.equals(2083)&&($t(li.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),cn(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),s.preventDefault(),s.stopPropagation()),s.equals(2086))){$t(li.openingDocs);let a=this._editor.getRawOptions().accessibilityHelpUrl;typeof a=="undefined"&&(a="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(Je.parse(a)),s.preventDefault(),s.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Yb.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){let r=this._keybindingService.lookupKeybinding(e);return r?Mr(t,r.getAriaLabel()):Mr(n,e)}_buildContent(){let e=this._contentDomNode.domNode,t=this._editor.getOptions(),n=this._editor.getSelections(),r=0;if(n){let c=this._editor.getModel();c&&n.forEach(d=>{r+=c.getValueLengthInRange(d)})}oe(e,te("p",void 0,Uie(n,r)));let o=oe(e,te("p"));t.get(59)?t.get(87)?o.textContent=li.readonlyDiffEditor:o.textContent=li.editableDiffEditor:t.get(87)?o.textContent=li.readonlyEditor:o.textContent=li.editableEditor;let s=oe(e,te("ul")),a=Gi?li.changeConfigToOnMac:li.changeConfigToOnWinLinux;switch(t.get(2)){case 0:oe(s,te("li",void 0,a));break;case 2:oe(s,te("li",void 0,li.auto_on));break;case 1:oe(s,te("li",void 0,li.auto_off,a));break}t.get(138)?oe(s,te("li",void 0,this._descriptionForCommand(ul.ID,li.tabFocusModeOnMsg,li.tabFocusModeOnMsgNoKb))):oe(s,te("li",void 0,this._descriptionForCommand(ul.ID,li.tabFocusModeOffMsg,li.tabFocusModeOffMsgNoKb)));let l=Gi?li.openDocMac:li.openDocWinLinux;oe(s,te("li",void 0,l)),oe(e,te("p",void 0,li.outroMsg))}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,cn(this._contentDomNode.domNode),this._editor.focus())}_layout(){let e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(Yb.WIDTH,e.width-40)),n=Math.max(5,Math.min(Yb.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(n);let r=Math.round((e.height-n)/2);this._domNode.setTop(r);let o=Math.round((e.width-t)/2);this._domNode.setLeft(o)}};w1.ID="editor.contrib.accessibilityHelpWidget";w1.WIDTH=500;w1.HEIGHT=300;w1=mz([$b(1,xe),$b(2,pt),$b(3,ui)],w1);var yx=class extends K{constructor(){super({id:"editor.action.showAccessibilityHelp",label:li.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let n=ah.get(t);n==null||n.show()}};ye(ah.ID,ah,4);F(yx);var Wie=si.bindToContribution(ah.get);ge(new Wie({id:"closeAccessibilityHelp",precondition:pz,handler:i=>i.hide(),kbOpts:{weight:100+100,kbExpr:I.focus,primary:9,secondary:[1033]}}))});var _z=vl(()=>{});var vz=vl(()=>{_z()});var Sz=lt(tf=>{vz();ht();Dh();ne();De();Rn();GW();ZW();oo();sj();Kh();var jie=tf&&tf.__decorate||function(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},bz=tf&&tf.__param||function(i,e){return function(t,n){e(t,n,i)}},E1=class yz extends Y{static get(e){return e.getContribution(yz.ID)}constructor(e,t,n){super(),this._editor=e,this._languageService=n,this._widget=null,this._register(this._editor.onDidChangeModel(r=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(r=>this.stop())),this._register(Bh.onDidChange(r=>this.stop())),this._register(this._editor.onKeyUp(r=>r.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new T1(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};E1.ID="editor.contrib.inspectTokens";E1=jie([bz(1,cA),bz(2,hi)],E1);var Sx=class extends K{constructor(){super({id:"editor.action.inspectTokens",label:aA.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let n=E1.get(t);n==null||n.launch()}};function Vie(i){let e="";for(let t=0,n=i.length;tck,tokenize:(r,o,s)=>dk(e,s),tokenizeEncoded:(r,o,s)=>hk(n,s)}}var T1=class extends Y{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=Kie(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(n=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return T1._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),n=0;for(let l=t.tokens1.length-1;l>=0;l--){let c=t.tokens1[l];if(e.column-1>=c.offset){n=l;break}}let r=0;for(let l=t.tokens2.length>>>1;l>=0;l--)if(e.column-1>=t.tokens2[l<<1]){r=l;break}let o=this._model.getLineContent(e.lineNumber),s="";if(n{(function(i){if(typeof yW=="object"&&typeof $E!="undefined")$E.exports=i();else if(typeof define=="function"&&define.amd)define([],i);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=i()}})(function(){var i,e,t;return function(){function n(r,o,s){function a(d,h){if(!o[d]){if(!r[d]){var u=typeof Ic=="function"&&Ic;if(!h&&u)return u(d,!0);if(l)return l(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var p=o[d]={exports:{}};r[d][0].call(p.exports,function(f){var v=r[d][1][f];return a(v||f)},p,p.exports,n,r,o,s)}return o[d].exports}for(var l=typeof Ic=="function"&&Ic,c=0;cv._averageHeight){var D=v._renderChunk();v._lastRepaint=w,D!==!1&&typeof b.afterRender=="function"&&b.afterRender()}}};C()}return s(m,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(f,v){var b;if(Object.assign(this._config,c,v),!f||f.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=f;var C=this._config,E=this._scroller||C.scroller||document.createElement(C.scrollerTagName||"tr");if(typeof C.useFragment!="boolean"&&(this._config.useFragment=!0),!C.generate)throw new Error("Missing required `generate` function");if(!d(C.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(C.itemHeight)&&!d(C.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());d(C.itemHeight)?this._itemHeights=Array(C.total).fill(C.itemHeight):this._itemHeights=C.itemHeight,Object.keys(c).filter(function(B){return B in C}).forEach(function(B){var Q=C[B],Z=d(Q);if(Q&&typeof Q!="string"&&typeof Q!="number"){var V="Invalid optional `"+B+"`, expected string or number";throw new Error(V)}else Z&&(C[B]=Q+"px")});var w=!!C.horizontal,k=C[w?"width":"height"];if(k){var O=d(k),D=O?!1:k.slice(-1)==="%",W=O?k:parseInt(k.replace(/px|%/,""),10),q=window[w?"innerWidth":"innerHeight"];D?this._containerSize=q*W/100:this._containerSize=d(k)?k:W}var _e=C.scrollContainer,ee=C.itemHeight*C.total,Ie=this._maxElementHeight;ee>Ie&&console.warn(["HyperList: The maximum element height",Ie+"px has","been exceeded; please reduce your item height."].join(" "));var Oe={width:""+C.width,height:_e?ee+"px":""+C.height,overflow:_e?"none":"auto",position:"relative"};m.mergeStyle(f,Oe),_e&&m.mergeStyle(C.scrollContainer,{overflow:"auto"});var He=(b={opacity:"0",position:"absolute"},a(b,w?"height":"width","1px"),a(b,w?"width":"height",ee+"px"),b);m.mergeStyle(E,He),this._scroller||f.appendChild(E);var Xe=this._computeScrollPadding();this._scrollPaddingBottom=Xe.bottom,this._scrollPaddingTop=Xe.top,this._scroller=E,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(C.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof C.afterRender=="function"&&C.afterRender()}},{key:"_getRow",value:function(f){var v=this._config,b=v.generate(f),C=b.height;if(C!==void 0&&d(C)?(b=b.element,C!==this._itemHeights[f]&&(this._itemHeights[f]=C,this._computePositions(f),this._scrollHeight=this._computeScrollHeight(f))):C=this._itemHeights[f],!b||b.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+f);h(b,v.rowClassName||"vrow");var E=this._itemPositions[f]+this._scrollPaddingTop;return m.mergeStyle(b,a({position:"absolute"},v.horizontal?"left":"top",E+"px")),b}},{key:"_getScrollPosition",value:function(){var f=this._config;return typeof f.overrideScrollPosition=="function"?f.overrideScrollPosition():this._element[f.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(f){var v=this._config,b=this._element,C=this._getScrollPosition(),E=v.total,w=v.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((w<0||w-this._screenItemsLen<0)&&(w=0),!f&&this._lastFrom===w)return!1;this._lastFrom=w;var k=w+this._cachedItemsLen;(k>E||k+this._cachedItemsLen>E)&&(k=E);var O=v.useFragment?document.createDocumentFragment():[],D=this._scroller;O[v.useFragment?"appendChild":"push"](D);for(var W=w;W0&&arguments[0]!==void 0?arguments[0]:1,v=this._config,b=v.total,C=v.reverse;f<1&&!C&&(f=1);for(var E=f;E0&&this._itemPositions[v]{(function(i,e){"use strict";function t(){n.width=i.innerWidth,n.height=5*c.barThickness;var h=n.getContext("2d");h.shadowBlur=c.shadowBlur,h.shadowColor=c.shadowColor;var u,m=h.createLinearGradient(0,0,n.width,0);for(u in c.barColors)m.addColorStop(u,c.barColors[u]);h.lineWidth=c.barThickness,h.beginPath(),h.moveTo(0,c.barThickness/2),h.lineTo(Math.ceil(r*n.width),c.barThickness/2),h.strokeStyle=m,h.stroke()}var n,r,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},d={config:function(h){for(var u in h)c.hasOwnProperty(u)&&(c[u]=h[u])},show:function(h){var u,m;o||(h?l=l||setTimeout(()=>d.show(),h):(o=!0,a!==null&&i.cancelAnimationFrame(a),n||((m=(n=e.createElement("canvas")).style).position="fixed",m.top=m.left=m.right=m.margin=m.padding=0,m.zIndex=100001,m.display="none",c.className&&n.classList.add(c.className),e.body.appendChild(n),u="resize",h=t,(m=i).addEventListener?m.addEventListener(u,h,!1):m.attachEvent?m.attachEvent("on"+u,h):m["on"+u]=h),n.style.opacity=1,n.style.display="block",d.progress(0),c.autoRun&&function p(){s=i.requestAnimationFrame(p),d.progress("+"+.05*Math.pow(1-Math.sqrt(r),2))}()))},progress:function(h){return h===void 0||(typeof h=="string"&&(h=(0<=h.indexOf("+")||0<=h.indexOf("-")?r:0)+parseFloat(h)),r=1typeof i=="function"?i:function(){return i},aj=typeof self!="undefined"?self:null,b0=typeof window!="undefined"?window:null,S0=aj||b0||S0,lj="2.0.0",fs={connecting:0,open:1,closing:2,closed:3},cj=1e4,dj=1e3,zr={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},va={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},M9={longpoll:"longpoll",websocket:"websocket"},hj={complete:4},Vg=class{constructor(i,e,t,n){this.channel=i,this.event=e,this.payload=t||function(){return{}},this.receivedResp=null,this.timeout=n,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(i){this.timeout=i,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(i,e){return this.hasReceived(i)&&e(this.receivedResp.response),this.recHooks.push({status:i,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:i,response:e,_ref:t}){this.recHooks.filter(n=>n.status===i).forEach(n=>n.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,i=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=i,this.matchReceive(i)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(i){return this.receivedResp&&this.receivedResp.status===i}trigger(i,e){this.channel.trigger(this.refEvent,{status:i,response:e})}},dA=class{constructor(i,e){this.callback=i,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},uj=class{constructor(i,e,t){this.state=zr.closed,this.topic=i,this.params=y0(e||{}),this.socket=t,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Vg(this,va.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new dA(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=zr.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(n=>n.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=zr.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=zr.closed,this.socket.remove(this)}),this.onError(n=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,n),this.isJoining()&&this.joinPush.reset(),this.state=zr.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new Vg(this,va.leave,y0({}),this.timeout).send(),this.state=zr.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(va.reply,(n,r)=>{this.trigger(this.replyEventName(r),n)})}join(i=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=i,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(i){this.on(va.close,i)}onError(i){return this.on(va.error,e=>i(e))}on(i,e){let t=this.bindingRef++;return this.bindings.push({event:i,ref:t,callback:e}),t}off(i,e){this.bindings=this.bindings.filter(t=>!(t.event===i&&(typeof e=="undefined"||e===t.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(i,e,t=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${i}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let n=new Vg(this,i,function(){return e},t);return this.canPush()?n.send():(n.startTimeout(),this.pushBuffer.push(n)),n}leave(i=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=zr.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(va.close,"leave")},t=new Vg(this,va.leave,y0({}),i);return t.receive("ok",()=>e()).receive("timeout",()=>e()),t.send(),this.canPush()||t.trigger("ok",{}),t}onMessage(i,e,t){return e}isMember(i,e,t,n){return this.topic!==i?!1:n&&n!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:i,event:e,payload:t,joinRef:n}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(i=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=zr.joining,this.joinPush.resend(i))}trigger(i,e,t,n){let r=this.onMessage(i,e,t,n);if(e&&!r)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===i);for(let s=0;s{let a=this.parseJSON(i.responseText);s&&s(a)},o&&(i.ontimeout=o),i.onprogress=()=>{},i.send(n),i}static xhrRequest(i,e,t,n,r,o,s,a){return i.open(e,t,!0),i.timeout=o,i.setRequestHeader("Content-Type",n),i.onerror=()=>a&&a(null),i.onreadystatechange=()=>{if(i.readyState===hj.complete&&a){let l=this.parseJSON(i.responseText);a(l)}},s&&(i.ontimeout=s),i.send(r),i}static parseJSON(i){if(!i||i==="")return null;try{return JSON.parse(i)}catch(e){return console&&console.log("failed to parse JSON response",i),null}}static serialize(i,e){let t=[];for(var n in i){if(!Object.prototype.hasOwnProperty.call(i,n))continue;let r=e?`${e}[${n}]`:n,o=i[n];typeof o=="object"?t.push(this.serialize(o,r)):t.push(encodeURIComponent(r)+"="+encodeURIComponent(o))}return t.join("&")}static appendParams(i,e){if(Object.keys(e).length===0)return i;let t=i.match(/\?/)?"&":"?";return`${i}${t}${this.serialize(e)}`}},D9=class{constructor(i){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(i),this.readyState=fs.connecting,this.poll()}normalizeEndpoint(i){return i.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+M9.websocket),"$1/"+M9.longpoll)}endpointURL(){return qg.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(i,e,t){this.close(i,e,t),this.readyState=fs.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===fs.open||this.readyState===fs.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),i=>{if(i){var{status:e,token:t,messages:n}=i;this.token=t}else e=0;switch(e){case 200:n.forEach(r=>{setTimeout(()=>this.onmessage({data:r}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=fs.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${e}`)}})}send(i){this.currentBatch?this.currentBatch.push(i):this.awaitingBatchAck?this.batchBuffer.push(i):(this.currentBatch=[i],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(i){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",i.join(` +`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(i,e,t){for(let r of this.reqs)r.abort();this.readyState=fs.closed;let n=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:i,reason:e,wasClean:t});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",n)):this.onclose(n)}ajax(i,e,t,n,r){let o,s=()=>{this.reqs.delete(o),n()};o=qg.request(i,this.endpointURL(),e,t,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&r(a)}),this.reqs.add(o)}};var Kg={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(i,e){if(i.payload.constructor===ArrayBuffer)return e(this.binaryEncode(i));{let t=[i.join_ref,i.ref,i.topic,i.event,i.payload];return e(JSON.stringify(t))}},decode(i,e){if(i.constructor===ArrayBuffer)return e(this.binaryDecode(i));{let[t,n,r,o,s]=JSON.parse(i);return e({join_ref:t,ref:n,topic:r,event:o,payload:s})}},binaryEncode(i){let{join_ref:e,ref:t,event:n,topic:r,payload:o}=i,s=this.META_LENGTH+e.length+t.length+r.length+n.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,t.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),Array.from(e,h=>l.setUint8(c++,h.charCodeAt(0))),Array.from(t,h=>l.setUint8(c++,h.charCodeAt(0))),Array.from(r,h=>l.setUint8(c++,h.charCodeAt(0))),Array.from(n,h=>l.setUint8(c++,h.charCodeAt(0)));var d=new Uint8Array(a.byteLength+o.byteLength);return d.set(new Uint8Array(a),0),d.set(new Uint8Array(o),a.byteLength),d.buffer},binaryDecode(i){let e=new DataView(i),t=e.getUint8(0),n=new TextDecoder;switch(t){case this.KINDS.push:return this.decodePush(i,e,n);case this.KINDS.reply:return this.decodeReply(i,e,n);case this.KINDS.broadcast:return this.decodeBroadcast(i,e,n)}},decodePush(i,e,t){let n=e.getUint8(1),r=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=t.decode(i.slice(s,s+n));s=s+n;let l=t.decode(i.slice(s,s+r));s=s+r;let c=t.decode(i.slice(s,s+o));s=s+o;let d=i.slice(s,i.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:d}},decodeReply(i,e,t){let n=e.getUint8(1),r=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=t.decode(i.slice(a,a+n));a=a+n;let c=t.decode(i.slice(a,a+r));a=a+r;let d=t.decode(i.slice(a,a+o));a=a+o;let h=t.decode(i.slice(a,a+s));a=a+s;let u=i.slice(a,i.byteLength),m={status:h,response:u};return{join_ref:l,ref:c,topic:d,event:va.reply,payload:m}},decodeBroadcast(i,e,t){let n=e.getUint8(1),r=e.getUint8(2),o=this.HEADER_LENGTH+2,s=t.decode(i.slice(o,o+n));o=o+n;let a=t.decode(i.slice(o,o+r));o=o+r;let l=i.slice(o,i.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},Gg=class{constructor(i,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||cj,this.transport=e.transport||S0.WebSocket||D9,this.establishedConnections=0,this.defaultEncoder=Kg.encode.bind(Kg),this.defaultDecoder=Kg.decode.bind(Kg),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==D9?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let t=null;b0&&b0.addEventListener&&(b0.addEventListener("pagehide",n=>{this.conn&&(this.disconnect(),t=this.connectClock)}),b0.addEventListener("pageshow",n=>{t===this.connectClock&&(t=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=n=>e.rejoinAfterMs?e.rejoinAfterMs(n):[1e3,2e3,5e3][n-1]||1e4,this.reconnectAfterMs=n=>e.reconnectAfterMs?e.reconnectAfterMs(n):[10,50,100,150,200,250,500,1e3,2e3][n-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=y0(e.params||{}),this.endPoint=`${i}/${M9.websocket}`,this.vsn=e.vsn||lj,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new dA(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return D9}replaceTransport(i){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=i}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let i=qg.appendParams(qg.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return i.charAt(0)!=="/"?i:i.charAt(1)==="/"?`${this.protocol()}:${i}`:`${this.protocol()}://${location.host}${i}`}disconnect(i,e,t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(i,e,t)}connect(i){i&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=y0(i)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(i,e,t){this.logger(i,e,t)}hasLogger(){return this.logger!==null}onOpen(i){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,i]),e}onClose(i){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,i]),e}onError(i){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,i]),e}onMessage(i){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,i]),e}ping(i){if(!this.isConnected())return!1;let e=this.makeRef(),t=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let n=this.onMessage(r=>{r.ref===e&&(this.off([n]),i(Date.now()-t))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,i])=>i())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),dj,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(i,e,t){if(!this.conn)return i&&i();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,t||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),i&&i()})})}waitForBufferDone(i,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){i();return}setTimeout(()=>{this.waitForBufferDone(i,e+1)},150*e)}waitForSocketClosed(i,e=1){if(e===5||!this.conn||this.conn.readyState===fs.closed){i();return}setTimeout(()=>{this.waitForSocketClosed(i,e+1)},150*e)}onConnClose(i){let e=i&&i.code;this.hasLogger()&&this.log("transport","close",i),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,t])=>t(i))}onConnError(i){this.hasLogger()&&this.log("transport",i);let e=this.transport,t=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,n])=>{n(i,e,t)}),(e===this.transport||t>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(i=>{i.isErrored()||i.isLeaving()||i.isClosed()||i.trigger(va.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case fs.connecting:return"connecting";case fs.open:return"open";case fs.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(i){this.off(i.stateChangeRefs),this.channels=this.channels.filter(e=>e.joinRef()!==i.joinRef())}off(i){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([t])=>i.indexOf(t)===-1)}channel(i,e={}){let t=new uj(i,e,this);return this.channels.push(t),t}push(i){if(this.hasLogger()){let{topic:e,event:t,payload:n,ref:r,join_ref:o}=i;this.log("push",`${e} ${t} (${o}, ${r})`,n)}this.isConnected()?this.encode(i,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(i,e=>this.conn.send(e)))}makeRef(){let i=this.ref+1;return i===this.ref?this.ref=0:this.ref=i,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(i=>i()),this.sendBuffer=[])}onConnMessage(i){this.decode(i.data,e=>{let{topic:t,event:n,payload:r,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${r.status||""} ${t} ${n} ${o&&"("+o+")"||""}`,r);for(let a=0;at.topic===i&&(t.isJoined()||t.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${i}"`),e.leave())}};var MA="consecutive-reloads",mj=10,pj=5e3,fj=1e4,gj=3e4,OA=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],Wr="data-phx-component",O9="data-phx-link",_j="track-static",vj="data-phx-link-state",co="data-phx-ref",qc="data-phx-ref-src",PA="track-uploads",Gc="data-phx-upload-ref",X9="data-phx-preflighted-refs",bj="data-phx-done-refs",hA="drop-target",q9="data-phx-active-refs",r_="phx:live-file:updated",G9="data-phx-skip",uA="data-phx-prune",mA="page-loading",pA="phx-connected",C0="phx-loading",P9="phx-no-feedback",$g="phx-error",fA="phx-client-error",F9="phx-server-error",$h="data-phx-parent-id",Q9="data-phx-main",N0="data-phx-root-id",FA="viewport-top",HA="viewport-bottom",yj="trigger-action",s_="feedback-for",$9="phx-has-focused",Sj=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],BA=["checkbox","radio"],a_="phx-has-submitted",Fl="data-phx-session",Xh=`[${Fl}]`,gA="data-phx-sticky",A0="data-phx-static",H9="data-phx-readonly",Yg="data-phx-disabled",Y9="disable-with",Xg="data-phx-disable-with-restore",w0="hook",Cj="debounce",wj="throttle",l_="update",B9="stream",x0="data-phx-stream",xj="key",gs="phxPrivate",_A="auto-recover",Qg="phx:live-socket:debug",z9="phx:live-socket:profiling",U9="phx:live-socket:latency-sim",Ej="progress",vA="mounted",Tj=1,Ij=200,kj="phx-",Aj=3e4,E0="debounce-trigger",Jg="throttled",bA="debounce-prev-key",Lj={debounce:300,throttle:300},W9="d",_s="s",Ur="c",yA="e",SA="r",CA="t",Nj="p",wA="stream",Rj=class{constructor(i,e,t){this.liveSocket=t,this.entry=i,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.uploadChannel=t.channel(`lvu:${i.ref}`,{token:i.metadata()})}error(i){clearTimeout(this.chunkTimer),this.uploadChannel.leave(),this.entry.error(i)}upload(){this.uploadChannel.onError(i=>this.error(i)),this.uploadChannel.join().receive("ok",i=>this.readNextChunk()).receive("error",i=>this.error(i))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let i=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);i.onload=t=>{if(t.target.error===null)this.offset+=t.target.result.byteLength,this.pushChunk(t.target.result);else return Mn("Read error: "+t.target.error)},i.readAsArrayBuffer(e)}pushChunk(i){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",i).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))})}},Mn=(i,e)=>console.error&&console.error(i,e),Ol=i=>{let e=typeof i;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(i)};function Dj(){let i=new Set,e=document.querySelectorAll("*[id]");for(let t=0,n=e.length;t{i.liveSocket.isDebugEnabled()&&console.log(`${i.id} ${e}: ${t} - `,n)},j9=i=>typeof i=="function"?i:function(){return i},o_=i=>JSON.parse(JSON.stringify(i)),L0=(i,e,t)=>{do{if(i.matches(`[${e}]`)&&!i.disabled)return i;i=i.parentElement||i.parentNode}while(i!==null&&i.nodeType===1&&!(t&&t.isSameNode(i)||i.matches(Xh)));return null},T0=i=>i!==null&&typeof i=="object"&&!(i instanceof Array),Oj=(i,e)=>JSON.stringify(i)===JSON.stringify(e),xA=i=>{for(let e in i)return!1;return!0},Pl=(i,e)=>i&&e(i),Pj=function(i,e,t,n){i.forEach(r=>{new Rj(r,t.config.chunk_size,n).upload()})},zA={canPushState(){return typeof history.pushState!="undefined"},dropLocal(i,e,t){return i.removeItem(this.localKey(e,t))},updateLocal(i,e,t,n,r){let o=this.getLocal(i,e,t),s=this.localKey(e,t),a=o===null?n:r(o);return i.setItem(s,JSON.stringify(a)),a},getLocal(i,e,t){return JSON.parse(i.getItem(this.localKey(e,t)))},updateCurrentState(i){this.canPushState()&&history.replaceState(i(history.state||{}),"",window.location.href)},pushState(i,e,t){if(this.canPushState()){if(t!==window.location.href){if(e.type=="redirect"&&e.scroll){let r=history.state||{};r.scroll=e.scroll,history.replaceState(r,"",window.location.href)}delete e.scroll,history[i+"State"](e,"",t||null);let n=this.getHashTargetEl(window.location.hash);n?n.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(t)},setCookie(i,e){document.cookie=`${i}=${e}`},getCookie(i){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${i}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(i,e){e&&zA.setCookie("__phoenix_flash__",e+"; max-age=60000; path=/"),window.location=i},localKey(i,e){return`${i}-${e}`},getHashTargetEl(i){let e=i.toString().substring(1);if(e!=="")return document.getElementById(e)||document.querySelector(`a[name="${e}"]`)}},vs=zA,lo={byId(i){return document.getElementById(i)||Mn(`no id found for ${i}`)},removeClass(i,e){i.classList.remove(e),i.classList.length===0&&i.removeAttribute("class")},all(i,e,t){if(!i)return[];let n=Array.from(i.querySelectorAll(e));return t?n.forEach(t):n},childNodeLength(i){let e=document.createElement("template");return e.innerHTML=i,e.content.childElementCount},isUploadInput(i){return i.type==="file"&&i.getAttribute(Gc)!==null},findUploadInputs(i){return this.all(i,`input[type="file"][${Gc}]`)},findComponentNodeList(i,e){return this.filterWithinSameLiveView(this.all(i,`[${Wr}="${e}"]`),i)},isPhxDestroyed(i){return!!(i.id&&lo.private(i,"destroyed"))},wantsNewTab(i){let e=i.ctrlKey||i.shiftKey||i.metaKey||i.button&&i.button===1,t=i.target instanceof HTMLAnchorElement&&i.target.hasAttribute("download"),n=i.target.getAttribute("target")==="_blank";return e||n||t},isUnloadableFormSubmit(i){return!i.defaultPrevented&&!this.wantsNewTab(i)},isNewPageClick(i,e){let t=i.target instanceof HTMLAnchorElement?i.target.getAttribute("href"):null,n;if(i.defaultPrevented||t===null||this.wantsNewTab(i)||t.startsWith("mailto:")||t.startsWith("tel:"))return!1;try{n=new URL(t)}catch(r){try{n=new URL(t,e)}catch(o){return!0}}return n.host===e.host&&n.protocol===e.protocol&&n.pathname===e.pathname&&n.search===e.search?n.hash===""&&!n.href.endsWith("#"):!0},markPhxChildDestroyed(i){this.isPhxChild(i)&&i.setAttribute(Fl,""),this.putPrivate(i,"destroyed",!0)},findPhxChildrenInFragment(i,e){let t=document.createElement("template");return t.innerHTML=i,this.findPhxChildren(t.content,e)},isIgnored(i,e){return(i.getAttribute(e)||i.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(i,e,t){return i.getAttribute&&t.indexOf(i.getAttribute(e))>=0},findPhxSticky(i){return this.all(i,`[${gA}]`)},findPhxChildren(i,e){return this.all(i,`${Xh}[${$h}="${e}"]`)},findParentCIDs(i,e){let t=new Set(e),n=e.reduce((r,o)=>{let s=`[${Wr}="${o}"] [${Wr}]`;return this.filterWithinSameLiveView(this.all(i,s),i).map(a=>parseInt(a.getAttribute(Wr))).forEach(a=>r.delete(a)),r},t);return n.size===0?new Set(e):n},filterWithinSameLiveView(i,e){return e.querySelector(Xh)?i.filter(t=>this.withinSameLiveView(t,e)):i},withinSameLiveView(i,e){for(;i=i.parentNode;){if(i.isSameNode(e))return!0;if(i.getAttribute(Fl)!==null)return!1}},private(i,e){return i[gs]&&i[gs][e]},deletePrivate(i,e){i[gs]&&delete i[gs][e]},putPrivate(i,e,t){i[gs]||(i[gs]={}),i[gs][e]=t},updatePrivate(i,e,t,n){let r=this.private(i,e);r===void 0?this.putPrivate(i,e,n(t)):this.putPrivate(i,e,n(r))},copyPrivates(i,e){e[gs]&&(i[gs]=e[gs])},putTitle(i){let e=document.querySelector("title");if(e){let{prefix:t,suffix:n}=e.dataset;document.title=`${t||""}${i}${n||""}`}else document.title=i},debounce(i,e,t,n,r,o,s,a){let l=i.getAttribute(t),c=i.getAttribute(r);l===""&&(l=n),c===""&&(c=o);let d=l||c;switch(d){case null:return a();case"blur":this.once(i,"debounce-blur")&&i.addEventListener("blur",()=>a());return;default:let h=parseInt(d),u=()=>c?this.deletePrivate(i,Jg):a(),m=this.incCycle(i,E0,u);if(isNaN(h))return Mn(`invalid throttle/debounce value: ${d}`);if(c){let f=!1;if(e.type==="keydown"){let v=this.private(i,bA);this.putPrivate(i,bA,e.key),f=v!==e.key}if(!f&&this.private(i,Jg))return!1;a(),this.putPrivate(i,Jg,!0),setTimeout(()=>{s()&&this.triggerCycle(i,E0)},h)}else setTimeout(()=>{s()&&this.triggerCycle(i,E0,m)},h);let p=i.form;p&&this.once(p,"bind-debounce")&&p.addEventListener("submit",()=>{Array.from(new FormData(p).entries(),([f])=>{let v=p.querySelector(`[name="${f}"]`);this.incCycle(v,E0),this.deletePrivate(v,Jg)})}),this.once(i,"bind-debounce")&&i.addEventListener("blur",()=>this.triggerCycle(i,E0))}},triggerCycle(i,e,t){let[n,r]=this.private(i,e);t||(t=n),t===n&&(this.incCycle(i,e),r())},once(i,e){return this.private(i,e)===!0?!1:(this.putPrivate(i,e,!0),!0)},incCycle(i,e,t=function(){}){let[n]=this.private(i,e)||[0,t];return n++,this.putPrivate(i,e,[n,t]),n},maybeAddPrivateHooks(i,e,t){i.hasAttribute&&(i.hasAttribute(e)||i.hasAttribute(t))&&i.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},maybeHideFeedback(i,e,t){if(!(this.private(e,$9)||this.private(e,a_))){let n=[e.name];e.name.endsWith("[]")&&n.push(e.name.slice(0,-2));let r=n.map(o=>`[${t}="${o}"]`).join(", ");lo.all(i,r,o=>o.classList.add(P9))}},resetForm(i,e){Array.from(i.elements).forEach(t=>{let n=`[${e}="${t.id}"], [${e}="${t.name}"], - [${e}="${t.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(t,K9),this.deletePrivate(t,o_),this.all(document,n,r=>{r.classList.add(O9)})})},showError(i,e){(i.id||i.name)&&this.all(i.form,`[${e}="${i.id}"], [${e}="${i.name}"]`,t=>{this.removeClass(t,O9)})},isPhxChild(i){return i.getAttribute&&i.getAttribute($h)},isPhxSticky(i){return i.getAttribute&&i.getAttribute(uA)!==null},firstPhxChild(i){return this.isPhxChild(i)?i:this.all(i,`[${$h}]`)[0]},dispatchEvent(i,e,t={}){let r={bubbles:t.bubbles===void 0?!0:!!t.bubbles,cancelable:!0,detail:t.detail||{}},o=e==="click"?new MouseEvent("click",r):new CustomEvent(e,r);i.dispatchEvent(o)},cloneNode(i,e){if(typeof e=="undefined")return i.cloneNode(!0);{let t=i.cloneNode(!1);return t.innerHTML=e,t}},mergeAttrs(i,e,t={}){let n=t.exclude||[],r=t.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;n.indexOf(l)<0&&i.setAttribute(l,e.getAttribute(l))}let s=i.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;r?l.startsWith("data-")&&!e.hasAttribute(l)&&i.removeAttribute(l):e.hasAttribute(l)||i.removeAttribute(l)}},mergeFocusedInput(i,e){i instanceof HTMLSelectElement||No.mergeAttrs(i,e,{exclude:["value"]}),e.readOnly?i.setAttribute("readonly",!0):i.removeAttribute("readonly")},hasSelectionRange(i){return i.setSelectionRange&&(i.type==="text"||i.type==="textarea")},restoreFocus(i,e,t){if(!No.isTextualInput(i))return;let n=i.matches(":focus");i.readOnly&&i.blur(),n||i.focus(),this.hasSelectionRange(i)&&i.setSelectionRange(e,t)},isFormInput(i){return/^(?:input|select|textarea)$/i.test(i.tagName)&&i.type!=="button"},syncAttrsToProps(i){i instanceof HTMLInputElement&&LA.indexOf(i.type.toLocaleLowerCase())>=0&&(i.checked=i.getAttribute("checked")!==null)},isTextualInput(i){return hj.indexOf(i.type)>=0},isNowTriggerFormExternal(i,e){return i.getAttribute&&i.getAttribute(e)!==null},syncPendingRef(i,e,t){let n=i.getAttribute(vs);if(n===null)return!0;let r=i.getAttribute(qc);return No.isFormInput(i)||i.getAttribute(t)!==null?(No.isUploadInput(i)&&No.mergeAttrs(i,e,{isIgnored:!0}),No.putPrivate(i,vs,e),!1):(kA.forEach(o=>{i.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(vs,n),e.setAttribute(qc,r),!0)},cleanChildNodes(i,e){if(No.isPhxUpdate(i,e,["append","prepend"])){let t=[];i.childNodes.forEach(n=>{n.id||(n.nodeType===Node.TEXT_NODE&&n.nodeValue.trim()===""||Mn(`only HTML element tags with an id are allowed inside containers with phx-update. + [${e}="${t.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(t,$9),this.deletePrivate(t,a_),this.all(document,n,r=>{r.classList.add(P9)})})},showError(i,e){(i.id||i.name)&&this.all(i.form,`[${e}="${i.id}"], [${e}="${i.name}"]`,t=>{this.removeClass(t,P9)})},isPhxChild(i){return i.getAttribute&&i.getAttribute($h)},isPhxSticky(i){return i.getAttribute&&i.getAttribute(gA)!==null},firstPhxChild(i){return this.isPhxChild(i)?i:this.all(i,`[${$h}]`)[0]},dispatchEvent(i,e,t={}){let r={bubbles:t.bubbles===void 0?!0:!!t.bubbles,cancelable:!0,detail:t.detail||{}},o=e==="click"?new MouseEvent("click",r):new CustomEvent(e,r);i.dispatchEvent(o)},cloneNode(i,e){if(typeof e=="undefined")return i.cloneNode(!0);{let t=i.cloneNode(!1);return t.innerHTML=e,t}},mergeAttrs(i,e,t={}){let n=t.exclude||[],r=t.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;n.indexOf(l)<0&&i.setAttribute(l,e.getAttribute(l))}let s=i.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;r?l.startsWith("data-")&&!e.hasAttribute(l)&&i.removeAttribute(l):e.hasAttribute(l)||i.removeAttribute(l)}},mergeFocusedInput(i,e){i instanceof HTMLSelectElement||lo.mergeAttrs(i,e,{exclude:["value"]}),e.readOnly?i.setAttribute("readonly",!0):i.removeAttribute("readonly")},hasSelectionRange(i){return i.setSelectionRange&&(i.type==="text"||i.type==="textarea")},restoreFocus(i,e,t){if(!lo.isTextualInput(i))return;let n=i.matches(":focus");i.readOnly&&i.blur(),n||i.focus(),this.hasSelectionRange(i)&&i.setSelectionRange(e,t)},isFormInput(i){return/^(?:input|select|textarea)$/i.test(i.tagName)&&i.type!=="button"},syncAttrsToProps(i){i instanceof HTMLInputElement&&BA.indexOf(i.type.toLocaleLowerCase())>=0&&(i.checked=i.getAttribute("checked")!==null)},isTextualInput(i){return Sj.indexOf(i.type)>=0},isNowTriggerFormExternal(i,e){return i.getAttribute&&i.getAttribute(e)!==null},syncPendingRef(i,e,t){let n=i.getAttribute(co);if(n===null)return!0;let r=i.getAttribute(qc);return lo.isFormInput(i)||i.getAttribute(t)!==null?(lo.isUploadInput(i)&&lo.mergeAttrs(i,e,{isIgnored:!0}),lo.putPrivate(i,co,e),!1):(OA.forEach(o=>{i.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(co,n),e.setAttribute(qc,r),!0)},cleanChildNodes(i,e){if(lo.isPhxUpdate(i,e,["append","prepend"])){let t=[];i.childNodes.forEach(n=>{n.id||(n.nodeType===Node.TEXT_NODE&&n.nodeValue.trim()===""||Mn(`only HTML element tags with an id are allowed inside containers with phx-update. removing illegal node: "${(n.outerHTML||n.nodeValue).trim()}" -`),t.push(n))}),t.forEach(n=>n.remove())}},replaceRootContainer(i,e,t){let n=new Set(["id",Fl,I0,$9,A0]);if(i.tagName.toLowerCase()===e.toLowerCase())return Array.from(i.attributes).filter(r=>!n.has(r.name.toLowerCase())).forEach(r=>i.removeAttribute(r.name)),Object.keys(t).filter(r=>!n.has(r.toLowerCase())).forEach(r=>i.setAttribute(r,t[r])),i;{let r=document.createElement(e);return Object.keys(t).forEach(o=>r.setAttribute(o,t[o])),n.forEach(o=>r.setAttribute(o,i.getAttribute(o))),r.innerHTML=i.innerHTML,i.replaceWith(r),r}},getSticky(i,e,t){let n=(No.private(i,"sticky")||[]).find(([r])=>e===r);if(n){let[r,o,s]=n;return s}else return typeof t=="function"?t():t},deleteSticky(i,e){this.updatePrivate(i,"sticky",[],t=>t.filter(([n,r])=>n!==e))},putSticky(i,e,t){let n=t(i);this.updatePrivate(i,"sticky",[],r=>{let o=r.findIndex(([s])=>e===s);return o>=0?r[o]=[e,t,n]:r.push([e,t,n]),r})},applyStickyOperations(i){let e=No.private(i,"sticky");e&&e.forEach(([t,n,r])=>this.putSticky(i,t,n))}},Y=No,U9=class{static isActive(i,e){let t=e._phxRef===void 0,r=i.getAttribute(j9).split(",").indexOf(Dn.genFileRef(e))>=0;return e.size>0&&(t||r)}static isPreflighted(i,e){return i.getAttribute(G9).split(",").indexOf(Dn.genFileRef(e))>=0&&this.isActive(i,e)}constructor(i,e,t){this.ref=Dn.genFileRef(e),this.fileEl=i,this.file=e,this.view=t,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener(i_,this._onElUpdated)}metadata(){return this.meta}progress(i){this._progress=Math.floor(i),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{Dn.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}cancel(){this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(i="failed"){this.fileEl.removeEventListener(i_,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:i}),Dn.clearFiles(this.fileEl)}onDone(i){this._onDone=()=>{this.fileEl.removeEventListener(i_,this._onElUpdated),i()}}onElUpdated(){this.fileEl.getAttribute(j9).split(",").indexOf(this.ref)===-1&&this.cancel()}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref}}uploader(i){if(this.meta.uploader){let e=i[this.meta.uploader]||Mn(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:Ij}}zipPostFlight(i){this.meta=i.entries[this.ref],this.meta||Mn(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:i})}},kj=0,Dn=class{static genFileRef(i){let e=i._phxRef;return e!==void 0?e:(i._phxRef=(kj++).toString(),i._phxRef)}static getEntryDataURL(i,e,t){let n=this.activeFiles(i).find(r=>this.genFileRef(r)===e);t(URL.createObjectURL(n))}static hasUploadsInProgress(i){let e=0;return Y.findUploadInputs(i).forEach(t=>{t.getAttribute(G9)!==t.getAttribute(cj)&&e++}),e>0}static serializeUploads(i){let e=this.activeFiles(i),t={};return e.forEach(n=>{let r={path:i.name},o=i.getAttribute(Gc);t[o]=t[o]||[],r.ref=this.genFileRef(n),r.last_modified=n.lastModified,r.name=n.name||r.ref,r.relative_path=n.webkitRelativePath,r.type=n.type,r.size=n.size,t[o].push(r)}),t}static clearFiles(i){i.value=null,i.removeAttribute(Gc),Y.putPrivate(i,"files",[])}static untrackFile(i,e){Y.putPrivate(i,"files",Y.private(i,"files").filter(t=>!Object.is(t,e)))}static trackFiles(i,e,t){if(i.getAttribute("multiple")!==null){let n=e.filter(r=>!this.activeFiles(i).find(o=>Object.is(o,r)));Y.putPrivate(i,"files",this.activeFiles(i).concat(n)),i.value=null}else t&&t.files.length>0&&(i.files=t.files),Y.putPrivate(i,"files",e)}static activeFileInputs(i){let e=Y.findUploadInputs(i);return Array.from(e).filter(t=>t.files&&this.activeFiles(t).length>0)}static activeFiles(i){return(Y.private(i,"files")||[]).filter(e=>U9.isActive(i,e))}static inputsAwaitingPreflight(i){let e=Y.findUploadInputs(i);return Array.from(e).filter(t=>this.filesAwaitingPreflight(t).length>0)}static filesAwaitingPreflight(i){return this.activeFiles(i).filter(e=>!U9.isPreflighted(i,e))}constructor(i,e,t){this.view=e,this.onComplete=t,this._entries=Array.from(Dn.filesAwaitingPreflight(i)||[]).map(n=>new U9(i,n,e)),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(i,e,t){this._entries=this._entries.map(r=>(r.zipPostFlight(i),r.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),r));let n=this._entries.reduce((r,o)=>{let{name:s,callback:a}=o.uploader(t.uploaders);return r[s]=r[s]||{callback:a,entries:[]},r[s].entries.push(o),r},{});for(let r in n){let{callback:o,entries:s}=n[r];o(s,e,i,t)}}},Aj={focusMain(){let i=document.querySelector("main h1, main, h1");if(i){let e=i.tabIndex;i.tabIndex=-1,i.focus(),i.tabIndex=e}},anyOf(i,e){return e.find(t=>i instanceof t)},isFocusable(i,e){return i instanceof HTMLAnchorElement&&i.rel!=="ignore"||i instanceof HTMLAreaElement&&i.href!==void 0||!i.disabled&&this.anyOf(i,[HTMLInputElement,HTMLSelectElement,HTMLTextAreaElement,HTMLButtonElement])||i instanceof HTMLIFrameElement||i.tabIndex>0||!e&&i.tabIndex===0&&i.getAttribute("tabindex")!==null&&i.getAttribute("aria-hidden")!=="true"},attemptFocus(i,e){if(this.isFocusable(i,e))try{i.focus()}catch(t){}return!!document.activeElement&&document.activeElement.isSameNode(i)},focusFirstInteractive(i){let e=i.firstElementChild;for(;e;){if(this.attemptFocus(e,!0)||this.focusFirstInteractive(e,!0))return!0;e=e.nextElementSibling}},focusFirst(i){let e=i.firstElementChild;for(;e;){if(this.attemptFocus(e)||this.focusFirst(e))return!0;e=e.nextElementSibling}},focusLast(i){let e=i.lastElementChild;for(;e;){if(this.attemptFocus(e)||this.focusLast(e))return!0;e=e.previousElementSibling}}},Yh=Aj,Lj={LiveFileUpload:{activeRefs(){return this.el.getAttribute(j9)},preflightedRefs(){return this.el.getAttribute(G9)},mounted(){this.preflightedWas=this.preflightedRefs()},updated(){let i=this.preflightedRefs();this.preflightedWas!==i&&(this.preflightedWas=i,i===""&&this.__view.cancelSubmit(this.el.form)),this.activeRefs()===""&&(this.el.value=null),this.el.dispatchEvent(new CustomEvent(i_))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(Gc)),Dn.getEntryDataURL(this.inputEl,this.ref,i=>{this.url=i,this.el.src=i})},destroyed(){URL.revokeObjectURL(this.url)}},FocusWrap:{mounted(){this.focusStart=this.el.firstElementChild,this.focusEnd=this.el.lastElementChild,this.focusStart.addEventListener("focus",()=>Yh.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Yh.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Yh.focusFirst(this.el)}}},Nj=Lj,Rj=class{constructor(i,e,t){let n=new Set,r=new Set([...e.children].map(s=>s.id)),o=[];Array.from(i.children).forEach(s=>{if(s.id&&(n.add(s.id),r.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=t,this.elementsToModify=o,this.elementIdsToAdd=[...r].filter(s=>!n.has(s))}perform(){let i=Y.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?Pl(document.getElementById(e.previousElementId),t=>{Pl(document.getElementById(e.elementId),n=>{n.previousElementSibling&&n.previousElementSibling.id==t.id||t.insertAdjacentElement("afterend",n)})}):Pl(document.getElementById(e.elementId),t=>{t.previousElementSibling==null||i.insertAdjacentElement("afterbegin",t)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{Pl(document.getElementById(e),t=>i.insertAdjacentElement("afterbegin",t))})}},yA=11;function Dj(i,e){var t=e.attributes,n,r,o,s,a;if(!(e.nodeType===yA||i.nodeType===yA)){for(var l=t.length-1;l>=0;l--)n=t[l],r=n.name,o=n.namespaceURI,s=n.value,o?(r=n.localName||r,a=i.getAttributeNS(o,r),a!==s&&(n.prefix==="xmlns"&&(r=n.name),i.setAttributeNS(o,r,s))):(a=i.getAttribute(r),a!==s&&i.setAttribute(r,s));for(var c=i.attributes,d=c.length-1;d>=0;d--)n=c[d],r=n.name,o=n.namespaceURI,o?(r=n.localName||r,e.hasAttributeNS(o,r)||i.removeAttributeNS(o,r)):e.hasAttribute(r)||i.removeAttribute(r)}}var Qg,Mj="http://www.w3.org/1999/xhtml",ur=typeof document=="undefined"?void 0:document,Oj=!!ur&&"content"in ur.createElement("template"),Pj=!!ur&&ur.createRange&&"createContextualFragment"in ur.createRange();function Fj(i){var e=ur.createElement("template");return e.innerHTML=i,e.content.childNodes[0]}function Hj(i){Qg||(Qg=ur.createRange(),Qg.selectNode(ur.body));var e=Qg.createContextualFragment(i);return e.childNodes[0]}function Bj(i){var e=ur.createElement("body");return e.innerHTML=i,e.childNodes[0]}function zj(i){return i=i.trim(),Oj?Fj(i):Pj?Hj(i):Bj(i)}function Zg(i,e){var t=i.nodeName,n=e.nodeName,r,o;return t===n?!0:(r=t.charCodeAt(0),o=n.charCodeAt(0),r<=90&&o>=97?t===n.toUpperCase():o<=90&&r>=97?n===t.toUpperCase():!1)}function Uj(i,e){return!e||e===Mj?ur.createElement(i):ur.createElementNS(e,i)}function Wj(i,e){for(var t=i.firstChild;t;){var n=t.nextSibling;e.appendChild(t),t=n}return e}function W9(i,e,t){i[t]!==e[t]&&(i[t]=e[t],i[t]?i.setAttribute(t,""):i.removeAttribute(t))}var SA={OPTION:function(i,e){var t=i.parentNode;if(t){var n=t.nodeName.toUpperCase();n==="OPTGROUP"&&(t=t.parentNode,n=t&&t.nodeName.toUpperCase()),n==="SELECT"&&!t.hasAttribute("multiple")&&(i.hasAttribute("selected")&&!e.selected&&(i.setAttribute("selected","selected"),i.removeAttribute("selected")),t.selectedIndex=-1)}W9(i,e,"selected")},INPUT:function(i,e){W9(i,e,"checked"),W9(i,e,"disabled"),i.value!==e.value&&(i.value=e.value),e.hasAttribute("value")||i.removeAttribute("value")},TEXTAREA:function(i,e){var t=e.value;i.value!==t&&(i.value=t);var n=i.firstChild;if(n){var r=n.nodeValue;if(r==t||!t&&r==i.placeholder)return;n.nodeValue=t}},SELECT:function(i,e){if(!e.hasAttribute("multiple")){for(var t=-1,n=0,r=i.firstChild,o,s;r;)if(s=r.nodeName&&r.nodeName.toUpperCase(),s==="OPTGROUP")o=r,r=o.firstChild;else{if(s==="OPTION"){if(r.hasAttribute("selected")){t=n;break}n++}r=r.nextSibling,!r&&o&&(r=o.nextSibling,o=null)}i.selectedIndex=t}}},E0=1,CA=11,wA=3,xA=8;function Ml(){}function jj(i){if(i)return i.getAttribute&&i.getAttribute("id")||i.id}function Vj(i){return function(t,n,r){if(r||(r={}),typeof n=="string")if(t.nodeName==="#document"||t.nodeName==="HTML"||t.nodeName==="BODY"){var o=n;n=ur.createElement("html"),n.innerHTML=o}else n=zj(n);else n.nodeType===CA&&(n=n.firstElementChild);var s=r.getNodeKey||jj,a=r.onBeforeNodeAdded||Ml,l=r.onNodeAdded||Ml,c=r.onBeforeElUpdated||Ml,d=r.onElUpdated||Ml,h=r.onBeforeNodeDiscarded||Ml,u=r.onNodeDiscarded||Ml,m=r.onBeforeElChildrenUpdated||Ml,p=r.skipFromChildren||Ml,f=r.addChild||function(Q,J){return Q.appendChild(J)},b=r.childrenOnly===!0,_=Object.create(null),C=[];function x(Q){C.push(Q)}function I(Q,J){if(Q.nodeType===E0)for(var j=Q.firstChild;j;){var H=void 0;J&&(H=s(j))?x(H):(u(j),j.firstChild&&I(j,J)),j=j.nextSibling}}function A(Q,J,j){h(Q)!==!1&&(J&&J.removeChild(Q),u(Q),I(Q,j))}function O(Q){if(Q.nodeType===E0||Q.nodeType===CA)for(var J=Q.firstChild;J;){var j=s(J);j&&(_[j]=J),O(J),J=J.nextSibling}}O(t);function D(Q){l(Q);for(var J=Q.firstChild;J;){var j=J.nextSibling,H=s(J);if(H){var U=_[H];U&&Zg(J,U)?(J.parentNode.replaceChild(U,J),G(U,J)):D(J)}else D(J);J=j}}function K(Q,J,j){for(;J;){var H=J.nextSibling;(j=s(J))?x(j):A(J,Q,!0),J=H}}function G(Q,J,j){var H=s(J);H&&delete _[H],!(!j&&(c(Q,J)===!1||(i(Q,J),d(Q),m(Q,J)===!1)))&&(Q.nodeName!=="TEXTAREA"?Se(Q,J):SA.TEXTAREA(Q,J))}function Se(Q,J){var j=p(Q),H=J.firstChild,U=Q.firstChild,X,Et,yi,ni,Ot;e:for(;H;){for(ni=H.nextSibling,X=s(H);!j&&U;){if(yi=U.nextSibling,H.isSameNode&&H.isSameNode(U)){H=ni,U=yi;continue e}Et=s(U);var Ai=U.nodeType,Pt=void 0;if(Ai===H.nodeType&&(Ai===E0?(X?X!==Et&&((Ot=_[X])?yi===Ot?Pt=!1:(Q.insertBefore(Ot,U),Et?x(Et):A(U,Q,!0),U=Ot):Pt=!1):Et&&(Pt=!1),Pt=Pt!==!1&&Zg(U,H),Pt&&G(U,H)):(Ai===wA||Ai==xA)&&(Pt=!0,U.nodeValue!==H.nodeValue&&(U.nodeValue=H.nodeValue))),Pt){H=ni,U=yi;continue e}Et?x(Et):A(U,Q,!0),U=yi}if(X&&(Ot=_[X])&&Zg(Ot,H))j||f(Q,Ot),G(Ot,H);else{var Un=a(H);Un!==!1&&(Un&&(H=Un),H.actualize&&(H=H.actualize(Q.ownerDocument||ur)),f(Q,H),D(H))}H=ni,U=yi}K(Q,U,Et);var Rr=SA[Q.nodeName];Rr&&Rr(Q,J)}var te=t,Ie=te.nodeType,Oe=n.nodeType;if(!b){if(Ie===E0)Oe===E0?Zg(t,n)||(u(t),te=Wj(t,Uj(n.nodeName,n.namespaceURI))):te=n;else if(Ie===wA||Ie===xA){if(Oe===Ie)return te.nodeValue!==n.nodeValue&&(te.nodeValue=n.nodeValue),te;te=n}}if(te===n)u(t);else{if(n.isSameNode&&n.isSameNode(te))return;if(G(te,n,b),C)for(var He=0,Xe=C.length;He{if(t&&t.isSameNode(n)&&Y.isFormInput(n))return Y.mergeFocusedInput(n,r),!1}})}constructor(i,e,t,n,r,o){this.view=i,this.liveSocket=i.liveSocket,this.container=e,this.id=t,this.rootID=i.root.id,this.html=n,this.streams=r,this.streamInserts={},this.targetCID=o,this.cidPatch=Ol(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]}}before(i,e){this.callbacks[`before${i}`].push(e)}after(i,e){this.callbacks[`after${i}`].push(e)}trackBefore(i,...e){this.callbacks[`before${i}`].forEach(t=>t(...e))}trackAfter(i,...e){this.callbacks[`after${i}`].forEach(t=>t(...e))}markPrunableContentForRemoval(){let i=this.liveSocket.binding(s_);Y.all(this.container,`[${i}=${F9}]`,e=>e.innerHTML=""),Y.all(this.container,`[${i}=append] > *, [${i}=prepend] > *`,e=>{e.setAttribute(lA,"")})}perform(){let{view:i,liveSocket:e,container:t,html:n}=this,r=this.isCIDPatch()?this.targetCIDContainer(n):t;if(this.isCIDPatch()&&!r)return;let o=e.getActiveElement(),{selectionStart:s,selectionEnd:a}=o&&Y.hasSelectionRange(o)?o:{},l=e.binding(s_),c=e.binding(r_),d=e.binding(q9),h=e.binding(dj),u=[],m=[],p=[],f=null,b=e.time("premorph container prep",()=>this.buildDiffHTML(t,n,l,r));return this.trackBefore("added",t),this.trackBefore("updated",t,t),e.time("morphdom",()=>{this.streams.forEach(([_,C])=>{this.streamInserts=Object.assign(this.streamInserts,_),C.forEach(x=>{let I=t.querySelector(`[id="${x}"]`);I&&(this.maybePendingRemove(I)||(I.remove(),this.onNodeDiscarded(I)))})}),EA(r,b,{childrenOnly:r.getAttribute(Wr)===null,getNodeKey:_=>Y.isPhxDestroyed(_)?null:_.id,skipFromChildren:_=>_.getAttribute(l)===F9,addChild:(_,C)=>{let x=C.id?this.streamInserts[C.id]:void 0;if(x===void 0)return _.appendChild(C);if(x===0)_.insertAdjacentElement("afterbegin",C);else if(x===-1)_.appendChild(C);else if(x>0){let I=Array.from(_.children)[x];_.insertBefore(C,I)}},onBeforeNodeAdded:_=>(this.trackBefore("added",_),_),onNodeAdded:_=>{_ instanceof HTMLImageElement&&_.srcset?_.srcset=_.srcset:_ instanceof HTMLVideoElement&&_.autoplay&&_.play(),Y.isNowTriggerFormExternal(_,h)&&(f=_),Y.discardError(r,_,c),(Y.isPhxChild(_)&&i.ownsElement(_)||Y.isPhxSticky(_)&&i.ownsElement(_.parentNode))&&this.trackAfter("phxChildAdded",_),u.push(_)},onNodeDiscarded:_=>this.onNodeDiscarded(_),onBeforeNodeDiscarded:_=>_.getAttribute&&_.getAttribute(lA)!==null?!0:!(_.parentElement!==null&&_.id&&Y.isPhxUpdate(_.parentElement,l,[F9,"append","prepend"])||this.maybePendingRemove(_)||this.skipCIDSibling(_)),onElUpdated:_=>{Y.isNowTriggerFormExternal(_,h)&&(f=_),m.push(_),this.maybeReOrderStream(_)},onBeforeElUpdated:(_,C)=>{if(Y.cleanChildNodes(C,l),this.skipCIDSibling(C)||Y.isPhxSticky(_))return!1;if(Y.isIgnored(_,l)||_.form&&_.form.isSameNode(f))return this.trackBefore("updated",_,C),Y.mergeAttrs(_,C,{isIgnored:!0}),m.push(_),Y.applyStickyOperations(_),!1;if(_.type==="number"&&_.validity&&_.validity.badInput)return!1;if(!Y.syncPendingRef(_,C,d))return Y.isUploadInput(_)&&(this.trackBefore("updated",_,C),m.push(_)),Y.applyStickyOperations(_),!1;if(Y.isPhxChild(C)){let I=_.getAttribute(Fl);return Y.mergeAttrs(_,C,{exclude:[I0]}),I!==""&&_.setAttribute(Fl,I),_.setAttribute(A0,this.rootID),Y.applyStickyOperations(_),!1}return Y.copyPrivates(C,_),Y.discardError(r,C,c),o&&_.isSameNode(o)&&Y.isFormInput(_)&&_.type!=="hidden"?(this.trackBefore("updated",_,C),Y.mergeFocusedInput(_,C),Y.syncAttrsToProps(_),m.push(_),Y.applyStickyOperations(_),!1):(Y.isPhxUpdate(C,l,["append","prepend"])&&p.push(new Rj(_,C,C.getAttribute(l))),Y.syncAttrsToProps(C),Y.applyStickyOperations(C),this.trackBefore("updated",_,C),!0)}})}),e.isDebugEnabled()&&xj(),p.length>0&&e.time("post-morph append/prepend restoration",()=>{p.forEach(_=>_.perform())}),e.silenceEvents(()=>Y.restoreFocus(o,s,a)),Y.dispatchEvent(document,"phx:update"),u.forEach(_=>this.trackAfter("added",_)),m.forEach(_=>this.trackAfter("updated",_)),this.transitionPendingRemoves(),f&&(e.unload(),f.submit()),!0}onNodeDiscarded(i){(Y.isPhxChild(i)||Y.isPhxSticky(i))&&this.liveSocket.destroyViewByEl(i),this.trackAfter("discarded",i)}maybePendingRemove(i){return i.getAttribute&&i.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(i),!0):!1}maybeReOrderStream(i){let e=i.id?this.streamInserts[i.id]:void 0;if(e!==void 0){if(e===0)i.parentElement.insertBefore(i,i.parentElement.firstElementChild);else if(e>0){let t=Array.from(i.parentElement.children),n=t.indexOf(i);if(e>=t.length-1)i.parentElement.appendChild(i);else{let r=t[e];n>e?i.parentElement.insertBefore(i,r):i.parentElement.insertBefore(i,r.nextElementSibling)}}}}transitionPendingRemoves(){let{pendingRemoves:i,liveSocket:e}=this;i.length>0&&(e.transitionRemoves(i),e.requestDOMUpdate(()=>{i.forEach(t=>{let n=Y.firstPhxChild(t);n&&e.destroyViewByEl(n),t.remove()}),this.trackAfter("transitionsDiscarded",i)}))}isCIDPatch(){return this.cidPatch}skipCIDSibling(i){return i.nodeType===Node.ELEMENT_NODE&&i.getAttribute(V9)!==null}targetCIDContainer(i){if(!this.isCIDPatch())return;let[e,...t]=Y.findComponentNodeList(this.container,this.targetCID);return t.length===0&&Y.childNodeLength(i)===1?e:e&&e.parentNode}buildDiffHTML(i,e,t,n){let r=this.isCIDPatch(),o=r&&n.getAttribute(Wr)===this.targetCID.toString();if(!r||o)return e;{let s=null,a=document.createElement("template");s=Y.cloneNode(n);let[l,...c]=Y.findComponentNodeList(s,this.targetCID);return a.innerHTML=e,c.forEach(d=>d.remove()),Array.from(s.childNodes).forEach(d=>{d.id&&d.nodeType===Node.ELEMENT_NODE&&d.getAttribute(Wr)!==this.targetCID.toString()&&(d.setAttribute(V9,""),d.innerHTML="")}),Array.from(a.content.childNodes).forEach(d=>s.insertBefore(d,l)),l.remove(),s.outerHTML}}indexOf(i,e){return Array.from(i.children).indexOf(e)}},TA=class{static extract(i){let{[_A]:e,[gA]:t,[vA]:n}=i;return delete i[_A],delete i[gA],delete i[vA],{diff:i,title:n,reply:e||null,events:t||[]}}constructor(i,e){this.viewId=i,this.rendered={},this.mergeDiff(e)}parentViewId(){return this.viewId}toString(i){let[e,t]=this.recursiveToString(this.rendered,this.rendered[Ur],i);return[e,t]}recursiveToString(i,e=i[Ur],t){t=t?new Set(t):null;let n={buffer:"",components:e,onlyCids:t,streams:new Set};return this.toOutputBuffer(i,null,n),[n.buffer,n.streams]}componentCIDs(i){return Object.keys(i[Ur]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(i){return i[Ur]?Object.keys(i).length===1:!1}getComponent(i,e){return i[Ur][e]}mergeDiff(i){let e=i[Ur],t={};if(delete i[Ur],this.rendered=this.mutableMerge(this.rendered,i),this.rendered[Ur]=this.rendered[Ur]||{},e){let n=this.rendered[Ur];for(let r in e)e[r]=this.cachedFindComponent(r,e[r],n,e,t);for(let r in e)n[r]=e[r];i[Ur]=e}}cachedFindComponent(i,e,t,n,r){if(r[i])return r[i];{let o,s,a=e[fs];if(Ol(a)){let l;a>0?l=this.cachedFindComponent(a,n[a],t,n,r):l=t[-a],s=l[fs],o=this.cloneMerge(l,e),o[fs]=s}else o=e[fs]!==void 0?e:this.cloneMerge(t[i]||{},e);return r[i]=o,o}}mutableMerge(i,e){return e[fs]!==void 0?e:(this.doMutableMerge(i,e),i)}doMutableMerge(i,e){for(let t in e){let n=e[t],r=i[t];x0(n)&&n[fs]===void 0&&x0(r)?this.doMutableMerge(r,n):i[t]=n}}cloneMerge(i,e){let t=ge(ge({},i),e);for(let n in t){let r=e[n],o=i[n];x0(r)&&r[fs]===void 0&&x0(o)&&(t[n]=this.cloneMerge(o,r))}return t}componentToString(i){let[e,t]=this.recursiveCIDToString(this.rendered[Ur],i);return[e,t]}pruneCIDs(i){i.forEach(e=>delete this.rendered[Ur][e])}get(){return this.rendered}isNewFingerprint(i={}){return!!i[fs]}templateStatic(i,e){return typeof i=="number"?e[i]:i}toOutputBuffer(i,e,t){if(i[Xg])return this.comprehensionToBuffer(i,e,t);let{[fs]:n}=i;n=this.templateStatic(n,e),t.buffer+=n[0];for(let r=1;r0||a.length>0)&&(i[Xg]=[],t.streams.add(o))}dynamicToBuffer(i,e,t){if(typeof i=="number"){let[n,r]=this.recursiveCIDToString(t.components,i,t.onlyCids);t.buffer+=n,t.streams=new Set([...t.streams,...r])}else x0(i)?this.toOutputBuffer(i,e,t):t.buffer+=i}recursiveCIDToString(i,e,t){let n=i[e]||Mn(`no component for CID ${e}`,i),r=document.createElement("template"),[o,s]=this.recursiveToString(n,i,t);r.innerHTML=o;let a=r.content,l=t&&!t.has(e),[c,d]=Array.from(a.childNodes).reduce(([h,u],m,p)=>m.nodeType===Node.ELEMENT_NODE?m.getAttribute(Wr)?[h,!0]:(m.setAttribute(Wr,e),m.id||(m.id=`${this.parentViewId()}-${e}-${p}`),l&&(m.setAttribute(V9,""),m.innerHTML=""),[!0,u]):m.nodeValue.trim()!==""?(Mn(`only HTML element tags are allowed at the root of components. +`),t.push(n))}),t.forEach(n=>n.remove())}},replaceRootContainer(i,e,t){let n=new Set(["id",Fl,A0,Q9,N0]);if(i.tagName.toLowerCase()===e.toLowerCase())return Array.from(i.attributes).filter(r=>!n.has(r.name.toLowerCase())).forEach(r=>i.removeAttribute(r.name)),Object.keys(t).filter(r=>!n.has(r.toLowerCase())).forEach(r=>i.setAttribute(r,t[r])),i;{let r=document.createElement(e);return Object.keys(t).forEach(o=>r.setAttribute(o,t[o])),n.forEach(o=>r.setAttribute(o,i.getAttribute(o))),r.innerHTML=i.innerHTML,i.replaceWith(r),r}},getSticky(i,e,t){let n=(lo.private(i,"sticky")||[]).find(([r])=>e===r);if(n){let[r,o,s]=n;return s}else return typeof t=="function"?t():t},deleteSticky(i,e){this.updatePrivate(i,"sticky",[],t=>t.filter(([n,r])=>n!==e))},putSticky(i,e,t){let n=t(i);this.updatePrivate(i,"sticky",[],r=>{let o=r.findIndex(([s])=>e===s);return o>=0?r[o]=[e,t,n]:r.push([e,t,n]),r})},applyStickyOperations(i){let e=lo.private(i,"sticky");e&&e.forEach(([t,n,r])=>this.putSticky(i,t,n))}},$=lo,V9=class{static isActive(i,e){let t=e._phxRef===void 0,r=i.getAttribute(q9).split(",").indexOf(Dn.genFileRef(e))>=0;return e.size>0&&(t||r)}static isPreflighted(i,e){return i.getAttribute(X9).split(",").indexOf(Dn.genFileRef(e))>=0&&this.isActive(i,e)}constructor(i,e,t){this.ref=Dn.genFileRef(e),this.fileEl=i,this.file=e,this.view=t,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener(r_,this._onElUpdated)}metadata(){return this.meta}progress(i){this._progress=Math.floor(i),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{Dn.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}cancel(){this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(i="failed"){this.fileEl.removeEventListener(r_,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:i}),Dn.clearFiles(this.fileEl)}onDone(i){this._onDone=()=>{this.fileEl.removeEventListener(r_,this._onElUpdated),i()}}onElUpdated(){this.fileEl.getAttribute(q9).split(",").indexOf(this.ref)===-1&&this.cancel()}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref}}uploader(i){if(this.meta.uploader){let e=i[this.meta.uploader]||Mn(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:Pj}}zipPostFlight(i){this.meta=i.entries[this.ref],this.meta||Mn(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:i})}},Fj=0,Dn=class{static genFileRef(i){let e=i._phxRef;return e!==void 0?e:(i._phxRef=(Fj++).toString(),i._phxRef)}static getEntryDataURL(i,e,t){let n=this.activeFiles(i).find(r=>this.genFileRef(r)===e);t(URL.createObjectURL(n))}static hasUploadsInProgress(i){let e=0;return $.findUploadInputs(i).forEach(t=>{t.getAttribute(X9)!==t.getAttribute(bj)&&e++}),e>0}static serializeUploads(i){let e=this.activeFiles(i),t={};return e.forEach(n=>{let r={path:i.name},o=i.getAttribute(Gc);t[o]=t[o]||[],r.ref=this.genFileRef(n),r.last_modified=n.lastModified,r.name=n.name||r.ref,r.relative_path=n.webkitRelativePath,r.type=n.type,r.size=n.size,t[o].push(r)}),t}static clearFiles(i){i.value=null,i.removeAttribute(Gc),$.putPrivate(i,"files",[])}static untrackFile(i,e){$.putPrivate(i,"files",$.private(i,"files").filter(t=>!Object.is(t,e)))}static trackFiles(i,e,t){if(i.getAttribute("multiple")!==null){let n=e.filter(r=>!this.activeFiles(i).find(o=>Object.is(o,r)));$.putPrivate(i,"files",this.activeFiles(i).concat(n)),i.value=null}else t&&t.files.length>0&&(i.files=t.files),$.putPrivate(i,"files",e)}static activeFileInputs(i){let e=$.findUploadInputs(i);return Array.from(e).filter(t=>t.files&&this.activeFiles(t).length>0)}static activeFiles(i){return($.private(i,"files")||[]).filter(e=>V9.isActive(i,e))}static inputsAwaitingPreflight(i){let e=$.findUploadInputs(i);return Array.from(e).filter(t=>this.filesAwaitingPreflight(t).length>0)}static filesAwaitingPreflight(i){return this.activeFiles(i).filter(e=>!V9.isPreflighted(i,e))}constructor(i,e,t){this.view=e,this.onComplete=t,this._entries=Array.from(Dn.filesAwaitingPreflight(i)||[]).map(n=>new V9(i,n,e)),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(i,e,t){this._entries=this._entries.map(r=>(r.zipPostFlight(i),r.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),r));let n=this._entries.reduce((r,o)=>{let{name:s,callback:a}=o.uploader(t.uploaders);return r[s]=r[s]||{callback:a,entries:[]},r[s].entries.push(o),r},{});for(let r in n){let{callback:o,entries:s}=n[r];o(s,e,i,t)}}},Hj={focusMain(){let i=document.querySelector("main h1, main, h1");if(i){let e=i.tabIndex;i.tabIndex=-1,i.focus(),i.tabIndex=e}},anyOf(i,e){return e.find(t=>i instanceof t)},isFocusable(i,e){return i instanceof HTMLAnchorElement&&i.rel!=="ignore"||i instanceof HTMLAreaElement&&i.href!==void 0||!i.disabled&&this.anyOf(i,[HTMLInputElement,HTMLSelectElement,HTMLTextAreaElement,HTMLButtonElement])||i instanceof HTMLIFrameElement||i.tabIndex>0||!e&&i.tabIndex===0&&i.getAttribute("tabindex")!==null&&i.getAttribute("aria-hidden")!=="true"},attemptFocus(i,e){if(this.isFocusable(i,e))try{i.focus()}catch(t){}return!!document.activeElement&&document.activeElement.isSameNode(i)},focusFirstInteractive(i){let e=i.firstElementChild;for(;e;){if(this.attemptFocus(e,!0)||this.focusFirstInteractive(e,!0))return!0;e=e.nextElementSibling}},focusFirst(i){let e=i.firstElementChild;for(;e;){if(this.attemptFocus(e)||this.focusFirst(e))return!0;e=e.nextElementSibling}},focusLast(i){let e=i.lastElementChild;for(;e;){if(this.attemptFocus(e)||this.focusLast(e))return!0;e=e.previousElementSibling}}},Yh=Hj,UA={LiveFileUpload:{activeRefs(){return this.el.getAttribute(q9)},preflightedRefs(){return this.el.getAttribute(X9)},mounted(){this.preflightedWas=this.preflightedRefs()},updated(){let i=this.preflightedRefs();this.preflightedWas!==i&&(this.preflightedWas=i,i===""&&this.__view.cancelSubmit(this.el.form)),this.activeRefs()===""&&(this.el.value=null),this.el.dispatchEvent(new CustomEvent(r_))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(Gc)),Dn.getEntryDataURL(this.inputEl,this.ref,i=>{this.url=i,this.el.src=i})},destroyed(){URL.revokeObjectURL(this.url)}},FocusWrap:{mounted(){this.focusStart=this.el.firstElementChild,this.focusEnd=this.el.lastElementChild,this.focusStart.addEventListener("focus",()=>Yh.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Yh.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Yh.focusFirst(this.el)}}},EA=()=>document.documentElement.scrollTop||document.body.scrollTop,J9=()=>window.innerHeight||document.documentElement.clientHeight,Bj=i=>{let e=i.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=J9()},zj=i=>{let e=i.getBoundingClientRect();return e.right>=0&&e.left>=0&&e.bottom<=J9()},TA=i=>{let e=i.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=J9()};UA.InfiniteScroll={mounted(){let i=EA(),e=!1,t=500,n=null,r=this.throttle(t,(a,l)=>{n=()=>!0,this.liveSocket.execJSHookPush(this.el,a,{id:l.id,_overran:!0},()=>{n=null})}),o=this.throttle(t,(a,l)=>{n=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{n=null,TA(l)||l.scrollIntoView({block:"start"})})}),s=this.throttle(t,(a,l)=>{n=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{n=null,TA(l)||l.scrollIntoView({block:"end"})})});this.onScroll=a=>{let l=EA();if(n)return i=l,n();let c=this.el.getBoundingClientRect(),d=this.el.getAttribute(this.liveSocket.binding("viewport-top")),h=this.el.getAttribute(this.liveSocket.binding("viewport-bottom")),u=this.el.lastElementChild,m=this.el.firstElementChild,p=li;p&&d&&!e&&c.top>=0?(e=!0,r(d,m)):f&&e&&c.top<=0&&(e=!1),d&&p&&Bj(m)?o(d,m):h&&f&&zj(u)&&s(h,u),i=l},window.addEventListener("scroll",this.onScroll)},destroyed(){window.removeEventListener("scroll",this.onScroll)},throttle(i,e){let t=0,n;return(...r)=>{let o=Date.now(),s=i-(o-t);s<=0||s>i?(n&&(clearTimeout(n),n=null),t=o,e(...r)):n||(n=setTimeout(()=>{t=Date.now(),n=null,e(...r)},s))}}};var Uj=UA,Wj=class{constructor(i,e,t){let n=new Set,r=new Set([...e.children].map(s=>s.id)),o=[];Array.from(i.children).forEach(s=>{if(s.id&&(n.add(s.id),r.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=t,this.elementsToModify=o,this.elementIdsToAdd=[...r].filter(s=>!n.has(s))}perform(){let i=$.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?Pl(document.getElementById(e.previousElementId),t=>{Pl(document.getElementById(e.elementId),n=>{n.previousElementSibling&&n.previousElementSibling.id==t.id||t.insertAdjacentElement("afterend",n)})}):Pl(document.getElementById(e.elementId),t=>{t.previousElementSibling==null||i.insertAdjacentElement("afterbegin",t)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{Pl(document.getElementById(e),t=>i.insertAdjacentElement("afterbegin",t))})}},IA=11;function jj(i,e){var t=e.attributes,n,r,o,s,a;if(!(e.nodeType===IA||i.nodeType===IA)){for(var l=t.length-1;l>=0;l--)n=t[l],r=n.name,o=n.namespaceURI,s=n.value,o?(r=n.localName||r,a=i.getAttributeNS(o,r),a!==s&&(n.prefix==="xmlns"&&(r=n.name),i.setAttributeNS(o,r,s))):(a=i.getAttribute(r),a!==s&&i.setAttribute(r,s));for(var c=i.attributes,d=c.length-1;d>=0;d--)n=c[d],r=n.name,o=n.namespaceURI,o?(r=n.localName||r,e.hasAttributeNS(o,r)||i.removeAttributeNS(o,r)):e.hasAttribute(r)||i.removeAttribute(r)}}var Zg,Vj="http://www.w3.org/1999/xhtml",ur=typeof document=="undefined"?void 0:document,Kj=!!ur&&"content"in ur.createElement("template"),qj=!!ur&&ur.createRange&&"createContextualFragment"in ur.createRange();function Gj(i){var e=ur.createElement("template");return e.innerHTML=i,e.content.childNodes[0]}function $j(i){Zg||(Zg=ur.createRange(),Zg.selectNode(ur.body));var e=Zg.createContextualFragment(i);return e.childNodes[0]}function Yj(i){var e=ur.createElement("body");return e.innerHTML=i,e.childNodes[0]}function Xj(i){return i=i.trim(),Kj?Gj(i):qj?$j(i):Yj(i)}function e_(i,e){var t=i.nodeName,n=e.nodeName,r,o;return t===n?!0:(r=t.charCodeAt(0),o=n.charCodeAt(0),r<=90&&o>=97?t===n.toUpperCase():o<=90&&r>=97?n===t.toUpperCase():!1)}function Qj(i,e){return!e||e===Vj?ur.createElement(i):ur.createElementNS(e,i)}function Jj(i,e){for(var t=i.firstChild;t;){var n=t.nextSibling;e.appendChild(t),t=n}return e}function K9(i,e,t){i[t]!==e[t]&&(i[t]=e[t],i[t]?i.setAttribute(t,""):i.removeAttribute(t))}var kA={OPTION:function(i,e){var t=i.parentNode;if(t){var n=t.nodeName.toUpperCase();n==="OPTGROUP"&&(t=t.parentNode,n=t&&t.nodeName.toUpperCase()),n==="SELECT"&&!t.hasAttribute("multiple")&&(i.hasAttribute("selected")&&!e.selected&&(i.setAttribute("selected","selected"),i.removeAttribute("selected")),t.selectedIndex=-1)}K9(i,e,"selected")},INPUT:function(i,e){K9(i,e,"checked"),K9(i,e,"disabled"),i.value!==e.value&&(i.value=e.value),e.hasAttribute("value")||i.removeAttribute("value")},TEXTAREA:function(i,e){var t=e.value;i.value!==t&&(i.value=t);var n=i.firstChild;if(n){var r=n.nodeValue;if(r==t||!t&&r==i.placeholder)return;n.nodeValue=t}},SELECT:function(i,e){if(!e.hasAttribute("multiple")){for(var t=-1,n=0,r=i.firstChild,o,s;r;)if(s=r.nodeName&&r.nodeName.toUpperCase(),s==="OPTGROUP")o=r,r=o.firstChild;else{if(s==="OPTION"){if(r.hasAttribute("selected")){t=n;break}n++}r=r.nextSibling,!r&&o&&(r=o.nextSibling,o=null)}i.selectedIndex=t}}},I0=1,AA=11,LA=3,NA=8;function Ml(){}function Zj(i){if(i)return i.getAttribute&&i.getAttribute("id")||i.id}function eV(i){return function(t,n,r){if(r||(r={}),typeof n=="string")if(t.nodeName==="#document"||t.nodeName==="HTML"||t.nodeName==="BODY"){var o=n;n=ur.createElement("html"),n.innerHTML=o}else n=Xj(n);else n.nodeType===AA&&(n=n.firstElementChild);var s=r.getNodeKey||Zj,a=r.onBeforeNodeAdded||Ml,l=r.onNodeAdded||Ml,c=r.onBeforeElUpdated||Ml,d=r.onElUpdated||Ml,h=r.onBeforeNodeDiscarded||Ml,u=r.onNodeDiscarded||Ml,m=r.onBeforeElChildrenUpdated||Ml,p=r.skipFromChildren||Ml,f=r.addChild||function(Q,Z){return Q.appendChild(Z)},v=r.childrenOnly===!0,b=Object.create(null),C=[];function E(Q){C.push(Q)}function w(Q,Z){if(Q.nodeType===I0)for(var V=Q.firstChild;V;){var H=void 0;Z&&(H=s(V))?E(H):(u(V),V.firstChild&&w(V,Z)),V=V.nextSibling}}function k(Q,Z,V){h(Q)!==!1&&(Z&&Z.removeChild(Q),u(Q),w(Q,V))}function O(Q){if(Q.nodeType===I0||Q.nodeType===AA)for(var Z=Q.firstChild;Z;){var V=s(Z);V&&(b[V]=Z),O(Z),Z=Z.nextSibling}}O(t);function D(Q){l(Q);for(var Z=Q.firstChild;Z;){var V=Z.nextSibling,H=s(Z);if(H){var U=b[H];U&&e_(Z,U)?(Z.parentNode.replaceChild(U,Z),q(U,Z)):D(Z)}else D(Z);Z=V}}function W(Q,Z,V){for(;Z;){var H=Z.nextSibling;(V=s(Z))?E(V):k(Z,Q,!0),Z=H}}function q(Q,Z,V){var H=s(Z);H&&delete b[H],!(!V&&(c(Q,Z)===!1||(i(Q,Z),d(Q),m(Q,Z)===!1)))&&(Q.nodeName!=="TEXTAREA"?_e(Q,Z):kA.TEXTAREA(Q,Z))}function _e(Q,Z){var V=p(Q),H=Z.firstChild,U=Q.firstChild,X,Et,yi,ni,Ot;e:for(;H;){for(ni=H.nextSibling,X=s(H);!V&&U;){if(yi=U.nextSibling,H.isSameNode&&H.isSameNode(U)){H=ni,U=yi;continue e}Et=s(U);var Ai=U.nodeType,Pt=void 0;if(Ai===H.nodeType&&(Ai===I0?(X?X!==Et&&((Ot=b[X])?yi===Ot?Pt=!1:(Q.insertBefore(Ot,U),Et?E(Et):k(U,Q,!0),U=Ot):Pt=!1):Et&&(Pt=!1),Pt=Pt!==!1&&e_(U,H),Pt&&q(U,H)):(Ai===LA||Ai==NA)&&(Pt=!0,U.nodeValue!==H.nodeValue&&(U.nodeValue=H.nodeValue))),Pt){H=ni,U=yi;continue e}Et?E(Et):k(U,Q,!0),U=yi}if(X&&(Ot=b[X])&&e_(Ot,H))V||f(Q,Ot),q(Ot,H);else{var Un=a(H);Un!==!1&&(Un&&(H=Un),H.actualize&&(H=H.actualize(Q.ownerDocument||ur)),f(Q,H),D(H))}H=ni,U=yi}W(Q,U,Et);var Rr=kA[Q.nodeName];Rr&&Rr(Q,Z)}var ee=t,Ie=ee.nodeType,Oe=n.nodeType;if(!v){if(Ie===I0)Oe===I0?e_(t,n)||(u(t),ee=Jj(t,Qj(n.nodeName,n.namespaceURI))):ee=n;else if(Ie===LA||Ie===NA){if(Oe===Ie)return ee.nodeValue!==n.nodeValue&&(ee.nodeValue=n.nodeValue),ee;ee=n}}if(ee===n)u(t);else{if(n.isSameNode&&n.isSameNode(ee))return;if(q(ee,n,v),C)for(var He=0,Xe=C.length;He{if(t&&t.isSameNode(n)&&$.isFormInput(n))return $.mergeFocusedInput(n,r),!1}})}constructor(i,e,t,n,r,o){this.view=i,this.liveSocket=i.liveSocket,this.container=e,this.id=t,this.rootID=i.root.id,this.html=n,this.streams=r,this.streamInserts={},this.targetCID=o,this.cidPatch=Ol(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]}}before(i,e){this.callbacks[`before${i}`].push(e)}after(i,e){this.callbacks[`after${i}`].push(e)}trackBefore(i,...e){this.callbacks[`before${i}`].forEach(t=>t(...e))}trackAfter(i,...e){this.callbacks[`after${i}`].forEach(t=>t(...e))}markPrunableContentForRemoval(){let i=this.liveSocket.binding(l_);$.all(this.container,`[${i}=${B9}]`,e=>e.innerHTML=""),$.all(this.container,`[${i}=append] > *, [${i}=prepend] > *`,e=>{e.setAttribute(uA,"")})}perform(){let{view:i,liveSocket:e,container:t,html:n}=this,r=this.isCIDPatch()?this.targetCIDContainer(n):t;if(this.isCIDPatch()&&!r)return;let o=e.getActiveElement(),{selectionStart:s,selectionEnd:a}=o&&$.hasSelectionRange(o)?o:{},l=e.binding(l_),c=e.binding(s_),d=e.binding(Y9),h=e.binding(FA),u=e.binding(HA),m=e.binding(yj),p=[],f=[],v=[],b=[],C=null,E=e.time("premorph container prep",()=>this.buildDiffHTML(t,n,l,r));return this.trackBefore("added",t),this.trackBefore("updated",t,t),e.time("morphdom",()=>{this.streams.forEach(([w,k,O,D])=>{Object.entries(k).forEach(([W,[q,_e]])=>{this.streamInserts[W]={ref:w,streamAt:q,limit:_e}}),D!==void 0&&$.all(t,`[${x0}="${w}"]`,W=>{this.removeStreamChildElement(W)}),O.forEach(W=>{let q=t.querySelector(`[id="${W}"]`);q&&this.removeStreamChildElement(q)})}),RA(r,E,{childrenOnly:r.getAttribute(Wr)===null,getNodeKey:w=>$.isPhxDestroyed(w)?null:w.id,skipFromChildren:w=>w.getAttribute(l)===B9,addChild:(w,k)=>{let{ref:O,streamAt:D,limit:W}=this.getStreamInsert(k);if(O===void 0)return w.appendChild(k);if($.putSticky(k,x0,ee=>ee.setAttribute(x0,O)),D===0)w.insertAdjacentElement("afterbegin",k);else if(D===-1)w.appendChild(k);else if(D>0){let ee=Array.from(w.children)[D];w.insertBefore(k,ee)}let q=W!==null&&Array.from(w.children),_e=[];W&&W<0&&q.length>W*-1?_e=q.slice(0,q.length+W):W&&W>=0&&q.length>W&&(_e=q.slice(W)),_e.forEach(ee=>{this.streamInserts[ee.id]||this.removeStreamChildElement(ee)})},onBeforeNodeAdded:w=>($.maybeAddPrivateHooks(w,h,u),this.trackBefore("added",w),w),onNodeAdded:w=>{w.getAttribute&&this.maybeReOrderStream(w),w instanceof HTMLImageElement&&w.srcset?w.srcset=w.srcset:w instanceof HTMLVideoElement&&w.autoplay&&w.play(),$.isNowTriggerFormExternal(w,m)&&(C=w),w.getAttribute&&w.getAttribute("name")&&$.isFormInput(w)&&f.push(w),($.isPhxChild(w)&&i.ownsElement(w)||$.isPhxSticky(w)&&i.ownsElement(w.parentNode))&&this.trackAfter("phxChildAdded",w),p.push(w)},onNodeDiscarded:w=>this.onNodeDiscarded(w),onBeforeNodeDiscarded:w=>w.getAttribute&&w.getAttribute(uA)!==null?!0:!(w.parentElement!==null&&w.id&&$.isPhxUpdate(w.parentElement,l,[B9,"append","prepend"])||this.maybePendingRemove(w)||this.skipCIDSibling(w)),onElUpdated:w=>{$.isNowTriggerFormExternal(w,m)&&(C=w),v.push(w),this.maybeReOrderStream(w)},onBeforeElUpdated:(w,k)=>{if($.cleanChildNodes(k,l),this.skipCIDSibling(k)||$.isPhxSticky(w))return!1;if($.isIgnored(w,l)||w.form&&w.form.isSameNode(C))return this.trackBefore("updated",w,k),$.mergeAttrs(w,k,{isIgnored:!0}),v.push(w),$.applyStickyOperations(w),!1;if(w.type==="number"&&w.validity&&w.validity.badInput)return!1;if(!$.syncPendingRef(w,k,d))return $.isUploadInput(w)&&(this.trackBefore("updated",w,k),v.push(w)),$.applyStickyOperations(w),!1;if($.isPhxChild(k)){let D=w.getAttribute(Fl);return $.mergeAttrs(w,k,{exclude:[A0]}),D!==""&&w.setAttribute(Fl,D),w.setAttribute(N0,this.rootID),$.applyStickyOperations(w),!1}return $.copyPrivates(k,w),o&&w.isSameNode(o)&&$.isFormInput(w)&&w.type!=="hidden"?(this.trackBefore("updated",w,k),$.mergeFocusedInput(w,k),$.syncAttrsToProps(w),v.push(w),$.applyStickyOperations(w),f.push(w),!1):($.isPhxUpdate(k,l,["append","prepend"])&&b.push(new Wj(w,k,k.getAttribute(l))),$.maybeAddPrivateHooks(k,h,u),$.syncAttrsToProps(k),$.applyStickyOperations(k),k.getAttribute("name")&&$.isFormInput(k)&&f.push(k),this.trackBefore("updated",w,k),!0)}})}),e.isDebugEnabled()&&Dj(),b.length>0&&e.time("post-morph append/prepend restoration",()=>{b.forEach(w=>w.perform())}),f.forEach(w=>{$.maybeHideFeedback(r,w,c)}),e.silenceEvents(()=>$.restoreFocus(o,s,a)),$.dispatchEvent(document,"phx:update"),p.forEach(w=>this.trackAfter("added",w)),v.forEach(w=>this.trackAfter("updated",w)),this.transitionPendingRemoves(),C&&(e.unload(),C.submit()),!0}onNodeDiscarded(i){($.isPhxChild(i)||$.isPhxSticky(i))&&this.liveSocket.destroyViewByEl(i),this.trackAfter("discarded",i)}maybePendingRemove(i){return i.getAttribute&&i.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(i),!0):!1}removeStreamChildElement(i){this.maybePendingRemove(i)||(i.remove(),this.onNodeDiscarded(i))}getStreamInsert(i){return(i.id?this.streamInserts[i.id]:{})||{}}maybeReOrderStream(i){let{ref:e,streamAt:t,limit:n}=this.getStreamInsert(i);if(t!==void 0){if($.putSticky(i,x0,r=>r.setAttribute(x0,e)),t===0)i.parentElement.insertBefore(i,i.parentElement.firstElementChild);else if(t>0){let r=Array.from(i.parentElement.children),o=r.indexOf(i);if(t>=r.length-1)i.parentElement.appendChild(i);else{let s=r[t];o>t?i.parentElement.insertBefore(i,s):i.parentElement.insertBefore(i,s.nextElementSibling)}}}}transitionPendingRemoves(){let{pendingRemoves:i,liveSocket:e}=this;i.length>0&&(e.transitionRemoves(i),e.requestDOMUpdate(()=>{i.forEach(t=>{let n=$.firstPhxChild(t);n&&e.destroyViewByEl(n),t.remove()}),this.trackAfter("transitionsDiscarded",i)}))}isCIDPatch(){return this.cidPatch}skipCIDSibling(i){return i.nodeType===Node.ELEMENT_NODE&&i.getAttribute(G9)!==null}targetCIDContainer(i){if(!this.isCIDPatch())return;let[e,...t]=$.findComponentNodeList(this.container,this.targetCID);return t.length===0&&$.childNodeLength(i)===1?e:e&&e.parentNode}buildDiffHTML(i,e,t,n){let r=this.isCIDPatch(),o=r&&n.getAttribute(Wr)===this.targetCID.toString();if(!r||o)return e;{let s=null,a=document.createElement("template");s=$.cloneNode(n);let[l,...c]=$.findComponentNodeList(s,this.targetCID);return a.innerHTML=e,c.forEach(d=>d.remove()),Array.from(s.childNodes).forEach(d=>{d.id&&d.nodeType===Node.ELEMENT_NODE&&d.getAttribute(Wr)!==this.targetCID.toString()&&(d.setAttribute(G9,""),d.innerHTML="")}),Array.from(a.content.childNodes).forEach(d=>s.insertBefore(d,l)),l.remove(),s.outerHTML}}indexOf(i,e){return Array.from(i.children).indexOf(e)}},DA=class{static extract(i){let{[SA]:e,[yA]:t,[CA]:n}=i;return delete i[SA],delete i[yA],delete i[CA],{diff:i,title:n,reply:e||null,events:t||[]}}constructor(i,e){this.viewId=i,this.rendered={},this.mergeDiff(e)}parentViewId(){return this.viewId}toString(i){let[e,t]=this.recursiveToString(this.rendered,this.rendered[Ur],i);return[e,t]}recursiveToString(i,e=i[Ur],t){t=t?new Set(t):null;let n={buffer:"",components:e,onlyCids:t,streams:new Set};return this.toOutputBuffer(i,null,n),[n.buffer,n.streams]}componentCIDs(i){return Object.keys(i[Ur]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(i){return i[Ur]?Object.keys(i).length===1:!1}getComponent(i,e){return i[Ur][e]}mergeDiff(i){let e=i[Ur],t={};if(delete i[Ur],this.rendered=this.mutableMerge(this.rendered,i),this.rendered[Ur]=this.rendered[Ur]||{},e){let n=this.rendered[Ur];for(let r in e)e[r]=this.cachedFindComponent(r,e[r],n,e,t);for(let r in e)n[r]=e[r];i[Ur]=e}}cachedFindComponent(i,e,t,n,r){if(r[i])return r[i];{let o,s,a=e[_s];if(Ol(a)){let l;a>0?l=this.cachedFindComponent(a,n[a],t,n,r):l=t[-a],s=l[_s],o=this.cloneMerge(l,e),o[_s]=s}else o=e[_s]!==void 0?e:this.cloneMerge(t[i]||{},e);return r[i]=o,o}}mutableMerge(i,e){return e[_s]!==void 0?e:(this.doMutableMerge(i,e),i)}doMutableMerge(i,e){for(let t in e){let n=e[t],r=i[t];T0(n)&&n[_s]===void 0&&T0(r)?this.doMutableMerge(r,n):i[t]=n}}cloneMerge(i,e){let t=me(me({},i),e);for(let n in t){let r=e[n],o=i[n];T0(r)&&r[_s]===void 0&&T0(o)&&(t[n]=this.cloneMerge(o,r))}return t}componentToString(i){let[e,t]=this.recursiveCIDToString(this.rendered[Ur],i);return[e,t]}pruneCIDs(i){i.forEach(e=>delete this.rendered[Ur][e])}get(){return this.rendered}isNewFingerprint(i={}){return!!i[_s]}templateStatic(i,e){return typeof i=="number"?e[i]:i}toOutputBuffer(i,e,t){if(i[W9])return this.comprehensionToBuffer(i,e,t);let{[_s]:n}=i;n=this.templateStatic(n,e),t.buffer+=n[0];for(let r=1;r0||l.length>0||c)&&(delete i[wA],t.streams.add(o))}dynamicToBuffer(i,e,t){if(typeof i=="number"){let[n,r]=this.recursiveCIDToString(t.components,i,t.onlyCids);t.buffer+=n,t.streams=new Set([...t.streams,...r])}else T0(i)?this.toOutputBuffer(i,e,t):t.buffer+=i}recursiveCIDToString(i,e,t){let n=i[e]||Mn(`no component for CID ${e}`,i),r=document.createElement("template"),[o,s]=this.recursiveToString(n,i,t);r.innerHTML=o;let a=r.content,l=t&&!t.has(e),[c,d]=Array.from(a.childNodes).reduce(([h,u],m,p)=>m.nodeType===Node.ELEMENT_NODE?m.getAttribute(Wr)?[h,!0]:(m.setAttribute(Wr,e),m.id||(m.id=`${this.parentViewId()}-${e}-${p}`),l&&(m.setAttribute(G9,""),m.innerHTML=""),[!0,u]):m.nodeValue.trim()!==""?(Mn(`only HTML element tags are allowed at the root of components. got: "${m.nodeValue.trim()}" within: `,r.innerHTML.trim()),m.replaceWith(this.createSpan(m.nodeValue,e)),[!0,u]):(m.remove(),[h,u]),[!1,!1]);return!c&&!d?(Mn(`expected at least one HTML element tag inside a component, but the component is empty: -`,r.innerHTML.trim()),[this.createSpan("",e).outerHTML,s]):!c&&d?(Mn("expected at least one HTML element tag directly inside a component, but only subcomponents were found. A component must render at least one HTML tag directly inside itself.",r.innerHTML.trim()),[r.innerHTML,s]):[r.innerHTML,s]}createSpan(i,e){let t=document.createElement("span");return t.innerText=i,t.setAttribute(Wr,e),t}},qj=1,T0=class{static makeID(){return qj++}static elementID(i){return i.phxHookId}constructor(i,e,t){this.__view=i,this.liveSocket=i.liveSocket,this.__callbacks=t,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let n in this.__callbacks)this[n]=this.__callbacks[n]}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed()}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}pushEvent(i,e={},t=function(){}){return this.__view.pushHookEvent(null,i,e,t)}pushEventTo(i,e,t={},n=function(){}){return this.__view.withinTargets(i,(r,o)=>r.pushHookEvent(o,e,t,n))}handleEvent(i,e){let t=(n,r)=>r?i:e(n.detail);return window.addEventListener(`phx:${i}`,t),this.__listeners.add(t),t}removeHandleEvent(i){let e=i(null,!0);window.removeEventListener(`phx:${e}`,i),this.__listeners.delete(i)}upload(i,e){return this.__view.dispatchUploads(i,e)}uploadTo(i,e,t){return this.__view.withinTargets(i,n=>n.dispatchUploads(e,t))}__cleanup__(){this.__listeners.forEach(i=>this.removeHandleEvent(i))}},e_=null,Gj={exec(i,e,t,n,r){let[o,s]=r||[null,{}];(e.charAt(0)==="["?JSON.parse(e):[[o,s]]).forEach(([l,c])=>{l===o&&s.data&&(c.data=Object.assign(c.data||{},s.data)),this.filterToEls(n,c).forEach(d=>{this[`exec_${l}`](i,e,t,n,d,c)})})},isVisible(i){return!!(i.offsetWidth||i.offsetHeight||i.getClientRects().length>0)},exec_exec(i,e,t,n,r,[o,s]){(s?Y.all(document,s):[n]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${s}"`);t.liveSocket.execJS(l,c,i)})},exec_dispatch(i,e,t,n,r,{to:o,event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=n,Y.dispatchEvent(r,s,{detail:a,bubbles:l})},exec_push(i,e,t,n,r,o){if(!t.isConnected())return;let{event:s,data:a,target:l,page_loading:c,loading:d,value:h,dispatcher:u}=o,m={loading:d,value:h,target:l,page_loading:!!c},p=i==="change"&&u?u:n,f=l||p.getAttribute(t.binding("target"))||p;t.withinTargets(f,(b,_)=>{if(i==="change"){let{newCid:C,_target:x,callback:I}=o;x=x||(Y.isFormInput(n)?n.name:void 0),x&&(m._target=x),b.pushInput(n,_,C,s||e,m,I)}else if(i==="submit"){let{submitter:C}=o;b.submitForm(n,_,s||e,C,m)}else b.pushEvent(i,n,_,s||e,a,m)})},exec_navigate(i,e,t,n,r,{href:o,replace:s}){t.liveSocket.historyRedirect(o,s?"replace":"push")},exec_patch(i,e,t,n,r,{href:o,replace:s}){t.liveSocket.pushHistoryPatch(o,s?"replace":"push",n)},exec_focus(i,e,t,n,r){window.requestAnimationFrame(()=>Yh.attemptFocus(r))},exec_focus_first(i,e,t,n,r){window.requestAnimationFrame(()=>Yh.focusFirstInteractive(r)||Yh.focusFirst(r))},exec_push_focus(i,e,t,n,r){window.requestAnimationFrame(()=>e_=r||n)},exec_pop_focus(i,e,t,n,r){window.requestAnimationFrame(()=>{e_&&e_.focus(),e_=null})},exec_add_class(i,e,t,n,r,{names:o,transition:s,time:a}){this.addOrRemoveClasses(r,o,[],s,a,t)},exec_remove_class(i,e,t,n,r,{names:o,transition:s,time:a}){this.addOrRemoveClasses(r,[],o,s,a,t)},exec_transition(i,e,t,n,r,{time:o,transition:s}){this.addOrRemoveClasses(r,[],[],s,o,t)},exec_toggle(i,e,t,n,r,{display:o,ins:s,outs:a,time:l}){this.toggle(i,t,r,o,s,a,l)},exec_show(i,e,t,n,r,{display:o,transition:s,time:a}){this.show(i,t,r,o,s,a)},exec_hide(i,e,t,n,r,{display:o,transition:s,time:a}){this.hide(i,t,r,o,s,a)},exec_set_attr(i,e,t,n,r,{attr:[o,s]}){this.setOrRemoveAttrs(r,[[o,s]],[])},exec_remove_attr(i,e,t,n,r,{attr:o}){this.setOrRemoveAttrs(r,[],[o])},show(i,e,t,n,r,o){this.isVisible(t)||this.toggle(i,e,t,n,r,null,o)},hide(i,e,t,n,r,o){this.isVisible(t)&&this.toggle(i,e,t,n,null,r,o)},toggle(i,e,t,n,r,o,s){let[a,l,c]=r||[[],[],[]],[d,h,u]=o||[[],[],[]];if(a.length>0||d.length>0)if(this.isVisible(t)){let m=()=>{this.addOrRemoveClasses(t,h,a.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,d,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,u,h))})};t.dispatchEvent(new Event("phx:hide-start")),e.transition(s,m,()=>{this.addOrRemoveClasses(t,[],d.concat(u)),Y.putSticky(t,"toggle",p=>p.style.display="none"),t.dispatchEvent(new Event("phx:hide-end"))})}else{if(i==="remove")return;let m=()=>{this.addOrRemoveClasses(t,l,d.concat(h).concat(u));let p=n||this.defaultDisplay(t);Y.putSticky(t,"toggle",f=>f.style.display=p),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,c,l))})};t.dispatchEvent(new Event("phx:show-start")),e.transition(s,m,()=>{this.addOrRemoveClasses(t,[],a.concat(c)),t.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(t)?window.requestAnimationFrame(()=>{t.dispatchEvent(new Event("phx:hide-start")),Y.putSticky(t,"toggle",m=>m.style.display="none"),t.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{t.dispatchEvent(new Event("phx:show-start"));let m=n||this.defaultDisplay(t);Y.putSticky(t,"toggle",p=>p.style.display=m),t.dispatchEvent(new Event("phx:show-end"))})},addOrRemoveClasses(i,e,t,n,r,o){let[s,a,l]=n||[[],[],[]];if(s.length>0){let c=()=>this.addOrRemoveClasses(i,a.concat(s),[]),d=()=>this.addOrRemoveClasses(i,e.concat(l),t.concat(s).concat(a));return o.transition(r,c,d)}window.requestAnimationFrame(()=>{let[c,d]=Y.getSticky(i,"classes",[[],[]]),h=e.filter(f=>c.indexOf(f)<0&&!i.classList.contains(f)),u=t.filter(f=>d.indexOf(f)<0&&i.classList.contains(f)),m=c.filter(f=>t.indexOf(f)<0).concat(h),p=d.filter(f=>e.indexOf(f)<0).concat(u);Y.putSticky(i,"classes",f=>(f.classList.remove(...p),f.classList.add(...m),[m,p]))})},setOrRemoveAttrs(i,e,t){let[n,r]=Y.getSticky(i,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(t),s=n.filter(([l,c])=>!o.includes(l)).concat(e),a=r.filter(l=>!o.includes(l)).concat(t);Y.putSticky(i,"attrs",l=>(a.forEach(c=>l.removeAttribute(c)),s.forEach(([c,d])=>l.setAttribute(c,d)),[s,a]))},hasAllClasses(i,e){return e.every(t=>i.classList.contains(t))},isToggledOut(i,e){return!this.isVisible(i)||this.hasAllClasses(i,e)},filterToEls(i,{to:e}){return e?Y.all(document,e):[i]},defaultDisplay(i){return{tr:"table-row",td:"table-cell"}[i.tagName.toLowerCase()]||"block"}},_s=Gj,t_=(i,e,t=[])=>{let l=e,{submitter:n}=l,r=Qo(l,["submitter"]),o=new FormData(i);n&&n.hasAttribute("name")&&n.form&&n.form===i&&o.append(n.name,n.value);let s=[];o.forEach((c,d,h)=>{c instanceof File&&s.push(d)}),s.forEach(c=>o.delete(c));let a=new URLSearchParams;for(let[c,d]of o.entries())(t.length===0||t.indexOf(c)>=0)&&a.append(c,d);for(let c in r)a.append(c,r[c]);return a.toString()},RA=class{constructor(i,e,t,n,r){this.isDead=!1,this.liveSocket=e,this.flash=n,this.parent=t,this.root=t?t.root:this,this.el=i,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>({redirect:this.redirect?this.href:void 0,url:this.redirect?void 0:this.href||void 0,params:this.connectParams(r),session:this.getSession(),static:this.getStatic(),flash:this.flash}))}setHref(i){this.href=i}setRedirect(i){this.redirect=!0,this.href=i}isMain(){return this.el.hasAttribute($9)}connectParams(i){let e=this.liveSocket.params(this.el),t=Y.all(document,`[${this.binding(aj)}]`).map(n=>n.src||n.href).filter(n=>typeof n=="string");return t.length>0&&(e._track_static=t),e._mounts=this.joinCount,e._live_referer=i,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(Fl)}getStatic(){let i=this.el.getAttribute(I0);return i===""?null:i}destroy(i=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{i();for(let t in this.viewHooks)this.destroyHook(this.viewHooks[t])};Y.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...i){this.el.classList.remove(dA,M9,hA),this.el.classList.add(...i)}showLoader(i){if(clearTimeout(this.loaderTimer),i)this.loaderTimer=setTimeout(()=>this.showLoader(),i);else{for(let e in this.viewHooks)this.viewHooks[e].__disconnected();this.setContainerClasses(M9)}}execAll(i){Y.all(this.el,`[${i}]`,e=>this.liveSocket.execJS(e,e.getAttribute(i)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(dA),this.execAll(this.binding("connected"))}triggerReconnected(){for(let i in this.viewHooks)this.viewHooks[i].__reconnected()}log(i,e){this.liveSocket.log(this,i,e)}transition(i,e,t=function(){}){this.liveSocket.transition(i,e,t)}withinTargets(i,e){if(i instanceof HTMLElement||i instanceof SVGElement)return this.liveSocket.owner(i,t=>e(t,i));if(Ol(i))Y.findComponentNodeList(this.el,i).length===0?Mn(`no component found matching phx-target of ${i}`):e(this,parseInt(i));else{let t=Array.from(document.querySelectorAll(i));t.length===0&&Mn(`nothing found matching the phx-target selector "${i}"`),t.forEach(n=>this.liveSocket.owner(n,r=>e(r,n)))}}applyDiff(i,e,t){this.log(i,()=>["",n_(e)]);let{diff:n,reply:r,events:o,title:s}=TA.extract(e);t({diff:n,reply:r,events:o}),s&&window.requestAnimationFrame(()=>Y.putTitle(s))}onJoin(i){let{rendered:e,container:t}=i;if(t){let[n,r]=t;this.el=Y.replaceRootContainer(this.el,n,r)}this.childJoins=0,this.joinPending=!0,this.flash=null,gs.dropLocal(this.liveSocket.localStorage,window.location.pathname,IA),this.applyDiff("mount",e,({diff:n,events:r})=>{this.rendered=new TA(this.id,n);let[o,s]=this.renderContainer(null,"join");this.dropPendingRefs();let a=this.formsForRecovery(o);this.joinCount++,a.length>0?a.forEach(([l,c,d],h)=>{this.pushFormRecovery(l,d,u=>{h===a.length-1&&this.onJoinComplete(u,o,s,r)})}):this.onJoinComplete(i,o,s,r)})}dropPendingRefs(){Y.all(document,`[${qc}="${this.id}"][${vs}]`,i=>{i.removeAttribute(vs),i.removeAttribute(qc)})}onJoinComplete({live_patch:i},e,t,n){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(i,e,t,n);Y.findPhxChildrenInFragment(e,this.id).filter(o=>{let s=o.id&&this.el.querySelector(`[id="${o.id}"]`),a=s&&s.getAttribute(I0);return a&&o.setAttribute(I0,a),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(i,e,t,n)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(i,e,t,n)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(i,e,t,n)])}attachTrueDocEl(){this.el=Y.byId(this.id),this.el.setAttribute(A0,this.root.id)}execNewMounted(){Y.all(this.el,`[${this.binding(C0)}], [data-phx-${C0}]`,i=>{this.maybeAddNewHook(i)}),Y.all(this.el,`[${this.binding(pA)}]`,i=>this.maybeMounted(i))}applyJoinPatch(i,e,t,n){this.attachTrueDocEl();let r=new Jg(this,this.el,this.id,e,t,null);if(r.markPrunableContentForRemoval(),this.performPatch(r,!1),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(n),this.applyPendingUpdates(),i){let{kind:o,to:s}=i;this.liveSocket.historyPatch(s,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(i,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[i,e]);let t=this.getHook(i),n=t&&Y.isIgnored(i,this.binding(s_));if(t&&!i.isEqualNode(e)&&!(n&&Tj(i.dataset,e.dataset)))return t.__beforeUpdate(),t}maybeMounted(i){let e=i.getAttribute(this.binding(pA)),t=e&&Y.private(i,"mounted");e&&!t&&(this.liveSocket.execJS(i,e),Y.putPrivate(i,"mounted",!0))}maybeAddNewHook(i,e){let t=this.addHook(i);t&&t.__mounted()}performPatch(i,e){let t=[],n=!1,r=new Set;return i.after("added",o=>{this.liveSocket.triggerDOM("onNodeAdded",[o]),this.maybeAddNewHook(o),o.getAttribute&&this.maybeMounted(o)}),i.after("phxChildAdded",o=>{Y.isPhxSticky(o)?this.liveSocket.joinRootViews():n=!0}),i.before("updated",(o,s)=>{this.triggerBeforeUpdateHook(o,s)&&r.add(o.id)}),i.after("updated",o=>{r.has(o.id)&&this.getHook(o).__updated()}),i.after("discarded",o=>{o.nodeType===Node.ELEMENT_NODE&&t.push(o)}),i.after("transitionsDiscarded",o=>this.afterElementsRemoved(o,e)),i.perform(),this.afterElementsRemoved(t,e),n}afterElementsRemoved(i,e){let t=[];i.forEach(n=>{let r=Y.all(n,`[${Wr}]`),o=Y.all(n,`[${this.binding(C0)}]`);r.concat(n).forEach(s=>{let a=this.componentID(s);Ol(a)&&t.indexOf(a)===-1&&t.push(a)}),o.concat(n).forEach(s=>{let a=this.getHook(s);a&&this.destroyHook(a)})}),e&&this.maybePushComponentsDestroyed(t)}joinNewChildren(){Y.findPhxChildren(this.el,this.id).forEach(i=>this.joinChild(i))}getChildById(i){return this.root.children[this.id][i]}getDescendentByEl(i){return i.id===this.id?this:this.children[i.getAttribute($h)][i.id]}destroyDescendent(i){for(let e in this.root.children)for(let t in this.root.children[e])if(t===i)return this.root.children[e][t].destroy()}joinChild(i){if(!this.getChildById(i.id)){let t=new RA(i,this.liveSocket,this);return this.root.children[this.id][t.id]=t,t.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(i){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.joinCallback(()=>{this.pendingJoinOps.forEach(([i,e])=>{i.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(i,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:i,events:e});this.rendered.mergeDiff(i);let t=!1;this.rendered.isComponentOnlyDiff(i)?this.liveSocket.time("component patch complete",()=>{Y.findParentCIDs(this.el,this.rendered.componentCIDs(i)).forEach(r=>{this.componentPatch(this.rendered.getComponent(i,r),r)&&(t=!0)})}):bA(i)||this.liveSocket.time("full patch complete",()=>{let[n,r]=this.renderContainer(i,"update"),o=new Jg(this,this.el,this.id,n,r,null);t=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),t&&this.joinNewChildren()}renderContainer(i,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let t=this.el.tagName,n=i?this.rendered.componentCIDs(i).concat(this.pruningCIDs):null,[r,o]=this.rendered.toString(n);return[`<${t}>${r}`,o]})}componentPatch(i,e){if(bA(i))return!1;let[t,n]=this.rendered.componentToString(e),r=new Jg(this,this.el,this.id,t,n,e);return this.performPatch(r,!0)}getHook(i){return this.viewHooks[T0.elementID(i)]}addHook(i){if(T0.elementID(i)||!i.getAttribute)return;let e=i.getAttribute(`data-phx-${C0}`)||i.getAttribute(this.binding(C0));if(e&&!this.ownsElement(i))return;let t=this.liveSocket.getHookCallbacks(e);if(t){i.id||Mn(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,i);let n=new T0(this,i,t);return this.viewHooks[T0.elementID(n.el)]=n,n}else e!==null&&Mn(`unknown hook found for "${e}"`,i)}destroyHook(i){i.__destroyed(),i.__cleanup__(),delete this.viewHooks[T0.elementID(i.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:i,events:e})=>this.update(i,e)),this.pendingDiffs=[],this.eachChild(i=>i.applyPendingUpdates())}eachChild(i){let e=this.root.children[this.id]||{};for(let t in e)i(this.getChildById(t))}onChannel(i,e){this.liveSocket.onChannel(this.channel,i,t=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(t)]):this.liveSocket.requestDOMUpdate(()=>e(t))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",i=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",i,({diff:e,events:t})=>this.update(e,t))})}),this.onChannel("redirect",({to:i,flash:e})=>this.onRedirect({to:i,flash:e})),this.onChannel("live_patch",i=>this.onLivePatch(i)),this.onChannel("live_redirect",i=>this.onLiveRedirect(i)),this.channel.onError(i=>this.onError(i)),this.channel.onClose(i=>this.onClose(i))}destroyAllChildren(){this.eachChild(i=>i.destroy())}onLiveRedirect(i){let{to:e,kind:t,flash:n}=i,r=this.expandURL(e);this.liveSocket.historyRedirect(r,t,n)}onLivePatch(i){let{to:e,kind:t}=i;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,t)}expandURL(i){return i.startsWith("/")?`${window.location.protocol}//${window.location.host}${i}`:i}onRedirect({to:i,flash:e}){this.liveSocket.redirect(i,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(i){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},i?i(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(i){if(i.reason==="reload")return this.log("error",()=>[`failed mount with ${i.status}. Falling back to page request`,i]),this.onRedirect({to:this.href});if(i.reason==="unauthorized"||i.reason==="stale")return this.log("error",()=>["unauthorized live_redirect. Falling back to page request",i]),this.onRedirect({to:this.href});if((i.redirect||i.live_redirect)&&(this.joinPending=!1,this.channel.leave()),i.redirect)return this.onRedirect(i.redirect);if(i.live_redirect)return this.onLiveRedirect(i.live_redirect);this.log("error",()=>["unable to join",i]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this)}onClose(i){if(!this.isDestroyed()){if(this.liveSocket.hasPendingLink()&&i!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(_j)}}onError(i){this.onClose(i),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",i]),this.liveSocket.isUnloaded()||this.displayError()}displayError(){this.isMain()&&Y.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(M9,hA),this.execAll(this.binding("disconnected"))}pushWithReply(i,e,t,n=function(){}){if(!this.isConnected())return;let[r,[o],s]=i?i():[null,[],{}],a=function(){};return(s.page_loading||o&&o.getAttribute(this.binding(cA))!==null)&&(a=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof t.cid!="number"&&delete t.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,t,bj).receive("ok",l=>{let c=d=>{l.redirect&&this.onRedirect(l.redirect),l.live_patch&&this.onLivePatch(l.live_patch),l.live_redirect&&this.onLiveRedirect(l.live_redirect),r!==null&&this.undoRefs(r),a(),n(l,d)};l.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",l.diff,({diff:d,reply:h,events:u})=>{this.update(d,u),c(h)})}):c(null)}))}undoRefs(i){this.isConnected()&&Y.all(document,`[${qc}="${this.id}"][${vs}="${i}"]`,e=>{let t=e.getAttribute(qg);e.removeAttribute(vs),e.removeAttribute(qc),e.getAttribute(P9)!==null&&(e.readOnly=!1,e.removeAttribute(P9)),t!==null&&(e.disabled=t==="true",e.removeAttribute(qg)),kA.forEach(o=>Y.removeClass(e,o));let n=e.getAttribute(Gg);n!==null&&(e.innerText=n,e.removeAttribute(Gg));let r=Y.private(e,vs);if(r){let o=this.triggerBeforeUpdateHook(e,r);Jg.patchEl(e,r,this.liveSocket.getActiveElement()),o&&o.__updated(),Y.deletePrivate(e,vs)}})}putRef(i,e,t={}){let n=this.ref++,r=this.binding(q9);return t.loading&&(i=i.concat(Y.all(document,t.loading))),i.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute(vs,n),o.setAttribute(qc,this.el.id);let s=o.getAttribute(r);s!==null&&(o.getAttribute(Gg)||o.setAttribute(Gg,o.innerText),s!==""&&(o.innerText=s),o.setAttribute("disabled",""))}),[n,i,t]}componentID(i){let e=i.getAttribute&&i.getAttribute(Wr);return e?parseInt(e):null}targetComponentID(i,e,t={}){if(Ol(e))return e;let n=i.getAttribute(this.binding("target"));return Ol(n)?parseInt(n):e&&(n!==null||t.target)?this.closestComponentID(e):null}closestComponentID(i){return Ol(i)?i:i?Pl(i.closest(`[${Wr}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(i,e,t,n){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",e,t]),!1;let[r,o,s]=this.putRef([],"hook");return this.pushWithReply(()=>[r,o,s],"event",{type:"hook",event:e,value:t,cid:this.closestComponentID(i)},(a,l)=>n(l,r)),r}extractMeta(i,e,t){let n=this.binding("value-");for(let r=0;r=0&&!i.checked&&delete e.value),t){e||(e={});for(let r in t)e[r]=t[r]}return e}pushEvent(i,e,t,n,r,o={}){this.pushWithReply(()=>this.putRef([e],i,o),"event",{type:i,event:n,value:this.extractMeta(e,r,o.value),cid:this.targetComponentID(e,t,o)})}pushFileProgress(i,e,t,n=function(){}){this.liveSocket.withinOwners(i.form,(r,o)=>{r.pushWithReply(null,"progress",{event:i.getAttribute(r.binding(fj)),ref:i.getAttribute(Gc),entry_ref:e,progress:t,cid:r.targetComponentID(i.form,o)},n)})}pushInput(i,e,t,n,r,o){let s,a=Ol(t)?t:this.targetComponentID(i.form,e),l=()=>this.putRef([i,i.form],"change",r),c;i.getAttribute(this.binding("change"))?c=t_(i.form,{_target:r._target},[i.name]):c=t_(i.form,{_target:r._target}),Y.isUploadInput(i)&&i.files&&i.files.length>0&&Dn.trackFiles(i,Array.from(i.files)),s=Dn.serializeUploads(i);let d={type:"form",event:n,value:c,uploads:s,cid:a};this.pushWithReply(l,"event",d,h=>{if(Y.showError(i,this.liveSocket.binding(r_)),Y.isUploadInput(i)&&i.getAttribute("data-phx-auto-upload")!==null){if(Dn.filesAwaitingPreflight(i).length>0){let[u,m]=l();this.uploadFiles(i.form,e,u,a,p=>{o&&o(h),this.triggerAwaitingSubmit(i.form)})}}else o&&o(h)})}triggerAwaitingSubmit(i){let e=this.getScheduledSubmit(i);if(e){let[t,n,r,o]=e;this.cancelSubmit(i),o()}}getScheduledSubmit(i){return this.formSubmits.find(([e,t,n,r])=>e.isSameNode(i))}scheduleSubmit(i,e,t,n){if(this.getScheduledSubmit(i))return!0;this.formSubmits.push([i,e,t,n])}cancelSubmit(i){this.formSubmits=this.formSubmits.filter(([e,t,n])=>e.isSameNode(i)?(this.undoRefs(t),!1):!0)}disableForm(i,e={}){let t=d=>!(k0(d,`${this.binding(s_)}=ignore`,d.form)||k0(d,"data-phx-update=ignore",d.form)),n=d=>d.hasAttribute(this.binding(q9)),r=d=>d.tagName=="BUTTON",o=d=>["INPUT","TEXTAREA","SELECT"].includes(d.tagName),s=Array.from(i.elements),a=s.filter(n),l=s.filter(r).filter(t),c=s.filter(o).filter(t);return l.forEach(d=>{d.setAttribute(qg,d.disabled),d.disabled=!0}),c.forEach(d=>{d.setAttribute(P9,d.readOnly),d.readOnly=!0,d.files&&(d.setAttribute(qg,d.disabled),d.disabled=!0)}),i.setAttribute(this.binding(cA),""),this.putRef([i].concat(a).concat(l).concat(c),"submit",e)}pushFormSubmit(i,e,t,n,r,o){let s=()=>this.disableForm(i,r),a=this.targetComponentID(i,e);if(Dn.hasUploadsInProgress(i)){let[l,c]=s(),d=()=>this.pushFormSubmit(i,n,e,t,r,o);return this.scheduleSubmit(i,l,r,d)}else if(Dn.inputsAwaitingPreflight(i).length>0){let[l,c]=s(),d=()=>[l,c,r];this.uploadFiles(i,e,l,a,h=>{let u=t_(i,{submitter:n});this.pushWithReply(d,"event",{type:"form",event:t,value:u,cid:a},o)})}else{let l=t_(i,{submitter:n});this.pushWithReply(s,"event",{type:"form",event:t,value:l,cid:a},o)}}uploadFiles(i,e,t,n,r){let o=this.joinCount,s=Dn.activeFileInputs(i),a=s.length;s.forEach(l=>{let c=new Dn(l,this,()=>{a--,a===0&&r()});this.uploaders[l]=c;let d=c.entries().map(u=>u.toPreflightPayload()),h={ref:l.getAttribute(Gc),entries:d,cid:this.targetComponentID(l.form,e)};this.log("upload",()=>["sending preflight request",h]),this.pushWithReply(null,"allow_upload",h,u=>{if(this.log("upload",()=>["got preflight response",u]),u.error){this.undoRefs(t);let[m,p]=u.error;this.log("upload",()=>[`error for entry ${m}`,p])}else{let m=p=>{this.channel.onError(()=>{this.joinCount===o&&p()})};c.initAdapterUpload(u,m,this.liveSocket)}})})}dispatchUploads(i,e){let t=Y.findUploadInputs(this.el).filter(n=>n.name===i);t.length===0?Mn(`no live file inputs found matching the name "${i}"`):t.length>1?Mn(`duplicate live file inputs found matching the name "${i}"`):Y.dispatchEvent(t[0],AA,{detail:{files:e}})}pushFormRecovery(i,e,t){this.liveSocket.withinOwners(i,(n,r)=>{let o=Array.from(i.elements).find(a=>Y.isFormInput(a)&&a.type!=="hidden"&&!a.hasAttribute(this.binding("change"))),s=i.getAttribute(this.binding(mA))||i.getAttribute(this.binding("change"));_s.exec("change",s,n,o,["push",{_target:o.name,newCid:e,callback:t}])})}pushLinkPatch(i,e,t){let n=this.liveSocket.setPendingLink(i),r=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),s=this.pushWithReply(r,"live_patch",{url:i},a=>{this.liveSocket.requestDOMUpdate(()=>{a.link_redirect?this.liveSocket.replaceMain(i,null,t,n):(this.liveSocket.commitPendingLink(n)&&(this.href=i),this.applyPendingUpdates(),t&&t(n))})});s?s.receive("timeout",o):o()}formsForRecovery(i){if(this.joinCount===0)return[];let e=this.binding("change"),t=document.createElement("template");return t.innerHTML=i,Y.all(this.el,`form[${e}]`).filter(n=>n.id&&this.ownsElement(n)).filter(n=>n.elements.length>0).filter(n=>n.getAttribute(this.binding(mA))!=="ignore").map(n=>{let r=t.content.querySelector(`form[id="${n.id}"][${e}="${n.getAttribute(e)}"]`);return r?[n,r,this.targetComponentID(r)]:[n,null,null]}).filter(([n,r,o])=>r)}maybePushComponentsDestroyed(i){let e=i.filter(t=>Y.findComponentNodeList(this.el,t).length===0);e.length>0&&(this.pruningCIDs.push(...e),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.pruningCIDs=this.pruningCIDs.filter(n=>e.indexOf(n)!==-1);let t=e.filter(n=>Y.findComponentNodeList(this.el,n).length===0);t.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:t},n=>{this.rendered.pruneCIDs(n.cids)})}))}ownsElement(i){let e=i.closest(Xh);return i.getAttribute($h)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(i,e,t,n,r={}){Y.putPrivate(i,o_,!0);let o=this.liveSocket.binding(r_),s=Array.from(i.elements);s.forEach(a=>Y.putPrivate(a,o_,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(i,e,t,n,r,()=>{s.forEach(a=>Y.showError(a,o)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(i){return this.liveSocket.binding(i)}},DA=class{constructor(i,e,t={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(` +`,r.innerHTML.trim()),[this.createSpan("",e).outerHTML,s]):!c&&d?(Mn("expected at least one HTML element tag directly inside a component, but only subcomponents were found. A component must render at least one HTML tag directly inside itself.",r.innerHTML.trim()),[r.innerHTML,s]):[r.innerHTML,s]}createSpan(i,e){let t=document.createElement("span");return t.innerText=i,t.setAttribute(Wr,e),t}},iV=1,k0=class{static makeID(){return iV++}static elementID(i){return i.phxHookId}constructor(i,e,t){this.__view=i,this.liveSocket=i.liveSocket,this.__callbacks=t,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let n in this.__callbacks)this[n]=this.__callbacks[n]}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed()}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}pushEvent(i,e={},t=function(){}){return this.__view.pushHookEvent(this.el,null,i,e,t)}pushEventTo(i,e,t={},n=function(){}){return this.__view.withinTargets(i,(r,o)=>r.pushHookEvent(this.el,o,e,t,n))}handleEvent(i,e){let t=(n,r)=>r?i:e(n.detail);return window.addEventListener(`phx:${i}`,t),this.__listeners.add(t),t}removeHandleEvent(i){let e=i(null,!0);window.removeEventListener(`phx:${e}`,i),this.__listeners.delete(i)}upload(i,e){return this.__view.dispatchUploads(i,e)}uploadTo(i,e,t){return this.__view.withinTargets(i,n=>n.dispatchUploads(e,t))}__cleanup__(){this.__listeners.forEach(i=>this.removeHandleEvent(i))}},i_=null,nV={exec(i,e,t,n,r){let[o,s]=r||[null,{callback:r&&r.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,s]]).forEach(([l,c])=>{l===o&&s.data&&(c.data=Object.assign(c.data||{},s.data),c.callback=c.callback||s.callback),this.filterToEls(n,c).forEach(d=>{this[`exec_${l}`](i,e,t,n,d,c)})})},isVisible(i){return!!(i.offsetWidth||i.offsetHeight||i.getClientRects().length>0)},exec_exec(i,e,t,n,r,[o,s]){(s?$.all(document,s):[n]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${s}"`);t.liveSocket.execJS(l,c,i)})},exec_dispatch(i,e,t,n,r,{to:o,event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=n,$.dispatchEvent(r,s,{detail:a,bubbles:l})},exec_push(i,e,t,n,r,o){if(!t.isConnected())return;let{event:s,data:a,target:l,page_loading:c,loading:d,value:h,dispatcher:u,callback:m}=o,p={loading:d,value:h,target:l,page_loading:!!c},f=i==="change"&&u?u:n,v=l||f.getAttribute(t.binding("target"))||f;t.withinTargets(v,(b,C)=>{if(i==="change"){let{newCid:E,_target:w}=o;w=w||($.isFormInput(n)?n.name:void 0),w&&(p._target=w),b.pushInput(n,C,E,s||e,p,m)}else if(i==="submit"){let{submitter:E}=o;b.submitForm(n,C,s||e,E,p,m)}else b.pushEvent(i,n,C,s||e,a,p,m)})},exec_navigate(i,e,t,n,r,{href:o,replace:s}){t.liveSocket.historyRedirect(o,s?"replace":"push")},exec_patch(i,e,t,n,r,{href:o,replace:s}){t.liveSocket.pushHistoryPatch(o,s?"replace":"push",n)},exec_focus(i,e,t,n,r){window.requestAnimationFrame(()=>Yh.attemptFocus(r))},exec_focus_first(i,e,t,n,r){window.requestAnimationFrame(()=>Yh.focusFirstInteractive(r)||Yh.focusFirst(r))},exec_push_focus(i,e,t,n,r){window.requestAnimationFrame(()=>i_=r||n)},exec_pop_focus(i,e,t,n,r){window.requestAnimationFrame(()=>{i_&&i_.focus(),i_=null})},exec_add_class(i,e,t,n,r,{names:o,transition:s,time:a}){this.addOrRemoveClasses(r,o,[],s,a,t)},exec_remove_class(i,e,t,n,r,{names:o,transition:s,time:a}){this.addOrRemoveClasses(r,[],o,s,a,t)},exec_transition(i,e,t,n,r,{time:o,transition:s}){this.addOrRemoveClasses(r,[],[],s,o,t)},exec_toggle(i,e,t,n,r,{display:o,ins:s,outs:a,time:l}){this.toggle(i,t,r,o,s,a,l)},exec_show(i,e,t,n,r,{display:o,transition:s,time:a}){this.show(i,t,r,o,s,a)},exec_hide(i,e,t,n,r,{display:o,transition:s,time:a}){this.hide(i,t,r,o,s,a)},exec_set_attr(i,e,t,n,r,{attr:[o,s]}){this.setOrRemoveAttrs(r,[[o,s]],[])},exec_remove_attr(i,e,t,n,r,{attr:o}){this.setOrRemoveAttrs(r,[],[o])},show(i,e,t,n,r,o){this.isVisible(t)||this.toggle(i,e,t,n,r,null,o)},hide(i,e,t,n,r,o){this.isVisible(t)&&this.toggle(i,e,t,n,null,r,o)},toggle(i,e,t,n,r,o,s){let[a,l,c]=r||[[],[],[]],[d,h,u]=o||[[],[],[]];if(a.length>0||d.length>0)if(this.isVisible(t)){let m=()=>{this.addOrRemoveClasses(t,h,a.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,d,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,u,h))})};t.dispatchEvent(new Event("phx:hide-start")),e.transition(s,m,()=>{this.addOrRemoveClasses(t,[],d.concat(u)),$.putSticky(t,"toggle",p=>p.style.display="none"),t.dispatchEvent(new Event("phx:hide-end"))})}else{if(i==="remove")return;let m=()=>{this.addOrRemoveClasses(t,l,d.concat(h).concat(u));let p=n||this.defaultDisplay(t);$.putSticky(t,"toggle",f=>f.style.display=p),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,c,l))})};t.dispatchEvent(new Event("phx:show-start")),e.transition(s,m,()=>{this.addOrRemoveClasses(t,[],a.concat(c)),t.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(t)?window.requestAnimationFrame(()=>{t.dispatchEvent(new Event("phx:hide-start")),$.putSticky(t,"toggle",m=>m.style.display="none"),t.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{t.dispatchEvent(new Event("phx:show-start"));let m=n||this.defaultDisplay(t);$.putSticky(t,"toggle",p=>p.style.display=m),t.dispatchEvent(new Event("phx:show-end"))})},addOrRemoveClasses(i,e,t,n,r,o){let[s,a,l]=n||[[],[],[]];if(s.length>0){let c=()=>this.addOrRemoveClasses(i,a.concat(s),[]),d=()=>this.addOrRemoveClasses(i,e.concat(l),t.concat(s).concat(a));return o.transition(r,c,d)}window.requestAnimationFrame(()=>{let[c,d]=$.getSticky(i,"classes",[[],[]]),h=e.filter(f=>c.indexOf(f)<0&&!i.classList.contains(f)),u=t.filter(f=>d.indexOf(f)<0&&i.classList.contains(f)),m=c.filter(f=>t.indexOf(f)<0).concat(h),p=d.filter(f=>e.indexOf(f)<0).concat(u);$.putSticky(i,"classes",f=>(f.classList.remove(...p),f.classList.add(...m),[m,p]))})},setOrRemoveAttrs(i,e,t){let[n,r]=$.getSticky(i,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(t),s=n.filter(([l,c])=>!o.includes(l)).concat(e),a=r.filter(l=>!o.includes(l)).concat(t);$.putSticky(i,"attrs",l=>(a.forEach(c=>l.removeAttribute(c)),s.forEach(([c,d])=>l.setAttribute(c,d)),[s,a]))},hasAllClasses(i,e){return e.every(t=>i.classList.contains(t))},isToggledOut(i,e){return!this.isVisible(i)||this.hasAllClasses(i,e)},filterToEls(i,{to:e}){return e?$.all(document,e):[i]},defaultDisplay(i){return{tr:"table-row",td:"table-cell"}[i.tagName.toLowerCase()]||"block"}},Do=nV,n_=(i,e,t=[])=>{let l=e,{submitter:n}=l,r=Zo(l,["submitter"]),o=new FormData(i);n&&n.hasAttribute("name")&&n.form&&n.form===i&&o.append(n.name,n.value);let s=[];o.forEach((c,d,h)=>{c instanceof File&&s.push(d)}),s.forEach(c=>o.delete(c));let a=new URLSearchParams;for(let[c,d]of o.entries())(t.length===0||t.indexOf(c)>=0)&&a.append(c,d);for(let c in r)a.append(c,r[c]);return a.toString()},WA=class{constructor(i,e,t,n,r){this.isDead=!1,this.liveSocket=e,this.flash=n,this.parent=t,this.root=t?t.root:this,this.el=i,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>({redirect:this.redirect?this.href:void 0,url:this.redirect?void 0:this.href||void 0,params:this.connectParams(r),session:this.getSession(),static:this.getStatic(),flash:this.flash}))}setHref(i){this.href=i}setRedirect(i){this.redirect=!0,this.href=i}isMain(){return this.el.hasAttribute(Q9)}connectParams(i){let e=this.liveSocket.params(this.el),t=$.all(document,`[${this.binding(_j)}]`).map(n=>n.src||n.href).filter(n=>typeof n=="string");return t.length>0&&(e._track_static=t),e._mounts=this.joinCount,e._live_referer=i,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(Fl)}getStatic(){let i=this.el.getAttribute(A0);return i===""?null:i}destroy(i=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{i();for(let t in this.viewHooks)this.destroyHook(this.viewHooks[t])};$.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...i){this.el.classList.remove(pA,C0,$g,fA,F9),this.el.classList.add(...i)}showLoader(i){if(clearTimeout(this.loaderTimer),i)this.loaderTimer=setTimeout(()=>this.showLoader(),i);else{for(let e in this.viewHooks)this.viewHooks[e].__disconnected();this.setContainerClasses(C0)}}execAll(i){$.all(this.el,`[${i}]`,e=>this.liveSocket.execJS(e,e.getAttribute(i)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(pA),this.execAll(this.binding("connected"))}triggerReconnected(){for(let i in this.viewHooks)this.viewHooks[i].__reconnected()}log(i,e){this.liveSocket.log(this,i,e)}transition(i,e,t=function(){}){this.liveSocket.transition(i,e,t)}withinTargets(i,e){if(i instanceof HTMLElement||i instanceof SVGElement)return this.liveSocket.owner(i,t=>e(t,i));if(Ol(i))$.findComponentNodeList(this.el,i).length===0?Mn(`no component found matching phx-target of ${i}`):e(this,parseInt(i));else{let t=Array.from(document.querySelectorAll(i));t.length===0&&Mn(`nothing found matching the phx-target selector "${i}"`),t.forEach(n=>this.liveSocket.owner(n,r=>e(r,n)))}}applyDiff(i,e,t){this.log(i,()=>["",o_(e)]);let{diff:n,reply:r,events:o,title:s}=DA.extract(e);t({diff:n,reply:r,events:o}),s&&window.requestAnimationFrame(()=>$.putTitle(s))}onJoin(i){let{rendered:e,container:t}=i;if(t){let[n,r]=t;this.el=$.replaceRootContainer(this.el,n,r)}this.childJoins=0,this.joinPending=!0,this.flash=null,vs.dropLocal(this.liveSocket.localStorage,window.location.pathname,MA),this.applyDiff("mount",e,({diff:n,events:r})=>{this.rendered=new DA(this.id,n);let[o,s]=this.renderContainer(null,"join");this.dropPendingRefs();let a=this.formsForRecovery(o);this.joinCount++,a.length>0?a.forEach(([l,c,d],h)=>{this.pushFormRecovery(l,d,u=>{h===a.length-1&&this.onJoinComplete(u,o,s,r)})}):this.onJoinComplete(i,o,s,r)})}dropPendingRefs(){$.all(document,`[${qc}="${this.id}"][${co}]`,i=>{i.removeAttribute(co),i.removeAttribute(qc)})}onJoinComplete({live_patch:i},e,t,n){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(i,e,t,n);$.findPhxChildrenInFragment(e,this.id).filter(o=>{let s=o.id&&this.el.querySelector(`[id="${o.id}"]`),a=s&&s.getAttribute(A0);return a&&o.setAttribute(A0,a),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(i,e,t,n)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(i,e,t,n)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(i,e,t,n)])}attachTrueDocEl(){this.el=$.byId(this.id),this.el.setAttribute(N0,this.root.id)}execNewMounted(){let i=this.binding(FA),e=this.binding(HA);$.all(this.el,`[${i}], [${e}]`,t=>{$.maybeAddPrivateHooks(t,i,e),this.maybeAddNewHook(t)}),$.all(this.el,`[${this.binding(w0)}], [data-phx-${w0}]`,t=>{this.maybeAddNewHook(t)}),$.all(this.el,`[${this.binding(vA)}]`,t=>this.maybeMounted(t))}applyJoinPatch(i,e,t,n){this.attachTrueDocEl();let r=new t_(this,this.el,this.id,e,t,null);if(r.markPrunableContentForRemoval(),this.performPatch(r,!1),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(n),this.applyPendingUpdates(),i){let{kind:o,to:s}=i;this.liveSocket.historyPatch(s,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(i,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[i,e]);let t=this.getHook(i),n=t&&$.isIgnored(i,this.binding(l_));if(t&&!i.isEqualNode(e)&&!(n&&Oj(i.dataset,e.dataset)))return t.__beforeUpdate(),t}maybeMounted(i){let e=i.getAttribute(this.binding(vA)),t=e&&$.private(i,"mounted");e&&!t&&(this.liveSocket.execJS(i,e),$.putPrivate(i,"mounted",!0))}maybeAddNewHook(i,e){let t=this.addHook(i);t&&t.__mounted()}performPatch(i,e){let t=[],n=!1,r=new Set;return i.after("added",o=>{this.liveSocket.triggerDOM("onNodeAdded",[o]),this.maybeAddNewHook(o),o.getAttribute&&this.maybeMounted(o)}),i.after("phxChildAdded",o=>{$.isPhxSticky(o)?this.liveSocket.joinRootViews():n=!0}),i.before("updated",(o,s)=>{this.triggerBeforeUpdateHook(o,s)&&r.add(o.id)}),i.after("updated",o=>{r.has(o.id)&&this.getHook(o).__updated()}),i.after("discarded",o=>{o.nodeType===Node.ELEMENT_NODE&&t.push(o)}),i.after("transitionsDiscarded",o=>this.afterElementsRemoved(o,e)),i.perform(),this.afterElementsRemoved(t,e),n}afterElementsRemoved(i,e){let t=[];i.forEach(n=>{let r=$.all(n,`[${Wr}]`),o=$.all(n,`[${this.binding(w0)}]`);r.concat(n).forEach(s=>{let a=this.componentID(s);Ol(a)&&t.indexOf(a)===-1&&t.push(a)}),o.concat(n).forEach(s=>{let a=this.getHook(s);a&&this.destroyHook(a)})}),e&&this.maybePushComponentsDestroyed(t)}joinNewChildren(){$.findPhxChildren(this.el,this.id).forEach(i=>this.joinChild(i))}getChildById(i){return this.root.children[this.id][i]}getDescendentByEl(i){return i.id===this.id?this:this.children[i.getAttribute($h)][i.id]}destroyDescendent(i){for(let e in this.root.children)for(let t in this.root.children[e])if(t===i)return this.root.children[e][t].destroy()}joinChild(i){if(!this.getChildById(i.id)){let t=new WA(i,this.liveSocket,this);return this.root.children[this.id][t.id]=t,t.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(i){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.joinCallback(()=>{this.pendingJoinOps.forEach(([i,e])=>{i.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(i,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:i,events:e});this.rendered.mergeDiff(i);let t=!1;this.rendered.isComponentOnlyDiff(i)?this.liveSocket.time("component patch complete",()=>{$.findParentCIDs(this.el,this.rendered.componentCIDs(i)).forEach(r=>{this.componentPatch(this.rendered.getComponent(i,r),r)&&(t=!0)})}):xA(i)||this.liveSocket.time("full patch complete",()=>{let[n,r]=this.renderContainer(i,"update"),o=new t_(this,this.el,this.id,n,r,null);t=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),t&&this.joinNewChildren()}renderContainer(i,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let t=this.el.tagName,n=i?this.rendered.componentCIDs(i).concat(this.pruningCIDs):null,[r,o]=this.rendered.toString(n);return[`<${t}>${r}`,o]})}componentPatch(i,e){if(xA(i))return!1;let[t,n]=this.rendered.componentToString(e),r=new t_(this,this.el,this.id,t,n,e);return this.performPatch(r,!0)}getHook(i){return this.viewHooks[k0.elementID(i)]}addHook(i){if(k0.elementID(i)||!i.getAttribute)return;let e=i.getAttribute(`data-phx-${w0}`)||i.getAttribute(this.binding(w0));if(e&&!this.ownsElement(i))return;let t=this.liveSocket.getHookCallbacks(e);if(t){i.id||Mn(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,i);let n=new k0(this,i,t);return this.viewHooks[k0.elementID(n.el)]=n,n}else e!==null&&Mn(`unknown hook found for "${e}"`,i)}destroyHook(i){i.__destroyed(),i.__cleanup__(),delete this.viewHooks[k0.elementID(i.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:i,events:e})=>this.update(i,e)),this.pendingDiffs=[],this.eachChild(i=>i.applyPendingUpdates())}eachChild(i){let e=this.root.children[this.id]||{};for(let t in e)i(this.getChildById(t))}onChannel(i,e){this.liveSocket.onChannel(this.channel,i,t=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(t)]):this.liveSocket.requestDOMUpdate(()=>e(t))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",i=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",i,({diff:e,events:t})=>this.update(e,t))})}),this.onChannel("redirect",({to:i,flash:e})=>this.onRedirect({to:i,flash:e})),this.onChannel("live_patch",i=>this.onLivePatch(i)),this.onChannel("live_redirect",i=>this.onLiveRedirect(i)),this.channel.onError(i=>this.onError(i)),this.channel.onClose(i=>this.onClose(i))}destroyAllChildren(){this.eachChild(i=>i.destroy())}onLiveRedirect(i){let{to:e,kind:t,flash:n}=i,r=this.expandURL(e);this.liveSocket.historyRedirect(r,t,n)}onLivePatch(i){let{to:e,kind:t}=i;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,t)}expandURL(i){return i.startsWith("/")?`${window.location.protocol}//${window.location.host}${i}`:i}onRedirect({to:i,flash:e}){this.liveSocket.redirect(i,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(i){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},i?i(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(i){if(i.reason==="reload")return this.log("error",()=>[`failed mount with ${i.status}. Falling back to page request`,i]),this.onRedirect({to:this.href});if(i.reason==="unauthorized"||i.reason==="stale")return this.log("error",()=>["unauthorized live_redirect. Falling back to page request",i]),this.onRedirect({to:this.href});if((i.redirect||i.live_redirect)&&(this.joinPending=!1,this.channel.leave()),i.redirect)return this.onRedirect(i.redirect);if(i.live_redirect)return this.onLiveRedirect(i.live_redirect);this.displayError([C0,$g,F9]),this.log("error",()=>["unable to join",i]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this)}onClose(i){if(!this.isDestroyed()){if(this.liveSocket.hasPendingLink()&&i!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(Ij)}}onError(i){this.onClose(i),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",i]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([C0,$g,F9]):this.displayError([C0,$g,fA]))}displayError(i){this.isMain()&&$.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(...i),this.execAll(this.binding("disconnected"))}pushWithReply(i,e,t,n=function(){}){if(!this.isConnected())return;let[r,[o],s]=i?i():[null,[],{}],a=function(){};return(s.page_loading||o&&o.getAttribute(this.binding(mA))!==null)&&(a=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof t.cid!="number"&&delete t.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,t,Aj).receive("ok",l=>{let c=d=>{l.redirect&&this.onRedirect(l.redirect),l.live_patch&&this.onLivePatch(l.live_patch),l.live_redirect&&this.onLiveRedirect(l.live_redirect),a(),n(l,d)};l.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",l.diff,({diff:d,reply:h,events:u})=>{r!==null&&this.undoRefs(r),this.update(d,u),c(h)})}):(r!==null&&this.undoRefs(r),c(null))}))}undoRefs(i){this.isConnected()&&$.all(document,`[${qc}="${this.id}"][${co}="${i}"]`,e=>{let t=e.getAttribute(Yg);e.removeAttribute(co),e.removeAttribute(qc),e.getAttribute(H9)!==null&&(e.readOnly=!1,e.removeAttribute(H9)),t!==null&&(e.disabled=t==="true",e.removeAttribute(Yg)),OA.forEach(o=>$.removeClass(e,o));let n=e.getAttribute(Xg);n!==null&&(e.innerText=n,e.removeAttribute(Xg));let r=$.private(e,co);if(r){let o=this.triggerBeforeUpdateHook(e,r);t_.patchEl(e,r,this.liveSocket.getActiveElement()),o&&o.__updated(),$.deletePrivate(e,co)}})}putRef(i,e,t={}){let n=this.ref++,r=this.binding(Y9);return t.loading&&(i=i.concat($.all(document,t.loading))),i.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute(co,n),o.setAttribute(qc,this.el.id);let s=o.getAttribute(r);s!==null&&(o.getAttribute(Xg)||o.setAttribute(Xg,o.innerText),s!==""&&(o.innerText=s),o.setAttribute("disabled",""))}),[n,i,t]}componentID(i){let e=i.getAttribute&&i.getAttribute(Wr);return e?parseInt(e):null}targetComponentID(i,e,t={}){if(Ol(e))return e;let n=i.getAttribute(this.binding("target"));return Ol(n)?parseInt(n):e&&(n!==null||t.target)?this.closestComponentID(e):null}closestComponentID(i){return Ol(i)?i:i?Pl(i.closest(`[${Wr}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(i,e,t,n,r){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",t,n]),!1;let[o,s,a]=this.putRef([i],"hook");return this.pushWithReply(()=>[o,s,a],"event",{type:"hook",event:t,value:n,cid:this.closestComponentID(e)},(l,c)=>r(c,o)),o}extractMeta(i,e,t){let n=this.binding("value-");for(let r=0;r=0&&!i.checked&&delete e.value),t){e||(e={});for(let r in t)e[r]=t[r]}return e}pushEvent(i,e,t,n,r,o={},s){this.pushWithReply(()=>this.putRef([e],i,o),"event",{type:i,event:n,value:this.extractMeta(e,r,o.value),cid:this.targetComponentID(e,t,o)},(a,l)=>s&&s(l))}pushFileProgress(i,e,t,n=function(){}){this.liveSocket.withinOwners(i.form,(r,o)=>{r.pushWithReply(null,"progress",{event:i.getAttribute(r.binding(Ej)),ref:i.getAttribute(Gc),entry_ref:e,progress:t,cid:r.targetComponentID(i.form,o)},n)})}pushInput(i,e,t,n,r,o){let s,a=Ol(t)?t:this.targetComponentID(i.form,e),l=()=>this.putRef([i,i.form],"change",r),c,d=this.extractMeta(i.form);i.getAttribute(this.binding("change"))?c=n_(i.form,me({_target:r._target},d),[i.name]):c=n_(i.form,me({_target:r._target},d)),$.isUploadInput(i)&&i.files&&i.files.length>0&&Dn.trackFiles(i,Array.from(i.files)),s=Dn.serializeUploads(i);let h={type:"form",event:n,value:c,uploads:s,cid:a};this.pushWithReply(l,"event",h,u=>{if($.showError(i,this.liveSocket.binding(s_)),$.isUploadInput(i)&&i.getAttribute("data-phx-auto-upload")!==null){if(Dn.filesAwaitingPreflight(i).length>0){let[m,p]=l();this.uploadFiles(i.form,e,m,a,f=>{o&&o(u),this.triggerAwaitingSubmit(i.form)})}}else o&&o(u)})}triggerAwaitingSubmit(i){let e=this.getScheduledSubmit(i);if(e){let[t,n,r,o]=e;this.cancelSubmit(i),o()}}getScheduledSubmit(i){return this.formSubmits.find(([e,t,n,r])=>e.isSameNode(i))}scheduleSubmit(i,e,t,n){if(this.getScheduledSubmit(i))return!0;this.formSubmits.push([i,e,t,n])}cancelSubmit(i){this.formSubmits=this.formSubmits.filter(([e,t,n])=>e.isSameNode(i)?(this.undoRefs(t),!1):!0)}disableForm(i,e={}){let t=d=>!(L0(d,`${this.binding(l_)}=ignore`,d.form)||L0(d,"data-phx-update=ignore",d.form)),n=d=>d.hasAttribute(this.binding(Y9)),r=d=>d.tagName=="BUTTON",o=d=>["INPUT","TEXTAREA","SELECT"].includes(d.tagName),s=Array.from(i.elements),a=s.filter(n),l=s.filter(r).filter(t),c=s.filter(o).filter(t);return l.forEach(d=>{d.setAttribute(Yg,d.disabled),d.disabled=!0}),c.forEach(d=>{d.setAttribute(H9,d.readOnly),d.readOnly=!0,d.files&&(d.setAttribute(Yg,d.disabled),d.disabled=!0)}),i.setAttribute(this.binding(mA),""),this.putRef([i].concat(a).concat(l).concat(c),"submit",e)}pushFormSubmit(i,e,t,n,r,o){let s=()=>this.disableForm(i,r),a=this.targetComponentID(i,e);if(Dn.hasUploadsInProgress(i)){let[l,c]=s(),d=()=>this.pushFormSubmit(i,n,e,t,r,o);return this.scheduleSubmit(i,l,r,d)}else if(Dn.inputsAwaitingPreflight(i).length>0){let[l,c]=s(),d=()=>[l,c,r];this.uploadFiles(i,e,l,a,h=>{let u=this.extractMeta(i),m=n_(i,me({submitter:n},u));this.pushWithReply(d,"event",{type:"form",event:t,value:m,cid:a},o)})}else if(!(i.hasAttribute(co)&&i.classList.contains("phx-submit-loading"))){let l=this.extractMeta(i),c=n_(i,me({submitter:n},l));this.pushWithReply(s,"event",{type:"form",event:t,value:c,cid:a},o)}}uploadFiles(i,e,t,n,r){let o=this.joinCount,s=Dn.activeFileInputs(i),a=s.length;s.forEach(l=>{let c=new Dn(l,this,()=>{a--,a===0&&r()});this.uploaders[l]=c;let d=c.entries().map(u=>u.toPreflightPayload()),h={ref:l.getAttribute(Gc),entries:d,cid:this.targetComponentID(l.form,e)};this.log("upload",()=>["sending preflight request",h]),this.pushWithReply(null,"allow_upload",h,u=>{if(this.log("upload",()=>["got preflight response",u]),u.error){this.undoRefs(t);let[m,p]=u.error;this.log("upload",()=>[`error for entry ${m}`,p])}else{let m=p=>{this.channel.onError(()=>{this.joinCount===o&&p()})};c.initAdapterUpload(u,m,this.liveSocket)}})})}dispatchUploads(i,e){let t=$.findUploadInputs(this.el).filter(n=>n.name===i);t.length===0?Mn(`no live file inputs found matching the name "${i}"`):t.length>1?Mn(`duplicate live file inputs found matching the name "${i}"`):$.dispatchEvent(t[0],PA,{detail:{files:e}})}pushFormRecovery(i,e,t){this.liveSocket.withinOwners(i,(n,r)=>{let o=this.binding("change"),s=Array.from(i.elements).filter(c=>$.isFormInput(c)&&c.name&&!c.hasAttribute(o));if(s.length===0)return;let a=s.find(c=>c.type!=="hidden")||a[0],l=i.getAttribute(this.binding(_A))||i.getAttribute(this.binding("change"));Do.exec("change",l,n,a,["push",{_target:a.name,newCid:e,callback:t}])})}pushLinkPatch(i,e,t){let n=this.liveSocket.setPendingLink(i),r=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),s=this.pushWithReply(r,"live_patch",{url:i},a=>{this.liveSocket.requestDOMUpdate(()=>{a.link_redirect?this.liveSocket.replaceMain(i,null,t,n):(this.liveSocket.commitPendingLink(n)&&(this.href=i),this.applyPendingUpdates(),t&&t(n))})});s?s.receive("timeout",o):o()}formsForRecovery(i){if(this.joinCount===0)return[];let e=this.binding("change"),t=document.createElement("template");return t.innerHTML=i,$.all(this.el,`form[${e}]`).filter(n=>n.id&&this.ownsElement(n)).filter(n=>n.elements.length>0).filter(n=>n.getAttribute(this.binding(_A))!=="ignore").map(n=>{let r=t.content.querySelector(`form[id="${n.id}"][${e}="${n.getAttribute(e)}"]`);return r?[n,r,this.targetComponentID(r)]:[n,n,this.targetComponentID(n)]}).filter(([n,r,o])=>r)}maybePushComponentsDestroyed(i){let e=i.filter(t=>$.findComponentNodeList(this.el,t).length===0);e.length>0&&(this.pruningCIDs.push(...e),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.pruningCIDs=this.pruningCIDs.filter(n=>e.indexOf(n)!==-1);let t=e.filter(n=>$.findComponentNodeList(this.el,n).length===0);t.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:t},n=>{this.rendered.pruneCIDs(n.cids)})}))}ownsElement(i){let e=i.closest(Xh);return i.getAttribute($h)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(i,e,t,n,r={}){$.putPrivate(i,a_,!0);let o=this.liveSocket.binding(s_),s=Array.from(i.elements);s.forEach(a=>$.putPrivate(a,a_,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(i,e,t,n,r,()=>{s.forEach(a=>$.showError(a,o)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(i){return this.liveSocket.binding(i)}},jA=class{constructor(i,e,t={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(` a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example: import {Socket} from "phoenix" import {LiveSocket} from "phoenix_live_view" let liveSocket = new LiveSocket("/live", Socket, {...}) - `);this.socket=new e(i,t),this.bindingPrefix=t.bindingPrefix||vj,this.opts=t,this.params=z9(t.params||{}),this.viewLogger=t.viewLogger,this.metadataCallbacks=t.metadata||{},this.defaults=Object.assign(n_(yj),t.defaults||{}),this.activeElement=null,this.prevActive=null,this.silenced=!1,this.main=null,this.outgoingMainEl=null,this.clickStartedAtTarget=null,this.linkRef=1,this.roots={},this.href=window.location.href,this.pendingLink=null,this.currentLocation=n_(window.location),this.hooks=t.hooks||{},this.uploaders=t.uploaders||{},this.loaderTimeout=t.loaderTimeout||gj,this.reloadWithJitterTimer=null,this.maxReloads=t.maxReloads||nj,this.reloadJitterMin=t.reloadJitterMin||rj,this.reloadJitterMax=t.reloadJitterMax||oj,this.failsafeJitter=t.failsafeJitter||sj,this.localStorage=t.localStorage||window.localStorage,this.sessionStorage=t.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.domCallbacks=Object.assign({onNodeAdded:z9(),onBeforeElUpdated:z9()},t.dom||{}),this.transitions=new $j,window.addEventListener("pagehide",n=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(H9)==="true"}isDebugEnabled(){return this.sessionStorage.getItem($g)==="true"}isDebugDisabled(){return this.sessionStorage.getItem($g)==="false"}enableDebug(){this.sessionStorage.setItem($g,"true")}enableProfiling(){this.sessionStorage.setItem(H9,"true")}disableDebug(){this.sessionStorage.setItem($g,"false")}disableProfiling(){this.sessionStorage.removeItem(H9)}enableLatencySim(i){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(B9,i)}disableLatencySim(){this.sessionStorage.removeItem(B9)}getLatencySim(){let i=this.sessionStorage.getItem(B9);return i?parseInt(i):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let i=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?i():document.addEventListener("DOMContentLoaded",()=>i())}disconnect(i){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(i)}replaceTransport(i){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(i),this.connect()}execJS(i,e,t=null){this.owner(i,n=>_s.exec(t,e,n,i))}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(i,e){this.domCallbacks[i](...e)}time(i,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(i);let t=e();return console.timeEnd(i),t}log(i,e,t){if(this.viewLogger){let[n,r]=t();this.viewLogger(i,e,n,r)}else if(this.isDebugEnabled()){let[n,r]=t();Ej(i,e,n,r)}}requestDOMUpdate(i){this.transitions.after(i)}transition(i,e,t=function(){}){this.transitions.addTransition(i,e,t)}onChannel(i,e,t){i.on(e,n=>{let r=this.getLatencySim();r?setTimeout(()=>t(n),r):t(n)})}wrapPush(i,e,t){let n=this.getLatencySim(),r=i.joinCount;if(!n)return this.isConnected()&&e.timeout?t().receive("timeout",()=>{i.joinCount===r&&!i.isDestroyed()&&this.reloadWithJitter(i,()=>{this.log(i,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):t();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{i.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),t())},n),o}reloadWithJitter(i,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let t=this.reloadJitterMin,n=this.reloadJitterMax,r=Math.floor(Math.random()*(n-t+1))+t,o=gs.updateLocal(this.localStorage,window.location.pathname,IA,0,s=>s+1);o>this.maxReloads&&(r=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{i.isDestroyed()||i.isConnected()||(i.destroy(),e?e():this.log(i,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(i,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},r)}getHookCallbacks(i){return i&&i.startsWith("Phoenix.")?Nj[i.split(".")[1]]:this.hooks[i]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(i){return`${this.getBindingPrefix()}${i}`}channel(i,e){return this.socket.channel(i,e)}joinDeadView(){let i=document.body;if(i&&!this.isPhxView(i)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(i);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let i=!1;return Y.all(document,`${Xh}:not([${$h}])`,e=>{if(!this.getRootById(e.id)){let t=this.newRootView(e);t.setHref(this.getHref()),t.join(),e.hasAttribute($9)&&(this.main=t)}i=!0}),i}redirect(i,e){this.unload(),gs.redirect(i,e)}replaceMain(i,e,t=null,n=this.setPendingLink(i)){let r=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=Y.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,r),this.main.setRedirect(i),this.transitionRemoves(),this.main.join((s,a)=>{s===1&&this.commitPendingLink(n)&&this.requestDOMUpdate(()=>{Y.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,t&&requestAnimationFrame(t),a()})})}transitionRemoves(i){let e=this.binding("remove");i=i||Y.all(document,`[${e}]`),i.forEach(t=>{document.body.contains(t)&&this.execJS(t,t.getAttribute(e),"remove")})}isPhxView(i){return i.getAttribute&&i.getAttribute(Fl)!==null}newRootView(i,e,t){let n=new RA(i,this,null,e,t);return this.roots[n.id]=n,n}owner(i,e){let t=Pl(i.closest(Xh),n=>this.getViewByEl(n))||this.main;t&&e(t)}withinOwners(i,e){this.owner(i,t=>e(t,i))}getViewByEl(i){let e=i.getAttribute(A0);return Pl(this.getRootById(e),t=>t.getDescendentByEl(i))}getRootById(i){return this.roots[i]}destroyAllViews(){for(let i in this.roots)this.roots[i].destroy(),delete this.roots[i];this.main=null}destroyViewByEl(i){let e=this.getRootById(i.getAttribute(A0));e&&e.id===i.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(i.id)}setActiveElement(i){if(this.activeElement===i)return;this.activeElement=i;let e=()=>{i===this.activeElement&&(this.activeElement=null),i.removeEventListener("mouseup",this),i.removeEventListener("touchend",this)};i.addEventListener("mouseup",e),i.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(i){this.prevActive&&i.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:i}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1001)return this.unload();if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),i||this.bindNav(),this.bindClicks(),i||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,t,n,r,o,s)=>{let a=r.getAttribute(this.binding(pj)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=ge({key:e.key},this.eventMeta(t,e,r));_s.exec(t,o,n,r,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,t,n,r,o,s)=>{if(!s){let a=ge({key:e.key},this.eventMeta(t,e,r));_s.exec(t,o,n,r,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,t,n,r,o,s,a)=>{if(a==="window"){let l=this.eventMeta(t,e,r);_s.exec(t,s,n,r,["push",{data:l}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let t=Pl(k0(e.target,this.binding(aA)),o=>o.getAttribute(this.binding(aA))),n=t&&document.getElementById(t),r=Array.from(e.dataTransfer.files||[]);!n||n.disabled||r.length===0||!(n.files instanceof FileList)||(Dn.trackFiles(n,r,e.dataTransfer),n.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(AA,e=>{let t=e.target;if(!Y.isUploadInput(t))return;let n=Array.from(e.detail.files||[]).filter(r=>r instanceof File||r instanceof Blob);Dn.trackFiles(t,n),t.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(i,e,t){let n=this.metadataCallbacks[i];return n?n(e,t):{}}setPendingLink(i){return this.linkRef++,this.pendingLink=i,this.linkRef}commitPendingLink(i){return this.linkRef!==i?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(i,e){for(let t in i){let n=i[t];this.on(n,r=>{let o=this.binding(t),s=this.binding(`window-${t}`),a=r.target.getAttribute&&r.target.getAttribute(o);a?this.debounce(r.target,r,n,()=>{this.withinOwners(r.target,l=>{e(r,t,l,r.target,a,null)})}):Y.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,r,n,()=>{this.withinOwners(l,d=>{e(r,t,d,l,c,"window")})})})})}}bindClicks(){window.addEventListener("click",i=>this.clickStartedAtTarget=i.target),this.bindClick("click","click",!1),this.bindClick("mousedown","capture-click",!0)}bindClick(i,e,t){let n=this.binding(e);window.addEventListener(i,r=>{let o=null;if(t)o=r.target.matches(`[${n}]`)?r.target:r.target.querySelector(`[${n}]`);else{let a=this.clickStartedAtTarget||r.target;o=k0(a,n),this.dispatchClickAway(r,a),this.clickStartedAtTarget=null}let s=o&&o.getAttribute(n);if(!s){let a=r.target instanceof HTMLAnchorElement?r.target.getAttribute("href"):null;!t&&a!==null&&!Y.wantsNewTab(r)&&Y.isNewPageHref(a,window.location)&&this.unload();return}o.getAttribute("href")==="#"&&r.preventDefault(),this.debounce(o,r,"click",()=>{this.withinOwners(o,a=>{_s.exec("click",s,a,o,["push",{data:this.eventMeta("click",r,o)}])})})},t)}dispatchClickAway(i,e){let t=this.binding("click-away");Y.all(document,`[${t}]`,n=>{n.isSameNode(e)||n.contains(e)||this.withinOwners(i.target,r=>{let o=n.getAttribute(t);_s.isVisible(n)&&_s.exec("click",o,r,n,["push",{data:this.eventMeta("click",i,i.target)}])})})}bindNav(){if(!gs.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let i=null;window.addEventListener("scroll",e=>{clearTimeout(i),i=setTimeout(()=>{gs.updateCurrentState(t=>Object.assign(t,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:t,id:n,root:r,scroll:o}=e.state||{},s=window.location.href;this.requestDOMUpdate(()=>{this.main.isConnected()&&t==="patch"&&n===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{r&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let t=k0(e.target,D9),n=t&&t.getAttribute(D9);if(!n||!this.isConnected()||!this.main||Y.wantsNewTab(e))return;let r=t.href,o=t.getAttribute(lj);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==r&&this.requestDOMUpdate(()=>{if(n==="patch")this.pushHistoryPatch(r,o,t);else if(n==="redirect")this.historyRedirect(r,o);else throw new Error(`expected ${D9} to be "patch" or "redirect", got: ${n}`);let s=t.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(t,s,"click"))})},!1)}maybeScroll(i){typeof i=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,i)})}dispatchEvent(i,e={}){Y.dispatchEvent(window,`phx:${i}`,{detail:e})}dispatchEvents(i){i.forEach(([e,t])=>this.dispatchEvent(e,t))}withPageLoading(i,e){Y.dispatchEvent(window,"phx:page-loading-start",{detail:i});let t=()=>Y.dispatchEvent(window,"phx:page-loading-stop",{detail:i});return e?e(t):t}pushHistoryPatch(i,e,t){if(!this.isConnected())return gs.redirect(i);this.withPageLoading({to:i,kind:"patch"},n=>{this.main.pushLinkPatch(i,t,r=>{this.historyPatch(i,e,r),n()})})}historyPatch(i,e,t=this.setPendingLink(i)){this.commitPendingLink(t)&&(gs.pushState(e,{type:"patch",id:this.main.id},i),this.registerNewLocation(window.location))}historyRedirect(i,e,t){if(!this.isConnected())return gs.redirect(i,t);if(/^\/$|^\/[^\/]+.*$/.test(i)){let{protocol:r,host:o}=window.location;i=`${r}//${o}${i}`}let n=window.scrollY;this.withPageLoading({to:i,kind:"redirect"},r=>{this.replaceMain(i,t,()=>{gs.pushState(e,{type:"redirect",id:this.main.id,scroll:n},i),this.registerNewLocation(window.location),r()})})}replaceRootHistory(){gs.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(i){let{pathname:e,search:t}=this.currentLocation;return e+t===i.pathname+i.search?!1:(this.currentLocation=n_(i),!0)}bindForms(){let i=0,e=!1;this.on("submit",t=>{let n=t.target.getAttribute(this.binding("submit")),r=t.target.getAttribute(this.binding("change"));!e&&r&&!n&&(e=!0,t.preventDefault(),this.withinOwners(t.target,o=>{o.disableForm(t.target),window.requestAnimationFrame(()=>{Y.isUnloadableFormSubmit(t)&&this.unload(),t.target.submit()})}))},!0),this.on("submit",t=>{let n=t.target.getAttribute(this.binding("submit"));if(!n){Y.isUnloadableFormSubmit(t)&&this.unload();return}t.preventDefault(),t.target.disabled=!0,this.withinOwners(t.target,r=>{_s.exec("submit",n,r,t.target,["push",{submitter:t.submitter}])})},!1);for(let t of["change","input"])this.on(t,n=>{let r=this.binding("change"),o=n.target,s=o.getAttribute(r),a=o.form&&o.form.getAttribute(r),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,d=i;i++;let{at:h,type:u}=Y.private(o,"prev-iteration")||{};h===d-1&&t!==u||(Y.putPrivate(o,"prev-iteration",{at:d,type:t}),this.debounce(o,n,t,()=>{this.withinOwners(c,m=>{Y.putPrivate(o,K9,!0),Y.isTextualInput(o)||this.setActiveElement(o),_s.exec("change",l,m,o,["push",{_target:n.target.name,dispatcher:c}])})}))},!1);this.on("reset",t=>{let n=t.target;Y.resetForm(n,this.binding(r_));let r=Array.from(n.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(i,e,t,n){if(t==="blur"||t==="focusout")return n();let r=this.binding(uj),o=this.binding(mj),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(i,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(i);Y.debounce(i,e,r,s,o,a,c,()=>{n()})})}silenceEvents(i){this.silenced=!0,i(),this.silenced=!1}on(i,e){window.addEventListener(i,t=>{this.silenced||e(t)})}},$j=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(i=>{clearTimeout(i),this.transitions.delete(i)}),this.flushPendingOps()}after(i){this.size()===0?i():this.pushPendingOp(i)}addTransition(i,e,t){e();let n=setTimeout(()=>{this.transitions.delete(n),t(),this.flushPendingOps()},i);this.transitions.add(n)}pushPendingOp(i){this.pendingOps.push(i)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let i=this.pendingOps.shift();i&&(i(),this.flushPendingOps())}};var MA="livebook:";function $c(i){try{let e=localStorage.getItem(MA+i);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Qh(i,e){try{let t=JSON.stringify(e);localStorage.setItem(MA+i,t)}catch(t){console.error(`Failed to write to local storage, reason: ${t.message}`)}}var OA="app_auth_token:";function PA(i,e){Qh(OA+i,e)}function FA(){let i=window.location.pathname;if(i.startsWith("/apps/")){let e=i.split("/")[2],t=$c(OA+e);if(t)return t}return null}var Yj={mounted(){this.handleEvent("persist_app_auth",({slug:i,token:e})=>{PA(i,e),this.pushEvent("app_auth_persisted")})}},HA=Yj;function qe(i,e,t=null){if(!i.hasAttribute(e))throw new Error(`Missing attribute '${e}' on element <${i.tagName}:${i.id}>`);let n=i.getAttribute(e);return t?t(n):n}function Vn(i,e,t,n=null){if(i.hasAttribute(e)){let r=i.getAttribute(e);return n?n(r):r}else return t}function ba(i){if(i==="true")return!0;if(i==="false")return!1;throw new Error(`Invalid boolean attribute ${i}, should be either "true" or "false"`)}function lo(i){let e=parseInt(i,10);if(Number.isNaN(e))throw new Error(`Invalid integer value ${i}`);return e}var GA=qi(WA()),$A=qi(VA()),Y9=qi(qA());function YA(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function Yc(i){return i.matches&&i.matches("input, textarea, [contenteditable]")}function X9(i){let e=i.getBoundingClientRect();return e.bottom>=0&&e.top<=window.innerHeight}function Zh(i){return i.offsetParent===null}function Q9(i){return!Zh(i)&&X9(i)}function XA(i,e,t){return Math.min(Math.max(i,e),t)}function QA(i){let e=window.getComputedStyle(i),t=parseInt(e.lineHeight,10);if(Number.isNaN(t)){let n=i.cloneNode();n.innerHTML="
",i.appendChild(n);let r=n.clientHeight;n.innerHTML="

";let o=n.clientHeight;return i.removeChild(n),o-r}else return t}function ZA(i){let e=window.getSelection(),t=document.createRange();t.selectNodeContents(i),e.removeAllRanges(),e.addRange(t)}function Hl(i){let{height:e}=i.getBoundingClientRect();e":">",'"':""","'":"'"};function oL(i){return(i||"").replace(/[&<>"']/g,e=>Xj[e])}function f_(i){let e="",t=new Uint8Array(i),n=t.byteLength;for(let r=0;r{i?this.updatePreview({data:this.decodeAudio(eu(i.data)),numChannels:i.num_channels,samplingRate:i.sampling_rate}):this.clearPreview()}),this.uploadButton.addEventListener("click",i=>{this.inputEl.click()}),this.inputEl.addEventListener("change",i=>{let[e]=i.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",i=>{i.stopPropagation(),i.preventDefault(),i.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",i=>{i.stopPropagation(),i.preventDefault();let[e]=i.dataTransfer.files;e&&!this.isRecording()&&this.loadFile(e)}),this.el.addEventListener("dragenter",i=>{this.el.classList.add(...Z9)}),this.el.addEventListener("dragleave",i=>{this.el.contains(i.relatedTarget)||this.el.classList.remove(...Z9)}),this.el.addEventListener("drop",i=>{this.el.classList.remove(...Z9)}),this.recordButton.addEventListener("click",i=>{this.startRecording()}),this.stopButton.addEventListener("click",i=>{this.stopRecording()}),this.cancelButton.addEventListener("click",i=>{this.stopRecording(!1)})},updated(){this.props=this.getProps()},getProps(){return{id:qe(this.el,"data-id"),phxTarget:qe(this.el,"data-phx-target",lo),samplingRate:qe(this.el,"data-sampling-rate",lo),endianness:qe(this.el,"data-endianness"),format:qe(this.el,"data-format")}},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(i=>{this.mediaRecorder=new MediaRecorder(i),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(i=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),i&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(n=>{this.loadEncodedAudio(n)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(i){let e=new FileReader;e.onload=t=>{this.loadEncodedAudio(t.target.result)},e.readAsArrayBuffer(i)},loadEncodedAudio(i){new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(i,t=>{let n=Zj(t);this.pushAudio(n)})},updatePreview(i){let e=this.audioEl.src,t=Jj(i);this.audioEl.src=URL.createObjectURL(t),e&&URL.revokeObjectURL(e)},clearPreview(){let i=this.audioEl.src;this.audioEl.src="",i&&URL.revokeObjectURL(i)},pushAudio(i){this.pushEventTo(this.props.phxTarget,"change",{data:f_(this.encodeAudio(i)),num_channels:i.numChannels,sampling_rate:i.samplingRate})},encodeAudio(i){if(this.props.format==="pcm_f32")return this.fixEndianness32(i.data);if(this.props.format==="wav")return sL(i.data,i.numChannels,i.samplingRate)},decodeAudio(i){if(this.props.format==="pcm_f32")return this.fixEndianness32(i);if(this.props.format==="wav")return eV(i)},fixEndianness32(i){if(tV()===this.props.endianness)return i;for(let e=0;e=0;l--)n=t[l],r=n.name,o=n.namespaceURI,s=n.value,o?(r=n.localName||r,a=i.getAttributeNS(o,r),a!==s&&(n.prefix==="xmlns"&&(r=n.name),i.setAttributeNS(o,r,s))):(a=i.getAttribute(r),a!==s&&i.setAttribute(r,s));for(var c=i.attributes,d=c.length-1;d>=0;d--)n=c[d],r=n.name,o=n.namespaceURI,o?(r=n.localName||r,e.hasAttributeNS(o,r)||i.removeAttributeNS(o,r)):e.hasAttribute(r)||i.removeAttribute(r)}}var __,nV="http://www.w3.org/1999/xhtml",mr=typeof document=="undefined"?void 0:document,rV=!!mr&&"content"in mr.createElement("template"),oV=!!mr&&mr.createRange&&"createContextualFragment"in mr.createRange();function sV(i){var e=mr.createElement("template");return e.innerHTML=i,e.content.childNodes[0]}function aV(i){__||(__=mr.createRange(),__.selectNode(mr.body));var e=__.createContextualFragment(i);return e.childNodes[0]}function lV(i){var e=mr.createElement("body");return e.innerHTML=i,e.childNodes[0]}function cV(i){return i=i.trim(),rV?sV(i):oV?aV(i):lV(i)}function v_(i,e){var t=i.nodeName,n=e.nodeName,r,o;return t===n?!0:(r=t.charCodeAt(0),o=n.charCodeAt(0),r<=90&&o>=97?t===n.toUpperCase():o<=90&&r>=97?n===t.toUpperCase():!1)}function dV(i,e){return!e||e===nV?mr.createElement(i):mr.createElementNS(e,i)}function hV(i,e){for(var t=i.firstChild;t;){var n=t.nextSibling;e.appendChild(t),t=n}return e}function J9(i,e,t){i[t]!==e[t]&&(i[t]=e[t],i[t]?i.setAttribute(t,""):i.removeAttribute(t))}var cL={OPTION:function(i,e){var t=i.parentNode;if(t){var n=t.nodeName.toUpperCase();n==="OPTGROUP"&&(t=t.parentNode,n=t&&t.nodeName.toUpperCase()),n==="SELECT"&&!t.hasAttribute("multiple")&&(i.hasAttribute("selected")&&!e.selected&&(i.setAttribute("selected","selected"),i.removeAttribute("selected")),t.selectedIndex=-1)}J9(i,e,"selected")},INPUT:function(i,e){J9(i,e,"checked"),J9(i,e,"disabled"),i.value!==e.value&&(i.value=e.value),e.hasAttribute("value")||i.removeAttribute("value")},TEXTAREA:function(i,e){var t=e.value;i.value!==t&&(i.value=t);var n=i.firstChild;if(n){var r=n.nodeValue;if(r==t||!t&&r==i.placeholder)return;n.nodeValue=t}},SELECT:function(i,e){if(!e.hasAttribute("multiple")){for(var t=-1,n=0,r=i.firstChild,o,s;r;)if(s=r.nodeName&&r.nodeName.toUpperCase(),s==="OPTGROUP")o=r,r=o.firstChild;else{if(s==="OPTION"){if(r.hasAttribute("selected")){t=n;break}n++}r=r.nextSibling,!r&&o&&(r=o.nextSibling,o=null)}i.selectedIndex=t}}},N0=1,dL=11,hL=3,uL=8;function Bl(){}function uV(i){if(i)return i.getAttribute&&i.getAttribute("id")||i.id}function mV(i){return function(t,n,r){if(r||(r={}),typeof n=="string")if(t.nodeName==="#document"||t.nodeName==="HTML"||t.nodeName==="BODY"){var o=n;n=mr.createElement("html"),n.innerHTML=o}else n=cV(n);else n.nodeType===dL&&(n=n.firstElementChild);var s=r.getNodeKey||uV,a=r.onBeforeNodeAdded||Bl,l=r.onNodeAdded||Bl,c=r.onBeforeElUpdated||Bl,d=r.onElUpdated||Bl,h=r.onBeforeNodeDiscarded||Bl,u=r.onNodeDiscarded||Bl,m=r.onBeforeElChildrenUpdated||Bl,p=r.skipFromChildren||Bl,f=r.addChild||function(Q,J){return Q.appendChild(J)},b=r.childrenOnly===!0,_=Object.create(null),C=[];function x(Q){C.push(Q)}function I(Q,J){if(Q.nodeType===N0)for(var j=Q.firstChild;j;){var H=void 0;J&&(H=s(j))?x(H):(u(j),j.firstChild&&I(j,J)),j=j.nextSibling}}function A(Q,J,j){h(Q)!==!1&&(J&&J.removeChild(Q),u(Q),I(Q,j))}function O(Q){if(Q.nodeType===N0||Q.nodeType===dL)for(var J=Q.firstChild;J;){var j=s(J);j&&(_[j]=J),O(J),J=J.nextSibling}}O(t);function D(Q){l(Q);for(var J=Q.firstChild;J;){var j=J.nextSibling,H=s(J);if(H){var U=_[H];U&&v_(J,U)?(J.parentNode.replaceChild(U,J),G(U,J)):D(J)}else D(J);J=j}}function K(Q,J,j){for(;J;){var H=J.nextSibling;(j=s(J))?x(j):A(J,Q,!0),J=H}}function G(Q,J,j){var H=s(J);H&&delete _[H],!(!j&&(c(Q,J)===!1||(i(Q,J),d(Q),m(Q,J)===!1)))&&(Q.nodeName!=="TEXTAREA"?Se(Q,J):cL.TEXTAREA(Q,J))}function Se(Q,J){var j=p(Q),H=J.firstChild,U=Q.firstChild,X,Et,yi,ni,Ot;e:for(;H;){for(ni=H.nextSibling,X=s(H);!j&&U;){if(yi=U.nextSibling,H.isSameNode&&H.isSameNode(U)){H=ni,U=yi;continue e}Et=s(U);var Ai=U.nodeType,Pt=void 0;if(Ai===H.nodeType&&(Ai===N0?(X?X!==Et&&((Ot=_[X])?yi===Ot?Pt=!1:(Q.insertBefore(Ot,U),Et?x(Et):A(U,Q,!0),U=Ot):Pt=!1):Et&&(Pt=!1),Pt=Pt!==!1&&v_(U,H),Pt&&G(U,H)):(Ai===hL||Ai==uL)&&(Pt=!0,U.nodeValue!==H.nodeValue&&(U.nodeValue=H.nodeValue))),Pt){H=ni,U=yi;continue e}Et?x(Et):A(U,Q,!0),U=yi}if(X&&(Ot=_[X])&&v_(Ot,H))j||f(Q,Ot),G(Ot,H);else{var Un=a(H);Un!==!1&&(Un&&(H=Un),H.actualize&&(H=H.actualize(Q.ownerDocument||mr)),f(Q,H),D(H))}H=ni,U=yi}K(Q,U,Et);var Rr=cL[Q.nodeName];Rr&&Rr(Q,J)}var te=t,Ie=te.nodeType,Oe=n.nodeType;if(!b){if(Ie===N0)Oe===N0?v_(t,n)||(u(t),te=hV(t,dV(n.nodeName,n.namespaceURI))):te=n;else if(Ie===hL||Ie===uL){if(Oe===Ie)return te.nodeValue!==n.nodeValue&&(te.nodeValue=n.nodeValue),te;te=n}}if(te===n)u(t);else{if(n.isSameNode&&n.isSameNode(te))return;if(G(te,n,b),C)for(var He=0,Xe=C.length;Hes.length,l;a&&s.push(r);try{l=i.apply(this,s)}catch(c){let d=c;if(a&&t)throw d;return r(d)}a||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))}function r(s,...a){t||(t=!0,e(s,...a))}function o(s){r(null,s)}}var kL=qi(ty(),1);var Kn=class extends Error{constructor(e,t,n){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(n=t,t=void 0),typeof n=="string"){let s=n.indexOf(":");s===-1?r[1]=n:(r[0]=n.slice(0,s),r[1]=n.slice(s+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=$E(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack=typeof e=="object"?e.stack:"",this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.source=r[0],this.ruleId=r[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}};Kn.prototype.file="";Kn.prototype.name="";Kn.prototype.reason="";Kn.prototype.message="";Kn.prototype.stack="";Kn.prototype.fatal=null;Kn.prototype.column=null;Kn.prototype.line=null;Kn.prototype.source=null;Kn.prototype.ruleId=null;Kn.prototype.position=null;var Ro={basename:gV,dirname:_V,extname:vV,join:bV,sep:"/"};function gV(i,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');D0(i);let t=0,n=-1,r=i.length,o;if(e===void 0||e.length===0||e.length>i.length){for(;r--;)if(i.charCodeAt(r)===47){if(o){t=r+1;break}}else n<0&&(o=!0,n=r+1);return n<0?"":i.slice(t,n)}if(e===i)return"";let s=-1,a=e.length-1;for(;r--;)if(i.charCodeAt(r)===47){if(o){t=r+1;break}}else s<0&&(o=!0,s=r+1),a>-1&&(i.charCodeAt(r)===e.charCodeAt(a--)?a<0&&(n=r):(a=-1,n=s));return t===n?n=s:n<0&&(n=i.length),i.slice(t,n)}function _V(i){if(D0(i),i.length===0)return".";let e=-1,t=i.length,n;for(;--t;)if(i.charCodeAt(t)===47){if(n){e=t;break}}else n||(n=!0);return e<0?i.charCodeAt(0)===47?"/":".":e===1&&i.charCodeAt(0)===47?"//":i.slice(0,e)}function vV(i){D0(i);let e=i.length,t=-1,n=0,r=-1,o=0,s;for(;e--;){let a=i.charCodeAt(e);if(a===47){if(s){n=e+1;break}continue}t<0&&(s=!0,t=e+1),a===46?r<0?r=e:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||t<0||o===0||o===1&&r===t-1&&r===n+1?"":i.slice(r,t)}function bV(...i){let e=-1,t;for(;++e0&&i.charCodeAt(i.length-1)===47&&(t+="/"),e?"/"+t:t}function SV(i,e){let t="",n=0,r=-1,o=0,s=-1,a,l;for(;++s<=i.length;){if(s2){if(l=t.lastIndexOf("/"),l!==t.length-1){l<0?(t="",n=0):(t=t.slice(0,l),n=t.length-1-t.lastIndexOf("/")),r=s,o=0;continue}}else if(t.length>0){t="",n=0,r=s,o=0;continue}}e&&(t=t.length>0?t+"/..":"..",n=2)}else t.length>0?t+="/"+i.slice(r+1,s):t=i.slice(r+1,s),n=s-r-1;r=s,o=0}else a===46&&o>-1?o++:o=-1}return t}function D0(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}var EL={cwd:CV};function CV(){return"/"}function tu(i){return i!==null&&typeof i=="object"&&i.href&&i.origin}function TL(i){if(typeof i=="string")i=new URL(i);else if(!tu(i)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(i.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return wV(i)}function wV(i){if(i.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let e=i.pathname,t=-1;for(;++t{if(O||!D||!K)A(O);else{let G=o.stringify(D,K);G==null||(TV(G)?K.value=G:K.result=G),A(O,K)}});function A(O,D){O||!D?x(O):C?C(D):b(null,D)}}}function p(f){let b;o.freeze(),oy("processSync",o.Parser),sy("processSync",o.Compiler);let _=O0(f);return o.process(_,C),NL("processSync","process",b),_;function C(x){b=!0,ey(x)}}}function AL(i,e){return typeof i=="function"&&i.prototype&&(xV(i.prototype)||e in i.prototype)}function xV(i){let e;for(e in i)if(DL.call(i,e))return!0;return!1}function oy(i,e){if(typeof e!="function")throw new TypeError("Cannot `"+i+"` without `Parser`")}function sy(i,e){if(typeof e!="function")throw new TypeError("Cannot `"+i+"` without `Compiler`")}function ay(i,e){if(e)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function LL(i){if(!R0(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function NL(i,e,t){if(!t)throw new Error("`"+i+"` finished async. Use `"+e+"` instead")}function O0(i){return EV(i)?i:new M0(i)}function EV(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function TV(i){return typeof i=="string"||(0,RL.default)(i)}function S_(i){Object.assign(this,{Parser:t=>{let n=this.data("settings");return eT(t,Object.assign({},n,i,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var IV={tokenize:NV,partial:!0},PL={tokenize:RV,partial:!0},FL={tokenize:DV,partial:!0},iu={tokenize:OV,partial:!0},HL={tokenize:MV,partial:!0},BL={tokenize:AV,previous:WL},zL={tokenize:LV,previous:hy},Sa={tokenize:kV,previous:jL},bs={},cy={text:bs},Xc=48;for(;Xc<123;)bs[Xc]=Sa,Xc++,Xc===58?Xc=65:Xc===91&&(Xc=97);bs[43]=Sa;bs[45]=Sa;bs[46]=Sa;bs[95]=Sa;bs[72]=[Sa,zL];bs[104]=[Sa,zL];bs[87]=[Sa,BL];bs[119]=[Sa,BL];function kV(i,e,t){let n=this,r,o;return s;function s(m){return!OL(m)||!jL(n.previous)||uy(n.events)?t(m):(i.enter("literalAutolink"),i.enter("literalAutolinkEmail"),a(m))}function a(m){return OL(m)?(i.consume(m),a):m===64?(i.consume(m),l):t(m)}function l(m){return m===46?i.check(iu,u,c)(m):m===45||m===95?i.check(iu,t,d)(m):Sh(m)?(!o&&XE(m)&&(o=!0),i.consume(m),l):u(m)}function c(m){return i.consume(m),r=!0,o=void 0,l}function d(m){return i.consume(m),h}function h(m){return m===46?i.check(iu,t,c)(m):l(m)}function u(m){return r&&!o?(i.exit("literalAutolinkEmail"),i.exit("literalAutolink"),e(m)):t(m)}}function AV(i,e,t){let n=this;return r;function r(s){return s!==87&&s!==119||!WL(n.previous)||uy(n.events)?t(s):(i.enter("literalAutolink"),i.enter("literalAutolinkWww"),i.check(IV,i.attempt(PL,i.attempt(FL,o),t),t)(s))}function o(s){return i.exit("literalAutolinkWww"),i.exit("literalAutolink"),e(s)}}function LV(i,e,t){let n=this;return r;function r(p){return p!==72&&p!==104||!hy(n.previous)||uy(n.events)?t(p):(i.enter("literalAutolink"),i.enter("literalAutolinkHttp"),i.consume(p),o)}function o(p){return p===84||p===116?(i.consume(p),s):t(p)}function s(p){return p===84||p===116?(i.consume(p),a):t(p)}function a(p){return p===80||p===112?(i.consume(p),l):t(p)}function l(p){return p===83||p===115?(i.consume(p),c):c(p)}function c(p){return p===58?(i.consume(p),d):t(p)}function d(p){return p===47?(i.consume(p),h):t(p)}function h(p){return p===47?(i.consume(p),u):t(p)}function u(p){return p===null||M2(p)||z1(p)||U1(p)?t(p):i.attempt(PL,i.attempt(FL,m),t)(p)}function m(p){return i.exit("literalAutolinkHttp"),i.exit("literalAutolink"),e(p)}}function NV(i,e,t){return n;function n(l){return i.consume(l),r}function r(l){return l===87||l===119?(i.consume(l),o):t(l)}function o(l){return l===87||l===119?(i.consume(l),s):t(l)}function s(l){return l===46?(i.consume(l),a):t(l)}function a(l){return l===null||Si(l)?t(l):e(l)}}function RV(i,e,t){let n,r;return o;function o(l){return l===38?i.check(HL,a,s)(l):l===46||l===95?i.check(iu,a,s)(l):l===null||M2(l)||z1(l)||l!==45&&U1(l)?a(l):(i.consume(l),o)}function s(l){return l===46?(r=n,n=void 0,i.consume(l),o):(l===95&&(n=!0),i.consume(l),o)}function a(l){return!r&&!n?e(l):t(l)}}function DV(i,e){let t=0;return n;function n(s){return s===38?i.check(HL,e,r)(s):(s===40&&t++,s===41?i.check(iu,o,r)(s):dy(s)?e(s):UL(s)?i.check(iu,e,r)(s):(i.consume(s),n))}function r(s){return i.consume(s),n}function o(s){return t--,t<0?e(s):r(s)}}function MV(i,e,t){return n;function n(s){return i.consume(s),r}function r(s){return D2(s)?(i.consume(s),r):s===59?(i.consume(s),o):t(s)}function o(s){return dy(s)?e(s):t(s)}}function OV(i,e,t){return n;function n(o){return i.consume(o),r}function r(o){return UL(o)?(i.consume(o),r):dy(o)?e(o):t(o)}}function UL(i){return i===33||i===34||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===95||i===126}function dy(i){return i===null||i===60||Zr(i)}function OL(i){return i===43||i===45||i===46||i===95||Sh(i)}function WL(i){return i===null||i===40||i===42||i===95||i===126||Zr(i)}function hy(i){return i===null||!D2(i)}function jL(i){return i!==47&&hy(i)}function uy(i){let e=i.length,t=!1;for(;e--;){let n=i[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){t=!0;break}if(n._gfmAutolinkLiteralWalkedInto){t=!1;break}}return i.length>0&&!t&&(i[i.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var PV={'"':"quot","&":"amp","<":"lt",">":"gt"};function VL(i){return i.replace(/["&<>]/g,e);function e(t){return"&"+PV[t]+";"}}function C_(i,e){let t=VL(FV(i||""));if(!e)return t;let n=t.indexOf(":"),r=t.indexOf("?"),o=t.indexOf("#"),s=t.indexOf("/");return n<0||s>-1&&n>s||r>-1&&n>r||o>-1&&n>o||e.test(t.slice(0,n))?t:""}function FV(i){let e=[],t=-1,n=0,r=0;for(;++t55295&&o<57344){let a=i.charCodeAt(t+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),r=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(i.slice(n,t),encodeURIComponent(s)),n=t+r+1,s=""),r&&(t+=r,r=0)}return e.join("")+i.slice(n)}var HV={tokenize:KV,partial:!0};function my(){return{document:{[91]:{tokenize:WV,continuation:{tokenize:jV},exit:VV}},text:{[91]:{tokenize:UV},[93]:{add:"after",tokenize:BV,resolveTo:zV}}}}function BV(i,e,t){let n=this,r=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s;for(;r--;){let l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return t(l);let c=kc(n.sliceSerialize({start:s.end,end:n.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?t(l):(i.enter("gfmFootnoteCallLabelMarker"),i.consume(l),i.exit("gfmFootnoteCallLabelMarker"),e(l))}}function zV(i,e){let t=i.length,n;for(;t--;)if(i[t][1].type==="labelImage"&&i[t][0]==="enter"){n=i[t][1];break}i[t+1][1].type="data",i[t+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},i[t+3][1].start),end:Object.assign({},i[i.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},i[t+3][1].end),end:Object.assign({},i[t+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},i[i.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[i[t+1],i[t+2],["enter",r,e],i[t+3],i[t+4],["enter",o,e],["exit",o,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],i[i.length-2],i[i.length-1],["exit",r,e]];return i.splice(t,i.length-t+1,...l),i}function UV(i,e,t){let n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o=0,s;return a;function a(u){return i.enter("gfmFootnoteCall"),i.enter("gfmFootnoteCallLabelMarker"),i.consume(u),i.exit("gfmFootnoteCallLabelMarker"),l}function l(u){return u!==94?t(u):(i.enter("gfmFootnoteCallMarker"),i.consume(u),i.exit("gfmFootnoteCallMarker"),i.enter("gfmFootnoteCallString"),i.enter("chunkString").contentType="string",c)}function c(u){let m;return u===null||u===91||o++>999?t(u):u===93?s?(i.exit("chunkString"),m=i.exit("gfmFootnoteCallString"),r.includes(kc(n.sliceSerialize(m)))?h(u):t(u)):t(u):(i.consume(u),Zr(u)||(s=!0),u===92?d:c)}function d(u){return u===91||u===92||u===93?(i.consume(u),o++,c):c(u)}function h(u){return i.enter("gfmFootnoteCallLabelMarker"),i.consume(u),i.exit("gfmFootnoteCallLabelMarker"),i.exit("gfmFootnoteCall"),e}}function WV(i,e,t){let n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(f){return i.enter("gfmFootnoteDefinition")._container=!0,i.enter("gfmFootnoteDefinitionLabel"),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(f),i.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(f){return f===94?(i.enter("gfmFootnoteDefinitionMarker"),i.consume(f),i.exit("gfmFootnoteDefinitionMarker"),i.enter("gfmFootnoteDefinitionLabelString"),d):t(f)}function d(f){let b;return f===null||f===91||s>999?t(f):f===93?a?(b=i.exit("gfmFootnoteDefinitionLabelString"),o=kc(n.sliceSerialize(b)),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(f),i.exit("gfmFootnoteDefinitionLabelMarker"),i.exit("gfmFootnoteDefinitionLabel"),m):t(f):Si(f)?(i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),s++,d):(i.enter("chunkString").contentType="string",h(f))}function h(f){return f===null||Si(f)||f===91||f===93||s>999?(i.exit("chunkString"),d(f)):(Zr(f)||(a=!0),s++,i.consume(f),f===92?u:h)}function u(f){return f===91||f===92||f===93?(i.consume(f),s++,h):h(f)}function m(f){return f===58?(i.enter("definitionMarker"),i.consume(f),i.exit("definitionMarker"),rr(i,p,"gfmFootnoteDefinitionWhitespace")):t(f)}function p(f){return r.includes(o)||r.push(o),e(f)}}function jV(i,e,t){return i.check(ZE,e,i.attempt(HV,e,t))}function VV(i){i.exit("gfmFootnoteDefinition")}function KV(i,e,t){let n=this;return rr(i,r,"gfmFootnoteDefinitionIndent",4+1);function r(o){let s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function py(i={}){let e=i.singleTilde,t={tokenize:r,resolveAll:n};return e==null&&(e=!0),{text:{[126]:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function n(o,s){let a=-1;for(;++a1?a(m):(o.consume(m),d++,u);if(d<2&&!e)return a(m);let f=o.exit("strikethroughSequenceTemporary"),b=O2(m);return f._open=!b||b===2&&!!p,f._close=!p||p===2&&!!b,s(m)}}}var fy={flow:{null:{tokenize:GV,resolve:qV}}},KL={tokenize:$V,partial:!0};function qV(i,e){let t=-1,n,r,o,s,a,l,c;for(;++t=4?J(U):(n._gfmTableDynamicInterruptHack=!0,B.check(n.parser.constructs.flow,function(Et){return n._gfmTableDynamicInterruptHack=!1,J(Et)},function(Et){return n._gfmTableDynamicInterruptHack=!1,Q(Et)})(U))}}}function $V(i,e,t){let n=0;return r;function r(s){return i.enter("check"),i.consume(s),o}function o(s){return s===-1||s===32?(i.consume(s),n++,n===4?e:o):s===null||Zr(s)?e(s):t(s)}}var YV={tokenize:XV},gy={text:{[91]:YV}};function XV(i,e,t){let n=this;return r;function r(a){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?t(a):(i.enter("taskListCheck"),i.enter("taskListCheckMarker"),i.consume(a),i.exit("taskListCheckMarker"),o)}function o(a){return Zr(a)?(i.enter("taskListCheckValueUnchecked"),i.consume(a),i.exit("taskListCheckValueUnchecked"),s):a===88||a===120?(i.enter("taskListCheckValueChecked"),i.consume(a),i.exit("taskListCheckValueChecked"),s):t(a)}function s(a){return a===93?(i.enter("taskListCheckMarker"),i.consume(a),i.exit("taskListCheckMarker"),i.exit("taskListCheck"),i.check({tokenize:QV},e,t)):t(a)}}function QV(i,e,t){let n=this;return rr(i,r,"whitespace");function r(o){let s=n.events[n.events.length-1];return(s&&s[1].type==="whitespace"||Si(o))&&o!==null?e(o):t(o)}}function qL(i){return YE([cy,my(),py(i),fy,gy])}function nu(i,e){let t=String(i);if(typeof e!="string")throw new TypeError("Expected character");let n=0,r=t.indexOf(e);for(;r!==-1;)n++,r=t.indexOf(e,r+e.length);return n}function _y(i){if(typeof i!="string")throw new TypeError("Expected a string");return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _n=function(i){if(i==null)return tK;if(typeof i=="string")return eK(i);if(typeof i=="object")return Array.isArray(i)?ZV(i):JV(i);if(typeof i=="function")return w_(i);throw new Error("Expected function, string, or object as test")};function ZV(i){let e=[],t=-1;for(;++t":""))+")"})),u;function u(){var m=[],p,f,b;if((!e||r(a,l,c[c.length-1]||null))&&(m=iK(t(a,c)),m[0]===vy))return m;if(a.children&&m[0]!==$L)for(f=(n?a.children.length:-1)+o,b=c.concat(a);f>-1&&f0?{type:"text",value:I}:void 0),I!==!1&&(f!==C&&_.push({type:"text",value:h.value.slice(f,C)}),Array.isArray(I)?_.push(...I):I&&_.push(I),f=C+x[0].length),!m.global)break;x=m.exec(h.value)}return C===void 0?(_=[h],b--):(fi}var by="phrasing",yy=["autolink","link","image","label"],ZL={transforms:[dK],enter:{literalAutolink:oK,literalAutolinkEmail:Sy,literalAutolinkHttp:Sy,literalAutolinkWww:Sy},exit:{literalAutolink:cK,literalAutolinkEmail:lK,literalAutolinkHttp:sK,literalAutolinkWww:aK}},JL={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:by,notInConstruct:yy},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:by,notInConstruct:yy},{character:":",before:"[ps]",after:"\\/",inConstruct:by,notInConstruct:yy}]};function oK(i){this.enter({type:"link",title:null,url:"",children:[]},i)}function Sy(i){this.config.enter.autolinkProtocol.call(this,i)}function sK(i){this.config.exit.autolinkProtocol.call(this,i)}function aK(i){this.config.exit.data.call(this,i);let e=this.stack[this.stack.length-1];e.url="http://"+this.sliceSerialize(i)}function lK(i){this.config.exit.autolinkEmail.call(this,i)}function cK(i){this.exit(i)}function dK(i){QL(i,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,hK],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,uK]],{ignore:["link","linkReference"]})}function hK(i,e,t,n,r){let o="";if(!eN(r)||(/^w/i.test(e)&&(t=e+t,e="",o="http://"),!mK(t)))return!1;let s=pK(t+n);if(!s[0])return!1;let a={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function uK(i,e,t,n){return!eN(n,!0)||/[_-\d]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+t,children:[{type:"text",value:e+"@"+t}]}}function mK(i){let e=i.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function pK(i){let e=/[!"&'),.:;<>?\]}]+$/.exec(i),t,n,r,o;if(e)for(i=i.slice(0,e.index),o=e[0],t=o.indexOf(")"),n=nu(i,"("),r=nu(i,")");t!==-1&&n>r;)i+=o.slice(0,t+1),o=o.slice(t+1),t=o.indexOf(")"),r++;return[i,o]}function eN(i,e){let t=i.input.charCodeAt(i.index-1);return(i.index===0||z1(t)||U1(t))&&(!e||t!==47)}function Cy(i){return i.label||!i.identifier?i.label||"":JE(i.identifier)}function On(i){let e=i||{},t=e.now||{},n=e.lineShift||0,r=t.line||1,o=t.column||1;return{move:l,current:s,shift:a};function s(){return{now:{line:r,column:o},lineShift:n}}function a(c){n+=c}function l(c=""){let d=c.split(/\r?\n|\r/g),h=d[d.length-1];return r+=d.length-1,o=d.length===1?o+h.length:1+h.length+n,c}}function E_(i,e,t){let n=e.indexStack,r=i.children||[],o=On(t),s=[],a=-1;for(n.push(-1);++a{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(z9)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Qg)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Qg)==="false"}enableDebug(){this.sessionStorage.setItem(Qg,"true")}enableProfiling(){this.sessionStorage.setItem(z9,"true")}disableDebug(){this.sessionStorage.setItem(Qg,"false")}disableProfiling(){this.sessionStorage.removeItem(z9)}enableLatencySim(i){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(U9,i)}disableLatencySim(){this.sessionStorage.removeItem(U9)}getLatencySim(){let i=this.sessionStorage.getItem(U9);return i?parseInt(i):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let i=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?i():document.addEventListener("DOMContentLoaded",()=>i())}disconnect(i){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(i)}replaceTransport(i){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(i),this.connect()}execJS(i,e,t=null){this.owner(i,n=>Do.exec(t,e,n,i))}execJSHookPush(i,e,t,n){this.withinOwners(i,r=>{Do.exec("hook",e,r,i,["push",{data:t,callback:n}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(i,e){this.domCallbacks[i](...e)}time(i,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(i);let t=e();return console.timeEnd(i),t}log(i,e,t){if(this.viewLogger){let[n,r]=t();this.viewLogger(i,e,n,r)}else if(this.isDebugEnabled()){let[n,r]=t();Mj(i,e,n,r)}}requestDOMUpdate(i){this.transitions.after(i)}transition(i,e,t=function(){}){this.transitions.addTransition(i,e,t)}onChannel(i,e,t){i.on(e,n=>{let r=this.getLatencySim();r?setTimeout(()=>t(n),r):t(n)})}wrapPush(i,e,t){let n=this.getLatencySim(),r=i.joinCount;if(!n)return this.isConnected()&&e.timeout?t().receive("timeout",()=>{i.joinCount===r&&!i.isDestroyed()&&this.reloadWithJitter(i,()=>{this.log(i,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):t();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{i.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),t())},n),o}reloadWithJitter(i,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let t=this.reloadJitterMin,n=this.reloadJitterMax,r=Math.floor(Math.random()*(n-t+1))+t,o=vs.updateLocal(this.localStorage,window.location.pathname,MA,0,s=>s+1);o>this.maxReloads&&(r=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{i.isDestroyed()||i.isConnected()||(i.destroy(),e?e():this.log(i,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(i,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},r)}getHookCallbacks(i){return i&&i.startsWith("Phoenix.")?Uj[i.split(".")[1]]:this.hooks[i]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(i){return`${this.getBindingPrefix()}${i}`}channel(i,e){return this.socket.channel(i,e)}joinDeadView(){let i=document.body;if(i&&!this.isPhxView(i)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(i);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let i=!1;return $.all(document,`${Xh}:not([${$h}])`,e=>{if(!this.getRootById(e.id)){let t=this.newRootView(e);t.setHref(this.getHref()),t.join(),e.hasAttribute(Q9)&&(this.main=t)}i=!0}),i}redirect(i,e){this.unload(),vs.redirect(i,e)}replaceMain(i,e,t=null,n=this.setPendingLink(i)){let r=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=$.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,r),this.main.setRedirect(i),this.transitionRemoves(),this.main.join((s,a)=>{s===1&&this.commitPendingLink(n)&&this.requestDOMUpdate(()=>{$.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,t&&requestAnimationFrame(t),a()})})}transitionRemoves(i){let e=this.binding("remove");i=i||$.all(document,`[${e}]`),i.forEach(t=>{this.execJS(t,t.getAttribute(e),"remove")})}isPhxView(i){return i.getAttribute&&i.getAttribute(Fl)!==null}newRootView(i,e,t){let n=new WA(i,this,null,e,t);return this.roots[n.id]=n,n}owner(i,e){let t=Pl(i.closest(Xh),n=>this.getViewByEl(n))||this.main;t&&e(t)}withinOwners(i,e){this.owner(i,t=>e(t,i))}getViewByEl(i){let e=i.getAttribute(N0);return Pl(this.getRootById(e),t=>t.getDescendentByEl(i))}getRootById(i){return this.roots[i]}destroyAllViews(){for(let i in this.roots)this.roots[i].destroy(),delete this.roots[i];this.main=null}destroyViewByEl(i){let e=this.getRootById(i.getAttribute(N0));e&&e.id===i.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(i.id)}setActiveElement(i){if(this.activeElement===i)return;this.activeElement=i;let e=()=>{i===this.activeElement&&(this.activeElement=null),i.removeEventListener("mouseup",this),i.removeEventListener("touchend",this)};i.addEventListener("mouseup",e),i.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(i){this.prevActive&&i.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:i}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),i||this.bindNav(),this.bindClicks(),i||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,t,n,r,o,s)=>{let a=r.getAttribute(this.binding(xj)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=me({key:e.key},this.eventMeta(t,e,r));Do.exec(t,o,n,r,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,t,n,r,o,s)=>{if(!s){let a=me({key:e.key},this.eventMeta(t,e,r));Do.exec(t,o,n,r,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,t,n,r,o,s,a)=>{if(a==="window"){let l=this.eventMeta(t,e,r);Do.exec(t,s,n,r,["push",{data:l}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let t=Pl(L0(e.target,this.binding(hA)),o=>o.getAttribute(this.binding(hA))),n=t&&document.getElementById(t),r=Array.from(e.dataTransfer.files||[]);!n||n.disabled||r.length===0||!(n.files instanceof FileList)||(Dn.trackFiles(n,r,e.dataTransfer),n.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(PA,e=>{let t=e.target;if(!$.isUploadInput(t))return;let n=Array.from(e.detail.files||[]).filter(r=>r instanceof File||r instanceof Blob);Dn.trackFiles(t,n),t.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(i,e,t){let n=this.metadataCallbacks[i];return n?n(e,t):{}}setPendingLink(i){return this.linkRef++,this.pendingLink=i,this.linkRef}commitPendingLink(i){return this.linkRef!==i?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(i,e){for(let t in i){let n=i[t];this.on(n,r=>{let o=this.binding(t),s=this.binding(`window-${t}`),a=r.target.getAttribute&&r.target.getAttribute(o);a?this.debounce(r.target,r,n,()=>{this.withinOwners(r.target,l=>{e(r,t,l,r.target,a,null)})}):$.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,r,n,()=>{this.withinOwners(l,d=>{e(r,t,d,l,c,"window")})})})})}}bindClicks(){window.addEventListener("click",i=>this.clickStartedAtTarget=i.target),this.bindClick("click","click",!1),this.bindClick("mousedown","capture-click",!0)}bindClick(i,e,t){let n=this.binding(e);window.addEventListener(i,r=>{let o=null;if(t)o=r.target.matches(`[${n}]`)?r.target:r.target.querySelector(`[${n}]`);else{let a=this.clickStartedAtTarget||r.target;o=L0(a,n),this.dispatchClickAway(r,a),this.clickStartedAtTarget=null}let s=o&&o.getAttribute(n);if(!s){!t&&$.isNewPageClick(r,window.location)&&this.unload();return}o.getAttribute("href")==="#"&&r.preventDefault(),!o.hasAttribute(co)&&this.debounce(o,r,"click",()=>{this.withinOwners(o,a=>{Do.exec("click",s,a,o,["push",{data:this.eventMeta("click",r,o)}])})})},t)}dispatchClickAway(i,e){let t=this.binding("click-away");$.all(document,`[${t}]`,n=>{n.isSameNode(e)||n.contains(e)||this.withinOwners(i.target,r=>{let o=n.getAttribute(t);Do.isVisible(n)&&Do.exec("click",o,r,n,["push",{data:this.eventMeta("click",i,i.target)}])})})}bindNav(){if(!vs.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let i=null;window.addEventListener("scroll",e=>{clearTimeout(i),i=setTimeout(()=>{vs.updateCurrentState(t=>Object.assign(t,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:t,id:n,root:r,scroll:o}=e.state||{},s=window.location.href;this.requestDOMUpdate(()=>{this.main.isConnected()&&t==="patch"&&n===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{r&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let t=L0(e.target,O9),n=t&&t.getAttribute(O9);if(!n||!this.isConnected()||!this.main||$.wantsNewTab(e))return;let r=t.href,o=t.getAttribute(vj);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==r&&this.requestDOMUpdate(()=>{if(n==="patch")this.pushHistoryPatch(r,o,t);else if(n==="redirect")this.historyRedirect(r,o);else throw new Error(`expected ${O9} to be "patch" or "redirect", got: ${n}`);let s=t.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(t,s,"click"))})},!1)}maybeScroll(i){typeof i=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,i)})}dispatchEvent(i,e={}){$.dispatchEvent(window,`phx:${i}`,{detail:e})}dispatchEvents(i){i.forEach(([e,t])=>this.dispatchEvent(e,t))}withPageLoading(i,e){$.dispatchEvent(window,"phx:page-loading-start",{detail:i});let t=()=>$.dispatchEvent(window,"phx:page-loading-stop",{detail:i});return e?e(t):t}pushHistoryPatch(i,e,t){if(!this.isConnected())return vs.redirect(i);this.withPageLoading({to:i,kind:"patch"},n=>{this.main.pushLinkPatch(i,t,r=>{this.historyPatch(i,e,r),n()})})}historyPatch(i,e,t=this.setPendingLink(i)){this.commitPendingLink(t)&&(vs.pushState(e,{type:"patch",id:this.main.id},i),this.registerNewLocation(window.location))}historyRedirect(i,e,t){if(!this.isConnected())return vs.redirect(i,t);if(/^\/$|^\/[^\/]+.*$/.test(i)){let{protocol:r,host:o}=window.location;i=`${r}//${o}${i}`}let n=window.scrollY;this.withPageLoading({to:i,kind:"redirect"},r=>{this.replaceMain(i,t,()=>{vs.pushState(e,{type:"redirect",id:this.main.id,scroll:n},i),this.registerNewLocation(window.location),r()})})}replaceRootHistory(){vs.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(i){let{pathname:e,search:t}=this.currentLocation;return e+t===i.pathname+i.search?!1:(this.currentLocation=o_(i),!0)}bindForms(){let i=0,e=!1;this.on("submit",t=>{let n=t.target.getAttribute(this.binding("submit")),r=t.target.getAttribute(this.binding("change"));!e&&r&&!n&&(e=!0,t.preventDefault(),this.withinOwners(t.target,o=>{o.disableForm(t.target),window.requestAnimationFrame(()=>{$.isUnloadableFormSubmit(t)&&this.unload(),t.target.submit()})}))},!0),this.on("submit",t=>{let n=t.target.getAttribute(this.binding("submit"));if(!n){$.isUnloadableFormSubmit(t)&&this.unload();return}t.preventDefault(),t.target.disabled=!0,this.withinOwners(t.target,r=>{Do.exec("submit",n,r,t.target,["push",{submitter:t.submitter}])})},!1);for(let t of["change","input"])this.on(t,n=>{let r=this.binding("change"),o=n.target,s=o.getAttribute(r),a=o.form&&o.form.getAttribute(r),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,d=i;i++;let{at:h,type:u}=$.private(o,"prev-iteration")||{};h===d-1&&t!==u||($.putPrivate(o,"prev-iteration",{at:d,type:t}),this.debounce(o,n,t,()=>{this.withinOwners(c,m=>{$.putPrivate(o,$9,!0),$.isTextualInput(o)||this.setActiveElement(o),Do.exec("change",l,m,o,["push",{_target:n.target.name,dispatcher:c}])})}))},!1);this.on("reset",t=>{let n=t.target;$.resetForm(n,this.binding(s_));let r=Array.from(n.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(i,e,t,n){if(t==="blur"||t==="focusout")return n();let r=this.binding(Cj),o=this.binding(wj),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(i,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(i);$.debounce(i,e,r,s,o,a,c,()=>{n()})})}silenceEvents(i){this.silenced=!0,i(),this.silenced=!1}on(i,e){window.addEventListener(i,t=>{this.silenced||e(t)})}},rV=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(i=>{clearTimeout(i),this.transitions.delete(i)}),this.flushPendingOps()}after(i){this.size()===0?i():this.pushPendingOp(i)}addTransition(i,e,t){e();let n=setTimeout(()=>{this.transitions.delete(n),t(),this.flushPendingOps()},i);this.transitions.add(n)}pushPendingOp(i){this.pendingOps.push(i)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let i=this.pendingOps.shift();i&&(i(),this.flushPendingOps())}};var VA="livebook:";function $c(i){try{let e=localStorage.getItem(VA+i);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Qh(i,e){try{let t=JSON.stringify(e);localStorage.setItem(VA+i,t)}catch(t){console.error(`Failed to write to local storage, reason: ${t.message}`)}}var KA="app_auth_token:";function qA(i,e){Qh(KA+i,e)}function GA(){let i=window.location.pathname;if(i.startsWith("/apps/")){let e=i.split("/")[2],t=$c(KA+e);if(t)return t}return null}var oV={mounted(){this.handleEvent("persist_app_auth",({slug:i,token:e})=>{qA(i,e),this.pushEvent("app_auth_persisted")})}},$A=oV;function qe(i,e,t=null){if(!i.hasAttribute(e))throw new Error(`Missing attribute '${e}' on element <${i.tagName}:${i.id}>`);let n=i.getAttribute(e);return t?t(n):n}function Vn(i,e,t,n=null){if(i.hasAttribute(e)){let r=i.getAttribute(e);return n?n(r):r}else return t}function ba(i){if(i==="true")return!0;if(i==="false")return!1;throw new Error(`Invalid boolean attribute ${i}, should be either "true" or "false"`)}function ho(i){let e=parseInt(i,10);if(Number.isNaN(e))throw new Error(`Invalid integer value ${i}`);return e}var nL=qi(JA()),rL=qi(eL()),Z9=qi(iL());function oL(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function Yc(i){return i.matches&&i.matches("input, textarea, [contenteditable]")}function ey(i){let e=i.getBoundingClientRect();return e.bottom>=0&&e.top<=window.innerHeight}function Jh(i){return i.offsetParent===null}function ty(i){return!Jh(i)&&ey(i)}function sL(i,e,t){return Math.min(Math.max(i,e),t)}function aL(i){let e=window.getComputedStyle(i),t=parseInt(e.lineHeight,10);if(Number.isNaN(t)){let n=i.cloneNode();n.innerHTML="
",i.appendChild(n);let r=n.clientHeight;n.innerHTML="

";let o=n.clientHeight;return i.removeChild(n),o-r}else return t}function lL(i){let e=window.getSelection(),t=document.createRange();t.selectNodeContents(i),e.removeAllRanges(),e.addRange(t)}function Hl(i){let{height:e}=i.getBoundingClientRect();e":">",'"':""","'":"'"};function fL(i){return(i||"").replace(/[&<>"']/g,e=>sV[e])}function __(i){let e="",t=new Uint8Array(i),n=t.byteLength;for(let r=0;r{i?this.updatePreview({data:this.decodeAudio(eu(i.data)),numChannels:i.num_channels,samplingRate:i.sampling_rate}):this.clearPreview()}),this.uploadButton.addEventListener("click",i=>{this.inputEl.click()}),this.inputEl.addEventListener("change",i=>{let[e]=i.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",i=>{i.stopPropagation(),i.preventDefault(),i.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",i=>{i.stopPropagation(),i.preventDefault();let[e]=i.dataTransfer.files;e&&!this.isRecording()&&this.loadFile(e)}),this.el.addEventListener("dragenter",i=>{this.el.classList.add(...iy)}),this.el.addEventListener("dragleave",i=>{this.el.contains(i.relatedTarget)||this.el.classList.remove(...iy)}),this.el.addEventListener("drop",i=>{this.el.classList.remove(...iy)}),this.recordButton.addEventListener("click",i=>{this.startRecording()}),this.stopButton.addEventListener("click",i=>{this.stopRecording()}),this.cancelButton.addEventListener("click",i=>{this.stopRecording(!1)})},updated(){this.props=this.getProps()},getProps(){return{id:qe(this.el,"data-id"),phxTarget:qe(this.el,"data-phx-target",ho),samplingRate:qe(this.el,"data-sampling-rate",ho),endianness:qe(this.el,"data-endianness"),format:qe(this.el,"data-format")}},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(i=>{this.mediaRecorder=new MediaRecorder(i),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(i=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),i&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(n=>{this.loadEncodedAudio(n)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(i){let e=new FileReader;e.onload=t=>{this.loadEncodedAudio(t.target.result)},e.readAsArrayBuffer(i)},loadEncodedAudio(i){new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(i,t=>{let n=lV(t);this.pushAudio(n)})},updatePreview(i){let e=this.audioEl.src,t=cV(i);this.audioEl.src=URL.createObjectURL(t),e&&URL.revokeObjectURL(e)},clearPreview(){let i=this.audioEl.src;this.audioEl.src="",i&&URL.revokeObjectURL(i)},pushAudio(i){this.pushEventTo(this.props.phxTarget,"change",{data:__(this.encodeAudio(i)),num_channels:i.numChannels,sampling_rate:i.samplingRate})},encodeAudio(i){if(this.props.format==="pcm_f32")return this.fixEndianness32(i.data);if(this.props.format==="wav")return gL(i.data,i.numChannels,i.samplingRate)},decodeAudio(i){if(this.props.format==="pcm_f32")return this.fixEndianness32(i);if(this.props.format==="wav")return dV(i)},fixEndianness32(i){if(hV()===this.props.endianness)return i;for(let e=0;e=0;l--)n=t[l],r=n.name,o=n.namespaceURI,s=n.value,o?(r=n.localName||r,a=i.getAttributeNS(o,r),a!==s&&(n.prefix==="xmlns"&&(r=n.name),i.setAttributeNS(o,r,s))):(a=i.getAttribute(r),a!==s&&i.setAttribute(r,s));for(var c=i.attributes,d=c.length-1;d>=0;d--)n=c[d],r=n.name,o=n.namespaceURI,o?(r=n.localName||r,e.hasAttributeNS(o,r)||i.removeAttributeNS(o,r)):e.hasAttribute(r)||i.removeAttribute(r)}}var b_,mV="http://www.w3.org/1999/xhtml",mr=typeof document=="undefined"?void 0:document,pV=!!mr&&"content"in mr.createElement("template"),fV=!!mr&&mr.createRange&&"createContextualFragment"in mr.createRange();function gV(i){var e=mr.createElement("template");return e.innerHTML=i,e.content.childNodes[0]}function _V(i){b_||(b_=mr.createRange(),b_.selectNode(mr.body));var e=b_.createContextualFragment(i);return e.childNodes[0]}function vV(i){var e=mr.createElement("body");return e.innerHTML=i,e.childNodes[0]}function bV(i){return i=i.trim(),pV?gV(i):fV?_V(i):vV(i)}function y_(i,e){var t=i.nodeName,n=e.nodeName,r,o;return t===n?!0:(r=t.charCodeAt(0),o=n.charCodeAt(0),r<=90&&o>=97?t===n.toUpperCase():o<=90&&r>=97?n===t.toUpperCase():!1)}function yV(i,e){return!e||e===mV?mr.createElement(i):mr.createElementNS(e,i)}function SV(i,e){for(var t=i.firstChild;t;){var n=t.nextSibling;e.appendChild(t),t=n}return e}function ny(i,e,t){i[t]!==e[t]&&(i[t]=e[t],i[t]?i.setAttribute(t,""):i.removeAttribute(t))}var bL={OPTION:function(i,e){var t=i.parentNode;if(t){var n=t.nodeName.toUpperCase();n==="OPTGROUP"&&(t=t.parentNode,n=t&&t.nodeName.toUpperCase()),n==="SELECT"&&!t.hasAttribute("multiple")&&(i.hasAttribute("selected")&&!e.selected&&(i.setAttribute("selected","selected"),i.removeAttribute("selected")),t.selectedIndex=-1)}ny(i,e,"selected")},INPUT:function(i,e){ny(i,e,"checked"),ny(i,e,"disabled"),i.value!==e.value&&(i.value=e.value),e.hasAttribute("value")||i.removeAttribute("value")},TEXTAREA:function(i,e){var t=e.value;i.value!==t&&(i.value=t);var n=i.firstChild;if(n){var r=n.nodeValue;if(r==t||!t&&r==i.placeholder)return;n.nodeValue=t}},SELECT:function(i,e){if(!e.hasAttribute("multiple")){for(var t=-1,n=0,r=i.firstChild,o,s;r;)if(s=r.nodeName&&r.nodeName.toUpperCase(),s==="OPTGROUP")o=r,r=o.firstChild;else{if(s==="OPTION"){if(r.hasAttribute("selected")){t=n;break}n++}r=r.nextSibling,!r&&o&&(r=o.nextSibling,o=null)}i.selectedIndex=t}}},D0=1,yL=11,SL=3,CL=8;function Bl(){}function CV(i){if(i)return i.getAttribute&&i.getAttribute("id")||i.id}function wV(i){return function(t,n,r){if(r||(r={}),typeof n=="string")if(t.nodeName==="#document"||t.nodeName==="HTML"||t.nodeName==="BODY"){var o=n;n=mr.createElement("html"),n.innerHTML=o}else n=bV(n);else n.nodeType===yL&&(n=n.firstElementChild);var s=r.getNodeKey||CV,a=r.onBeforeNodeAdded||Bl,l=r.onNodeAdded||Bl,c=r.onBeforeElUpdated||Bl,d=r.onElUpdated||Bl,h=r.onBeforeNodeDiscarded||Bl,u=r.onNodeDiscarded||Bl,m=r.onBeforeElChildrenUpdated||Bl,p=r.skipFromChildren||Bl,f=r.addChild||function(Q,Z){return Q.appendChild(Z)},v=r.childrenOnly===!0,b=Object.create(null),C=[];function E(Q){C.push(Q)}function w(Q,Z){if(Q.nodeType===D0)for(var V=Q.firstChild;V;){var H=void 0;Z&&(H=s(V))?E(H):(u(V),V.firstChild&&w(V,Z)),V=V.nextSibling}}function k(Q,Z,V){h(Q)!==!1&&(Z&&Z.removeChild(Q),u(Q),w(Q,V))}function O(Q){if(Q.nodeType===D0||Q.nodeType===yL)for(var Z=Q.firstChild;Z;){var V=s(Z);V&&(b[V]=Z),O(Z),Z=Z.nextSibling}}O(t);function D(Q){l(Q);for(var Z=Q.firstChild;Z;){var V=Z.nextSibling,H=s(Z);if(H){var U=b[H];U&&y_(Z,U)?(Z.parentNode.replaceChild(U,Z),q(U,Z)):D(Z)}else D(Z);Z=V}}function W(Q,Z,V){for(;Z;){var H=Z.nextSibling;(V=s(Z))?E(V):k(Z,Q,!0),Z=H}}function q(Q,Z,V){var H=s(Z);H&&delete b[H],!(!V&&(c(Q,Z)===!1||(i(Q,Z),d(Q),m(Q,Z)===!1)))&&(Q.nodeName!=="TEXTAREA"?_e(Q,Z):bL.TEXTAREA(Q,Z))}function _e(Q,Z){var V=p(Q),H=Z.firstChild,U=Q.firstChild,X,Et,yi,ni,Ot;e:for(;H;){for(ni=H.nextSibling,X=s(H);!V&&U;){if(yi=U.nextSibling,H.isSameNode&&H.isSameNode(U)){H=ni,U=yi;continue e}Et=s(U);var Ai=U.nodeType,Pt=void 0;if(Ai===H.nodeType&&(Ai===D0?(X?X!==Et&&((Ot=b[X])?yi===Ot?Pt=!1:(Q.insertBefore(Ot,U),Et?E(Et):k(U,Q,!0),U=Ot):Pt=!1):Et&&(Pt=!1),Pt=Pt!==!1&&y_(U,H),Pt&&q(U,H)):(Ai===SL||Ai==CL)&&(Pt=!0,U.nodeValue!==H.nodeValue&&(U.nodeValue=H.nodeValue))),Pt){H=ni,U=yi;continue e}Et?E(Et):k(U,Q,!0),U=yi}if(X&&(Ot=b[X])&&y_(Ot,H))V||f(Q,Ot),q(Ot,H);else{var Un=a(H);Un!==!1&&(Un&&(H=Un),H.actualize&&(H=H.actualize(Q.ownerDocument||mr)),f(Q,H),D(H))}H=ni,U=yi}W(Q,U,Et);var Rr=bL[Q.nodeName];Rr&&Rr(Q,Z)}var ee=t,Ie=ee.nodeType,Oe=n.nodeType;if(!v){if(Ie===D0)Oe===D0?y_(t,n)||(u(t),ee=SV(t,yV(n.nodeName,n.namespaceURI))):ee=n;else if(Ie===SL||Ie===CL){if(Oe===Ie)return ee.nodeValue!==n.nodeValue&&(ee.nodeValue=n.nodeValue),ee;ee=n}}if(ee===n)u(t);else{if(n.isSameNode&&n.isSameNode(ee))return;if(q(ee,n,v),C)for(var He=0,Xe=C.length;Hes.length,l;a&&s.push(r);try{l=i.apply(this,s)}catch(c){let d=c;if(a&&t)throw d;return r(d)}a||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))}function r(s,...a){t||(t=!0,e(s,...a))}function o(s){r(null,s)}}var HL=qi(oy(),1);var Kn=class extends Error{constructor(e,t,n){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(n=t,t=void 0),typeof n=="string"){let s=n.indexOf(":");s===-1?r[1]=n:(r[0]=n.slice(0,s),r[1]=n.slice(s+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=JE(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack=typeof e=="object"?e.stack:"",this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.source=r[0],this.ruleId=r[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}};Kn.prototype.file="";Kn.prototype.name="";Kn.prototype.reason="";Kn.prototype.message="";Kn.prototype.stack="";Kn.prototype.fatal=null;Kn.prototype.column=null;Kn.prototype.line=null;Kn.prototype.source=null;Kn.prototype.ruleId=null;Kn.prototype.position=null;var Mo={basename:TV,dirname:IV,extname:kV,join:AV,sep:"/"};function TV(i,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');O0(i);let t=0,n=-1,r=i.length,o;if(e===void 0||e.length===0||e.length>i.length){for(;r--;)if(i.charCodeAt(r)===47){if(o){t=r+1;break}}else n<0&&(o=!0,n=r+1);return n<0?"":i.slice(t,n)}if(e===i)return"";let s=-1,a=e.length-1;for(;r--;)if(i.charCodeAt(r)===47){if(o){t=r+1;break}}else s<0&&(o=!0,s=r+1),a>-1&&(i.charCodeAt(r)===e.charCodeAt(a--)?a<0&&(n=r):(a=-1,n=s));return t===n?n=s:n<0&&(n=i.length),i.slice(t,n)}function IV(i){if(O0(i),i.length===0)return".";let e=-1,t=i.length,n;for(;--t;)if(i.charCodeAt(t)===47){if(n){e=t;break}}else n||(n=!0);return e<0?i.charCodeAt(0)===47?"/":".":e===1&&i.charCodeAt(0)===47?"//":i.slice(0,e)}function kV(i){O0(i);let e=i.length,t=-1,n=0,r=-1,o=0,s;for(;e--;){let a=i.charCodeAt(e);if(a===47){if(s){n=e+1;break}continue}t<0&&(s=!0,t=e+1),a===46?r<0?r=e:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||t<0||o===0||o===1&&r===t-1&&r===n+1?"":i.slice(r,t)}function AV(...i){let e=-1,t;for(;++e0&&i.charCodeAt(i.length-1)===47&&(t+="/"),e?"/"+t:t}function NV(i,e){let t="",n=0,r=-1,o=0,s=-1,a,l;for(;++s<=i.length;){if(s2){if(l=t.lastIndexOf("/"),l!==t.length-1){l<0?(t="",n=0):(t=t.slice(0,l),n=t.length-1-t.lastIndexOf("/")),r=s,o=0;continue}}else if(t.length>0){t="",n=0,r=s,o=0;continue}}e&&(t=t.length>0?t+"/..":"..",n=2)}else t.length>0?t+="/"+i.slice(r+1,s):t=i.slice(r+1,s),n=s-r-1;r=s,o=0}else a===46&&o>-1?o++:o=-1}return t}function O0(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}var OL={cwd:RV};function RV(){return"/"}function tu(i){return i!==null&&typeof i=="object"&&i.href&&i.origin}function PL(i){if(typeof i=="string")i=new URL(i);else if(!tu(i)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(i.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return DV(i)}function DV(i){if(i.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let e=i.pathname,t=-1;for(;++t{if(O||!D||!W)k(O);else{let q=o.stringify(D,W);q==null||(PV(q)?W.value=q:W.result=q),k(O,W)}});function k(O,D){O||!D?E(O):C?C(D):v(null,D)}}}function p(f){let v;o.freeze(),cy("processSync",o.Parser),dy("processSync",o.Compiler);let b=F0(f);return o.process(b,C),UL("processSync","process",v),b;function C(E){v=!0,ry(E)}}}function BL(i,e){return typeof i=="function"&&i.prototype&&(MV(i.prototype)||e in i.prototype)}function MV(i){let e;for(e in i)if(jL.call(i,e))return!0;return!1}function cy(i,e){if(typeof e!="function")throw new TypeError("Cannot `"+i+"` without `Parser`")}function dy(i,e){if(typeof e!="function")throw new TypeError("Cannot `"+i+"` without `Compiler`")}function hy(i,e){if(e)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zL(i){if(!M0(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function UL(i,e,t){if(!t)throw new Error("`"+i+"` finished async. Use `"+e+"` instead")}function F0(i){return OV(i)?i:new P0(i)}function OV(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function PV(i){return typeof i=="string"||(0,WL.default)(i)}function w_(i){Object.assign(this,{Parser:t=>{let n=this.data("settings");return rT(t,Object.assign({},n,i,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var FV={tokenize:UV,partial:!0},qL={tokenize:WV,partial:!0},GL={tokenize:jV,partial:!0},iu={tokenize:KV,partial:!0},$L={tokenize:VV,partial:!0},YL={tokenize:BV,previous:JL},XL={tokenize:zV,previous:fy},Sa={tokenize:HV,previous:ZL},bs={},my={text:bs},Xc=48;for(;Xc<123;)bs[Xc]=Sa,Xc++,Xc===58?Xc=65:Xc===91&&(Xc=97);bs[43]=Sa;bs[45]=Sa;bs[46]=Sa;bs[95]=Sa;bs[72]=[Sa,XL];bs[104]=[Sa,XL];bs[87]=[Sa,YL];bs[119]=[Sa,YL];function HV(i,e,t){let n=this,r,o;return s;function s(m){return!KL(m)||!ZL(n.previous)||gy(n.events)?t(m):(i.enter("literalAutolink"),i.enter("literalAutolinkEmail"),a(m))}function a(m){return KL(m)?(i.consume(m),a):m===64?(i.consume(m),l):t(m)}function l(m){return m===46?i.check(iu,u,c)(m):m===45||m===95?i.check(iu,t,d)(m):Sh(m)?(!o&&eT(m)&&(o=!0),i.consume(m),l):u(m)}function c(m){return i.consume(m),r=!0,o=void 0,l}function d(m){return i.consume(m),h}function h(m){return m===46?i.check(iu,t,c)(m):l(m)}function u(m){return r&&!o?(i.exit("literalAutolinkEmail"),i.exit("literalAutolink"),e(m)):t(m)}}function BV(i,e,t){let n=this;return r;function r(s){return s!==87&&s!==119||!JL(n.previous)||gy(n.events)?t(s):(i.enter("literalAutolink"),i.enter("literalAutolinkWww"),i.check(FV,i.attempt(qL,i.attempt(GL,o),t),t)(s))}function o(s){return i.exit("literalAutolinkWww"),i.exit("literalAutolink"),e(s)}}function zV(i,e,t){let n=this;return r;function r(p){return p!==72&&p!==104||!fy(n.previous)||gy(n.events)?t(p):(i.enter("literalAutolink"),i.enter("literalAutolinkHttp"),i.consume(p),o)}function o(p){return p===84||p===116?(i.consume(p),s):t(p)}function s(p){return p===84||p===116?(i.consume(p),a):t(p)}function a(p){return p===80||p===112?(i.consume(p),l):t(p)}function l(p){return p===83||p===115?(i.consume(p),c):c(p)}function c(p){return p===58?(i.consume(p),d):t(p)}function d(p){return p===47?(i.consume(p),h):t(p)}function h(p){return p===47?(i.consume(p),u):t(p)}function u(p){return p===null||P2(p)||z1(p)||U1(p)?t(p):i.attempt(qL,i.attempt(GL,m),t)(p)}function m(p){return i.exit("literalAutolinkHttp"),i.exit("literalAutolink"),e(p)}}function UV(i,e,t){return n;function n(l){return i.consume(l),r}function r(l){return l===87||l===119?(i.consume(l),o):t(l)}function o(l){return l===87||l===119?(i.consume(l),s):t(l)}function s(l){return l===46?(i.consume(l),a):t(l)}function a(l){return l===null||Si(l)?t(l):e(l)}}function WV(i,e,t){let n,r;return o;function o(l){return l===38?i.check($L,a,s)(l):l===46||l===95?i.check(iu,a,s)(l):l===null||P2(l)||z1(l)||l!==45&&U1(l)?a(l):(i.consume(l),o)}function s(l){return l===46?(r=n,n=void 0,i.consume(l),o):(l===95&&(n=!0),i.consume(l),o)}function a(l){return!r&&!n?e(l):t(l)}}function jV(i,e){let t=0;return n;function n(s){return s===38?i.check($L,e,r)(s):(s===40&&t++,s===41?i.check(iu,o,r)(s):py(s)?e(s):QL(s)?i.check(iu,e,r)(s):(i.consume(s),n))}function r(s){return i.consume(s),n}function o(s){return t--,t<0?e(s):r(s)}}function VV(i,e,t){return n;function n(s){return i.consume(s),r}function r(s){return O2(s)?(i.consume(s),r):s===59?(i.consume(s),o):t(s)}function o(s){return py(s)?e(s):t(s)}}function KV(i,e,t){return n;function n(o){return i.consume(o),r}function r(o){return QL(o)?(i.consume(o),r):py(o)?e(o):t(o)}}function QL(i){return i===33||i===34||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===95||i===126}function py(i){return i===null||i===60||Jr(i)}function KL(i){return i===43||i===45||i===46||i===95||Sh(i)}function JL(i){return i===null||i===40||i===42||i===95||i===126||Jr(i)}function fy(i){return i===null||!O2(i)}function ZL(i){return i!==47&&fy(i)}function gy(i){let e=i.length,t=!1;for(;e--;){let n=i[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){t=!0;break}if(n._gfmAutolinkLiteralWalkedInto){t=!1;break}}return i.length>0&&!t&&(i[i.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var qV={'"':"quot","&":"amp","<":"lt",">":"gt"};function eN(i){return i.replace(/["&<>]/g,e);function e(t){return"&"+qV[t]+";"}}function x_(i,e){let t=eN(GV(i||""));if(!e)return t;let n=t.indexOf(":"),r=t.indexOf("?"),o=t.indexOf("#"),s=t.indexOf("/");return n<0||s>-1&&n>s||r>-1&&n>r||o>-1&&n>o||e.test(t.slice(0,n))?t:""}function GV(i){let e=[],t=-1,n=0,r=0;for(;++t55295&&o<57344){let a=i.charCodeAt(t+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),r=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(i.slice(n,t),encodeURIComponent(s)),n=t+r+1,s=""),r&&(t+=r,r=0)}return e.join("")+i.slice(n)}var $V={tokenize:tK,partial:!0};function _y(){return{document:{[91]:{tokenize:JV,continuation:{tokenize:ZV},exit:eK}},text:{[91]:{tokenize:QV},[93]:{add:"after",tokenize:YV,resolveTo:XV}}}}function YV(i,e,t){let n=this,r=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s;for(;r--;){let l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return t(l);let c=kc(n.sliceSerialize({start:s.end,end:n.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?t(l):(i.enter("gfmFootnoteCallLabelMarker"),i.consume(l),i.exit("gfmFootnoteCallLabelMarker"),e(l))}}function XV(i,e){let t=i.length,n;for(;t--;)if(i[t][1].type==="labelImage"&&i[t][0]==="enter"){n=i[t][1];break}i[t+1][1].type="data",i[t+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},i[t+3][1].start),end:Object.assign({},i[i.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},i[t+3][1].end),end:Object.assign({},i[t+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},i[i.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[i[t+1],i[t+2],["enter",r,e],i[t+3],i[t+4],["enter",o,e],["exit",o,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],i[i.length-2],i[i.length-1],["exit",r,e]];return i.splice(t,i.length-t+1,...l),i}function QV(i,e,t){let n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o=0,s;return a;function a(u){return i.enter("gfmFootnoteCall"),i.enter("gfmFootnoteCallLabelMarker"),i.consume(u),i.exit("gfmFootnoteCallLabelMarker"),l}function l(u){return u!==94?t(u):(i.enter("gfmFootnoteCallMarker"),i.consume(u),i.exit("gfmFootnoteCallMarker"),i.enter("gfmFootnoteCallString"),i.enter("chunkString").contentType="string",c)}function c(u){let m;return u===null||u===91||o++>999?t(u):u===93?s?(i.exit("chunkString"),m=i.exit("gfmFootnoteCallString"),r.includes(kc(n.sliceSerialize(m)))?h(u):t(u)):t(u):(i.consume(u),Jr(u)||(s=!0),u===92?d:c)}function d(u){return u===91||u===92||u===93?(i.consume(u),o++,c):c(u)}function h(u){return i.enter("gfmFootnoteCallLabelMarker"),i.consume(u),i.exit("gfmFootnoteCallLabelMarker"),i.exit("gfmFootnoteCall"),e}}function JV(i,e,t){let n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(f){return i.enter("gfmFootnoteDefinition")._container=!0,i.enter("gfmFootnoteDefinitionLabel"),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(f),i.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(f){return f===94?(i.enter("gfmFootnoteDefinitionMarker"),i.consume(f),i.exit("gfmFootnoteDefinitionMarker"),i.enter("gfmFootnoteDefinitionLabelString"),d):t(f)}function d(f){let v;return f===null||f===91||s>999?t(f):f===93?a?(v=i.exit("gfmFootnoteDefinitionLabelString"),o=kc(n.sliceSerialize(v)),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(f),i.exit("gfmFootnoteDefinitionLabelMarker"),i.exit("gfmFootnoteDefinitionLabel"),m):t(f):Si(f)?(i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),s++,d):(i.enter("chunkString").contentType="string",h(f))}function h(f){return f===null||Si(f)||f===91||f===93||s>999?(i.exit("chunkString"),d(f)):(Jr(f)||(a=!0),s++,i.consume(f),f===92?u:h)}function u(f){return f===91||f===92||f===93?(i.consume(f),s++,h):h(f)}function m(f){return f===58?(i.enter("definitionMarker"),i.consume(f),i.exit("definitionMarker"),rr(i,p,"gfmFootnoteDefinitionWhitespace")):t(f)}function p(f){return r.includes(o)||r.push(o),e(f)}}function ZV(i,e,t){return i.check(iT,e,i.attempt($V,e,t))}function eK(i){i.exit("gfmFootnoteDefinition")}function tK(i,e,t){let n=this;return rr(i,r,"gfmFootnoteDefinitionIndent",4+1);function r(o){let s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function vy(i={}){let e=i.singleTilde,t={tokenize:r,resolveAll:n};return e==null&&(e=!0),{text:{[126]:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function n(o,s){let a=-1;for(;++a1?a(m):(o.consume(m),d++,u);if(d<2&&!e)return a(m);let f=o.exit("strikethroughSequenceTemporary"),v=F2(m);return f._open=!v||v===2&&!!p,f._close=!p||p===2&&!!v,s(m)}}}var by={flow:{null:{tokenize:nK,resolve:iK}}},tN={tokenize:rK,partial:!0};function iK(i,e){let t=-1,n,r,o,s,a,l,c;for(;++t=4?Z(U):(n._gfmTableDynamicInterruptHack=!0,B.check(n.parser.constructs.flow,function(Et){return n._gfmTableDynamicInterruptHack=!1,Z(Et)},function(Et){return n._gfmTableDynamicInterruptHack=!1,Q(Et)})(U))}}}function rK(i,e,t){let n=0;return r;function r(s){return i.enter("check"),i.consume(s),o}function o(s){return s===-1||s===32?(i.consume(s),n++,n===4?e:o):s===null||Jr(s)?e(s):t(s)}}var oK={tokenize:sK},yy={text:{[91]:oK}};function sK(i,e,t){let n=this;return r;function r(a){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?t(a):(i.enter("taskListCheck"),i.enter("taskListCheckMarker"),i.consume(a),i.exit("taskListCheckMarker"),o)}function o(a){return Jr(a)?(i.enter("taskListCheckValueUnchecked"),i.consume(a),i.exit("taskListCheckValueUnchecked"),s):a===88||a===120?(i.enter("taskListCheckValueChecked"),i.consume(a),i.exit("taskListCheckValueChecked"),s):t(a)}function s(a){return a===93?(i.enter("taskListCheckMarker"),i.consume(a),i.exit("taskListCheckMarker"),i.exit("taskListCheck"),i.check({tokenize:aK},e,t)):t(a)}}function aK(i,e,t){let n=this;return rr(i,r,"whitespace");function r(o){let s=n.events[n.events.length-1];return(s&&s[1].type==="whitespace"||Si(o))&&o!==null?e(o):t(o)}}function iN(i){return ZE([my,_y(),vy(i),by,yy])}function nu(i,e){let t=String(i);if(typeof e!="string")throw new TypeError("Expected character");let n=0,r=t.indexOf(e);for(;r!==-1;)n++,r=t.indexOf(e,r+e.length);return n}function Sy(i){if(typeof i!="string")throw new TypeError("Expected a string");return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _n=function(i){if(i==null)return hK;if(typeof i=="string")return dK(i);if(typeof i=="object")return Array.isArray(i)?lK(i):cK(i);if(typeof i=="function")return E_(i);throw new Error("Expected function, string, or object as test")};function lK(i){let e=[],t=-1;for(;++t":""))+")"})),u;function u(){var m=[],p,f,v;if((!e||r(a,l,c[c.length-1]||null))&&(m=uK(t(a,c)),m[0]===Cy))return m;if(a.children&&m[0]!==rN)for(f=(n?a.children.length:-1)+o,v=c.concat(a);f>-1&&f0?{type:"text",value:w}:void 0),w!==!1&&(f!==C&&b.push({type:"text",value:h.value.slice(f,C)}),Array.isArray(w)?b.push(...w):w&&b.push(w),f=C+E[0].length),!m.global)break;E=m.exec(h.value)}return C===void 0?(b=[h],v--):(fi}var wy="phrasing",xy=["autolink","link","image","label"],lN={transforms:[yK],enter:{literalAutolink:fK,literalAutolinkEmail:Ey,literalAutolinkHttp:Ey,literalAutolinkWww:Ey},exit:{literalAutolink:bK,literalAutolinkEmail:vK,literalAutolinkHttp:gK,literalAutolinkWww:_K}},cN={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:wy,notInConstruct:xy},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:wy,notInConstruct:xy},{character:":",before:"[ps]",after:"\\/",inConstruct:wy,notInConstruct:xy}]};function fK(i){this.enter({type:"link",title:null,url:"",children:[]},i)}function Ey(i){this.config.enter.autolinkProtocol.call(this,i)}function gK(i){this.config.exit.autolinkProtocol.call(this,i)}function _K(i){this.config.exit.data.call(this,i);let e=this.stack[this.stack.length-1];e.url="http://"+this.sliceSerialize(i)}function vK(i){this.config.exit.autolinkEmail.call(this,i)}function bK(i){this.exit(i)}function yK(i){aN(i,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,SK],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,CK]],{ignore:["link","linkReference"]})}function SK(i,e,t,n,r){let o="";if(!dN(r)||(/^w/i.test(e)&&(t=e+t,e="",o="http://"),!wK(t)))return!1;let s=xK(t+n);if(!s[0])return!1;let a={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function CK(i,e,t,n){return!dN(n,!0)||/[_-\d]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+t,children:[{type:"text",value:e+"@"+t}]}}function wK(i){let e=i.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function xK(i){let e=/[!"&'),.:;<>?\]}]+$/.exec(i),t,n,r,o;if(e)for(i=i.slice(0,e.index),o=e[0],t=o.indexOf(")"),n=nu(i,"("),r=nu(i,")");t!==-1&&n>r;)i+=o.slice(0,t+1),o=o.slice(t+1),t=o.indexOf(")"),r++;return[i,o]}function dN(i,e){let t=i.input.charCodeAt(i.index-1);return(i.index===0||z1(t)||U1(t))&&(!e||t!==47)}function Ty(i){return i.label||!i.identifier?i.label||"":nT(i.identifier)}function On(i){let e=i||{},t=e.now||{},n=e.lineShift||0,r=t.line||1,o=t.column||1;return{move:l,current:s,shift:a};function s(){return{now:{line:r,column:o},lineShift:n}}function a(c){n+=c}function l(c=""){let d=c.split(/\r?\n|\r/g),h=d[d.length-1];return r+=d.length-1,o=d.length===1?o+h.length:1+h.length+n,c}}function I_(i,e,t){let n=e.indexStack,r=i.children||[],o=On(t),s=[],a=-1;for(n.push(-1);++a=c||d+10?" ":"")),a.shift(4),l+=a.move(T_(E_(n,o,a.current()),h)),c(),l;function h(u,m,p){return m?(p?"":" ")+u:u}}}function k_(i,e,t){let n=e.indexStack,r=i.children||[],o=[],s=-1,a=t.before;n.push(-1);let l=On(t);for(;++s0&&(a==="\r"||a===` -`)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),a=" ",l=On(t),l.move(o.join(""))),o.push(l.move(e.handle(c,i,e,Qe(ge({},l.current()),{before:a,after:d})))),a=o[o.length-1].slice(-1)}return n.pop(),o.join("")}var sN={canContainEols:["delete"],enter:{strikethrough:_K},exit:{strikethrough:vK}},aN={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:lN}};lN.peek=bK;function _K(i){this.enter({type:"delete",children:[]},i)}function vK(i){this.exit(i)}function lN(i,e,t,n){let r=On(n),o=t.enter("emphasis"),s=r.move("~~");return s+=k_(i,t,Qe(ge({},r.current()),{before:s,after:"~"})),s+=r.move("~~"),o(),s}function bK(){return"~"}wy.peek=yK;function wy(i,e,t){let n=i.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++ol&&(l=i[c].length);++ba[b])&&(a[b]=C)}p.push(_)}o[c]=p,s[c]=f}let d=-1;if(typeof t=="object"&&"length"in t)for(;++da[d]&&(a[d]=_),u[d]=_),h[d]=C}o.splice(1,0,h),s.splice(1,0,u),c=-1;let m=[];for(;++ct==="none"?null:t),children:[]},i),this.setData("inTable",!0)}function xK(i){this.exit(i),this.setData("inTable")}function EK(i){this.enter({type:"tableRow",children:[]},i)}function xy(i){this.exit(i)}function hN(i){this.enter({type:"tableCell",children:[]},i)}function TK(i){let e=this.resume();this.getData("inTable")&&(e=e.replace(/\\([\\|])/g,IK));let t=this.stack[this.stack.length-1];t.value=e,this.exit(i)}function IK(i,e){return e==="|"?e:i}function Ty(i){let e=i||{},t=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` -`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:s,tableRow:a,tableCell:l,inlineCode:u}};function s(m,p,f,b){return c(d(m,f,b),m.align)}function a(m,p,f,b){let _=h(m,f,b),C=c([_]);return C.slice(0,C.indexOf(` -`))}function l(m,p,f,b){let _=f.enter("tableCell"),C=f.enter("phrasing"),x=k_(m,f,Qe(ge({},b),{before:o,after:o}));return C(),_(),x}function c(m,p){return dN(m,{align:p,alignDelimiters:n,padding:t,stringLength:r})}function d(m,p,f){let b=m.children,_=-1,C=[],x=p.enter("table");for(;++_-1?e.start:1)+(t.options.incrementListMarker===!1?0:e.children.indexOf(i))+o);let s=o.length+1;(r==="tab"||r==="mixed"&&(e&&e.type==="list"&&e.spread||i.spread))&&(s=Math.ceil(s/4)*4);let a=On(n);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=t.enter("listItem"),c=T_(E_(i,t,a.current()),d);return l(),c;function d(h,u,m){return u?(m?"":" ".repeat(s))+h:(m?o:o+" ".repeat(s-o.length))+h}}var gN={exit:{taskListCheckValueChecked:fN,taskListCheckValueUnchecked:fN,paragraph:kK}},_N={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:AK}};function fN(i){let e=this.stack[this.stack.length-2];e.checked=i.type==="taskListCheckValueChecked"}function kK(i){let e=this.stack[this.stack.length-2],t=this.stack[this.stack.length-1],n=e.children,r=t.children[0],o=-1,s;if(e&&e.type==="listItem"&&typeof e.checked=="boolean"&&r&&r.type==="text"){for(;++os&&(s=o):o=1,r=n+1,n=t.indexOf(e,r);return s}function SN(){return{enter:{mathFlow:i,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:r,mathFlowFence:n,mathFlowFenceMeta:t,mathFlowValue:a,mathText:s,mathTextData:a}};function i(l){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},l)}function e(){this.buffer()}function t(){let l=this.resume(),c=this.stack[this.stack.length-1];c.meta=l}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function r(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.exit(l);d.value=c,d.data.hChildren[0].value=c,this.setData("mathFlowInside")}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},l),this.buffer()}function s(l){let c=this.resume(),d=this.exit(l);d.value=c,d.data.hChildren[0].value=c}function a(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function CN(i={}){let e=i.singleDollarTextMath;return e==null&&(e=!0),n.peek=r,{unsafe:[{character:"\r",inConstruct:["mathFlowMeta"]},{character:"\r",inConstruct:["mathFlowMeta"]},e?{character:"$",inConstruct:["mathFlowMeta","phrasing"]}:{character:"$",after:"\\$",inConstruct:["mathFlowMeta","phrasing"]},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:t,inlineMath:n}};function t(o,s,a,l){let c=o.value||"",d="$".repeat(Math.max(yN(c,"$")+1,2)),h=a.enter("mathFlow"),u=On(l),m=u.move(d);if(o.meta){let p=a.enter("mathFlowMeta");m+=u.move(P0(a,o.meta,Qe(ge({},u.current()),{before:m,after:" ",encode:["$"]}))),p()}return m+=u.move(` +`}}var EK=/\r?\n|\r/g;function k_(i,e){let t=[],n=0,r=0,o;for(;o=EK.exec(i);)s(i.slice(n,o.index)),t.push(o[0]),n=o.index+o[0].length,r++;return s(i.slice(n)),t.join("");function s(a){t.push(e(a,r,!a))}}function A_(i){if(!i._compiled){let e=(i.atBreak?"[\\r\\n][\\t ]*":"")+(i.before?"(?:"+i.before+")":"");i._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(i.character)?"\\":"")+i.character+(i.after?"(?:"+i.after+")":""),"g")}return i._compiled}function uN(i,e){return hN(i,e.inConstruct,!0)&&!hN(i,e.notInConstruct,!1)}function hN(i,e,t){if(!e)return t;typeof e=="string"&&(e=[e]);let n=-1;for(;++n=c||d+10?" ":"")),a.shift(4),l+=a.move(k_(I_(n,o,a.current()),h)),c(),l;function h(u,m,p){return m?(p?"":" ")+u:u}}}function L_(i,e,t){let n=e.indexStack,r=i.children||[],o=[],s=-1,a=t.before;n.push(-1);let l=On(t);for(;++s0&&(a==="\r"||a===` +`)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),a=" ",l=On(t),l.move(o.join(""))),o.push(l.move(e.handle(c,i,e,Qe(me({},l.current()),{before:a,after:d})))),a=o[o.length-1].slice(-1)}return n.pop(),o.join("")}var gN={canContainEols:["delete"],enter:{strikethrough:IK},exit:{strikethrough:kK}},_N={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:vN}};vN.peek=AK;function IK(i){this.enter({type:"delete",children:[]},i)}function kK(i){this.exit(i)}function vN(i,e,t,n){let r=On(n),o=t.enter("emphasis"),s=r.move("~~");return s+=L_(i,t,Qe(me({},r.current()),{before:s,after:"~"})),s+=r.move("~~"),o(),s}function AK(){return"~"}Iy.peek=LK;function Iy(i,e,t){let n=i.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++ol&&(l=i[c].length);++va[v])&&(a[v]=C)}p.push(b)}o[c]=p,s[c]=f}let d=-1;if(typeof t=="object"&&"length"in t)for(;++da[d]&&(a[d]=b),u[d]=b),h[d]=C}o.splice(1,0,h),s.splice(1,0,u),c=-1;let m=[];for(;++ct==="none"?null:t),children:[]},i),this.setData("inTable",!0)}function MK(i){this.exit(i),this.setData("inTable")}function OK(i){this.enter({type:"tableRow",children:[]},i)}function ky(i){this.exit(i)}function SN(i){this.enter({type:"tableCell",children:[]},i)}function PK(i){let e=this.resume();this.getData("inTable")&&(e=e.replace(/\\([\\|])/g,FK));let t=this.stack[this.stack.length-1];t.value=e,this.exit(i)}function FK(i,e){return e==="|"?e:i}function Ly(i){let e=i||{},t=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:s,tableRow:a,tableCell:l,inlineCode:u}};function s(m,p,f,v){return c(d(m,f,v),m.align)}function a(m,p,f,v){let b=h(m,f,v),C=c([b]);return C.slice(0,C.indexOf(` +`))}function l(m,p,f,v){let b=f.enter("tableCell"),C=f.enter("phrasing"),E=L_(m,f,Qe(me({},v),{before:o,after:o}));return C(),b(),E}function c(m,p){return yN(m,{align:p,alignDelimiters:n,padding:t,stringLength:r})}function d(m,p,f){let v=m.children,b=-1,C=[],E=p.enter("table");for(;++b-1?e.start:1)+(t.options.incrementListMarker===!1?0:e.children.indexOf(i))+o);let s=o.length+1;(r==="tab"||r==="mixed"&&(e&&e.type==="list"&&e.spread||i.spread))&&(s=Math.ceil(s/4)*4);let a=On(n);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=t.enter("listItem"),c=k_(I_(i,t,a.current()),d);return l(),c;function d(h,u,m){return u?(m?"":" ".repeat(s))+h:(m?o:o+" ".repeat(s-o.length))+h}}var TN={exit:{taskListCheckValueChecked:EN,taskListCheckValueUnchecked:EN,paragraph:HK}},IN={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:BK}};function EN(i){let e=this.stack[this.stack.length-2];e.checked=i.type==="taskListCheckValueChecked"}function HK(i){let e=this.stack[this.stack.length-2],t=this.stack[this.stack.length-1],n=e.children,r=t.children[0],o=-1,s;if(e&&e.type==="listItem"&&typeof e.checked=="boolean"&&r&&r.type==="text"){for(;++os&&(s=o):o=1,r=n+1,n=t.indexOf(e,r);return s}function NN(){return{enter:{mathFlow:i,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:r,mathFlowFence:n,mathFlowFenceMeta:t,mathFlowValue:a,mathText:s,mathTextData:a}};function i(l){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},l)}function e(){this.buffer()}function t(){let l=this.resume(),c=this.stack[this.stack.length-1];c.meta=l}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function r(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.exit(l);d.value=c,d.data.hChildren[0].value=c,this.setData("mathFlowInside")}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},l),this.buffer()}function s(l){let c=this.resume(),d=this.exit(l);d.value=c,d.data.hChildren[0].value=c}function a(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function RN(i={}){let e=i.singleDollarTextMath;return e==null&&(e=!0),n.peek=r,{unsafe:[{character:"\r",inConstruct:["mathFlowMeta"]},{character:"\r",inConstruct:["mathFlowMeta"]},e?{character:"$",inConstruct:["mathFlowMeta","phrasing"]}:{character:"$",after:"\\$",inConstruct:["mathFlowMeta","phrasing"]},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:t,inlineMath:n}};function t(o,s,a,l){let c=o.value||"",d="$".repeat(Math.max(LN(c,"$")+1,2)),h=a.enter("mathFlow"),u=On(l),m=u.move(d);if(o.meta){let p=a.enter("mathFlowMeta");m+=u.move(H0(a,o.meta,Qe(me({},u.current()),{before:m,after:" ",encode:["$"]}))),p()}return m+=u.move(` `),c&&(m+=u.move(c+` -`)),m+=u.move(d),h(),m}function n(o){let s=o.value||"",a=1,l="";for(e||a++;new RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(s);)a++;/[^ \r\n]/.test(s)&&(/[ \r\n$]/.test(s.charAt(0))||/[ \r\n$]/.test(s.charAt(s.length-1)))&&(l=" ");let c="$".repeat(a);return c+l+s+l+c}function r(){return"$"}}function Ny(i={}){let e=this.data();t("micromarkExtensions",Ly(i)),t("fromMarkdownExtensions",SN()),t("toMarkdownExtensions",CN(i));function t(n,r){(e[n]?e[n]:e[n]=[]).push(r)}}var kt=function(i,e,t){var n={type:String(i)};return t==null&&(typeof e=="string"||Array.isArray(e))?t=e:Object.assign(n,e),Array.isArray(t)?n.children=t:t!=null&&(n.value=String(t)),n};var A_={}.hasOwnProperty;function OK(i,e){let t=e.data||{};return"value"in e&&!(A_.call(t,"hName")||A_.call(t,"hProperties")||A_.call(t,"hChildren"))?i.augment(e,kt("text",e.value)):i(e,"div",Mt(i,e))}function Ry(i,e,t){let n=e&&e.type,r;if(!n)throw new Error("Expected node, got `"+e+"`");return A_.call(i.handlers,n)?r=i.handlers[n]:i.passThrough&&i.passThrough.includes(n)?r=PK:r=i.unknownHandler,(typeof r=="function"?r:OK)(i,e,t)}function PK(i,e){return"children"in e?Qe(ge({},e),{children:Mt(i,e)}):e}function Mt(i,e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r":""))+")"})),u;function u(){let m=[],p,f,b;if((!e||r(a,l,c[c.length-1]||null))&&(m=FK(t(a,c)),m[0]===Dy))return m;if(a.children&&m[0]!==xN)for(f=(n?a.children.length:-1)+o,b=c.concat(a);f>-1&&f-1?n.offset:null}}}function IN(i){return!i||!i.position||!i.position.start||!i.position.start.line||!i.position.start.column||!i.position.end||!i.position.end.line||!i.position.end.column}var kN=function(i,e,t,n){typeof e=="function"&&typeof t!="function"&&(n=t,t=e,e=null),x_(i,e,r,n);function r(o,s){var a=s[s.length-1];return t(o,a?a.children.indexOf(o):null,a)}};var AN={}.hasOwnProperty;function NN(i){let e=Object.create(null);if(!i||!i.type)throw new Error("mdast-util-definitions expected node");return kN(i,"definition",t),n;function t(r){let o=LN(r.identifier);o&&!AN.call(e,o)&&(e[o]=r)}function n(r){let o=LN(r);return o&&AN.call(e,o)?e[o]:null}}function LN(i){return String(i||"").toUpperCase()}function pr(i,e){let t=[],n=-1;for(e&&t.push(kt("text",` +`)),m+=u.move(d),h(),m}function n(o){let s=o.value||"",a=1,l="";for(e||a++;new RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(s);)a++;/[^ \r\n]/.test(s)&&(/[ \r\n$]/.test(s.charAt(0))||/[ \r\n$]/.test(s.charAt(s.length-1)))&&(l=" ");let c="$".repeat(a);return c+l+s+l+c}function r(){return"$"}}function Oy(i={}){let e=this.data();t("micromarkExtensions",My(i)),t("fromMarkdownExtensions",NN()),t("toMarkdownExtensions",RN(i));function t(n,r){(e[n]?e[n]:e[n]=[]).push(r)}}var kt=function(i,e,t){var n={type:String(i)};return t==null&&(typeof e=="string"||Array.isArray(e))?t=e:Object.assign(n,e),Array.isArray(t)?n.children=t:t!=null&&(n.value=String(t)),n};var N_={}.hasOwnProperty;function KK(i,e){let t=e.data||{};return"value"in e&&!(N_.call(t,"hName")||N_.call(t,"hProperties")||N_.call(t,"hChildren"))?i.augment(e,kt("text",e.value)):i(e,"div",Mt(i,e))}function Py(i,e,t){let n=e&&e.type,r;if(!n)throw new Error("Expected node, got `"+e+"`");return N_.call(i.handlers,n)?r=i.handlers[n]:i.passThrough&&i.passThrough.includes(n)?r=qK:r=i.unknownHandler,(typeof r=="function"?r:KK)(i,e,t)}function qK(i,e){return"children"in e?Qe(me({},e),{children:Mt(i,e)}):e}function Mt(i,e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r":""))+")"})),u;function u(){let m=[],p,f,v;if((!e||r(a,l,c[c.length-1]||null))&&(m=GK(t(a,c)),m[0]===Fy))return m;if(a.children&&m[0]!==MN)for(f=(n?a.children.length:-1)+o,v=c.concat(a);f>-1&&f-1?n.offset:null}}}function FN(i){return!i||!i.position||!i.position.start||!i.position.start.line||!i.position.start.column||!i.position.end||!i.position.end.line||!i.position.end.column}var HN=function(i,e,t,n){typeof e=="function"&&typeof t!="function"&&(n=t,t=e,e=null),T_(i,e,r,n);function r(o,s){var a=s[s.length-1];return t(o,a?a.children.indexOf(o):null,a)}};var BN={}.hasOwnProperty;function UN(i){let e=Object.create(null);if(!i||!i.type)throw new Error("mdast-util-definitions expected node");return HN(i,"definition",t),n;function t(r){let o=zN(r.identifier);o&&!BN.call(e,o)&&(e[o]=r)}function n(r){let o=zN(r);return o&&BN.call(e,o)?e[o]:null}}function zN(i){return String(i||"").toUpperCase()}function pr(i,e){let t=[],n=-1;for(e&&t.push(kt("text",` `));++n0&&t.push(kt("text",` -`)),t}function RN(i){let e=-1,t=[];for(;++e1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:i.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};a>1&&h.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(h)}let c=r[r.length-1];if(c&&c.type==="element"&&c.tagName==="p"){let h=c.children[c.children.length-1];h&&h.type==="text"?h.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else r.push(...l);let d={type:"element",tagName:"li",properties:{id:i.clobberPrefix+"fn-"+s},children:pr(r,!0)};n.position&&(d.position=n.position),t.push(d)}return t.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[kt("text",i.footnoteLabel)]},{type:"text",value:` +`)),t}function WN(i){let e=-1,t=[];for(;++e1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:i.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};a>1&&h.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(h)}let c=r[r.length-1];if(c&&c.type==="element"&&c.tagName==="p"){let h=c.children[c.children.length-1];h&&h.type==="text"?h.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else r.push(...l);let d={type:"element",tagName:"li",properties:{id:i.clobberPrefix+"fn-"+s},children:pr(r,!0)};n.position&&(d.position=n.position),t.push(d)}return t.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[kt("text",i.footnoteLabel)]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:pr(t,!0)},{type:"text",value:` -`}]}}function DN(i,e){return i(e,"blockquote",pr(Mt(i,e),!0))}function MN(i,e){return[i(e,"br"),kt("text",` -`)]}function ON(i,e){let t=e.value?e.value+` -`:"",n=e.lang&&e.lang.match(/^[^ \t]+(?=[ \t]|$)/),r={};n&&(r.className=["language-"+n]);let o=i(e,"code",r,[kt("text",t)]);return e.meta&&(o.data={meta:e.meta}),i(e.position,"pre",[o])}function PN(i,e){return i(e,"del",Mt(i,e))}function FN(i,e){return i(e,"em",Mt(i,e))}function L_(i,e){let t=String(e.identifier),n=C_(t.toLowerCase()),r=i.footnoteOrder.indexOf(t),o;r===-1?(i.footnoteOrder.push(t),i.footnoteCounts[t]=1,o=i.footnoteOrder.length):(i.footnoteCounts[t]++,o=r+1);let s=i.footnoteCounts[t];return i(e,"sup",[i(e.position,"a",{href:"#"+i.clobberPrefix+"fn-"+n,id:i.clobberPrefix+"fnref-"+n+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[kt("text",String(o))])])}function HN(i,e){let t=i.footnoteById,n=1;for(;n in t;)n++;let r=String(n);return t[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:e.children}],position:e.position},L_(i,{type:"footnoteReference",identifier:r,position:e.position})}function BN(i,e){return i(e,"h"+e.depth,Mt(i,e))}function zN(i,e){return i.dangerous?i.augment(e,kt("raw",e.value)):null}var jN=qi(F0(),1);function R_(i,e){let t=e.referenceType,n="]";if(t==="collapsed"?n+="[]":t==="full"&&(n+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return kt("text","!["+e.alt+n);let r=Mt(i,e),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift(kt("text","["));let s=r[r.length-1];return s&&s.type==="text"?s.value+=n:r.push(kt("text",n)),r}function VN(i,e){let t=i.definition(e.identifier);if(!t)return R_(i,e);let n={src:(0,jN.default)(t.url||""),alt:e.alt};return t.title!==null&&t.title!==void 0&&(n.title=t.title),i(e,"img",n)}var KN=qi(F0(),1);function qN(i,e){let t={src:(0,KN.default)(e.url),alt:e.alt};return e.title!==null&&e.title!==void 0&&(t.title=e.title),i(e,"img",t)}function GN(i,e){return i(e,"code",[kt("text",e.value.replace(/\r?\n|\r/g," "))])}var $N=qi(F0(),1);function YN(i,e){let t=i.definition(e.identifier);if(!t)return R_(i,e);let n={href:(0,$N.default)(t.url||"")};return t.title!==null&&t.title!==void 0&&(n.title=t.title),i(e,"a",n,Mt(i,e))}var XN=qi(F0(),1);function QN(i,e){let t={href:(0,XN.default)(e.url)};return e.title!==null&&e.title!==void 0&&(t.title=e.title),i(e,"a",t,Mt(i,e))}function ZN(i,e,t){let n=Mt(i,e),r=t?BK(t):JN(e),o={},s=[];if(typeof e.checked=="boolean"){let c;n[0]&&n[0].type==="element"&&n[0].tagName==="p"?c=n[0]:(c=i(null,"p",[]),n.unshift(c)),c.children.length>0&&c.children.unshift(kt("text"," ")),c.children.unshift(i(null,"input",{type:"checkbox",checked:e.checked,disabled:!0})),o.className=["task-list-item"]}let a=-1;for(;++a1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[kt("text",String(o))])])}function $N(i,e){let t=i.footnoteById,n=1;for(;n in t;)n++;let r=String(n);return t[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:e.children}],position:e.position},R_(i,{type:"footnoteReference",identifier:r,position:e.position})}function YN(i,e){return i(e,"h"+e.depth,Mt(i,e))}function XN(i,e){return i.dangerous?i.augment(e,kt("raw",e.value)):null}var ZN=qi(B0(),1);function M_(i,e){let t=e.referenceType,n="]";if(t==="collapsed"?n+="[]":t==="full"&&(n+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return kt("text","!["+e.alt+n);let r=Mt(i,e),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift(kt("text","["));let s=r[r.length-1];return s&&s.type==="text"?s.value+=n:r.push(kt("text",n)),r}function eR(i,e){let t=i.definition(e.identifier);if(!t)return M_(i,e);let n={src:(0,ZN.default)(t.url||""),alt:e.alt};return t.title!==null&&t.title!==void 0&&(n.title=t.title),i(e,"img",n)}var tR=qi(B0(),1);function iR(i,e){let t={src:(0,tR.default)(e.url),alt:e.alt};return e.title!==null&&e.title!==void 0&&(t.title=e.title),i(e,"img",t)}function nR(i,e){return i(e,"code",[kt("text",e.value.replace(/\r?\n|\r/g," "))])}var rR=qi(B0(),1);function oR(i,e){let t=i.definition(e.identifier);if(!t)return M_(i,e);let n={href:(0,rR.default)(t.url||"")};return t.title!==null&&t.title!==void 0&&(n.title=t.title),i(e,"a",n,Mt(i,e))}var sR=qi(B0(),1);function aR(i,e){let t={href:(0,sR.default)(e.url)};return e.title!==null&&e.title!==void 0&&(t.title=e.title),i(e,"a",t,Mt(i,e))}function lR(i,e,t){let n=Mt(i,e),r=t?YK(t):cR(e),o={},s=[];if(typeof e.checked=="boolean"){let c;n[0]&&n[0].type==="element"&&n[0].tagName==="p"?c=n[0]:(c=i(null,"p",[]),n.unshift(c)),c.children.length>0&&c.children.unshift(kt("text"," ")),c.children.unshift(i(null,"input",{type:"checkbox",checked:e.checked,disabled:!0})),o.className=["task-list-item"]}let a=-1;for(;++a1:e}function eR(i,e){let t={},n=e.ordered?"ol":"ul",r=Mt(i,e),o=-1;for(typeof e.start=="number"&&e.start!==1&&(t.start=e.start);++o{let l=String(a.identifier).toUpperCase();zK.call(r,l)||(r[l]=a)}),s;function o(a,l){if(a&&"data"in a&&a.data){let c=a.data;c.hName&&(l.type!=="element"&&(l={type:"element",tagName:"",properties:{},children:[]}),l.tagName=c.hName),l.type==="element"&&c.hProperties&&(l.properties=ge(ge({},l.properties),c.hProperties)),"children"in l&&l.children&&c.hChildren&&(l.children=c.hChildren)}if(a){let c="type"in a?a:{position:a};IN(c)||(l.position={start:Qc(c),end:ru(c)})}return l}function s(a,l,c,d){return Array.isArray(c)&&(d=c,c={}),o(a,{type:"element",tagName:l,properties:c||{},children:d||[]})}}function M_(i,e){let t=UK(i,e),n=Ry(t,i,null),r=RN(t);return r&&n.children.push(kt("text",` -`),r),Array.isArray(n)?{type:"root",children:n}:n}var WK=function(i,e){return i&&"run"in i?jK(i,e):VK(i||e)},Oy=WK;function jK(i,e){return(t,n,r)=>{i.run(M_(t,e),n,o=>{r(o)})}}function VK(i){return e=>M_(e,i)}var WM=qi(b3(),1);var La=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};La.prototype.property={};La.prototype.normal={};La.prototype.space=null;function y3(i,e){let t={},n={},r=-1;for(;++ret,booleanish:()=>xi,commaOrSpaceSeparated:()=>_r,commaSeparated:()=>Gl,number:()=>ce,overloadedBoolean:()=>S3,spaceSeparated:()=>Kt});var g$=0,et=sd(),xi=sd(),S3=sd(),ce=sd(),Kt=sd(),Gl=sd(),_r=sd();function sd(){return 2**++g$}var C3=Object.keys(em),ad=class extends Hn{constructor(e,t,n,r){let o=-1;if(super(e,t),gM(this,"space",r),typeof n=="number")for(;++o4&&t.slice(0,4)==="data"&&v$.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(bM,S$);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!bM.test(o)){let s=o.replace(b$,y$);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}r=ad}return new r(n,e)}function y$(i){return"-"+i.toLowerCase()}function S$(i){return i.charAt(1).toUpperCase()}var I3={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Fo=y3([x3,w3,E3,T3,_M],"html"),qn=y3([x3,w3,E3,T3,vM],"svg");var yM=/[#.]/g,SM=function(i,e="div"){for(var t=i||"",n={},r=0,o,s,a;r-1&&ss)return{line:a+1,column:s-(t[a-1]||0)+1,offset:s}}return{line:void 0,column:void 0,offset:void 0}}function o(s){var a=s&&s.line,l=s&&s.column,c;return typeof a=="number"&&typeof l=="number"&&!Number.isNaN(a)&&!Number.isNaN(l)&&a-1 in t&&(c=(t[a-2]||0)+l-1||0),c>-1&&c0?i.call(e,o,s,a):i.call(e,o,s)}function Q$(i,e,t,n,r){let o=Po(n.schema,e),s;t==null||typeof t=="number"&&Number.isNaN(t)||t===!1&&(n.vue||n.vdom||n.hyperscript)||!t&&o.boolean&&(n.vue||n.vdom||n.hyperscript)||(Array.isArray(t)&&(t=o.commaSeparated?fv(t):pv(t)),o.boolean&&n.hyperscript&&(t=""),o.property==="style"&&typeof t=="string"&&(n.react||n.vue||n.vdom)&&(t=iY(t,r)),n.vue?o.property!=="style"&&(s="attrs"):o.mustUseProperty||(n.vdom?o.property!=="style"&&(s="attributes"):n.hyperscript&&(s="attrs")),s?i[s]=Object.assign(i[s]||{},{[o.attribute]:t}):o.space&&n.react?i[G$[o.property]||o.property]=t:i[o.attribute]=t)}function Z$(i){let e=i("div",{});return!!(e&&("_owner"in e||"_store"in e)&&(e.key===void 0||e.key===null))}function J$(i){return"context"in i&&"cleanup"in i}function eY(i){return i("div",{}).type==="VirtualNode"}function tY(i){let e=i("div",{});return!!(e&&e.context&&e.context._isVue)}function iY(i,e){let t={};try{(0,FM.default)(i,(n,r)=>{n.slice(0,4)==="-ms-"&&(n="ms-"+n.slice(4)),t[n.replace(/-([a-z])/g,(o,s)=>s.toUpperCase())]=r})}catch(n){throw n.message=e+"[style]"+n.message.slice(9),n}return t}var zM={}.hasOwnProperty;function _v(i,e){var t=e||{};function n(r){var o=n.invalid,s=n.handlers;if(r&&zM.call(r,i)&&(o=zM.call(s,r[i])?s[r[i]]:n.unknown),o)return o.apply(this,arguments)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}var nY={}.hasOwnProperty,UM=_v("type",{handlers:{root:rY,element:cY,text:aY,comment:lY,doctype:sY}});function M3(i,e){return UM(i,e==="svg"?qn:Fo)}function rY(i,e){var t={nodeName:"#document",mode:(i.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return t.childNodes=O3(i.children,t,e),gu(i,t)}function oY(i,e){var t={nodeName:"#document-fragment",childNodes:[]};return t.childNodes=O3(i.children,t,e),gu(i,t)}function sY(i){return gu(i,{nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0})}function aY(i){return gu(i,{nodeName:"#text",value:i.value,parentNode:void 0})}function lY(i){return gu(i,{nodeName:"#comment",data:i.value,parentNode:void 0})}function cY(i,e){var t=e.space;return HM(n,Object.assign({},i,{children:[]}),{space:t});function n(r,o){var s=[],a,l,c,d,h;for(c in o)!nY.call(o,c)||o[c]===!1||(a=Po(e,c),!(a.boolean&&!o[c])&&(l={name:c,value:o[c]===!0?"":String(o[c])},a.space&&a.space!=="html"&&a.space!=="svg"&&(d=c.indexOf(":"),d<0?l.prefix="":(l.name=c.slice(d+1),l.prefix=c.slice(0,d)),l.namespace=Gn[a.space]),s.push(l)));return e.space==="html"&&i.tagName==="svg"&&(e=qn),h=gu(i,{nodeName:r,tagName:r,attrs:s,namespaceURI:Gn[e.space],childNodes:[],parentNode:void 0}),h.childNodes=O3(i.children,h,e),r==="template"&&(h.content=oY(i.content,e)),h}}function O3(i,e,t){var n=-1,r=[],o;if(i)for(;++n{let Se=D;if(Se.value.stitch&&G!==null&&K!==null)return G.children[K]=Se.value.stitch,K}),i.type!=="root"&&h.type==="root"&&h.children.length===1)return h.children[0];return h;function u(){let D={nodeName:"template",tagName:"template",attrs:[],namespaceURI:Gn.html,childNodes:[]},K={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:Gn.html,childNodes:[]},G={nodeName:"#document-fragment",childNodes:[]};if(r._bootstrap(K,D),r._pushTmplInsertionMode(dY),r._initTokenizerForFragmentParsing(),r._insertFakeRootElement(),r._resetInsertionMode(),r._findFormInFragmentContext(),a=r.tokenizer,!a)throw new Error("Expected `tokenizer`");return l=a.preprocessor,d=a.__mixins[0],c=d.posTracker,o(i),r._adoptNodes(K.childNodes[0],G),G}function m(){let D=r.treeAdapter.createDocument();if(r._bootstrap(D,void 0),a=r.tokenizer,!a)throw new Error("Expected `tokenizer`");return l=a.preprocessor,d=a.__mixins[0],c=d.posTracker,o(i),D}function p(D){let K=-1;if(D)for(;++Kbv(e,t,i)}var Yn=class{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new Yn(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}},fo=class{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new fo(t,Yn.range(this,e))}},de=class{constructor(e,t){this.position=void 0;var n="KaTeX parse error: "+e,r,o=t&&t.loc;if(o&&o.start<=o.end){var s=o.lexer.input;r=o.start;var a=o.end;r===s.length?n+=" at end of input: ":n+=" at position "+(r+1)+": ";var l=s.slice(r,a).replace(/[^]/g,"$&\u0332"),c;r>15?c="\u2026"+s.slice(r-15,r):c=s.slice(0,r);var d;a+15":">","<":"<",'"':""","'":"'"},AY=/[&><"']/g;function LY(i){return String(i).replace(AY,e=>kY[e])}var yO=function i(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?i(e.body[0]):e:e.type==="font"?i(e.body):e},NY=function(e){var t=yO(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},RY=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},DY=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return t!=null?t[1]:"_relative"},Ge={contains:xY,deflt:EY,escape:LY,hyphenate:IY,getBaseElem:yO,isCharacterBox:NY,protocolFromUrl:DY},Nv={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 "},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 ",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:i=>"#"+i},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(i,e)=>(e.push(i),e)},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:i=>Math.max(0,i),cli:"--min-rule-thickness ",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:i=>Math.max(0,i),cli:"-s, --max-size ",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:i=>Math.max(0,i),cli:"-e, --max-expand ",cliProcessor:i=>i==="Infinity"?1/0:parseInt(i)},globalGroup:{type:"boolean",cli:!1}};function MY(i){if(i.default)return i.default;var e=i.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var sm=class{constructor(e){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,e=e||{};for(var t in Nv)if(Nv.hasOwnProperty(t)){var n=Nv[t];this[t]=e[t]!==void 0?n.processor?n.processor(e[t]):e[t]:MY(n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r=="function"&&(r=r(e,t,n)),!(!r||r==="ignore")){if(r===!0||r==="error")throw new de("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),n);r==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r=="function")try{r=r(e,t,n)}catch(o){r="error"}return!r||r==="ignore"?!1:r===!0||r==="error"?!0:r==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=Ge.protocolFromUrl(e.url));var t=typeof this.trust=="function"?this.trust(e):this.trust;return!!t}},xs=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Es[OY[this.id]]}sub(){return Es[PY[this.id]]}fracNum(){return Es[FY[this.id]]}fracDen(){return Es[HY[this.id]]}cramp(){return Es[BY[this.id]]}text(){return Es[zY[this.id]]}isTight(){return this.size>=2}},aS=0,Dv=1,bu=2,Ma=3,am=4,po=5,yu=6,Xn=7,Es=[new xs(aS,0,!1),new xs(Dv,0,!0),new xs(bu,1,!1),new xs(Ma,1,!0),new xs(am,2,!1),new xs(po,2,!0),new xs(yu,3,!1),new xs(Xn,3,!0)],OY=[am,po,am,po,yu,Xn,yu,Xn],PY=[po,po,po,po,Xn,Xn,Xn,Xn],FY=[bu,Ma,am,po,yu,Xn,yu,Xn],HY=[Ma,Ma,po,po,Xn,Xn,Xn,Xn],BY=[Dv,Dv,Ma,Ma,po,po,Xn,Xn],zY=[aS,Dv,bu,Ma,bu,Ma,bu,Ma],We={DISPLAY:Es[aS],TEXT:Es[bu],SCRIPT:Es[am],SCRIPTSCRIPT:Es[yu]},Y3=[{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 UY(i){for(var e=0;e=r[0]&&i<=r[1])return t.name}return null}var Rv=[];Y3.forEach(i=>i.blocks.forEach(e=>Rv.push(...e)));function SO(i){for(var e=0;e=Rv[e]&&i<=Rv[e+1])return!0;return!1}var vu=80,WY=function(e,t){return"M95,"+(622+e+t)+` +`)),i(e,"li",o,s)}function YK(i){let e=i.spread,t=i.children,n=-1;for(;!e&&++n1:e}function dR(i,e){let t={},n=e.ordered?"ol":"ul",r=Mt(i,e),o=-1;for(typeof e.start=="number"&&e.start!==1&&(t.start=e.start);++o{let l=String(a.identifier).toUpperCase();XK.call(r,l)||(r[l]=a)}),s;function o(a,l){if(a&&"data"in a&&a.data){let c=a.data;c.hName&&(l.type!=="element"&&(l={type:"element",tagName:"",properties:{},children:[]}),l.tagName=c.hName),l.type==="element"&&c.hProperties&&(l.properties=me(me({},l.properties),c.hProperties)),"children"in l&&l.children&&c.hChildren&&(l.children=c.hChildren)}if(a){let c="type"in a?a:{position:a};FN(c)||(l.position={start:Qc(c),end:ru(c)})}return l}function s(a,l,c,d){return Array.isArray(c)&&(d=c,c={}),o(a,{type:"element",tagName:l,properties:c||{},children:d||[]})}}function P_(i,e){let t=QK(i,e),n=Py(t,i,null),r=WN(t);return r&&n.children.push(kt("text",` +`),r),Array.isArray(n)?{type:"root",children:n}:n}var JK=function(i,e){return i&&"run"in i?ZK(i,e):eq(i||e)},By=JK;function ZK(i,e){return(t,n,r)=>{i.run(P_(t,e),n,o=>{r(o)})}}function eq(i){return e=>P_(e,i)}var JM=qi(w3(),1);var La=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};La.prototype.property={};La.prototype.normal={};La.prototype.space=null;function x3(i,e){let t={},n={},r=-1;for(;++ret,booleanish:()=>xi,commaOrSpaceSeparated:()=>_r,commaSeparated:()=>Gl,number:()=>ce,overloadedBoolean:()=>E3,spaceSeparated:()=>Kt});var T$=0,et=sd(),xi=sd(),E3=sd(),ce=sd(),Kt=sd(),Gl=sd(),_r=sd();function sd(){return 2**++T$}var T3=Object.keys(im),ad=class extends Hn{constructor(e,t,n,r){let o=-1;if(super(e,t),TM(this,"space",r),typeof n=="number")for(;++o4&&t.slice(0,4)==="data"&&k$.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(AM,N$);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!AM.test(o)){let s=o.replace(A$,L$);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}r=ad}return new r(n,e)}function L$(i){return"-"+i.toLowerCase()}function N$(i){return i.charAt(1).toUpperCase()}var N3={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Bo=x3([k3,I3,A3,L3,IM],"html"),qn=x3([k3,I3,A3,L3,kM],"svg");var LM=/[#.]/g,NM=function(i,e="div"){for(var t=i||"",n={},r=0,o,s,a;r-1&&ss)return{line:a+1,column:s-(t[a-1]||0)+1,offset:s}}return{line:void 0,column:void 0,offset:void 0}}function o(s){var a=s&&s.line,l=s&&s.column,c;return typeof a=="number"&&typeof l=="number"&&!Number.isNaN(a)&&!Number.isNaN(l)&&a-1 in t&&(c=(t[a-2]||0)+l-1||0),c>-1&&c0?i.call(e,o,s,a):i.call(e,o,s)}function aY(i,e,t,n,r){let o=Ho(n.schema,e),s;t==null||typeof t=="number"&&Number.isNaN(t)||t===!1&&(n.vue||n.vdom||n.hyperscript)||!t&&o.boolean&&(n.vue||n.vdom||n.hyperscript)||(Array.isArray(t)&&(t=o.commaSeparated?_v(t):gv(t)),o.boolean&&n.hyperscript&&(t=""),o.property==="style"&&typeof t=="string"&&(n.react||n.vue||n.vdom)&&(t=uY(t,r)),n.vue?o.property!=="style"&&(s="attrs"):o.mustUseProperty||(n.vdom?o.property!=="style"&&(s="attributes"):n.hyperscript&&(s="attrs")),s?i[s]=Object.assign(i[s]||{},{[o.attribute]:t}):o.space&&n.react?i[nY[o.property]||o.property]=t:i[o.attribute]=t)}function lY(i){let e=i("div",{});return!!(e&&("_owner"in e||"_store"in e)&&(e.key===void 0||e.key===null))}function cY(i){return"context"in i&&"cleanup"in i}function dY(i){return i("div",{}).type==="VirtualNode"}function hY(i){let e=i("div",{});return!!(e&&e.context&&e.context._isVue)}function uY(i,e){let t={};try{(0,GM.default)(i,(n,r)=>{n.slice(0,4)==="-ms-"&&(n="ms-"+n.slice(4)),t[n.replace(/-([a-z])/g,(o,s)=>s.toUpperCase())]=r})}catch(n){throw n.message=e+"[style]"+n.message.slice(9),n}return t}var XM={}.hasOwnProperty;function bv(i,e){var t=e||{};function n(r){var o=n.invalid,s=n.handlers;if(r&&XM.call(r,i)&&(o=XM.call(s,r[i])?s[r[i]]:n.unknown),o)return o.apply(this,arguments)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}var mY={}.hasOwnProperty,QM=bv("type",{handlers:{root:pY,element:bY,text:_Y,comment:vY,doctype:gY}});function H3(i,e){return QM(i,e==="svg"?qn:Bo)}function pY(i,e){var t={nodeName:"#document",mode:(i.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return t.childNodes=B3(i.children,t,e),gu(i,t)}function fY(i,e){var t={nodeName:"#document-fragment",childNodes:[]};return t.childNodes=B3(i.children,t,e),gu(i,t)}function gY(i){return gu(i,{nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0})}function _Y(i){return gu(i,{nodeName:"#text",value:i.value,parentNode:void 0})}function vY(i){return gu(i,{nodeName:"#comment",data:i.value,parentNode:void 0})}function bY(i,e){var t=e.space;return $M(n,Object.assign({},i,{children:[]}),{space:t});function n(r,o){var s=[],a,l,c,d,h;for(c in o)!mY.call(o,c)||o[c]===!1||(a=Ho(e,c),!(a.boolean&&!o[c])&&(l={name:c,value:o[c]===!0?"":String(o[c])},a.space&&a.space!=="html"&&a.space!=="svg"&&(d=c.indexOf(":"),d<0?l.prefix="":(l.name=c.slice(d+1),l.prefix=c.slice(0,d)),l.namespace=Gn[a.space]),s.push(l)));return e.space==="html"&&i.tagName==="svg"&&(e=qn),h=gu(i,{nodeName:r,tagName:r,attrs:s,namespaceURI:Gn[e.space],childNodes:[],parentNode:void 0}),h.childNodes=B3(i.children,h,e),r==="template"&&(h.content=fY(i.content,e)),h}}function B3(i,e,t){var n=-1,r=[],o;if(i)for(;++n{let _e=D;if(_e.value.stitch&&q!==null&&W!==null)return q.children[W]=_e.value.stitch,W}),i.type!=="root"&&h.type==="root"&&h.children.length===1)return h.children[0];return h;function u(){let D={nodeName:"template",tagName:"template",attrs:[],namespaceURI:Gn.html,childNodes:[]},W={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:Gn.html,childNodes:[]},q={nodeName:"#document-fragment",childNodes:[]};if(r._bootstrap(W,D),r._pushTmplInsertionMode(yY),r._initTokenizerForFragmentParsing(),r._insertFakeRootElement(),r._resetInsertionMode(),r._findFormInFragmentContext(),a=r.tokenizer,!a)throw new Error("Expected `tokenizer`");return l=a.preprocessor,d=a.__mixins[0],c=d.posTracker,o(i),r._adoptNodes(W.childNodes[0],q),q}function m(){let D=r.treeAdapter.createDocument();if(r._bootstrap(D,void 0),a=r.tokenizer,!a)throw new Error("Expected `tokenizer`");return l=a.preprocessor,d=a.__mixins[0],c=d.posTracker,o(i),D}function p(D){let W=-1;if(D)for(;++WSv(e,t,i)}var Yn=class{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new Yn(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}},_o=class{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new _o(t,Yn.range(this,e))}},de=class{constructor(e,t){this.position=void 0;var n="KaTeX parse error: "+e,r,o=t&&t.loc;if(o&&o.start<=o.end){var s=o.lexer.input;r=o.start;var a=o.end;r===s.length?n+=" at end of input: ":n+=" at position "+(r+1)+": ";var l=s.slice(r,a).replace(/[^]/g,"$&\u0332"),c;r>15?c="\u2026"+s.slice(r-15,r):c=s.slice(0,r);var d;a+15":">","<":"<",'"':""","'":"'"},BY=/[&><"']/g;function zY(i){return String(i).replace(BY,e=>HY[e])}var LO=function i(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?i(e.body[0]):e:e.type==="font"?i(e.body):e},UY=function(e){var t=LO(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},WY=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},jY=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return t!=null?t[1]:"_relative"},Ge={contains:MY,deflt:OY,escape:zY,hyphenate:FY,getBaseElem:LO,isCharacterBox:UY,protocolFromUrl:jY},Dv={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 "},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 ",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:i=>"#"+i},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(i,e)=>(e.push(i),e)},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:i=>Math.max(0,i),cli:"--min-rule-thickness ",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:i=>Math.max(0,i),cli:"-s, --max-size ",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:i=>Math.max(0,i),cli:"-e, --max-expand ",cliProcessor:i=>i==="Infinity"?1/0:parseInt(i)},globalGroup:{type:"boolean",cli:!1}};function VY(i){if(i.default)return i.default;var e=i.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var lm=class{constructor(e){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,e=e||{};for(var t in Dv)if(Dv.hasOwnProperty(t)){var n=Dv[t];this[t]=e[t]!==void 0?n.processor?n.processor(e[t]):e[t]:VY(n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r=="function"&&(r=r(e,t,n)),!(!r||r==="ignore")){if(r===!0||r==="error")throw new de("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),n);r==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r=="function")try{r=r(e,t,n)}catch(o){r="error"}return!r||r==="ignore"?!1:r===!0||r==="error"?!0:r==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=Ge.protocolFromUrl(e.url));var t=typeof this.trust=="function"?this.trust(e):this.trust;return!!t}},xs=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Es[KY[this.id]]}sub(){return Es[qY[this.id]]}fracNum(){return Es[GY[this.id]]}fracDen(){return Es[$Y[this.id]]}cramp(){return Es[YY[this.id]]}text(){return Es[XY[this.id]]}isTight(){return this.size>=2}},hS=0,Ov=1,bu=2,Ma=3,cm=4,go=5,yu=6,Xn=7,Es=[new xs(hS,0,!1),new xs(Ov,0,!0),new xs(bu,1,!1),new xs(Ma,1,!0),new xs(cm,2,!1),new xs(go,2,!0),new xs(yu,3,!1),new xs(Xn,3,!0)],KY=[cm,go,cm,go,yu,Xn,yu,Xn],qY=[go,go,go,go,Xn,Xn,Xn,Xn],GY=[bu,Ma,cm,go,yu,Xn,yu,Xn],$Y=[Ma,Ma,go,go,Xn,Xn,Xn,Xn],YY=[Ov,Ov,Ma,Ma,go,go,Xn,Xn],XY=[hS,Ov,bu,Ma,bu,Ma,bu,Ma],We={DISPLAY:Es[hS],TEXT:Es[bu],SCRIPT:Es[cm],SCRIPTSCRIPT:Es[yu]},Z3=[{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 QY(i){for(var e=0;e=r[0]&&i<=r[1])return t.name}return null}var Mv=[];Z3.forEach(i=>i.blocks.forEach(e=>Mv.push(...e)));function NO(i){for(var e=0;e=Mv[e]&&i<=Mv[e+1])return!0;return!1}var vu=80,JY=function(e,t){return"M95,"+(622+e+t)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 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 @@ -57,7 +57,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+e)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},jY=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119 +M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ZY=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+e/2.084+" -"+e+` @@ -67,7 +67,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, 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 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},VY=function(e,t){return"M983 "+(10+e+t)+` +M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},eX=function(e,t){return"M983 "+(10+e+t)+` l`+e/3.13+" -"+e+` c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` 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 @@ -76,7 +76,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},KY=function(e,t){return"M424,"+(2398+e+t)+` +M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},tX=function(e,t){return"M424,"+(2398+e+t)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 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 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -86,18 +86,18 @@ v`+(40+e)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+` -h400000v`+(40+e)+"h-400000z"},qY=function(e,t){return"M473,"+(2713+e+t)+` +h400000v`+(40+e)+"h-400000z"},iX=function(e,t){return"M473,"+(2713+e+t)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 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 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 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},GY=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},$Y=function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+` +606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},nX=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},rX=function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+` H742v`+r+`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 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},YY=function(e,t,n){t=1e3*t;var r="";switch(e){case"sqrtMain":r=WY(t,vu);break;case"sqrtSize1":r=jY(t,vu);break;case"sqrtSize2":r=VY(t,vu);break;case"sqrtSize3":r=KY(t,vu);break;case"sqrtSize4":r=qY(t,vu);break;case"sqrtTall":r=$Y(t,vu,n)}return r},XY=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},jM={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},oX=function(e,t,n){t=1e3*t;var r="";switch(e){case"sqrtMain":r=JY(t,vu);break;case"sqrtSize1":r=ZY(t,vu);break;case"sqrtSize2":r=eX(t,vu);break;case"sqrtSize3":r=tX(t,vu);break;case"sqrtSize4":r=iX(t,vu);break;case"sqrtTall":r=rX(t,vu,n)}return r},sX=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},ZM={doubleleftarrow:`M262 157 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 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 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 @@ -272,7 +272,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` 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, -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 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 -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},QY=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},aX=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -300,15 +300,15 @@ 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 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 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --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.")}},hd=class{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return Ge.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(e).join("")}},Ts={"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]}},yv={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]},VM={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function ZY(i,e){Ts[i]=e}function lS(i,e,t){if(!Ts[e])throw new Error("Font metrics not found for font: "+e+".");var n=i.charCodeAt(0),r=Ts[e][n];if(!r&&i[0]in VM&&(n=VM[i[0]].charCodeAt(0),r=Ts[e][n]),!r&&t==="text"&&SO(n)&&(r=Ts[e][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var F3={};function JY(i){var e;if(i>=5?e=0:i>=3?e=1:e=2,!F3[e]){var t=F3[e]={cssEmPerMu:yv.quad[e]/18};for(var n in yv)yv.hasOwnProperty(n)&&(t[n]=yv[n][e])}return F3[e]}var eX=[[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]],KM=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],qM=function(e,t){return t.size<2?e:eX[e-1][t.size-1]},Bo=class{constructor(e){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=e.style,this.color=e.color,this.size=e.size||Bo.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=KM[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={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 e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new Bo(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:qM(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:KM[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=qM(Bo.BASESIZE,e);return this.size===t&&this.textSize===Bo.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Bo.BASESIZE?["sizing","reset-size"+this.size,"size"+Bo.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=JY(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Bo.BASESIZE=6;var X3={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},tX={ex:!0,em:!0,mu:!0},CO=function(e){return typeof e!="string"&&(e=e.unit),e in X3||e in tX||e==="ex"},vi=function(e,t){var n;if(e.unit in X3)n=X3[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var r;if(t.style.isTight()?r=t.havingStyle(t.style.text()):r=t,e.unit==="ex")n=r.fontMetrics().xHeight;else if(e.unit==="em")n=r.fontMetrics().quad;else throw new de("Invalid unit: '"+e.unit+"'");r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},_e=function(e){return+e.toFixed(4)+"em"},Xl=function(e){return e.filter(t=>t).join(" ")},wO=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},xO=function(e){var t=document.createElement(e);t.className=Xl(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o",t},ud=class{constructor(e,t,n,r){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,wO.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return Ge.contains(this.classes,e)}toNode(){return xO.call(this,"span")}toMarkup(){return EO.call(this,"span")}},lm=class{constructor(e,t,n,r){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,wO.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return Ge.contains(this.classes,e)}toNode(){return xO.call(this,"a")}toMarkup(){return EO.call(this,"a")}},Q3=class{constructor(e,t,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=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return Ge.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=""+this.alt+"0&&(t=document.createElement("span"),t.style.marginRight=_e(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Xl(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=Ge.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+Ge.escape(n)+'"');var o=Ge.escape(this.text);return e?(t+=">",t+=o,t+="",t):o}},zo=class{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var r=0;r":""}},cm=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t}toMarkup(){var e=" but got "+String(i)+".")}var rX={bin:1,close:1,inner:1,open:1,punct:1,rel:1},oX={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ti={math:{},text:{}};function v(i,e,t,n,r,o){ti[i][r]={font:e,group:t,replace:n},o&&n&&(ti[i][n]=ti[i][r])}var y="math",ie="text",w="main",L="ams",mi="accent-token",Te="bin",Qn="close",Su="inner",Ve="mathord",Bi="op-token",Vr="open",Bv="punct",N="rel",Ha="spacing",P="textord";v(y,w,N,"\u2261","\\equiv",!0);v(y,w,N,"\u227A","\\prec",!0);v(y,w,N,"\u227B","\\succ",!0);v(y,w,N,"\u223C","\\sim",!0);v(y,w,N,"\u22A5","\\perp");v(y,w,N,"\u2AAF","\\preceq",!0);v(y,w,N,"\u2AB0","\\succeq",!0);v(y,w,N,"\u2243","\\simeq",!0);v(y,w,N,"\u2223","\\mid",!0);v(y,w,N,"\u226A","\\ll",!0);v(y,w,N,"\u226B","\\gg",!0);v(y,w,N,"\u224D","\\asymp",!0);v(y,w,N,"\u2225","\\parallel");v(y,w,N,"\u22C8","\\bowtie",!0);v(y,w,N,"\u2323","\\smile",!0);v(y,w,N,"\u2291","\\sqsubseteq",!0);v(y,w,N,"\u2292","\\sqsupseteq",!0);v(y,w,N,"\u2250","\\doteq",!0);v(y,w,N,"\u2322","\\frown",!0);v(y,w,N,"\u220B","\\ni",!0);v(y,w,N,"\u221D","\\propto",!0);v(y,w,N,"\u22A2","\\vdash",!0);v(y,w,N,"\u22A3","\\dashv",!0);v(y,w,N,"\u220B","\\owns");v(y,w,Bv,".","\\ldotp");v(y,w,Bv,"\u22C5","\\cdotp");v(y,w,P,"#","\\#");v(ie,w,P,"#","\\#");v(y,w,P,"&","\\&");v(ie,w,P,"&","\\&");v(y,w,P,"\u2135","\\aleph",!0);v(y,w,P,"\u2200","\\forall",!0);v(y,w,P,"\u210F","\\hbar",!0);v(y,w,P,"\u2203","\\exists",!0);v(y,w,P,"\u2207","\\nabla",!0);v(y,w,P,"\u266D","\\flat",!0);v(y,w,P,"\u2113","\\ell",!0);v(y,w,P,"\u266E","\\natural",!0);v(y,w,P,"\u2663","\\clubsuit",!0);v(y,w,P,"\u2118","\\wp",!0);v(y,w,P,"\u266F","\\sharp",!0);v(y,w,P,"\u2662","\\diamondsuit",!0);v(y,w,P,"\u211C","\\Re",!0);v(y,w,P,"\u2661","\\heartsuit",!0);v(y,w,P,"\u2111","\\Im",!0);v(y,w,P,"\u2660","\\spadesuit",!0);v(y,w,P,"\xA7","\\S",!0);v(ie,w,P,"\xA7","\\S");v(y,w,P,"\xB6","\\P",!0);v(ie,w,P,"\xB6","\\P");v(y,w,P,"\u2020","\\dag");v(ie,w,P,"\u2020","\\dag");v(ie,w,P,"\u2020","\\textdagger");v(y,w,P,"\u2021","\\ddag");v(ie,w,P,"\u2021","\\ddag");v(ie,w,P,"\u2021","\\textdaggerdbl");v(y,w,Qn,"\u23B1","\\rmoustache",!0);v(y,w,Vr,"\u23B0","\\lmoustache",!0);v(y,w,Qn,"\u27EF","\\rgroup",!0);v(y,w,Vr,"\u27EE","\\lgroup",!0);v(y,w,Te,"\u2213","\\mp",!0);v(y,w,Te,"\u2296","\\ominus",!0);v(y,w,Te,"\u228E","\\uplus",!0);v(y,w,Te,"\u2293","\\sqcap",!0);v(y,w,Te,"\u2217","\\ast");v(y,w,Te,"\u2294","\\sqcup",!0);v(y,w,Te,"\u25EF","\\bigcirc",!0);v(y,w,Te,"\u2219","\\bullet",!0);v(y,w,Te,"\u2021","\\ddagger");v(y,w,Te,"\u2240","\\wr",!0);v(y,w,Te,"\u2A3F","\\amalg");v(y,w,Te,"&","\\And");v(y,w,N,"\u27F5","\\longleftarrow",!0);v(y,w,N,"\u21D0","\\Leftarrow",!0);v(y,w,N,"\u27F8","\\Longleftarrow",!0);v(y,w,N,"\u27F6","\\longrightarrow",!0);v(y,w,N,"\u21D2","\\Rightarrow",!0);v(y,w,N,"\u27F9","\\Longrightarrow",!0);v(y,w,N,"\u2194","\\leftrightarrow",!0);v(y,w,N,"\u27F7","\\longleftrightarrow",!0);v(y,w,N,"\u21D4","\\Leftrightarrow",!0);v(y,w,N,"\u27FA","\\Longleftrightarrow",!0);v(y,w,N,"\u21A6","\\mapsto",!0);v(y,w,N,"\u27FC","\\longmapsto",!0);v(y,w,N,"\u2197","\\nearrow",!0);v(y,w,N,"\u21A9","\\hookleftarrow",!0);v(y,w,N,"\u21AA","\\hookrightarrow",!0);v(y,w,N,"\u2198","\\searrow",!0);v(y,w,N,"\u21BC","\\leftharpoonup",!0);v(y,w,N,"\u21C0","\\rightharpoonup",!0);v(y,w,N,"\u2199","\\swarrow",!0);v(y,w,N,"\u21BD","\\leftharpoondown",!0);v(y,w,N,"\u21C1","\\rightharpoondown",!0);v(y,w,N,"\u2196","\\nwarrow",!0);v(y,w,N,"\u21CC","\\rightleftharpoons",!0);v(y,L,N,"\u226E","\\nless",!0);v(y,L,N,"\uE010","\\@nleqslant");v(y,L,N,"\uE011","\\@nleqq");v(y,L,N,"\u2A87","\\lneq",!0);v(y,L,N,"\u2268","\\lneqq",!0);v(y,L,N,"\uE00C","\\@lvertneqq");v(y,L,N,"\u22E6","\\lnsim",!0);v(y,L,N,"\u2A89","\\lnapprox",!0);v(y,L,N,"\u2280","\\nprec",!0);v(y,L,N,"\u22E0","\\npreceq",!0);v(y,L,N,"\u22E8","\\precnsim",!0);v(y,L,N,"\u2AB9","\\precnapprox",!0);v(y,L,N,"\u2241","\\nsim",!0);v(y,L,N,"\uE006","\\@nshortmid");v(y,L,N,"\u2224","\\nmid",!0);v(y,L,N,"\u22AC","\\nvdash",!0);v(y,L,N,"\u22AD","\\nvDash",!0);v(y,L,N,"\u22EA","\\ntriangleleft");v(y,L,N,"\u22EC","\\ntrianglelefteq",!0);v(y,L,N,"\u228A","\\subsetneq",!0);v(y,L,N,"\uE01A","\\@varsubsetneq");v(y,L,N,"\u2ACB","\\subsetneqq",!0);v(y,L,N,"\uE017","\\@varsubsetneqq");v(y,L,N,"\u226F","\\ngtr",!0);v(y,L,N,"\uE00F","\\@ngeqslant");v(y,L,N,"\uE00E","\\@ngeqq");v(y,L,N,"\u2A88","\\gneq",!0);v(y,L,N,"\u2269","\\gneqq",!0);v(y,L,N,"\uE00D","\\@gvertneqq");v(y,L,N,"\u22E7","\\gnsim",!0);v(y,L,N,"\u2A8A","\\gnapprox",!0);v(y,L,N,"\u2281","\\nsucc",!0);v(y,L,N,"\u22E1","\\nsucceq",!0);v(y,L,N,"\u22E9","\\succnsim",!0);v(y,L,N,"\u2ABA","\\succnapprox",!0);v(y,L,N,"\u2246","\\ncong",!0);v(y,L,N,"\uE007","\\@nshortparallel");v(y,L,N,"\u2226","\\nparallel",!0);v(y,L,N,"\u22AF","\\nVDash",!0);v(y,L,N,"\u22EB","\\ntriangleright");v(y,L,N,"\u22ED","\\ntrianglerighteq",!0);v(y,L,N,"\uE018","\\@nsupseteqq");v(y,L,N,"\u228B","\\supsetneq",!0);v(y,L,N,"\uE01B","\\@varsupsetneq");v(y,L,N,"\u2ACC","\\supsetneqq",!0);v(y,L,N,"\uE019","\\@varsupsetneqq");v(y,L,N,"\u22AE","\\nVdash",!0);v(y,L,N,"\u2AB5","\\precneqq",!0);v(y,L,N,"\u2AB6","\\succneqq",!0);v(y,L,N,"\uE016","\\@nsubseteqq");v(y,L,Te,"\u22B4","\\unlhd");v(y,L,Te,"\u22B5","\\unrhd");v(y,L,N,"\u219A","\\nleftarrow",!0);v(y,L,N,"\u219B","\\nrightarrow",!0);v(y,L,N,"\u21CD","\\nLeftarrow",!0);v(y,L,N,"\u21CF","\\nRightarrow",!0);v(y,L,N,"\u21AE","\\nleftrightarrow",!0);v(y,L,N,"\u21CE","\\nLeftrightarrow",!0);v(y,L,N,"\u25B3","\\vartriangle");v(y,L,P,"\u210F","\\hslash");v(y,L,P,"\u25BD","\\triangledown");v(y,L,P,"\u25CA","\\lozenge");v(y,L,P,"\u24C8","\\circledS");v(y,L,P,"\xAE","\\circledR");v(ie,L,P,"\xAE","\\circledR");v(y,L,P,"\u2221","\\measuredangle",!0);v(y,L,P,"\u2204","\\nexists");v(y,L,P,"\u2127","\\mho");v(y,L,P,"\u2132","\\Finv",!0);v(y,L,P,"\u2141","\\Game",!0);v(y,L,P,"\u2035","\\backprime");v(y,L,P,"\u25B2","\\blacktriangle");v(y,L,P,"\u25BC","\\blacktriangledown");v(y,L,P,"\u25A0","\\blacksquare");v(y,L,P,"\u29EB","\\blacklozenge");v(y,L,P,"\u2605","\\bigstar");v(y,L,P,"\u2222","\\sphericalangle",!0);v(y,L,P,"\u2201","\\complement",!0);v(y,L,P,"\xF0","\\eth",!0);v(ie,w,P,"\xF0","\xF0");v(y,L,P,"\u2571","\\diagup");v(y,L,P,"\u2572","\\diagdown");v(y,L,P,"\u25A1","\\square");v(y,L,P,"\u25A1","\\Box");v(y,L,P,"\u25CA","\\Diamond");v(y,L,P,"\xA5","\\yen",!0);v(ie,L,P,"\xA5","\\yen",!0);v(y,L,P,"\u2713","\\checkmark",!0);v(ie,L,P,"\u2713","\\checkmark");v(y,L,P,"\u2136","\\beth",!0);v(y,L,P,"\u2138","\\daleth",!0);v(y,L,P,"\u2137","\\gimel",!0);v(y,L,P,"\u03DD","\\digamma",!0);v(y,L,P,"\u03F0","\\varkappa");v(y,L,Vr,"\u250C","\\@ulcorner",!0);v(y,L,Qn,"\u2510","\\@urcorner",!0);v(y,L,Vr,"\u2514","\\@llcorner",!0);v(y,L,Qn,"\u2518","\\@lrcorner",!0);v(y,L,N,"\u2266","\\leqq",!0);v(y,L,N,"\u2A7D","\\leqslant",!0);v(y,L,N,"\u2A95","\\eqslantless",!0);v(y,L,N,"\u2272","\\lesssim",!0);v(y,L,N,"\u2A85","\\lessapprox",!0);v(y,L,N,"\u224A","\\approxeq",!0);v(y,L,Te,"\u22D6","\\lessdot");v(y,L,N,"\u22D8","\\lll",!0);v(y,L,N,"\u2276","\\lessgtr",!0);v(y,L,N,"\u22DA","\\lesseqgtr",!0);v(y,L,N,"\u2A8B","\\lesseqqgtr",!0);v(y,L,N,"\u2251","\\doteqdot");v(y,L,N,"\u2253","\\risingdotseq",!0);v(y,L,N,"\u2252","\\fallingdotseq",!0);v(y,L,N,"\u223D","\\backsim",!0);v(y,L,N,"\u22CD","\\backsimeq",!0);v(y,L,N,"\u2AC5","\\subseteqq",!0);v(y,L,N,"\u22D0","\\Subset",!0);v(y,L,N,"\u228F","\\sqsubset",!0);v(y,L,N,"\u227C","\\preccurlyeq",!0);v(y,L,N,"\u22DE","\\curlyeqprec",!0);v(y,L,N,"\u227E","\\precsim",!0);v(y,L,N,"\u2AB7","\\precapprox",!0);v(y,L,N,"\u22B2","\\vartriangleleft");v(y,L,N,"\u22B4","\\trianglelefteq");v(y,L,N,"\u22A8","\\vDash",!0);v(y,L,N,"\u22AA","\\Vvdash",!0);v(y,L,N,"\u2323","\\smallsmile");v(y,L,N,"\u2322","\\smallfrown");v(y,L,N,"\u224F","\\bumpeq",!0);v(y,L,N,"\u224E","\\Bumpeq",!0);v(y,L,N,"\u2267","\\geqq",!0);v(y,L,N,"\u2A7E","\\geqslant",!0);v(y,L,N,"\u2A96","\\eqslantgtr",!0);v(y,L,N,"\u2273","\\gtrsim",!0);v(y,L,N,"\u2A86","\\gtrapprox",!0);v(y,L,Te,"\u22D7","\\gtrdot");v(y,L,N,"\u22D9","\\ggg",!0);v(y,L,N,"\u2277","\\gtrless",!0);v(y,L,N,"\u22DB","\\gtreqless",!0);v(y,L,N,"\u2A8C","\\gtreqqless",!0);v(y,L,N,"\u2256","\\eqcirc",!0);v(y,L,N,"\u2257","\\circeq",!0);v(y,L,N,"\u225C","\\triangleq",!0);v(y,L,N,"\u223C","\\thicksim");v(y,L,N,"\u2248","\\thickapprox");v(y,L,N,"\u2AC6","\\supseteqq",!0);v(y,L,N,"\u22D1","\\Supset",!0);v(y,L,N,"\u2290","\\sqsupset",!0);v(y,L,N,"\u227D","\\succcurlyeq",!0);v(y,L,N,"\u22DF","\\curlyeqsucc",!0);v(y,L,N,"\u227F","\\succsim",!0);v(y,L,N,"\u2AB8","\\succapprox",!0);v(y,L,N,"\u22B3","\\vartriangleright");v(y,L,N,"\u22B5","\\trianglerighteq");v(y,L,N,"\u22A9","\\Vdash",!0);v(y,L,N,"\u2223","\\shortmid");v(y,L,N,"\u2225","\\shortparallel");v(y,L,N,"\u226C","\\between",!0);v(y,L,N,"\u22D4","\\pitchfork",!0);v(y,L,N,"\u221D","\\varpropto");v(y,L,N,"\u25C0","\\blacktriangleleft");v(y,L,N,"\u2234","\\therefore",!0);v(y,L,N,"\u220D","\\backepsilon");v(y,L,N,"\u25B6","\\blacktriangleright");v(y,L,N,"\u2235","\\because",!0);v(y,L,N,"\u22D8","\\llless");v(y,L,N,"\u22D9","\\gggtr");v(y,L,Te,"\u22B2","\\lhd");v(y,L,Te,"\u22B3","\\rhd");v(y,L,N,"\u2242","\\eqsim",!0);v(y,w,N,"\u22C8","\\Join");v(y,L,N,"\u2251","\\Doteq",!0);v(y,L,Te,"\u2214","\\dotplus",!0);v(y,L,Te,"\u2216","\\smallsetminus");v(y,L,Te,"\u22D2","\\Cap",!0);v(y,L,Te,"\u22D3","\\Cup",!0);v(y,L,Te,"\u2A5E","\\doublebarwedge",!0);v(y,L,Te,"\u229F","\\boxminus",!0);v(y,L,Te,"\u229E","\\boxplus",!0);v(y,L,Te,"\u22C7","\\divideontimes",!0);v(y,L,Te,"\u22C9","\\ltimes",!0);v(y,L,Te,"\u22CA","\\rtimes",!0);v(y,L,Te,"\u22CB","\\leftthreetimes",!0);v(y,L,Te,"\u22CC","\\rightthreetimes",!0);v(y,L,Te,"\u22CF","\\curlywedge",!0);v(y,L,Te,"\u22CE","\\curlyvee",!0);v(y,L,Te,"\u229D","\\circleddash",!0);v(y,L,Te,"\u229B","\\circledast",!0);v(y,L,Te,"\u22C5","\\centerdot");v(y,L,Te,"\u22BA","\\intercal",!0);v(y,L,Te,"\u22D2","\\doublecap");v(y,L,Te,"\u22D3","\\doublecup");v(y,L,Te,"\u22A0","\\boxtimes",!0);v(y,L,N,"\u21E2","\\dashrightarrow",!0);v(y,L,N,"\u21E0","\\dashleftarrow",!0);v(y,L,N,"\u21C7","\\leftleftarrows",!0);v(y,L,N,"\u21C6","\\leftrightarrows",!0);v(y,L,N,"\u21DA","\\Lleftarrow",!0);v(y,L,N,"\u219E","\\twoheadleftarrow",!0);v(y,L,N,"\u21A2","\\leftarrowtail",!0);v(y,L,N,"\u21AB","\\looparrowleft",!0);v(y,L,N,"\u21CB","\\leftrightharpoons",!0);v(y,L,N,"\u21B6","\\curvearrowleft",!0);v(y,L,N,"\u21BA","\\circlearrowleft",!0);v(y,L,N,"\u21B0","\\Lsh",!0);v(y,L,N,"\u21C8","\\upuparrows",!0);v(y,L,N,"\u21BF","\\upharpoonleft",!0);v(y,L,N,"\u21C3","\\downharpoonleft",!0);v(y,w,N,"\u22B6","\\origof",!0);v(y,w,N,"\u22B7","\\imageof",!0);v(y,L,N,"\u22B8","\\multimap",!0);v(y,L,N,"\u21AD","\\leftrightsquigarrow",!0);v(y,L,N,"\u21C9","\\rightrightarrows",!0);v(y,L,N,"\u21C4","\\rightleftarrows",!0);v(y,L,N,"\u21A0","\\twoheadrightarrow",!0);v(y,L,N,"\u21A3","\\rightarrowtail",!0);v(y,L,N,"\u21AC","\\looparrowright",!0);v(y,L,N,"\u21B7","\\curvearrowright",!0);v(y,L,N,"\u21BB","\\circlearrowright",!0);v(y,L,N,"\u21B1","\\Rsh",!0);v(y,L,N,"\u21CA","\\downdownarrows",!0);v(y,L,N,"\u21BE","\\upharpoonright",!0);v(y,L,N,"\u21C2","\\downharpoonright",!0);v(y,L,N,"\u21DD","\\rightsquigarrow",!0);v(y,L,N,"\u21DD","\\leadsto");v(y,L,N,"\u21DB","\\Rrightarrow",!0);v(y,L,N,"\u21BE","\\restriction");v(y,w,P,"\u2018","`");v(y,w,P,"$","\\$");v(ie,w,P,"$","\\$");v(ie,w,P,"$","\\textdollar");v(y,w,P,"%","\\%");v(ie,w,P,"%","\\%");v(y,w,P,"_","\\_");v(ie,w,P,"_","\\_");v(ie,w,P,"_","\\textunderscore");v(y,w,P,"\u2220","\\angle",!0);v(y,w,P,"\u221E","\\infty",!0);v(y,w,P,"\u2032","\\prime");v(y,w,P,"\u25B3","\\triangle");v(y,w,P,"\u0393","\\Gamma",!0);v(y,w,P,"\u0394","\\Delta",!0);v(y,w,P,"\u0398","\\Theta",!0);v(y,w,P,"\u039B","\\Lambda",!0);v(y,w,P,"\u039E","\\Xi",!0);v(y,w,P,"\u03A0","\\Pi",!0);v(y,w,P,"\u03A3","\\Sigma",!0);v(y,w,P,"\u03A5","\\Upsilon",!0);v(y,w,P,"\u03A6","\\Phi",!0);v(y,w,P,"\u03A8","\\Psi",!0);v(y,w,P,"\u03A9","\\Omega",!0);v(y,w,P,"A","\u0391");v(y,w,P,"B","\u0392");v(y,w,P,"E","\u0395");v(y,w,P,"Z","\u0396");v(y,w,P,"H","\u0397");v(y,w,P,"I","\u0399");v(y,w,P,"K","\u039A");v(y,w,P,"M","\u039C");v(y,w,P,"N","\u039D");v(y,w,P,"O","\u039F");v(y,w,P,"P","\u03A1");v(y,w,P,"T","\u03A4");v(y,w,P,"X","\u03A7");v(y,w,P,"\xAC","\\neg",!0);v(y,w,P,"\xAC","\\lnot");v(y,w,P,"\u22A4","\\top");v(y,w,P,"\u22A5","\\bot");v(y,w,P,"\u2205","\\emptyset");v(y,L,P,"\u2205","\\varnothing");v(y,w,Ve,"\u03B1","\\alpha",!0);v(y,w,Ve,"\u03B2","\\beta",!0);v(y,w,Ve,"\u03B3","\\gamma",!0);v(y,w,Ve,"\u03B4","\\delta",!0);v(y,w,Ve,"\u03F5","\\epsilon",!0);v(y,w,Ve,"\u03B6","\\zeta",!0);v(y,w,Ve,"\u03B7","\\eta",!0);v(y,w,Ve,"\u03B8","\\theta",!0);v(y,w,Ve,"\u03B9","\\iota",!0);v(y,w,Ve,"\u03BA","\\kappa",!0);v(y,w,Ve,"\u03BB","\\lambda",!0);v(y,w,Ve,"\u03BC","\\mu",!0);v(y,w,Ve,"\u03BD","\\nu",!0);v(y,w,Ve,"\u03BE","\\xi",!0);v(y,w,Ve,"\u03BF","\\omicron",!0);v(y,w,Ve,"\u03C0","\\pi",!0);v(y,w,Ve,"\u03C1","\\rho",!0);v(y,w,Ve,"\u03C3","\\sigma",!0);v(y,w,Ve,"\u03C4","\\tau",!0);v(y,w,Ve,"\u03C5","\\upsilon",!0);v(y,w,Ve,"\u03D5","\\phi",!0);v(y,w,Ve,"\u03C7","\\chi",!0);v(y,w,Ve,"\u03C8","\\psi",!0);v(y,w,Ve,"\u03C9","\\omega",!0);v(y,w,Ve,"\u03B5","\\varepsilon",!0);v(y,w,Ve,"\u03D1","\\vartheta",!0);v(y,w,Ve,"\u03D6","\\varpi",!0);v(y,w,Ve,"\u03F1","\\varrho",!0);v(y,w,Ve,"\u03C2","\\varsigma",!0);v(y,w,Ve,"\u03C6","\\varphi",!0);v(y,w,Te,"\u2217","*",!0);v(y,w,Te,"+","+");v(y,w,Te,"\u2212","-",!0);v(y,w,Te,"\u22C5","\\cdot",!0);v(y,w,Te,"\u2218","\\circ",!0);v(y,w,Te,"\xF7","\\div",!0);v(y,w,Te,"\xB1","\\pm",!0);v(y,w,Te,"\xD7","\\times",!0);v(y,w,Te,"\u2229","\\cap",!0);v(y,w,Te,"\u222A","\\cup",!0);v(y,w,Te,"\u2216","\\setminus",!0);v(y,w,Te,"\u2227","\\land");v(y,w,Te,"\u2228","\\lor");v(y,w,Te,"\u2227","\\wedge",!0);v(y,w,Te,"\u2228","\\vee",!0);v(y,w,P,"\u221A","\\surd");v(y,w,Vr,"\u27E8","\\langle",!0);v(y,w,Vr,"\u2223","\\lvert");v(y,w,Vr,"\u2225","\\lVert");v(y,w,Qn,"?","?");v(y,w,Qn,"!","!");v(y,w,Qn,"\u27E9","\\rangle",!0);v(y,w,Qn,"\u2223","\\rvert");v(y,w,Qn,"\u2225","\\rVert");v(y,w,N,"=","=");v(y,w,N,":",":");v(y,w,N,"\u2248","\\approx",!0);v(y,w,N,"\u2245","\\cong",!0);v(y,w,N,"\u2265","\\ge");v(y,w,N,"\u2265","\\geq",!0);v(y,w,N,"\u2190","\\gets");v(y,w,N,">","\\gt",!0);v(y,w,N,"\u2208","\\in",!0);v(y,w,N,"\uE020","\\@not");v(y,w,N,"\u2282","\\subset",!0);v(y,w,N,"\u2283","\\supset",!0);v(y,w,N,"\u2286","\\subseteq",!0);v(y,w,N,"\u2287","\\supseteq",!0);v(y,L,N,"\u2288","\\nsubseteq",!0);v(y,L,N,"\u2289","\\nsupseteq",!0);v(y,w,N,"\u22A8","\\models");v(y,w,N,"\u2190","\\leftarrow",!0);v(y,w,N,"\u2264","\\le");v(y,w,N,"\u2264","\\leq",!0);v(y,w,N,"<","\\lt",!0);v(y,w,N,"\u2192","\\rightarrow",!0);v(y,w,N,"\u2192","\\to");v(y,L,N,"\u2271","\\ngeq",!0);v(y,L,N,"\u2270","\\nleq",!0);v(y,w,Ha,"\xA0","\\ ");v(y,w,Ha,"\xA0","\\space");v(y,w,Ha,"\xA0","\\nobreakspace");v(ie,w,Ha,"\xA0","\\ ");v(ie,w,Ha,"\xA0"," ");v(ie,w,Ha,"\xA0","\\space");v(ie,w,Ha,"\xA0","\\nobreakspace");v(y,w,Ha,null,"\\nobreak");v(y,w,Ha,null,"\\allowbreak");v(y,w,Bv,",",",");v(y,w,Bv,";",";");v(y,L,Te,"\u22BC","\\barwedge",!0);v(y,L,Te,"\u22BB","\\veebar",!0);v(y,w,Te,"\u2299","\\odot",!0);v(y,w,Te,"\u2295","\\oplus",!0);v(y,w,Te,"\u2297","\\otimes",!0);v(y,w,P,"\u2202","\\partial",!0);v(y,w,Te,"\u2298","\\oslash",!0);v(y,L,Te,"\u229A","\\circledcirc",!0);v(y,L,Te,"\u22A1","\\boxdot",!0);v(y,w,Te,"\u25B3","\\bigtriangleup");v(y,w,Te,"\u25BD","\\bigtriangledown");v(y,w,Te,"\u2020","\\dagger");v(y,w,Te,"\u22C4","\\diamond");v(y,w,Te,"\u22C6","\\star");v(y,w,Te,"\u25C3","\\triangleleft");v(y,w,Te,"\u25B9","\\triangleright");v(y,w,Vr,"{","\\{");v(ie,w,P,"{","\\{");v(ie,w,P,"{","\\textbraceleft");v(y,w,Qn,"}","\\}");v(ie,w,P,"}","\\}");v(ie,w,P,"}","\\textbraceright");v(y,w,Vr,"{","\\lbrace");v(y,w,Qn,"}","\\rbrace");v(y,w,Vr,"[","\\lbrack",!0);v(ie,w,P,"[","\\lbrack",!0);v(y,w,Qn,"]","\\rbrack",!0);v(ie,w,P,"]","\\rbrack",!0);v(y,w,Vr,"(","\\lparen",!0);v(y,w,Qn,")","\\rparen",!0);v(ie,w,P,"<","\\textless",!0);v(ie,w,P,">","\\textgreater",!0);v(y,w,Vr,"\u230A","\\lfloor",!0);v(y,w,Qn,"\u230B","\\rfloor",!0);v(y,w,Vr,"\u2308","\\lceil",!0);v(y,w,Qn,"\u2309","\\rceil",!0);v(y,w,P,"\\","\\backslash");v(y,w,P,"\u2223","|");v(y,w,P,"\u2223","\\vert");v(ie,w,P,"|","\\textbar",!0);v(y,w,P,"\u2225","\\|");v(y,w,P,"\u2225","\\Vert");v(ie,w,P,"\u2225","\\textbardbl");v(ie,w,P,"~","\\textasciitilde");v(ie,w,P,"\\","\\textbackslash");v(ie,w,P,"^","\\textasciicircum");v(y,w,N,"\u2191","\\uparrow",!0);v(y,w,N,"\u21D1","\\Uparrow",!0);v(y,w,N,"\u2193","\\downarrow",!0);v(y,w,N,"\u21D3","\\Downarrow",!0);v(y,w,N,"\u2195","\\updownarrow",!0);v(y,w,N,"\u21D5","\\Updownarrow",!0);v(y,w,Bi,"\u2210","\\coprod");v(y,w,Bi,"\u22C1","\\bigvee");v(y,w,Bi,"\u22C0","\\bigwedge");v(y,w,Bi,"\u2A04","\\biguplus");v(y,w,Bi,"\u22C2","\\bigcap");v(y,w,Bi,"\u22C3","\\bigcup");v(y,w,Bi,"\u222B","\\int");v(y,w,Bi,"\u222B","\\intop");v(y,w,Bi,"\u222C","\\iint");v(y,w,Bi,"\u222D","\\iiint");v(y,w,Bi,"\u220F","\\prod");v(y,w,Bi,"\u2211","\\sum");v(y,w,Bi,"\u2A02","\\bigotimes");v(y,w,Bi,"\u2A01","\\bigoplus");v(y,w,Bi,"\u2A00","\\bigodot");v(y,w,Bi,"\u222E","\\oint");v(y,w,Bi,"\u222F","\\oiint");v(y,w,Bi,"\u2230","\\oiiint");v(y,w,Bi,"\u2A06","\\bigsqcup");v(y,w,Bi,"\u222B","\\smallint");v(ie,w,Su,"\u2026","\\textellipsis");v(y,w,Su,"\u2026","\\mathellipsis");v(ie,w,Su,"\u2026","\\ldots",!0);v(y,w,Su,"\u2026","\\ldots",!0);v(y,w,Su,"\u22EF","\\@cdots",!0);v(y,w,Su,"\u22F1","\\ddots",!0);v(y,w,P,"\u22EE","\\varvdots");v(y,w,mi,"\u02CA","\\acute");v(y,w,mi,"\u02CB","\\grave");v(y,w,mi,"\xA8","\\ddot");v(y,w,mi,"~","\\tilde");v(y,w,mi,"\u02C9","\\bar");v(y,w,mi,"\u02D8","\\breve");v(y,w,mi,"\u02C7","\\check");v(y,w,mi,"^","\\hat");v(y,w,mi,"\u20D7","\\vec");v(y,w,mi,"\u02D9","\\dot");v(y,w,mi,"\u02DA","\\mathring");v(y,w,Ve,"\uE131","\\@imath");v(y,w,Ve,"\uE237","\\@jmath");v(y,w,P,"\u0131","\u0131");v(y,w,P,"\u0237","\u0237");v(ie,w,P,"\u0131","\\i",!0);v(ie,w,P,"\u0237","\\j",!0);v(ie,w,P,"\xDF","\\ss",!0);v(ie,w,P,"\xE6","\\ae",!0);v(ie,w,P,"\u0153","\\oe",!0);v(ie,w,P,"\xF8","\\o",!0);v(ie,w,P,"\xC6","\\AE",!0);v(ie,w,P,"\u0152","\\OE",!0);v(ie,w,P,"\xD8","\\O",!0);v(ie,w,mi,"\u02CA","\\'");v(ie,w,mi,"\u02CB","\\`");v(ie,w,mi,"\u02C6","\\^");v(ie,w,mi,"\u02DC","\\~");v(ie,w,mi,"\u02C9","\\=");v(ie,w,mi,"\u02D8","\\u");v(ie,w,mi,"\u02D9","\\.");v(ie,w,mi,"\xB8","\\c");v(ie,w,mi,"\u02DA","\\r");v(ie,w,mi,"\u02C7","\\v");v(ie,w,mi,"\xA8",'\\"');v(ie,w,mi,"\u02DD","\\H");v(ie,w,mi,"\u25EF","\\textcircled");var TO={"--":!0,"---":!0,"``":!0,"''":!0};v(ie,w,P,"\u2013","--",!0);v(ie,w,P,"\u2013","\\textendash");v(ie,w,P,"\u2014","---",!0);v(ie,w,P,"\u2014","\\textemdash");v(ie,w,P,"\u2018","`",!0);v(ie,w,P,"\u2018","\\textquoteleft");v(ie,w,P,"\u2019","'",!0);v(ie,w,P,"\u2019","\\textquoteright");v(ie,w,P,"\u201C","``",!0);v(ie,w,P,"\u201C","\\textquotedblleft");v(ie,w,P,"\u201D","''",!0);v(ie,w,P,"\u201D","\\textquotedblright");v(y,w,P,"\xB0","\\degree",!0);v(ie,w,P,"\xB0","\\degree");v(ie,w,P,"\xB0","\\textdegree",!0);v(y,w,P,"\xA3","\\pounds");v(y,w,P,"\xA3","\\mathsterling",!0);v(ie,w,P,"\xA3","\\pounds");v(ie,w,P,"\xA3","\\textsterling",!0);v(y,L,P,"\u2720","\\maltese");v(ie,L,P,"\u2720","\\maltese");var $M='0123456789/@."';for(Sv=0;Sv<$M.length;Sv++)H3=$M.charAt(Sv),v(y,w,P,H3,H3);var H3,Sv,YM='0123456789!@*()-=+";:?/.,';for(Cv=0;Cv{if(Xl(i.classes)!==Xl(e.classes)||i.skew!==e.skew||i.maxFontSize!==e.maxFontSize)return!1;if(i.classes.length===1){var t=i.classes[0];if(t==="mbin"||t==="mord")return!1}for(var n in i.style)if(i.style.hasOwnProperty(n)&&i.style[n]!==e.style[n])return!1;for(var r in e.style)if(e.style.hasOwnProperty(r)&&i.style[r]!==e.style[r])return!1;return!0},hX=i=>{for(var e=0;et&&(t=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>r&&(r=s.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},vr=function(e,t,n,r){var o=new ud(e,t,n,r);return cS(o),o},IO=(i,e,t,n)=>new ud(i,e,t,n),uX=function(e,t,n){var r=vr([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=_e(r.height),r.maxFontSize=1,r},mX=function(e,t,n,r){var o=new lm(e,t,n,r);return cS(o),o},kO=function(e){var t=new hd(e);return cS(t),t},pX=function(e,t){return e instanceof hd?vr([],[e],t):e},fX=function(e){if(e.positionType==="individualShift"){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,s=1;s{var t=vr(["mspace"],[],e),n=vi(i,e);return t.style.marginRight=_e(n),t},Tv=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}var o;return t==="textbf"&&n==="textit"?o="BoldItalic":t==="textbf"?o="Bold":t==="textit"?o="Italic":o="Regular",r+"-"+o},AO={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"},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"}},LO={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},vX=function(e,t){var[n,r,o]=LO[e],s=new Is(n),a=new zo([s],{width:_e(r),height:_e(o),style:"width:"+_e(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=IO(["overlay"],[a],t);return l.height=o,l.style.height=_e(o),l.style.width=_e(r),l},z={fontMap:AO,makeSymbol:Ho,mathsym:aX,makeSpan:vr,makeSvgSpan:IO,makeLineSpan:uX,makeAnchor:mX,makeFragment:kO,wrapFragment:pX,makeVList:gX,makeOrd:cX,makeGlue:_X,staticSvg:vX,svgData:LO,tryCombineChars:hX},_i={number:3,unit:"mu"},cd={number:4,unit:"mu"},Da={number:5,unit:"mu"},bX={mord:{mop:_i,mbin:cd,mrel:Da,minner:_i},mop:{mord:_i,mop:_i,mrel:Da,minner:_i},mbin:{mord:cd,mop:cd,mopen:cd,minner:cd},mrel:{mord:Da,mop:Da,mopen:Da,minner:Da},mopen:{},mclose:{mop:_i,mbin:cd,mrel:Da,minner:_i},mpunct:{mord:_i,mop:_i,mrel:Da,mopen:_i,mclose:_i,mpunct:_i,minner:_i},minner:{mord:_i,mop:_i,mbin:cd,mrel:Da,mopen:_i,mpunct:_i,minner:_i}},yX={mord:{mop:_i},mop:{mord:_i,mop:_i},mbin:{},mrel:{},mopen:{},mclose:{mop:_i},mpunct:{},minner:{mop:_i}},NO={},Ov={},Pv={};function Ee(i){for(var{type:e,names:t,props:n,handler:r,htmlBuilder:o,mathmlBuilder:s}=i,a={type:e,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:r},l=0;l{var b=f.classes[0],_=p.classes[0];b==="mbin"&&Ge.contains(CX,_)?f.classes[0]="mord":_==="mbin"&&Ge.contains(SX,b)&&(p.classes[0]="mord")},{node:h},u,m),QM(o,(p,f)=>{var b=J3(f),_=J3(p),C=b&&_?p.hasClass("mtight")?yX[b][_]:bX[b][_]:null;if(C)return z.makeGlue(C,c)},{node:h},u,m),o},QM=function i(e,t,n,r,o){r&&e.push(r);for(var s=0;su=>{e.splice(h+1,0,u),s++})(s)}r&&e.pop()},RO=function(e){return e instanceof hd||e instanceof lm||e instanceof ud&&e.hasClass("enclosing")?e:null},EX=function i(e,t){var n=RO(e);if(n){var r=n.children;if(r.length){if(t==="right")return i(r[r.length-1],"right");if(t==="left")return i(r[0],"left")}}return e},J3=function(e,t){return e?(t&&(e=EX(e,t)),xX[e.classes[0]]||null):null},dm=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return Pa(t.concat(n))},xt=function(e,t,n){if(!e)return Pa();if(Ov[e.type]){var r=Ov[e.type](e,t);if(n&&t.size!==n.size){r=Pa(t.sizingClasses(n),[r],t);var o=t.sizeMultiplier/n.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new de("Got group of unknown type: '"+e.type+"'")};function Iv(i,e){var t=Pa(["base"],i,e),n=Pa(["strut"]);return n.style.height=_e(t.height+t.depth),t.depth&&(n.style.verticalAlign=_e(-t.depth)),t.children.unshift(n),t}function eS(i,e){var t=null;i.length===1&&i[0].type==="tag"&&(t=i[0].tag,i=i[0].body);var n=en(i,e,"root"),r;n.length===2&&n[1].hasClass("tag")&&(r=n.pop());for(var o=[],s=[],a=0;a0&&(o.push(Iv(s,e)),s=[]),o.push(n[a]));s.length>0&&o.push(Iv(s,e));var c;t?(c=Iv(en(t,e,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var d=Pa(["katex-html"],o);if(d.setAttribute("aria-hidden","true"),c){var h=c.children[0];h.style.height=_e(d.height+d.depth),d.depth&&(h.style.verticalAlign=_e(-d.depth))}return d}function DO(i){return new hd(i)}var br=class{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Xl(this.classes));for(var n=0;n0&&(e+=' class ="'+Ge.escape(Xl(this.classes))+'"'),e+=">";for(var n=0;n",e}toText(){return this.children.map(e=>e.toText()).join("")}},dd=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ge.escape(this.toText())}toText(){return this.text}},tS=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",_e(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},se={MathNode:br,TextNode:dd,SpaceNode:tS,newDocumentFragment:DO},go=function(e,t,n){return ti[t][e]&&ti[t][e].replace&&e.charCodeAt(0)!==55349&&!(TO.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=ti[t][e].replace),new se.TextNode(e)},dS=function(e){return e.length===1?e[0]:new se.MathNode("mrow",e)},hS=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var n=t.font;if(!n||n==="mathnormal")return null;var r=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var o=e.text;if(Ge.contains(["\\imath","\\jmath"],o))return null;ti[r][o]&&ti[r][o].replace&&(o=ti[r][o].replace);var s=z.fontMap[n].fontName;return lS(o,s,r)?z.fontMap[n].variant:null},Sr=function(e,t,n){if(e.length===1){var r=Qt(e[0],t);return n&&r instanceof br&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],s,a=0;a0&&(h.text=h.text.slice(0,1)+"\u0338"+h.text.slice(1),o.pop())}}}o.push(l),s=l}return o},Ql=function(e,t,n){return dS(Sr(e,t,n))},Qt=function(e,t){if(!e)return new se.MathNode("mrow");if(Pv[e.type]){var n=Pv[e.type](e,t);return n}else throw new de("Got group of unknown type: '"+e.type+"'")};function ZM(i,e,t,n,r){var o=Sr(i,t),s;o.length===1&&o[0]instanceof br&&Ge.contains(["mrow","mtable"],o[0].type)?s=o[0]:s=new se.MathNode("mrow",o);var a=new se.MathNode("annotation",[new se.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var l=new se.MathNode("semantics",[s,a]),c=new se.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block");var d=r?"katex":"katex-mathml";return z.makeSpan([d],[c])}var MO=function(e){return new Bo({style:e.displayMode?We.DISPLAY:We.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},OO=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=z.makeSpan(n,[e])}return e},TX=function(e,t,n){var r=MO(n),o;if(n.output==="mathml")return ZM(e,t,r,n.displayMode,!0);if(n.output==="html"){var s=eS(e,r);o=z.makeSpan(["katex"],[s])}else{var a=ZM(e,t,r,n.displayMode,!1),l=eS(e,r);o=z.makeSpan(["katex"],[a,l])}return OO(o,n)},IX=function(e,t,n){var r=MO(n),o=eS(e,r),s=z.makeSpan(["katex"],[o]);return OO(s,n)},kX={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},AX=function(e){var t=new se.MathNode("mo",[new se.TextNode(kX[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},LX={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]},NX=function(e){return e.type==="ordgroup"?e.body.length:1},RX=function(e,t){function n(){var a=4e5,l=e.label.slice(1);if(Ge.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,d=NX(c.base),h,u,m;if(d>5)l==="widehat"||l==="widecheck"?(h=420,a=2364,m=.42,u=l+"4"):(h=312,a=2340,m=.34,u="tilde4");else{var p=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(a=[0,1062,2364,2364,2364][p],h=[0,239,300,360,420][p],m=[0,.24,.3,.3,.36,.42][p],u=l+p):(a=[0,600,1033,2339,2340][p],h=[0,260,286,306,312][p],m=[0,.26,.286,.3,.306,.34][p],u="tilde"+p)}var f=new Is(u),b=new zo([f],{width:"100%",height:_e(m),viewBox:"0 0 "+a+" "+h,preserveAspectRatio:"none"});return{span:z.makeSvgSpan([],[b],t),minWidth:0,height:m}}else{var _=[],C=LX[l],[x,I,A]=C,O=A/1e3,D=x.length,K,G;if(D===1){var Se=C[3];K=["hide-tail"],G=[Se]}else if(D===2)K=["halfarrow-left","halfarrow-right"],G=["xMinYMin","xMaxYMin"];else if(D===3)K=["brace-left","brace-center","brace-right"],G=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+D+" children.");for(var te=0;te0&&(r.style.minWidth=_e(o)),r},DX=function(e,t,n,r,o){var s,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(s=z.makeSpan(["stretchy",t],[],o),t==="fbox"){var l=o.color&&o.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new cm({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new cm({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new zo(c,{width:"100%",height:_e(a)});s=z.makeSvgSpan([],[d],o)}return s.height=a,s.style.height=_e(a),s},Fa={encloseSpan:DX,mathMLnode:AX,svgSpan:RX};function tt(i,e){if(!i||i.type!==e)throw new Error("Expected node of type "+e+", but got "+(i?"node of type "+i.type:String(i)));return i}function uS(i){var e=Uv(i);if(!e)throw new Error("Expected node of symbol group type, but got "+(i?"node of type "+i.type:String(i)));return e}function Uv(i){return i&&(i.type==="atom"||oX.hasOwnProperty(i.type))?i:null}var mS=(i,e)=>{var t,n,r;i&&i.type==="supsub"?(n=tt(i.base,"accent"),t=n.base,i.base=t,r=nX(xt(i,e)),i.base=n):(n=tt(i,"accent"),t=n.base);var o=xt(t,e.havingCrampedStyle()),s=n.isShifty&&Ge.isCharacterBox(t),a=0;if(s){var l=Ge.getBaseElem(t),c=xt(l,e.havingCrampedStyle());a=GM(c).skew}var d=n.label==="\\c",h=d?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),u;if(n.isStretchy)u=Fa.svgSpan(n,e),u=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+_e(2*a)+")",marginLeft:_e(2*a)}:void 0}]},e);else{var m,p;n.label==="\\vec"?(m=z.staticSvg("vec",e),p=z.svgData.vec[1]):(m=z.makeOrd({mode:n.mode,text:n.label},e,"textord"),m=GM(m),m.italic=0,p=m.width,d&&(h+=m.depth)),u=z.makeSpan(["accent-body"],[m]);var f=n.label==="\\textcircled";f&&(u.classes.push("accent-full"),h=o.height);var b=a;f||(b-=p/2),u.style.left=_e(b),n.label==="\\textcircled"&&(u.style.top=".2em"),u=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-h},{type:"elem",elem:u}]},e)}var _=z.makeSpan(["mord","accent"],[u],e);return r?(r.children[0]=_,r.height=Math.max(_.height,r.height),r.classes[0]="mord",r):_},PO=(i,e)=>{var t=i.isStretchy?Fa.mathMLnode(i.label):new se.MathNode("mo",[go(i.label,i.mode)]),n=new se.MathNode("mover",[Qt(i.base,e),t]);return n.setAttribute("accent","true"),n},MX=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(i=>"\\"+i).join("|"));Ee({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:(i,e)=>{var t=Fv(e[0]),n=!MX.test(i.funcName),r=!n||i.funcName==="\\widehat"||i.funcName==="\\widetilde"||i.funcName==="\\widecheck";return{type:"accent",mode:i.parser.mode,label:i.funcName,isStretchy:n,isShifty:r,base:t}},htmlBuilder:mS,mathmlBuilder:PO});Ee({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(i,e)=>{var t=e[0],n=i.parser.mode;return n==="math"&&(i.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+i.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:i.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:mS,mathmlBuilder:PO});Ee({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0];return{type:"accentUnder",mode:t.mode,label:n,base:r}},htmlBuilder:(i,e)=>{var t=xt(i.base,e),n=Fa.svgSpan(i,e),r=i.label==="\\utilde"?.12:0,o=z.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},e);return z.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(i,e)=>{var t=Fa.mathMLnode(i.label),n=new se.MathNode("munder",[Qt(i.base,e),t]);return n.setAttribute("accentunder","true"),n}});var kv=i=>{var e=new se.MathNode("mpadded",i?[i]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ee({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(i,e,t){var{parser:n,funcName:r}=i;return{type:"xArrow",mode:n.mode,label:r,body:e[0],below:t[0]}},htmlBuilder(i,e){var t=e.style,n=e.havingStyle(t.sup()),r=z.wrapFragment(xt(i.body,n,e),e),o=i.label.slice(0,2)==="\\x"?"x":"cd";r.classes.push(o+"-arrow-pad");var s;i.below&&(n=e.havingStyle(t.sub()),s=z.wrapFragment(xt(i.below,n,e),e),s.classes.push(o+"-arrow-pad"));var a=Fa.svgSpan(i,e),l=-e.fontMetrics().axisHeight+.5*a.height,c=-e.fontMetrics().axisHeight-.5*a.height-.111;(r.depth>.25||i.label==="\\xleftequilibrium")&&(c-=r.depth);var d;if(s){var h=-e.fontMetrics().axisHeight+s.height+.5*a.height+.111;d=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:h}]},e)}else d=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:a,shift:l}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),z.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(i,e){var t=Fa.mathMLnode(i.label);t.setAttribute("minsize",i.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(i.body){var r=kv(Qt(i.body,e));if(i.below){var o=kv(Qt(i.below,e));n=new se.MathNode("munderover",[t,o,r])}else n=new se.MathNode("mover",[t,r])}else if(i.below){var s=kv(Qt(i.below,e));n=new se.MathNode("munder",[t,s])}else n=kv(),n=new se.MathNode("mover",[t,n]);return n}});var OX=z.makeSpan;function FO(i,e){var t=en(i.body,e,!0);return OX([i.mclass],t,e)}function HO(i,e){var t,n=Sr(i.body,e);return i.mclass==="minner"?t=new se.MathNode("mpadded",n):i.mclass==="mord"?i.isCharacterBox?(t=n[0],t.type="mi"):t=new se.MathNode("mi",n):(i.isCharacterBox?(t=n[0],t.type="mo"):t=new se.MathNode("mo",n),i.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):i.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):i.mclass==="mopen"||i.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):i.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Ee({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+n.slice(5),body:Ni(r),isCharacterBox:Ge.isCharacterBox(r)}},htmlBuilder:FO,mathmlBuilder:HO});var Wv=i=>{var e=i.type==="ordgroup"&&i.body.length?i.body[0]:i;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ee({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(i,e){var{parser:t}=i;return{type:"mclass",mode:t.mode,mclass:Wv(e[0]),body:Ni(e[1]),isCharacterBox:Ge.isCharacterBox(e[1])}}});Ee({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(i,e){var{parser:t,funcName:n}=i,r=e[1],o=e[0],s;n!=="\\stackrel"?s=Wv(r):s="mrel";var a={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ni(r)},l={type:"supsub",mode:o.mode,base:a,sup:n==="\\underset"?null:o,sub:n==="\\underset"?o:null};return{type:"mclass",mode:t.mode,mclass:s,body:[l],isCharacterBox:Ge.isCharacterBox(l)}},htmlBuilder:FO,mathmlBuilder:HO});Ee({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(i,e){var{parser:t}=i;return{type:"pmb",mode:t.mode,mclass:Wv(e[0]),body:Ni(e[0])}},htmlBuilder(i,e){var t=en(i.body,e,!0),n=z.makeSpan([i.mclass],t,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(i,e){var t=Sr(i.body,e),n=new se.MathNode("mstyle",t);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var PX={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},JM=()=>({type:"styling",body:[],mode:"math",style:"display"}),eO=i=>i.type==="textord"&&i.text==="@",FX=(i,e)=>(i.type==="mathord"||i.type==="atom")&&i.text===e;function HX(i,e,t){var n=PX[i];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var r=t.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:n,mode:"math",family:"rel"},s=t.callFunction("\\Big",[o],[]),a=t.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[r,s,a]};return t.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function BX(i){var e=[];for(i.gullet.beginGroup(),i.gullet.macros.set("\\cr","\\\\\\relax"),i.gullet.beginGroup();;){e.push(i.parseExpression(!1,"\\\\")),i.gullet.endGroup(),i.gullet.beginGroup();var t=i.fetch().text;if(t==="&"||t==="\\\\")i.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new de("Expected \\\\ or \\cr or \\end",i.nextToken)}for(var n=[],r=[n],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var h=0;h<2;h++){for(var u=!0,m=l+1;mAV=|." after @',s[l]);var p=HX(c,d,i),f={type:"styling",body:[p],mode:"math",style:"display"};n.push(f),a=JM()}o%2===0?n.push(a):n.shift(),n=[],r.push(n)}i.gullet.endGroup(),i.gullet.endGroup();var b=new Array(r[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:r,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Ee({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(i,e){var{parser:t,funcName:n}=i;return{type:"cdlabel",mode:t.mode,side:n.slice(4),label:e[0]}},htmlBuilder(i,e){var t=e.havingStyle(e.style.sup()),n=z.wrapFragment(xt(i.label,t,e),e);return n.classes.push("cd-label-"+i.side),n.style.bottom=_e(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(i,e){var t=new se.MathNode("mrow",[Qt(i.label,e)]);return t=new se.MathNode("mpadded",[t]),t.setAttribute("width","0"),i.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new se.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Ee({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(i,e){var{parser:t}=i;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(i,e){var t=z.wrapFragment(xt(i.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(i,e){return new se.MathNode("mrow",[Qt(i.fragment,e)])}});Ee({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(i,e){for(var{parser:t}=i,n=tt(e[0],"ordgroup"),r=n.body,o="",s=0;s=1114111)throw new de("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:t.mode,text:c}}});var BO=(i,e)=>{var t=en(i.body,e.withColor(i.color),!1);return z.makeFragment(t)},zO=(i,e)=>{var t=Sr(i.body,e.withColor(i.color)),n=new se.MathNode("mstyle",t);return n.setAttribute("mathcolor",i.color),n};Ee({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(i,e){var{parser:t}=i,n=tt(e[0],"color-token").color,r=e[1];return{type:"color",mode:t.mode,color:n,body:Ni(r)}},htmlBuilder:BO,mathmlBuilder:zO});Ee({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(i,e){var{parser:t,breakOnTokenText:n}=i,r=tt(e[0],"color-token").color;t.gullet.macros.set("\\current@color",r);var o=t.parseExpression(!0,n);return{type:"color",mode:t.mode,color:r,body:o}},htmlBuilder:BO,mathmlBuilder:zO});Ee({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(i,e,t){var{parser:n}=i,r=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,o=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:o,size:r&&tt(r,"size").value}},htmlBuilder(i,e){var t=z.makeSpan(["mspace"],[],e);return i.newLine&&(t.classes.push("newline"),i.size&&(t.style.marginTop=_e(vi(i.size,e)))),t},mathmlBuilder(i,e){var t=new se.MathNode("mspace");return i.newLine&&(t.setAttribute("linebreak","newline"),i.size&&t.setAttribute("height",_e(vi(i.size,e)))),t}});var iS={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},UO=i=>{var e=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new de("Expected a control sequence",i);return e},zX=i=>{var e=i.gullet.popToken();return e.text==="="&&(e=i.gullet.popToken(),e.text===" "&&(e=i.gullet.popToken())),e},WO=(i,e,t,n)=>{var r=i.gullet.macros.get(t.text);r==null&&(t.noexpand=!0,r={tokens:[t],numArgs:0,unexpandable:!i.gullet.isExpandable(t.text)}),i.gullet.macros.set(e,r,n)};Ee({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:e,funcName:t}=i;e.consumeSpaces();var n=e.fetch();if(iS[n.text])return(t==="\\global"||t==="\\\\globallong")&&(n.text=iS[n.text]),tt(e.parseFunction(),"internal");throw new de("Invalid token after macro prefix",n)}});Ee({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:e,funcName:t}=i,n=e.gullet.popToken(),r=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new de("Expected a control sequence",n);for(var o=0,s,a=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),a[o].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new de('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new de('Argument number "'+n.text+'" out of order');o++,a.push([])}else{if(n.text==="EOF")throw new de("Expected a macro definition");a[o].push(n.text)}var{tokens:l}=e.gullet.consumeArg();return s&&l.unshift(s),(t==="\\edef"||t==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(r,{tokens:l,numArgs:o,delimiters:a},t===iS[t]),{type:"internal",mode:e.mode}}});Ee({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:e,funcName:t}=i,n=UO(e.gullet.popToken());e.gullet.consumeSpaces();var r=zX(e);return WO(e,n,r,t==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ee({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:e,funcName:t}=i,n=UO(e.gullet.popToken()),r=e.gullet.popToken(),o=e.gullet.popToken();return WO(e,n,o,t==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(r),{type:"internal",mode:e.mode}}});var rm=function(e,t,n){var r=ti.math[e]&&ti.math[e].replace,o=lS(r||e,t,n);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return o},pS=function(e,t,n,r){var o=n.havingBaseStyle(t),s=z.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return s.height*=a,s.depth*=a,s.maxFontSize=o.sizeMultiplier,s},jO=function(e,t,n){var r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=_e(o),e.height-=o,e.depth+=o},UX=function(e,t,n,r,o,s){var a=z.makeSymbol(e,"Main-Regular",o,r),l=pS(a,t,r,s);return n&&jO(l,r,t),l},WX=function(e,t,n,r){return z.makeSymbol(e,"Size"+t+"-Regular",n,r)},VO=function(e,t,n,r,o,s){var a=WX(e,t,o,r),l=pS(z.makeSpan(["delimsizing","size"+t],[a],r),We.TEXT,r,s);return n&&jO(l,r,We.TEXT),l},z3=function(e,t,n){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=z.makeSpan(["delimsizinginner",r],[z.makeSpan([],[z.makeSymbol(e,t,n)])]);return{type:"elem",elem:o}},U3=function(e,t,n){var r=Ts["Size4-Regular"][e.charCodeAt(0)]?Ts["Size4-Regular"][e.charCodeAt(0)][4]:Ts["Size1-Regular"][e.charCodeAt(0)][4],o=new Is("inner",XY(e,Math.round(1e3*t))),s=new zo([o],{width:_e(r),height:_e(t),style:"width:"+_e(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=z.makeSvgSpan([],[s],n);return a.height=t,a.style.height=_e(t),a.style.width=_e(r),{type:"elem",elem:a}},nS=.008,Av={type:"kern",size:-1*nS},jX=["|","\\lvert","\\rvert","\\vert"],VX=["\\|","\\lVert","\\rVert","\\Vert"],KO=function(e,t,n,r,o,s){var a,l,c,d,h="",u=0;a=c=d=e,l=null;var m="Size1-Regular";e==="\\uparrow"?c=d="\u23D0":e==="\\Uparrow"?c=d="\u2016":e==="\\downarrow"?a=c="\u23D0":e==="\\Downarrow"?a=c="\u2016":e==="\\updownarrow"?(a="\\uparrow",c="\u23D0",d="\\downarrow"):e==="\\Updownarrow"?(a="\\Uparrow",c="\u2016",d="\\Downarrow"):Ge.contains(jX,e)?(c="\u2223",h="vert",u=333):Ge.contains(VX,e)?(c="\u2225",h="doublevert",u=556):e==="["||e==="\\lbrack"?(a="\u23A1",c="\u23A2",d="\u23A3",m="Size4-Regular",h="lbrack",u=667):e==="]"||e==="\\rbrack"?(a="\u23A4",c="\u23A5",d="\u23A6",m="Size4-Regular",h="rbrack",u=667):e==="\\lfloor"||e==="\u230A"?(c=a="\u23A2",d="\u23A3",m="Size4-Regular",h="lfloor",u=667):e==="\\lceil"||e==="\u2308"?(a="\u23A1",c=d="\u23A2",m="Size4-Regular",h="lceil",u=667):e==="\\rfloor"||e==="\u230B"?(c=a="\u23A5",d="\u23A6",m="Size4-Regular",h="rfloor",u=667):e==="\\rceil"||e==="\u2309"?(a="\u23A4",c=d="\u23A5",m="Size4-Regular",h="rceil",u=667):e==="("||e==="\\lparen"?(a="\u239B",c="\u239C",d="\u239D",m="Size4-Regular",h="lparen",u=875):e===")"||e==="\\rparen"?(a="\u239E",c="\u239F",d="\u23A0",m="Size4-Regular",h="rparen",u=875):e==="\\{"||e==="\\lbrace"?(a="\u23A7",l="\u23A8",d="\u23A9",c="\u23AA",m="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(a="\u23AB",l="\u23AC",d="\u23AD",c="\u23AA",m="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(a="\u23A7",d="\u23A9",c="\u23AA",m="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(a="\u23AB",d="\u23AD",c="\u23AA",m="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(a="\u23A7",d="\u23AD",c="\u23AA",m="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(a="\u23AB",d="\u23A9",c="\u23AA",m="Size4-Regular");var p=rm(a,m,o),f=p.height+p.depth,b=rm(c,m,o),_=b.height+b.depth,C=rm(d,m,o),x=C.height+C.depth,I=0,A=1;if(l!==null){var O=rm(l,m,o);I=O.height+O.depth,A=2}var D=f+x+I,K=Math.max(0,Math.ceil((t-D)/(A*_))),G=D+K*A*_,Se=r.fontMetrics().axisHeight;n&&(Se*=r.sizeMultiplier);var te=G/2-Se,Ie=[];if(h.length>0){var Oe=G-f-x,He=Math.round(G*1e3),Xe=QY(h,Math.round(Oe*1e3)),B=new Is(h,Xe),Q=(u/1e3).toFixed(3)+"em",J=(He/1e3).toFixed(3)+"em",j=new zo([B],{width:Q,height:J,viewBox:"0 0 "+u+" "+He}),H=z.makeSvgSpan([],[j],r);H.height=He/1e3,H.style.width=Q,H.style.height=J,Ie.push({type:"elem",elem:H})}else{if(Ie.push(z3(d,m,o)),Ie.push(Av),l===null){var U=G-f-x+2*nS;Ie.push(U3(c,U,r))}else{var X=(G-f-x-I)/2+2*nS;Ie.push(U3(c,X,r)),Ie.push(Av),Ie.push(z3(l,m,o)),Ie.push(Av),Ie.push(U3(c,X,r))}Ie.push(Av),Ie.push(z3(a,m,o))}var Et=r.havingBaseStyle(We.TEXT),yi=z.makeVList({positionType:"bottom",positionData:te,children:Ie},Et);return pS(z.makeSpan(["delimsizing","mult"],[yi],Et),We.TEXT,r,s)},W3=80,j3=.08,V3=function(e,t,n,r,o){var s=YY(e,r,n),a=new Is(e,s),l=new zo([a],{width:"400em",height:_e(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return z.makeSvgSpan(["hide-tail"],[l],o)},KX=function(e,t){var n=t.havingBaseSizing(),r=YO("\\surd",e*n.sizeMultiplier,$O,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),a,l=0,c=0,d=0,h;return r.type==="small"?(d=1e3+1e3*s+W3,e<1?o=1:e<1.4&&(o=.7),l=(1+s+j3)/o,c=(1+s)/o,a=V3("sqrtMain",l,d,s,t),a.style.minWidth="0.853em",h=.833/o):r.type==="large"?(d=(1e3+W3)*om[r.size],c=(om[r.size]+s)/o,l=(om[r.size]+s+j3)/o,a=V3("sqrtSize"+r.size,l,d,s,t),a.style.minWidth="1.02em",h=1/o):(l=e+s+j3,c=e+s,d=Math.floor(1e3*e+s)+W3,a=V3("sqrtTall",l,d,s,t),a.style.minWidth="0.742em",h=1.056),a.height=c,a.style.height=_e(l),{span:a,advanceWidth:h,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},qO=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],qX=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],GO=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],om=[0,1.2,1.8,2.4,3],GX=function(e,t,n,r,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ge.contains(qO,e)||Ge.contains(GO,e))return VO(e,t,!1,n,r,o);if(Ge.contains(qX,e))return KO(e,om[t],!1,n,r,o);throw new de("Illegal delimiter: '"+e+"'")},$X=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],YX=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"stack"}],$O=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],XX=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},YO=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size),s=o;st)return n[s]}return n[n.length-1]},XO=function(e,t,n,r,o,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var a;Ge.contains(GO,e)?a=$X:Ge.contains(qO,e)?a=$O:a=YX;var l=YO(e,t,a,r);return l.type==="small"?UX(e,l.style,n,r,o,s):l.type==="large"?VO(e,l.size,n,r,o,s):KO(e,t,n,r,o,s)},QX=function(e,t,n,r,o,s){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=901,c=5/r.fontMetrics().ptPerEm,d=Math.max(t-a,n+a),h=Math.max(d/500*l,2*d-c);return XO(e,h,!0,r,o,s)},Oa={sqrtImage:KX,sizedDelim:GX,sizeToMaxHeight:om,customSizedDelim:XO,leftRightDelim:QX},tO={"\\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}},ZX=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function jv(i,e){var t=Uv(i);if(t&&Ge.contains(ZX,t.text))return t;throw t?new de("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",i):new de("Invalid delimiter type '"+i.type+"'",i)}Ee({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:(i,e)=>{var t=jv(e[0],i);return{type:"delimsizing",mode:i.parser.mode,size:tO[i.funcName].size,mclass:tO[i.funcName].mclass,delim:t.text}},htmlBuilder:(i,e)=>i.delim==="."?z.makeSpan([i.mclass]):Oa.sizedDelim(i.delim,i.size,e,i.mode,[i.mclass]),mathmlBuilder:i=>{var e=[];i.delim!=="."&&e.push(go(i.delim,i.mode));var t=new se.MathNode("mo",e);i.mclass==="mopen"||i.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var n=_e(Oa.sizeToMaxHeight[i.size]);return t.setAttribute("minsize",n),t.setAttribute("maxsize",n),t}});function iO(i){if(!i.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ee({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var t=i.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new de("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:i.parser.mode,delim:jv(e[0],i).text,color:t}}});Ee({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var t=jv(e[0],i),n=i.parser;++n.leftrightDepth;var r=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var o=tt(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(i,e)=>{iO(i);for(var t=en(i.body,e,!0,["mopen","mclose"]),n=0,r=0,o=!1,s=0;s{iO(i);var t=Sr(i.body,e);if(i.left!=="."){var n=new se.MathNode("mo",[go(i.left,i.mode)]);n.setAttribute("fence","true"),t.unshift(n)}if(i.right!=="."){var r=new se.MathNode("mo",[go(i.right,i.mode)]);r.setAttribute("fence","true"),i.rightColor&&r.setAttribute("mathcolor",i.rightColor),t.push(r)}return dS(t)}});Ee({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var t=jv(e[0],i);if(!i.parser.leftrightDepth)throw new de("\\middle without preceding \\left",t);return{type:"middle",mode:i.parser.mode,delim:t.text}},htmlBuilder:(i,e)=>{var t;if(i.delim===".")t=dm(e,[]);else{t=Oa.sizedDelim(i.delim,1,e,i.mode,[]);var n={delim:i.delim,options:e};t.isMiddle=n}return t},mathmlBuilder:(i,e)=>{var t=i.delim==="\\vert"||i.delim==="|"?go("|","text"):go(i.delim,i.mode),n=new se.MathNode("mo",[t]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var fS=(i,e)=>{var t=z.wrapFragment(xt(i.body,e),e),n=i.label.slice(1),r=e.sizeMultiplier,o,s=0,a=Ge.isCharacterBox(i.body);if(n==="sout")o=z.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/r,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var l=vi({number:.6,unit:"pt"},e),c=vi({number:.35,unit:"ex"},e),d=e.havingBaseSizing();r=r/d.sizeMultiplier;var h=t.height+t.depth+l+c;t.style.paddingLeft=_e(h/2+l);var u=Math.floor(1e3*h*r),m=GY(u),p=new zo([new Is("phase",m)],{width:"400em",height:_e(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});o=z.makeSvgSpan(["hide-tail"],[p],e),o.style.height=_e(h),s=t.depth+l+c}else{/cancel/.test(n)?a||t.classes.push("cancel-pad"):n==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var f=0,b=0,_=0;/box/.test(n)?(_=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),f=e.fontMetrics().fboxsep+(n==="colorbox"?0:_),b=f):n==="angl"?(_=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),f=4*_,b=Math.max(0,.25-t.depth)):(f=a?.2:0,b=f),o=Fa.encloseSpan(t,n,f,b,e),/fbox|boxed|fcolorbox/.test(n)?(o.style.borderStyle="solid",o.style.borderWidth=_e(_)):n==="angl"&&_!==.049&&(o.style.borderTopWidth=_e(_),o.style.borderRightWidth=_e(_)),s=t.depth+b,i.backgroundColor&&(o.style.backgroundColor=i.backgroundColor,i.borderColor&&(o.style.borderColor=i.borderColor))}var C;if(i.backgroundColor)C=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:t,shift:0}]},e);else{var x=/cancel|phase/.test(n)?["svg-align"]:[];C=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:s,wrapperClasses:x}]},e)}return/cancel/.test(n)&&(C.height=t.height,C.depth=t.depth),/cancel/.test(n)&&!a?z.makeSpan(["mord","cancel-lap"],[C],e):z.makeSpan(["mord"],[C],e)},gS=(i,e)=>{var t=0,n=new se.MathNode(i.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Qt(i.body,e)]);switch(i.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(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*t+"pt"),n.setAttribute("height","+"+2*t+"pt"),n.setAttribute("lspace",t+"pt"),n.setAttribute("voffset",t+"pt"),i.label==="\\fcolorbox"){var r=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+r+"em solid "+String(i.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return i.backgroundColor&&n.setAttribute("mathbackground",i.backgroundColor),n};Ee({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(i,e,t){var{parser:n,funcName:r}=i,o=tt(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:r,backgroundColor:o,body:s}},htmlBuilder:fS,mathmlBuilder:gS});Ee({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(i,e,t){var{parser:n,funcName:r}=i,o=tt(e[0],"color-token").color,s=tt(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:n.mode,label:r,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:fS,mathmlBuilder:gS});Ee({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(i,e){var{parser:t}=i;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}});Ee({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];return{type:"enclose",mode:t.mode,label:n,body:r}},htmlBuilder:fS,mathmlBuilder:gS});Ee({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(i,e){var{parser:t}=i;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var QO={};function ks(i){for(var{type:e,names:t,props:n,handler:r,htmlBuilder:o,mathmlBuilder:s}=i,a={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:r},l=0;l{var e=i.parser.settings;if(!e.displayMode)throw new de("{"+i.envName+"} can be used only in display mode.")};function _S(i){if(i.indexOf("ed")===-1)return i.indexOf("*")===-1}function Zl(i,e,t){var{hskipBeforeAndAfter:n,addJot:r,cols:o,arraystretch:s,colSeparationType:a,autoTag:l,singleRow:c,emptySingleRow:d,maxNumCols:h,leqno:u}=e;if(i.gullet.beginGroup(),c||i.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=i.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new de("Invalid \\arraystretch: "+m)}i.gullet.beginGroup();var p=[],f=[p],b=[],_=[],C=l!=null?[]:void 0;function x(){l&&i.gullet.macros.set("\\@eqnsw","1",!0)}function I(){C&&(i.gullet.macros.get("\\df@tag")?(C.push(i.subparse([new fo("\\df@tag")])),i.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&i.gullet.macros.get("\\@eqnsw")==="1"))}for(x(),_.push(nO(i));;){var A=i.parseExpression(!1,c?"\\end":"\\\\");i.gullet.endGroup(),i.gullet.beginGroup(),A={type:"ordgroup",mode:i.mode,body:A},t&&(A={type:"styling",mode:i.mode,style:t,body:[A]}),p.push(A);var O=i.fetch().text;if(O==="&"){if(h&&p.length===h){if(c||a)throw new de("Too many tab characters: &",i.nextToken);i.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}i.consume()}else if(O==="\\end"){I(),p.length===1&&A.type==="styling"&&A.body[0].body.length===0&&(f.length>1||!d)&&f.pop(),_.length0&&(x+=.25),c.push({pos:x,isDashed:Af[Lf]})}for(I(s[0]),n=0;n0&&(te+=C,DAf))for(n=0;n=a)){var Ai=void 0;(r>0||e.hskipBeforeAndAfter)&&(Ai=Ge.deflt(X.pregap,u),Ai!==0&&(Xe=z.makeSpan(["arraycolsep"],[]),Xe.style.width=_e(Ai),He.push(Xe)));var Pt=[];for(n=0;n0){for(var kf=z.makeLineSpan("hline",t,d),CW=z.makeLineSpan("hdashline",t,d),N2=[{type:"elem",elem:l,shift:0}];c.length>0;){var qE=c.pop(),GE=qE.pos-Ie;qE.isDashed?N2.push({type:"elem",elem:CW,shift:GE}):N2.push({type:"elem",elem:kf,shift:GE})}l=z.makeVList({positionType:"individualShift",children:N2},t)}if(Q.length===0)return z.makeSpan(["mord"],[l],t);var R2=z.makeVList({positionType:"individualShift",children:Q},t);return R2=z.makeSpan(["tag"],[R2],t),z.makeFragment([l,R2])},JX={c:"center ",l:"left ",r:"right "},Ls=function(e,t){for(var n=[],r=new se.MathNode("mtd",[],["mtr-glue"]),o=new se.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var p=e.cols,f="",b=!1,_=0,C=p.length;p[0].type==="separator"&&(u+="top ",_=1),p[p.length-1].type==="separator"&&(u+="bottom ",C-=1);for(var x=_;x0?"left ":"",u+=K[K.length-1].length>0?"right ":"";for(var G=1;G-1?"alignat":"align",o=e.envName==="split",s=Zl(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:_S(e.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),a,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var d="",h=0;h0&&m&&(b=1),n[p]={type:"align",align:f,pregap:b,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};ks({type:"array",names:["array","darray"],props:{numArgs:1},handler(i,e){var t=Uv(e[0]),n=t?[e[0]]:tt(e[0],"ordgroup").body,r=n.map(function(s){var a=uS(s),l=a.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new de("Unknown column alignment: "+l,s)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Zl(i.parser,o,vS(i.envName))},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(i){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[i.envName.replace("*","")],t="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(i.envName.charAt(i.envName.length-1)==="*"){var r=i.parser;if(r.consumeSpaces(),r.fetch().text==="["){if(r.consume(),r.consumeSpaces(),t=r.fetch().text,"lcr".indexOf(t)===-1)throw new de("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),n.cols=[{type:"align",align:t}]}}var o=Zl(i.parser,n,vS(i.envName)),s=Math.max(0,...o.body.map(a=>a.length));return o.cols=new Array(s).fill({type:"align",align:t}),e?{type:"leftright",mode:i.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(i){var e={arraystretch:.5},t=Zl(i.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["subarray"],props:{numArgs:1},handler(i,e){var t=Uv(e[0]),n=t?[e[0]]:tt(e[0],"ordgroup").body,r=n.map(function(s){var a=uS(s),l=a.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new de("Unknown column alignment: "+l,s)});if(r.length>1)throw new de("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Zl(i.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new de("{subarray} can contain only one column");return o},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(i){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=Zl(i.parser,e,vS(i.envName));return{type:"leftright",mode:i.mode,body:[t],left:i.envName.indexOf("r")>-1?".":"\\{",right:i.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:JO,htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(i){Ge.contains(["gather","gather*"],i.envName)&&Vv(i);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:_S(i.envName),emptySingleRow:!0,leqno:i.parser.settings.leqno};return Zl(i.parser,e,"display")},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:JO,htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(i){Vv(i);var e={autoTag:_S(i.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:i.parser.settings.leqno};return Zl(i.parser,e,"display")},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["CD"],props:{numArgs:0},handler(i){return Vv(i),BX(i.parser)},htmlBuilder:As,mathmlBuilder:Ls});E("\\nonumber","\\gdef\\@eqnsw{0}");E("\\notag","\\nonumber");Ee({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(i,e){throw new de(i.funcName+" valid only within array environment")}});var rO=QO;Ee({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];if(r.type!=="ordgroup")throw new de("Invalid environment name",r);for(var o="",s=0;s{var t=i.font,n=e.withFont(t);return xt(i.body,n)},tP=(i,e)=>{var t=i.font,n=e.withFont(t);return Qt(i.body,n)},oO={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ee({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=Fv(e[0]),o=n;return o in oO&&(o=oO[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:eP,mathmlBuilder:tP});Ee({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(i,e)=>{var{parser:t}=i,n=e[0],r=Ge.isCharacterBox(n);return{type:"mclass",mode:t.mode,mclass:Wv(n),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:n}],isCharacterBox:r}}});Ee({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(i,e)=>{var{parser:t,funcName:n,breakOnTokenText:r}=i,{mode:o}=t,s=t.parseExpression(!0,r),a="math"+n.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:t.mode,body:s}}},htmlBuilder:eP,mathmlBuilder:tP});var iP=(i,e)=>{var t=e;return i==="display"?t=t.id>=We.SCRIPT.id?t.text():We.DISPLAY:i==="text"&&t.size===We.DISPLAY.size?t=We.TEXT:i==="script"?t=We.SCRIPT:i==="scriptscript"&&(t=We.SCRIPTSCRIPT),t},bS=(i,e)=>{var t=iP(i.size,e.style),n=t.fracNum(),r=t.fracDen(),o;o=e.havingStyle(n);var s=xt(i.numer,o,e);if(i.continued){var a=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?p=3*u:p=7*u,f=e.fontMetrics().denom1):(h>0?(m=e.fontMetrics().num2,p=u):(m=e.fontMetrics().num3,p=3*u),f=e.fontMetrics().denom2);var b;if(d){var C=e.fontMetrics().axisHeight;m-s.depth-(C+.5*h){var t=new se.MathNode("mfrac",[Qt(i.numer,e),Qt(i.denom,e)]);if(!i.hasBarLine)t.setAttribute("linethickness","0px");else if(i.barSize){var n=vi(i.barSize,e);t.setAttribute("linethickness",_e(n))}var r=iP(i.size,e.style);if(r.size!==e.style.size){t=new se.MathNode("mstyle",[t]);var o=r.size===We.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",o),t.setAttribute("scriptlevel","0")}if(i.leftDelim!=null||i.rightDelim!=null){var s=[];if(i.leftDelim!=null){var a=new se.MathNode("mo",[new se.TextNode(i.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),s.push(a)}if(s.push(t),i.rightDelim!=null){var l=new se.MathNode("mo",[new se.TextNode(i.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return dS(s)}return t};Ee({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0],o=e[1],s,a=null,l=null,c="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:r,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:bS,mathmlBuilder:yS});Ee({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0],o=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:r,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ee({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(i){var{parser:e,funcName:t,token:n}=i,r;switch(t){case"\\over":r="\\frac";break;case"\\choose":r="\\binom";break;case"\\atop":r="\\\\atopfrac";break;case"\\brace":r="\\\\bracefrac";break;case"\\brack":r="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:r,token:n}}});var sO=["display","text","script","scriptscript"],aO=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};Ee({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(i,e){var{parser:t}=i,n=e[4],r=e[5],o=Fv(e[0]),s=o.type==="atom"&&o.family==="open"?aO(o.text):null,a=Fv(e[1]),l=a.type==="atom"&&a.family==="close"?aO(a.text):null,c=tt(e[2],"size"),d,h=null;c.isBlank?d=!0:(h=c.value,d=h.number>0);var u="auto",m=e[3];if(m.type==="ordgroup"){if(m.body.length>0){var p=tt(m.body[0],"textord");u=sO[Number(p.text)]}}else m=tt(m,"textord"),u=sO[Number(m.text)];return{type:"genfrac",mode:t.mode,numer:n,denom:r,continued:!1,hasBarLine:d,barSize:h,leftDelim:s,rightDelim:l,size:u}},htmlBuilder:bS,mathmlBuilder:yS});Ee({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(i,e){var{parser:t,funcName:n,token:r}=i;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:tt(e[0],"size").value,token:r}}});Ee({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0],o=RY(tt(e[1],"infix").size),s=e[2],a=o.number>0;return{type:"genfrac",mode:t.mode,numer:r,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:bS,mathmlBuilder:yS});var nP=(i,e)=>{var t=e.style,n,r;i.type==="supsub"?(n=i.sup?xt(i.sup,e.havingStyle(t.sup()),e):xt(i.sub,e.havingStyle(t.sub()),e),r=tt(i.base,"horizBrace")):r=tt(i,"horizBrace");var o=xt(r.base,e.havingBaseStyle(We.DISPLAY)),s=Fa.svgSpan(r,e),a;if(r.isOver?(a=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e),a.children[0].children[0].children[1].classes.push("svg-align")):(a=z.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e),a.children[0].children[0].children[0].classes.push("svg-align")),n){var l=z.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e);r.isOver?a=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},e):a=z.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return z.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e)},eQ=(i,e)=>{var t=Fa.mathMLnode(i.label);return new se.MathNode(i.isOver?"mover":"munder",[Qt(i.base,e),t])};Ee({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(i,e){var{parser:t,funcName:n}=i;return{type:"horizBrace",mode:t.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:nP,mathmlBuilder:eQ});Ee({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[1],r=tt(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:Ni(n)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(i,e)=>{var t=en(i.body,e,!1);return z.makeAnchor(i.href,[],t,e)},mathmlBuilder:(i,e)=>{var t=Ql(i.body,e);return t instanceof br||(t=new br("mrow",[t])),t.setAttribute("href",i.href),t}});Ee({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=tt(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:n}))return t.formatUnsupportedCmd("\\url");for(var r=[],o=0;o{var{parser:t,funcName:n,token:r}=i,o=tt(e[0],"raw").string,s=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var a,l={};switch(n){case"\\htmlClass":l.class=o,a={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,a={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,a={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),d=0;d{var t=en(i.body,e,!1),n=["enclosing"];i.attributes.class&&n.push(...i.attributes.class.trim().split(/\s+/));var r=z.makeSpan(n,t,e);for(var o in i.attributes)o!=="class"&&i.attributes.hasOwnProperty(o)&&r.setAttribute(o,i.attributes[o]);return r},mathmlBuilder:(i,e)=>Ql(i.body,e)});Ee({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i;return{type:"htmlmathml",mode:t.mode,html:Ni(e[0]),mathml:Ni(e[1])}},htmlBuilder:(i,e)=>{var t=en(i.html,e,!1);return z.makeFragment(t)},mathmlBuilder:(i,e)=>Ql(i.mathml,e)});var K3=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new de("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!CO(n))throw new de("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Ee({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(i,e,t)=>{var{parser:n}=i,r={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},a="";if(t[0])for(var l=tt(t[0],"raw").string,c=l.split(","),d=0;d{var t=vi(i.height,e),n=0;i.totalheight.number>0&&(n=vi(i.totalheight,e)-t);var r=0;i.width.number>0&&(r=vi(i.width,e));var o={height:_e(t+n)};r>0&&(o.width=_e(r)),n>0&&(o.verticalAlign=_e(-n));var s=new Q3(i.src,i.alt,o);return s.height=t,s.depth=n,s},mathmlBuilder:(i,e)=>{var t=new se.MathNode("mglyph",[]);t.setAttribute("alt",i.alt);var n=vi(i.height,e),r=0;if(i.totalheight.number>0&&(r=vi(i.totalheight,e)-n,t.setAttribute("valign",_e(-r))),t.setAttribute("height",_e(n+r)),i.width.number>0){var o=vi(i.width,e);t.setAttribute("width",_e(o))}return t.setAttribute("src",i.src),t}});Ee({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(i,e){var{parser:t,funcName:n}=i,r=tt(e[0],"size");if(t.settings.strict){var o=n[1]==="m",s=r.value.unit==="mu";o?(s||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+r.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:r.value}},htmlBuilder(i,e){return z.makeGlue(i.dimension,e)},mathmlBuilder(i,e){var t=vi(i.dimension,e);return new se.SpaceNode(t)}});Ee({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0];return{type:"lap",mode:t.mode,alignment:n.slice(5),body:r}},htmlBuilder:(i,e)=>{var t;i.alignment==="clap"?(t=z.makeSpan([],[xt(i.body,e)]),t=z.makeSpan(["inner"],[t],e)):t=z.makeSpan(["inner"],[xt(i.body,e)]);var n=z.makeSpan(["fix"],[]),r=z.makeSpan([i.alignment],[t,n],e),o=z.makeSpan(["strut"]);return o.style.height=_e(r.height+r.depth),r.depth&&(o.style.verticalAlign=_e(-r.depth)),r.children.unshift(o),r=z.makeSpan(["thinbox"],[r],e),z.makeSpan(["mord","vbox"],[r],e)},mathmlBuilder:(i,e)=>{var t=new se.MathNode("mpadded",[Qt(i.body,e)]);if(i.alignment!=="rlap"){var n=i.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",n+"width")}return t.setAttribute("width","0px"),t}});Ee({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,e){var{funcName:t,parser:n}=i,r=n.mode;n.switchMode("math");var o=t==="\\("?"\\)":"$",s=n.parseExpression(!1,o);return n.expect(o),n.switchMode(r),{type:"styling",mode:n.mode,style:"text",body:s}}});Ee({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,e){throw new de("Mismatched "+i.funcName)}});var lO=(i,e)=>{switch(e.style.size){case We.DISPLAY.size:return i.display;case We.TEXT.size:return i.text;case We.SCRIPT.size:return i.script;case We.SCRIPTSCRIPT.size:return i.scriptscript;default:return i.text}};Ee({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(i,e)=>{var{parser:t}=i;return{type:"mathchoice",mode:t.mode,display:Ni(e[0]),text:Ni(e[1]),script:Ni(e[2]),scriptscript:Ni(e[3])}},htmlBuilder:(i,e)=>{var t=lO(i,e),n=en(t,e,!1);return z.makeFragment(n)},mathmlBuilder:(i,e)=>{var t=lO(i,e);return Ql(t,e)}});var rP=(i,e,t,n,r,o,s)=>{i=z.makeSpan([],[i]);var a=t&&Ge.isCharacterBox(t),l,c;if(e){var d=xt(e,n.havingStyle(r.sup()),n);c={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(t){var h=xt(t,n.havingStyle(r.sub()),n);l={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var u;if(c&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+i.depth+s;u=z.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:_e(-o)},{type:"kern",size:l.kern},{type:"elem",elem:i},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:_e(o)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var p=i.height-s;u=z.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:_e(-o)},{type:"kern",size:l.kern},{type:"elem",elem:i}]},n)}else if(c){var f=i.depth+s;u=z.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:i},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:_e(o)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return i;var b=[u];if(l&&o!==0&&!a){var _=z.makeSpan(["mspace"],[],n);_.style.marginRight=_e(o),b.unshift(_)}return z.makeSpan(["mop","op-limits"],b,n)},oP=["\\smallint"],Cu=(i,e)=>{var t,n,r=!1,o;i.type==="supsub"?(t=i.sup,n=i.sub,o=tt(i.base,"op"),r=!0):o=tt(i,"op");var s=e.style,a=!1;s.size===We.DISPLAY.size&&o.symbol&&!Ge.contains(oP,o.name)&&(a=!0);var l;if(o.symbol){var c=a?"Size2-Regular":"Size1-Regular",d="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(d=o.name.slice(1),o.name=d==="oiint"?"\\iint":"\\iiint"),l=z.makeSymbol(o.name,c,"math",e,["mop","op-symbol",a?"large-op":"small-op"]),d.length>0){var h=l.italic,u=z.staticSvg(d+"Size"+(a?"2":"1"),e);l=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:u,shift:a?.08:0}]},e),o.name="\\"+d,l.classes.unshift("mop"),l.italic=h}}else if(o.body){var m=en(o.body,e,!0);m.length===1&&m[0]instanceof yr?(l=m[0],l.classes[0]="mop"):l=z.makeSpan(["mop"],m,e)}else{for(var p=[],f=1;f{var t;if(i.symbol)t=new br("mo",[go(i.name,i.mode)]),Ge.contains(oP,i.name)&&t.setAttribute("largeop","false");else if(i.body)t=new br("mo",Sr(i.body,e));else{t=new br("mi",[new dd(i.name.slice(1))]);var n=new br("mo",[go("\u2061","text")]);i.parentIsSupSub?t=new br("mrow",[t,n]):t=DO([t,n])}return t},tQ={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ee({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=n;return r.length===1&&(r=tQ[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Cu,mathmlBuilder:hm});Ee({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ni(n)}},htmlBuilder:Cu,mathmlBuilder:hm});var iQ={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ee({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(i){var{parser:e,funcName:t}=i;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:Cu,mathmlBuilder:hm});Ee({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(i){var{parser:e,funcName:t}=i;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:Cu,mathmlBuilder:hm});Ee({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(i){var{parser:e,funcName:t}=i,n=t;return n.length===1&&(n=iQ[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Cu,mathmlBuilder:hm});var sP=(i,e)=>{var t,n,r=!1,o;i.type==="supsub"?(t=i.sup,n=i.sub,o=tt(i.base,"operatorname"),r=!0):o=tt(i,"operatorname");var s;if(o.body.length>0){for(var a=o.body.map(h=>{var u=h.text;return typeof u=="string"?{type:"textord",mode:h.mode,text:u}:h}),l=en(a,e.withFont("mathrm"),!0),c=0;c{for(var t=Sr(i.body,e.withFont("mathrm")),n=!0,r=0;rd.toText()).join("");t=[new se.TextNode(a)]}var l=new se.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new se.MathNode("mo",[go("\u2061","text")]);return i.parentIsSupSub?new se.MathNode("mrow",[l,c]):se.newDocumentFragment([l,c])};Ee({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0];return{type:"operatorname",mode:t.mode,body:Ni(r),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:sP,mathmlBuilder:nQ});E("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");pd({type:"ordgroup",htmlBuilder(i,e){return i.semisimple?z.makeFragment(en(i.body,e,!1)):z.makeSpan(["mord"],en(i.body,e,!0),e)},mathmlBuilder(i,e){return Ql(i.body,e,!0)}});Ee({type:"overline",names:["\\overline"],props:{numArgs:1},handler(i,e){var{parser:t}=i,n=e[0];return{type:"overline",mode:t.mode,body:n}},htmlBuilder(i,e){var t=xt(i.body,e.havingCrampedStyle()),n=z.makeLineSpan("overline-line",e),r=e.fontMetrics().defaultRuleThickness,o=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:n},{type:"kern",size:r}]},e);return z.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(i,e){var t=new se.MathNode("mo",[new se.TextNode("\u203E")]);t.setAttribute("stretchy","true");var n=new se.MathNode("mover",[Qt(i.body,e),t]);return n.setAttribute("accent","true"),n}});Ee({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"phantom",mode:t.mode,body:Ni(n)}},htmlBuilder:(i,e)=>{var t=en(i.body,e.withPhantom(),!1);return z.makeFragment(t)},mathmlBuilder:(i,e)=>{var t=Sr(i.body,e);return new se.MathNode("mphantom",t)}});Ee({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"hphantom",mode:t.mode,body:n}},htmlBuilder:(i,e)=>{var t=z.makeSpan([],[xt(i.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var n=0;n{var t=Sr(Ni(i.body),e),n=new se.MathNode("mphantom",t),r=new se.MathNode("mpadded",[n]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Ee({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"vphantom",mode:t.mode,body:n}},htmlBuilder:(i,e)=>{var t=z.makeSpan(["inner"],[xt(i.body,e.withPhantom())]),n=z.makeSpan(["fix"],[]);return z.makeSpan(["mord","rlap"],[t,n],e)},mathmlBuilder:(i,e)=>{var t=Sr(Ni(i.body),e),n=new se.MathNode("mphantom",t),r=new se.MathNode("mpadded",[n]);return r.setAttribute("width","0px"),r}});Ee({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(i,e){var{parser:t}=i,n=tt(e[0],"size").value,r=e[1];return{type:"raisebox",mode:t.mode,dy:n,body:r}},htmlBuilder(i,e){var t=xt(i.body,e),n=vi(i.dy,e);return z.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(i,e){var t=new se.MathNode("mpadded",[Qt(i.body,e)]),n=i.dy.number+i.dy.unit;return t.setAttribute("voffset",n),t}});Ee({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:e}=i;return{type:"internal",mode:e.mode}}});Ee({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(i,e,t){var{parser:n}=i,r=t[0],o=tt(e[0],"size"),s=tt(e[1],"size");return{type:"rule",mode:n.mode,shift:r&&tt(r,"size").value,width:o.value,height:s.value}},htmlBuilder(i,e){var t=z.makeSpan(["mord","rule"],[],e),n=vi(i.width,e),r=vi(i.height,e),o=i.shift?vi(i.shift,e):0;return t.style.borderRightWidth=_e(n),t.style.borderTopWidth=_e(r),t.style.bottom=_e(o),t.width=n,t.height=r+o,t.depth=-o,t.maxFontSize=r*1.125*e.sizeMultiplier,t},mathmlBuilder(i,e){var t=vi(i.width,e),n=vi(i.height,e),r=i.shift?vi(i.shift,e):0,o=e.color&&e.getColor()||"black",s=new se.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",_e(t)),s.setAttribute("height",_e(n));var a=new se.MathNode("mpadded",[s]);return r>=0?a.setAttribute("height",_e(r)):(a.setAttribute("height",_e(r)),a.setAttribute("depth",_e(-r))),a.setAttribute("voffset",_e(r)),a}});function aP(i,e,t){for(var n=en(i,e,!1),r=e.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=e.havingSize(i.size);return aP(i.body,t,e)};Ee({type:"sizing",names:cO,props:{numArgs:0,allowedInText:!0},handler:(i,e)=>{var{breakOnTokenText:t,funcName:n,parser:r}=i,o=r.parseExpression(!1,t);return{type:"sizing",mode:r.mode,size:cO.indexOf(n)+1,body:o}},htmlBuilder:rQ,mathmlBuilder:(i,e)=>{var t=e.havingSize(i.size),n=Sr(i.body,t),r=new se.MathNode("mstyle",n);return r.setAttribute("mathsize",_e(t.sizeMultiplier)),r}});Ee({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(i,e,t)=>{var{parser:n}=i,r=!1,o=!1,s=t[0]&&tt(t[0],"ordgroup");if(s)for(var a="",l=0;l{var t=z.makeSpan([],[xt(i.body,e)]);if(!i.smashHeight&&!i.smashDepth)return t;if(i.smashHeight&&(t.height=0,t.children))for(var n=0;n{var t=new se.MathNode("mpadded",[Qt(i.body,e)]);return i.smashHeight&&t.setAttribute("height","0px"),i.smashDepth&&t.setAttribute("depth","0px"),t}});Ee({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(i,e,t){var{parser:n}=i,r=t[0],o=e[0];return{type:"sqrt",mode:n.mode,body:o,index:r}},htmlBuilder(i,e){var t=xt(i.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=z.wrapFragment(t,e);var n=e.fontMetrics(),r=n.defaultRuleThickness,o=r;e.style.idt.height+t.depth+s&&(s=(s+h-t.height-t.depth)/2);var u=l.height-t.height-s-c;t.style.paddingLeft=_e(d);var m=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+u)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(i.index){var p=e.havingStyle(We.SCRIPTSCRIPT),f=xt(i.index,p,e),b=.6*(m.height-m.depth),_=z.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:f}]},e),C=z.makeSpan(["root"],[_]);return z.makeSpan(["mord","sqrt"],[C,m],e)}else return z.makeSpan(["mord","sqrt"],[m],e)},mathmlBuilder(i,e){var{body:t,index:n}=i;return n?new se.MathNode("mroot",[Qt(t,e),Qt(n,e)]):new se.MathNode("msqrt",[Qt(t,e)])}});var dO={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT};Ee({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i,e){var{breakOnTokenText:t,funcName:n,parser:r}=i,o=r.parseExpression(!0,t),s=n.slice(1,n.length-5);return{type:"styling",mode:r.mode,style:s,body:o}},htmlBuilder(i,e){var t=dO[i.style],n=e.havingStyle(t).withFont("");return aP(i.body,n,e)},mathmlBuilder(i,e){var t=dO[i.style],n=e.havingStyle(t),r=Sr(i.body,n),o=new se.MathNode("mstyle",r),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[i.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});var oQ=function(e,t){var n=e.base;if(n)if(n.type==="op"){var r=n.limits&&(t.style.size===We.DISPLAY.size||n.alwaysHandleSupSub);return r?Cu:null}else if(n.type==="operatorname"){var o=n.alwaysHandleSupSub&&(t.style.size===We.DISPLAY.size||n.limits);return o?sP:null}else{if(n.type==="accent")return Ge.isCharacterBox(n.base)?mS:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?nP:null}else return null}else return null};pd({type:"supsub",htmlBuilder(i,e){var t=oQ(i,e);if(t)return t(i,e);var{base:n,sup:r,sub:o}=i,s=xt(n,e),a,l,c=e.fontMetrics(),d=0,h=0,u=n&&Ge.isCharacterBox(n);if(r){var m=e.havingStyle(e.style.sup());a=xt(r,m,e),u||(d=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/e.sizeMultiplier)}if(o){var p=e.havingStyle(e.style.sub());l=xt(o,p,e),u||(h=s.depth+p.fontMetrics().subDrop*p.sizeMultiplier/e.sizeMultiplier)}var f;e.style===We.DISPLAY?f=c.sup1:e.style.cramped?f=c.sup3:f=c.sup2;var b=e.sizeMultiplier,_=_e(.5/c.ptPerEm/b),C=null;if(l){var x=i.base&&i.base.type==="op"&&i.base.name&&(i.base.name==="\\oiint"||i.base.name==="\\oiiint");(s instanceof yr||x)&&(C=_e(-s.italic))}var I;if(a&&l){d=Math.max(d,f,a.depth+.25*c.xHeight),h=Math.max(h,c.sub2);var A=c.defaultRuleThickness,O=4*A;if(d-a.depth-(l.height-h)0&&(d+=D,h-=D)}var K=[{type:"elem",elem:l,shift:h,marginRight:_,marginLeft:C},{type:"elem",elem:a,shift:-d,marginRight:_}];I=z.makeVList({positionType:"individualShift",children:K},e)}else if(l){h=Math.max(h,c.sub1,l.height-.8*c.xHeight);var G=[{type:"elem",elem:l,marginLeft:C,marginRight:_}];I=z.makeVList({positionType:"shift",positionData:h,children:G},e)}else if(a)d=Math.max(d,f,a.depth+.25*c.xHeight),I=z.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:a,marginRight:_}]},e);else throw new Error("supsub must have either sup or sub.");var Se=J3(s,"right")||"mord";return z.makeSpan([Se],[s,z.makeSpan(["msupsub"],[I])],e)},mathmlBuilder(i,e){var t=!1,n,r;i.base&&i.base.type==="horizBrace"&&(r=!!i.sup,r===i.base.isOver&&(t=!0,n=i.base.isOver)),i.base&&(i.base.type==="op"||i.base.type==="operatorname")&&(i.base.parentIsSupSub=!0);var o=[Qt(i.base,e)];i.sub&&o.push(Qt(i.sub,e)),i.sup&&o.push(Qt(i.sup,e));var s;if(t)s=n?"mover":"munder";else if(i.sub)if(i.sup){var c=i.base;c&&c.type==="op"&&c.limits&&e.style===We.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===We.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var l=i.base;l&&l.type==="op"&&l.limits&&(e.style===We.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===We.DISPLAY)?s="munder":s="msub"}else{var a=i.base;a&&a.type==="op"&&a.limits&&(e.style===We.DISPLAY||a.alwaysHandleSupSub)||a&&a.type==="operatorname"&&a.alwaysHandleSupSub&&(a.limits||e.style===We.DISPLAY)?s="mover":s="msup"}return new se.MathNode(s,o)}});pd({type:"atom",htmlBuilder(i,e){return z.mathsym(i.text,i.mode,e,["m"+i.family])},mathmlBuilder(i,e){var t=new se.MathNode("mo",[go(i.text,i.mode)]);if(i.family==="bin"){var n=hS(i,e);n==="bold-italic"&&t.setAttribute("mathvariant",n)}else i.family==="punct"?t.setAttribute("separator","true"):(i.family==="open"||i.family==="close")&&t.setAttribute("stretchy","false");return t}});var lP={mi:"italic",mn:"normal",mtext:"normal"};pd({type:"mathord",htmlBuilder(i,e){return z.makeOrd(i,e,"mathord")},mathmlBuilder(i,e){var t=new se.MathNode("mi",[go(i.text,i.mode,e)]),n=hS(i,e)||"italic";return n!==lP[t.type]&&t.setAttribute("mathvariant",n),t}});pd({type:"textord",htmlBuilder(i,e){return z.makeOrd(i,e,"textord")},mathmlBuilder(i,e){var t=go(i.text,i.mode,e),n=hS(i,e)||"normal",r;return i.mode==="text"?r=new se.MathNode("mtext",[t]):/[0-9]/.test(i.text)?r=new se.MathNode("mn",[t]):i.text==="\\prime"?r=new se.MathNode("mo",[t]):r=new se.MathNode("mi",[t]),n!==lP[r.type]&&r.setAttribute("mathvariant",n),r}});var q3={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},G3={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pd({type:"spacing",htmlBuilder(i,e){if(G3.hasOwnProperty(i.text)){var t=G3[i.text].className||"";if(i.mode==="text"){var n=z.makeOrd(i,e,"textord");return n.classes.push(t),n}else return z.makeSpan(["mspace",t],[z.mathsym(i.text,i.mode,e)],e)}else{if(q3.hasOwnProperty(i.text))return z.makeSpan(["mspace",q3[i.text]],[],e);throw new de('Unknown type of space "'+i.text+'"')}},mathmlBuilder(i,e){var t;if(G3.hasOwnProperty(i.text))t=new se.MathNode("mtext",[new se.TextNode("\xA0")]);else{if(q3.hasOwnProperty(i.text))return new se.MathNode("mspace");throw new de('Unknown type of space "'+i.text+'"')}return t}});var hO=()=>{var i=new se.MathNode("mtd",[]);return i.setAttribute("width","50%"),i};pd({type:"tag",mathmlBuilder(i,e){var t=new se.MathNode("mtable",[new se.MathNode("mtr",[hO(),new se.MathNode("mtd",[Ql(i.body,e)]),hO(),new se.MathNode("mtd",[Ql(i.tag,e)])])]);return t.setAttribute("width","100%"),t}});var uO={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mO={"\\textbf":"textbf","\\textmd":"textmd"},sQ={"\\textit":"textit","\\textup":"textup"},pO=(i,e)=>{var t=i.font;return t?uO[t]?e.withTextFontFamily(uO[t]):mO[t]?e.withTextFontWeight(mO[t]):e.withTextFontShape(sQ[t]):e};Ee({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];return{type:"text",mode:t.mode,body:Ni(r),font:n}},htmlBuilder(i,e){var t=pO(i,e),n=en(i.body,t,!0);return z.makeSpan(["mord","text"],n,t)},mathmlBuilder(i,e){var t=pO(i,e);return Ql(i.body,t)}});Ee({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(i,e){var{parser:t}=i;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(i,e){var t=xt(i.body,e),n=z.makeLineSpan("underline-line",e),r=e.fontMetrics().defaultRuleThickness,o=z.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:r},{type:"elem",elem:n},{type:"kern",size:3*r},{type:"elem",elem:t}]},e);return z.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(i,e){var t=new se.MathNode("mo",[new se.TextNode("\u203E")]);t.setAttribute("stretchy","true");var n=new se.MathNode("munder",[Qt(i.body,e),t]);return n.setAttribute("accentunder","true"),n}});Ee({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(i,e){var{parser:t}=i;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(i,e){var t=xt(i.body,e),n=e.fontMetrics().axisHeight,r=.5*(t.height-n-(t.depth+n));return z.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(i,e){return new se.MathNode("mpadded",[Qt(i.body,e)],["vcenter"])}});Ee({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(i,e,t){throw new de("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(i,e){for(var t=fO(i),n=[],r=e.havingStyle(e.style.text()),o=0;oi.body.replace(/ /g,i.star?"\u2423":"\xA0"),Yl=NO,cP=`[ \r - ]`,aQ="\\\\[a-zA-Z@]+",lQ="\\\\[^\uD800-\uDFFF]",cQ="("+aQ+")"+cP+"*",dQ=`\\\\( +-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.")}},hd=class{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return Ge.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(e).join("")}},Ts={"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]}},Cv={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]},eO={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function lX(i,e){Ts[i]=e}function uS(i,e,t){if(!Ts[e])throw new Error("Font metrics not found for font: "+e+".");var n=i.charCodeAt(0),r=Ts[e][n];if(!r&&i[0]in eO&&(n=eO[i[0]].charCodeAt(0),r=Ts[e][n]),!r&&t==="text"&&NO(n)&&(r=Ts[e][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var U3={};function cX(i){var e;if(i>=5?e=0:i>=3?e=1:e=2,!U3[e]){var t=U3[e]={cssEmPerMu:Cv.quad[e]/18};for(var n in Cv)Cv.hasOwnProperty(n)&&(t[n]=Cv[n][e])}return U3[e]}var dX=[[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]],tO=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],iO=function(e,t){return t.size<2?e:dX[e-1][t.size-1]},Uo=class{constructor(e){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=e.style,this.color=e.color,this.size=e.size||Uo.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=tO[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={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 e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new Uo(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:iO(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:tO[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=iO(Uo.BASESIZE,e);return this.size===t&&this.textSize===Uo.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Uo.BASESIZE?["sizing","reset-size"+this.size,"size"+Uo.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=cX(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Uo.BASESIZE=6;var eS={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},hX={ex:!0,em:!0,mu:!0},RO=function(e){return typeof e!="string"&&(e=e.unit),e in eS||e in hX||e==="ex"},vi=function(e,t){var n;if(e.unit in eS)n=eS[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var r;if(t.style.isTight()?r=t.havingStyle(t.style.text()):r=t,e.unit==="ex")n=r.fontMetrics().xHeight;else if(e.unit==="em")n=r.fontMetrics().quad;else throw new de("Invalid unit: '"+e.unit+"'");r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},ve=function(e){return+e.toFixed(4)+"em"},Xl=function(e){return e.filter(t=>t).join(" ")},DO=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},MO=function(e){var t=document.createElement(e);t.className=Xl(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o",t},ud=class{constructor(e,t,n,r){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,DO.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return Ge.contains(this.classes,e)}toNode(){return MO.call(this,"span")}toMarkup(){return OO.call(this,"span")}},dm=class{constructor(e,t,n,r){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,DO.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return Ge.contains(this.classes,e)}toNode(){return MO.call(this,"a")}toMarkup(){return OO.call(this,"a")}},tS=class{constructor(e,t,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=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return Ge.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=""+this.alt+"0&&(t=document.createElement("span"),t.style.marginRight=ve(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Xl(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=Ge.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+Ge.escape(n)+'"');var o=Ge.escape(this.text);return e?(t+=">",t+=o,t+="",t):o}},Wo=class{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var r=0;r":""}},hm=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t}toMarkup(){var e=" but got "+String(i)+".")}var pX={bin:1,close:1,inner:1,open:1,punct:1,rel:1},fX={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ti={math:{},text:{}};function _(i,e,t,n,r,o){ti[i][r]={font:e,group:t,replace:n},o&&n&&(ti[i][n]=ti[i][r])}var y="math",ie="text",x="main",L="ams",mi="accent-token",Te="bin",Qn="close",Su="inner",Ve="mathord",Bi="op-token",Vr="open",Uv="punct",N="rel",Ha="spacing",P="textord";_(y,x,N,"\u2261","\\equiv",!0);_(y,x,N,"\u227A","\\prec",!0);_(y,x,N,"\u227B","\\succ",!0);_(y,x,N,"\u223C","\\sim",!0);_(y,x,N,"\u22A5","\\perp");_(y,x,N,"\u2AAF","\\preceq",!0);_(y,x,N,"\u2AB0","\\succeq",!0);_(y,x,N,"\u2243","\\simeq",!0);_(y,x,N,"\u2223","\\mid",!0);_(y,x,N,"\u226A","\\ll",!0);_(y,x,N,"\u226B","\\gg",!0);_(y,x,N,"\u224D","\\asymp",!0);_(y,x,N,"\u2225","\\parallel");_(y,x,N,"\u22C8","\\bowtie",!0);_(y,x,N,"\u2323","\\smile",!0);_(y,x,N,"\u2291","\\sqsubseteq",!0);_(y,x,N,"\u2292","\\sqsupseteq",!0);_(y,x,N,"\u2250","\\doteq",!0);_(y,x,N,"\u2322","\\frown",!0);_(y,x,N,"\u220B","\\ni",!0);_(y,x,N,"\u221D","\\propto",!0);_(y,x,N,"\u22A2","\\vdash",!0);_(y,x,N,"\u22A3","\\dashv",!0);_(y,x,N,"\u220B","\\owns");_(y,x,Uv,".","\\ldotp");_(y,x,Uv,"\u22C5","\\cdotp");_(y,x,P,"#","\\#");_(ie,x,P,"#","\\#");_(y,x,P,"&","\\&");_(ie,x,P,"&","\\&");_(y,x,P,"\u2135","\\aleph",!0);_(y,x,P,"\u2200","\\forall",!0);_(y,x,P,"\u210F","\\hbar",!0);_(y,x,P,"\u2203","\\exists",!0);_(y,x,P,"\u2207","\\nabla",!0);_(y,x,P,"\u266D","\\flat",!0);_(y,x,P,"\u2113","\\ell",!0);_(y,x,P,"\u266E","\\natural",!0);_(y,x,P,"\u2663","\\clubsuit",!0);_(y,x,P,"\u2118","\\wp",!0);_(y,x,P,"\u266F","\\sharp",!0);_(y,x,P,"\u2662","\\diamondsuit",!0);_(y,x,P,"\u211C","\\Re",!0);_(y,x,P,"\u2661","\\heartsuit",!0);_(y,x,P,"\u2111","\\Im",!0);_(y,x,P,"\u2660","\\spadesuit",!0);_(y,x,P,"\xA7","\\S",!0);_(ie,x,P,"\xA7","\\S");_(y,x,P,"\xB6","\\P",!0);_(ie,x,P,"\xB6","\\P");_(y,x,P,"\u2020","\\dag");_(ie,x,P,"\u2020","\\dag");_(ie,x,P,"\u2020","\\textdagger");_(y,x,P,"\u2021","\\ddag");_(ie,x,P,"\u2021","\\ddag");_(ie,x,P,"\u2021","\\textdaggerdbl");_(y,x,Qn,"\u23B1","\\rmoustache",!0);_(y,x,Vr,"\u23B0","\\lmoustache",!0);_(y,x,Qn,"\u27EF","\\rgroup",!0);_(y,x,Vr,"\u27EE","\\lgroup",!0);_(y,x,Te,"\u2213","\\mp",!0);_(y,x,Te,"\u2296","\\ominus",!0);_(y,x,Te,"\u228E","\\uplus",!0);_(y,x,Te,"\u2293","\\sqcap",!0);_(y,x,Te,"\u2217","\\ast");_(y,x,Te,"\u2294","\\sqcup",!0);_(y,x,Te,"\u25EF","\\bigcirc",!0);_(y,x,Te,"\u2219","\\bullet",!0);_(y,x,Te,"\u2021","\\ddagger");_(y,x,Te,"\u2240","\\wr",!0);_(y,x,Te,"\u2A3F","\\amalg");_(y,x,Te,"&","\\And");_(y,x,N,"\u27F5","\\longleftarrow",!0);_(y,x,N,"\u21D0","\\Leftarrow",!0);_(y,x,N,"\u27F8","\\Longleftarrow",!0);_(y,x,N,"\u27F6","\\longrightarrow",!0);_(y,x,N,"\u21D2","\\Rightarrow",!0);_(y,x,N,"\u27F9","\\Longrightarrow",!0);_(y,x,N,"\u2194","\\leftrightarrow",!0);_(y,x,N,"\u27F7","\\longleftrightarrow",!0);_(y,x,N,"\u21D4","\\Leftrightarrow",!0);_(y,x,N,"\u27FA","\\Longleftrightarrow",!0);_(y,x,N,"\u21A6","\\mapsto",!0);_(y,x,N,"\u27FC","\\longmapsto",!0);_(y,x,N,"\u2197","\\nearrow",!0);_(y,x,N,"\u21A9","\\hookleftarrow",!0);_(y,x,N,"\u21AA","\\hookrightarrow",!0);_(y,x,N,"\u2198","\\searrow",!0);_(y,x,N,"\u21BC","\\leftharpoonup",!0);_(y,x,N,"\u21C0","\\rightharpoonup",!0);_(y,x,N,"\u2199","\\swarrow",!0);_(y,x,N,"\u21BD","\\leftharpoondown",!0);_(y,x,N,"\u21C1","\\rightharpoondown",!0);_(y,x,N,"\u2196","\\nwarrow",!0);_(y,x,N,"\u21CC","\\rightleftharpoons",!0);_(y,L,N,"\u226E","\\nless",!0);_(y,L,N,"\uE010","\\@nleqslant");_(y,L,N,"\uE011","\\@nleqq");_(y,L,N,"\u2A87","\\lneq",!0);_(y,L,N,"\u2268","\\lneqq",!0);_(y,L,N,"\uE00C","\\@lvertneqq");_(y,L,N,"\u22E6","\\lnsim",!0);_(y,L,N,"\u2A89","\\lnapprox",!0);_(y,L,N,"\u2280","\\nprec",!0);_(y,L,N,"\u22E0","\\npreceq",!0);_(y,L,N,"\u22E8","\\precnsim",!0);_(y,L,N,"\u2AB9","\\precnapprox",!0);_(y,L,N,"\u2241","\\nsim",!0);_(y,L,N,"\uE006","\\@nshortmid");_(y,L,N,"\u2224","\\nmid",!0);_(y,L,N,"\u22AC","\\nvdash",!0);_(y,L,N,"\u22AD","\\nvDash",!0);_(y,L,N,"\u22EA","\\ntriangleleft");_(y,L,N,"\u22EC","\\ntrianglelefteq",!0);_(y,L,N,"\u228A","\\subsetneq",!0);_(y,L,N,"\uE01A","\\@varsubsetneq");_(y,L,N,"\u2ACB","\\subsetneqq",!0);_(y,L,N,"\uE017","\\@varsubsetneqq");_(y,L,N,"\u226F","\\ngtr",!0);_(y,L,N,"\uE00F","\\@ngeqslant");_(y,L,N,"\uE00E","\\@ngeqq");_(y,L,N,"\u2A88","\\gneq",!0);_(y,L,N,"\u2269","\\gneqq",!0);_(y,L,N,"\uE00D","\\@gvertneqq");_(y,L,N,"\u22E7","\\gnsim",!0);_(y,L,N,"\u2A8A","\\gnapprox",!0);_(y,L,N,"\u2281","\\nsucc",!0);_(y,L,N,"\u22E1","\\nsucceq",!0);_(y,L,N,"\u22E9","\\succnsim",!0);_(y,L,N,"\u2ABA","\\succnapprox",!0);_(y,L,N,"\u2246","\\ncong",!0);_(y,L,N,"\uE007","\\@nshortparallel");_(y,L,N,"\u2226","\\nparallel",!0);_(y,L,N,"\u22AF","\\nVDash",!0);_(y,L,N,"\u22EB","\\ntriangleright");_(y,L,N,"\u22ED","\\ntrianglerighteq",!0);_(y,L,N,"\uE018","\\@nsupseteqq");_(y,L,N,"\u228B","\\supsetneq",!0);_(y,L,N,"\uE01B","\\@varsupsetneq");_(y,L,N,"\u2ACC","\\supsetneqq",!0);_(y,L,N,"\uE019","\\@varsupsetneqq");_(y,L,N,"\u22AE","\\nVdash",!0);_(y,L,N,"\u2AB5","\\precneqq",!0);_(y,L,N,"\u2AB6","\\succneqq",!0);_(y,L,N,"\uE016","\\@nsubseteqq");_(y,L,Te,"\u22B4","\\unlhd");_(y,L,Te,"\u22B5","\\unrhd");_(y,L,N,"\u219A","\\nleftarrow",!0);_(y,L,N,"\u219B","\\nrightarrow",!0);_(y,L,N,"\u21CD","\\nLeftarrow",!0);_(y,L,N,"\u21CF","\\nRightarrow",!0);_(y,L,N,"\u21AE","\\nleftrightarrow",!0);_(y,L,N,"\u21CE","\\nLeftrightarrow",!0);_(y,L,N,"\u25B3","\\vartriangle");_(y,L,P,"\u210F","\\hslash");_(y,L,P,"\u25BD","\\triangledown");_(y,L,P,"\u25CA","\\lozenge");_(y,L,P,"\u24C8","\\circledS");_(y,L,P,"\xAE","\\circledR");_(ie,L,P,"\xAE","\\circledR");_(y,L,P,"\u2221","\\measuredangle",!0);_(y,L,P,"\u2204","\\nexists");_(y,L,P,"\u2127","\\mho");_(y,L,P,"\u2132","\\Finv",!0);_(y,L,P,"\u2141","\\Game",!0);_(y,L,P,"\u2035","\\backprime");_(y,L,P,"\u25B2","\\blacktriangle");_(y,L,P,"\u25BC","\\blacktriangledown");_(y,L,P,"\u25A0","\\blacksquare");_(y,L,P,"\u29EB","\\blacklozenge");_(y,L,P,"\u2605","\\bigstar");_(y,L,P,"\u2222","\\sphericalangle",!0);_(y,L,P,"\u2201","\\complement",!0);_(y,L,P,"\xF0","\\eth",!0);_(ie,x,P,"\xF0","\xF0");_(y,L,P,"\u2571","\\diagup");_(y,L,P,"\u2572","\\diagdown");_(y,L,P,"\u25A1","\\square");_(y,L,P,"\u25A1","\\Box");_(y,L,P,"\u25CA","\\Diamond");_(y,L,P,"\xA5","\\yen",!0);_(ie,L,P,"\xA5","\\yen",!0);_(y,L,P,"\u2713","\\checkmark",!0);_(ie,L,P,"\u2713","\\checkmark");_(y,L,P,"\u2136","\\beth",!0);_(y,L,P,"\u2138","\\daleth",!0);_(y,L,P,"\u2137","\\gimel",!0);_(y,L,P,"\u03DD","\\digamma",!0);_(y,L,P,"\u03F0","\\varkappa");_(y,L,Vr,"\u250C","\\@ulcorner",!0);_(y,L,Qn,"\u2510","\\@urcorner",!0);_(y,L,Vr,"\u2514","\\@llcorner",!0);_(y,L,Qn,"\u2518","\\@lrcorner",!0);_(y,L,N,"\u2266","\\leqq",!0);_(y,L,N,"\u2A7D","\\leqslant",!0);_(y,L,N,"\u2A95","\\eqslantless",!0);_(y,L,N,"\u2272","\\lesssim",!0);_(y,L,N,"\u2A85","\\lessapprox",!0);_(y,L,N,"\u224A","\\approxeq",!0);_(y,L,Te,"\u22D6","\\lessdot");_(y,L,N,"\u22D8","\\lll",!0);_(y,L,N,"\u2276","\\lessgtr",!0);_(y,L,N,"\u22DA","\\lesseqgtr",!0);_(y,L,N,"\u2A8B","\\lesseqqgtr",!0);_(y,L,N,"\u2251","\\doteqdot");_(y,L,N,"\u2253","\\risingdotseq",!0);_(y,L,N,"\u2252","\\fallingdotseq",!0);_(y,L,N,"\u223D","\\backsim",!0);_(y,L,N,"\u22CD","\\backsimeq",!0);_(y,L,N,"\u2AC5","\\subseteqq",!0);_(y,L,N,"\u22D0","\\Subset",!0);_(y,L,N,"\u228F","\\sqsubset",!0);_(y,L,N,"\u227C","\\preccurlyeq",!0);_(y,L,N,"\u22DE","\\curlyeqprec",!0);_(y,L,N,"\u227E","\\precsim",!0);_(y,L,N,"\u2AB7","\\precapprox",!0);_(y,L,N,"\u22B2","\\vartriangleleft");_(y,L,N,"\u22B4","\\trianglelefteq");_(y,L,N,"\u22A8","\\vDash",!0);_(y,L,N,"\u22AA","\\Vvdash",!0);_(y,L,N,"\u2323","\\smallsmile");_(y,L,N,"\u2322","\\smallfrown");_(y,L,N,"\u224F","\\bumpeq",!0);_(y,L,N,"\u224E","\\Bumpeq",!0);_(y,L,N,"\u2267","\\geqq",!0);_(y,L,N,"\u2A7E","\\geqslant",!0);_(y,L,N,"\u2A96","\\eqslantgtr",!0);_(y,L,N,"\u2273","\\gtrsim",!0);_(y,L,N,"\u2A86","\\gtrapprox",!0);_(y,L,Te,"\u22D7","\\gtrdot");_(y,L,N,"\u22D9","\\ggg",!0);_(y,L,N,"\u2277","\\gtrless",!0);_(y,L,N,"\u22DB","\\gtreqless",!0);_(y,L,N,"\u2A8C","\\gtreqqless",!0);_(y,L,N,"\u2256","\\eqcirc",!0);_(y,L,N,"\u2257","\\circeq",!0);_(y,L,N,"\u225C","\\triangleq",!0);_(y,L,N,"\u223C","\\thicksim");_(y,L,N,"\u2248","\\thickapprox");_(y,L,N,"\u2AC6","\\supseteqq",!0);_(y,L,N,"\u22D1","\\Supset",!0);_(y,L,N,"\u2290","\\sqsupset",!0);_(y,L,N,"\u227D","\\succcurlyeq",!0);_(y,L,N,"\u22DF","\\curlyeqsucc",!0);_(y,L,N,"\u227F","\\succsim",!0);_(y,L,N,"\u2AB8","\\succapprox",!0);_(y,L,N,"\u22B3","\\vartriangleright");_(y,L,N,"\u22B5","\\trianglerighteq");_(y,L,N,"\u22A9","\\Vdash",!0);_(y,L,N,"\u2223","\\shortmid");_(y,L,N,"\u2225","\\shortparallel");_(y,L,N,"\u226C","\\between",!0);_(y,L,N,"\u22D4","\\pitchfork",!0);_(y,L,N,"\u221D","\\varpropto");_(y,L,N,"\u25C0","\\blacktriangleleft");_(y,L,N,"\u2234","\\therefore",!0);_(y,L,N,"\u220D","\\backepsilon");_(y,L,N,"\u25B6","\\blacktriangleright");_(y,L,N,"\u2235","\\because",!0);_(y,L,N,"\u22D8","\\llless");_(y,L,N,"\u22D9","\\gggtr");_(y,L,Te,"\u22B2","\\lhd");_(y,L,Te,"\u22B3","\\rhd");_(y,L,N,"\u2242","\\eqsim",!0);_(y,x,N,"\u22C8","\\Join");_(y,L,N,"\u2251","\\Doteq",!0);_(y,L,Te,"\u2214","\\dotplus",!0);_(y,L,Te,"\u2216","\\smallsetminus");_(y,L,Te,"\u22D2","\\Cap",!0);_(y,L,Te,"\u22D3","\\Cup",!0);_(y,L,Te,"\u2A5E","\\doublebarwedge",!0);_(y,L,Te,"\u229F","\\boxminus",!0);_(y,L,Te,"\u229E","\\boxplus",!0);_(y,L,Te,"\u22C7","\\divideontimes",!0);_(y,L,Te,"\u22C9","\\ltimes",!0);_(y,L,Te,"\u22CA","\\rtimes",!0);_(y,L,Te,"\u22CB","\\leftthreetimes",!0);_(y,L,Te,"\u22CC","\\rightthreetimes",!0);_(y,L,Te,"\u22CF","\\curlywedge",!0);_(y,L,Te,"\u22CE","\\curlyvee",!0);_(y,L,Te,"\u229D","\\circleddash",!0);_(y,L,Te,"\u229B","\\circledast",!0);_(y,L,Te,"\u22C5","\\centerdot");_(y,L,Te,"\u22BA","\\intercal",!0);_(y,L,Te,"\u22D2","\\doublecap");_(y,L,Te,"\u22D3","\\doublecup");_(y,L,Te,"\u22A0","\\boxtimes",!0);_(y,L,N,"\u21E2","\\dashrightarrow",!0);_(y,L,N,"\u21E0","\\dashleftarrow",!0);_(y,L,N,"\u21C7","\\leftleftarrows",!0);_(y,L,N,"\u21C6","\\leftrightarrows",!0);_(y,L,N,"\u21DA","\\Lleftarrow",!0);_(y,L,N,"\u219E","\\twoheadleftarrow",!0);_(y,L,N,"\u21A2","\\leftarrowtail",!0);_(y,L,N,"\u21AB","\\looparrowleft",!0);_(y,L,N,"\u21CB","\\leftrightharpoons",!0);_(y,L,N,"\u21B6","\\curvearrowleft",!0);_(y,L,N,"\u21BA","\\circlearrowleft",!0);_(y,L,N,"\u21B0","\\Lsh",!0);_(y,L,N,"\u21C8","\\upuparrows",!0);_(y,L,N,"\u21BF","\\upharpoonleft",!0);_(y,L,N,"\u21C3","\\downharpoonleft",!0);_(y,x,N,"\u22B6","\\origof",!0);_(y,x,N,"\u22B7","\\imageof",!0);_(y,L,N,"\u22B8","\\multimap",!0);_(y,L,N,"\u21AD","\\leftrightsquigarrow",!0);_(y,L,N,"\u21C9","\\rightrightarrows",!0);_(y,L,N,"\u21C4","\\rightleftarrows",!0);_(y,L,N,"\u21A0","\\twoheadrightarrow",!0);_(y,L,N,"\u21A3","\\rightarrowtail",!0);_(y,L,N,"\u21AC","\\looparrowright",!0);_(y,L,N,"\u21B7","\\curvearrowright",!0);_(y,L,N,"\u21BB","\\circlearrowright",!0);_(y,L,N,"\u21B1","\\Rsh",!0);_(y,L,N,"\u21CA","\\downdownarrows",!0);_(y,L,N,"\u21BE","\\upharpoonright",!0);_(y,L,N,"\u21C2","\\downharpoonright",!0);_(y,L,N,"\u21DD","\\rightsquigarrow",!0);_(y,L,N,"\u21DD","\\leadsto");_(y,L,N,"\u21DB","\\Rrightarrow",!0);_(y,L,N,"\u21BE","\\restriction");_(y,x,P,"\u2018","`");_(y,x,P,"$","\\$");_(ie,x,P,"$","\\$");_(ie,x,P,"$","\\textdollar");_(y,x,P,"%","\\%");_(ie,x,P,"%","\\%");_(y,x,P,"_","\\_");_(ie,x,P,"_","\\_");_(ie,x,P,"_","\\textunderscore");_(y,x,P,"\u2220","\\angle",!0);_(y,x,P,"\u221E","\\infty",!0);_(y,x,P,"\u2032","\\prime");_(y,x,P,"\u25B3","\\triangle");_(y,x,P,"\u0393","\\Gamma",!0);_(y,x,P,"\u0394","\\Delta",!0);_(y,x,P,"\u0398","\\Theta",!0);_(y,x,P,"\u039B","\\Lambda",!0);_(y,x,P,"\u039E","\\Xi",!0);_(y,x,P,"\u03A0","\\Pi",!0);_(y,x,P,"\u03A3","\\Sigma",!0);_(y,x,P,"\u03A5","\\Upsilon",!0);_(y,x,P,"\u03A6","\\Phi",!0);_(y,x,P,"\u03A8","\\Psi",!0);_(y,x,P,"\u03A9","\\Omega",!0);_(y,x,P,"A","\u0391");_(y,x,P,"B","\u0392");_(y,x,P,"E","\u0395");_(y,x,P,"Z","\u0396");_(y,x,P,"H","\u0397");_(y,x,P,"I","\u0399");_(y,x,P,"K","\u039A");_(y,x,P,"M","\u039C");_(y,x,P,"N","\u039D");_(y,x,P,"O","\u039F");_(y,x,P,"P","\u03A1");_(y,x,P,"T","\u03A4");_(y,x,P,"X","\u03A7");_(y,x,P,"\xAC","\\neg",!0);_(y,x,P,"\xAC","\\lnot");_(y,x,P,"\u22A4","\\top");_(y,x,P,"\u22A5","\\bot");_(y,x,P,"\u2205","\\emptyset");_(y,L,P,"\u2205","\\varnothing");_(y,x,Ve,"\u03B1","\\alpha",!0);_(y,x,Ve,"\u03B2","\\beta",!0);_(y,x,Ve,"\u03B3","\\gamma",!0);_(y,x,Ve,"\u03B4","\\delta",!0);_(y,x,Ve,"\u03F5","\\epsilon",!0);_(y,x,Ve,"\u03B6","\\zeta",!0);_(y,x,Ve,"\u03B7","\\eta",!0);_(y,x,Ve,"\u03B8","\\theta",!0);_(y,x,Ve,"\u03B9","\\iota",!0);_(y,x,Ve,"\u03BA","\\kappa",!0);_(y,x,Ve,"\u03BB","\\lambda",!0);_(y,x,Ve,"\u03BC","\\mu",!0);_(y,x,Ve,"\u03BD","\\nu",!0);_(y,x,Ve,"\u03BE","\\xi",!0);_(y,x,Ve,"\u03BF","\\omicron",!0);_(y,x,Ve,"\u03C0","\\pi",!0);_(y,x,Ve,"\u03C1","\\rho",!0);_(y,x,Ve,"\u03C3","\\sigma",!0);_(y,x,Ve,"\u03C4","\\tau",!0);_(y,x,Ve,"\u03C5","\\upsilon",!0);_(y,x,Ve,"\u03D5","\\phi",!0);_(y,x,Ve,"\u03C7","\\chi",!0);_(y,x,Ve,"\u03C8","\\psi",!0);_(y,x,Ve,"\u03C9","\\omega",!0);_(y,x,Ve,"\u03B5","\\varepsilon",!0);_(y,x,Ve,"\u03D1","\\vartheta",!0);_(y,x,Ve,"\u03D6","\\varpi",!0);_(y,x,Ve,"\u03F1","\\varrho",!0);_(y,x,Ve,"\u03C2","\\varsigma",!0);_(y,x,Ve,"\u03C6","\\varphi",!0);_(y,x,Te,"\u2217","*",!0);_(y,x,Te,"+","+");_(y,x,Te,"\u2212","-",!0);_(y,x,Te,"\u22C5","\\cdot",!0);_(y,x,Te,"\u2218","\\circ",!0);_(y,x,Te,"\xF7","\\div",!0);_(y,x,Te,"\xB1","\\pm",!0);_(y,x,Te,"\xD7","\\times",!0);_(y,x,Te,"\u2229","\\cap",!0);_(y,x,Te,"\u222A","\\cup",!0);_(y,x,Te,"\u2216","\\setminus",!0);_(y,x,Te,"\u2227","\\land");_(y,x,Te,"\u2228","\\lor");_(y,x,Te,"\u2227","\\wedge",!0);_(y,x,Te,"\u2228","\\vee",!0);_(y,x,P,"\u221A","\\surd");_(y,x,Vr,"\u27E8","\\langle",!0);_(y,x,Vr,"\u2223","\\lvert");_(y,x,Vr,"\u2225","\\lVert");_(y,x,Qn,"?","?");_(y,x,Qn,"!","!");_(y,x,Qn,"\u27E9","\\rangle",!0);_(y,x,Qn,"\u2223","\\rvert");_(y,x,Qn,"\u2225","\\rVert");_(y,x,N,"=","=");_(y,x,N,":",":");_(y,x,N,"\u2248","\\approx",!0);_(y,x,N,"\u2245","\\cong",!0);_(y,x,N,"\u2265","\\ge");_(y,x,N,"\u2265","\\geq",!0);_(y,x,N,"\u2190","\\gets");_(y,x,N,">","\\gt",!0);_(y,x,N,"\u2208","\\in",!0);_(y,x,N,"\uE020","\\@not");_(y,x,N,"\u2282","\\subset",!0);_(y,x,N,"\u2283","\\supset",!0);_(y,x,N,"\u2286","\\subseteq",!0);_(y,x,N,"\u2287","\\supseteq",!0);_(y,L,N,"\u2288","\\nsubseteq",!0);_(y,L,N,"\u2289","\\nsupseteq",!0);_(y,x,N,"\u22A8","\\models");_(y,x,N,"\u2190","\\leftarrow",!0);_(y,x,N,"\u2264","\\le");_(y,x,N,"\u2264","\\leq",!0);_(y,x,N,"<","\\lt",!0);_(y,x,N,"\u2192","\\rightarrow",!0);_(y,x,N,"\u2192","\\to");_(y,L,N,"\u2271","\\ngeq",!0);_(y,L,N,"\u2270","\\nleq",!0);_(y,x,Ha,"\xA0","\\ ");_(y,x,Ha,"\xA0","\\space");_(y,x,Ha,"\xA0","\\nobreakspace");_(ie,x,Ha,"\xA0","\\ ");_(ie,x,Ha,"\xA0"," ");_(ie,x,Ha,"\xA0","\\space");_(ie,x,Ha,"\xA0","\\nobreakspace");_(y,x,Ha,null,"\\nobreak");_(y,x,Ha,null,"\\allowbreak");_(y,x,Uv,",",",");_(y,x,Uv,";",";");_(y,L,Te,"\u22BC","\\barwedge",!0);_(y,L,Te,"\u22BB","\\veebar",!0);_(y,x,Te,"\u2299","\\odot",!0);_(y,x,Te,"\u2295","\\oplus",!0);_(y,x,Te,"\u2297","\\otimes",!0);_(y,x,P,"\u2202","\\partial",!0);_(y,x,Te,"\u2298","\\oslash",!0);_(y,L,Te,"\u229A","\\circledcirc",!0);_(y,L,Te,"\u22A1","\\boxdot",!0);_(y,x,Te,"\u25B3","\\bigtriangleup");_(y,x,Te,"\u25BD","\\bigtriangledown");_(y,x,Te,"\u2020","\\dagger");_(y,x,Te,"\u22C4","\\diamond");_(y,x,Te,"\u22C6","\\star");_(y,x,Te,"\u25C3","\\triangleleft");_(y,x,Te,"\u25B9","\\triangleright");_(y,x,Vr,"{","\\{");_(ie,x,P,"{","\\{");_(ie,x,P,"{","\\textbraceleft");_(y,x,Qn,"}","\\}");_(ie,x,P,"}","\\}");_(ie,x,P,"}","\\textbraceright");_(y,x,Vr,"{","\\lbrace");_(y,x,Qn,"}","\\rbrace");_(y,x,Vr,"[","\\lbrack",!0);_(ie,x,P,"[","\\lbrack",!0);_(y,x,Qn,"]","\\rbrack",!0);_(ie,x,P,"]","\\rbrack",!0);_(y,x,Vr,"(","\\lparen",!0);_(y,x,Qn,")","\\rparen",!0);_(ie,x,P,"<","\\textless",!0);_(ie,x,P,">","\\textgreater",!0);_(y,x,Vr,"\u230A","\\lfloor",!0);_(y,x,Qn,"\u230B","\\rfloor",!0);_(y,x,Vr,"\u2308","\\lceil",!0);_(y,x,Qn,"\u2309","\\rceil",!0);_(y,x,P,"\\","\\backslash");_(y,x,P,"\u2223","|");_(y,x,P,"\u2223","\\vert");_(ie,x,P,"|","\\textbar",!0);_(y,x,P,"\u2225","\\|");_(y,x,P,"\u2225","\\Vert");_(ie,x,P,"\u2225","\\textbardbl");_(ie,x,P,"~","\\textasciitilde");_(ie,x,P,"\\","\\textbackslash");_(ie,x,P,"^","\\textasciicircum");_(y,x,N,"\u2191","\\uparrow",!0);_(y,x,N,"\u21D1","\\Uparrow",!0);_(y,x,N,"\u2193","\\downarrow",!0);_(y,x,N,"\u21D3","\\Downarrow",!0);_(y,x,N,"\u2195","\\updownarrow",!0);_(y,x,N,"\u21D5","\\Updownarrow",!0);_(y,x,Bi,"\u2210","\\coprod");_(y,x,Bi,"\u22C1","\\bigvee");_(y,x,Bi,"\u22C0","\\bigwedge");_(y,x,Bi,"\u2A04","\\biguplus");_(y,x,Bi,"\u22C2","\\bigcap");_(y,x,Bi,"\u22C3","\\bigcup");_(y,x,Bi,"\u222B","\\int");_(y,x,Bi,"\u222B","\\intop");_(y,x,Bi,"\u222C","\\iint");_(y,x,Bi,"\u222D","\\iiint");_(y,x,Bi,"\u220F","\\prod");_(y,x,Bi,"\u2211","\\sum");_(y,x,Bi,"\u2A02","\\bigotimes");_(y,x,Bi,"\u2A01","\\bigoplus");_(y,x,Bi,"\u2A00","\\bigodot");_(y,x,Bi,"\u222E","\\oint");_(y,x,Bi,"\u222F","\\oiint");_(y,x,Bi,"\u2230","\\oiiint");_(y,x,Bi,"\u2A06","\\bigsqcup");_(y,x,Bi,"\u222B","\\smallint");_(ie,x,Su,"\u2026","\\textellipsis");_(y,x,Su,"\u2026","\\mathellipsis");_(ie,x,Su,"\u2026","\\ldots",!0);_(y,x,Su,"\u2026","\\ldots",!0);_(y,x,Su,"\u22EF","\\@cdots",!0);_(y,x,Su,"\u22F1","\\ddots",!0);_(y,x,P,"\u22EE","\\varvdots");_(y,x,mi,"\u02CA","\\acute");_(y,x,mi,"\u02CB","\\grave");_(y,x,mi,"\xA8","\\ddot");_(y,x,mi,"~","\\tilde");_(y,x,mi,"\u02C9","\\bar");_(y,x,mi,"\u02D8","\\breve");_(y,x,mi,"\u02C7","\\check");_(y,x,mi,"^","\\hat");_(y,x,mi,"\u20D7","\\vec");_(y,x,mi,"\u02D9","\\dot");_(y,x,mi,"\u02DA","\\mathring");_(y,x,Ve,"\uE131","\\@imath");_(y,x,Ve,"\uE237","\\@jmath");_(y,x,P,"\u0131","\u0131");_(y,x,P,"\u0237","\u0237");_(ie,x,P,"\u0131","\\i",!0);_(ie,x,P,"\u0237","\\j",!0);_(ie,x,P,"\xDF","\\ss",!0);_(ie,x,P,"\xE6","\\ae",!0);_(ie,x,P,"\u0153","\\oe",!0);_(ie,x,P,"\xF8","\\o",!0);_(ie,x,P,"\xC6","\\AE",!0);_(ie,x,P,"\u0152","\\OE",!0);_(ie,x,P,"\xD8","\\O",!0);_(ie,x,mi,"\u02CA","\\'");_(ie,x,mi,"\u02CB","\\`");_(ie,x,mi,"\u02C6","\\^");_(ie,x,mi,"\u02DC","\\~");_(ie,x,mi,"\u02C9","\\=");_(ie,x,mi,"\u02D8","\\u");_(ie,x,mi,"\u02D9","\\.");_(ie,x,mi,"\xB8","\\c");_(ie,x,mi,"\u02DA","\\r");_(ie,x,mi,"\u02C7","\\v");_(ie,x,mi,"\xA8",'\\"');_(ie,x,mi,"\u02DD","\\H");_(ie,x,mi,"\u25EF","\\textcircled");var PO={"--":!0,"---":!0,"``":!0,"''":!0};_(ie,x,P,"\u2013","--",!0);_(ie,x,P,"\u2013","\\textendash");_(ie,x,P,"\u2014","---",!0);_(ie,x,P,"\u2014","\\textemdash");_(ie,x,P,"\u2018","`",!0);_(ie,x,P,"\u2018","\\textquoteleft");_(ie,x,P,"\u2019","'",!0);_(ie,x,P,"\u2019","\\textquoteright");_(ie,x,P,"\u201C","``",!0);_(ie,x,P,"\u201C","\\textquotedblleft");_(ie,x,P,"\u201D","''",!0);_(ie,x,P,"\u201D","\\textquotedblright");_(y,x,P,"\xB0","\\degree",!0);_(ie,x,P,"\xB0","\\degree");_(ie,x,P,"\xB0","\\textdegree",!0);_(y,x,P,"\xA3","\\pounds");_(y,x,P,"\xA3","\\mathsterling",!0);_(ie,x,P,"\xA3","\\pounds");_(ie,x,P,"\xA3","\\textsterling",!0);_(y,L,P,"\u2720","\\maltese");_(ie,L,P,"\u2720","\\maltese");var rO='0123456789/@."';for(wv=0;wv{if(Xl(i.classes)!==Xl(e.classes)||i.skew!==e.skew||i.maxFontSize!==e.maxFontSize)return!1;if(i.classes.length===1){var t=i.classes[0];if(t==="mbin"||t==="mord")return!1}for(var n in i.style)if(i.style.hasOwnProperty(n)&&i.style[n]!==e.style[n])return!1;for(var r in e.style)if(e.style.hasOwnProperty(r)&&i.style[r]!==e.style[r])return!1;return!0},SX=i=>{for(var e=0;et&&(t=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>r&&(r=s.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},vr=function(e,t,n,r){var o=new ud(e,t,n,r);return mS(o),o},FO=(i,e,t,n)=>new ud(i,e,t,n),CX=function(e,t,n){var r=vr([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=ve(r.height),r.maxFontSize=1,r},wX=function(e,t,n,r){var o=new dm(e,t,n,r);return mS(o),o},HO=function(e){var t=new hd(e);return mS(t),t},xX=function(e,t){return e instanceof hd?vr([],[e],t):e},EX=function(e){if(e.positionType==="individualShift"){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,s=1;s{var t=vr(["mspace"],[],e),n=vi(i,e);return t.style.marginRight=ve(n),t},kv=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}var o;return t==="textbf"&&n==="textit"?o="BoldItalic":t==="textbf"?o="Bold":t==="textit"?o="Italic":o="Regular",r+"-"+o},BO={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"},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"}},zO={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},kX=function(e,t){var[n,r,o]=zO[e],s=new Is(n),a=new Wo([s],{width:ve(r),height:ve(o),style:"width:"+ve(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=FO(["overlay"],[a],t);return l.height=o,l.style.height=ve(o),l.style.width=ve(r),l},z={fontMap:BO,makeSymbol:zo,mathsym:_X,makeSpan:vr,makeSvgSpan:FO,makeLineSpan:CX,makeAnchor:wX,makeFragment:HO,wrapFragment:xX,makeVList:TX,makeOrd:bX,makeGlue:IX,staticSvg:kX,svgData:zO,tryCombineChars:SX},_i={number:3,unit:"mu"},cd={number:4,unit:"mu"},Da={number:5,unit:"mu"},AX={mord:{mop:_i,mbin:cd,mrel:Da,minner:_i},mop:{mord:_i,mop:_i,mrel:Da,minner:_i},mbin:{mord:cd,mop:cd,mopen:cd,minner:cd},mrel:{mord:Da,mop:Da,mopen:Da,minner:Da},mopen:{},mclose:{mop:_i,mbin:cd,mrel:Da,minner:_i},mpunct:{mord:_i,mop:_i,mrel:Da,mopen:_i,mclose:_i,mpunct:_i,minner:_i},minner:{mord:_i,mop:_i,mbin:cd,mrel:Da,mopen:_i,mpunct:_i,minner:_i}},LX={mord:{mop:_i},mop:{mord:_i,mop:_i},mbin:{},mrel:{},mopen:{},mclose:{mop:_i},mpunct:{},minner:{mop:_i}},UO={},Fv={},Hv={};function Ee(i){for(var{type:e,names:t,props:n,handler:r,htmlBuilder:o,mathmlBuilder:s}=i,a={type:e,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:r},l=0;l{var v=f.classes[0],b=p.classes[0];v==="mbin"&&Ge.contains(RX,b)?f.classes[0]="mord":b==="mbin"&&Ge.contains(NX,v)&&(p.classes[0]="mord")},{node:h},u,m),aO(o,(p,f)=>{var v=nS(f),b=nS(p),C=v&&b?p.hasClass("mtight")?LX[v][b]:AX[v][b]:null;if(C)return z.makeGlue(C,c)},{node:h},u,m),o},aO=function i(e,t,n,r,o){r&&e.push(r);for(var s=0;su=>{e.splice(h+1,0,u),s++})(s)}r&&e.pop()},WO=function(e){return e instanceof hd||e instanceof dm||e instanceof ud&&e.hasClass("enclosing")?e:null},OX=function i(e,t){var n=WO(e);if(n){var r=n.children;if(r.length){if(t==="right")return i(r[r.length-1],"right");if(t==="left")return i(r[0],"left")}}return e},nS=function(e,t){return e?(t&&(e=OX(e,t)),MX[e.classes[0]]||null):null},um=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return Pa(t.concat(n))},xt=function(e,t,n){if(!e)return Pa();if(Fv[e.type]){var r=Fv[e.type](e,t);if(n&&t.size!==n.size){r=Pa(t.sizingClasses(n),[r],t);var o=t.sizeMultiplier/n.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new de("Got group of unknown type: '"+e.type+"'")};function Av(i,e){var t=Pa(["base"],i,e),n=Pa(["strut"]);return n.style.height=ve(t.height+t.depth),t.depth&&(n.style.verticalAlign=ve(-t.depth)),t.children.unshift(n),t}function rS(i,e){var t=null;i.length===1&&i[0].type==="tag"&&(t=i[0].tag,i=i[0].body);var n=en(i,e,"root"),r;n.length===2&&n[1].hasClass("tag")&&(r=n.pop());for(var o=[],s=[],a=0;a0&&(o.push(Av(s,e)),s=[]),o.push(n[a]));s.length>0&&o.push(Av(s,e));var c;t?(c=Av(en(t,e,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var d=Pa(["katex-html"],o);if(d.setAttribute("aria-hidden","true"),c){var h=c.children[0];h.style.height=ve(d.height+d.depth),d.depth&&(h.style.verticalAlign=ve(-d.depth))}return d}function jO(i){return new hd(i)}var br=class{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Xl(this.classes));for(var n=0;n0&&(e+=' class ="'+Ge.escape(Xl(this.classes))+'"'),e+=">";for(var n=0;n",e}toText(){return this.children.map(e=>e.toText()).join("")}},dd=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ge.escape(this.toText())}toText(){return this.text}},oS=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ve(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},se={MathNode:br,TextNode:dd,SpaceNode:oS,newDocumentFragment:jO},vo=function(e,t,n){return ti[t][e]&&ti[t][e].replace&&e.charCodeAt(0)!==55349&&!(PO.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=ti[t][e].replace),new se.TextNode(e)},pS=function(e){return e.length===1?e[0]:new se.MathNode("mrow",e)},fS=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var n=t.font;if(!n||n==="mathnormal")return null;var r=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var o=e.text;if(Ge.contains(["\\imath","\\jmath"],o))return null;ti[r][o]&&ti[r][o].replace&&(o=ti[r][o].replace);var s=z.fontMap[n].fontName;return uS(o,s,r)?z.fontMap[n].variant:null},Sr=function(e,t,n){if(e.length===1){var r=Qt(e[0],t);return n&&r instanceof br&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],s,a=0;a0&&(h.text=h.text.slice(0,1)+"\u0338"+h.text.slice(1),o.pop())}}}o.push(l),s=l}return o},Ql=function(e,t,n){return pS(Sr(e,t,n))},Qt=function(e,t){if(!e)return new se.MathNode("mrow");if(Hv[e.type]){var n=Hv[e.type](e,t);return n}else throw new de("Got group of unknown type: '"+e.type+"'")};function lO(i,e,t,n,r){var o=Sr(i,t),s;o.length===1&&o[0]instanceof br&&Ge.contains(["mrow","mtable"],o[0].type)?s=o[0]:s=new se.MathNode("mrow",o);var a=new se.MathNode("annotation",[new se.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var l=new se.MathNode("semantics",[s,a]),c=new se.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block");var d=r?"katex":"katex-mathml";return z.makeSpan([d],[c])}var VO=function(e){return new Uo({style:e.displayMode?We.DISPLAY:We.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},KO=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=z.makeSpan(n,[e])}return e},PX=function(e,t,n){var r=VO(n),o;if(n.output==="mathml")return lO(e,t,r,n.displayMode,!0);if(n.output==="html"){var s=rS(e,r);o=z.makeSpan(["katex"],[s])}else{var a=lO(e,t,r,n.displayMode,!1),l=rS(e,r);o=z.makeSpan(["katex"],[a,l])}return KO(o,n)},FX=function(e,t,n){var r=VO(n),o=rS(e,r),s=z.makeSpan(["katex"],[o]);return KO(s,n)},HX={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},BX=function(e){var t=new se.MathNode("mo",[new se.TextNode(HX[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},zX={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]},UX=function(e){return e.type==="ordgroup"?e.body.length:1},WX=function(e,t){function n(){var a=4e5,l=e.label.slice(1);if(Ge.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,d=UX(c.base),h,u,m;if(d>5)l==="widehat"||l==="widecheck"?(h=420,a=2364,m=.42,u=l+"4"):(h=312,a=2340,m=.34,u="tilde4");else{var p=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(a=[0,1062,2364,2364,2364][p],h=[0,239,300,360,420][p],m=[0,.24,.3,.3,.36,.42][p],u=l+p):(a=[0,600,1033,2339,2340][p],h=[0,260,286,306,312][p],m=[0,.26,.286,.3,.306,.34][p],u="tilde"+p)}var f=new Is(u),v=new Wo([f],{width:"100%",height:ve(m),viewBox:"0 0 "+a+" "+h,preserveAspectRatio:"none"});return{span:z.makeSvgSpan([],[v],t),minWidth:0,height:m}}else{var b=[],C=zX[l],[E,w,k]=C,O=k/1e3,D=E.length,W,q;if(D===1){var _e=C[3];W=["hide-tail"],q=[_e]}else if(D===2)W=["halfarrow-left","halfarrow-right"],q=["xMinYMin","xMaxYMin"];else if(D===3)W=["brace-left","brace-center","brace-right"],q=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+D+" children.");for(var ee=0;ee0&&(r.style.minWidth=ve(o)),r},jX=function(e,t,n,r,o){var s,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(s=z.makeSpan(["stretchy",t],[],o),t==="fbox"){var l=o.color&&o.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new hm({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new hm({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Wo(c,{width:"100%",height:ve(a)});s=z.makeSvgSpan([],[d],o)}return s.height=a,s.style.height=ve(a),s},Fa={encloseSpan:jX,mathMLnode:BX,svgSpan:WX};function tt(i,e){if(!i||i.type!==e)throw new Error("Expected node of type "+e+", but got "+(i?"node of type "+i.type:String(i)));return i}function gS(i){var e=jv(i);if(!e)throw new Error("Expected node of symbol group type, but got "+(i?"node of type "+i.type:String(i)));return e}function jv(i){return i&&(i.type==="atom"||fX.hasOwnProperty(i.type))?i:null}var _S=(i,e)=>{var t,n,r;i&&i.type==="supsub"?(n=tt(i.base,"accent"),t=n.base,i.base=t,r=mX(xt(i,e)),i.base=n):(n=tt(i,"accent"),t=n.base);var o=xt(t,e.havingCrampedStyle()),s=n.isShifty&&Ge.isCharacterBox(t),a=0;if(s){var l=Ge.getBaseElem(t),c=xt(l,e.havingCrampedStyle());a=nO(c).skew}var d=n.label==="\\c",h=d?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),u;if(n.isStretchy)u=Fa.svgSpan(n,e),u=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+ve(2*a)+")",marginLeft:ve(2*a)}:void 0}]},e);else{var m,p;n.label==="\\vec"?(m=z.staticSvg("vec",e),p=z.svgData.vec[1]):(m=z.makeOrd({mode:n.mode,text:n.label},e,"textord"),m=nO(m),m.italic=0,p=m.width,d&&(h+=m.depth)),u=z.makeSpan(["accent-body"],[m]);var f=n.label==="\\textcircled";f&&(u.classes.push("accent-full"),h=o.height);var v=a;f||(v-=p/2),u.style.left=ve(v),n.label==="\\textcircled"&&(u.style.top=".2em"),u=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-h},{type:"elem",elem:u}]},e)}var b=z.makeSpan(["mord","accent"],[u],e);return r?(r.children[0]=b,r.height=Math.max(b.height,r.height),r.classes[0]="mord",r):b},qO=(i,e)=>{var t=i.isStretchy?Fa.mathMLnode(i.label):new se.MathNode("mo",[vo(i.label,i.mode)]),n=new se.MathNode("mover",[Qt(i.base,e),t]);return n.setAttribute("accent","true"),n},VX=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(i=>"\\"+i).join("|"));Ee({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:(i,e)=>{var t=Bv(e[0]),n=!VX.test(i.funcName),r=!n||i.funcName==="\\widehat"||i.funcName==="\\widetilde"||i.funcName==="\\widecheck";return{type:"accent",mode:i.parser.mode,label:i.funcName,isStretchy:n,isShifty:r,base:t}},htmlBuilder:_S,mathmlBuilder:qO});Ee({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(i,e)=>{var t=e[0],n=i.parser.mode;return n==="math"&&(i.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+i.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:i.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:_S,mathmlBuilder:qO});Ee({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0];return{type:"accentUnder",mode:t.mode,label:n,base:r}},htmlBuilder:(i,e)=>{var t=xt(i.base,e),n=Fa.svgSpan(i,e),r=i.label==="\\utilde"?.12:0,o=z.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},e);return z.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(i,e)=>{var t=Fa.mathMLnode(i.label),n=new se.MathNode("munder",[Qt(i.base,e),t]);return n.setAttribute("accentunder","true"),n}});var Lv=i=>{var e=new se.MathNode("mpadded",i?[i]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ee({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(i,e,t){var{parser:n,funcName:r}=i;return{type:"xArrow",mode:n.mode,label:r,body:e[0],below:t[0]}},htmlBuilder(i,e){var t=e.style,n=e.havingStyle(t.sup()),r=z.wrapFragment(xt(i.body,n,e),e),o=i.label.slice(0,2)==="\\x"?"x":"cd";r.classes.push(o+"-arrow-pad");var s;i.below&&(n=e.havingStyle(t.sub()),s=z.wrapFragment(xt(i.below,n,e),e),s.classes.push(o+"-arrow-pad"));var a=Fa.svgSpan(i,e),l=-e.fontMetrics().axisHeight+.5*a.height,c=-e.fontMetrics().axisHeight-.5*a.height-.111;(r.depth>.25||i.label==="\\xleftequilibrium")&&(c-=r.depth);var d;if(s){var h=-e.fontMetrics().axisHeight+s.height+.5*a.height+.111;d=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:h}]},e)}else d=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:a,shift:l}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),z.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(i,e){var t=Fa.mathMLnode(i.label);t.setAttribute("minsize",i.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(i.body){var r=Lv(Qt(i.body,e));if(i.below){var o=Lv(Qt(i.below,e));n=new se.MathNode("munderover",[t,o,r])}else n=new se.MathNode("mover",[t,r])}else if(i.below){var s=Lv(Qt(i.below,e));n=new se.MathNode("munder",[t,s])}else n=Lv(),n=new se.MathNode("mover",[t,n]);return n}});var KX=z.makeSpan;function GO(i,e){var t=en(i.body,e,!0);return KX([i.mclass],t,e)}function $O(i,e){var t,n=Sr(i.body,e);return i.mclass==="minner"?t=new se.MathNode("mpadded",n):i.mclass==="mord"?i.isCharacterBox?(t=n[0],t.type="mi"):t=new se.MathNode("mi",n):(i.isCharacterBox?(t=n[0],t.type="mo"):t=new se.MathNode("mo",n),i.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):i.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):i.mclass==="mopen"||i.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):i.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Ee({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+n.slice(5),body:Ni(r),isCharacterBox:Ge.isCharacterBox(r)}},htmlBuilder:GO,mathmlBuilder:$O});var Vv=i=>{var e=i.type==="ordgroup"&&i.body.length?i.body[0]:i;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ee({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(i,e){var{parser:t}=i;return{type:"mclass",mode:t.mode,mclass:Vv(e[0]),body:Ni(e[1]),isCharacterBox:Ge.isCharacterBox(e[1])}}});Ee({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(i,e){var{parser:t,funcName:n}=i,r=e[1],o=e[0],s;n!=="\\stackrel"?s=Vv(r):s="mrel";var a={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ni(r)},l={type:"supsub",mode:o.mode,base:a,sup:n==="\\underset"?null:o,sub:n==="\\underset"?o:null};return{type:"mclass",mode:t.mode,mclass:s,body:[l],isCharacterBox:Ge.isCharacterBox(l)}},htmlBuilder:GO,mathmlBuilder:$O});Ee({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(i,e){var{parser:t}=i;return{type:"pmb",mode:t.mode,mclass:Vv(e[0]),body:Ni(e[0])}},htmlBuilder(i,e){var t=en(i.body,e,!0),n=z.makeSpan([i.mclass],t,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(i,e){var t=Sr(i.body,e),n=new se.MathNode("mstyle",t);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var qX={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},cO=()=>({type:"styling",body:[],mode:"math",style:"display"}),dO=i=>i.type==="textord"&&i.text==="@",GX=(i,e)=>(i.type==="mathord"||i.type==="atom")&&i.text===e;function $X(i,e,t){var n=qX[i];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var r=t.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:n,mode:"math",family:"rel"},s=t.callFunction("\\Big",[o],[]),a=t.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[r,s,a]};return t.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function YX(i){var e=[];for(i.gullet.beginGroup(),i.gullet.macros.set("\\cr","\\\\\\relax"),i.gullet.beginGroup();;){e.push(i.parseExpression(!1,"\\\\")),i.gullet.endGroup(),i.gullet.beginGroup();var t=i.fetch().text;if(t==="&"||t==="\\\\")i.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new de("Expected \\\\ or \\cr or \\end",i.nextToken)}for(var n=[],r=[n],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var h=0;h<2;h++){for(var u=!0,m=l+1;mAV=|." after @',s[l]);var p=$X(c,d,i),f={type:"styling",body:[p],mode:"math",style:"display"};n.push(f),a=cO()}o%2===0?n.push(a):n.shift(),n=[],r.push(n)}i.gullet.endGroup(),i.gullet.endGroup();var v=new Array(r[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:r,arraystretch:1,addJot:!0,rowGaps:[null],cols:v,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Ee({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(i,e){var{parser:t,funcName:n}=i;return{type:"cdlabel",mode:t.mode,side:n.slice(4),label:e[0]}},htmlBuilder(i,e){var t=e.havingStyle(e.style.sup()),n=z.wrapFragment(xt(i.label,t,e),e);return n.classes.push("cd-label-"+i.side),n.style.bottom=ve(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(i,e){var t=new se.MathNode("mrow",[Qt(i.label,e)]);return t=new se.MathNode("mpadded",[t]),t.setAttribute("width","0"),i.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new se.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Ee({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(i,e){var{parser:t}=i;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(i,e){var t=z.wrapFragment(xt(i.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(i,e){return new se.MathNode("mrow",[Qt(i.fragment,e)])}});Ee({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(i,e){for(var{parser:t}=i,n=tt(e[0],"ordgroup"),r=n.body,o="",s=0;s=1114111)throw new de("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:t.mode,text:c}}});var YO=(i,e)=>{var t=en(i.body,e.withColor(i.color),!1);return z.makeFragment(t)},XO=(i,e)=>{var t=Sr(i.body,e.withColor(i.color)),n=new se.MathNode("mstyle",t);return n.setAttribute("mathcolor",i.color),n};Ee({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(i,e){var{parser:t}=i,n=tt(e[0],"color-token").color,r=e[1];return{type:"color",mode:t.mode,color:n,body:Ni(r)}},htmlBuilder:YO,mathmlBuilder:XO});Ee({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(i,e){var{parser:t,breakOnTokenText:n}=i,r=tt(e[0],"color-token").color;t.gullet.macros.set("\\current@color",r);var o=t.parseExpression(!0,n);return{type:"color",mode:t.mode,color:r,body:o}},htmlBuilder:YO,mathmlBuilder:XO});Ee({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(i,e,t){var{parser:n}=i,r=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,o=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:o,size:r&&tt(r,"size").value}},htmlBuilder(i,e){var t=z.makeSpan(["mspace"],[],e);return i.newLine&&(t.classes.push("newline"),i.size&&(t.style.marginTop=ve(vi(i.size,e)))),t},mathmlBuilder(i,e){var t=new se.MathNode("mspace");return i.newLine&&(t.setAttribute("linebreak","newline"),i.size&&t.setAttribute("height",ve(vi(i.size,e)))),t}});var sS={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},QO=i=>{var e=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new de("Expected a control sequence",i);return e},XX=i=>{var e=i.gullet.popToken();return e.text==="="&&(e=i.gullet.popToken(),e.text===" "&&(e=i.gullet.popToken())),e},JO=(i,e,t,n)=>{var r=i.gullet.macros.get(t.text);r==null&&(t.noexpand=!0,r={tokens:[t],numArgs:0,unexpandable:!i.gullet.isExpandable(t.text)}),i.gullet.macros.set(e,r,n)};Ee({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:e,funcName:t}=i;e.consumeSpaces();var n=e.fetch();if(sS[n.text])return(t==="\\global"||t==="\\\\globallong")&&(n.text=sS[n.text]),tt(e.parseFunction(),"internal");throw new de("Invalid token after macro prefix",n)}});Ee({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:e,funcName:t}=i,n=e.gullet.popToken(),r=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new de("Expected a control sequence",n);for(var o=0,s,a=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),a[o].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new de('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new de('Argument number "'+n.text+'" out of order');o++,a.push([])}else{if(n.text==="EOF")throw new de("Expected a macro definition");a[o].push(n.text)}var{tokens:l}=e.gullet.consumeArg();return s&&l.unshift(s),(t==="\\edef"||t==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(r,{tokens:l,numArgs:o,delimiters:a},t===sS[t]),{type:"internal",mode:e.mode}}});Ee({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:e,funcName:t}=i,n=QO(e.gullet.popToken());e.gullet.consumeSpaces();var r=XX(e);return JO(e,n,r,t==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ee({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:e,funcName:t}=i,n=QO(e.gullet.popToken()),r=e.gullet.popToken(),o=e.gullet.popToken();return JO(e,n,o,t==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(r),{type:"internal",mode:e.mode}}});var sm=function(e,t,n){var r=ti.math[e]&&ti.math[e].replace,o=uS(r||e,t,n);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return o},vS=function(e,t,n,r){var o=n.havingBaseStyle(t),s=z.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return s.height*=a,s.depth*=a,s.maxFontSize=o.sizeMultiplier,s},ZO=function(e,t,n){var r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ve(o),e.height-=o,e.depth+=o},QX=function(e,t,n,r,o,s){var a=z.makeSymbol(e,"Main-Regular",o,r),l=vS(a,t,r,s);return n&&ZO(l,r,t),l},JX=function(e,t,n,r){return z.makeSymbol(e,"Size"+t+"-Regular",n,r)},eP=function(e,t,n,r,o,s){var a=JX(e,t,o,r),l=vS(z.makeSpan(["delimsizing","size"+t],[a],r),We.TEXT,r,s);return n&&ZO(l,r,We.TEXT),l},V3=function(e,t,n){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=z.makeSpan(["delimsizinginner",r],[z.makeSpan([],[z.makeSymbol(e,t,n)])]);return{type:"elem",elem:o}},K3=function(e,t,n){var r=Ts["Size4-Regular"][e.charCodeAt(0)]?Ts["Size4-Regular"][e.charCodeAt(0)][4]:Ts["Size1-Regular"][e.charCodeAt(0)][4],o=new Is("inner",sX(e,Math.round(1e3*t))),s=new Wo([o],{width:ve(r),height:ve(t),style:"width:"+ve(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=z.makeSvgSpan([],[s],n);return a.height=t,a.style.height=ve(t),a.style.width=ve(r),{type:"elem",elem:a}},aS=.008,Nv={type:"kern",size:-1*aS},ZX=["|","\\lvert","\\rvert","\\vert"],eQ=["\\|","\\lVert","\\rVert","\\Vert"],tP=function(e,t,n,r,o,s){var a,l,c,d,h="",u=0;a=c=d=e,l=null;var m="Size1-Regular";e==="\\uparrow"?c=d="\u23D0":e==="\\Uparrow"?c=d="\u2016":e==="\\downarrow"?a=c="\u23D0":e==="\\Downarrow"?a=c="\u2016":e==="\\updownarrow"?(a="\\uparrow",c="\u23D0",d="\\downarrow"):e==="\\Updownarrow"?(a="\\Uparrow",c="\u2016",d="\\Downarrow"):Ge.contains(ZX,e)?(c="\u2223",h="vert",u=333):Ge.contains(eQ,e)?(c="\u2225",h="doublevert",u=556):e==="["||e==="\\lbrack"?(a="\u23A1",c="\u23A2",d="\u23A3",m="Size4-Regular",h="lbrack",u=667):e==="]"||e==="\\rbrack"?(a="\u23A4",c="\u23A5",d="\u23A6",m="Size4-Regular",h="rbrack",u=667):e==="\\lfloor"||e==="\u230A"?(c=a="\u23A2",d="\u23A3",m="Size4-Regular",h="lfloor",u=667):e==="\\lceil"||e==="\u2308"?(a="\u23A1",c=d="\u23A2",m="Size4-Regular",h="lceil",u=667):e==="\\rfloor"||e==="\u230B"?(c=a="\u23A5",d="\u23A6",m="Size4-Regular",h="rfloor",u=667):e==="\\rceil"||e==="\u2309"?(a="\u23A4",c=d="\u23A5",m="Size4-Regular",h="rceil",u=667):e==="("||e==="\\lparen"?(a="\u239B",c="\u239C",d="\u239D",m="Size4-Regular",h="lparen",u=875):e===")"||e==="\\rparen"?(a="\u239E",c="\u239F",d="\u23A0",m="Size4-Regular",h="rparen",u=875):e==="\\{"||e==="\\lbrace"?(a="\u23A7",l="\u23A8",d="\u23A9",c="\u23AA",m="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(a="\u23AB",l="\u23AC",d="\u23AD",c="\u23AA",m="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(a="\u23A7",d="\u23A9",c="\u23AA",m="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(a="\u23AB",d="\u23AD",c="\u23AA",m="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(a="\u23A7",d="\u23AD",c="\u23AA",m="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(a="\u23AB",d="\u23A9",c="\u23AA",m="Size4-Regular");var p=sm(a,m,o),f=p.height+p.depth,v=sm(c,m,o),b=v.height+v.depth,C=sm(d,m,o),E=C.height+C.depth,w=0,k=1;if(l!==null){var O=sm(l,m,o);w=O.height+O.depth,k=2}var D=f+E+w,W=Math.max(0,Math.ceil((t-D)/(k*b))),q=D+W*k*b,_e=r.fontMetrics().axisHeight;n&&(_e*=r.sizeMultiplier);var ee=q/2-_e,Ie=[];if(h.length>0){var Oe=q-f-E,He=Math.round(q*1e3),Xe=aX(h,Math.round(Oe*1e3)),B=new Is(h,Xe),Q=(u/1e3).toFixed(3)+"em",Z=(He/1e3).toFixed(3)+"em",V=new Wo([B],{width:Q,height:Z,viewBox:"0 0 "+u+" "+He}),H=z.makeSvgSpan([],[V],r);H.height=He/1e3,H.style.width=Q,H.style.height=Z,Ie.push({type:"elem",elem:H})}else{if(Ie.push(V3(d,m,o)),Ie.push(Nv),l===null){var U=q-f-E+2*aS;Ie.push(K3(c,U,r))}else{var X=(q-f-E-w)/2+2*aS;Ie.push(K3(c,X,r)),Ie.push(Nv),Ie.push(V3(l,m,o)),Ie.push(Nv),Ie.push(K3(c,X,r))}Ie.push(Nv),Ie.push(V3(a,m,o))}var Et=r.havingBaseStyle(We.TEXT),yi=z.makeVList({positionType:"bottom",positionData:ee,children:Ie},Et);return vS(z.makeSpan(["delimsizing","mult"],[yi],Et),We.TEXT,r,s)},q3=80,G3=.08,$3=function(e,t,n,r,o){var s=oX(e,r,n),a=new Is(e,s),l=new Wo([a],{width:"400em",height:ve(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return z.makeSvgSpan(["hide-tail"],[l],o)},tQ=function(e,t){var n=t.havingBaseSizing(),r=oP("\\surd",e*n.sizeMultiplier,rP,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),a,l=0,c=0,d=0,h;return r.type==="small"?(d=1e3+1e3*s+q3,e<1?o=1:e<1.4&&(o=.7),l=(1+s+G3)/o,c=(1+s)/o,a=$3("sqrtMain",l,d,s,t),a.style.minWidth="0.853em",h=.833/o):r.type==="large"?(d=(1e3+q3)*am[r.size],c=(am[r.size]+s)/o,l=(am[r.size]+s+G3)/o,a=$3("sqrtSize"+r.size,l,d,s,t),a.style.minWidth="1.02em",h=1/o):(l=e+s+G3,c=e+s,d=Math.floor(1e3*e+s)+q3,a=$3("sqrtTall",l,d,s,t),a.style.minWidth="0.742em",h=1.056),a.height=c,a.style.height=ve(l),{span:a,advanceWidth:h,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},iP=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],iQ=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],nP=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],am=[0,1.2,1.8,2.4,3],nQ=function(e,t,n,r,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ge.contains(iP,e)||Ge.contains(nP,e))return eP(e,t,!1,n,r,o);if(Ge.contains(iQ,e))return tP(e,am[t],!1,n,r,o);throw new de("Illegal delimiter: '"+e+"'")},rQ=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],oQ=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"stack"}],rP=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],sQ=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},oP=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size),s=o;st)return n[s]}return n[n.length-1]},sP=function(e,t,n,r,o,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var a;Ge.contains(nP,e)?a=rQ:Ge.contains(iP,e)?a=rP:a=oQ;var l=oP(e,t,a,r);return l.type==="small"?QX(e,l.style,n,r,o,s):l.type==="large"?eP(e,l.size,n,r,o,s):tP(e,t,n,r,o,s)},aQ=function(e,t,n,r,o,s){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=901,c=5/r.fontMetrics().ptPerEm,d=Math.max(t-a,n+a),h=Math.max(d/500*l,2*d-c);return sP(e,h,!0,r,o,s)},Oa={sqrtImage:tQ,sizedDelim:nQ,sizeToMaxHeight:am,customSizedDelim:sP,leftRightDelim:aQ},hO={"\\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}},lQ=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Kv(i,e){var t=jv(i);if(t&&Ge.contains(lQ,t.text))return t;throw t?new de("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",i):new de("Invalid delimiter type '"+i.type+"'",i)}Ee({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:(i,e)=>{var t=Kv(e[0],i);return{type:"delimsizing",mode:i.parser.mode,size:hO[i.funcName].size,mclass:hO[i.funcName].mclass,delim:t.text}},htmlBuilder:(i,e)=>i.delim==="."?z.makeSpan([i.mclass]):Oa.sizedDelim(i.delim,i.size,e,i.mode,[i.mclass]),mathmlBuilder:i=>{var e=[];i.delim!=="."&&e.push(vo(i.delim,i.mode));var t=new se.MathNode("mo",e);i.mclass==="mopen"||i.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var n=ve(Oa.sizeToMaxHeight[i.size]);return t.setAttribute("minsize",n),t.setAttribute("maxsize",n),t}});function uO(i){if(!i.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ee({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var t=i.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new de("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:i.parser.mode,delim:Kv(e[0],i).text,color:t}}});Ee({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var t=Kv(e[0],i),n=i.parser;++n.leftrightDepth;var r=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var o=tt(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(i,e)=>{uO(i);for(var t=en(i.body,e,!0,["mopen","mclose"]),n=0,r=0,o=!1,s=0;s{uO(i);var t=Sr(i.body,e);if(i.left!=="."){var n=new se.MathNode("mo",[vo(i.left,i.mode)]);n.setAttribute("fence","true"),t.unshift(n)}if(i.right!=="."){var r=new se.MathNode("mo",[vo(i.right,i.mode)]);r.setAttribute("fence","true"),i.rightColor&&r.setAttribute("mathcolor",i.rightColor),t.push(r)}return pS(t)}});Ee({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var t=Kv(e[0],i);if(!i.parser.leftrightDepth)throw new de("\\middle without preceding \\left",t);return{type:"middle",mode:i.parser.mode,delim:t.text}},htmlBuilder:(i,e)=>{var t;if(i.delim===".")t=um(e,[]);else{t=Oa.sizedDelim(i.delim,1,e,i.mode,[]);var n={delim:i.delim,options:e};t.isMiddle=n}return t},mathmlBuilder:(i,e)=>{var t=i.delim==="\\vert"||i.delim==="|"?vo("|","text"):vo(i.delim,i.mode),n=new se.MathNode("mo",[t]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var bS=(i,e)=>{var t=z.wrapFragment(xt(i.body,e),e),n=i.label.slice(1),r=e.sizeMultiplier,o,s=0,a=Ge.isCharacterBox(i.body);if(n==="sout")o=z.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/r,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var l=vi({number:.6,unit:"pt"},e),c=vi({number:.35,unit:"ex"},e),d=e.havingBaseSizing();r=r/d.sizeMultiplier;var h=t.height+t.depth+l+c;t.style.paddingLeft=ve(h/2+l);var u=Math.floor(1e3*h*r),m=nX(u),p=new Wo([new Is("phase",m)],{width:"400em",height:ve(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});o=z.makeSvgSpan(["hide-tail"],[p],e),o.style.height=ve(h),s=t.depth+l+c}else{/cancel/.test(n)?a||t.classes.push("cancel-pad"):n==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var f=0,v=0,b=0;/box/.test(n)?(b=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),f=e.fontMetrics().fboxsep+(n==="colorbox"?0:b),v=f):n==="angl"?(b=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),f=4*b,v=Math.max(0,.25-t.depth)):(f=a?.2:0,v=f),o=Fa.encloseSpan(t,n,f,v,e),/fbox|boxed|fcolorbox/.test(n)?(o.style.borderStyle="solid",o.style.borderWidth=ve(b)):n==="angl"&&b!==.049&&(o.style.borderTopWidth=ve(b),o.style.borderRightWidth=ve(b)),s=t.depth+v,i.backgroundColor&&(o.style.backgroundColor=i.backgroundColor,i.borderColor&&(o.style.borderColor=i.borderColor))}var C;if(i.backgroundColor)C=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:t,shift:0}]},e);else{var E=/cancel|phase/.test(n)?["svg-align"]:[];C=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:s,wrapperClasses:E}]},e)}return/cancel/.test(n)&&(C.height=t.height,C.depth=t.depth),/cancel/.test(n)&&!a?z.makeSpan(["mord","cancel-lap"],[C],e):z.makeSpan(["mord"],[C],e)},yS=(i,e)=>{var t=0,n=new se.MathNode(i.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Qt(i.body,e)]);switch(i.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(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*t+"pt"),n.setAttribute("height","+"+2*t+"pt"),n.setAttribute("lspace",t+"pt"),n.setAttribute("voffset",t+"pt"),i.label==="\\fcolorbox"){var r=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+r+"em solid "+String(i.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return i.backgroundColor&&n.setAttribute("mathbackground",i.backgroundColor),n};Ee({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(i,e,t){var{parser:n,funcName:r}=i,o=tt(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:r,backgroundColor:o,body:s}},htmlBuilder:bS,mathmlBuilder:yS});Ee({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(i,e,t){var{parser:n,funcName:r}=i,o=tt(e[0],"color-token").color,s=tt(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:n.mode,label:r,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:bS,mathmlBuilder:yS});Ee({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(i,e){var{parser:t}=i;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}});Ee({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];return{type:"enclose",mode:t.mode,label:n,body:r}},htmlBuilder:bS,mathmlBuilder:yS});Ee({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(i,e){var{parser:t}=i;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var aP={};function ks(i){for(var{type:e,names:t,props:n,handler:r,htmlBuilder:o,mathmlBuilder:s}=i,a={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:r},l=0;l{var e=i.parser.settings;if(!e.displayMode)throw new de("{"+i.envName+"} can be used only in display mode.")};function SS(i){if(i.indexOf("ed")===-1)return i.indexOf("*")===-1}function Jl(i,e,t){var{hskipBeforeAndAfter:n,addJot:r,cols:o,arraystretch:s,colSeparationType:a,autoTag:l,singleRow:c,emptySingleRow:d,maxNumCols:h,leqno:u}=e;if(i.gullet.beginGroup(),c||i.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=i.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new de("Invalid \\arraystretch: "+m)}i.gullet.beginGroup();var p=[],f=[p],v=[],b=[],C=l!=null?[]:void 0;function E(){l&&i.gullet.macros.set("\\@eqnsw","1",!0)}function w(){C&&(i.gullet.macros.get("\\df@tag")?(C.push(i.subparse([new _o("\\df@tag")])),i.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&i.gullet.macros.get("\\@eqnsw")==="1"))}for(E(),b.push(mO(i));;){var k=i.parseExpression(!1,c?"\\end":"\\\\");i.gullet.endGroup(),i.gullet.beginGroup(),k={type:"ordgroup",mode:i.mode,body:k},t&&(k={type:"styling",mode:i.mode,style:t,body:[k]}),p.push(k);var O=i.fetch().text;if(O==="&"){if(h&&p.length===h){if(c||a)throw new de("Too many tab characters: &",i.nextToken);i.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}i.consume()}else if(O==="\\end"){w(),p.length===1&&k.type==="styling"&&k.body[0].body.length===0&&(f.length>1||!d)&&f.pop(),b.length0&&(E+=.25),c.push({pos:E,isDashed:Nf[Rf]})}for(w(s[0]),n=0;n0&&(ee+=C,DNf))for(n=0;n=a)){var Ai=void 0;(r>0||e.hskipBeforeAndAfter)&&(Ai=Ge.deflt(X.pregap,u),Ai!==0&&(Xe=z.makeSpan(["arraycolsep"],[]),Xe.style.width=ve(Ai),He.push(Xe)));var Pt=[];for(n=0;n0){for(var Lf=z.makeLineSpan("hline",t,d),RW=z.makeLineSpan("hdashline",t,d),D2=[{type:"elem",elem:l,shift:0}];c.length>0;){var XE=c.pop(),QE=XE.pos-Ie;XE.isDashed?D2.push({type:"elem",elem:RW,shift:QE}):D2.push({type:"elem",elem:Lf,shift:QE})}l=z.makeVList({positionType:"individualShift",children:D2},t)}if(Q.length===0)return z.makeSpan(["mord"],[l],t);var M2=z.makeVList({positionType:"individualShift",children:Q},t);return M2=z.makeSpan(["tag"],[M2],t),z.makeFragment([l,M2])},cQ={c:"center ",l:"left ",r:"right "},Ls=function(e,t){for(var n=[],r=new se.MathNode("mtd",[],["mtr-glue"]),o=new se.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var p=e.cols,f="",v=!1,b=0,C=p.length;p[0].type==="separator"&&(u+="top ",b=1),p[p.length-1].type==="separator"&&(u+="bottom ",C-=1);for(var E=b;E0?"left ":"",u+=W[W.length-1].length>0?"right ":"";for(var q=1;q-1?"alignat":"align",o=e.envName==="split",s=Jl(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:SS(e.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),a,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var d="",h=0;h0&&m&&(v=1),n[p]={type:"align",align:f,pregap:v,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};ks({type:"array",names:["array","darray"],props:{numArgs:1},handler(i,e){var t=jv(e[0]),n=t?[e[0]]:tt(e[0],"ordgroup").body,r=n.map(function(s){var a=gS(s),l=a.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new de("Unknown column alignment: "+l,s)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Jl(i.parser,o,CS(i.envName))},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(i){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[i.envName.replace("*","")],t="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(i.envName.charAt(i.envName.length-1)==="*"){var r=i.parser;if(r.consumeSpaces(),r.fetch().text==="["){if(r.consume(),r.consumeSpaces(),t=r.fetch().text,"lcr".indexOf(t)===-1)throw new de("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),n.cols=[{type:"align",align:t}]}}var o=Jl(i.parser,n,CS(i.envName)),s=Math.max(0,...o.body.map(a=>a.length));return o.cols=new Array(s).fill({type:"align",align:t}),e?{type:"leftright",mode:i.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(i){var e={arraystretch:.5},t=Jl(i.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["subarray"],props:{numArgs:1},handler(i,e){var t=jv(e[0]),n=t?[e[0]]:tt(e[0],"ordgroup").body,r=n.map(function(s){var a=gS(s),l=a.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new de("Unknown column alignment: "+l,s)});if(r.length>1)throw new de("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Jl(i.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new de("{subarray} can contain only one column");return o},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(i){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=Jl(i.parser,e,CS(i.envName));return{type:"leftright",mode:i.mode,body:[t],left:i.envName.indexOf("r")>-1?".":"\\{",right:i.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:cP,htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(i){Ge.contains(["gather","gather*"],i.envName)&&qv(i);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:SS(i.envName),emptySingleRow:!0,leqno:i.parser.settings.leqno};return Jl(i.parser,e,"display")},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:cP,htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(i){qv(i);var e={autoTag:SS(i.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:i.parser.settings.leqno};return Jl(i.parser,e,"display")},htmlBuilder:As,mathmlBuilder:Ls});ks({type:"array",names:["CD"],props:{numArgs:0},handler(i){return qv(i),YX(i.parser)},htmlBuilder:As,mathmlBuilder:Ls});T("\\nonumber","\\gdef\\@eqnsw{0}");T("\\notag","\\nonumber");Ee({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(i,e){throw new de(i.funcName+" valid only within array environment")}});var pO=aP;Ee({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];if(r.type!=="ordgroup")throw new de("Invalid environment name",r);for(var o="",s=0;s{var t=i.font,n=e.withFont(t);return xt(i.body,n)},hP=(i,e)=>{var t=i.font,n=e.withFont(t);return Qt(i.body,n)},fO={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ee({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=Bv(e[0]),o=n;return o in fO&&(o=fO[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:dP,mathmlBuilder:hP});Ee({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(i,e)=>{var{parser:t}=i,n=e[0],r=Ge.isCharacterBox(n);return{type:"mclass",mode:t.mode,mclass:Vv(n),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:n}],isCharacterBox:r}}});Ee({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(i,e)=>{var{parser:t,funcName:n,breakOnTokenText:r}=i,{mode:o}=t,s=t.parseExpression(!0,r),a="math"+n.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:t.mode,body:s}}},htmlBuilder:dP,mathmlBuilder:hP});var uP=(i,e)=>{var t=e;return i==="display"?t=t.id>=We.SCRIPT.id?t.text():We.DISPLAY:i==="text"&&t.size===We.DISPLAY.size?t=We.TEXT:i==="script"?t=We.SCRIPT:i==="scriptscript"&&(t=We.SCRIPTSCRIPT),t},wS=(i,e)=>{var t=uP(i.size,e.style),n=t.fracNum(),r=t.fracDen(),o;o=e.havingStyle(n);var s=xt(i.numer,o,e);if(i.continued){var a=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?p=3*u:p=7*u,f=e.fontMetrics().denom1):(h>0?(m=e.fontMetrics().num2,p=u):(m=e.fontMetrics().num3,p=3*u),f=e.fontMetrics().denom2);var v;if(d){var C=e.fontMetrics().axisHeight;m-s.depth-(C+.5*h){var t=new se.MathNode("mfrac",[Qt(i.numer,e),Qt(i.denom,e)]);if(!i.hasBarLine)t.setAttribute("linethickness","0px");else if(i.barSize){var n=vi(i.barSize,e);t.setAttribute("linethickness",ve(n))}var r=uP(i.size,e.style);if(r.size!==e.style.size){t=new se.MathNode("mstyle",[t]);var o=r.size===We.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",o),t.setAttribute("scriptlevel","0")}if(i.leftDelim!=null||i.rightDelim!=null){var s=[];if(i.leftDelim!=null){var a=new se.MathNode("mo",[new se.TextNode(i.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),s.push(a)}if(s.push(t),i.rightDelim!=null){var l=new se.MathNode("mo",[new se.TextNode(i.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return pS(s)}return t};Ee({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0],o=e[1],s,a=null,l=null,c="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:r,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:wS,mathmlBuilder:xS});Ee({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0],o=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:r,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ee({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(i){var{parser:e,funcName:t,token:n}=i,r;switch(t){case"\\over":r="\\frac";break;case"\\choose":r="\\binom";break;case"\\atop":r="\\\\atopfrac";break;case"\\brace":r="\\\\bracefrac";break;case"\\brack":r="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:r,token:n}}});var gO=["display","text","script","scriptscript"],_O=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};Ee({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(i,e){var{parser:t}=i,n=e[4],r=e[5],o=Bv(e[0]),s=o.type==="atom"&&o.family==="open"?_O(o.text):null,a=Bv(e[1]),l=a.type==="atom"&&a.family==="close"?_O(a.text):null,c=tt(e[2],"size"),d,h=null;c.isBlank?d=!0:(h=c.value,d=h.number>0);var u="auto",m=e[3];if(m.type==="ordgroup"){if(m.body.length>0){var p=tt(m.body[0],"textord");u=gO[Number(p.text)]}}else m=tt(m,"textord"),u=gO[Number(m.text)];return{type:"genfrac",mode:t.mode,numer:n,denom:r,continued:!1,hasBarLine:d,barSize:h,leftDelim:s,rightDelim:l,size:u}},htmlBuilder:wS,mathmlBuilder:xS});Ee({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(i,e){var{parser:t,funcName:n,token:r}=i;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:tt(e[0],"size").value,token:r}}});Ee({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0],o=WY(tt(e[1],"infix").size),s=e[2],a=o.number>0;return{type:"genfrac",mode:t.mode,numer:r,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:wS,mathmlBuilder:xS});var mP=(i,e)=>{var t=e.style,n,r;i.type==="supsub"?(n=i.sup?xt(i.sup,e.havingStyle(t.sup()),e):xt(i.sub,e.havingStyle(t.sub()),e),r=tt(i.base,"horizBrace")):r=tt(i,"horizBrace");var o=xt(r.base,e.havingBaseStyle(We.DISPLAY)),s=Fa.svgSpan(r,e),a;if(r.isOver?(a=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e),a.children[0].children[0].children[1].classes.push("svg-align")):(a=z.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e),a.children[0].children[0].children[0].classes.push("svg-align")),n){var l=z.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e);r.isOver?a=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},e):a=z.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return z.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e)},dQ=(i,e)=>{var t=Fa.mathMLnode(i.label);return new se.MathNode(i.isOver?"mover":"munder",[Qt(i.base,e),t])};Ee({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(i,e){var{parser:t,funcName:n}=i;return{type:"horizBrace",mode:t.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:mP,mathmlBuilder:dQ});Ee({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[1],r=tt(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:Ni(n)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(i,e)=>{var t=en(i.body,e,!1);return z.makeAnchor(i.href,[],t,e)},mathmlBuilder:(i,e)=>{var t=Ql(i.body,e);return t instanceof br||(t=new br("mrow",[t])),t.setAttribute("href",i.href),t}});Ee({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=tt(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:n}))return t.formatUnsupportedCmd("\\url");for(var r=[],o=0;o{var{parser:t,funcName:n,token:r}=i,o=tt(e[0],"raw").string,s=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var a,l={};switch(n){case"\\htmlClass":l.class=o,a={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,a={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,a={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),d=0;d{var t=en(i.body,e,!1),n=["enclosing"];i.attributes.class&&n.push(...i.attributes.class.trim().split(/\s+/));var r=z.makeSpan(n,t,e);for(var o in i.attributes)o!=="class"&&i.attributes.hasOwnProperty(o)&&r.setAttribute(o,i.attributes[o]);return r},mathmlBuilder:(i,e)=>Ql(i.body,e)});Ee({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i;return{type:"htmlmathml",mode:t.mode,html:Ni(e[0]),mathml:Ni(e[1])}},htmlBuilder:(i,e)=>{var t=en(i.html,e,!1);return z.makeFragment(t)},mathmlBuilder:(i,e)=>Ql(i.mathml,e)});var Y3=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new de("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!RO(n))throw new de("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Ee({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(i,e,t)=>{var{parser:n}=i,r={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},a="";if(t[0])for(var l=tt(t[0],"raw").string,c=l.split(","),d=0;d{var t=vi(i.height,e),n=0;i.totalheight.number>0&&(n=vi(i.totalheight,e)-t);var r=0;i.width.number>0&&(r=vi(i.width,e));var o={height:ve(t+n)};r>0&&(o.width=ve(r)),n>0&&(o.verticalAlign=ve(-n));var s=new tS(i.src,i.alt,o);return s.height=t,s.depth=n,s},mathmlBuilder:(i,e)=>{var t=new se.MathNode("mglyph",[]);t.setAttribute("alt",i.alt);var n=vi(i.height,e),r=0;if(i.totalheight.number>0&&(r=vi(i.totalheight,e)-n,t.setAttribute("valign",ve(-r))),t.setAttribute("height",ve(n+r)),i.width.number>0){var o=vi(i.width,e);t.setAttribute("width",ve(o))}return t.setAttribute("src",i.src),t}});Ee({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(i,e){var{parser:t,funcName:n}=i,r=tt(e[0],"size");if(t.settings.strict){var o=n[1]==="m",s=r.value.unit==="mu";o?(s||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+r.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:r.value}},htmlBuilder(i,e){return z.makeGlue(i.dimension,e)},mathmlBuilder(i,e){var t=vi(i.dimension,e);return new se.SpaceNode(t)}});Ee({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0];return{type:"lap",mode:t.mode,alignment:n.slice(5),body:r}},htmlBuilder:(i,e)=>{var t;i.alignment==="clap"?(t=z.makeSpan([],[xt(i.body,e)]),t=z.makeSpan(["inner"],[t],e)):t=z.makeSpan(["inner"],[xt(i.body,e)]);var n=z.makeSpan(["fix"],[]),r=z.makeSpan([i.alignment],[t,n],e),o=z.makeSpan(["strut"]);return o.style.height=ve(r.height+r.depth),r.depth&&(o.style.verticalAlign=ve(-r.depth)),r.children.unshift(o),r=z.makeSpan(["thinbox"],[r],e),z.makeSpan(["mord","vbox"],[r],e)},mathmlBuilder:(i,e)=>{var t=new se.MathNode("mpadded",[Qt(i.body,e)]);if(i.alignment!=="rlap"){var n=i.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",n+"width")}return t.setAttribute("width","0px"),t}});Ee({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,e){var{funcName:t,parser:n}=i,r=n.mode;n.switchMode("math");var o=t==="\\("?"\\)":"$",s=n.parseExpression(!1,o);return n.expect(o),n.switchMode(r),{type:"styling",mode:n.mode,style:"text",body:s}}});Ee({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,e){throw new de("Mismatched "+i.funcName)}});var vO=(i,e)=>{switch(e.style.size){case We.DISPLAY.size:return i.display;case We.TEXT.size:return i.text;case We.SCRIPT.size:return i.script;case We.SCRIPTSCRIPT.size:return i.scriptscript;default:return i.text}};Ee({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(i,e)=>{var{parser:t}=i;return{type:"mathchoice",mode:t.mode,display:Ni(e[0]),text:Ni(e[1]),script:Ni(e[2]),scriptscript:Ni(e[3])}},htmlBuilder:(i,e)=>{var t=vO(i,e),n=en(t,e,!1);return z.makeFragment(n)},mathmlBuilder:(i,e)=>{var t=vO(i,e);return Ql(t,e)}});var pP=(i,e,t,n,r,o,s)=>{i=z.makeSpan([],[i]);var a=t&&Ge.isCharacterBox(t),l,c;if(e){var d=xt(e,n.havingStyle(r.sup()),n);c={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(t){var h=xt(t,n.havingStyle(r.sub()),n);l={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var u;if(c&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+i.depth+s;u=z.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ve(-o)},{type:"kern",size:l.kern},{type:"elem",elem:i},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:ve(o)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var p=i.height-s;u=z.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ve(-o)},{type:"kern",size:l.kern},{type:"elem",elem:i}]},n)}else if(c){var f=i.depth+s;u=z.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:i},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:ve(o)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return i;var v=[u];if(l&&o!==0&&!a){var b=z.makeSpan(["mspace"],[],n);b.style.marginRight=ve(o),v.unshift(b)}return z.makeSpan(["mop","op-limits"],v,n)},fP=["\\smallint"],Cu=(i,e)=>{var t,n,r=!1,o;i.type==="supsub"?(t=i.sup,n=i.sub,o=tt(i.base,"op"),r=!0):o=tt(i,"op");var s=e.style,a=!1;s.size===We.DISPLAY.size&&o.symbol&&!Ge.contains(fP,o.name)&&(a=!0);var l;if(o.symbol){var c=a?"Size2-Regular":"Size1-Regular",d="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(d=o.name.slice(1),o.name=d==="oiint"?"\\iint":"\\iiint"),l=z.makeSymbol(o.name,c,"math",e,["mop","op-symbol",a?"large-op":"small-op"]),d.length>0){var h=l.italic,u=z.staticSvg(d+"Size"+(a?"2":"1"),e);l=z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:u,shift:a?.08:0}]},e),o.name="\\"+d,l.classes.unshift("mop"),l.italic=h}}else if(o.body){var m=en(o.body,e,!0);m.length===1&&m[0]instanceof yr?(l=m[0],l.classes[0]="mop"):l=z.makeSpan(["mop"],m,e)}else{for(var p=[],f=1;f{var t;if(i.symbol)t=new br("mo",[vo(i.name,i.mode)]),Ge.contains(fP,i.name)&&t.setAttribute("largeop","false");else if(i.body)t=new br("mo",Sr(i.body,e));else{t=new br("mi",[new dd(i.name.slice(1))]);var n=new br("mo",[vo("\u2061","text")]);i.parentIsSupSub?t=new br("mrow",[t,n]):t=jO([t,n])}return t},hQ={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ee({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=n;return r.length===1&&(r=hQ[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Cu,mathmlBuilder:mm});Ee({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ni(n)}},htmlBuilder:Cu,mathmlBuilder:mm});var uQ={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ee({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(i){var{parser:e,funcName:t}=i;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:Cu,mathmlBuilder:mm});Ee({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(i){var{parser:e,funcName:t}=i;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:Cu,mathmlBuilder:mm});Ee({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(i){var{parser:e,funcName:t}=i,n=t;return n.length===1&&(n=uQ[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Cu,mathmlBuilder:mm});var gP=(i,e)=>{var t,n,r=!1,o;i.type==="supsub"?(t=i.sup,n=i.sub,o=tt(i.base,"operatorname"),r=!0):o=tt(i,"operatorname");var s;if(o.body.length>0){for(var a=o.body.map(h=>{var u=h.text;return typeof u=="string"?{type:"textord",mode:h.mode,text:u}:h}),l=en(a,e.withFont("mathrm"),!0),c=0;c{for(var t=Sr(i.body,e.withFont("mathrm")),n=!0,r=0;rd.toText()).join("");t=[new se.TextNode(a)]}var l=new se.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new se.MathNode("mo",[vo("\u2061","text")]);return i.parentIsSupSub?new se.MathNode("mrow",[l,c]):se.newDocumentFragment([l,c])};Ee({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(i,e)=>{var{parser:t,funcName:n}=i,r=e[0];return{type:"operatorname",mode:t.mode,body:Ni(r),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gP,mathmlBuilder:mQ});T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");pd({type:"ordgroup",htmlBuilder(i,e){return i.semisimple?z.makeFragment(en(i.body,e,!1)):z.makeSpan(["mord"],en(i.body,e,!0),e)},mathmlBuilder(i,e){return Ql(i.body,e,!0)}});Ee({type:"overline",names:["\\overline"],props:{numArgs:1},handler(i,e){var{parser:t}=i,n=e[0];return{type:"overline",mode:t.mode,body:n}},htmlBuilder(i,e){var t=xt(i.body,e.havingCrampedStyle()),n=z.makeLineSpan("overline-line",e),r=e.fontMetrics().defaultRuleThickness,o=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:n},{type:"kern",size:r}]},e);return z.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(i,e){var t=new se.MathNode("mo",[new se.TextNode("\u203E")]);t.setAttribute("stretchy","true");var n=new se.MathNode("mover",[Qt(i.body,e),t]);return n.setAttribute("accent","true"),n}});Ee({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"phantom",mode:t.mode,body:Ni(n)}},htmlBuilder:(i,e)=>{var t=en(i.body,e.withPhantom(),!1);return z.makeFragment(t)},mathmlBuilder:(i,e)=>{var t=Sr(i.body,e);return new se.MathNode("mphantom",t)}});Ee({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"hphantom",mode:t.mode,body:n}},htmlBuilder:(i,e)=>{var t=z.makeSpan([],[xt(i.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var n=0;n{var t=Sr(Ni(i.body),e),n=new se.MathNode("mphantom",t),r=new se.MathNode("mpadded",[n]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Ee({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,e)=>{var{parser:t}=i,n=e[0];return{type:"vphantom",mode:t.mode,body:n}},htmlBuilder:(i,e)=>{var t=z.makeSpan(["inner"],[xt(i.body,e.withPhantom())]),n=z.makeSpan(["fix"],[]);return z.makeSpan(["mord","rlap"],[t,n],e)},mathmlBuilder:(i,e)=>{var t=Sr(Ni(i.body),e),n=new se.MathNode("mphantom",t),r=new se.MathNode("mpadded",[n]);return r.setAttribute("width","0px"),r}});Ee({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(i,e){var{parser:t}=i,n=tt(e[0],"size").value,r=e[1];return{type:"raisebox",mode:t.mode,dy:n,body:r}},htmlBuilder(i,e){var t=xt(i.body,e),n=vi(i.dy,e);return z.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(i,e){var t=new se.MathNode("mpadded",[Qt(i.body,e)]),n=i.dy.number+i.dy.unit;return t.setAttribute("voffset",n),t}});Ee({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:e}=i;return{type:"internal",mode:e.mode}}});Ee({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(i,e,t){var{parser:n}=i,r=t[0],o=tt(e[0],"size"),s=tt(e[1],"size");return{type:"rule",mode:n.mode,shift:r&&tt(r,"size").value,width:o.value,height:s.value}},htmlBuilder(i,e){var t=z.makeSpan(["mord","rule"],[],e),n=vi(i.width,e),r=vi(i.height,e),o=i.shift?vi(i.shift,e):0;return t.style.borderRightWidth=ve(n),t.style.borderTopWidth=ve(r),t.style.bottom=ve(o),t.width=n,t.height=r+o,t.depth=-o,t.maxFontSize=r*1.125*e.sizeMultiplier,t},mathmlBuilder(i,e){var t=vi(i.width,e),n=vi(i.height,e),r=i.shift?vi(i.shift,e):0,o=e.color&&e.getColor()||"black",s=new se.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",ve(t)),s.setAttribute("height",ve(n));var a=new se.MathNode("mpadded",[s]);return r>=0?a.setAttribute("height",ve(r)):(a.setAttribute("height",ve(r)),a.setAttribute("depth",ve(-r))),a.setAttribute("voffset",ve(r)),a}});function _P(i,e,t){for(var n=en(i,e,!1),r=e.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=e.havingSize(i.size);return _P(i.body,t,e)};Ee({type:"sizing",names:bO,props:{numArgs:0,allowedInText:!0},handler:(i,e)=>{var{breakOnTokenText:t,funcName:n,parser:r}=i,o=r.parseExpression(!1,t);return{type:"sizing",mode:r.mode,size:bO.indexOf(n)+1,body:o}},htmlBuilder:pQ,mathmlBuilder:(i,e)=>{var t=e.havingSize(i.size),n=Sr(i.body,t),r=new se.MathNode("mstyle",n);return r.setAttribute("mathsize",ve(t.sizeMultiplier)),r}});Ee({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(i,e,t)=>{var{parser:n}=i,r=!1,o=!1,s=t[0]&&tt(t[0],"ordgroup");if(s)for(var a="",l=0;l{var t=z.makeSpan([],[xt(i.body,e)]);if(!i.smashHeight&&!i.smashDepth)return t;if(i.smashHeight&&(t.height=0,t.children))for(var n=0;n{var t=new se.MathNode("mpadded",[Qt(i.body,e)]);return i.smashHeight&&t.setAttribute("height","0px"),i.smashDepth&&t.setAttribute("depth","0px"),t}});Ee({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(i,e,t){var{parser:n}=i,r=t[0],o=e[0];return{type:"sqrt",mode:n.mode,body:o,index:r}},htmlBuilder(i,e){var t=xt(i.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=z.wrapFragment(t,e);var n=e.fontMetrics(),r=n.defaultRuleThickness,o=r;e.style.idt.height+t.depth+s&&(s=(s+h-t.height-t.depth)/2);var u=l.height-t.height-s-c;t.style.paddingLeft=ve(d);var m=z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+u)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(i.index){var p=e.havingStyle(We.SCRIPTSCRIPT),f=xt(i.index,p,e),v=.6*(m.height-m.depth),b=z.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:f}]},e),C=z.makeSpan(["root"],[b]);return z.makeSpan(["mord","sqrt"],[C,m],e)}else return z.makeSpan(["mord","sqrt"],[m],e)},mathmlBuilder(i,e){var{body:t,index:n}=i;return n?new se.MathNode("mroot",[Qt(t,e),Qt(n,e)]):new se.MathNode("msqrt",[Qt(t,e)])}});var yO={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT};Ee({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i,e){var{breakOnTokenText:t,funcName:n,parser:r}=i,o=r.parseExpression(!0,t),s=n.slice(1,n.length-5);return{type:"styling",mode:r.mode,style:s,body:o}},htmlBuilder(i,e){var t=yO[i.style],n=e.havingStyle(t).withFont("");return _P(i.body,n,e)},mathmlBuilder(i,e){var t=yO[i.style],n=e.havingStyle(t),r=Sr(i.body,n),o=new se.MathNode("mstyle",r),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[i.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});var fQ=function(e,t){var n=e.base;if(n)if(n.type==="op"){var r=n.limits&&(t.style.size===We.DISPLAY.size||n.alwaysHandleSupSub);return r?Cu:null}else if(n.type==="operatorname"){var o=n.alwaysHandleSupSub&&(t.style.size===We.DISPLAY.size||n.limits);return o?gP:null}else{if(n.type==="accent")return Ge.isCharacterBox(n.base)?_S:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?mP:null}else return null}else return null};pd({type:"supsub",htmlBuilder(i,e){var t=fQ(i,e);if(t)return t(i,e);var{base:n,sup:r,sub:o}=i,s=xt(n,e),a,l,c=e.fontMetrics(),d=0,h=0,u=n&&Ge.isCharacterBox(n);if(r){var m=e.havingStyle(e.style.sup());a=xt(r,m,e),u||(d=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/e.sizeMultiplier)}if(o){var p=e.havingStyle(e.style.sub());l=xt(o,p,e),u||(h=s.depth+p.fontMetrics().subDrop*p.sizeMultiplier/e.sizeMultiplier)}var f;e.style===We.DISPLAY?f=c.sup1:e.style.cramped?f=c.sup3:f=c.sup2;var v=e.sizeMultiplier,b=ve(.5/c.ptPerEm/v),C=null;if(l){var E=i.base&&i.base.type==="op"&&i.base.name&&(i.base.name==="\\oiint"||i.base.name==="\\oiiint");(s instanceof yr||E)&&(C=ve(-s.italic))}var w;if(a&&l){d=Math.max(d,f,a.depth+.25*c.xHeight),h=Math.max(h,c.sub2);var k=c.defaultRuleThickness,O=4*k;if(d-a.depth-(l.height-h)0&&(d+=D,h-=D)}var W=[{type:"elem",elem:l,shift:h,marginRight:b,marginLeft:C},{type:"elem",elem:a,shift:-d,marginRight:b}];w=z.makeVList({positionType:"individualShift",children:W},e)}else if(l){h=Math.max(h,c.sub1,l.height-.8*c.xHeight);var q=[{type:"elem",elem:l,marginLeft:C,marginRight:b}];w=z.makeVList({positionType:"shift",positionData:h,children:q},e)}else if(a)d=Math.max(d,f,a.depth+.25*c.xHeight),w=z.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:a,marginRight:b}]},e);else throw new Error("supsub must have either sup or sub.");var _e=nS(s,"right")||"mord";return z.makeSpan([_e],[s,z.makeSpan(["msupsub"],[w])],e)},mathmlBuilder(i,e){var t=!1,n,r;i.base&&i.base.type==="horizBrace"&&(r=!!i.sup,r===i.base.isOver&&(t=!0,n=i.base.isOver)),i.base&&(i.base.type==="op"||i.base.type==="operatorname")&&(i.base.parentIsSupSub=!0);var o=[Qt(i.base,e)];i.sub&&o.push(Qt(i.sub,e)),i.sup&&o.push(Qt(i.sup,e));var s;if(t)s=n?"mover":"munder";else if(i.sub)if(i.sup){var c=i.base;c&&c.type==="op"&&c.limits&&e.style===We.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===We.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var l=i.base;l&&l.type==="op"&&l.limits&&(e.style===We.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===We.DISPLAY)?s="munder":s="msub"}else{var a=i.base;a&&a.type==="op"&&a.limits&&(e.style===We.DISPLAY||a.alwaysHandleSupSub)||a&&a.type==="operatorname"&&a.alwaysHandleSupSub&&(a.limits||e.style===We.DISPLAY)?s="mover":s="msup"}return new se.MathNode(s,o)}});pd({type:"atom",htmlBuilder(i,e){return z.mathsym(i.text,i.mode,e,["m"+i.family])},mathmlBuilder(i,e){var t=new se.MathNode("mo",[vo(i.text,i.mode)]);if(i.family==="bin"){var n=fS(i,e);n==="bold-italic"&&t.setAttribute("mathvariant",n)}else i.family==="punct"?t.setAttribute("separator","true"):(i.family==="open"||i.family==="close")&&t.setAttribute("stretchy","false");return t}});var vP={mi:"italic",mn:"normal",mtext:"normal"};pd({type:"mathord",htmlBuilder(i,e){return z.makeOrd(i,e,"mathord")},mathmlBuilder(i,e){var t=new se.MathNode("mi",[vo(i.text,i.mode,e)]),n=fS(i,e)||"italic";return n!==vP[t.type]&&t.setAttribute("mathvariant",n),t}});pd({type:"textord",htmlBuilder(i,e){return z.makeOrd(i,e,"textord")},mathmlBuilder(i,e){var t=vo(i.text,i.mode,e),n=fS(i,e)||"normal",r;return i.mode==="text"?r=new se.MathNode("mtext",[t]):/[0-9]/.test(i.text)?r=new se.MathNode("mn",[t]):i.text==="\\prime"?r=new se.MathNode("mo",[t]):r=new se.MathNode("mi",[t]),n!==vP[r.type]&&r.setAttribute("mathvariant",n),r}});var X3={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Q3={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pd({type:"spacing",htmlBuilder(i,e){if(Q3.hasOwnProperty(i.text)){var t=Q3[i.text].className||"";if(i.mode==="text"){var n=z.makeOrd(i,e,"textord");return n.classes.push(t),n}else return z.makeSpan(["mspace",t],[z.mathsym(i.text,i.mode,e)],e)}else{if(X3.hasOwnProperty(i.text))return z.makeSpan(["mspace",X3[i.text]],[],e);throw new de('Unknown type of space "'+i.text+'"')}},mathmlBuilder(i,e){var t;if(Q3.hasOwnProperty(i.text))t=new se.MathNode("mtext",[new se.TextNode("\xA0")]);else{if(X3.hasOwnProperty(i.text))return new se.MathNode("mspace");throw new de('Unknown type of space "'+i.text+'"')}return t}});var SO=()=>{var i=new se.MathNode("mtd",[]);return i.setAttribute("width","50%"),i};pd({type:"tag",mathmlBuilder(i,e){var t=new se.MathNode("mtable",[new se.MathNode("mtr",[SO(),new se.MathNode("mtd",[Ql(i.body,e)]),SO(),new se.MathNode("mtd",[Ql(i.tag,e)])])]);return t.setAttribute("width","100%"),t}});var CO={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},wO={"\\textbf":"textbf","\\textmd":"textmd"},gQ={"\\textit":"textit","\\textup":"textup"},xO=(i,e)=>{var t=i.font;return t?CO[t]?e.withTextFontFamily(CO[t]):wO[t]?e.withTextFontWeight(wO[t]):e.withTextFontShape(gQ[t]):e};Ee({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(i,e){var{parser:t,funcName:n}=i,r=e[0];return{type:"text",mode:t.mode,body:Ni(r),font:n}},htmlBuilder(i,e){var t=xO(i,e),n=en(i.body,t,!0);return z.makeSpan(["mord","text"],n,t)},mathmlBuilder(i,e){var t=xO(i,e);return Ql(i.body,t)}});Ee({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(i,e){var{parser:t}=i;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(i,e){var t=xt(i.body,e),n=z.makeLineSpan("underline-line",e),r=e.fontMetrics().defaultRuleThickness,o=z.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:r},{type:"elem",elem:n},{type:"kern",size:3*r},{type:"elem",elem:t}]},e);return z.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(i,e){var t=new se.MathNode("mo",[new se.TextNode("\u203E")]);t.setAttribute("stretchy","true");var n=new se.MathNode("munder",[Qt(i.body,e),t]);return n.setAttribute("accentunder","true"),n}});Ee({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(i,e){var{parser:t}=i;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(i,e){var t=xt(i.body,e),n=e.fontMetrics().axisHeight,r=.5*(t.height-n-(t.depth+n));return z.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(i,e){return new se.MathNode("mpadded",[Qt(i.body,e)],["vcenter"])}});Ee({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(i,e,t){throw new de("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(i,e){for(var t=EO(i),n=[],r=e.havingStyle(e.style.text()),o=0;oi.body.replace(/ /g,i.star?"\u2423":"\xA0"),Yl=UO,bP=`[ \r + ]`,_Q="\\\\[a-zA-Z@]+",vQ="\\\\[^\uD800-\uDFFF]",bQ="("+_Q+")"+bP+"*",yQ=`\\\\( |[ \r ]+ -?)[ \r ]*`,rS="[\u0300-\u036F]",hQ=new RegExp(rS+"+$"),uQ="("+cP+"+)|"+(dQ+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(rS+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(rS+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+cQ)+("|"+lQ+")"),Hv=class{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(uQ,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new fo("EOF",new Yn(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new de("Unexpected character: '"+e[t]+"'",new fo(e[t],new Yn(this,t,t+1)));var r=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[r]===14){var o=e.indexOf(` -`,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=e.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=o+1,this.lex()}return new fo(r,new Yn(this,t,this.tokenRegex.lastIndex))}},oS=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new de("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},mQ=ZO;E("\\noexpand",function(i){var e=i.popToken();return i.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});E("\\expandafter",function(i){var e=i.popToken();return i.expandOnce(!0),{tokens:[e],numArgs:0}});E("\\@firstoftwo",function(i){var e=i.consumeArgs(2);return{tokens:e[0],numArgs:0}});E("\\@secondoftwo",function(i){var e=i.consumeArgs(2);return{tokens:e[1],numArgs:0}});E("\\@ifnextchar",function(i){var e=i.consumeArgs(3);i.consumeSpaces();var t=i.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});E("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");E("\\TextOrMath",function(i){var e=i.consumeArgs(2);return i.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var gO={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};E("\\char",function(i){var e=i.popToken(),t,n="";if(e.text==="'")t=8,e=i.popToken();else if(e.text==='"')t=16,e=i.popToken();else if(e.text==="`")if(e=i.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new de("\\char` missing argument");n=e.text.charCodeAt(0)}else t=10;if(t){if(n=gO[e.text],n==null||n>=t)throw new de("Invalid base-"+t+" digit "+e.text);for(var r;(r=gO[i.future().text])!=null&&r{var n=i.consumeArg().tokens;if(n.length!==1)throw new de("\\newcommand's first argument must be a macro name");var r=n[0].text,o=i.isDefined(r);if(o&&!e)throw new de("\\newcommand{"+r+"} attempting to redefine "+(r+"; use \\renewcommand"));if(!o&&!t)throw new de("\\renewcommand{"+r+"} when command "+r+" does not yet exist; use \\newcommand");var s=0;if(n=i.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var a="",l=i.expandNextToken();l.text!=="]"&&l.text!=="EOF";)a+=l.text,l=i.expandNextToken();if(!a.match(/^\s*[0-9]+\s*$/))throw new de("Invalid number of arguments: "+a);s=parseInt(a),n=i.consumeArg().tokens}return i.macros.set(r,{tokens:n,numArgs:s}),""};E("\\newcommand",i=>SS(i,!1,!0));E("\\renewcommand",i=>SS(i,!0,!1));E("\\providecommand",i=>SS(i,!0,!0));E("\\message",i=>{var e=i.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""});E("\\errmessage",i=>{var e=i.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""});E("\\show",i=>{var e=i.popToken(),t=e.text;return console.log(e,i.macros.get(t),Yl[t],ti.math[t],ti.text[t]),""});E("\\bgroup","{");E("\\egroup","}");E("~","\\nobreakspace");E("\\lq","`");E("\\rq","'");E("\\aa","\\r a");E("\\AA","\\r A");E("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");E("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");E("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");E("\u212C","\\mathscr{B}");E("\u2130","\\mathscr{E}");E("\u2131","\\mathscr{F}");E("\u210B","\\mathscr{H}");E("\u2110","\\mathscr{I}");E("\u2112","\\mathscr{L}");E("\u2133","\\mathscr{M}");E("\u211B","\\mathscr{R}");E("\u212D","\\mathfrak{C}");E("\u210C","\\mathfrak{H}");E("\u2128","\\mathfrak{Z}");E("\\Bbbk","\\Bbb{k}");E("\xB7","\\cdotp");E("\\llap","\\mathllap{\\textrm{#1}}");E("\\rlap","\\mathrlap{\\textrm{#1}}");E("\\clap","\\mathclap{\\textrm{#1}}");E("\\mathstrut","\\vphantom{(}");E("\\underbar","\\underline{\\text{#1}}");E("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');E("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");E("\\ne","\\neq");E("\u2260","\\neq");E("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");E("\u2209","\\notin");E("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");E("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");E("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");E("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");E("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");E("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");E("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");E("\u27C2","\\perp");E("\u203C","\\mathclose{!\\mkern-0.8mu!}");E("\u220C","\\notni");E("\u231C","\\ulcorner");E("\u231D","\\urcorner");E("\u231E","\\llcorner");E("\u231F","\\lrcorner");E("\xA9","\\copyright");E("\xAE","\\textregistered");E("\uFE0F","\\textregistered");E("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');E("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');E("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');E("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');E("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");E("\u22EE","\\vdots");E("\\varGamma","\\mathit{\\Gamma}");E("\\varDelta","\\mathit{\\Delta}");E("\\varTheta","\\mathit{\\Theta}");E("\\varLambda","\\mathit{\\Lambda}");E("\\varXi","\\mathit{\\Xi}");E("\\varPi","\\mathit{\\Pi}");E("\\varSigma","\\mathit{\\Sigma}");E("\\varUpsilon","\\mathit{\\Upsilon}");E("\\varPhi","\\mathit{\\Phi}");E("\\varPsi","\\mathit{\\Psi}");E("\\varOmega","\\mathit{\\Omega}");E("\\substack","\\begin{subarray}{c}#1\\end{subarray}");E("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");E("\\boxed","\\fbox{$\\displaystyle{#1}$}");E("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");E("\\implies","\\DOTSB\\;\\Longrightarrow\\;");E("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var _O={",":"\\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"};E("\\dots",function(i){var e="\\dotso",t=i.expandAfterFuture().text;return t in _O?e=_O[t]:(t.slice(0,4)==="\\not"||t in ti.math&&Ge.contains(["bin","rel"],ti.math[t].group))&&(e="\\dotsb"),e});var CS={")":!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};E("\\dotso",function(i){var e=i.future().text;return e in CS?"\\ldots\\,":"\\ldots"});E("\\dotsc",function(i){var e=i.future().text;return e in CS&&e!==","?"\\ldots\\,":"\\ldots"});E("\\cdots",function(i){var e=i.future().text;return e in CS?"\\@cdots\\,":"\\@cdots"});E("\\dotsb","\\cdots");E("\\dotsm","\\cdots");E("\\dotsi","\\!\\cdots");E("\\dotsx","\\ldots\\,");E("\\DOTSI","\\relax");E("\\DOTSB","\\relax");E("\\DOTSX","\\relax");E("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");E("\\,","\\tmspace+{3mu}{.1667em}");E("\\thinspace","\\,");E("\\>","\\mskip{4mu}");E("\\:","\\tmspace+{4mu}{.2222em}");E("\\medspace","\\:");E("\\;","\\tmspace+{5mu}{.2777em}");E("\\thickspace","\\;");E("\\!","\\tmspace-{3mu}{.1667em}");E("\\negthinspace","\\!");E("\\negmedspace","\\tmspace-{4mu}{.2222em}");E("\\negthickspace","\\tmspace-{5mu}{.277em}");E("\\enspace","\\kern.5em ");E("\\enskip","\\hskip.5em\\relax");E("\\quad","\\hskip1em\\relax");E("\\qquad","\\hskip2em\\relax");E("\\tag","\\@ifstar\\tag@literal\\tag@paren");E("\\tag@paren","\\tag@literal{({#1})}");E("\\tag@literal",i=>{if(i.macros.get("\\df@tag"))throw new de("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});E("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");E("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");E("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");E("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");E("\\newline","\\\\\\relax");E("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var dP=_e(Ts["Main-Regular"]["T".charCodeAt(0)][1]-.7*Ts["Main-Regular"]["A".charCodeAt(0)][1]);E("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+dP+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");E("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+dP+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");E("\\hspace","\\@ifstar\\@hspacer\\@hspace");E("\\@hspace","\\hskip #1\\relax");E("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");E("\\ordinarycolon",":");E("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");E("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');E("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');E("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');E("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');E("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');E("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');E("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');E("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');E("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');E("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');E("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');E("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');E("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');E("\u2237","\\dblcolon");E("\u2239","\\eqcolon");E("\u2254","\\coloneqq");E("\u2255","\\eqqcolon");E("\u2A74","\\Coloneqq");E("\\ratio","\\vcentcolon");E("\\coloncolon","\\dblcolon");E("\\colonequals","\\coloneqq");E("\\coloncolonequals","\\Coloneqq");E("\\equalscolon","\\eqqcolon");E("\\equalscoloncolon","\\Eqqcolon");E("\\colonminus","\\coloneq");E("\\coloncolonminus","\\Coloneq");E("\\minuscolon","\\eqcolon");E("\\minuscoloncolon","\\Eqcolon");E("\\coloncolonapprox","\\Colonapprox");E("\\coloncolonsim","\\Colonsim");E("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");E("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");E("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");E("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");E("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");E("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");E("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");E("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");E("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");E("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");E("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");E("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");E("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");E("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");E("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");E("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");E("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");E("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");E("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");E("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");E("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");E("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");E("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");E("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");E("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");E("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");E("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");E("\\imath","\\html@mathml{\\@imath}{\u0131}");E("\\jmath","\\html@mathml{\\@jmath}{\u0237}");E("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");E("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");E("\u27E6","\\llbracket");E("\u27E7","\\rrbracket");E("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");E("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");E("\u2983","\\lBrace");E("\u2984","\\rBrace");E("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");E("\u29B5","\\minuso");E("\\darr","\\downarrow");E("\\dArr","\\Downarrow");E("\\Darr","\\Downarrow");E("\\lang","\\langle");E("\\rang","\\rangle");E("\\uarr","\\uparrow");E("\\uArr","\\Uparrow");E("\\Uarr","\\Uparrow");E("\\N","\\mathbb{N}");E("\\R","\\mathbb{R}");E("\\Z","\\mathbb{Z}");E("\\alef","\\aleph");E("\\alefsym","\\aleph");E("\\Alpha","\\mathrm{A}");E("\\Beta","\\mathrm{B}");E("\\bull","\\bullet");E("\\Chi","\\mathrm{X}");E("\\clubs","\\clubsuit");E("\\cnums","\\mathbb{C}");E("\\Complex","\\mathbb{C}");E("\\Dagger","\\ddagger");E("\\diamonds","\\diamondsuit");E("\\empty","\\emptyset");E("\\Epsilon","\\mathrm{E}");E("\\Eta","\\mathrm{H}");E("\\exist","\\exists");E("\\harr","\\leftrightarrow");E("\\hArr","\\Leftrightarrow");E("\\Harr","\\Leftrightarrow");E("\\hearts","\\heartsuit");E("\\image","\\Im");E("\\infin","\\infty");E("\\Iota","\\mathrm{I}");E("\\isin","\\in");E("\\Kappa","\\mathrm{K}");E("\\larr","\\leftarrow");E("\\lArr","\\Leftarrow");E("\\Larr","\\Leftarrow");E("\\lrarr","\\leftrightarrow");E("\\lrArr","\\Leftrightarrow");E("\\Lrarr","\\Leftrightarrow");E("\\Mu","\\mathrm{M}");E("\\natnums","\\mathbb{N}");E("\\Nu","\\mathrm{N}");E("\\Omicron","\\mathrm{O}");E("\\plusmn","\\pm");E("\\rarr","\\rightarrow");E("\\rArr","\\Rightarrow");E("\\Rarr","\\Rightarrow");E("\\real","\\Re");E("\\reals","\\mathbb{R}");E("\\Reals","\\mathbb{R}");E("\\Rho","\\mathrm{P}");E("\\sdot","\\cdot");E("\\sect","\\S");E("\\spades","\\spadesuit");E("\\sub","\\subset");E("\\sube","\\subseteq");E("\\supe","\\supseteq");E("\\Tau","\\mathrm{T}");E("\\thetasym","\\vartheta");E("\\weierp","\\wp");E("\\Zeta","\\mathrm{Z}");E("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");E("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");E("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");E("\\bra","\\mathinner{\\langle{#1}|}");E("\\ket","\\mathinner{|{#1}\\rangle}");E("\\braket","\\mathinner{\\langle{#1}\\rangle}");E("\\Bra","\\left\\langle#1\\right|");E("\\Ket","\\left|#1\\right\\rangle");var hP=i=>e=>{var t=e.consumeArg().tokens,n=e.consumeArg().tokens,r=e.consumeArg().tokens,o=e.consumeArg().tokens,s=e.macros.get("|"),a=e.macros.get("\\|");e.macros.beginGroup();var l=h=>u=>{i&&(u.macros.set("|",s),r.length&&u.macros.set("\\|",a));var m=h;if(!h&&r.length){var p=u.future();p.text==="|"&&(u.popToken(),m=!0)}return{tokens:m?r:n,numArgs:0}};e.macros.set("|",l(!1)),r.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,d=e.expandTokens([...o,...c,...t]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};E("\\bra@ket",hP(!1));E("\\bra@set",hP(!0));E("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");E("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");E("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");E("\\angln","{\\angl n}");E("\\blue","\\textcolor{##6495ed}{#1}");E("\\orange","\\textcolor{##ffa500}{#1}");E("\\pink","\\textcolor{##ff00af}{#1}");E("\\red","\\textcolor{##df0030}{#1}");E("\\green","\\textcolor{##28ae7b}{#1}");E("\\gray","\\textcolor{gray}{#1}");E("\\purple","\\textcolor{##9d38bd}{#1}");E("\\blueA","\\textcolor{##ccfaff}{#1}");E("\\blueB","\\textcolor{##80f6ff}{#1}");E("\\blueC","\\textcolor{##63d9ea}{#1}");E("\\blueD","\\textcolor{##11accd}{#1}");E("\\blueE","\\textcolor{##0c7f99}{#1}");E("\\tealA","\\textcolor{##94fff5}{#1}");E("\\tealB","\\textcolor{##26edd5}{#1}");E("\\tealC","\\textcolor{##01d1c1}{#1}");E("\\tealD","\\textcolor{##01a995}{#1}");E("\\tealE","\\textcolor{##208170}{#1}");E("\\greenA","\\textcolor{##b6ffb0}{#1}");E("\\greenB","\\textcolor{##8af281}{#1}");E("\\greenC","\\textcolor{##74cf70}{#1}");E("\\greenD","\\textcolor{##1fab54}{#1}");E("\\greenE","\\textcolor{##0d923f}{#1}");E("\\goldA","\\textcolor{##ffd0a9}{#1}");E("\\goldB","\\textcolor{##ffbb71}{#1}");E("\\goldC","\\textcolor{##ff9c39}{#1}");E("\\goldD","\\textcolor{##e07d10}{#1}");E("\\goldE","\\textcolor{##a75a05}{#1}");E("\\redA","\\textcolor{##fca9a9}{#1}");E("\\redB","\\textcolor{##ff8482}{#1}");E("\\redC","\\textcolor{##f9685d}{#1}");E("\\redD","\\textcolor{##e84d39}{#1}");E("\\redE","\\textcolor{##bc2612}{#1}");E("\\maroonA","\\textcolor{##ffbde0}{#1}");E("\\maroonB","\\textcolor{##ff92c6}{#1}");E("\\maroonC","\\textcolor{##ed5fa6}{#1}");E("\\maroonD","\\textcolor{##ca337c}{#1}");E("\\maroonE","\\textcolor{##9e034e}{#1}");E("\\purpleA","\\textcolor{##ddd7ff}{#1}");E("\\purpleB","\\textcolor{##c6b9fc}{#1}");E("\\purpleC","\\textcolor{##aa87ff}{#1}");E("\\purpleD","\\textcolor{##7854ab}{#1}");E("\\purpleE","\\textcolor{##543b78}{#1}");E("\\mintA","\\textcolor{##f5f9e8}{#1}");E("\\mintB","\\textcolor{##edf2df}{#1}");E("\\mintC","\\textcolor{##e0e5cc}{#1}");E("\\grayA","\\textcolor{##f6f7f7}{#1}");E("\\grayB","\\textcolor{##f0f1f2}{#1}");E("\\grayC","\\textcolor{##e3e5e6}{#1}");E("\\grayD","\\textcolor{##d6d8da}{#1}");E("\\grayE","\\textcolor{##babec2}{#1}");E("\\grayF","\\textcolor{##888d93}{#1}");E("\\grayG","\\textcolor{##626569}{#1}");E("\\grayH","\\textcolor{##3b3e40}{#1}");E("\\grayI","\\textcolor{##21242c}{#1}");E("\\kaBlue","\\textcolor{##314453}{#1}");E("\\kaGreen","\\textcolor{##71B307}{#1}");var uP={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},sS=class{constructor(e,t,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=t,this.expansionCount=0,this.feed(e),this.macros=new oS(mQ,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Hv(e,this.settings)}switchMode(e){this.mode=e}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(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg(["]"])}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new fo("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r=this.future(),o,s=0,a=0;do{if(o=this.popToken(),t.push(o),o.text==="{")++s;else if(o.text==="}"){if(--s,s===-1)throw new de("Extra }",o)}else if(o.text==="EOF")throw new de("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",o);if(e&&n)if((s===0||s===1&&e[a]==="{")&&o.text===e[a]){if(++a,a===e.length){t.splice(-a,a);break}}else a=0}while(s!==0||n);return r.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:o}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new de("The length of delimiters doesn't match the number of args!");for(var n=t[0],r=0;rthis.settings.maxExpand)throw new de("Too many expansions: infinite loop or need to increase maxExpand setting");var o=r.tokens,s=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){o=o.slice();for(var a=o.length-1;a>=0;--a){var l=o[a];if(l.text==="#"){if(a===0)throw new de("Incomplete placeholder at end of macro body",l);if(l=o[--a],l.text==="#")o.splice(a+1,1);else if(/^[1-9]$/.test(l.text))o.splice(a,2,...s[+l.text-1]);else throw new de("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new fo(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(n=>n.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t=="function"?t(this):t;if(typeof r=="string"){var o=0;if(r.indexOf("#")!==-1)for(var s=r.replace(/##/g,"");s.indexOf("#"+(o+1))!==-1;)++o;for(var a=new Hv(r,this.settings),l=[],c=a.lex();c.text!=="EOF";)l.push(c),c=a.lex();l.reverse();var d={tokens:l,numArgs:o};return d}return r}isDefined(e){return this.macros.has(e)||Yl.hasOwnProperty(e)||ti.math.hasOwnProperty(e)||ti.text.hasOwnProperty(e)||uP.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Yl.hasOwnProperty(e)&&!Yl[e].primitive}},vO=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Lv=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),$3={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},bO={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},md=class{constructor(e,t){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 sS(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new de("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new fo("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var r=this.fetch();if(md.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||e&&Yl[r.text]&&Yl[r.text].infix)break;var o=this.parseAtom(t);if(o){if(o.type==="internal")continue}else break;n.push(o)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var t=-1,n,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a=ti[this.mode][t].group,l=Yn.range(e),c;if(rX.hasOwnProperty(a)){var d=a;c={type:"atom",mode:this.mode,family:d,loc:l,text:t}}else c={type:a,mode:this.mode,loc:l,text:t};s=c}else if(t.charCodeAt(0)>=128)this.settings.strict&&(SO(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Yn.range(e),text:t};else return null;if(this.consume(),o)for(var h=0;hl&&(l=c):c&&(l!==void 0&&l>-1&&a.push(` -`.repeat(l)||" "),l=-1,a.push(c))}return a.join("")}function SP(i,e,t){return i.type==="element"?SQ(i,e,t):i.type==="text"?t.whitespace==="normal"?CP(i,t):CQ(i):[]}function SQ(i,e,t){let n=wP(i,t),r=i.children||[],o=-1,s=[];if(yQ(i))return s;let a,l;for(IS(i)||bP(i)&&TS(e,i,bP)?l=` -`:bQ(i)?(a=2,l=2):yP(i)&&(a=1,l=1);++o{Pn(n,"element",o=>{let s=o.properties&&Array.isArray(o.properties.className)?o.properties.className:[],a=s.includes("math-inline"),l=s.includes("math-display");if(!a&&!l)return;let c=um(o,{whitespace:"pre"}),d;try{d=wu.renderToString(c,kP({},e,{displayMode:l,throwOnError:!0}))}catch(u){let m=u,p=t?"fail":"message",f=[DQ,m.name.toLowerCase()].join(":");if(r[p](m.message,o.position,f),m.name!=="ParseError"){o.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(m),style:"color:"+(e.errorColor||"#cc0000")},children:[{type:"text",value:c}]}];return}d=wu.renderToString(c,kP({},e,{displayMode:l,throwOnError:!1,strict:"ignore"}))}let h=IP(d,{fragment:!0});o.children=h.children})}}var LP=qi(b3(),1);var AP={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before ``",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `` in ``",description:"Unexpected text character `%c`. Only use text in `