@podlite/markdown 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs CHANGED
@@ -11,7 +11,7 @@ var Eh=Object.create;var hs=Object.defineProperty;var _h=Object.getOwnPropertyDe
11
11
  `,$e=W(`
12
12
  `,!1),he="\r",ne=W("\r",!1),be=function(){return{type:"blankline"}},xe="=begin ",ke=W("=begin ",!1),Le="=end ",Ee=W("=end ",!1),_e="=for ",de=W("=for ",!1),Ce="=config",it=W("=config",!1),X="=alias",xt=W("=alias",!1),We=function(u){return Ch(u)},yt=function(u){return u},et="=",B=W("=",!1),V=us("text"),Zt=function(){return S()},Dt=function(){return{type:"para",value:S(),error:!0,location:q()}},bt=function(u,p){return Vi([u,p])},_t=function(u){return[u]},Ct=",",ot=W(",",!1),Er=function(u,p){return Vi([u,p])},ye=/^[a-zA-Z0-9]/,yr=L([["a","z"],["A","Z"],["0","9"]],!1,!1),zt=/^[a-zA-Z0-9_\-]/,_r=L([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Mt="=>",Xn=W("=>",!1),jn=function(u,p){return{[u]:p}},wn=function(u,p){return{...u,...p}},He=function(u){return u},Ge=":",st=W(":",!1),Ke="allow",Sr=W("allow",!1),ze="<",Me=W("<",!1),ft=">",ct=W(">",!1),Vt=function(u,p){return{value:p,type:"array"}},re=function(u,p){return{name:"allow",...p}},ae=function(u){return u},ve=function(u){return u},Ie=function(u){return[u]},Nt=function(){return[]},Ur=/^[!]/,tt=L(["!"],!1,!1),vt="{",St=W("{",!1),Hr="}",pt=W("}",!1),xn=function(u,p,g){return{value:g}},Tt="[",an=W("[",!1),co=function(u,p,g){return g},Nr="]",Bn=W("]",!1),ei=function(u,p){return[S()]},po=function(u,p,g){return{value:g,type:"array"}},ti=function(u,p,g){return{value:g,type:"array"}},qi=function(u,p,g){return{value:g,type:"string"}},ri="(",Cn=W("(",!1),Ni=function(u,p,g){return g.length>1?{type:"array",value:g}:{type:"value",value:g[0]}},An=")",z=W(")",!1),O=function(u,p){return{value:S()}},G=function(u,p,g){return{type:"value",...g}},ee=function(u,p){return{value:!u,type:"boolean"}},te=function(u,p,g){return{name:p,...g}},pe=function(u,p){return p},Ae=function(u,p){return Vi([...u,...p])},Oe=/^[^'"]/,je=L(["'",'"'],!0,!1),ht=function(u){return u},Se=/^[0-9]/,rt=L([["0","9"]],!1,!1),kt=/^[\-+]/,at=L(["-","+"],!1,!1),qe="True",dt=W("True",!1),Ze=function(){return!0},Dr="False",Rt=W("False",!1),Ut=function(){return!1},Je=".",Lt=W(".",!1),Jt=/^[eE]/,$r=L(["e","E"],!1,!1),Rr=/^["]/,br=L(['"'],!1,!1),ln=/^[^"]/,En=L(['"'],!0,!1),_n=/^[']/,Gr=L(["'"],!1,!1),Kr=/^[^']/,vr=L(["'"],!0,!1),o=function(u){return parseFloat(u)},ue=function(u){return parseInt(u,10)},kr=function(u,p,g){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ms(p)},ur=function(u,p,g,$,A){return u.length===$.length&&p===A},zn=function(u,p,g,$,A){return Ah(u,`${$}${A}`)},w=function(u,p,g,$,A,C){return p===C},Lr=function(u,p,g,$,A,C){return{type:"block",content:$===""?[]:[{type:"verbatim",value:$.join("")}],name:p,margin:u}},fr=function(u,p,g,$,A,C){return!0},mo=function(u,p,g,$,A,C){return{...C,text:S(),config:g,location:q()}},Sn=/^[+-=_|]/,ho=L([["+","="],"_","|"],!1,!1),Qe=function(){return{type:"separator",text:S()}},Pr=function(){return r.isDelimited},Fr=function(){return{type:"separator",text:S()}},un=function(u){return{name:"row",type:"text",value:u}},ni=function(){return r.separators=[],!0},Pn=function(u,p){return r.separators.push(p.text),p},cr=function(u,p,g,$){return r.separators.push($.text),$},Z=function(u,p,g,$){return[{name:"row",type:"text",value:g},$]},Wr=function(u,p,g){return[g]},fn=function(u,p,g){return r.separators.length>1?!r.separators.every($=>$===r.separators[0]):!0},ii=function(u,p,g){return[{name:"head",type:"text",value:u},p,...Vi(g)]},Fn=function(u,p){return[{name:"row",type:"text",value:u},p]},go=function(u){return[...Vi(u)]},rs=function(u,p,g){return p==="table"},Di=function(u,p,g){return r.isDelimited=!0,!0},Zr=function(u,p,g,$){return $},yo=function(u,p,g,$,A,C){return{type:"block",content:$,name:p,margin:u}},ns=function(u,p,g,$,A,C){return{...C,text:S(),config:g,location:q()}},$o=function(u,p,g,$){return $},bo=function(u,p,g,$,A){let C=p.match(/pod|nested|item|code|defn/)&&$.length-u.length>0?"code":"para";return{text:A,margin:$,type:C,content:[{type:C==="code"?"verbatim":"text",value:A}],location:q()}},vo=function(u,p,g,$,A,C){return{type:"block",content:$,name:p,margin:u}},Mn=function(u,p,g,$,A,C){return{...C,config:g,location:q()}},Qt=function(){return{text:S(),type:"para",margin:"",content:[{type:"text",value:S()}],location:q()}},Ri=function(){return{empty:1}},cn=/^[s]/,Yt=L(["s"],!1,!1),$a=function(u){return{text:S(),type:"ambient1"}},is=function(u,p){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ms(p)},pn=function(u,p,g){return{margin:u,type:"block",content:g===""?[]:[{type:"verbatim",value:g}],name:p,config:[],location:q()}},oi=function(u,p){return p==="table"},ba=function(u,p){return r.isDelimited=!1,!0},va=function(u,p,g){return{margin:u,type:"block",content:g===""?[]:g,name:p,config:[],location:q()}},ka=function(u,p,g,$){let A=(g===`
13
13
  `?"":g)+$;return{margin:u,type:"block",content:A===""?[]:[{type:"para",text:A,margin:"",content:[{type:"text",value:A}],location:q()}],name:p,location:q()}},Tn="= ",os=W("= ",!1),wa=function(u,p,g,$){return{name:g,type:"alias",replacement:$,margin:u}},xa=/^[A-Z]/,Ca=L([["A","Z"]],!1,!1),ss="<>",Aa=W("<>",!1),as=function(u,p,g,$){return{name:g,type:"config",config:$,margin:u}},ls=function(u,p,g,$){return g.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||ms(g)},Ea=function(u,p,g,$,A){return{type:"block",content:A===""?[]:[{type:"verbatim",value:A}],name:g,margin:u,config:$,location:q()}},Jr=function(u,p,g,$){return g==="table"},At=function(u,p,g,$){return r.isDelimited=!1,!0},Pe=function(u,p,g,$,A){return{type:"block",content:A===""?[]:A,name:g,margin:u,config:$,location:q()}},Li=function(u,p,g,$,A){return{type:"block",content:A===""?[]:[{type:"para",content:[{type:"text",value:A}],margin:u,text:A,location:q()}],name:g,margin:u,config:$,location:q()}},_f=/^[a-zA-Z]/,Xt=L([["a","z"],["A","Z"]],!1,!1),dn=us("whitespace"),nt=/^[\r\n \t\f]/,In=L(["\r",`
14
- `," "," ","\f"],!1,!1),_a=us("space characters"),n=0,h=0,F=[{line:1,column:1}],v=0,_=[],y=0,R;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function S(){return t.substring(h,n)}function q(){return ko(h,n)}function J(u,p){throw p=p!==void 0?p:ko(h,n),Pf([us(u)],t.substring(h,n),p)}function P(u,p){throw p=p!==void 0?p:ko(h,n),mh(u,p)}function W(u,p){return{type:"literal",text:u,ignoreCase:p}}function L(u,p,g){return{type:"class",parts:u,inverted:p,ignoreCase:g}}function j(){return{type:"any"}}function K(){return{type:"end"}}function us(u){return{type:"other",description:u}}function Sf(u){var p=F[u],g;if(p)return p;for(g=u-1;!F[g];)g--;for(p=F[g],p={line:p.line,column:p.column};g<u;)t.charCodeAt(g)===10?(p.line++,p.column=1):p.column++,g++;return F[u]=p,p}function ko(u,p){var g=Sf(u),$=Sf(p);return{start:{offset:u,line:g.line,column:g.column},end:{offset:p,line:$.line,column:$.column}}}function oe(u){n<v||(n>v&&(v=n,_=[]),_.push(u))}function mh(u,p){return new Ci(u,null,null,p)}function Pf(u,p,g){return new Ci(Ci.buildMessage(u,p),u,p,g)}function Ff(){var u,p,g;for(u=n,p=[],g=Tf();g!==e;)p.push(g),g=Tf();return p!==e&&(h=u,p=a(p)),u=p,u}function Tf(){var u,p,g,$,A,C,U,Q;if(u=Sa(),u===e&&(u=Fa(),u===e&&(u=Ta(),u===e&&(u=Ra(),u===e&&(u=La(),u===e&&(u=ja(),u===e&&(u=Na(),u===e&&(u=Da(),u===e&&(u=Ia(),u===e&&(u=Oa(),u===e&&(u=qa(),u===e&&(u=n,h=n,p=l(),p?p=void 0:p=e,p!==e?(g=kh(),g===e&&(g=mn(),g===e&&(g=gh())),g!==e?(h=u,p=f(g),u=p):(n=u,u=e)):(n=u,u=e),u===e)))))))))))){if(u=n,p=n,g=[],$=n,A=n,y++,C=n,U=On(),U!==e?(Q=er(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=ui()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$!==e)for(;$!==e;)g.push($),$=n,A=n,y++,C=n,U=On(),U!==e?(Q=er(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=ui()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e);else g=e;g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=m()),u=p}return u}function It(){var u;return d.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(b)),u}function ge(){var u,p;for(u=[],x.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));p!==e;)u.push(p),x.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));return u}function si(){var u,p,g,$;for(u=n,p=n,g=[],$=It();$!==e;)g.push($),$=It();return g!==e?(E.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(I)),$!==e?(g=[g,$],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function T0(){var u,p,g,$;if(u=n,p=n,g=[],$=wo(),$!==e)for(;$!==e;)g.push($),$=wo();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=N(p),u=p):(n=u,u=e)):(n=u,u=e),u}function wo(){var u;return M.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(Y)),u}function ai(){var u,p,g;return t.charCodeAt(n)===10?(u=se,n++):(u=e,y===0&&oe($e)),u===e&&(u=n,t.charCodeAt(n)===13?(p=he,n++):(p=e,y===0&&oe(ne)),p!==e?(t.charCodeAt(n)===10?(g=se,n++):(g=e,y===0&&oe($e)),g===e&&(g=null),g!==e?(p=[p,g],u=p):(n=u,u=e)):(n=u,u=e)),u}function li(){var u,p;return u=ai(),u===e&&(u=n,y++,t.length>n?(p=t.charAt(n),n++):(p=e,y===0&&oe(c)),y--,p===e?u=void 0:(n=u,u=e)),u}function Tr(){var u,p,g,$;for(u=n,p=n,g=[],$=It();$!==e;)g.push($),$=It();return g!==e?(E.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(I)),$!==e?(g=[g,$],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function mn(){var u,p,g,$,A;for(u=n,p=n,g=n,$=[],A=It();A!==e;)$.push(A),A=It();return $!==e?(E.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(I)),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=be()),u=p,u}function fs(){var u;return t.substr(n,7)===xe?(u=xe,n+=7):(u=e,y===0&&oe(ke)),u}function ji(){var u;return t.substr(n,5)===Le?(u=Le,n+=5):(u=e,y===0&&oe(Ee)),u}function cs(){var u;return t.substr(n,5)===_e?(u=_e,n+=5):(u=e,y===0&&oe(de)),u}function If(){var u;return t.substr(n,7)===Ce?(u=Ce,n+=7):(u=e,y===0&&oe(it)),u}function Of(){var u;return t.substr(n,6)===X?(u=X,n+=6):(u=e,y===0&&oe(xt)),u}function er(){var u,p,g;return u=n,p=Ba(),p!==e?(h=n,g=We(p),g?g=void 0:g=e,g!==e?(h=u,p=yt(p),u=p):(n=u,u=e)):(n=u,u=e),u}function ui(){var u,p,g;return u=n,t.charCodeAt(n)===61?(p=et,n++):(p=e,y===0&&oe(B)),p!==e?(g=er(),g!==e?(h=u,p=yt(g),u=p):(n=u,u=e)):(n=u,u=e),u}function On(){var u;return u=fs(),u===e&&(u=ji(),u===e&&(u=cs(),u===e&&(u=If(),u===e&&(u=Of())))),u}function jr(){var u,p,g;if(y++,u=n,p=[],g=wo(),g!==e)for(;g!==e;)p.push(g),g=wo();else p=e;return p!==e?u=t.substring(u,n):u=p,y--,u===e&&(p=e,y===0&&oe(V)),u}function Ht(){var u,p,g,$,A,C,U;if(u=n,p=n,y++,g=n,$=ge(),$!==e?(A=If(),A===e&&(A=Of(),A===e&&(A=n,C=On(),C!==e?(U=er(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A===e&&(A=ui()))),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g===e&&(g=mn()),y--,g===e?p=void 0:(n=p,p=e),p!==e){if(g=n,$=[],A=jr(),A!==e)for(;A!==e;)$.push(A),A=jr();else $=e;$!==e?g=t.substring(g,n):g=$,g!==e?($=li(),$!==e?(h=u,p=Zt(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u}function hh(){var u,p,g,$;if(u=n,p=n,g=[],$=jr(),$!==e)for(;$!==e;)g.push($),$=jr();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=Zt(),u=p):(n=u,u=e)):(n=u,u=e),u}function gh(){var u,p,g,$,A,C;if(u=n,p=n,g=[],$=n,A=n,y++,C=li(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$!==e)for(;$!==e;)g.push($),$=n,A=n,y++,C=li(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e);else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=Dt(),u=p):(n=u,u=e)):(n=u,u=e),u}function qf(){var u,p,g,$;if(u=n,p=Nf(),p!==e){if(g=[],$=It(),$!==e)for(;$!==e;)g.push($),$=It();else g=e;g!==e?($=qf(),$!==e?(h=u,p=bt(p,$),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Nf(),p!==e&&(h=u,p=_t(p)),u=p),u}function Nf(){var u,p;return u=n,p=wo(),p!==e?u=t.substring(u,n):u=p,u}function ps(){var u,p,g,$,A,C;if(u=n,p=zi(),p!==e){if(g=[],$=It(),$!==e)for(;$!==e;)g.push($),$=It();else g=e;g===e&&(g=n,$=ge(),$!==e?(t.charCodeAt(n)===44?(A=Ct,n++):(A=e,y===0&&oe(ot)),A!==e?(C=ge(),C!==e?($=[$,A,C],g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e)),g!==e?($=ps(),$!==e?(h=u,p=Er(p,$),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=zi(),p!==e&&(h=u,p=_t(p)),u=p),u}function yh(){var u,p,g,$,A;if(u=n,p=n,g=[],ye.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(yr)),$!==e)for(;$!==e;)g.push($),ye.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(yr));else g=e;if(g!==e){for($=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));A!==e;)$.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function Df(){var u,p,g,$,A,C;return u=n,p=yh(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?($=Ct,n++):($=e,y===0&&oe(ot)),$===e&&(t.substr(n,2)===Mt?($=Mt,n+=2):($=e,y===0&&oe(Xn))),$!==e?(A=ge(),A!==e?(C=zi(),C!==e?(h=u,p=jn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Rf(){var u,p,g,$,A,C;return u=n,p=Df(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?($=Ct,n++):($=e,y===0&&oe(ot)),$!==e?(A=ge(),A!==e?(C=Rf(),C!==e?(h=u,p=wn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u===e&&(u=n,p=Df(),p!==e&&(h=u,p=He(p)),u=p),u}function $h(){var u,p,g,$,A,C,U,Q,T,D;return u=n,p=ge(),p!==e?(t.charCodeAt(n)===58?(g=Ge,n++):(g=e,y===0&&oe(st)),g!==e?(t.substr(n,5)===Ke?($=Ke,n+=5):($=e,y===0&&oe(Sr)),$!==e?(A=n,t.charCodeAt(n)===60?(C=ze,n++):(C=e,y===0&&oe(Me)),C!==e?(U=ge(),U!==e?(Q=qf(),Q!==e?(T=ge(),T!==e?(t.charCodeAt(n)===62?(D=ft,n++):(D=e,y===0&&oe(ct)),D!==e?(h=A,C=Vt($,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e),A!==e?(C=ge(),C!==e?(h=u,p=re($,A),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function I0(){var u,p,g,$,A,C;for(u=n,p=[],g=n,$=ge(),$!==e?(A=zi(),A!==e?(C=ge(),C!==e?(h=g,$=ae(A),g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);g!==e;)p.push(g),g=n,$=ge(),$!==e?(A=zi(),A!==e?(C=ge(),C!==e?(h=g,$=ae(A),g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);return p!==e&&(h=u,p=ve(p)),u=p,u===e&&(u=n,p=zi(),p!==e&&(h=u,p=Ie(p)),u=p,u===e&&(u=n,p=ge(),p!==e&&(h=u,p=Nt()),u=p)),u}function Bi(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce;if(u=$h(),u===e)if(u=n,p=ge(),p!==e)if(t.charCodeAt(n)===58?(g=Ge,n++):(g=e,y===0&&oe(st)),g!==e)if(Ur.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(tt)),$===e&&($=null),$!==e)if(A=Ba(),A!==e){if(C=n,t.charCodeAt(n)===123?(U=vt,n++):(U=e,y===0&&oe(St)),U!==e?(Q=ge(),Q!==e?(T=Rf(),T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===125?(H=Hr,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=xn($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e){if(C=n,t.charCodeAt(n)===91?(U=Tt,n++):(U=e,y===0&&oe(an)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=ps(),D!==e&&(h=T,D=co($,A,D)),T=D,T===e){if(T=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Nr,n++):(ce=e,y===0&&oe(Bn)),ce===e&&(t.charCodeAt(n)===91?(ce=Tt,n++):(ce=e,y===0&&oe(an))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Nr,n++):(ce=e,y===0&&oe(Bn)),ce===e&&(t.charCodeAt(n)===91?(ce=Tt,n++):(ce=e,y===0&&oe(an))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=T,D=ei($,A)),T=D}T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===93?(H=Nr,n++):(H=e,y===0&&oe(Bn)),H!==e?(h=C,U=po($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e&&(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Me)),U!==e?(Q=ge(),Q!==e?(T=ps(),T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ft,n++):(H=e,y===0&&oe(ct)),H!==e?(h=C,U=ti($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e)){if(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Me)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=[],H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Me)),le===e&&(t.charCodeAt(n)===62?(le=ft,n++):(le=e,y===0&&oe(ct))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e),H!==e)for(;H!==e;)D.push(H),H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Me)),le===e&&(t.charCodeAt(n)===62?(le=ft,n++):(le=e,y===0&&oe(ct))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e);else D=e;D!==e?T=t.substring(T,n):T=D,T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ft,n++):(H=e,y===0&&oe(ct)),H!==e?(h=C,U=qi($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e){if(C=n,t.charCodeAt(n)===40?(U=ri,n++):(U=e,y===0&&oe(Cn)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=ps(),D!==e&&(h=T,D=Ni($,A,D)),T=D,T===e){if(T=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=An,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ri,n++):(ce=e,y===0&&oe(Cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=An,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ri,n++):(ce=e,y===0&&oe(Cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=T,D=O($,A)),T=D}T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===41?(H=An,n++):(H=e,y===0&&oe(z)),H!==e?(h=C,U=G($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;C===e&&(C=n,U=ge(),U!==e&&(h=C,U=ee($,A)),C=U)}}}C!==e?(U=ge(),U!==e?(h=u,p=te($,A,C),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function fi(){var u,p,g,$,A,C,U,Q,T,D;for(u=n,p=[],g=Bi();g!==e;)p.push(g),g=Bi();if(p!==e)if(g=ai(),g!==e){if($=[],A=n,t.charCodeAt(n)===61?(C=et,n++):(C=e,y===0&&oe(B)),C!==e)if(U=ge(),U!==e){if(Q=[],T=Bi(),T!==e)for(;T!==e;)Q.push(T),T=Bi();else Q=e;Q!==e?(T=ge(),T!==e?(D=ai(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;for(;A!==e;)if($.push(A),A=n,t.charCodeAt(n)===61?(C=et,n++):(C=e,y===0&&oe(B)),C!==e)if(U=ge(),U!==e){if(Q=[],T=Bi(),T!==e)for(;T!==e;)Q.push(T),T=Bi();else Q=e;Q!==e?(T=ge(),T!==e?(D=ai(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;$!==e?(h=u,p=Ae(p,$),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function O0(){var u,p,g,$;if(u=n,p=n,g=[],Oe.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(je)),$!==e)for(;$!==e;)g.push($),Oe.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(je));else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=ht(p)),u=p,u}function Lf(){var u,p,g;if(u=n,p=[],Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(rt)),g!==e)for(;g!==e;)p.push(g),Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(rt));else p=e;return p!==e?u=t.substring(u,n):u=p,u}function ds(){var u,p,g,$,A;if(u=n,p=n,kt.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(at)),g===e&&(g=null),g!==e){if($=[],Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(rt)),A!==e)for(;A!==e;)$.push(A),Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(rt));else $=e;$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function bh(){var u,p;return u=n,t.substr(n,4)===qe?(p=qe,n+=4):(p=e,y===0&&oe(dt)),p!==e&&(h=u,p=Ze()),u=p,u===e&&(u=n,t.substr(n,5)===Dr?(p=Dr,n+=5):(p=e,y===0&&oe(Rt)),p!==e&&(h=u,p=Ut()),u=p),u}function vh(){var u,p,g,$,A,C;return u=n,p=n,g=ds(),g!==e?($=n,t.charCodeAt(n)===46?(A=Je,n++):(A=e,y===0&&oe(Lt)),A!==e?(C=Lf(),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$===e&&($=null),$!==e?(Jt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe($r)),A!==e?(C=ds(),C!==e?(g=[g,$,A,C],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u===e&&(u=n,p=n,g=ds(),g!==e?(t.charCodeAt(n)===46?($=Je,n++):($=e,y===0&&oe(Lt)),$!==e?(A=Lf(),A!==e?(g=[g,$,A],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p),u}function zi(){var u,p,g,$,A;if(u=n,Rr.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(br)),p!==e){for(g=n,$=[],ln.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(En));A!==e;)$.push(A),ln.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(En));$!==e?g=t.substring(g,n):g=$,g!==e?(Rr.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(br)),$!==e?(h=u,p=ht(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;if(u===e){if(u=n,_n.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Gr)),p!==e){for(g=n,$=[],Kr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(vr));A!==e;)$.push(A),Kr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(vr));$!==e?g=t.substring(g,n):g=$,g!==e?(_n.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Gr)),$!==e?(h=u,p=ht(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;u===e&&(u=bh(),u===e&&(u=n,p=vh(),p!==e&&(h=u,p=o(p)),u=p,u===e&&(u=n,p=ds(),p!==e&&(h=u,p=ue(p)),u=p)))}return u}function Sa(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce,$t,Vn,zr;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=kr(p,$,C),U?U=void 0:U=e,U!==e){if(Q=[],T=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=si(),ie===e&&(ie=n,le=n,y++,ce=On(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Vn=er(),Vn!==e?(h=n,zr=ur(p,$,C,D,Vn),zr?zr=void 0:zr=e,zr!==e?($t=[$t,Vn,zr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=jr(),ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=T,D=zn(p,$,C,D,H),T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=si(),ie===e&&(ie=n,le=n,y++,ce=On(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Vn=er(),Vn!==e?(h=n,zr=ur(p,$,C,D,Vn),zr?zr=void 0:zr=e,zr!==e?($t=[$t,Vn,zr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=jr(),ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=T,D=zn(p,$,C,D,H),T=D):(n=T,T=e)):(n=T,T=e);else Q=e;Q!==e?(T=n,D=ge(),D!==e?T=t.substring(T,n):T=D,T!==e?(D=n,H=ji(),H!==e?(ie=er(),ie!==e?(h=n,le=w(p,$,C,Q,T,ie),le?le=void 0:le=e,le!==e?(ce=si(),ce===e&&(ce=null),ce!==e?(h=D,H=Lr(p,$,C,Q,T,ie),D=H):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e?(h=n,H=fr(p,$,C,Q,T,D),H?H=void 0:H=e,H!==e?(h=u,p=mo(p,$,C,Q,T,D),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Mi(){var u,p,g,$,A,C,U,Q,T;if(u=n,p=n,y++,g=n,$=ge(),$!==e?(A=On(),A===e&&(A=ui()),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g===e&&(g=mn()),y--,g===e?p=void 0:(n=p,p=e),p!==e){for(g=[],$=It();$!==e;)g.push($),$=It();if(g!==e){if($=n,A=[],C=n,Sn.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],T=It();T!==e;)Q.push(T),T=It();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;if(C!==e)for(;C!==e;)if(A.push(C),C=n,Sn.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],T=It();T!==e;)Q.push(T),T=It();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;else A=e;A!==e?$=t.substring($,n):$=A,$!==e?(A=li(),A!==e?(h=u,p=Qe(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e}else n=u,u=e;return u}function wr(){var u,p,g,$,A;return u=n,p=n,g=Mi(),g===e&&(g=n,h=n,$=Pr(),$?$=void 0:$=e,$!==e?(A=mn(),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e)),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=Fr()),u=p,u}function Br(){var u,p;return u=n,p=Ht(),p!==e&&(h=u,p=un(p)),u=p,u}function Pa(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,h=n,p=ni(),p?p=void 0:p=e,p!==e){if(g=n,$=[],A=n,C=n,y++,U=Mi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e)for(;A!==e;)$.push(A),A=n,C=n,y++,U=Mi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e);else $=e;if($!==e?g=t.substring(g,n):g=$,g!==e)if($=n,A=Mi(),A!==e&&(h=$,A=Pn(g,A)),$=A,$!==e){if(A=[],C=n,U=n,Q=[],T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);else Q=e;if(Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,T=wr(),T!==e&&(h=Q,T=cr(g,$,U,T)),Q=T,Q!==e?(h=C,U=Z(g,$,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=Mi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,T=wr(),y--,T===e?Q=void 0:(n=Q,Q=e),Q!==e?(T=Br(),T!==e?(h=C,U=Wr(g,$,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)),C!==e)for(;C!==e;){if(A.push(C),C=n,U=n,Q=[],T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);else Q=e;Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,T=wr(),T!==e&&(h=Q,T=cr(g,$,U,T)),Q=T,Q!==e?(h=C,U=Z(g,$,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=Mi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,T=wr(),y--,T===e?Q=void 0:(n=Q,Q=e),Q!==e?(T=Br(),T!==e?(h=C,U=Wr(g,$,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e))}else A=e;A!==e?(h=n,C=fn(g,$,A),C?C=void 0:C=e,C!==e?(h=u,p=ii(g,$,A),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e}else n=u,u=e;if(u===e){if(u=n,p=[],g=n,$=n,A=n,C=n,y++,U=wr(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?$=t.substring($,n):$=A,$!==e){for(A=[],C=wr();C!==e;)A.push(C),C=wr();A!==e?(h=g,$=Fn($,A),g=$):(n=g,g=e)}else n=g,g=e;if(g!==e)for(;g!==e;)if(p.push(g),g=n,$=n,A=n,C=n,y++,U=wr(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?$=t.substring($,n):$=A,$!==e){for(A=[],C=wr();C!==e;)A.push(C),C=wr();A!==e?(h=g,$=Fn($,A),g=$):(n=g,g=e)}else n=g,g=e;else p=e;if(p!==e&&(h=u,p=go(p)),u=p,u===e)if(u=[],p=Br(),p!==e)for(;p!==e;)u.push(p),p=Br();else u=e}return u}function Fa(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce,$t;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=rs(p,$,C),U?U=void 0:U=e,U!==e)if(h=n,Q=Di(p,$,C),Q?Q=void 0:Q=e,Q!==e){for(T=n,D=[],H=mn();H!==e;)D.push(H),H=mn();if(D!==e)if(H=Pa(),H!==e){for(ie=[],le=mn();le!==e;)ie.push(le),le=mn();ie!==e?(h=T,D=Zr(p,$,C,H),T=D):(n=T,T=e)}else n=T,T=e;else n=T,T=e;T!==e?(D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ji(),ie!==e?(le=er(),le!==e?(h=n,ce=w(p,$,C,T,D,le),ce?ce=void 0:ce=e,ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(h=H,ie=yo(p,$,C,T,D,le),H=ie):(n=H,H=e)):(n=H,H=e)):(n=H,H=e)):(n=H,H=e),H!==e?(h=n,ie=fr(p,$,C,T,D,H),ie?ie=void 0:ie=e,ie!==e?(h=u,p=ns(p,$,C,T,D,H),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ta(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e){if(U=[],Q=n,T=mn(),T===e&&(T=Sa(),T===e&&(T=Fa(),T===e&&(T=Ta(),T===e&&(T=Ra(),T===e&&(T=La(),T===e&&(T=ja(),T===e&&(T=Na(),T===e&&(T=Da(),T===e&&(T=Ia(),T===e&&(T=Oa(),T===e&&(T=qa()))))))))))),T!==e&&(h=Q,T=$o(p,$,C,T)),Q=T,Q===e){for(Q=n,T=n,D=[],H=It();H!==e;)D.push(H),H=It();if(D!==e?T=t.substring(T,n):T=D,T!==e){if(D=n,H=[],ie=Ht(),ie!==e)for(;ie!==e;)H.push(ie),ie=Ht();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,T=bo(p,$,C,T,D),Q=T):(n=Q,Q=e)}else n=Q,Q=e}for(;Q!==e;)if(U.push(Q),Q=n,T=mn(),T===e&&(T=Sa(),T===e&&(T=Fa(),T===e&&(T=Ta(),T===e&&(T=Ra(),T===e&&(T=La(),T===e&&(T=ja(),T===e&&(T=Na(),T===e&&(T=Da(),T===e&&(T=Ia(),T===e&&(T=Oa(),T===e&&(T=qa()))))))))))),T!==e&&(h=Q,T=$o(p,$,C,T)),Q=T,Q===e){for(Q=n,T=n,D=[],H=It();H!==e;)D.push(H),H=It();if(D!==e?T=t.substring(T,n):T=D,T!==e){if(D=n,H=[],ie=Ht(),ie!==e)for(;ie!==e;)H.push(ie),ie=Ht();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,T=bo(p,$,C,T,D),Q=T):(n=Q,Q=e)}else n=Q,Q=e}U!==e?(Q=n,T=ge(),T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(T=n,D=ji(),D!==e?(H=er(),H!==e?(h=n,ie=w(p,$,C,U,Q,H),ie?ie=void 0:ie=e,ie!==e?(le=si(),le===e&&(le=null),le!==e?(h=T,D=vo(p,$,C,U,Q,H),T=D):(n=T,T=e)):(n=T,T=e)):(n=T,T=e)):(n=T,T=e),T!==e?(h=n,D=fr(p,$,C,U,Q,T),D?D=void 0:D=e,D!==e?(h=u,p=Mn(p,$,C,U,Q,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function kh(){var u,p,g;if(u=n,p=[],g=Ht(),g!==e)for(;g!==e;)p.push(g),g=Ht();else p=e;return p!==e&&(h=u,p=Qt()),u=p,u}function q0(){var u,p,g,$;if(u=n,p=[],g=n,$=Tr(),$!==e&&(h=g,$=Ri()),g=$,g===e){if(g=[],cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt)),$!==e)for(;$!==e;)g.push($),cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt));else g=e;g===e&&(g=Ht())}if(g!==e){for(;g!==e;)if(p.push(g),g=n,$=Tr(),$!==e&&(h=g,$=Ri()),g=$,g===e){if(g=[],cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt)),$!==e)for(;$!==e;)g.push($),cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt));else g=e;g===e&&(g=Ht())}}else p=e;return p!==e&&(h=u,p=$a(p)),u=p,u}function Ia(){var u,p,g,$,A,C,U,Q,T,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e)if($=ui(),$!==e)if(A=ge(),A!==e)if(C=Tr(),C===e&&(C=null),C!==e)if(h=n,U=is(p,$),U?U=void 0:U=e,U!==e){for(Q=n,T=[],D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)T.push(D),D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(h=u,p=pn(p,$,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Oa(){var u,p,g,$,A,C,U,Q,T;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e?($=ui(),$!==e?(A=ge(),A!==e?(C=Tr(),C===e&&(C=null),C!==e?(h=n,U=oi(p,$),U?U=void 0:U=e,U!==e?(h=n,Q=ba(p,$),Q?Q=void 0:Q=e,Q!==e?(T=Pa(),T!==e?(h=u,p=va(p,$,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function qa(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e)if($=ui(),$!==e)if(A=ge(),A!==e)if(C=Tr(),C===e&&(C=hh()),C!==e){for(U=n,Q=[],T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);T!==e;)Q.push(T),T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=ka(p,$,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function wh(){var u,p,g,$,A,C,U,Q,T,D,H;for(u=n,p=[],g=jr();g!==e;)p.push(g),g=jr();if(p!==e)if(g=ai(),g!==e){if($=[],A=n,C=ge(),C!==e)if(t.substr(n,2)===Tn?(U=Tn,n+=2):(U=e,y===0&&oe(os)),U!==e)if(Q=ge(),Q!==e){if(T=[],D=jr(),D!==e)for(;D!==e;)T.push(D),D=jr();else T=e;T!==e?(D=ge(),D!==e?(H=ai(),H!==e?(h=A,C=pe(p,T),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;for(;A!==e;)if($.push(A),A=n,C=ge(),C!==e)if(t.substr(n,2)===Tn?(U=Tn,n+=2):(U=e,y===0&&oe(os)),U!==e)if(Q=ge(),Q!==e){if(T=[],D=jr(),D!==e)for(;D!==e;)T.push(D),D=jr();else T=e;T!==e?(D=ge(),D!==e?(H=ai(),H!==e?(h=A,C=pe(p,T),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;$!==e?(h=u,p=Ae(p,$),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function Na(){var u,p,g,$,A,C,U;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,6)===X?(g=X,n+=6):(g=e,y===0&&oe(xt)),g!==e?($=ge(),$!==e?(A=n,C=Ba(),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=wh(),U!==e?(h=u,p=wa(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Da(){var u,p,g,$,A,C,U,Q;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,7)===Ce?(g=Ce,n+=7):(g=e,y===0&&oe(it)),g!==e?($=ge(),$!==e?(A=n,C=er(),C===e&&(C=n,xa.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(Ca)),U!==e?(t.substr(n,2)===ss?(Q=ss,n+=2):(Q=e,y===0&&oe(Aa)),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e)),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=fi(),U!==e?(h=u,p=as(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Ra(){var u,p,g,$,A,C,U,Q,T,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=cs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=ls(p,g,$,C),U?U=void 0:U=e,U!==e){for(Q=n,T=[],D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)T.push(D),D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(h=u,p=Ea(p,g,$,C,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function La(){var u,p,g,$,A,C,U,Q,T;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=cs(),g!==e?($=er(),$!==e?(A=ge(),A!==e?(C=fi(),C!==e?(h=n,U=Jr(p,g,$,C),U?U=void 0:U=e,U!==e?(h=n,Q=At(p,g,$,C),Q?Q=void 0:Q=e,Q!==e?(T=Pa(),T!==e?(h=u,p=Pe(p,g,$,C,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function ja(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=cs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e){for(U=n,Q=[],T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);T!==e;)Q.push(T),T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=Li(p,g,$,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ba(){var u,p,g,$,A;if(u=n,p=n,_f.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(Xt)),g!==e){if($=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r)),A!==e)for(;A!==e;)$.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));else $=e;$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function N0(){var u,p;for(y++,u=[],nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));p!==e;)u.push(p),nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));return y--,u===e&&(p=e,y===0&&oe(dn)),u}function D0(){var u,p;for(y++,u=[],nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));p!==e;)u.push(p),nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));return y--,u===e&&(p=e,y===0&&oe(_a)),u}function ms(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Vi(u){return u.reduce((p,g)=>Array.isArray(g)?p.concat(Vi(g)):p.concat(g),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||ms(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(R=s(),R!==e&&n===t.length)return R;throw R!==e&&n<t.length&&oe(K()),Pf(_,v<t.length?t.charAt(v):null,v<t.length?ko(v,v+1):ko(v,v))}yd.exports={SyntaxError:Ci,parse:jv}});var kd=me((Ux,vd)=>{"use strict";function zv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ai(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ai)}zv(Ai,Error);Ai.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",b;for(b=0;b<m.parts.length;b++)d+=m.parts[b]instanceof Array?a(m.parts[b][0])+"-"+a(m.parts[b][1]):a(m.parts[b]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),b,x;for(b=0;b<m.length;b++)d[b]=l(m[b]);if(d.sort(),d.length>0){for(b=1,x=1;b<d.length;b++)d[b-1]!==d[b]&&(d[x]=d[b],x++);d.length=x}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mv(t,r){r=r!==void 0?r:{};var e={},i={Expression:ii},s=ii,a="A",l=Qe("A",!1),f="V",c=Qe("V",!1),m="R",d=Qe("R",!1),b="B",x=Qe("B",!1),k="I",E=Qe("I",!1),I="C",N=Qe("C",!1),M="D",Y=Qe("D",!1),se="E",$e=Qe("E",!1),he="K",ne=Qe("K",!1),be="L",xe=Qe("L",!1),ke="S",Le=Qe("S",!1),Ee="T",_e=Qe("T",!1),de="F",Ce=Qe("F",!1),it="U",X=Qe("U",!1),xt="Z",We=Qe("Z",!1),yt="N",et=Qe("N",!1),B="X",V=Qe("X",!1),Zt=/^[a-zA-Z]/,Dt=Pr([["a","z"],["A","Z"]],!1,!1),bt=/^[a-zA-Z0-9_\-]/,_t=Pr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ct=/^[ \t\f]/,ot=Pr([" "," ","\f"],!1,!1),Er=function(n){return!(r.allowed||[]).length||(r.allowed||[]).includes(n)},ye=Fr(),yr=function(n){return n==="A"},zt=function(n,h){return{content:h,type:"fcode",name:n}},_r=function(n){return n==="D"},Mt=function(n,h,F){return In(F)},Xn=function(n,h,F){return{content:h,type:"fcode",name:n,synonyms:F}},jn=function(n){return n==="V"},wn=function(n,h){return{content:h,type:"fcode",name:n}},He="<",Ge=Qe("<",!1),st=">",Ke=Qe(">",!1),Sr=function(){return fr()},ze="\xAB",Me=Qe("\xAB",!1),ft="\xBB",ct=Qe("\xBB",!1),Vt=function(n){return n},re=function(n){return n.code==="C"},ae=function(n,h){return h===n.end_tag},ve=function(n,h){return h},Ie=function(n,h,F){return F===n.end_tag},Nt=function(n,h,F){return{content:h,type:"fcode",name:n.code}},Ur="|",tt=Qe("|",!1),vt=function(n){return n},St=function(n){return n.code==="L"},Hr=function(n,h,F){return F},pt=function(n,h,F,v){return v===n.end_tag},xn=function(n,h,F,v){return{content:h,type:"fcode",name:n.code,meta:F}},Tt=";",an=Qe(";",!1),co=/^[ \xA0\u2001\t\f\u2008]/,Nr=Pr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Bn=function(n,h){return In([n,h])},ei=function(n){return[n]},po=function(n){return n==="X"},ti=function(n,h,F){return{content:h,type:"fcode",name:n,entry:F}},qi=function(n){return n==="S"},ri=function(n){return n==="Z"},Cn=/^[0-9]/,Ni=Pr([["0","9"]],!1,!1),An="0d",z=Qe("0d",!1),O=function(n){return parseInt(n,10)},G="0o",ee=Qe("0o",!1),te=function(n){return parseInt(n,8)},pe="0b",Ae=Qe("0b",!1),Oe=function(n){return parseInt(n,2)},je="0x",ht=Qe("0x",!1),Se=/^[0-9A-Fa-f]/,rt=Pr([["0","9"],["A","F"],["a","f"]],!1,!1),kt=function(){return parseInt(fr())},at=/^[A-Z ]/,qe=Pr([["A","Z"]," "],!1,!1),dt=function(){return fr()===fr().toUpperCase()},Ze=/^[a-z]/,Dr=Pr([["a","z"]],!1,!1),Rt=/^[a-z0-9]/,Ut=Pr([["a","z"],["0","9"]],!1,!1),Je=function(n){return fr()},Lt=function(n){return{type:"number",value:parseInt(n,10)}},Jt=function(n){return{type:"unicode_name",value:n}},$r=function(n){return{type:"html_named",value:n}},Rr=function(n){return n==="E"},br=function(n,h){return In(h)},ln=function(n,h){return{content:h||[],type:"fcode",name:n}},En=function(n){return n},_n=function(n,h){return{code:n,begin_tag:h,end_tag:_a(h)}},Gr=function(n){return n.code!=="C"},Kr=function(n,h,F){return F===n.end_tag},vr=function(n,h,F){return{content:h,type:"fcode",name:n.code}},o=0,ue=0,kr=[{line:1,column:1}],ur=0,zn=[],w=0,Lr;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function fr(){return t.substring(ue,o)}function mo(){return cr(ue,o)}function Sn(n,h){throw h=h!==void 0?h:cr(ue,o),fn([ni(n)],t.substring(ue,o),h)}function ho(n,h){throw h=h!==void 0?h:cr(ue,o),Wr(n,h)}function Qe(n,h){return{type:"literal",text:n,ignoreCase:h}}function Pr(n,h,F){return{type:"class",parts:n,inverted:h,ignoreCase:F}}function Fr(){return{type:"any"}}function un(){return{type:"end"}}function ni(n){return{type:"other",description:n}}function Pn(n){var h=kr[n],F;if(h)return h;for(F=n-1;!kr[F];)F--;for(h=kr[F],h={line:h.line,column:h.column};F<n;)t.charCodeAt(F)===10?(h.line++,h.column=1):h.column++,F++;return kr[n]=h,h}function cr(n,h){var F=Pn(n),v=Pn(h);return{start:{offset:n,line:F.line,column:F.column},end:{offset:h,line:v.line,column:v.column}}}function Z(n){o<ur||(o>ur&&(ur=o,zn=[]),zn.push(n))}function Wr(n,h){return new Ai(n,null,null,h)}function fn(n,h,F){return new Ai(Ai.buildMessage(n,h),n,h,F)}function ii(){var n,h;for(n=[],h=Fn(),h===e&&(h=Li(),h===e&&(h=Xt(),h===e&&(h=yo())));h!==e;)n.push(h),h=Fn(),h===e&&(h=Li(),h===e&&(h=Xt(),h===e&&(h=yo())));return n}function Fn(){var n;return n=ns(),n===e&&(n=va(),n===e&&(n=Ri(),n===e&&(n=$o(),n===e&&(n=Ea(),n===e&&(n=bo(),n===e&&(n=$a(),n===e&&(n=ba(),n===e&&(n=ka())))))))),n}function go(){var n;return t.charCodeAt(o)===65?(n=a,o++):(n=e,w===0&&Z(l)),n===e&&(t.charCodeAt(o)===86?(n=f,o++):(n=e,w===0&&Z(c)),n===e&&(t.charCodeAt(o)===82?(n=m,o++):(n=e,w===0&&Z(d)),n===e&&(t.charCodeAt(o)===66?(n=b,o++):(n=e,w===0&&Z(x)),n===e&&(t.charCodeAt(o)===73?(n=k,o++):(n=e,w===0&&Z(E)),n===e&&(t.charCodeAt(o)===67?(n=I,o++):(n=e,w===0&&Z(N)),n===e&&(t.charCodeAt(o)===68?(n=M,o++):(n=e,w===0&&Z(Y)),n===e&&(t.charCodeAt(o)===69?(n=se,o++):(n=e,w===0&&Z($e)),n===e&&(t.charCodeAt(o)===75?(n=he,o++):(n=e,w===0&&Z(ne)),n===e&&(t.charCodeAt(o)===76?(n=be,o++):(n=e,w===0&&Z(xe)),n===e&&(t.charCodeAt(o)===83?(n=ke,o++):(n=e,w===0&&Z(Le)),n===e&&(t.charCodeAt(o)===84?(n=Ee,o++):(n=e,w===0&&Z(_e)),n===e&&(t.charCodeAt(o)===70?(n=de,o++):(n=e,w===0&&Z(Ce)),n===e&&(t.charCodeAt(o)===85?(n=it,o++):(n=e,w===0&&Z(X)),n===e&&(t.charCodeAt(o)===90?(n=xt,o++):(n=e,w===0&&Z(We)),n===e&&(t.charCodeAt(o)===78?(n=yt,o++):(n=e,w===0&&Z(et)),n===e&&(t.charCodeAt(o)===88?(n=B,o++):(n=e,w===0&&Z(V)))))))))))))))))),n}function rs(){var n,h,F,v,_;if(n=o,h=o,Zt.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Dt)),F!==e){if(v=[],bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,w===0&&Z(_t)),_!==e)for(;_!==e;)v.push(_),bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,w===0&&Z(_t));else v=e;v!==e?(F=[F,v],h=F):(o=h,h=e)}else o=h,h=e;return h!==e?n=t.substring(n,o):n=h,n}function Di(){var n,h;for(n=[],Ct.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,w===0&&Z(ot));h!==e;)n.push(h),Ct.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,w===0&&Z(ot));return n}function Zr(){var n,h,F;return n=o,h=go(),h!==e?(ue=o,F=Er(h),F?F=void 0:F=e,F!==e?(h=[h,F],n=h):(o=n,n=e)):(o=n,n=e),n}function yo(){var n,h;return n=o,t.length>o?(h=t.charAt(o),o++):(h=e,w===0&&Z(ye)),h!==e?n=t.substring(n,o):n=h,n}function ns(){var n,h,F,v,_;return n=o,h=Jr(),h!==e?(ue=o,F=yr(h),F?F=void 0:F=e,F!==e?(v=Yt(),v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function $o(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=_r(h),F?F=void 0:F=e,F!==e){if(v=[],_=Yt(),_!==e)for(;_!==e;)v.push(_),_=Yt();else v=e;if(v!==e){if(_=o,y=cn(),y!==e){for(R=[],S=oi();S!==e;)R.push(S),S=oi();R!==e?(ue=_,y=Mt(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=Xn(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function bo(){var n,h,F,v,_,y;if(n=o,h=Jr(),h!==e)if(ue=o,F=jn(h),F?F=void 0:F=e,F!==e){if(v=o,_=[],y=Qt(),y!==e)for(;y!==e;)_.push(y),y=Qt();else _=e;_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=wn(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function vo(){var n;return t.charCodeAt(o)===66?(n=b,o++):(n=e,w===0&&Z(x)),n}function Mn(){var n,h,F,v,_;return n=o,h=o,F=o,w++,v=vo(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===62?(_=st,o++):(_=e,w===0&&Z(Ke)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,F=o,w++,v=vo(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(F=ze,o++):(F=e,w===0&&Z(Me)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===187?(_=ft,o++):(_=e,w===0&&Z(ct)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Qt(){var n,h,F,v,_,y,R,S;if(n=o,h=o,F=[],v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=Mn(),v===e&&(v=dn()))),v!==e)for(;v!==e;)F.push(v),v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=Mn(),v===e&&(v=dn())));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function Ri(){var n,h,F,v,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=At(),h!==e)if(ue=o,F=re(h),F?F=void 0:F=e,F!==e){if(v=[],_=o,y=o,R=[],S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;if(R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y,_!==e)for(;_!==e;){if(v.push(_),_=o,y=o,R=[],S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}else v=e;v!==e?(_=Pe(),_!==e?(ue=o,y=Ie(h,v,_),y?y=void 0:y=e,y!==e?(ue=n,h=Nt(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function cn(){var n;return t.charCodeAt(o)===124?(n=Ur,o++):(n=e,w===0&&Z(tt)),n}function Yt(){var n,h,F,v,_,y,R,S,q;if(n=o,h=o,F=[],v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,w++,y=cn(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=Pe(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Jr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,w++,q=nt(),w--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,w===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e))),v!==e)for(;v!==e;)F.push(v),v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,w++,y=cn(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=Pe(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Jr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,w++,q=nt(),w--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,w===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=vt(h)),n=h,n}function $a(){var n,h,F,v,_,y,R,S,q,J,P;if(n=o,h=At(),h!==e)if(ue=o,F=St(h),F?F=void 0:F=e,F!==e){if(v=[],_=Ri(),_===e&&(_=Yt()),_!==e)for(;_!==e;)v.push(_),_=Ri(),_===e&&(_=Yt());else v=e;if(v!==e){if(_=o,y=cn(),y!==e){for(R=o,S=[],q=o,J=o,w++,P=Pe(),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);q!==e;)S.push(q),q=o,J=o,w++,P=Pe(),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);S!==e?R=t.substring(R,o):R=S,R!==e?(ue=_,y=Hr(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=o,R=pt(h,v,_,y),R?R=void 0:R=e,R!==e?(ue=n,h=xn(h,v,_,y),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function is(){var n,h,F,v,_,y;if(n=o,h=[],F=o,v=o,w++,t.charCodeAt(o)===59?(_=Tt,o++):(_=e,w===0&&Z(an)),w--,_===e?v=void 0:(o=v,v=e),v!==e?(_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,w===0&&Z(ye)),y!==e?(v=[v,_,y],F=v):(o=F,F=e)):(o=F,F=e)):(o=F,F=e),F!==e)for(;F!==e;)h.push(F),F=o,v=o,w++,t.charCodeAt(o)===59?(_=Tt,o++):(_=e,w===0&&Z(an)),w--,_===e?v=void 0:(o=v,v=e),v!==e?(_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,w===0&&Z(ye)),y!==e?(v=[v,_,y],F=v):(o=F,F=e)):(o=F,F=e)):(o=F,F=e);else h=e;return h!==e?n=t.substring(n,o):n=h,n}function pn(){var n;return co.test(t.charAt(o))?(n=t.charAt(o),o++):(n=e,w===0&&Z(Nr)),n}function oi(){var n,h,F,v,_,y;if(n=o,h=is(),h!==e){for(F=[],v=pn();v!==e;)F.push(v),v=pn();if(F!==e)if(t.charCodeAt(o)===59?(v=Tt,o++):(v=e,w===0&&Z(an)),v!==e){for(_=[],y=pn();y!==e;)_.push(y),y=pn();_!==e?(y=oi(),y!==e?(ue=n,h=Bn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=is(),h!==e&&(ue=n,h=ei(h)),n=h),n}function ba(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=po(h),F?F=void 0:F=e,F!==e){for(v=[],_=Yt();_!==e;)v.push(_),_=Yt();if(v!==e){if(_=o,y=cn(),y!==e){for(R=[],S=oi();S!==e;)R.push(S),S=oi();R!==e?(ue=_,y=Mt(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ti(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function va(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=qi(h),F?F=void 0:F=e,F!==e){for(v=o,_=[],y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function ka(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=ri(h),F?F=void 0:F=e,F!==e){for(v=o,_=[],y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Tn(){var n,h,F;if(n=o,h=[],Cn.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Ni)),F!==e)for(;F!==e;)h.push(F),Cn.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Ni));else h=e;return h!==e?n=t.substring(n,o):n=h,n}function os(){var n,h,F;return n=o,t.substr(o,2)===An?(h=An,o+=2):(h=e,w===0&&Z(z)),h!==e?(F=Tn(),F!==e?(ue=n,h=O(F),n=h):(o=n,n=e)):(o=n,n=e),n}function wa(){var n,h,F;return n=o,t.substr(o,2)===G?(h=G,o+=2):(h=e,w===0&&Z(ee)),h!==e?(F=Tn(),F!==e?(ue=n,h=te(F),n=h):(o=n,n=e)):(o=n,n=e),n}function xa(){var n,h,F;return n=o,t.substr(o,2)===pe?(h=pe,o+=2):(h=e,w===0&&Z(Ae)),h!==e?(F=Tn(),F!==e?(ue=n,h=Oe(F),n=h):(o=n,n=e)):(o=n,n=e),n}function Ca(){var n,h,F,v,_,y;if(n=o,h=o,F=o,t.substr(o,2)===je?(v=je,o+=2):(v=e,w===0&&Z(ht)),v!==e){if(_=[],Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(rt)),y!==e)for(;y!==e;)_.push(y),Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(rt));else _=e;_!==e?(v=[v,_],F=v):(o=F,F=e)}else o=F,F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=kt()),n=h,n}function ss(){var n,h,F,v;if(n=o,h=o,F=[],at.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(qe)),v!==e)for(;v!==e;)F.push(v),at.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(qe));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e?(ue=o,F=dt(),F?F=void 0:F=e,F!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e),n}function Aa(){var n,h,F,v,_,y;if(n=o,h=o,F=o,Ze.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(Dr)),v!==e){if(_=[],Rt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(Ut)),y!==e)for(;y!==e;)_.push(y),Rt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(Ut));else _=e;_!==e?(v=[v,_],F=v):(o=F,F=e)}else o=F,F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Je(h)),n=h,n}function as(){var n,h,F;return n=o,h=Di(),h!==e?(F=wa(),F===e&&(F=os(),F===e&&(F=xa(),F===e&&(F=Ca(),F===e&&(F=Tn())))),F!==e?(ue=n,h=Lt(F),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(F=ss(),F!==e?(ue=n,h=Jt(F),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(F=Aa(),F!==e?(ue=n,h=$r(F),n=h):(o=n,n=e)):(o=n,n=e))),n}function ls(){var n,h,F,v,_,y;if(n=o,h=as(),h!==e){for(F=[],v=pn();v!==e;)F.push(v),v=pn();if(F!==e)if(t.charCodeAt(o)===59?(v=Tt,o++):(v=e,w===0&&Z(an)),v!==e){for(_=[],y=pn();y!==e;)_.push(y),y=pn();_!==e?(y=ls(),y!==e?(ue=n,h=Bn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=as(),h!==e&&(ue=n,h=ei(h)),n=h),n}function Ea(){var n,h,F,v,_;return n=o,h=Jr(),h!==e?(ue=o,F=Rr(h),F?F=void 0:F=e,F!==e?(v=o,_=ls(),_!==e&&(ue=v,_=br(h,_)),v=_,v===e&&(v=null),v!==e?(_=Pe(),_!==e?(ue=n,h=ln(h,v),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function Jr(){var n,h,F;return n=o,h=o,F=Zr(),F!==e?h=t.substring(h,o):h=F,h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(ue=n,h=En(h),n=h):(o=n,n=e)):(o=n,n=e),n}function At(){var n,h,F,v;return n=o,h=o,F=Zr(),F!==e?h=t.substring(h,o):h=F,h!==e?(F=o,t.charCodeAt(o)===60?(v=He,o++):(v=e,w===0&&Z(Ge)),v===e&&(t.charCodeAt(o)===171?(v=ze,o++):(v=e,w===0&&Z(Me))),v!==e?F=t.substring(F,o):F=v,F!==e?(ue=n,h=_n(h,F),n=h):(o=n,n=e)):(o=n,n=e),n}function Pe(){var n;return t.charCodeAt(o)===62?(n=st,o++):(n=e,w===0&&Z(Ke)),n===e&&(t.charCodeAt(o)===187?(n=ft,o++):(n=e,w===0&&Z(ct))),n}function Li(){var n,h,F,v,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=At(),h!==e)if(ue=o,F=Gr(h),F?F=void 0:F=e,F!==e){if(v=[],_=Fn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}for(;_!==e;)if(v.push(_),_=Fn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}v!==e?(_=Pe(),_!==e?(ue=o,y=Kr(h,v,_),y?y=void 0:y=e,y!==e?(ue=n,h=vr(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function _f(){var n,h,F,v,_;for(n=o,h=[],F=o,v=o,w++,_=Pe(),w--,_===e?v=void 0:(o=v,v=e),v!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,w===0&&Z(ye)),_!==e?(v=[v,_],F=v):(o=F,F=e)):(o=F,F=e);F!==e;)h.push(F),F=o,v=o,w++,_=Pe(),w--,_===e?v=void 0:(o=v,v=e),v!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,w===0&&Z(ye)),_!==e?(v=[v,_],F=v):(o=F,F=e)):(o=F,F=e);return h!==e?n=t.substring(n,o):n=h,n}function Xt(){var n,h,F,v,_,y,R;if(n=o,h=o,F=[],v=o,t.charCodeAt(o)===60?(_=He,o++):(_=e,w===0&&Z(Ge)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===62?(R=st,o++):(R=e,w===0&&Z(Ke)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,w===0&&Z(Me)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===187?(R=ft,o++):(R=e,w===0&&Z(ct)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=nt(),v===e&&(v=dn()))),v!==e)for(;v!==e;)F.push(v),v=o,t.charCodeAt(o)===60?(_=He,o++):(_=e,w===0&&Z(Ge)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===62?(R=st,o++):(R=e,w===0&&Z(Ke)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,w===0&&Z(Me)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===187?(R=ft,o++):(R=e,w===0&&Z(ct)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=nt(),v===e&&(v=dn())));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function dn(){var n,h,F,v,_,y,R,S;if(n=o,h=o,F=[],v=o,_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=At(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=nt(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v!==e)for(;v!==e;)F.push(v),v=o,_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=At(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=nt(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e);else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function nt(){var n,h,F,v,_;return n=o,h=o,F=o,w++,v=Zr(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===62?(_=st,o++):(_=e,w===0&&Z(Ke)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,F=o,w++,v=Zr(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(F=ze,o++):(F=e,w===0&&Z(Me)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===187?(_=ft,o++):(_=e,w===0&&Z(ct)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function In(n){return n.reduce((h,F)=>Array.isArray(F)?h.concat(In(F)):h.concat(F),[])}function _a(n){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[n]}if(Lr=s(),Lr!==e&&o===t.length)return Lr;throw Lr!==e&&o<t.length&&Z(un()),fn(zn,ur<t.length?t.charAt(ur):null,ur<t.length?cr(ur,ur+1):cr(ur,ur))}vd.exports={SyntaxError:Ai,parse:Mv}});var Pd=me((yC,Hv)=>{Hv.exports={name:"@podlite/schema",version:"0.0.32",description:"AST tools for Podlite markup language",main:"./src/index.ts",license:"MIT",funding:{type:"opencollective",url:"https://opencollective.com/podlite"},files:["lib/**/*.js","lib/**/*.d.ts","esm","schema/*","README.md","CHANGELOG.md"],engines:{node:">=14"},engineStrict:!0,publishConfig:{access:"public",main:"lib/index.js",types:"./lib/index.d.ts",module:"./esm/index.js"},scripts:{clean:"rm -rf lib esm *.tsbuildinfo",build:"run-s build:pegjs build_lib build:ast ",build_lib:"yarn g:build","build:ast":"ts-node scripts/make-ast-scheme.ts","build:pegjs":"pegjs -o src/grammar.js src/grammar.pegjs && pegjs -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegjs --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["markdown","podlite","markup","markup-language"],dependencies:{ajv:"^7.2.3",events:"^3.1.0","json-pointer":"^0.6.1",nanoid:"3.1.30",slugify:"^1.6.6"},devDependencies:{"@types/node":"^17.0.7",glob:"^7.2.0","npm-run-all":"^4.1.5",pegjs:"^0.10.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=me((YC,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Md=me((XC,zd)=>{"use strict";var Ys=Object.prototype.hasOwnProperty,Bd=Object.prototype.toString,qd=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Dd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Bd.call(r)==="[object Array]"},Rd=function(r){if(!r||Bd.call(r)!=="[object Object]")return!1;var e=Ys.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&Ys.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!i)return!1;var s;for(s in r);return typeof s>"u"||Ys.call(r,s)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(Ys.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};zd.exports=function t(){var r,e,i,s,a,l,f=arguments[0],c=1,m=arguments.length,d=!1;for(typeof f=="boolean"&&(d=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<m;++c)if(r=arguments[c],r!=null)for(e in r)i=jd(f,e),s=jd(r,e),f!==s&&(d&&s&&(Rd(s)||(a=Dd(s)))?(a?(a=!1,l=i&&Dd(i)?i:[]):l=i&&Rd(i)?i:{},Ld(f,{name:e,newValue:t(d,l,s)})):typeof s<"u"&&Ld(f,{name:e,newValue:s}));return f}});var Hd=me((rA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var F0={};jf(F0,{PluginRegister:()=>S0,default:()=>P0,parseMd:()=>ga,plugin:()=>ya});module.exports=Th(F0);var Fd=Ir(Hp()),Kv=Ir(Zp());var wC=Ir(Xp());var Sv=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let i=r.match(/(.+)\<\>/);return i?{type:"fcode",name:i[1]}:{name:r,type:"block"}}return{name:r,type:e}},ki=t=>{let r=Sv(t),{name:e,type:i}=r;return i&&i==="*"?{name:e}:e&&e==="*"?{type:i}:r};function Pv(t,r){function e(s){for(var a in s)if(s.hasOwnProperty(a))return!1;return!0}if(e(t))return!0;for(var i in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(i))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(i)){if(t[i]!==r[i])return!1}else return!1;return!0}var bn=(t,r)=>{return e.rule=t,e.isFor=i,e.fn=r,e;function e(){}function i(s){return typeof s=="string"?!1:Pv(t,s)}},mu=(t,r)=>{if(t instanceof Array)return t.reduce((i,s)=>(i.push(...mu(s)),i),[]);if(t instanceof Object){let i=[];for(var e in t)t.hasOwnProperty(e)&&i.push(bn(ki(e),t[e]));return i}return[bn(ki(t),r)]};var hu=Ir(require("crypto"),1);var ed="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Fv=128,wi,io,Tv=t=>{!wi||wi.length<t?(wi=Buffer.allocUnsafe(t*Fv),hu.default.randomFillSync(wi),io=0):io+t>wi.length&&(hu.default.randomFillSync(wi),io=0),io+=t};var td=(t=21)=>{Tv(t);let r="";for(let e=io-t;e<io;e++)r+=ed[wi[e]&63];return r};var oo=t=>({...t}),gu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},mr=(t,r)=>{let e="block",i=t.name,s={id:td(),margin:"",...t};var a=oo({type:e,...s,content:gu(r)});return a};var Ks=(t,r)=>oo({type:"fcode",...t,content:r}),yu=(t,r)=>oo({...t,type:"fcode",name:"L",content:gu(r)}),rd=t=>oo({type:"fcode",name:"Delete",content:gu(t)}),nd=t=>oo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ho=t=>oo({type:"verbatim",value:t});var id=t=>({type:"block",name:"caption",content:t}),od=(t,r)=>({type:"image",src:t,alt:r}),$u=({margin:t=""},r)=>mr({name:"root",margin:t},r);var sd=({value:t,location:r})=>mr({name:"formula",location:r},[Ho(t)]);var ad=(t,r={})=>{let e=t.config instanceof Array?t.config:[],i=[];r.config&&r.config.hasOwnProperty(t.name)&&(i=r.config[t.name]);let s={};[...e,...i].map(l=>{s.hasOwnProperty(l.name)||(s[l.name]=[]),l.type==="array"?s[l.name].push(...l.value):s[l.name].push(l.value)});let a=function(){};return a.exists=l=>s.hasOwnProperty(l),a.getAllValues=l=>a.exists(l)?s[l]:[],a.getFirstValue=l=>a.exists(l)?a.getAllValues(l)[0]:void 0,a.asHash=()=>s,a},sn=ad;var ld=(t,r)=>{let e=sn(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function ud(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(ud(e)):r.concat(e),[]):t}function Iv(t){function r(e,i){if(e==null)return e;if(e instanceof Array)return ud(e.map(l=>r(l,i))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},i);let s=t.slice();s.reverse();let a=s.findIndex(l=>l.isFor(e));if(a!==-1){let l=s.slice(a+1),f=l.findIndex(m=>m.isFor(e)),c=(m=e,d=i,b=r)=>{if(f!==-1)l[f].fn(m,d,b,()=>{});else return};return typeof s[a].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[a].fn(e,i,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,i)}}return r.rules=t,r}var Zs=Iv;var gt=(t,r)=>(e,i)=>(s,a,l)=>{e.writeRaw(t),s.content&&l(s.content,a),e.writeRaw(r)},Dn=()=>()=>()=>{},Rn=(t,r)=>(e,i,s)=>{if(e.content)return s(e.content,i)},Zn=t=>(r,e)=>(i,s,a)=>t(i,s)(r,e)(i,s,a);var bu=(t,r)=>{let e=mu(t).reverse();return(i,s)=>{let a=e.map(c=>bn(c.rule,c.fn(i,s))).reverse(),l=r(i,s),f;return(c,m,d)=>(f||(f=Zs([...d.rules,...a])),l(c,m,f))}},xi=(t,r)=>(e,i)=>{let s=t(e,i);return(a,l,f)=>{let c=sn(a,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(a,l,f),c!==void 0&&e.removeLevel(c)}};function Js(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function fd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[])}var Ws=t=>{let r=[];function e(s,a){if(s instanceof Array&&console.warn(`[podlite] Unsupported param for ${s}`),s instanceof Object){for(var l in s)s.hasOwnProperty(l)&&e(l,s[l]);return[]}r.push(bn(ki(s),a))}function i(s,a={}){if(s==null)return s;if(s instanceof Array)return fd(s.map(c=>i(c,a)));if(typeof s=="string")return s;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(s));if(f!==-1)return l[f].fn(s,a,i);{let c={...s};return c.hasOwnProperty("content")&&(c.content=i(c.content,a)),c}}return e(t),i.rules=r,i},qr=Ws;var cd=Ir(require("events")),vu=class extends cd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(r){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=r,this.ons=[],this.emit("ready")}escape(r){return r}write(r){return this.writeRaw(this.escape(r))}writeRaw(r){typeof this.output=="function"?this.output(r):console.log(r)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(r){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",r),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...r){return this.ons=this.ons||[],this.ons.unshift([...r]),this}endWrite=()=>{this.emit("end")};_add_nesting(r){}_remove_nesting(r){}addLevel(r){this._add_nesting(r)}removeLevel(r){this._remove_nesting(r)}},Qs=vu;var so=(t={},r=[])=>{let e=r,i=t.processor||pd,s=t.writer;return a.use=l,a.run=f,a.getPlugins=()=>e,a;function a(c){}function l(c,m){if(c instanceof Array)return so(t,[...e,...m]);if(c instanceof Object){for(var d in c)c.hasOwnProperty(d)&&l(d,c[d]);return a}return e.push(bn(ki(c),m)),a}function f(c,m){let d="",b=m||s||new Qs(Y=>{d=d+Y}),x=typeof b=="function"?new b(Y=>{d=d+Y}):b,k=typeof c=="string"?i(c):c,E=e.slice();E.reverse();let I=Zs(E.map(Y=>bn(Y.rule,Y.fn(x,i,k))).reverse()),N={};x.startWrite(k);let M=I(k,N);return x.endWrite(),{errors:x.errors,toString:()=>d,valueOf:()=>d,indexingTerms:x.INDEXTERMS,annotations:x.FOOTNOTES,defenitions:x.DEFINITIONS,interator:M}}};var dd=()=>t=>qr({"*":(e,i,s)=>(e.content&&(e.content=s(e.content,i,s)),delete e.location,e)})(t,{}),md=dd;var Ov=Ir(hd());var Td=Ir($d());var Bv=()=>t=>{let r=(i,s={})=>{if((i.type=="code"||i.type=="text")&&(i.margin&&s.margin&&s.margin.length>0&&s.margin.length==i.margin.length&&(i.type="para"),i.type==="code")){var a=new RegExp(`^[ ]{0,${i.margin.length}}`,"gm");i.text=i.text.replace(a,"")}if(i.type==="block"){s.margin=typeof i.margin!="string"?"":i.margin;let l={...s};l.nest=(l.nest||0)+1,i.content.map(f=>{r(f,s)})}};var e={};return t.forEach(i=>r(i,e)),t},bd=Bv;var Go=Ir(kd());var Vv=()=>t=>{let r=qr({":para":(e,i,s)=>qr({":text":(a,l)=>Go.parse(a.value),":verbatim":(a,l)=>Go.parse(a.value)})(e,{...i}),":block":(e,i,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,i,s)};let a=sn(e,i),l="name"in e&&e.name==="code",f="name"in e&&e.name==="data",c="name"in e&&e.name==="markdown",m="name"in e&&e.name==="picture",d="name"in e&&e.name==="formula",b=[...a.getAllValues("allow"),...l?["NONE"]:[]];if(Js(e.name)||(l||f||c||m||d)&&b.length==0)return e;let x=b.sort(),k=qr({":verbatim":(E,I)=>x.length==1&&x.includes("NONE")?E:Go.parse(E.value,{allowed:x}),":text":(E,I)=>Go.parse(E.value,{allowed:x}),":block":(E,I)=>r(E,{...I})});return{...e,content:k(e.content,{...i})}}});return r(t,{})},wd=Vv;var xd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^item(\d+)?/.exec(e.name);if(i&&(e.name="item",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/^(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),s.type==="para"&&(s.content=[s.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}r(e.content)}};return r(t),t};var Cd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^head(\d+)?/.exec(e.name);if(i&&(e.name="head",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Ad=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(a.config&&a.config.numbered),i=a=>{let l={};return a.reduce((c,m)=>(m.name==="defn"?r(l,m)?c[c.length-1].push(m):c.push([m]):c.push(m),l=m,c),[]).map(c=>c instanceof Array?c[0].name!=="defn"?c:{type:"list",list:c[0].name==="defn"?"variable":e(c[0])?"ordered":"itemized",level:1,content:[...c]}:(c.content&&c.type!=="fcode"&&(c.content=i(c.content)),c))};return t=(a=>Array.isArray(a)?i(a):(a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var Ed=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(sn(a,{}).exists("numbered")),i=(a,l=1)=>{let f=x=>x.length>0&&x[x.length-1].type==="list",c=x=>{if(f(x))return x[x.length-1]},m=(x,k)=>k.name&&k.name==="item"&&k.type&&k.type==="block"||k.type==="blankline",d={};return a.reduce((x,k)=>k.name==="item"&&k.type==="block"&&k.level<l?[...x,k]:(k.name==="item"&&k.type==="block"&&(!f(x)||k.level===l&&c(x).list!==(e(k)?"ordered":"itemized"))&&x.push({type:"list",level:k.level,content:[],list:e(k)?"ordered":"itemized"}),f(x)&&m(c(x),k)?c(x).content.push(k):x.push(k),x),[]).map(x=>(x.content&&x.type!=="fcode"&&(x.content=i(x.content,x.level+1)),x))};return t=(a=>(Array.isArray(a)?a=i(a):a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var _d=()=>t=>qr({defn:e=>{let i=e.content,s=i.length,a=[],l=!1;for(let f=0;f<s;f++){let c=i[f];if(c.type==="para"&&!l){let m=c.content[0],b=m.value.split(`
14
+ `," "," ","\f"],!1,!1),_a=us("space characters"),n=0,h=0,F=[{line:1,column:1}],v=0,_=[],y=0,R;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function S(){return t.substring(h,n)}function q(){return ko(h,n)}function J(u,p){throw p=p!==void 0?p:ko(h,n),Pf([us(u)],t.substring(h,n),p)}function P(u,p){throw p=p!==void 0?p:ko(h,n),mh(u,p)}function W(u,p){return{type:"literal",text:u,ignoreCase:p}}function L(u,p,g){return{type:"class",parts:u,inverted:p,ignoreCase:g}}function j(){return{type:"any"}}function K(){return{type:"end"}}function us(u){return{type:"other",description:u}}function Sf(u){var p=F[u],g;if(p)return p;for(g=u-1;!F[g];)g--;for(p=F[g],p={line:p.line,column:p.column};g<u;)t.charCodeAt(g)===10?(p.line++,p.column=1):p.column++,g++;return F[u]=p,p}function ko(u,p){var g=Sf(u),$=Sf(p);return{start:{offset:u,line:g.line,column:g.column},end:{offset:p,line:$.line,column:$.column}}}function oe(u){n<v||(n>v&&(v=n,_=[]),_.push(u))}function mh(u,p){return new Ci(u,null,null,p)}function Pf(u,p,g){return new Ci(Ci.buildMessage(u,p),u,p,g)}function Ff(){var u,p,g;for(u=n,p=[],g=Tf();g!==e;)p.push(g),g=Tf();return p!==e&&(h=u,p=a(p)),u=p,u}function Tf(){var u,p,g,$,A,C,U,Q;if(u=Sa(),u===e&&(u=Fa(),u===e&&(u=Ta(),u===e&&(u=Ra(),u===e&&(u=La(),u===e&&(u=ja(),u===e&&(u=Na(),u===e&&(u=Da(),u===e&&(u=Ia(),u===e&&(u=Oa(),u===e&&(u=qa(),u===e&&(u=n,h=n,p=l(),p?p=void 0:p=e,p!==e?(g=kh(),g===e&&(g=mn(),g===e&&(g=gh())),g!==e?(h=u,p=f(g),u=p):(n=u,u=e)):(n=u,u=e),u===e)))))))))))){if(u=n,p=n,g=[],$=n,A=n,y++,C=n,U=On(),U!==e?(Q=er(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=ui()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$!==e)for(;$!==e;)g.push($),$=n,A=n,y++,C=n,U=On(),U!==e?(Q=er(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=ui()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e);else g=e;g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=m()),u=p}return u}function It(){var u;return d.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(b)),u}function ge(){var u,p;for(u=[],x.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));p!==e;)u.push(p),x.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));return u}function si(){var u,p,g,$;for(u=n,p=n,g=[],$=It();$!==e;)g.push($),$=It();return g!==e?(E.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(I)),$!==e?(g=[g,$],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function T0(){var u,p,g,$;if(u=n,p=n,g=[],$=wo(),$!==e)for(;$!==e;)g.push($),$=wo();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=N(p),u=p):(n=u,u=e)):(n=u,u=e),u}function wo(){var u;return M.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(Y)),u}function ai(){var u,p,g;return t.charCodeAt(n)===10?(u=se,n++):(u=e,y===0&&oe($e)),u===e&&(u=n,t.charCodeAt(n)===13?(p=he,n++):(p=e,y===0&&oe(ne)),p!==e?(t.charCodeAt(n)===10?(g=se,n++):(g=e,y===0&&oe($e)),g===e&&(g=null),g!==e?(p=[p,g],u=p):(n=u,u=e)):(n=u,u=e)),u}function li(){var u,p;return u=ai(),u===e&&(u=n,y++,t.length>n?(p=t.charAt(n),n++):(p=e,y===0&&oe(c)),y--,p===e?u=void 0:(n=u,u=e)),u}function Tr(){var u,p,g,$;for(u=n,p=n,g=[],$=It();$!==e;)g.push($),$=It();return g!==e?(E.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(I)),$!==e?(g=[g,$],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function mn(){var u,p,g,$,A;for(u=n,p=n,g=n,$=[],A=It();A!==e;)$.push(A),A=It();return $!==e?(E.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(I)),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=be()),u=p,u}function fs(){var u;return t.substr(n,7)===xe?(u=xe,n+=7):(u=e,y===0&&oe(ke)),u}function ji(){var u;return t.substr(n,5)===Le?(u=Le,n+=5):(u=e,y===0&&oe(Ee)),u}function cs(){var u;return t.substr(n,5)===_e?(u=_e,n+=5):(u=e,y===0&&oe(de)),u}function If(){var u;return t.substr(n,7)===Ce?(u=Ce,n+=7):(u=e,y===0&&oe(it)),u}function Of(){var u;return t.substr(n,6)===X?(u=X,n+=6):(u=e,y===0&&oe(xt)),u}function er(){var u,p,g;return u=n,p=Ba(),p!==e?(h=n,g=We(p),g?g=void 0:g=e,g!==e?(h=u,p=yt(p),u=p):(n=u,u=e)):(n=u,u=e),u}function ui(){var u,p,g;return u=n,t.charCodeAt(n)===61?(p=et,n++):(p=e,y===0&&oe(B)),p!==e?(g=er(),g!==e?(h=u,p=yt(g),u=p):(n=u,u=e)):(n=u,u=e),u}function On(){var u;return u=fs(),u===e&&(u=ji(),u===e&&(u=cs(),u===e&&(u=If(),u===e&&(u=Of())))),u}function jr(){var u,p,g;if(y++,u=n,p=[],g=wo(),g!==e)for(;g!==e;)p.push(g),g=wo();else p=e;return p!==e?u=t.substring(u,n):u=p,y--,u===e&&(p=e,y===0&&oe(V)),u}function Ht(){var u,p,g,$,A,C,U;if(u=n,p=n,y++,g=n,$=ge(),$!==e?(A=If(),A===e&&(A=Of(),A===e&&(A=n,C=On(),C!==e?(U=er(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A===e&&(A=ui()))),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g===e&&(g=mn()),y--,g===e?p=void 0:(n=p,p=e),p!==e){if(g=n,$=[],A=jr(),A!==e)for(;A!==e;)$.push(A),A=jr();else $=e;$!==e?g=t.substring(g,n):g=$,g!==e?($=li(),$!==e?(h=u,p=Zt(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u}function hh(){var u,p,g,$;if(u=n,p=n,g=[],$=jr(),$!==e)for(;$!==e;)g.push($),$=jr();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=Zt(),u=p):(n=u,u=e)):(n=u,u=e),u}function gh(){var u,p,g,$,A,C;if(u=n,p=n,g=[],$=n,A=n,y++,C=li(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$!==e)for(;$!==e;)g.push($),$=n,A=n,y++,C=li(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e);else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=li(),g!==e?(h=u,p=Dt(),u=p):(n=u,u=e)):(n=u,u=e),u}function qf(){var u,p,g,$;if(u=n,p=Nf(),p!==e){if(g=[],$=It(),$!==e)for(;$!==e;)g.push($),$=It();else g=e;g!==e?($=qf(),$!==e?(h=u,p=bt(p,$),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Nf(),p!==e&&(h=u,p=_t(p)),u=p),u}function Nf(){var u,p;return u=n,p=wo(),p!==e?u=t.substring(u,n):u=p,u}function ps(){var u,p,g,$,A,C;if(u=n,p=zi(),p!==e){if(g=[],$=It(),$!==e)for(;$!==e;)g.push($),$=It();else g=e;g===e&&(g=n,$=ge(),$!==e?(t.charCodeAt(n)===44?(A=Ct,n++):(A=e,y===0&&oe(ot)),A!==e?(C=ge(),C!==e?($=[$,A,C],g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e)),g!==e?($=ps(),$!==e?(h=u,p=Er(p,$),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=zi(),p!==e&&(h=u,p=_t(p)),u=p),u}function yh(){var u,p,g,$,A;if(u=n,p=n,g=[],ye.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(yr)),$!==e)for(;$!==e;)g.push($),ye.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(yr));else g=e;if(g!==e){for($=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));A!==e;)$.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function Df(){var u,p,g,$,A,C;return u=n,p=yh(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?($=Ct,n++):($=e,y===0&&oe(ot)),$===e&&(t.substr(n,2)===Mt?($=Mt,n+=2):($=e,y===0&&oe(Xn))),$!==e?(A=ge(),A!==e?(C=zi(),C!==e?(h=u,p=jn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Rf(){var u,p,g,$,A,C;return u=n,p=Df(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?($=Ct,n++):($=e,y===0&&oe(ot)),$!==e?(A=ge(),A!==e?(C=Rf(),C!==e?(h=u,p=wn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u===e&&(u=n,p=Df(),p!==e&&(h=u,p=He(p)),u=p),u}function $h(){var u,p,g,$,A,C,U,Q,T,D;return u=n,p=ge(),p!==e?(t.charCodeAt(n)===58?(g=Ge,n++):(g=e,y===0&&oe(st)),g!==e?(t.substr(n,5)===Ke?($=Ke,n+=5):($=e,y===0&&oe(Sr)),$!==e?(A=n,t.charCodeAt(n)===60?(C=ze,n++):(C=e,y===0&&oe(Me)),C!==e?(U=ge(),U!==e?(Q=qf(),Q!==e?(T=ge(),T!==e?(t.charCodeAt(n)===62?(D=ft,n++):(D=e,y===0&&oe(ct)),D!==e?(h=A,C=Vt($,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e),A!==e?(C=ge(),C!==e?(h=u,p=re($,A),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function I0(){var u,p,g,$,A,C;for(u=n,p=[],g=n,$=ge(),$!==e?(A=zi(),A!==e?(C=ge(),C!==e?(h=g,$=ae(A),g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);g!==e;)p.push(g),g=n,$=ge(),$!==e?(A=zi(),A!==e?(C=ge(),C!==e?(h=g,$=ae(A),g=$):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);return p!==e&&(h=u,p=ve(p)),u=p,u===e&&(u=n,p=zi(),p!==e&&(h=u,p=Ie(p)),u=p,u===e&&(u=n,p=ge(),p!==e&&(h=u,p=Nt()),u=p)),u}function Bi(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce;if(u=$h(),u===e)if(u=n,p=ge(),p!==e)if(t.charCodeAt(n)===58?(g=Ge,n++):(g=e,y===0&&oe(st)),g!==e)if(Ur.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(tt)),$===e&&($=null),$!==e)if(A=Ba(),A!==e){if(C=n,t.charCodeAt(n)===123?(U=vt,n++):(U=e,y===0&&oe(St)),U!==e?(Q=ge(),Q!==e?(T=Rf(),T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===125?(H=Hr,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=xn($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e){if(C=n,t.charCodeAt(n)===91?(U=Tt,n++):(U=e,y===0&&oe(an)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=ps(),D!==e&&(h=T,D=co($,A,D)),T=D,T===e){if(T=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Nr,n++):(ce=e,y===0&&oe(Bn)),ce===e&&(t.charCodeAt(n)===91?(ce=Tt,n++):(ce=e,y===0&&oe(an))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Nr,n++):(ce=e,y===0&&oe(Bn)),ce===e&&(t.charCodeAt(n)===91?(ce=Tt,n++):(ce=e,y===0&&oe(an))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=T,D=ei($,A)),T=D}T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===93?(H=Nr,n++):(H=e,y===0&&oe(Bn)),H!==e?(h=C,U=po($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e&&(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Me)),U!==e?(Q=ge(),Q!==e?(T=ps(),T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ft,n++):(H=e,y===0&&oe(ct)),H!==e?(h=C,U=ti($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e)){if(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Me)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=[],H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Me)),le===e&&(t.charCodeAt(n)===62?(le=ft,n++):(le=e,y===0&&oe(ct))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e),H!==e)for(;H!==e;)D.push(H),H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Me)),le===e&&(t.charCodeAt(n)===62?(le=ft,n++):(le=e,y===0&&oe(ct))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e);else D=e;D!==e?T=t.substring(T,n):T=D,T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ft,n++):(H=e,y===0&&oe(ct)),H!==e?(h=C,U=qi($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e){if(C=n,t.charCodeAt(n)===40?(U=ri,n++):(U=e,y===0&&oe(Cn)),U!==e)if(Q=ge(),Q!==e){if(T=n,D=ps(),D!==e&&(h=T,D=Ni($,A,D)),T=D,T===e){if(T=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=An,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ri,n++):(ce=e,y===0&&oe(Cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=An,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ri,n++):(ce=e,y===0&&oe(Cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=T,D=O($,A)),T=D}T!==e?(D=ge(),D!==e?(t.charCodeAt(n)===41?(H=An,n++):(H=e,y===0&&oe(z)),H!==e?(h=C,U=G($,A,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;C===e&&(C=n,U=ge(),U!==e&&(h=C,U=ee($,A)),C=U)}}}C!==e?(U=ge(),U!==e?(h=u,p=te($,A,C),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function fi(){var u,p,g,$,A,C,U,Q,T,D;for(u=n,p=[],g=Bi();g!==e;)p.push(g),g=Bi();if(p!==e)if(g=ai(),g!==e){if($=[],A=n,t.charCodeAt(n)===61?(C=et,n++):(C=e,y===0&&oe(B)),C!==e)if(U=ge(),U!==e){if(Q=[],T=Bi(),T!==e)for(;T!==e;)Q.push(T),T=Bi();else Q=e;Q!==e?(T=ge(),T!==e?(D=ai(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;for(;A!==e;)if($.push(A),A=n,t.charCodeAt(n)===61?(C=et,n++):(C=e,y===0&&oe(B)),C!==e)if(U=ge(),U!==e){if(Q=[],T=Bi(),T!==e)for(;T!==e;)Q.push(T),T=Bi();else Q=e;Q!==e?(T=ge(),T!==e?(D=ai(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;$!==e?(h=u,p=Ae(p,$),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function O0(){var u,p,g,$;if(u=n,p=n,g=[],Oe.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(je)),$!==e)for(;$!==e;)g.push($),Oe.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(je));else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=ht(p)),u=p,u}function Lf(){var u,p,g;if(u=n,p=[],Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(rt)),g!==e)for(;g!==e;)p.push(g),Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(rt));else p=e;return p!==e?u=t.substring(u,n):u=p,u}function ds(){var u,p,g,$,A;if(u=n,p=n,kt.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(at)),g===e&&(g=null),g!==e){if($=[],Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(rt)),A!==e)for(;A!==e;)$.push(A),Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(rt));else $=e;$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function bh(){var u,p;return u=n,t.substr(n,4)===qe?(p=qe,n+=4):(p=e,y===0&&oe(dt)),p!==e&&(h=u,p=Ze()),u=p,u===e&&(u=n,t.substr(n,5)===Dr?(p=Dr,n+=5):(p=e,y===0&&oe(Rt)),p!==e&&(h=u,p=Ut()),u=p),u}function vh(){var u,p,g,$,A,C;return u=n,p=n,g=ds(),g!==e?($=n,t.charCodeAt(n)===46?(A=Je,n++):(A=e,y===0&&oe(Lt)),A!==e?(C=Lf(),C!==e?(A=[A,C],$=A):(n=$,$=e)):(n=$,$=e),$===e&&($=null),$!==e?(Jt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe($r)),A!==e?(C=ds(),C!==e?(g=[g,$,A,C],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u===e&&(u=n,p=n,g=ds(),g!==e?(t.charCodeAt(n)===46?($=Je,n++):($=e,y===0&&oe(Lt)),$!==e?(A=Lf(),A!==e?(g=[g,$,A],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p),u}function zi(){var u,p,g,$,A;if(u=n,Rr.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(br)),p!==e){for(g=n,$=[],ln.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(En));A!==e;)$.push(A),ln.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(En));$!==e?g=t.substring(g,n):g=$,g!==e?(Rr.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(br)),$!==e?(h=u,p=ht(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;if(u===e){if(u=n,_n.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Gr)),p!==e){for(g=n,$=[],Kr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(vr));A!==e;)$.push(A),Kr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(vr));$!==e?g=t.substring(g,n):g=$,g!==e?(_n.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Gr)),$!==e?(h=u,p=ht(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;u===e&&(u=bh(),u===e&&(u=n,p=vh(),p!==e&&(h=u,p=o(p)),u=p,u===e&&(u=n,p=ds(),p!==e&&(h=u,p=ue(p)),u=p)))}return u}function Sa(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce,$t,Vn,zr;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=kr(p,$,C),U?U=void 0:U=e,U!==e){if(Q=[],T=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=si(),ie===e&&(ie=n,le=n,y++,ce=On(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Vn=er(),Vn!==e?(h=n,zr=ur(p,$,C,D,Vn),zr?zr=void 0:zr=e,zr!==e?($t=[$t,Vn,zr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=jr(),ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=T,D=zn(p,$,C,D,H),T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=si(),ie===e&&(ie=n,le=n,y++,ce=On(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Vn=er(),Vn!==e?(h=n,zr=ur(p,$,C,D,Vn),zr?zr=void 0:zr=e,zr!==e?($t=[$t,Vn,zr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=jr(),ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=T,D=zn(p,$,C,D,H),T=D):(n=T,T=e)):(n=T,T=e);else Q=e;Q!==e?(T=n,D=ge(),D!==e?T=t.substring(T,n):T=D,T!==e?(D=n,H=ji(),H!==e?(ie=er(),ie!==e?(h=n,le=w(p,$,C,Q,T,ie),le?le=void 0:le=e,le!==e?(ce=si(),ce===e&&(ce=null),ce!==e?(h=D,H=Lr(p,$,C,Q,T,ie),D=H):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e?(h=n,H=fr(p,$,C,Q,T,D),H?H=void 0:H=e,H!==e?(h=u,p=mo(p,$,C,Q,T,D),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Mi(){var u,p,g,$,A,C,U,Q,T;if(u=n,p=n,y++,g=n,$=ge(),$!==e?(A=On(),A===e&&(A=ui()),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e),g===e&&(g=mn()),y--,g===e?p=void 0:(n=p,p=e),p!==e){for(g=[],$=It();$!==e;)g.push($),$=It();if(g!==e){if($=n,A=[],C=n,Sn.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],T=It();T!==e;)Q.push(T),T=It();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;if(C!==e)for(;C!==e;)if(A.push(C),C=n,Sn.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],T=It();T!==e;)Q.push(T),T=It();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;else A=e;A!==e?$=t.substring($,n):$=A,$!==e?(A=li(),A!==e?(h=u,p=Qe(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e}else n=u,u=e;return u}function wr(){var u,p,g,$,A;return u=n,p=n,g=Mi(),g===e&&(g=n,h=n,$=Pr(),$?$=void 0:$=e,$!==e?(A=mn(),A!==e?($=[$,A],g=$):(n=g,g=e)):(n=g,g=e)),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=Fr()),u=p,u}function Br(){var u,p;return u=n,p=Ht(),p!==e&&(h=u,p=un(p)),u=p,u}function Pa(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,h=n,p=ni(),p?p=void 0:p=e,p!==e){if(g=n,$=[],A=n,C=n,y++,U=Mi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e)for(;A!==e;)$.push(A),A=n,C=n,y++,U=Mi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e);else $=e;if($!==e?g=t.substring(g,n):g=$,g!==e)if($=n,A=Mi(),A!==e&&(h=$,A=Pn(g,A)),$=A,$!==e){if(A=[],C=n,U=n,Q=[],T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);else Q=e;if(Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,T=wr(),T!==e&&(h=Q,T=cr(g,$,U,T)),Q=T,Q!==e?(h=C,U=Z(g,$,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=Mi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,T=wr(),y--,T===e?Q=void 0:(n=Q,Q=e),Q!==e?(T=Br(),T!==e?(h=C,U=Wr(g,$,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)),C!==e)for(;C!==e;){if(A.push(C),C=n,U=n,Q=[],T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=n,D=n,y++,H=wr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Br(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);else Q=e;Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,T=wr(),T!==e&&(h=Q,T=cr(g,$,U,T)),Q=T,Q!==e?(h=C,U=Z(g,$,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=Mi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,T=wr(),y--,T===e?Q=void 0:(n=Q,Q=e),Q!==e?(T=Br(),T!==e?(h=C,U=Wr(g,$,T),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e))}else A=e;A!==e?(h=n,C=fn(g,$,A),C?C=void 0:C=e,C!==e?(h=u,p=ii(g,$,A),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e}else n=u,u=e;if(u===e){if(u=n,p=[],g=n,$=n,A=n,C=n,y++,U=wr(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?$=t.substring($,n):$=A,$!==e){for(A=[],C=wr();C!==e;)A.push(C),C=wr();A!==e?(h=g,$=Fn($,A),g=$):(n=g,g=e)}else n=g,g=e;if(g!==e)for(;g!==e;)if(p.push(g),g=n,$=n,A=n,C=n,y++,U=wr(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Br(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?$=t.substring($,n):$=A,$!==e){for(A=[],C=wr();C!==e;)A.push(C),C=wr();A!==e?(h=g,$=Fn($,A),g=$):(n=g,g=e)}else n=g,g=e;else p=e;if(p!==e&&(h=u,p=go(p)),u=p,u===e)if(u=[],p=Br(),p!==e)for(;p!==e;)u.push(p),p=Br();else u=e}return u}function Fa(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le,ce,$t;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=rs(p,$,C),U?U=void 0:U=e,U!==e)if(h=n,Q=Di(p,$,C),Q?Q=void 0:Q=e,Q!==e){for(T=n,D=[],H=mn();H!==e;)D.push(H),H=mn();if(D!==e)if(H=Pa(),H!==e){for(ie=[],le=mn();le!==e;)ie.push(le),le=mn();ie!==e?(h=T,D=Zr(p,$,C,H),T=D):(n=T,T=e)}else n=T,T=e;else n=T,T=e;T!==e?(D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ji(),ie!==e?(le=er(),le!==e?(h=n,ce=w(p,$,C,T,D,le),ce?ce=void 0:ce=e,ce!==e?($t=si(),$t===e&&($t=null),$t!==e?(h=H,ie=yo(p,$,C,T,D,le),H=ie):(n=H,H=e)):(n=H,H=e)):(n=H,H=e)):(n=H,H=e),H!==e?(h=n,ie=fr(p,$,C,T,D,H),ie?ie=void 0:ie=e,ie!==e?(h=u,p=ns(p,$,C,T,D,H),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ta(){var u,p,g,$,A,C,U,Q,T,D,H,ie,le;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=fs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e){if(U=[],Q=n,T=mn(),T===e&&(T=Sa(),T===e&&(T=Fa(),T===e&&(T=Ta(),T===e&&(T=Ra(),T===e&&(T=La(),T===e&&(T=ja(),T===e&&(T=Na(),T===e&&(T=Da(),T===e&&(T=Ia(),T===e&&(T=Oa(),T===e&&(T=qa()))))))))))),T!==e&&(h=Q,T=$o(p,$,C,T)),Q=T,Q===e){for(Q=n,T=n,D=[],H=It();H!==e;)D.push(H),H=It();if(D!==e?T=t.substring(T,n):T=D,T!==e){if(D=n,H=[],ie=Ht(),ie!==e)for(;ie!==e;)H.push(ie),ie=Ht();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,T=bo(p,$,C,T,D),Q=T):(n=Q,Q=e)}else n=Q,Q=e}for(;Q!==e;)if(U.push(Q),Q=n,T=mn(),T===e&&(T=Sa(),T===e&&(T=Fa(),T===e&&(T=Ta(),T===e&&(T=Ra(),T===e&&(T=La(),T===e&&(T=ja(),T===e&&(T=Na(),T===e&&(T=Da(),T===e&&(T=Ia(),T===e&&(T=Oa(),T===e&&(T=qa()))))))))))),T!==e&&(h=Q,T=$o(p,$,C,T)),Q=T,Q===e){for(Q=n,T=n,D=[],H=It();H!==e;)D.push(H),H=It();if(D!==e?T=t.substring(T,n):T=D,T!==e){if(D=n,H=[],ie=Ht(),ie!==e)for(;ie!==e;)H.push(ie),ie=Ht();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,T=bo(p,$,C,T,D),Q=T):(n=Q,Q=e)}else n=Q,Q=e}U!==e?(Q=n,T=ge(),T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(T=n,D=ji(),D!==e?(H=er(),H!==e?(h=n,ie=w(p,$,C,U,Q,H),ie?ie=void 0:ie=e,ie!==e?(le=si(),le===e&&(le=null),le!==e?(h=T,D=vo(p,$,C,U,Q,H),T=D):(n=T,T=e)):(n=T,T=e)):(n=T,T=e)):(n=T,T=e),T!==e?(h=n,D=fr(p,$,C,U,Q,T),D?D=void 0:D=e,D!==e?(h=u,p=Mn(p,$,C,U,Q,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function kh(){var u,p,g;if(u=n,p=[],g=Ht(),g!==e)for(;g!==e;)p.push(g),g=Ht();else p=e;return p!==e&&(h=u,p=Qt()),u=p,u}function q0(){var u,p,g,$;if(u=n,p=[],g=n,$=Tr(),$!==e&&(h=g,$=Ri()),g=$,g===e){if(g=[],cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt)),$!==e)for(;$!==e;)g.push($),cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt));else g=e;g===e&&(g=Ht())}if(g!==e){for(;g!==e;)if(p.push(g),g=n,$=Tr(),$!==e&&(h=g,$=Ri()),g=$,g===e){if(g=[],cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt)),$!==e)for(;$!==e;)g.push($),cn.test(t.charAt(n))?($=t.charAt(n),n++):($=e,y===0&&oe(Yt));else g=e;g===e&&(g=Ht())}}else p=e;return p!==e&&(h=u,p=$a(p)),u=p,u}function Ia(){var u,p,g,$,A,C,U,Q,T,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e)if($=ui(),$!==e)if(A=ge(),A!==e)if(C=Tr(),C===e&&(C=null),C!==e)if(h=n,U=is(p,$),U?U=void 0:U=e,U!==e){for(Q=n,T=[],D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)T.push(D),D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(h=u,p=pn(p,$,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Oa(){var u,p,g,$,A,C,U,Q,T;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e?($=ui(),$!==e?(A=ge(),A!==e?(C=Tr(),C===e&&(C=null),C!==e?(h=n,U=oi(p,$),U?U=void 0:U=e,U!==e?(h=n,Q=ba(p,$),Q?Q=void 0:Q=e,Q!==e?(T=Pa(),T!==e?(h=u,p=va(p,$,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function qa(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,$=On(),y--,$===e?g=void 0:(n=g,g=e),g!==e)if($=ui(),$!==e)if(A=ge(),A!==e)if(C=Tr(),C===e&&(C=hh()),C!==e){for(U=n,Q=[],T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);T!==e;)Q.push(T),T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=ka(p,$,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function wh(){var u,p,g,$,A,C,U,Q,T,D,H;for(u=n,p=[],g=jr();g!==e;)p.push(g),g=jr();if(p!==e)if(g=ai(),g!==e){if($=[],A=n,C=ge(),C!==e)if(t.substr(n,2)===Tn?(U=Tn,n+=2):(U=e,y===0&&oe(os)),U!==e)if(Q=ge(),Q!==e){if(T=[],D=jr(),D!==e)for(;D!==e;)T.push(D),D=jr();else T=e;T!==e?(D=ge(),D!==e?(H=ai(),H!==e?(h=A,C=pe(p,T),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;for(;A!==e;)if($.push(A),A=n,C=ge(),C!==e)if(t.substr(n,2)===Tn?(U=Tn,n+=2):(U=e,y===0&&oe(os)),U!==e)if(Q=ge(),Q!==e){if(T=[],D=jr(),D!==e)for(;D!==e;)T.push(D),D=jr();else T=e;T!==e?(D=ge(),D!==e?(H=ai(),H!==e?(h=A,C=pe(p,T),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;$!==e?(h=u,p=Ae(p,$),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function Na(){var u,p,g,$,A,C,U;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,6)===X?(g=X,n+=6):(g=e,y===0&&oe(xt)),g!==e?($=ge(),$!==e?(A=n,C=Ba(),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=wh(),U!==e?(h=u,p=wa(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Da(){var u,p,g,$,A,C,U,Q;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,7)===Ce?(g=Ce,n+=7):(g=e,y===0&&oe(it)),g!==e?($=ge(),$!==e?(A=n,C=er(),C===e&&(C=n,xa.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(Ca)),U!==e?(t.substr(n,2)===ss?(Q=ss,n+=2):(Q=e,y===0&&oe(Aa)),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e)),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=fi(),U!==e?(h=u,p=as(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Ra(){var u,p,g,$,A,C,U,Q,T,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=cs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e)if(h=n,U=ls(p,g,$,C),U?U=void 0:U=e,U!==e){for(Q=n,T=[],D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)T.push(D),D=n,H=n,y++,ie=Tr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Ht(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);T!==e?Q=t.substring(Q,n):Q=T,Q!==e?(h=u,p=Ea(p,g,$,C,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function La(){var u,p,g,$,A,C,U,Q,T;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=cs(),g!==e?($=er(),$!==e?(A=ge(),A!==e?(C=fi(),C!==e?(h=n,U=Jr(p,g,$,C),U?U=void 0:U=e,U!==e?(h=n,Q=At(p,g,$,C),Q?Q=void 0:Q=e,Q!==e?(T=Pa(),T!==e?(h=u,p=Pe(p,g,$,C,T),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function ja(){var u,p,g,$,A,C,U,Q,T,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=cs(),g!==e)if($=er(),$!==e)if(A=ge(),A!==e)if(C=fi(),C!==e){for(U=n,Q=[],T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);T!==e;)Q.push(T),T=n,D=n,y++,H=Tr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Ht(),H!==e?(D=[D,H],T=D):(n=T,T=e)):(n=T,T=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=Li(p,g,$,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ba(){var u,p,g,$,A;if(u=n,p=n,_f.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(Xt)),g!==e){if($=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r)),A!==e)for(;A!==e;)$.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(_r));else $=e;$!==e?(g=[g,$],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function N0(){var u,p;for(y++,u=[],nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));p!==e;)u.push(p),nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));return y--,u===e&&(p=e,y===0&&oe(dn)),u}function D0(){var u,p;for(y++,u=[],nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));p!==e;)u.push(p),nt.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(In));return y--,u===e&&(p=e,y===0&&oe(_a)),u}function ms(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Vi(u){return u.reduce((p,g)=>Array.isArray(g)?p.concat(Vi(g)):p.concat(g),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||ms(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(R=s(),R!==e&&n===t.length)return R;throw R!==e&&n<t.length&&oe(K()),Pf(_,v<t.length?t.charAt(v):null,v<t.length?ko(v,v+1):ko(v,v))}yd.exports={SyntaxError:Ci,parse:jv}});var kd=me((Ux,vd)=>{"use strict";function zv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ai(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ai)}zv(Ai,Error);Ai.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",b;for(b=0;b<m.parts.length;b++)d+=m.parts[b]instanceof Array?a(m.parts[b][0])+"-"+a(m.parts[b][1]):a(m.parts[b]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),b,x;for(b=0;b<m.length;b++)d[b]=l(m[b]);if(d.sort(),d.length>0){for(b=1,x=1;b<d.length;b++)d[b-1]!==d[b]&&(d[x]=d[b],x++);d.length=x}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mv(t,r){r=r!==void 0?r:{};var e={},i={Expression:ii},s=ii,a="A",l=Qe("A",!1),f="V",c=Qe("V",!1),m="R",d=Qe("R",!1),b="B",x=Qe("B",!1),k="I",E=Qe("I",!1),I="C",N=Qe("C",!1),M="D",Y=Qe("D",!1),se="E",$e=Qe("E",!1),he="K",ne=Qe("K",!1),be="L",xe=Qe("L",!1),ke="S",Le=Qe("S",!1),Ee="T",_e=Qe("T",!1),de="F",Ce=Qe("F",!1),it="U",X=Qe("U",!1),xt="Z",We=Qe("Z",!1),yt="N",et=Qe("N",!1),B="X",V=Qe("X",!1),Zt=/^[a-zA-Z]/,Dt=Pr([["a","z"],["A","Z"]],!1,!1),bt=/^[a-zA-Z0-9_\-]/,_t=Pr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ct=/^[ \t\f]/,ot=Pr([" "," ","\f"],!1,!1),Er=function(n){return!(r.allowed||[]).length||(r.allowed||[]).includes(n)},ye=Fr(),yr=function(n){return n==="A"},zt=function(n,h){return{content:h,type:"fcode",name:n}},_r=function(n){return n==="D"},Mt=function(n,h,F){return In(F)},Xn=function(n,h,F){return{content:h,type:"fcode",name:n,synonyms:F}},jn=function(n){return n==="V"},wn=function(n,h){return{content:h,type:"fcode",name:n}},He="<",Ge=Qe("<",!1),st=">",Ke=Qe(">",!1),Sr=function(){return fr()},ze="\xAB",Me=Qe("\xAB",!1),ft="\xBB",ct=Qe("\xBB",!1),Vt=function(n){return n},re=function(n){return n.code==="C"},ae=function(n,h){return h===n.end_tag},ve=function(n,h){return h},Ie=function(n,h,F){return F===n.end_tag},Nt=function(n,h,F){return{content:h,type:"fcode",name:n.code}},Ur="|",tt=Qe("|",!1),vt=function(n){return n},St=function(n){return n.code==="L"},Hr=function(n,h,F){return F},pt=function(n,h,F,v){return v===n.end_tag},xn=function(n,h,F,v){return{content:h,type:"fcode",name:n.code,meta:F}},Tt=";",an=Qe(";",!1),co=/^[ \xA0\u2001\t\f\u2008]/,Nr=Pr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Bn=function(n,h){return In([n,h])},ei=function(n){return[n]},po=function(n){return n==="X"},ti=function(n,h,F){return{content:h,type:"fcode",name:n,entry:F}},qi=function(n){return n==="S"},ri=function(n){return n==="Z"},Cn=/^[0-9]/,Ni=Pr([["0","9"]],!1,!1),An="0d",z=Qe("0d",!1),O=function(n){return parseInt(n,10)},G="0o",ee=Qe("0o",!1),te=function(n){return parseInt(n,8)},pe="0b",Ae=Qe("0b",!1),Oe=function(n){return parseInt(n,2)},je="0x",ht=Qe("0x",!1),Se=/^[0-9A-Fa-f]/,rt=Pr([["0","9"],["A","F"],["a","f"]],!1,!1),kt=function(){return parseInt(fr())},at=/^[A-Z ]/,qe=Pr([["A","Z"]," "],!1,!1),dt=function(){return fr()===fr().toUpperCase()},Ze=/^[a-z]/,Dr=Pr([["a","z"]],!1,!1),Rt=/^[a-z0-9]/,Ut=Pr([["a","z"],["0","9"]],!1,!1),Je=function(n){return fr()},Lt=function(n){return{type:"number",value:parseInt(n,10)}},Jt=function(n){return{type:"unicode_name",value:n}},$r=function(n){return{type:"html_named",value:n}},Rr=function(n){return n==="E"},br=function(n,h){return In(h)},ln=function(n,h){return{content:h||[],type:"fcode",name:n}},En=function(n){return n},_n=function(n,h){return{code:n,begin_tag:h,end_tag:_a(h)}},Gr=function(n){return n.code!=="C"},Kr=function(n,h,F){return F===n.end_tag},vr=function(n,h,F){return{content:h,type:"fcode",name:n.code}},o=0,ue=0,kr=[{line:1,column:1}],ur=0,zn=[],w=0,Lr;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function fr(){return t.substring(ue,o)}function mo(){return cr(ue,o)}function Sn(n,h){throw h=h!==void 0?h:cr(ue,o),fn([ni(n)],t.substring(ue,o),h)}function ho(n,h){throw h=h!==void 0?h:cr(ue,o),Wr(n,h)}function Qe(n,h){return{type:"literal",text:n,ignoreCase:h}}function Pr(n,h,F){return{type:"class",parts:n,inverted:h,ignoreCase:F}}function Fr(){return{type:"any"}}function un(){return{type:"end"}}function ni(n){return{type:"other",description:n}}function Pn(n){var h=kr[n],F;if(h)return h;for(F=n-1;!kr[F];)F--;for(h=kr[F],h={line:h.line,column:h.column};F<n;)t.charCodeAt(F)===10?(h.line++,h.column=1):h.column++,F++;return kr[n]=h,h}function cr(n,h){var F=Pn(n),v=Pn(h);return{start:{offset:n,line:F.line,column:F.column},end:{offset:h,line:v.line,column:v.column}}}function Z(n){o<ur||(o>ur&&(ur=o,zn=[]),zn.push(n))}function Wr(n,h){return new Ai(n,null,null,h)}function fn(n,h,F){return new Ai(Ai.buildMessage(n,h),n,h,F)}function ii(){var n,h;for(n=[],h=Fn(),h===e&&(h=Li(),h===e&&(h=Xt(),h===e&&(h=yo())));h!==e;)n.push(h),h=Fn(),h===e&&(h=Li(),h===e&&(h=Xt(),h===e&&(h=yo())));return n}function Fn(){var n;return n=ns(),n===e&&(n=va(),n===e&&(n=Ri(),n===e&&(n=$o(),n===e&&(n=Ea(),n===e&&(n=bo(),n===e&&(n=$a(),n===e&&(n=ba(),n===e&&(n=ka())))))))),n}function go(){var n;return t.charCodeAt(o)===65?(n=a,o++):(n=e,w===0&&Z(l)),n===e&&(t.charCodeAt(o)===86?(n=f,o++):(n=e,w===0&&Z(c)),n===e&&(t.charCodeAt(o)===82?(n=m,o++):(n=e,w===0&&Z(d)),n===e&&(t.charCodeAt(o)===66?(n=b,o++):(n=e,w===0&&Z(x)),n===e&&(t.charCodeAt(o)===73?(n=k,o++):(n=e,w===0&&Z(E)),n===e&&(t.charCodeAt(o)===67?(n=I,o++):(n=e,w===0&&Z(N)),n===e&&(t.charCodeAt(o)===68?(n=M,o++):(n=e,w===0&&Z(Y)),n===e&&(t.charCodeAt(o)===69?(n=se,o++):(n=e,w===0&&Z($e)),n===e&&(t.charCodeAt(o)===75?(n=he,o++):(n=e,w===0&&Z(ne)),n===e&&(t.charCodeAt(o)===76?(n=be,o++):(n=e,w===0&&Z(xe)),n===e&&(t.charCodeAt(o)===83?(n=ke,o++):(n=e,w===0&&Z(Le)),n===e&&(t.charCodeAt(o)===84?(n=Ee,o++):(n=e,w===0&&Z(_e)),n===e&&(t.charCodeAt(o)===70?(n=de,o++):(n=e,w===0&&Z(Ce)),n===e&&(t.charCodeAt(o)===85?(n=it,o++):(n=e,w===0&&Z(X)),n===e&&(t.charCodeAt(o)===90?(n=xt,o++):(n=e,w===0&&Z(We)),n===e&&(t.charCodeAt(o)===78?(n=yt,o++):(n=e,w===0&&Z(et)),n===e&&(t.charCodeAt(o)===88?(n=B,o++):(n=e,w===0&&Z(V)))))))))))))))))),n}function rs(){var n,h,F,v,_;if(n=o,h=o,Zt.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Dt)),F!==e){if(v=[],bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,w===0&&Z(_t)),_!==e)for(;_!==e;)v.push(_),bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,w===0&&Z(_t));else v=e;v!==e?(F=[F,v],h=F):(o=h,h=e)}else o=h,h=e;return h!==e?n=t.substring(n,o):n=h,n}function Di(){var n,h;for(n=[],Ct.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,w===0&&Z(ot));h!==e;)n.push(h),Ct.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,w===0&&Z(ot));return n}function Zr(){var n,h,F;return n=o,h=go(),h!==e?(ue=o,F=Er(h),F?F=void 0:F=e,F!==e?(h=[h,F],n=h):(o=n,n=e)):(o=n,n=e),n}function yo(){var n,h;return n=o,t.length>o?(h=t.charAt(o),o++):(h=e,w===0&&Z(ye)),h!==e?n=t.substring(n,o):n=h,n}function ns(){var n,h,F,v,_;return n=o,h=Jr(),h!==e?(ue=o,F=yr(h),F?F=void 0:F=e,F!==e?(v=Yt(),v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function $o(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=_r(h),F?F=void 0:F=e,F!==e){if(v=[],_=Yt(),_!==e)for(;_!==e;)v.push(_),_=Yt();else v=e;if(v!==e){if(_=o,y=cn(),y!==e){for(R=[],S=oi();S!==e;)R.push(S),S=oi();R!==e?(ue=_,y=Mt(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=Xn(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function bo(){var n,h,F,v,_,y;if(n=o,h=Jr(),h!==e)if(ue=o,F=jn(h),F?F=void 0:F=e,F!==e){if(v=o,_=[],y=Qt(),y!==e)for(;y!==e;)_.push(y),y=Qt();else _=e;_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=wn(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function vo(){var n;return t.charCodeAt(o)===66?(n=b,o++):(n=e,w===0&&Z(x)),n}function Mn(){var n,h,F,v,_;return n=o,h=o,F=o,w++,v=vo(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===62?(_=st,o++):(_=e,w===0&&Z(Ke)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,F=o,w++,v=vo(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(F=ze,o++):(F=e,w===0&&Z(Me)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===187?(_=ft,o++):(_=e,w===0&&Z(ct)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Qt(){var n,h,F,v,_,y,R,S;if(n=o,h=o,F=[],v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=Mn(),v===e&&(v=dn()))),v!==e)for(;v!==e;)F.push(v),v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,w===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Qt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=Mn(),v===e&&(v=dn())));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function Ri(){var n,h,F,v,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=At(),h!==e)if(ue=o,F=re(h),F?F=void 0:F=e,F!==e){if(v=[],_=o,y=o,R=[],S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;if(R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y,_!==e)for(;_!==e;){if(v.push(_),_=o,y=o,R=[],S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,w++,t.charCodeAt(o)===60?(P=He,o++):(P=e,w===0&&Z(Ge)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=He,o++):(J=e,w===0&&Z(Ge)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=st,o++):(W=e,w===0&&Z(Ke)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,w++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,w===0&&Z(Me)),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,w===0&&Z(Me)),J!==e?(P=Qt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ft,o++):(W=e,w===0&&Z(ct)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Mn(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}else v=e;v!==e?(_=Pe(),_!==e?(ue=o,y=Ie(h,v,_),y?y=void 0:y=e,y!==e?(ue=n,h=Nt(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function cn(){var n;return t.charCodeAt(o)===124?(n=Ur,o++):(n=e,w===0&&Z(tt)),n}function Yt(){var n,h,F,v,_,y,R,S,q;if(n=o,h=o,F=[],v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,w++,y=cn(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=Pe(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Jr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,w++,q=nt(),w--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,w===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e))),v!==e)for(;v!==e;)F.push(v),v=o,_=o,y=o,w++,t.charCodeAt(o)===60?(R=He,o++):(R=e,w===0&&Z(Ge)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=He,o++):(y=e,w===0&&Z(Ge)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=st,o++):(S=e,w===0&&Z(Ke)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,y=o,w++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,w===0&&Z(Me)),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Zr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,w===0&&Z(Me)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ft,o++):(S=e,w===0&&Z(ct)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,_=o,w++,y=cn(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=Pe(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=Jr(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,w++,q=nt(),w--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,w===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=vt(h)),n=h,n}function $a(){var n,h,F,v,_,y,R,S,q,J,P;if(n=o,h=At(),h!==e)if(ue=o,F=St(h),F?F=void 0:F=e,F!==e){if(v=[],_=Ri(),_===e&&(_=Yt()),_!==e)for(;_!==e;)v.push(_),_=Ri(),_===e&&(_=Yt());else v=e;if(v!==e){if(_=o,y=cn(),y!==e){for(R=o,S=[],q=o,J=o,w++,P=Pe(),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);q!==e;)S.push(q),q=o,J=o,w++,P=Pe(),w--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,w===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);S!==e?R=t.substring(R,o):R=S,R!==e?(ue=_,y=Hr(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=o,R=pt(h,v,_,y),R?R=void 0:R=e,R!==e?(ue=n,h=xn(h,v,_,y),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function is(){var n,h,F,v,_,y;if(n=o,h=[],F=o,v=o,w++,t.charCodeAt(o)===59?(_=Tt,o++):(_=e,w===0&&Z(an)),w--,_===e?v=void 0:(o=v,v=e),v!==e?(_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,w===0&&Z(ye)),y!==e?(v=[v,_,y],F=v):(o=F,F=e)):(o=F,F=e)):(o=F,F=e),F!==e)for(;F!==e;)h.push(F),F=o,v=o,w++,t.charCodeAt(o)===59?(_=Tt,o++):(_=e,w===0&&Z(an)),w--,_===e?v=void 0:(o=v,v=e),v!==e?(_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,w===0&&Z(ye)),y!==e?(v=[v,_,y],F=v):(o=F,F=e)):(o=F,F=e)):(o=F,F=e);else h=e;return h!==e?n=t.substring(n,o):n=h,n}function pn(){var n;return co.test(t.charAt(o))?(n=t.charAt(o),o++):(n=e,w===0&&Z(Nr)),n}function oi(){var n,h,F,v,_,y;if(n=o,h=is(),h!==e){for(F=[],v=pn();v!==e;)F.push(v),v=pn();if(F!==e)if(t.charCodeAt(o)===59?(v=Tt,o++):(v=e,w===0&&Z(an)),v!==e){for(_=[],y=pn();y!==e;)_.push(y),y=pn();_!==e?(y=oi(),y!==e?(ue=n,h=Bn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=is(),h!==e&&(ue=n,h=ei(h)),n=h),n}function ba(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=po(h),F?F=void 0:F=e,F!==e){for(v=[],_=Yt();_!==e;)v.push(_),_=Yt();if(v!==e){if(_=o,y=cn(),y!==e){for(R=[],S=oi();S!==e;)R.push(S),S=oi();R!==e?(ue=_,y=Mt(h,v,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ti(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function va(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=qi(h),F?F=void 0:F=e,F!==e){for(v=o,_=[],y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function ka(){var n,h,F,v,_,y,R,S;if(n=o,h=Jr(),h!==e)if(ue=o,F=ri(h),F?F=void 0:F=e,F!==e){for(v=o,_=[],y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,w++,S=Pe(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?v=t.substring(v,o):v=_,v!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,v),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Tn(){var n,h,F;if(n=o,h=[],Cn.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Ni)),F!==e)for(;F!==e;)h.push(F),Cn.test(t.charAt(o))?(F=t.charAt(o),o++):(F=e,w===0&&Z(Ni));else h=e;return h!==e?n=t.substring(n,o):n=h,n}function os(){var n,h,F;return n=o,t.substr(o,2)===An?(h=An,o+=2):(h=e,w===0&&Z(z)),h!==e?(F=Tn(),F!==e?(ue=n,h=O(F),n=h):(o=n,n=e)):(o=n,n=e),n}function wa(){var n,h,F;return n=o,t.substr(o,2)===G?(h=G,o+=2):(h=e,w===0&&Z(ee)),h!==e?(F=Tn(),F!==e?(ue=n,h=te(F),n=h):(o=n,n=e)):(o=n,n=e),n}function xa(){var n,h,F;return n=o,t.substr(o,2)===pe?(h=pe,o+=2):(h=e,w===0&&Z(Ae)),h!==e?(F=Tn(),F!==e?(ue=n,h=Oe(F),n=h):(o=n,n=e)):(o=n,n=e),n}function Ca(){var n,h,F,v,_,y;if(n=o,h=o,F=o,t.substr(o,2)===je?(v=je,o+=2):(v=e,w===0&&Z(ht)),v!==e){if(_=[],Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(rt)),y!==e)for(;y!==e;)_.push(y),Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(rt));else _=e;_!==e?(v=[v,_],F=v):(o=F,F=e)}else o=F,F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=kt()),n=h,n}function ss(){var n,h,F,v;if(n=o,h=o,F=[],at.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(qe)),v!==e)for(;v!==e;)F.push(v),at.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(qe));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e?(ue=o,F=dt(),F?F=void 0:F=e,F!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e),n}function Aa(){var n,h,F,v,_,y;if(n=o,h=o,F=o,Ze.test(t.charAt(o))?(v=t.charAt(o),o++):(v=e,w===0&&Z(Dr)),v!==e){if(_=[],Rt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(Ut)),y!==e)for(;y!==e;)_.push(y),Rt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,w===0&&Z(Ut));else _=e;_!==e?(v=[v,_],F=v):(o=F,F=e)}else o=F,F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Je(h)),n=h,n}function as(){var n,h,F;return n=o,h=Di(),h!==e?(F=wa(),F===e&&(F=os(),F===e&&(F=xa(),F===e&&(F=Ca(),F===e&&(F=Tn())))),F!==e?(ue=n,h=Lt(F),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(F=ss(),F!==e?(ue=n,h=Jt(F),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(F=Aa(),F!==e?(ue=n,h=$r(F),n=h):(o=n,n=e)):(o=n,n=e))),n}function ls(){var n,h,F,v,_,y;if(n=o,h=as(),h!==e){for(F=[],v=pn();v!==e;)F.push(v),v=pn();if(F!==e)if(t.charCodeAt(o)===59?(v=Tt,o++):(v=e,w===0&&Z(an)),v!==e){for(_=[],y=pn();y!==e;)_.push(y),y=pn();_!==e?(y=ls(),y!==e?(ue=n,h=Bn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=as(),h!==e&&(ue=n,h=ei(h)),n=h),n}function Ea(){var n,h,F,v,_;return n=o,h=Jr(),h!==e?(ue=o,F=Rr(h),F?F=void 0:F=e,F!==e?(v=o,_=ls(),_!==e&&(ue=v,_=br(h,_)),v=_,v===e&&(v=null),v!==e?(_=Pe(),_!==e?(ue=n,h=ln(h,v),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function Jr(){var n,h,F;return n=o,h=o,F=Zr(),F!==e?h=t.substring(h,o):h=F,h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(ue=n,h=En(h),n=h):(o=n,n=e)):(o=n,n=e),n}function At(){var n,h,F,v;return n=o,h=o,F=Zr(),F!==e?h=t.substring(h,o):h=F,h!==e?(F=o,t.charCodeAt(o)===60?(v=He,o++):(v=e,w===0&&Z(Ge)),v===e&&(t.charCodeAt(o)===171?(v=ze,o++):(v=e,w===0&&Z(Me))),v!==e?F=t.substring(F,o):F=v,F!==e?(ue=n,h=_n(h,F),n=h):(o=n,n=e)):(o=n,n=e),n}function Pe(){var n;return t.charCodeAt(o)===62?(n=st,o++):(n=e,w===0&&Z(Ke)),n===e&&(t.charCodeAt(o)===187?(n=ft,o++):(n=e,w===0&&Z(ct))),n}function Li(){var n,h,F,v,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=At(),h!==e)if(ue=o,F=Gr(h),F?F=void 0:F=e,F!==e){if(v=[],_=Fn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}for(;_!==e;)if(v.push(_),_=Fn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=He,o++):(q=e,w===0&&Z(Ge)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===62?(P=st,o++):(P=e,w===0&&Z(Ke)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,w===0&&Z(Me)),q!==e?(J=Xt(),J!==e?(t.charCodeAt(o)===187?(P=ft,o++):(P=e,w===0&&Z(ct)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=nt(),S===e))){if(S=o,q=o,J=[],P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,w++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),w--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,w++,j=At(),w--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,w++,K=nt(),w--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,w===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=ve(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=ve(h,y)),_=y}v!==e?(_=Pe(),_!==e?(ue=o,y=Kr(h,v,_),y?y=void 0:y=e,y!==e?(ue=n,h=vr(h,v,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function _f(){var n,h,F,v,_;for(n=o,h=[],F=o,v=o,w++,_=Pe(),w--,_===e?v=void 0:(o=v,v=e),v!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,w===0&&Z(ye)),_!==e?(v=[v,_],F=v):(o=F,F=e)):(o=F,F=e);F!==e;)h.push(F),F=o,v=o,w++,_=Pe(),w--,_===e?v=void 0:(o=v,v=e),v!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,w===0&&Z(ye)),_!==e?(v=[v,_],F=v):(o=F,F=e)):(o=F,F=e);return h!==e?n=t.substring(n,o):n=h,n}function Xt(){var n,h,F,v,_,y,R;if(n=o,h=o,F=[],v=o,t.charCodeAt(o)===60?(_=He,o++):(_=e,w===0&&Z(Ge)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===62?(R=st,o++):(R=e,w===0&&Z(Ke)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,w===0&&Z(Me)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===187?(R=ft,o++):(R=e,w===0&&Z(ct)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=nt(),v===e&&(v=dn()))),v!==e)for(;v!==e;)F.push(v),v=o,t.charCodeAt(o)===60?(_=He,o++):(_=e,w===0&&Z(Ge)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===62?(R=st,o++):(R=e,w===0&&Z(Ke)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,w===0&&Z(Me)),_!==e?(y=Xt(),y!==e?(t.charCodeAt(o)===187?(R=ft,o++):(R=e,w===0&&Z(ct)),R!==e?(_=[_,y,R],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v===e&&(v=nt(),v===e&&(v=dn())));else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function dn(){var n,h,F,v,_,y,R,S;if(n=o,h=o,F=[],v=o,_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=At(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=nt(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e),v!==e)for(;v!==e;)F.push(v),v=o,_=o,w++,y=Pe(),w--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,w++,R=At(),w--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,w++,S=nt(),w--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,w===0&&Z(ye)),S!==e?(_=[_,y,R,S],v=_):(o=v,v=e)):(o=v,v=e)):(o=v,v=e)):(o=v,v=e);else F=e;return F!==e?h=t.substring(h,o):h=F,h!==e&&(ue=n,h=Vt(h)),n=h,n}function nt(){var n,h,F,v,_;return n=o,h=o,F=o,w++,v=Zr(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(F=He,o++):(F=e,w===0&&Z(Ge)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===62?(_=st,o++):(_=e,w===0&&Z(Ke)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,F=o,w++,v=Zr(),w--,v===e?F=void 0:(o=F,F=e),F!==e?(t.length>o?(v=t.charAt(o),o++):(v=e,w===0&&Z(ye)),v!==e?(F=[F,v],h=F):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(F=ze,o++):(F=e,w===0&&Z(Me)),F!==e?(v=dn(),v!==e?(t.charCodeAt(o)===187?(_=ft,o++):(_=e,w===0&&Z(ct)),_!==e?(ue=n,h=Sr(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function In(n){return n.reduce((h,F)=>Array.isArray(F)?h.concat(In(F)):h.concat(F),[])}function _a(n){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[n]}if(Lr=s(),Lr!==e&&o===t.length)return Lr;throw Lr!==e&&o<t.length&&Z(un()),fn(zn,ur<t.length?t.charAt(ur):null,ur<t.length?cr(ur,ur+1):cr(ur,ur))}vd.exports={SyntaxError:Ai,parse:Mv}});var Pd=me((yC,Hv)=>{Hv.exports={name:"@podlite/schema",version:"0.0.33",description:"AST tools for Podlite markup language",main:"./src/index.ts",license:"MIT",funding:{type:"opencollective",url:"https://opencollective.com/podlite"},files:["lib/**/*.js","lib/**/*.d.ts","esm","schema/*","README.md","CHANGELOG.md"],engines:{node:">=14"},engineStrict:!0,publishConfig:{access:"public",main:"lib/index.js",types:"./lib/index.d.ts",module:"./esm/index.js"},scripts:{clean:"rm -rf lib esm *.tsbuildinfo",build:"run-s build:pegjs build_lib build:ast ",build_lib:"yarn g:build","build:ast":"ts-node scripts/make-ast-scheme.ts","build:pegjs":"pegjs -o src/grammar.js src/grammar.pegjs && pegjs -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegjs --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["markdown","podlite","markup","markup-language"],dependencies:{ajv:"^7.2.3",events:"^3.1.0","json-pointer":"^0.6.1",nanoid:"3.1.30",slugify:"^1.6.6"},devDependencies:{"@types/node":"^17.0.7",glob:"^7.2.0","npm-run-all":"^4.1.5",pegjs:"^0.10.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=me((YC,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Md=me((XC,zd)=>{"use strict";var Ys=Object.prototype.hasOwnProperty,Bd=Object.prototype.toString,qd=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Dd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Bd.call(r)==="[object Array]"},Rd=function(r){if(!r||Bd.call(r)!=="[object Object]")return!1;var e=Ys.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&Ys.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!i)return!1;var s;for(s in r);return typeof s>"u"||Ys.call(r,s)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(Ys.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};zd.exports=function t(){var r,e,i,s,a,l,f=arguments[0],c=1,m=arguments.length,d=!1;for(typeof f=="boolean"&&(d=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<m;++c)if(r=arguments[c],r!=null)for(e in r)i=jd(f,e),s=jd(r,e),f!==s&&(d&&s&&(Rd(s)||(a=Dd(s)))?(a?(a=!1,l=i&&Dd(i)?i:[]):l=i&&Rd(i)?i:{},Ld(f,{name:e,newValue:t(d,l,s)})):typeof s<"u"&&Ld(f,{name:e,newValue:s}));return f}});var Hd=me((rA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var F0={};jf(F0,{PluginRegister:()=>S0,default:()=>P0,parseMd:()=>ga,plugin:()=>ya});module.exports=Th(F0);var Fd=Ir(Hp()),Kv=Ir(Zp());var wC=Ir(Xp());var Sv=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let i=r.match(/(.+)\<\>/);return i?{type:"fcode",name:i[1]}:{name:r,type:"block"}}return{name:r,type:e}},ki=t=>{let r=Sv(t),{name:e,type:i}=r;return i&&i==="*"?{name:e}:e&&e==="*"?{type:i}:r};function Pv(t,r){function e(s){for(var a in s)if(s.hasOwnProperty(a))return!1;return!0}if(e(t))return!0;for(var i in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(i))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(i)){if(t[i]!==r[i])return!1}else return!1;return!0}var bn=(t,r)=>{return e.rule=t,e.isFor=i,e.fn=r,e;function e(){}function i(s){return typeof s=="string"?!1:Pv(t,s)}},mu=(t,r)=>{if(t instanceof Array)return t.reduce((i,s)=>(i.push(...mu(s)),i),[]);if(t instanceof Object){let i=[];for(var e in t)t.hasOwnProperty(e)&&i.push(bn(ki(e),t[e]));return i}return[bn(ki(t),r)]};var hu=Ir(require("crypto"),1);var ed="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Fv=128,wi,io,Tv=t=>{!wi||wi.length<t?(wi=Buffer.allocUnsafe(t*Fv),hu.default.randomFillSync(wi),io=0):io+t>wi.length&&(hu.default.randomFillSync(wi),io=0),io+=t};var td=(t=21)=>{Tv(t);let r="";for(let e=io-t;e<io;e++)r+=ed[wi[e]&63];return r};var oo=t=>({...t}),gu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},mr=(t,r)=>{let e="block",i=t.name,s={id:td(),margin:"",...t};var a=oo({type:e,...s,content:gu(r)});return a};var Ks=(t,r)=>oo({type:"fcode",...t,content:r}),yu=(t,r)=>oo({...t,type:"fcode",name:"L",content:gu(r)}),rd=t=>oo({type:"fcode",name:"Delete",content:gu(t)}),nd=t=>oo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ho=t=>oo({type:"verbatim",value:t});var id=t=>({type:"block",name:"caption",content:t}),od=(t,r)=>({type:"image",src:t,alt:r}),$u=({margin:t=""},r)=>mr({name:"root",margin:t},r);var sd=({value:t,location:r})=>mr({name:"formula",location:r},[Ho(t)]);var ad=(t,r={})=>{let e=t.config instanceof Array?t.config:[],i=[];r.config&&r.config.hasOwnProperty(t.name)&&(i=r.config[t.name]);let s={};[...e,...i].map(l=>{s.hasOwnProperty(l.name)||(s[l.name]=[]),l.type==="array"?s[l.name].push(...l.value):s[l.name].push(l.value)});let a=function(){};return a.exists=l=>s.hasOwnProperty(l),a.getAllValues=l=>a.exists(l)?s[l]:[],a.getFirstValue=l=>a.exists(l)?a.getAllValues(l)[0]:void 0,a.asHash=()=>s,a},sn=ad;var ld=(t,r)=>{let e=sn(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function ud(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(ud(e)):r.concat(e),[]):t}function Iv(t){function r(e,i){if(e==null)return e;if(e instanceof Array)return ud(e.map(l=>r(l,i))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},i);let s=t.slice();s.reverse();let a=s.findIndex(l=>l.isFor(e));if(a!==-1){let l=s.slice(a+1),f=l.findIndex(m=>m.isFor(e)),c=(m=e,d=i,b=r)=>{if(f!==-1)l[f].fn(m,d,b,()=>{});else return};return typeof s[a].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[a].fn(e,i,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,i)}}return r.rules=t,r}var Zs=Iv;var gt=(t,r)=>(e,i)=>(s,a,l)=>{e.writeRaw(t),s.content&&l(s.content,a),e.writeRaw(r)},Dn=()=>()=>()=>{},Rn=(t,r)=>(e,i,s)=>{if(e.content)return s(e.content,i)},Zn=t=>(r,e)=>(i,s,a)=>t(i,s)(r,e)(i,s,a);var bu=(t,r)=>{let e=mu(t).reverse();return(i,s)=>{let a=e.map(c=>bn(c.rule,c.fn(i,s))).reverse(),l=r(i,s),f;return(c,m,d)=>(f||(f=Zs([...d.rules,...a])),l(c,m,f))}},xi=(t,r)=>(e,i)=>{let s=t(e,i);return(a,l,f)=>{let c=sn(a,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(a,l,f),c!==void 0&&e.removeLevel(c)}};function Js(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function fd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[])}var Ws=t=>{let r=[];function e(s,a){if(s instanceof Array&&console.warn(`[podlite] Unsupported param for ${s}`),s instanceof Object){for(var l in s)s.hasOwnProperty(l)&&e(l,s[l]);return[]}r.push(bn(ki(s),a))}function i(s,a={}){if(s==null)return s;if(s instanceof Array)return fd(s.map(c=>i(c,a)));if(typeof s=="string")return s;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(s));if(f!==-1)return l[f].fn(s,a,i);{let c={...s};return c.hasOwnProperty("content")&&(c.content=i(c.content,a)),c}}return e(t),i.rules=r,i},qr=Ws;var cd=Ir(require("events")),vu=class extends cd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(r){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=r,this.ons=[],this.emit("ready")}escape(r){return r}write(r){return this.writeRaw(this.escape(r))}writeRaw(r){typeof this.output=="function"?this.output(r):console.log(r)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(r){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",r),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...r){return this.ons=this.ons||[],this.ons.unshift([...r]),this}endWrite=()=>{this.emit("end")};_add_nesting(r){}_remove_nesting(r){}addLevel(r){this._add_nesting(r)}removeLevel(r){this._remove_nesting(r)}},Qs=vu;var so=(t={},r=[])=>{let e=r,i=t.processor||pd,s=t.writer;return a.use=l,a.run=f,a.getPlugins=()=>e,a;function a(c){}function l(c,m){if(c instanceof Array)return so(t,[...e,...m]);if(c instanceof Object){for(var d in c)c.hasOwnProperty(d)&&l(d,c[d]);return a}return e.push(bn(ki(c),m)),a}function f(c,m){let d="",b=m||s||new Qs(Y=>{d=d+Y}),x=typeof b=="function"?new b(Y=>{d=d+Y}):b,k=typeof c=="string"?i(c):c,E=e.slice();E.reverse();let I=Zs(E.map(Y=>bn(Y.rule,Y.fn(x,i,k))).reverse()),N={};x.startWrite(k);let M=I(k,N);return x.endWrite(),{errors:x.errors,toString:()=>d,valueOf:()=>d,indexingTerms:x.INDEXTERMS,annotations:x.FOOTNOTES,defenitions:x.DEFINITIONS,interator:M}}};var dd=()=>t=>qr({"*":(e,i,s)=>(e.content&&(e.content=s(e.content,i,s)),delete e.location,e)})(t,{}),md=dd;var Ov=Ir(hd());var Td=Ir($d());var Bv=()=>t=>{let r=(i,s={})=>{if((i.type=="code"||i.type=="text")&&(i.margin&&s.margin&&s.margin.length>0&&s.margin.length==i.margin.length&&(i.type="para"),i.type==="code")){var a=new RegExp(`^[ ]{0,${i.margin.length}}`,"gm");i.text=i.text.replace(a,"")}if(i.type==="block"){s.margin=typeof i.margin!="string"?"":i.margin;let l={...s};l.nest=(l.nest||0)+1,i.content.map(f=>{r(f,s)})}};var e={};return t.forEach(i=>r(i,e)),t},bd=Bv;var Go=Ir(kd());var Vv=()=>t=>{let r=qr({":para":(e,i,s)=>qr({":text":(a,l)=>Go.parse(a.value),":verbatim":(a,l)=>Go.parse(a.value)})(e,{...i}),":block":(e,i,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,i,s)};let a=sn(e,i),l="name"in e&&e.name==="code",f="name"in e&&e.name==="data",c="name"in e&&e.name==="markdown",m="name"in e&&e.name==="picture",d="name"in e&&e.name==="formula",b=[...a.getAllValues("allow"),...l?["NONE"]:[]];if(Js(e.name)||(l||f||c||m||d)&&b.length==0)return e;let x=b.sort(),k=qr({":verbatim":(E,I)=>x.length==1&&x.includes("NONE")?E:Go.parse(E.value,{allowed:x}),":text":(E,I)=>Go.parse(E.value,{allowed:x}),":block":(E,I)=>r(E,{...I})});return{...e,content:k(e.content,{...i})}}});return r(t,{})},wd=Vv;var xd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^item(\d+)?/.exec(e.name);if(i&&(e.name="item",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/^(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),s.type==="para"&&(s.content=[s.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}r(e.content)}};return r(t),t};var Cd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(i=>{r(i)});else if(e&&e.type==="block"){let i=/^head(\d+)?/.exec(e.name);if(i&&(e.name="head",e.level=i[1]||1,e.content[0])){let s=e.content[0];if(s.text){let a=/(\s*#\s*)/;a.exec(s.text)&&(s.text=s.text.replace(a,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Ad=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(a.config&&a.config.numbered),i=a=>{let l={};return a.reduce((c,m)=>(m.name==="defn"?r(l,m)?c[c.length-1].push(m):c.push([m]):c.push(m),l=m,c),[]).map(c=>c instanceof Array?c[0].name!=="defn"?c:{type:"list",list:c[0].name==="defn"?"variable":e(c[0])?"ordered":"itemized",level:1,content:[...c]}:(c.content&&c.type!=="fcode"&&(c.content=i(c.content)),c))};return t=(a=>Array.isArray(a)?i(a):(a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var Ed=()=>t=>{let r=(a,l)=>(a.name==="item"||a.name==="defn")&&l.name===a.name&&a.level===l.level&&e(a)===e(l),e=a=>Boolean(sn(a,{}).exists("numbered")),i=(a,l=1)=>{let f=x=>x.length>0&&x[x.length-1].type==="list",c=x=>{if(f(x))return x[x.length-1]},m=(x,k)=>k.name&&k.name==="item"&&k.type&&k.type==="block"||k.type==="blankline",d={};return a.reduce((x,k)=>k.name==="item"&&k.type==="block"&&k.level<l?[...x,k]:(k.name==="item"&&k.type==="block"&&(!f(x)||k.level===l&&c(x).list!==(e(k)?"ordered":"itemized"))&&x.push({type:"list",level:k.level,content:[],list:e(k)?"ordered":"itemized"}),f(x)&&m(c(x),k)?c(x).content.push(k):x.push(k),x),[]).map(x=>(x.content&&x.type!=="fcode"&&(x.content=i(x.content,x.level+1)),x))};return t=(a=>(Array.isArray(a)?a=i(a):a.type==="block"&&a.name!=="table"&&(a.content=i(a.content)),a))(t),t};var _d=()=>t=>qr({defn:e=>{let i=e.content,s=i.length,a=[],l=!1;for(let f=0;f<s;f++){let c=i[f];if(c.type==="para"&&!l){let m=c.content[0],b=m.value.split(`
15
15
  `),x=b.shift(),k={type:"para",name:"term",text:x,content:[{type:"text",value:x}]};a.push(k),b.length==1&&b[0]===""||(m.value=b.join(`
16
16
  `),c.text=m.value,a.push(c)),l=!0}else a.push(c)}return e.content=a,e}})(t,{});function Ko(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Ko(e)):r.concat(e),[])}var xu=(t,r,e)=>{let i=[];for(let s=0;t.length>s;s++)i.push(e(parseInt(t[s],10),parseInt(r[s],10)));return i.join("")},Uv=(t,r)=>{let e=Math.max(...[...t,...r].map(l=>l.length));return t.map(l=>{let f=l+" ".repeat(e-l.length),c=[],m=/\s+[+|\s]\s/g,d;for(;(d=m.exec(f))!=null;){let b="1".repeat(d.index)+"0".repeat(d[0].length);c.push(b+"1".repeat(e-b.length))}return c.reduce((b,x)=>xu(b,x,(k,E)=>k&E),"1".repeat(e))}).map(l=>xu(l,"",f=>f==0?1:0)).reduce((l,f)=>xu(l,f,(c,m)=>c&m),"1".repeat(e))},Cu=(t,r)=>{let i=Ko(t.split(/\n/).filter(a=>a.length>0)).map(a=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;){if(c[0][0]==1)continue;let m=a.substring(c.index,c.index+c[0].length);f.push(m)}return f}),s=[];return s=i.reduce((a,l)=>{for(let f=0;f<l.length;f++)a[f]=(a[f]===void 0?"":a[f])+" "+l[f];return a},[]),s},Sd=()=>t=>qr({table:e=>{let i=[],s=k=>{i.push(k.value)},a=[];if(qr({"row:text":s,"head:text":s,":separator":k=>{a.push(k.text)}})(e),!i.length)return e;let l=k=>k.split(/\n/).filter(E=>E.length>0),f=Ko(i.map(l)),c=Ko(a.map(l)),m=[];qr({"row:text":k=>{m.push(k.value)}})(e);let d=Uv(f,c),b=(k,E,...I)=>({...I,name:k,type:"block",content:Array.isArray(E)?E:[E]});return qr({"row:text":k=>{if(m.length==1)return Ko([k.value].map(l)).map(N=>{let M=Cu(N,d);return b("table_row",M.map(Y=>b("table_cell",{type:"text",value:Y})))});let E=Cu(k.value,d);return b("table_row",E.map(I=>b("table_cell",{type:"text",value:I})))},"head:text":k=>{let E=Cu(k.value,d);return b("table_head",E.map(I=>b("table_cell",{type:"text",value:I})))}})(e)}})(t,{});var hC={":text":(t,r)=>(e,i,s)=>{e.value?t.write(e.value):s(e.content,i)},"A<>":(t,r)=>(e,i,s)=>{if(!(i.alias&&i.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let a=i.alias[e.content].join(`
17
17
  `),l=r(a),f=md()(l);f[0].type==="para"?s(f[0].content,i):s(f,i)}},"C<>":gt("<code>","</code>"),"D<>":(t,r)=>(e,i,s)=>{let a={node:e},l=[e.content[0]];a&&(l=a),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,i),t.writeRaw("</dfn>")},"B<>":gt("<strong>","</strong>"),"I<>":gt("<em>","</em>"),"R<>":gt("<var>","</var>"),"K<>":gt("<kbd>","</kbd>"),"L<>":Zn((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),gt(`<a href="${e}">`,"</a>")}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw('<div class="footnotes">'),e.map(i=>{t.writeRaw(`<p><sup id="${i.fnId}" class="footnote"><a href="#${i.fnRefId}">[${i.gid}]</a></sup> `),i.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,i,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let a=t.gid++,l=`fnref:${a}`,f=`fn:${a}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${a}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:a,fnRefId:l,fnId:f,make:()=>{s(e.content,i)}})}),"S<>":(t,r)=>(e,i,s)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":gt("<samp>","</samp>"),"U<>":gt("<u>","</u>"),"V<>":Rn,"X<>":(t,r)=>(e,i,s)=>{s(e.content,i);let{entry:a}=e;if(a===null&&e.content.length>0)a=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:a})},"Z<>":Dn,pod:Rn,":code":gt("<pre><code>","</code></pre>"),code:xi(gt("<pre><code>","</code></pre>")),data:Dn,":verbatim":(t,r)=>(e,i,s)=>{e.error&&t.emit("errors",e.location),s(e.value)},":blankline":Dn,":ambient":Dn,":config":Zn((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,Dn)),":alias":Zn((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,Dn)),para:xi(Rn),":para":gt("<p>","</p>"),"head:block":bu({":para":Rn},Zn((t,r)=>{let{level:e}=t,i=ld(t,r);return gt(`<h${e}${i?` id="${i}"`:""}>`,`</h${e}>`)})),":list":Zn((t,r)=>t.list==="ordered"?gt("<ol>","</ol>"):t.list==="variable"?gt("<dl>","</dl>"):gt("<ul>","</ul>")),"item:block":(t,r)=>(e,i,s)=>{e.content instanceof Array||console.error("[pod6] item:block : Error in content of "+JSON.stringify(e));let[a,...l]=e.content;t.writeRaw("<li>"),s(e.content,i),t.writeRaw("</li>")},"comment:block":Dn,defn:gt("","</dd>"),"term:para":gt("<dt>","</dt><dd>"),nested:xi(Rn,1),output:xi(gt("<pre><samp>","</samp></pre>"),1),input:xi(gt("<pre><kbd>","</kbd></pre>"),1),"table:block":xi((t,r)=>(e,i,s)=>{let a=sn(e,i);t.writeRaw("<table>"),a.exists("caption")&&(t.writeRaw("<caption>"),t.write(a.getFirstValue("caption")),t.writeRaw("</caption>")),s(e.content,i),t.writeRaw("</table>")}),":separator":Dn,table_row:gt("<tr>","</tr>"),table_cell:gt("<td>","</td>"),table_head:bu({table_cell:gt("<th>","</th>")},gt("<tr>","</tr>")),":toc":(t,r)=>(e,i,s)=>{t.writeRaw('<div className="toc">');let a=sn(e,i);if(a.exists("title")){let l=a.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,i),t.writeRaw("</div>")},":toc-list":Zn((t,r)=>gt(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Zn((t,r)=>gt('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,i,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var IC=new Fd.default({strict:!0,allowUnionTypes:!0});function gd(){var t=[];return r.use=e,r.parse=i,r.use(bd),r.use(xd),r.use(Cd),r.use(_d),r.use(Sd),r.use(wd),r.use(Ed),r.use(Ad),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function i(s,a={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=a,c=Td.parse(s,{podMode:f});if(!l)for(let m=0;m<t.length;m++){let d=t[m];c=d(a)(c)}return c}}var pd=gd().parse;var{version:OC}=Pd();function Au(t){if(t)throw t}var Xd=Ir(Od(),1),Nu=Ir(Md(),1);function Wo(t){if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vd(){let t=[],r={run:e,use:i};return r;function e(...s){let a=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...m){let d=t[++a],b=-1;if(c){l(c);return}for(;++b<s.length;)(m[b]===null||m[b]===void 0)&&(m[b]=s[b]);s=m,d?Wv(d,f)(...m):l(null,...m)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Wv(t,r){let e;return i;function i(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(m){let d=m;if(f&&e)throw d;return s(d)}f||(c instanceof Promise?c.then(a,s):c instanceof Error?s(c):a(c))}function s(l,...f){e||(e=!0,r(l,...f))}function a(l){s(null,l)}}var Zd=Ir(Hd(),1);function Ei(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Gd(t.position):"start"in t||"end"in t?Gd(t):"line"in t||"column"in t?Eu(t):""}function Eu(t){return Kd(t&&t.line)+":"+Kd(t&&t.column)}function Gd(t){return Eu(t&&t.start)+"-"+Eu(t&&t.end)}function Kd(t){return t&&typeof t=="number"?t:1}var hr=class extends Error{constructor(r,e,i){let s=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(i=e,e=void 0),typeof i=="string"){let l=i.indexOf(":");l===-1?s[1]=i:(s[0]=i.slice(0,l),s[1]=i.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(a=e.position):"start"in e||"end"in e?a=e:("line"in e||"column"in e)&&(a.start=e)),this.name=Ei(e)||"1:1",this.message=typeof r=="object"?r.message:r,this.stack=typeof r=="object"?r.stack:"",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=s[0],this.ruleId=s[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}};hr.prototype.file="";hr.prototype.name="";hr.prototype.reason="";hr.prototype.message="";hr.prototype.stack="";hr.prototype.fatal=null;hr.prototype.column=null;hr.prototype.line=null;hr.prototype.source=null;hr.prototype.ruleId=null;hr.prototype.position=null;var Vr=Ir(require("path"),1);var _u=Ir(require("process"),1);var Su=require("url");function Xs(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Pu=["history","path","basename","stem","extname","dirname"],Zo=class{constructor(r){let e;r?typeof r=="string"||(0,Zd.default)(r)?e={value:r}:Xs(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=_u.default.cwd(),this.value,this.stored,this.result,this.map;let i=-1;for(;++i<Pu.length;){let a=Pu[i];a in e&&e[a]!==void 0&&(this[a]=a==="history"?[...e[a]]:e[a])}let s;for(s in e)Pu.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(r){Xs(r)&&(r=(0,Su.fileURLToPath)(r)),Tu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Vr.default.dirname(this.path):void 0}set dirname(r){Wd(this.basename,"dirname"),this.path=Vr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Vr.default.basename(this.path):void 0}set basename(r){Tu(r,"basename"),Fu(r,"basename"),this.path=Vr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Vr.default.extname(this.path):void 0}set extname(r){if(Fu(r,"extname"),Wd(this.dirname,"extname"),r){if(r.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Vr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Vr.default.basename(this.path,this.extname):void 0}set stem(r){Tu(r,"stem"),Fu(r,"stem"),this.path=Vr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,i){let s=new hr(r,e,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,i){let s=this.message(r,e,i);return s.fatal=null,s}fail(r,e,i){let s=this.message(r,e,i);throw s.fatal=!0,s}};function Fu(t,r){if(t&&t.includes(Vr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Vr.default.sep+"`")}function Tu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Wd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Du=tm().freeze(),em={}.hasOwnProperty;function tm(){let t=Vd(),r=[],e={},i,s=-1;return a.data=l,a.Parser=void 0,a.Compiler=void 0,a.freeze=f,a.attachers=r,a.use=c,a.parse=m,a.stringify=d,a.run=b,a.runSync=x,a.process=k,a.processSync=E,a;function a(){let I=tm(),N=-1;for(;++N<r.length;)I.use(...r[N]);return I.data((0,Nu.default)(!0,{},e)),I}function l(I,N){return typeof I=="string"?arguments.length===2?(qu("data",i),e[I]=N,a):em.call(e,I)&&e[I]||null:I?(qu("data",i),e=I,a):e}function f(){if(i)return a;for(;++s<r.length;){let[I,...N]=r[s];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);let M=I.call(a,...N);typeof M=="function"&&t.use(M)}return i=!0,s=Number.POSITIVE_INFINITY,a}function c(I,...N){let M;if(qu("use",i),I!=null)if(typeof I=="function")he(I,...N);else if(typeof I=="object")Array.isArray(I)?$e(I):se(I);else throw new TypeError("Expected usable value, not `"+I+"`");return M&&(e.settings=Object.assign(e.settings||{},M)),a;function Y(ne){if(typeof ne=="function")he(ne);else if(typeof ne=="object")if(Array.isArray(ne)){let[be,...xe]=ne;he(be,...xe)}else se(ne);else throw new TypeError("Expected usable value, not `"+ne+"`")}function se(ne){$e(ne.plugins),ne.settings&&(M=Object.assign(M||{},ne.settings))}function $e(ne){let be=-1;if(ne!=null)if(Array.isArray(ne))for(;++be<ne.length;){let xe=ne[be];Y(xe)}else throw new TypeError("Expected a list of plugins, not `"+ne+"`")}function he(ne,be){let xe=-1,ke;for(;++xe<r.length;)if(r[xe][0]===ne){ke=r[xe];break}ke?(Wo(ke[1])&&Wo(be)&&(be=(0,Nu.default)(!0,ke[1],be)),ke[1]=be):r.push([...arguments])}}function m(I){a.freeze();let N=Jo(I),M=a.Parser;return Iu("parse",M),Jd(M,"parse")?new M(String(N),N).parse():M(String(N),N)}function d(I,N){a.freeze();let M=Jo(N),Y=a.Compiler;return Ou("stringify",Y),Qd(I),Jd(Y,"compile")?new Y(I,M).compile():Y(I,M)}function b(I,N,M){if(Qd(I),a.freeze(),!M&&typeof N=="function"&&(M=N,N=void 0),!M)return new Promise(Y);Y(null,M);function Y(se,$e){t.run(I,Jo(N),he);function he(ne,be,xe){be=be||I,ne?$e(ne):se?se(be):M(null,be,xe)}}}function x(I,N){let M,Y;return a.run(I,N,se),Yd("runSync","run",Y),M;function se($e,he){Au($e),M=he,Y=!0}}function k(I,N){if(a.freeze(),Iu("process",a.Parser),Ou("process",a.Compiler),!N)return new Promise(M);M(null,N);function M(Y,se){let $e=Jo(I);a.run(a.parse($e),$e,(ne,be,xe)=>{if(ne||!be||!xe)he(ne);else{let ke=a.stringify(be,xe);ke==null||(Qv(ke)?xe.value=ke:xe.result=ke),he(ne,xe)}});function he(ne,be){ne||!be?se(ne):Y?Y(be):N(null,be)}}}function E(I){let N;a.freeze(),Iu("processSync",a.Parser),Ou("processSync",a.Compiler);let M=Jo(I);return a.process(M,Y),Yd("processSync","process",N),M;function Y(se){N=!0,Au(se)}}}function Jd(t,r){return typeof t=="function"&&t.prototype&&(Zv(t.prototype)||r in t.prototype)}function Zv(t){let r;for(r in t)if(em.call(t,r))return!0;return!1}function Iu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Ou(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function qu(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qd(t){if(!Wo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Yd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Jo(t){return Jv(t)?t:new Zo(t)}function Jv(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Qv(t){return typeof t=="string"||(0,Xd.default)(t)}function nm(t,r){var{includeImageAlt:e=!0}=r||{};return im(t,e)}function im(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&rm(t.children,r)||Array.isArray(t)&&rm(t,r))||""}function rm(t,r){for(var e=[],i=-1;++i<t.length;)e[i]=im(t[i],r);return e.join("")}function Ft(t,r,e,i){let s=t.length,a=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,e=e>0?e:0,i.length<1e4)l=Array.from(i),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);a<i.length;)l=i.slice(a,a+1e4),l.unshift(r,0),[].splice.apply(t,l),a+=1e4,r+=1e4}function gr(t,r){return t.length>0?(Ft(t,t.length,0,r),t):r}var om={}.hasOwnProperty;function ea(t){let r={},e=-1;for(;++e<t.length;)Yv(r,t[e]);return r}function Yv(t,r){let e;for(e in r){let s=(om.call(t,e)?t[e]:void 0)||(t[e]={}),a=r[e],l;for(l in a){om.call(s,l)||(s[l]=[]);let f=a[l];Xv(s[l],Array.isArray(f)?f:f?[f]:[])}}}function Xv(t,r){let e=-1,i=[];for(;++e<r.length;)(r[e].add==="after"?t:i).push(r[e]);Ft(t,0,0,i)}var sm=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var or=Qn(/[A-Za-z]/),_i=Qn(/\d/),am=Qn(/[\dA-Fa-f]/),Bt=Qn(/[\dA-Za-z]/),lm=Qn(/[!-/:-@[-`{-~]/),Ru=Qn(/[#-'*+\--9=?A-Z^-~]/);function Jn(t){return t!==null&&(t<32||t===127)}function Xe(t){return t!==null&&(t<0||t===32)}function fe(t){return t!==null&&t<-2}function Re(t){return t===-2||t===-1||t===32}var Si=Qn(/\s/),Pi=Qn(sm);function Qn(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function we(t,r,e,i){let s=i?i-1:Number.POSITIVE_INFINITY,a=0;return l;function l(c){return Re(c)?(t.enter(e),f(c)):r(c)}function f(c){return Re(c)&&a++<s?(t.consume(c),f):(t.exit(e),r(c))}}var um={tokenize:ek};function ek(t){let r=t.attempt(this.parser.constructs.contentInitial,i,s),e;return r;function i(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),we(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),a(f)}function a(f){let c=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=c),e=c,l(f)}function l(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return fe(f)?(t.consume(f),t.exit("chunkText"),a):(t.consume(f),l)}}var cm={tokenize:tk},fm={tokenize:rk};function tk(t){let r=this,e=[],i=0,s,a,l;return f;function f(se){if(i<e.length){let $e=e[i];return r.containerState=$e[1],t.attempt($e[0].continuation,c,m)(se)}return m(se)}function c(se){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&Y();let $e=r.events.length,he=$e,ne;for(;he--;)if(r.events[he][0]==="exit"&&r.events[he][1].type==="chunkFlow"){ne=r.events[he][1].end;break}M(i);let be=$e;for(;be<r.events.length;)r.events[be][1].end=Object.assign({},ne),be++;return Ft(r.events,he+1,0,r.events.slice($e)),r.events.length=be,m(se)}return f(se)}function m(se){if(i===e.length){if(!s)return x(se);if(s.currentConstruct&&s.currentConstruct.concrete)return E(se);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(fm,d,b)(se)}function d(se){return s&&Y(),M(i),x(se)}function b(se){return r.parser.lazy[r.now().line]=i!==e.length,l=r.now().offset,E(se)}function x(se){return r.containerState={},t.attempt(fm,k,E)(se)}function k(se){return i++,e.push([r.currentConstruct,r.containerState]),x(se)}function E(se){if(se===null){s&&Y(),M(0),t.consume(se);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:s}),I(se)}function I(se){if(se===null){N(t.exit("chunkFlow"),!0),M(0),t.consume(se);return}return fe(se)?(t.consume(se),N(t.exit("chunkFlow")),i=0,r.interrupt=void 0,f):(t.consume(se),I)}function N(se,$e){let he=r.sliceStream(se);if($e&&he.push(null),se.previous=a,a&&(a.next=se),a=se,s.defineSkip(se.start),s.write(he),r.parser.lazy[se.start.line]){let ne=s.events.length;for(;ne--;)if(s.events[ne][1].start.offset<l&&(!s.events[ne][1].end||s.events[ne][1].end.offset>l))return;let be=r.events.length,xe=be,ke,Le;for(;xe--;)if(r.events[xe][0]==="exit"&&r.events[xe][1].type==="chunkFlow"){if(ke){Le=r.events[xe][1].end;break}ke=!0}for(M(i),ne=be;ne<r.events.length;)r.events[ne][1].end=Object.assign({},Le),ne++;Ft(r.events,xe+1,0,r.events.slice(be)),r.events.length=ne}}function M(se){let $e=e.length;for(;$e-- >se;){let he=e[$e];r.containerState=he[1],he[0].exit.call(r,t)}e.length=se}function Y(){s.write([null]),a=void 0,s=void 0,r.containerState._closeFlow=void 0}}function rk(t,r,e){return we(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ao(t){if(t===null||Xe(t)||Si(t))return 1;if(Pi(t))return 2}function Yn(t,r,e){let i=[],s=-1;for(;++s<t.length;){let a=t[s].resolveAll;a&&!i.includes(a)&&(r=a(r,e),i.push(a))}return r}var Qo={name:"attention",tokenize:ik,resolveAll:nk};function nk(t,r){let e=-1,i,s,a,l,f,c,m,d;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(i=e;i--;)if(t[i][0]==="exit"&&t[i][1].type==="attentionSequence"&&t[i][1]._open&&r.sliceSerialize(t[i][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[i][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[i][1].end.offset-t[i][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;c=t[i][1].end.offset-t[i][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let b=Object.assign({},t[i][1].end),x=Object.assign({},t[e][1].start);pm(b,-c),pm(x,c),l={type:c>1?"strongSequence":"emphasisSequence",start:b,end:Object.assign({},t[i][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:x},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[e][1].start)},s={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},f.end)},t[i][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),m=[],t[i][1].end.offset-t[i][1].start.offset&&(m=gr(m,[["enter",t[i][1],r],["exit",t[i][1],r]])),m=gr(m,[["enter",s,r],["enter",l,r],["exit",l,r],["enter",a,r]]),m=gr(m,Yn(r.parser.constructs.insideSpan.null,t.slice(i+1,e),r)),m=gr(m,[["exit",a,r],["enter",f,r],["exit",f,r],["exit",s,r]]),t[e][1].end.offset-t[e][1].start.offset?(d=2,m=gr(m,[["enter",t[e][1],r],["exit",t[e][1],r]])):d=0,Ft(t,i-1,e-i+3,m),e=i+m.length-d-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function ik(t,r){let e=this.parser.constructs.attentionMarkers.null,i=this.previous,s=ao(i),a;return l;function l(c){return t.enter("attentionSequence"),a=c,f(c)}function f(c){if(c===a)return t.consume(c),f;let m=t.exit("attentionSequence"),d=ao(c),b=!d||d===2&&s||e.includes(c),x=!s||s===2&&d||e.includes(i);return m._open=Boolean(a===42?b:b&&(s||!x)),m._close=Boolean(a===42?x:x&&(d||!b)),r(c)}}function pm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var Lu={name:"autolink",tokenize:ok};function ok(t,r,e){let i=1;return s;function s(E){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(E),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(E){return or(E)?(t.consume(E),l):Ru(E)?m(E):e(E)}function l(E){return E===43||E===45||E===46||Bt(E)?f(E):m(E)}function f(E){return E===58?(t.consume(E),c):(E===43||E===45||E===46||Bt(E))&&i++<32?(t.consume(E),f):m(E)}function c(E){return E===62?(t.exit("autolinkProtocol"),k(E)):E===null||E===32||E===60||Jn(E)?e(E):(t.consume(E),c)}function m(E){return E===64?(t.consume(E),i=0,d):Ru(E)?(t.consume(E),m):e(E)}function d(E){return Bt(E)?b(E):e(E)}function b(E){return E===46?(t.consume(E),i=0,d):E===62?(t.exit("autolinkProtocol").type="autolinkEmail",k(E)):x(E)}function x(E){return(E===45||Bt(E))&&i++<63?(t.consume(E),E===45?x:b):e(E)}function k(E){return t.enter("autolinkMarker"),t.consume(E),t.exit("autolinkMarker"),t.exit("autolink"),r}}var vn={tokenize:sk,partial:!0};function sk(t,r,e){return we(t,i,"linePrefix");function i(s){return s===null||fe(s)?r(s):e(s)}}var ta={name:"blockQuote",tokenize:ak,continuation:{tokenize:lk},exit:uk};function ak(t,r,e){let i=this;return s;function s(l){if(l===62){let f=i.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),a}return e(l)}function a(l){return Re(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function lk(t,r,e){return we(t,t.attempt(ta,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function uk(t){t.exit("blockQuote")}var ra={name:"characterEscape",tokenize:fk};function fk(t,r,e){return i;function i(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),s}function s(a){return lm(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(a)}}var ju={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
package/lib/index.esm.js CHANGED
@@ -25081,7 +25081,7 @@ var require_package = __commonJS({
25081
25081
  "../podlite-schema/package.json"(exports, module) {
25082
25082
  module.exports = {
25083
25083
  name: "@podlite/schema",
25084
- version: "0.0.32",
25084
+ version: "0.0.33",
25085
25085
  description: "AST tools for Podlite markup language",
25086
25086
  main: "./src/index.ts",
25087
25087
  license: "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podlite/markdown",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "description": "=markdown - markdown text block",
5
5
  "main": "./lib/index.cjs",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "markup-language"
33
33
  ],
34
34
  "dependencies": {
35
- "@podlite/schema": "0.0.32",
35
+ "@podlite/schema": "0.0.33",
36
36
  "react": "^16.0.0 || ^17.0.0 || ^18",
37
37
  "react-dom": "^16.0.0 || ^17.0.0 || ^18",
38
38
  "react-is": "^18.0.0",