@podlite/markdown 0.0.56 → 0.0.57

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
@@ -1,45 +1,47 @@
1
- var Cg=Object.create;var La=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var Eg=Object.getOwnPropertyNames;var Sg=Object.getPrototypeOf,Tg=Object.prototype.hasOwnProperty;var Ee=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),xc=(t,n)=>{for(var e in n)La(t,e,{get:n[e],enumerable:!0})},kc=(t,n,e,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of Eg(n))!Tg.call(t,o)&&o!==e&&La(t,o,{get:()=>n[o],enumerable:!(s=_g(n,o))||s.enumerable});return t};var si=(t,n,e)=>(e=t!=null?Cg(Sg(t)):{},kc(n||!t||!t.__esModule?La(e,"default",{value:t,enumerable:!0}):e,t)),Pg=t=>kc(La({},"__esModule",{value:!0}),t);var gl=Ee(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.getRules=Xn.isJSONType=void 0;var Fg=["string","number","integer","boolean","null","object","array"],Dg=new Set(Fg);function Ig(t){return typeof t=="string"&&Dg.has(t)}Xn.isJSONType=Ig;function Og(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}Xn.getRules=Og});var yl=Ee(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.shouldUseRule=an.shouldUseGroup=an.schemaHasRulesForType=void 0;function qg({schema:t,self:n},e){let s=n.RULES.types[e];return s&&s!==!0&&Cc(t,s)}an.schemaHasRulesForType=qg;function Cc(t,n){return n.rules.some(e=>_c(t,e))}an.shouldUseGroup=Cc;function _c(t,n){var e;return t[n.keyword]!==void 0||((e=n.definition.implements)===null||e===void 0?void 0:e.some(s=>t[s]!==void 0))}an.shouldUseRule=_c});var Ma=Ee($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.getProperty=$t.safeStringify=$t.stringify=$t.strConcat=$t.addCodeArg=$t.str=$t._=$t.nil=$t._Code=$t.Name=$t.IDENTIFIER=$t._CodeOrName=void 0;var qs=class{};$t._CodeOrName=qs;$t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var $n=class extends qs{constructor(n){if(super(),!$t.IDENTIFIER.test(n))throw new Error("CodeGen: name must be a valid identifier");this.str=n}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};$t.Name=$n;var qi=class extends qs{constructor(n){super(),this._items=typeof n=="string"?[n]:n}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let n=this._items[0];return n===""||n==='""'}get str(){var n;return(n=this._str)!==null&&n!==void 0?n:this._str=this._items.reduce((e,s)=>`${e}${s}`,"")}get names(){var n;return(n=this._names)!==null&&n!==void 0?n:this._names=this._items.reduce((e,s)=>(s instanceof $n&&(e[s.str]=(e[s.str]||0)+1),e),{})}};$t._Code=qi;$t.nil=new qi("");function Ec(t,...n){let e=[t[0]],s=0;for(;s<n.length;)bl(e,n[s]),e.push(t[++s]);return new qi(e)}$t._=Ec;var vl=new qi("+");function Sc(t,...n){let e=[Rs(t[0])],s=0;for(;s<n.length;)e.push(vl),bl(e,n[s]),e.push(vl,Rs(t[++s]));return Rg(e),new qi(e)}$t.str=Sc;function bl(t,n){n instanceof qi?t.push(...n._items):n instanceof $n?t.push(n):t.push(Mg(n))}$t.addCodeArg=bl;function Rg(t){let n=1;for(;n<t.length-1;){if(t[n]===vl){let e=Ng(t[n-1],t[n+1]);if(e!==void 0){t.splice(n-1,3,e);continue}t[n++]="+"}n++}}function Ng(t,n){if(n==='""')return t;if(t==='""')return n;if(typeof t=="string")return n instanceof $n||t[t.length-1]!=='"'?void 0:typeof n!="string"?`${t.slice(0,-1)}${n}"`:n[0]==='"'?t.slice(0,-1)+n.slice(1):void 0;if(typeof n=="string"&&n[0]==='"'&&!(t instanceof $n))return`"${t}${n.slice(1)}`}function Lg(t,n){return n.emptyStr()?t:t.emptyStr()?n:Sc`${t}${n}`}$t.strConcat=Lg;function Mg(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Rs(Array.isArray(t)?t.join(","):t)}function zg(t){return new qi(Rs(t))}$t.stringify=zg;function Rs(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}$t.safeStringify=Rs;function jg(t){return typeof t=="string"&&$t.IDENTIFIER.test(t)?new qi(`.${t}`):Ec`[${t}]`}$t.getProperty=jg});var xl=Ee(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.ValueScope=Sr.ValueScopeName=Sr.Scope=Sr.varKinds=Sr.UsedValueState=void 0;var Lr=Ma(),wl=class extends Error{constructor(n){super(`CodeGen: "code" for ${n} not defined`),this.value=n.value}},$l;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})($l=Sr.UsedValueState||(Sr.UsedValueState={}));Sr.varKinds={const:new Lr.Name("const"),let:new Lr.Name("let"),var:new Lr.Name("var")};var za=class{constructor({prefixes:n,parent:e}={}){this._names={},this._prefixes=n,this._parent=e}toName(n){return n instanceof Lr.Name?n:this.name(n)}name(n){return new Lr.Name(this._newName(n))}_newName(n){let e=this._names[n]||this._nameGroup(n);return`${n}${e.index++}`}_nameGroup(n){var e,s;if(((s=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||s===void 0?void 0:s.has(n))||this._prefixes&&!this._prefixes.has(n))throw new Error(`CodeGen: prefix "${n}" is not allowed in this scope`);return this._names[n]={prefix:n,index:0}}};Sr.Scope=za;var ja=class extends Lr.Name{constructor(n,e){super(e),this.prefix=n}setValue(n,{property:e,itemIndex:s}){this.value=n,this.scopePath=Lr._`.${new Lr.Name(e)}[${s}]`}};Sr.ValueScopeName=ja;var Bg=Lr._`\n`,Al=class extends za{constructor(n){super(n),this._values={},this._scope=n.scope,this.opts={...n,_n:n.lines?Bg:Lr.nil}}get(){return this._scope}name(n){return new ja(n,this._newName(n))}value(n,e){var s;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let o=this.toName(n),{prefix:f}=o,h=(s=e.key)!==null&&s!==void 0?s:e.ref,v=this._values[f];if(v){let w=v.get(h);if(w)return w}else v=this._values[f]=new Map;v.set(h,o);let b=this._scope[f]||(this._scope[f]=[]),A=b.length;return b[A]=e.ref,o.setValue(e,{property:f,itemIndex:A}),o}getValue(n,e){let s=this._values[n];if(!!s)return s.get(e)}scopeRefs(n,e=this._values){return this._reduceValues(e,s=>{if(s.scopePath===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return Lr._`${n}${s.scopePath}`})}scopeCode(n=this._values,e,s){return this._reduceValues(n,o=>{if(o.value===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return o.value.code},e,s)}_reduceValues(n,e,s={},o){let f=Lr.nil;for(let h in n){let v=n[h];if(!v)continue;let b=s[h]=s[h]||new Map;v.forEach(A=>{if(b.has(A))return;b.set(A,$l.Started);let w=e(A);if(w){let T=this.opts.es5?Sr.varKinds.var:Sr.varKinds.const;f=Lr._`${f}${T} ${A} = ${w};${this.opts._n}`}else if(w=o==null?void 0:o(A))f=Lr._`${f}${w}${this.opts._n}`;else throw new wl(A);b.set(A,$l.Completed)})}return f}};Sr.ValueScope=Al});var Qe=Ee(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.or=Ye.and=Ye.not=Ye.CodeGen=Ye.operators=Ye.varKinds=Ye.ValueScopeName=Ye.ValueScope=Ye.Scope=Ye.Name=Ye.stringify=Ye.getProperty=Ye.nil=Ye.strConcat=Ye.str=Ye._=void 0;var rt=Ma(),$i=xl(),kn=Ma();Object.defineProperty(Ye,"_",{enumerable:!0,get:function(){return kn._}});Object.defineProperty(Ye,"str",{enumerable:!0,get:function(){return kn.str}});Object.defineProperty(Ye,"strConcat",{enumerable:!0,get:function(){return kn.strConcat}});Object.defineProperty(Ye,"nil",{enumerable:!0,get:function(){return kn.nil}});Object.defineProperty(Ye,"getProperty",{enumerable:!0,get:function(){return kn.getProperty}});Object.defineProperty(Ye,"stringify",{enumerable:!0,get:function(){return kn.stringify}});Object.defineProperty(Ye,"Name",{enumerable:!0,get:function(){return kn.Name}});var Ha=xl();Object.defineProperty(Ye,"Scope",{enumerable:!0,get:function(){return Ha.Scope}});Object.defineProperty(Ye,"ValueScope",{enumerable:!0,get:function(){return Ha.ValueScope}});Object.defineProperty(Ye,"ValueScopeName",{enumerable:!0,get:function(){return Ha.ValueScopeName}});Object.defineProperty(Ye,"varKinds",{enumerable:!0,get:function(){return Ha.varKinds}});Ye.operators={GT:new rt._Code(">"),GTE:new rt._Code(">="),LT:new rt._Code("<"),LTE:new rt._Code("<="),EQ:new rt._Code("==="),NEQ:new rt._Code("!=="),NOT:new rt._Code("!"),OR:new rt._Code("||"),AND:new rt._Code("&&"),ADD:new rt._Code("+")};var Zi=class{optimizeNodes(){return this}optimizeNames(n,e){return this}},kl=class extends Zi{constructor(n,e,s){super(),this.varKind=n,this.name=e,this.rhs=s}render({es5:n,_n:e}){let s=n?$i.varKinds.var:this.varKind,o=this.rhs===void 0?"":` = ${this.rhs}`;return`${s} ${this.name}${o};`+e}optimizeNames(n,e){if(!!n[this.name.str])return this.rhs&&(this.rhs=es(this.rhs,n,e)),this}get names(){return this.rhs instanceof rt._CodeOrName?this.rhs.names:{}}},Ba=class extends Zi{constructor(n,e,s){super(),this.lhs=n,this.rhs=e,this.sideEffects=s}render({_n:n}){return`${this.lhs} = ${this.rhs};`+n}optimizeNames(n,e){if(!(this.lhs instanceof rt.Name&&!n[this.lhs.str]&&!this.sideEffects))return this.rhs=es(this.rhs,n,e),this}get names(){let n=this.lhs instanceof rt.Name?{}:{...this.lhs.names};return Ua(n,this.rhs)}},Cl=class extends Ba{constructor(n,e,s,o){super(n,s,o),this.op=e}render({_n:n}){return`${this.lhs} ${this.op}= ${this.rhs};`+n}},_l=class extends Zi{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`${this.label}:`+n}},El=class extends Zi{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`break${this.label?` ${this.label}`:""};`+n}},Sl=class extends Zi{constructor(n){super(),this.error=n}render({_n:n}){return`throw ${this.error};`+n}get names(){return this.error.names}},Tl=class extends Zi{constructor(n){super(),this.code=n}render({_n:n}){return`${this.code};`+n}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(n,e){return this.code=es(this.code,n,e),this}get names(){return this.code instanceof rt._CodeOrName?this.code.names:{}}},Ns=class extends Zi{constructor(n=[]){super(),this.nodes=n}render(n){return this.nodes.reduce((e,s)=>e+s.render(n),"")}optimizeNodes(){let{nodes:n}=this,e=n.length;for(;e--;){let s=n[e].optimizeNodes();Array.isArray(s)?n.splice(e,1,...s):s?n[e]=s:n.splice(e,1)}return n.length>0?this:void 0}optimizeNames(n,e){let{nodes:s}=this,o=s.length;for(;o--;){let f=s[o];f.optimizeNames(n,e)||(Vg(n,f.names),s.splice(o,1))}return s.length>0?this:void 0}get names(){return this.nodes.reduce((n,e)=>xn(n,e.names),{})}},Xi=class extends Ns{render(n){return"{"+n._n+super.render(n)+"}"+n._n}},Pl=class extends Ns{},Yn=class extends Xi{};Yn.kind="else";var Ai=class extends Xi{constructor(n,e){super(e),this.condition=n}render(n){let e=`if(${this.condition})`+super.render(n);return this.else&&(e+="else "+this.else.render(n)),e}optimizeNodes(){super.optimizeNodes();let n=this.condition;if(n===!0)return this.nodes;let e=this.else;if(e){let s=e.optimizeNodes();e=this.else=Array.isArray(s)?new Yn(s):s}if(e)return n===!1?e instanceof Ai?e:e.nodes:this.nodes.length?this:new Ai(Tc(n),e instanceof Ai?[e]:e.nodes);if(!(n===!1||!this.nodes.length))return this}optimizeNames(n,e){var s;if(this.else=(s=this.else)===null||s===void 0?void 0:s.optimizeNames(n,e),!!(super.optimizeNames(n,e)||this.else))return this.condition=es(this.condition,n,e),this}get names(){let n=super.names;return Ua(n,this.condition),this.else&&xn(n,this.else.names),n}};Ai.kind="if";var An=class extends Xi{};An.kind="for";var Fl=class extends An{constructor(n){super(),this.iteration=n}render(n){return`for(${this.iteration})`+super.render(n)}optimizeNames(n,e){if(!!super.optimizeNames(n,e))return this.iteration=es(this.iteration,n,e),this}get names(){return xn(super.names,this.iteration.names)}},Dl=class extends An{constructor(n,e,s,o){super(),this.varKind=n,this.name=e,this.from=s,this.to=o}render(n){let e=n.es5?$i.varKinds.var:this.varKind,{name:s,from:o,to:f}=this;return`for(${e} ${s}=${o}; ${s}<${f}; ${s}++)`+super.render(n)}get names(){let n=Ua(super.names,this.from);return Ua(n,this.to)}},Va=class extends An{constructor(n,e,s,o){super(),this.loop=n,this.varKind=e,this.name=s,this.iterable=o}render(n){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(n)}optimizeNames(n,e){if(!!super.optimizeNames(n,e))return this.iterable=es(this.iterable,n,e),this}get names(){return xn(super.names,this.iterable.names)}},Ls=class extends Xi{constructor(n,e,s){super(),this.name=n,this.args=e,this.async=s}render(n){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(n)}};Ls.kind="func";var Ms=class extends Ns{render(n){return"return "+super.render(n)}};Ms.kind="return";var Il=class extends Xi{render(n){let e="try"+super.render(n);return this.catch&&(e+=this.catch.render(n)),this.finally&&(e+=this.finally.render(n)),e}optimizeNodes(){var n,e;return super.optimizeNodes(),(n=this.catch)===null||n===void 0||n.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(n,e){var s,o;return super.optimizeNames(n,e),(s=this.catch)===null||s===void 0||s.optimizeNames(n,e),(o=this.finally)===null||o===void 0||o.optimizeNames(n,e),this}get names(){let n=super.names;return this.catch&&xn(n,this.catch.names),this.finally&&xn(n,this.finally.names),n}},zs=class extends Xi{constructor(n){super(),this.error=n}render(n){return`catch(${this.error})`+super.render(n)}};zs.kind="catch";var js=class extends Xi{render(n){return"finally"+super.render(n)}};js.kind="finally";var Ol=class{constructor(n,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
- `:""},this._extScope=n,this._scope=new $i.Scope({parent:n}),this._nodes=[new Pl]}toString(){return this._root.render(this.opts)}name(n){return this._scope.name(n)}scopeName(n){return this._extScope.name(n)}scopeValue(n,e){let s=this._extScope.value(n,e);return(this._values[s.prefix]||(this._values[s.prefix]=new Set)).add(s),s}getScopeValue(n,e){return this._extScope.getValue(n,e)}scopeRefs(n){return this._extScope.scopeRefs(n,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(n,e,s,o){let f=this._scope.toName(e);return s!==void 0&&o&&(this._constants[f.str]=s),this._leafNode(new kl(n,f,s)),f}const(n,e,s){return this._def($i.varKinds.const,n,e,s)}let(n,e,s){return this._def($i.varKinds.let,n,e,s)}var(n,e,s){return this._def($i.varKinds.var,n,e,s)}assign(n,e,s){return this._leafNode(new Ba(n,e,s))}add(n,e){return this._leafNode(new Cl(n,Ye.operators.ADD,e))}code(n){return typeof n=="function"?n():n!==rt.nil&&this._leafNode(new Tl(n)),this}object(...n){let e=["{"];for(let[s,o]of n)e.length>1&&e.push(","),e.push(s),(s!==o||this.opts.es5)&&(e.push(":"),rt.addCodeArg(e,o));return e.push("}"),new rt._Code(e)}if(n,e,s){if(this._blockNode(new Ai(n)),e&&s)this.code(e).else().code(s).endIf();else if(e)this.code(e).endIf();else if(s)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(n){return this._elseNode(new Ai(n))}else(){return this._elseNode(new Yn)}endIf(){return this._endBlockNode(Ai,Yn)}_for(n,e){return this._blockNode(n),e&&this.code(e).endFor(),this}for(n,e){return this._for(new Fl(n),e)}forRange(n,e,s,o,f=this.opts.es5?$i.varKinds.var:$i.varKinds.let){let h=this._scope.toName(n);return this._for(new Dl(f,h,e,s),()=>o(h))}forOf(n,e,s,o=$i.varKinds.const){let f=this._scope.toName(n);if(this.opts.es5){let h=e instanceof rt.Name?e:this.var("_arr",e);return this.forRange("_i",0,rt._`${h}.length`,v=>{this.var(f,rt._`${h}[${v}]`),s(f)})}return this._for(new Va("of",o,f,e),()=>s(f))}forIn(n,e,s,o=this.opts.es5?$i.varKinds.var:$i.varKinds.const){if(this.opts.ownProperties)return this.forOf(n,rt._`Object.keys(${e})`,s);let f=this._scope.toName(n);return this._for(new Va("in",o,f,e),()=>s(f))}endFor(){return this._endBlockNode(An)}label(n){return this._leafNode(new _l(n))}break(n){return this._leafNode(new El(n))}return(n){let e=new Ms;if(this._blockNode(e),this.code(n),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Ms)}try(n,e,s){if(!e&&!s)throw new Error('CodeGen: "try" without "catch" and "finally"');let o=new Il;if(this._blockNode(o),this.code(n),e){let f=this.name("e");this._currNode=o.catch=new zs(f),e(f)}return s&&(this._currNode=o.finally=new js,this.code(s)),this._endBlockNode(zs,js)}throw(n){return this._leafNode(new Sl(n))}block(n,e){return this._blockStarts.push(this._nodes.length),n&&this.code(n).endBlock(e),this}endBlock(n){let e=this._blockStarts.pop();if(e===void 0)throw new Error("CodeGen: not in self-balancing block");let s=this._nodes.length-e;if(s<0||n!==void 0&&s!==n)throw new Error(`CodeGen: wrong number of nodes: ${s} vs ${n} expected`);return this._nodes.length=e,this}func(n,e=rt.nil,s,o){return this._blockNode(new Ls(n,e,s)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(Ls)}optimize(n=1){for(;n-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(n){return this._currNode.nodes.push(n),this}_blockNode(n){this._currNode.nodes.push(n),this._nodes.push(n)}_endBlockNode(n,e){let s=this._currNode;if(s instanceof n||e&&s instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${n.kind}/${e.kind}`:n.kind}"`)}_elseNode(n){let e=this._currNode;if(!(e instanceof Ai))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=n,this}get _root(){return this._nodes[0]}get _currNode(){let n=this._nodes;return n[n.length-1]}set _currNode(n){let e=this._nodes;e[e.length-1]=n}};Ye.CodeGen=Ol;function xn(t,n){for(let e in n)t[e]=(t[e]||0)+(n[e]||0);return t}function Ua(t,n){return n instanceof rt._CodeOrName?xn(t,n.names):t}function es(t,n,e){if(t instanceof rt.Name)return s(t);if(!o(t))return t;return new rt._Code(t._items.reduce((f,h)=>(h instanceof rt.Name&&(h=s(h)),h instanceof rt._Code?f.push(...h._items):f.push(h),f),[]));function s(f){let h=e[f.str];return h===void 0||n[f.str]!==1?f:(delete n[f.str],h)}function o(f){return f instanceof rt._Code&&f._items.some(h=>h instanceof rt.Name&&n[h.str]===1&&e[h.str]!==void 0)}}function Vg(t,n){for(let e in n)t[e]=(t[e]||0)-(n[e]||0)}function Tc(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:rt._`!${ql(t)}`}Ye.not=Tc;var Ug=Pc(Ye.operators.AND);function Hg(...t){return t.reduce(Ug)}Ye.and=Hg;var Gg=Pc(Ye.operators.OR);function Kg(...t){return t.reduce(Gg)}Ye.or=Kg;function Pc(t){return(n,e)=>n===rt.nil?e:e===rt.nil?n:rt._`${ql(n)} ${t} ${ql(e)}`}function ql(t){return t instanceof rt.Name?t:rt._`(${t})`}});var xi=Ee(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var mr=Qe(),Wg={data:new mr.Name("data"),valCxt:new mr.Name("valCxt"),dataPath:new mr.Name("dataPath"),parentData:new mr.Name("parentData"),parentDataProperty:new mr.Name("parentDataProperty"),rootData:new mr.Name("rootData"),dynamicAnchors:new mr.Name("dynamicAnchors"),vErrors:new mr.Name("vErrors"),errors:new mr.Name("errors"),this:new mr.Name("this"),self:new mr.Name("self"),scope:new mr.Name("scope"),json:new mr.Name("json"),jsonPos:new mr.Name("jsonPos"),jsonLen:new mr.Name("jsonLen"),jsonPart:new mr.Name("jsonPart")};Rl.default=Wg});var Bs=Ee(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});gr.extendErrors=gr.resetErrorsCount=gr.reportExtraError=gr.reportError=gr.keyword$DataError=gr.keywordError=void 0;var it=Qe(),yr=xi();gr.keywordError={message:({keyword:t})=>it.str`should pass "${t}" keyword validation`};gr.keyword$DataError={message:({keyword:t,schemaType:n})=>n?it.str`"${t}" keyword must be ${n} ($data)`:it.str`"${t}" keyword is invalid ($data)`};function Jg(t,n=gr.keywordError,e){let{it:s}=t,{gen:o,compositeRule:f,allErrors:h}=s,v=Ic(t,n);e??(f||h)?Fc(o,v):Dc(s,it._`[${v}]`)}gr.reportError=Jg;function Qg(t,n=gr.keywordError){let{it:e}=t,{gen:s,compositeRule:o,allErrors:f}=e,h=Ic(t,n);Fc(s,h),o||f||Dc(e,yr.default.vErrors)}gr.reportExtraError=Qg;function Zg(t,n){t.assign(yr.default.errors,n),t.if(it._`${yr.default.vErrors} !== null`,()=>t.if(n,()=>t.assign(it._`${yr.default.vErrors}.length`,n),()=>t.assign(yr.default.vErrors,null)))}gr.resetErrorsCount=Zg;function Xg({gen:t,keyword:n,schemaValue:e,data:s,errsCount:o,it:f}){if(o===void 0)throw new Error("ajv implementation error");let h=t.name("err");t.forRange("i",o,yr.default.errors,v=>{t.const(h,it._`${yr.default.vErrors}[${v}]`),t.if(it._`${h}.dataPath === undefined`,()=>t.assign(it._`${h}.dataPath`,it.strConcat(yr.default.dataPath,f.errorPath))),t.assign(it._`${h}.schemaPath`,it.str`${f.errSchemaPath}/${n}`),f.opts.verbose&&(t.assign(it._`${h}.schema`,e),t.assign(it._`${h}.data`,s))})}gr.extendErrors=Xg;function Fc(t,n){let e=t.const("err",n);t.if(it._`${yr.default.vErrors} === null`,()=>t.assign(yr.default.vErrors,it._`[${e}]`),it._`${yr.default.vErrors}.push(${e})`),t.code(it._`${yr.default.errors}++`)}function Dc(t,n){let{gen:e,validateName:s,schemaEnv:o}=t;o.$async?e.throw(it._`new ${t.ValidationError}(${n})`):(e.assign(it._`${s}.errors`,n),e.return(!1))}var Ri={keyword:new it.Name("keyword"),schemaPath:new it.Name("schemaPath"),params:new it.Name("params"),propertyName:new it.Name("propertyName"),message:new it.Name("message"),schema:new it.Name("schema"),parentSchema:new it.Name("parentSchema"),instancePath:new it.Name("instancePath")};function Ic(t,n){let{createErrors:e,opts:s}=t.it;return e===!1?it._`{}`:(s.jtd&&!s.ajvErrors?Yg:e0)(t,n)}function Yg(t,{message:n}){let{gen:e,keyword:s,it:o}=t,{errorPath:f,errSchemaPath:h,opts:v}=o,b=[[Ri.instancePath,it.strConcat(yr.default.dataPath,f)],[Ri.schemaPath,it.str`${h}/${s}`]];return v.messages&&b.push([Ri.message,typeof n=="function"?n(t):n]),e.object(...b)}function e0(t,n){let{gen:e,keyword:s,data:o,schemaValue:f,it:h}=t,{topSchemaRef:v,schemaPath:b,errorPath:A,errSchemaPath:w,propertyName:T,opts:N}=h,{params:R,message:L}=n,V=[[Ri.keyword,s],[yr.default.dataPath,it.strConcat(yr.default.dataPath,A)],[Ri.schemaPath,it.str`${w}/${s}`],[Ri.params,typeof R=="function"?R(t):R||it._`{}`]];return T&&V.push([Ri.propertyName,T]),N.messages&&V.push([Ri.message,typeof L=="function"?L(t):L]),N.verbose&&V.push([Ri.schema,f],[Ri.parentSchema,it._`${v}${b}`],[yr.default.data,o]),e.object(...V)}});var qc=Ee(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.boolOrEmptySchema=ts.topBoolOrEmptySchema=void 0;var t0=Bs(),r0=Qe(),i0=xi(),n0={message:"boolean schema is false"};function s0(t){let{gen:n,schema:e,validateName:s}=t;e===!1?Oc(t,!1):typeof e=="object"&&e.$async===!0?n.return(i0.default.data):(n.assign(r0._`${s}.errors`,null),n.return(!0))}ts.topBoolOrEmptySchema=s0;function a0(t,n){let{gen:e,schema:s}=t;s===!1?(e.var(n,!1),Oc(t)):e.var(n,!0)}ts.boolOrEmptySchema=a0;function Oc(t,n){let{gen:e,data:s}=t,o={gen:e,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};t0.reportError(o,n0,n)}});var Nc=Ee(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.assignDefaults=void 0;var rs=Qe(),o0=Jr();function l0(t,n){let{properties:e,items:s}=t.schema;if(n==="object"&&e)for(let o in e)Rc(t,o,e[o].default);else n==="array"&&Array.isArray(s)&&s.forEach((o,f)=>Rc(t,f,o.default))}Ga.assignDefaults=l0;function Rc(t,n,e){let{gen:s,compositeRule:o,data:f,opts:h}=t;if(e===void 0)return;let v=rs._`${f}${rs.getProperty(n)}`;if(o){o0.checkStrictMode(t,`default is ignored for: ${v}`);return}let b=rs._`${v} === undefined`;h.useDefaults==="empty"&&(b=rs._`${b} || ${v} === null || ${v} === ""`),s.if(b,rs._`${v} = ${rs.stringify(e)}`)}});var _n=Ee(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.applySubschema=Cn.Type=void 0;var f0=Jr(),Lc=qt(),vr=Qe(),Mc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(Mc=Cn.Type||(Cn.Type={}));function u0(t,n,e){let s=c0(t,n);h0(s,t,n),d0(s,n);let o={...t,...s,items:void 0,props:void 0};return f0.subschemaCode(o,e),o}Cn.applySubschema=u0;function c0(t,{keyword:n,schemaProp:e,schema:s,schemaPath:o,errSchemaPath:f,topSchemaRef:h}){if(n!==void 0&&s!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(n!==void 0){let v=t.schema[n];return e===void 0?{schema:v,schemaPath:vr._`${t.schemaPath}${vr.getProperty(n)}`,errSchemaPath:`${t.errSchemaPath}/${n}`}:{schema:v[e],schemaPath:vr._`${t.schemaPath}${vr.getProperty(n)}${vr.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${n}/${Lc.escapeFragment(e)}`}}if(s!==void 0){if(o===void 0||f===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:o,topSchemaRef:h,errSchemaPath:f}}throw new Error('either "keyword" or "schema" must be passed')}function h0(t,n,{dataProp:e,dataPropType:s,data:o,dataTypes:f,propertyName:h}){if(o!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:v}=n;if(e!==void 0){let{errorPath:A,dataPathArr:w,opts:T}=n,N=v.let("data",vr._`${n.data}${vr.getProperty(e)}`,!0);b(N),t.errorPath=vr.str`${A}${p0(e,s,T.jsPropertySyntax)}`,t.parentDataProperty=vr._`${e}`,t.dataPathArr=[...w,t.parentDataProperty]}if(o!==void 0){let A=o instanceof vr.Name?o:v.let("data",o,!0);b(A),h!==void 0&&(t.propertyName=h)}f&&(t.dataTypes=f);function b(A){t.data=A,t.dataLevel=n.dataLevel+1,t.dataTypes=[],n.definedProperties=new Set,t.parentData=n.data,t.dataNames=[...n.dataNames,A]}}function d0(t,{jtdDiscriminator:n,jtdMetadata:e,compositeRule:s,createErrors:o,allErrors:f}){s!==void 0&&(t.compositeRule=s),o!==void 0&&(t.createErrors=o),f!==void 0&&(t.allErrors=f),t.jtdDiscriminator=n,t.jtdMetadata=e}function p0(t,n,e){if(t instanceof vr.Name){let s=n===Mc.Num;return e?s?vr._`"[" + ${t} + "]"`:vr._`"['" + ${t} + "']"`:s?vr._`"/" + ${t}`:vr._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?vr.getProperty(t).toString():"/"+Lc.escapeJsonPointer(t)}});var ki=Ee(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.validateUnion=At.validateArray=At.usePattern=At.callValidateCode=At.schemaProperties=At.allSchemaProperties=At.noPropertyInData=At.propertyInData=At.isOwnProperty=At.hasPropFunc=At.reportMissingProp=At.checkMissingProp=At.checkReportMissingProp=void 0;var Pt=Qe(),zc=qt(),m0=_n(),on=xi();function g0(t,n){let{gen:e,data:s,it:o}=t;e.if(Ll(e,s,n,o.opts.ownProperties),()=>{t.setParams({missingProperty:Pt._`${n}`},!0),t.error()})}At.checkReportMissingProp=g0;function y0({gen:t,data:n,it:{opts:e}},s,o){return Pt.or(...s.map(f=>Pt.and(Ll(t,n,f,e.ownProperties),Pt._`${o} = ${f}`)))}At.checkMissingProp=y0;function v0(t,n){t.setParams({missingProperty:n},!0),t.error()}At.reportMissingProp=v0;function jc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Pt._`Object.prototype.hasOwnProperty`})}At.hasPropFunc=jc;function Nl(t,n,e){return Pt._`${jc(t)}.call(${n}, ${e})`}At.isOwnProperty=Nl;function b0(t,n,e,s){let o=Pt._`${n}${Pt.getProperty(e)} !== undefined`;return s?Pt._`${o} && ${Nl(t,n,e)}`:o}At.propertyInData=b0;function Ll(t,n,e,s){let o=Pt._`${n}${Pt.getProperty(e)} === undefined`;return s?Pt.or(o,Pt.not(Nl(t,n,e))):o}At.noPropertyInData=Ll;function Bc(t){return t?Object.keys(t).filter(n=>n!=="__proto__"):[]}At.allSchemaProperties=Bc;function w0(t,n){return Bc(n).filter(e=>!zc.alwaysValidSchema(t,n[e]))}At.schemaProperties=w0;function $0({schemaCode:t,data:n,it:{gen:e,topSchemaRef:s,schemaPath:o,errorPath:f},it:h},v,b,A){let w=A?Pt._`${t}, ${n}, ${s}${o}`:n,T=[[on.default.dataPath,Pt.strConcat(on.default.dataPath,f)],[on.default.parentData,h.parentData],[on.default.parentDataProperty,h.parentDataProperty],[on.default.rootData,on.default.rootData]];h.opts.dynamicRef&&T.push([on.default.dynamicAnchors,on.default.dynamicAnchors]);let N=Pt._`${w}, ${e.object(...T)}`;return b!==Pt.nil?Pt._`${v}.call(${b}, ${N})`:Pt._`${v}(${N})`}At.callValidateCode=$0;function A0(t,n){return t.scopeValue("pattern",{key:n,ref:new RegExp(n,"u"),code:Pt._`new RegExp(${n}, "u")`})}At.usePattern=A0;function x0(t){let{gen:n,data:e,keyword:s,it:o}=t,f=n.name("valid");if(o.allErrors){let v=n.let("valid",!0);return h(()=>n.assign(v,!1)),v}return n.var(f,!0),h(()=>n.break()),f;function h(v){let b=n.const("len",Pt._`${e}.length`);n.forRange("i",0,b,A=>{t.subschema({keyword:s,dataProp:A,dataPropType:m0.Type.Num},f),n.if(Pt.not(f),v)})}}At.validateArray=x0;function k0(t){let{gen:n,schema:e,keyword:s,it:o}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(b=>zc.alwaysValidSchema(o,b))&&!o.opts.unevaluated)return;let h=n.let("valid",!1),v=n.name("_valid");n.block(()=>e.forEach((b,A)=>{let w=t.subschema({keyword:s,schemaProp:A,compositeRule:!0},v);n.assign(h,Pt._`${h} || ${v}`),t.mergeValidEvaluated(w,v)||n.if(Pt.not(h))})),t.result(h,()=>t.reset(),()=>t.error(!0))}At.validateUnion=k0});var Gc=Ee(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});Ka.keywordCode=void 0;var C0=Vs(),_0=Bs(),E0=ki(),Tr=Qe(),En=xi();function S0(t,n,e,s){let o=new C0.default(t,e,n);"code"in e?e.code(o,s):o.$data&&e.validate?Vc(o,e):"macro"in e?T0(o,e):(e.compile||e.validate)&&Vc(o,e)}Ka.keywordCode=S0;function T0(t,n){let{gen:e,keyword:s,schema:o,parentSchema:f,it:h}=t,v=n.macro.call(h.self,o,f,h),b=Hc(e,s,v);h.opts.validateSchema!==!1&&h.self.validateSchema(v,!0);let A=e.name("valid");t.subschema({schema:v,schemaPath:Tr.nil,errSchemaPath:`${h.errSchemaPath}/${s}`,topSchemaRef:b,compositeRule:!0},A),t.pass(A,()=>t.error(!0))}function Vc(t,n){var e;let{gen:s,keyword:o,schema:f,parentSchema:h,$data:v,it:b}=t;F0(b,n);let A=!v&&n.compile?n.compile.call(b.self,f,h,b):n.validate,w=Hc(s,o,A),T=s.let("valid");t.block$data(T,N),t.ok((e=n.valid)!==null&&e!==void 0?e:T);function N(){if(n.errors===!1)V(),n.modifying&&Uc(t),G(()=>t.error());else{let K=n.async?R():L();n.modifying&&Uc(t),G(()=>P0(t,K))}}function R(){let K=s.let("ruleErrs",null);return s.try(()=>V(Tr._`await `),re=>s.assign(T,!1).if(Tr._`${re} instanceof ${b.ValidationError}`,()=>s.assign(K,Tr._`${re}.errors`),()=>s.throw(re))),K}function L(){let K=Tr._`${w}.errors`;return s.assign(K,null),V(Tr.nil),K}function V(K=n.async?Tr._`await `:Tr.nil){let re=b.opts.passContext?En.default.this:En.default.self,ce=!("compile"in n&&!v||n.schema===!1);s.assign(T,Tr._`${K}${E0.callValidateCode(t,w,re,ce)}`,n.modifying)}function G(K){var re;s.if(Tr.not((re=n.valid)!==null&&re!==void 0?re:T),K)}}function Uc(t){let{gen:n,data:e,it:s}=t;n.if(s.parentData,()=>n.assign(e,Tr._`${s.parentData}[${s.parentDataProperty}]`))}function P0(t,n){let{gen:e}=t;e.if(Tr._`Array.isArray(${n})`,()=>{e.assign(En.default.vErrors,Tr._`${En.default.vErrors} === null ? ${n} : ${En.default.vErrors}.concat(${n})`).assign(En.default.errors,Tr._`${En.default.vErrors}.length`),_0.extendErrors(t)},()=>t.error())}function F0({schemaEnv:t},n){if(n.async&&!t.$async)throw new Error("async keyword in sync schema")}function Hc(t,n,e){if(e===void 0)throw new Error(`keyword "${n}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:Tr.stringify(e)})}});var Zc=Ee(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.schemaKeywords=void 0;var Ml=yl(),Kc=is(),D0=Nc(),Qc=Gc(),I0=qt(),O0=Jr(),q0=Qe(),R0=xi();function N0(t,n,e,s){let{gen:o,schema:f,data:h,allErrors:v,opts:b,self:A}=t,{RULES:w}=A;if(f.$ref&&(b.ignoreKeywordsWithRef||!I0.schemaHasRulesButRef(f,w))){o.block(()=>Qc.keywordCode(t,"$ref",w.all.$ref.definition));return}b.jtd||L0(t,n),o.block(()=>{for(let N of w.rules)T(N);T(w.post)});function T(N){!Ml.shouldUseGroup(f,N)||(N.type?(o.if(Kc.checkDataType(N.type,h,b.strict)),Wc(t,N),n.length===1&&n[0]===N.type&&e&&(o.else(),Kc.reportTypeError(t)),o.endIf()):Wc(t,N),v||o.if(q0._`${R0.default.errors} === ${s||0}`))}}Wa.schemaKeywords=N0;function Wc(t,n){let{gen:e,schema:s,opts:{useDefaults:o}}=t;o&&D0.assignDefaults(t,n.type),e.block(()=>{for(let f of n.rules)Ml.shouldUseRule(s,f)&&Qc.keywordCode(t,f.keyword,f.definition,n.type)})}function L0(t,n){t.schemaEnv.meta||!t.opts.strictTypes||(M0(t,n),t.opts.allowUnionTypes||z0(t,n),j0(t,t.dataTypes))}function M0(t,n){if(!!n.length){if(!t.dataTypes.length){t.dataTypes=n;return}n.forEach(e=>{Jc(t.dataTypes,e)||zl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>Jc(n,e))}}function z0(t,n){n.length>1&&!(n.length===2&&n.includes("null"))&&zl(t,"use allowUnionTypes to allow union type keyword")}function j0(t,n){let e=t.self.RULES.all;for(let s in e){let o=e[s];if(typeof o=="object"&&Ml.shouldUseRule(t.schema,o)){let{type:f}=o.definition;f.length&&!f.some(h=>B0(n,h))&&zl(t,`missing type "${f.join(",")}" for keyword "${s}"`)}}}function B0(t,n){return t.includes(n)||n==="number"&&t.includes("integer")}function Jc(t,n){return t.includes(n)||n==="integer"&&t.includes("number")}function zl(t,n){let e=t.schemaEnv.baseId+t.errSchemaPath;n+=` at "${e}" (strictTypes)`,O0.checkStrictMode(t,n,t.opts.strictTypes)}});var Us=Ee((lx,Xc)=>{"use strict";Xc.exports=function t(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){if(n.constructor!==e.constructor)return!1;var s,o,f;if(Array.isArray(n)){if(s=n.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!t(n[o],e[o]))return!1;return!0}if(n.constructor===RegExp)return n.source===e.source&&n.flags===e.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===e.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===e.toString();if(f=Object.keys(n),s=f.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,f[o]))return!1;for(o=s;o--!==0;){var h=f[o];if(!t(n[h],e[h]))return!1}return!0}return n!==n&&e!==e}});var eh=Ee((fx,Yc)=>{"use strict";var ln=Yc.exports=function(t,n,e){typeof n=="function"&&(e=n,n={}),e=n.cb||e;var s=typeof e=="function"?e:e.pre||function(){},o=e.post||function(){};Ja(n,s,o,t,"",t)};ln.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ln.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ln.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ln.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Ja(t,n,e,s,o,f,h,v,b,A){if(s&&typeof s=="object"&&!Array.isArray(s)){n(s,o,f,h,v,b,A);for(var w in s){var T=s[w];if(Array.isArray(T)){if(w in ln.arrayKeywords)for(var N=0;N<T.length;N++)Ja(t,n,e,T[N],o+"/"+w+"/"+N,f,o,w,s,N)}else if(w in ln.propsKeywords){if(T&&typeof T=="object")for(var R in T)Ja(t,n,e,T[R],o+"/"+w+"/"+V0(R),f,o,w,s,R)}else(w in ln.keywords||t.allKeys&&!(w in ln.skipKeywords))&&Ja(t,n,e,T,o+"/"+w,f,o,w,s)}e(s,o,f,h,v,b,A)}}function V0(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var jl=Ee((Qa,th)=>{(function(t,n){typeof Qa=="object"&&typeof th<"u"?n(Qa):typeof define=="function"&&define.amd?define(["exports"],n):n(t.URI=t.URI||{})})(Qa,function(t){"use strict";function n(){for(var Q=arguments.length,U=Array(Q),ee=0;ee<Q;ee++)U[ee]=arguments[ee];if(U.length>1){U[0]=U[0].slice(0,-1);for(var se=U.length-1,ae=1;ae<se;++ae)U[ae]=U[ae].slice(1,-1);return U[se]=U[se].slice(1),U.join("")}else return U[0]}function e(Q){return"(?:"+Q+")"}function s(Q){return Q===void 0?"undefined":Q===null?"null":Object.prototype.toString.call(Q).split(" ").pop().split("]").shift().toLowerCase()}function o(Q){return Q.toUpperCase()}function f(Q){return Q!=null?Q instanceof Array?Q:typeof Q.length!="number"||Q.split||Q.setInterval||Q.call?[Q]:Array.prototype.slice.call(Q):[]}function h(Q,U){var ee=Q;if(U)for(var se in U)ee[se]=U[se];return ee}function v(Q){var U="[A-Za-z]",ee="[\\x0D]",se="[0-9]",ae="[\\x22]",be=n(se,"[A-Fa-f]"),Ie="[\\x0A]",Me="[\\x20]",Ke=e(e("%[EFef]"+be+"%"+be+be+"%"+be+be)+"|"+e("%[89A-Fa-f]"+be+"%"+be+be)+"|"+e("%"+be+be)),dt="[\\:\\/\\?\\#\\[\\]\\@]",Le="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ot=n(dt,Le),yt=Q?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=Q?"[\\uE000-\\uF8FF]":"[]",Xe=n(U,se,"[\\-\\.\\_\\~]",yt),vt=e(U+n(U,se,"[\\+\\-\\.]")+"*"),We=e(e(Ke+"|"+n(Xe,Le,"[\\:]"))+"*"),rr=e(e("25[0-5]")+"|"+e("2[0-4]"+se)+"|"+e("1"+se+se)+"|"+e("[1-9]"+se)+"|"+se),ir=e(e("25[0-5]")+"|"+e("2[0-4]"+se)+"|"+e("1"+se+se)+"|"+e("0?[1-9]"+se)+"|0?0?"+se),Dt=e(ir+"\\."+ir+"\\."+ir+"\\."+ir),Je=e(be+"{1,4}"),nr=e(e(Je+"\\:"+Je)+"|"+Dt),cr=e(e(Je+"\\:")+"{6}"+nr),Cr=e("\\:\\:"+e(Je+"\\:")+"{5}"+nr),Yr=e(e(Je)+"?\\:\\:"+e(Je+"\\:")+"{4}"+nr),Wt=e(e(e(Je+"\\:")+"{0,1}"+Je)+"?\\:\\:"+e(Je+"\\:")+"{3}"+nr),Vr=e(e(e(Je+"\\:")+"{0,2}"+Je)+"?\\:\\:"+e(Je+"\\:")+"{2}"+nr),hi=e(e(e(Je+"\\:")+"{0,3}"+Je)+"?\\:\\:"+Je+"\\:"+nr),Hi=e(e(e(Je+"\\:")+"{0,4}"+Je)+"?\\:\\:"+nr),di=e(e(e(Je+"\\:")+"{0,5}"+Je)+"?\\:\\:"+Je),pi=e(e(e(Je+"\\:")+"{0,6}"+Je)+"?\\:\\:"),hr=e([cr,Cr,Yr,Wt,Vr,hi,Hi,di,pi].join("|")),dr=e(e(Xe+"|"+Ke)+"+"),en=e(hr+"\\%25"+dr),Ne=e(hr+e("\\%25|\\%(?!"+be+"{2})")+dr),It=e("[vV]"+be+"+\\."+n(Xe,Le,"[\\:]")+"+"),De=e("\\["+e(Ne+"|"+hr+"|"+It)+"\\]"),mi=e(e(Ke+"|"+n(Xe,Le))+"*"),_r=e(De+"|"+Dt+"(?!"+mi+")|"+mi),Ur=e(se+"*"),Ve=e(e(We+"@")+"?"+_r+e("\\:"+Ur)+"?"),kt=e(Ke+"|"+n(Xe,Le,"[\\:\\@]")),Gi=e(kt+"*"),Ki=e(kt+"+"),r=e(e(Ke+"|"+n(Xe,Le,"[\\@]"))+"+"),oe=e(e("\\/"+Gi)+"*"),Hr=e("\\/"+e(Ki+oe)+"?"),pr=e(r+oe),gi=e(Ki+oe),l="(?!"+kt+")",mn=e(oe+"|"+Hr+"|"+pr+"|"+gi+"|"+l),Ir=e(e(kt+"|"+n("[\\/\\?]",lt))+"*"),tn=e(e(kt+"|[\\/\\?]")+"*"),ws=e(e("\\/\\/"+Ve+oe)+"|"+Hr+"|"+gi+"|"+l),ya=e(vt+"\\:"+ws+e("\\?"+Ir)+"?"+e("\\#"+tn)+"?"),Ue=e(e("\\/\\/"+Ve+oe)+"|"+Hr+"|"+pr+"|"+l),Or=e(Ue+e("\\?"+Ir)+"?"+e("\\#"+tn)+"?"),gn=e(ya+"|"+Or),va=e(vt+"\\:"+ws+e("\\?"+Ir)+"?"),Hn="^("+vt+")\\:"+e(e("\\/\\/("+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?)")+"?("+oe+"|"+Hr+"|"+gi+"|"+l+")")+e("\\?("+Ir+")")+"?"+e("\\#("+tn+")")+"?$",$s="^(){0}"+e(e("\\/\\/("+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?)")+"?("+oe+"|"+Hr+"|"+pr+"|"+l+")")+e("\\?("+Ir+")")+"?"+e("\\#("+tn+")")+"?$",Wi="^("+vt+")\\:"+e(e("\\/\\/("+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?)")+"?("+oe+"|"+Hr+"|"+gi+"|"+l+")")+e("\\?("+Ir+")")+"?$",E="^"+e("\\#("+tn+")")+"?$",ba="^"+e("("+We+")@")+"?("+_r+")"+e("\\:("+Ur+")")+"?$";return{NOT_SCHEME:new RegExp(n("[^]",U,se,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(n("[^\\%\\:]",Xe,Le),"g"),NOT_HOST:new RegExp(n("[^\\%\\[\\]\\:]",Xe,Le),"g"),NOT_PATH:new RegExp(n("[^\\%\\/\\:\\@]",Xe,Le),"g"),NOT_PATH_NOSCHEME:new RegExp(n("[^\\%\\/\\@]",Xe,Le),"g"),NOT_QUERY:new RegExp(n("[^\\%]",Xe,Le,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(n("[^\\%]",Xe,Le,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(n("[^]",Xe,Le),"g"),UNRESERVED:new RegExp(Xe,"g"),OTHER_CHARS:new RegExp(n("[^\\%]",Xe,ot),"g"),PCT_ENCODED:new RegExp(Ke,"g"),IPV4ADDRESS:new RegExp("^("+Dt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+hr+")"+e(e("\\%25|\\%(?!"+be+"{2})")+"("+dr+")")+"?\\]?$")}}var b=v(!1),A=v(!0),w=function(){function Q(U,ee){var se=[],ae=!0,be=!1,Ie=void 0;try{for(var Me=U[Symbol.iterator](),Ke;!(ae=(Ke=Me.next()).done)&&(se.push(Ke.value),!(ee&&se.length===ee));ae=!0);}catch(dt){be=!0,Ie=dt}finally{try{!ae&&Me.return&&Me.return()}finally{if(be)throw Ie}}return se}return function(U,ee){if(Array.isArray(U))return U;if(Symbol.iterator in Object(U))return Q(U,ee);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),T=function(Q){if(Array.isArray(Q)){for(var U=0,ee=Array(Q.length);U<Q.length;U++)ee[U]=Q[U];return ee}else return Array.from(Q)},N=2147483647,R=36,L=1,V=26,G=38,K=700,re=72,ce=128,xe="-",ye=/^xn--/,le=/[^\0-\x7E]/,de=/[\x2E\u3002\uFF0E\uFF61]/g,Te={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ae=R-L,Ze=Math.floor,qe=String.fromCharCode;function ze(Q){throw new RangeError(Te[Q])}function we(Q,U){for(var ee=[],se=Q.length;se--;)ee[se]=U(Q[se]);return ee}function Re(Q,U){var ee=Q.split("@"),se="";ee.length>1&&(se=ee[0]+"@",Q=ee[1]),Q=Q.replace(de,".");var ae=Q.split("."),be=we(ae,U).join(".");return se+be}function nt(Q){for(var U=[],ee=0,se=Q.length;ee<se;){var ae=Q.charCodeAt(ee++);if(ae>=55296&&ae<=56319&&ee<se){var be=Q.charCodeAt(ee++);(be&64512)==56320?U.push(((ae&1023)<<10)+(be&1023)+65536):(U.push(ae),ee--)}else U.push(ae)}return U}var ne=function(U){return String.fromCodePoint.apply(String,T(U))},Ct=function(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:R},st=function(U,ee){return U+22+75*(U<26)-((ee!=0)<<5)},_t=function(U,ee,se){var ae=0;for(U=se?Ze(U/K):U>>1,U+=Ze(U/ee);U>Ae*V>>1;ae+=R)U=Ze(U/Ae);return Ze(ae+(Ae+1)*U/(U+G))},ct=function(U){var ee=[],se=U.length,ae=0,be=ce,Ie=re,Me=U.lastIndexOf(xe);Me<0&&(Me=0);for(var Ke=0;Ke<Me;++Ke)U.charCodeAt(Ke)>=128&&ze("not-basic"),ee.push(U.charCodeAt(Ke));for(var dt=Me>0?Me+1:0;dt<se;){for(var Le=ae,ot=1,yt=R;;yt+=R){dt>=se&&ze("invalid-input");var lt=Ct(U.charCodeAt(dt++));(lt>=R||lt>Ze((N-ae)/ot))&&ze("overflow"),ae+=lt*ot;var Xe=yt<=Ie?L:yt>=Ie+V?V:yt-Ie;if(lt<Xe)break;var vt=R-Xe;ot>Ze(N/vt)&&ze("overflow"),ot*=vt}var We=ee.length+1;Ie=_t(ae-Le,We,Le==0),Ze(ae/We)>N-be&&ze("overflow"),be+=Ze(ae/We),ae%=We,ee.splice(ae++,0,be)}return String.fromCodePoint.apply(String,ee)},W=function(U){var ee=[];U=nt(U);var se=U.length,ae=ce,be=0,Ie=re,Me=!0,Ke=!1,dt=void 0;try{for(var Le=U[Symbol.iterator](),ot;!(Me=(ot=Le.next()).done);Me=!0){var yt=ot.value;yt<128&&ee.push(qe(yt))}}catch(Ne){Ke=!0,dt=Ne}finally{try{!Me&&Le.return&&Le.return()}finally{if(Ke)throw dt}}var lt=ee.length,Xe=lt;for(lt&&ee.push(xe);Xe<se;){var vt=N,We=!0,rr=!1,ir=void 0;try{for(var Dt=U[Symbol.iterator](),Je;!(We=(Je=Dt.next()).done);We=!0){var nr=Je.value;nr>=ae&&nr<vt&&(vt=nr)}}catch(Ne){rr=!0,ir=Ne}finally{try{!We&&Dt.return&&Dt.return()}finally{if(rr)throw ir}}var cr=Xe+1;vt-ae>Ze((N-be)/cr)&&ze("overflow"),be+=(vt-ae)*cr,ae=vt;var Cr=!0,Yr=!1,Wt=void 0;try{for(var Vr=U[Symbol.iterator](),hi;!(Cr=(hi=Vr.next()).done);Cr=!0){var Hi=hi.value;if(Hi<ae&&++be>N&&ze("overflow"),Hi==ae){for(var di=be,pi=R;;pi+=R){var hr=pi<=Ie?L:pi>=Ie+V?V:pi-Ie;if(di<hr)break;var dr=di-hr,en=R-hr;ee.push(qe(st(hr+dr%en,0))),di=Ze(dr/en)}ee.push(qe(st(di,0))),Ie=_t(be,cr,Xe==lt),be=0,++Xe}}}catch(Ne){Yr=!0,Wt=Ne}finally{try{!Cr&&Vr.return&&Vr.return()}finally{if(Yr)throw Wt}}++be,++ae}return ee.join("")},J=function(U){return Re(U,function(ee){return ye.test(ee)?ct(ee.slice(4).toLowerCase()):ee})},xr=function(U){return Re(U,function(ee){return le.test(ee)?"xn--"+W(ee):ee})},Ht={version:"2.1.0",ucs2:{decode:nt,encode:ne},decode:ct,encode:W,toASCII:xr,toUnicode:J},Ft={};function zt(Q){var U=Q.charCodeAt(0),ee=void 0;return U<16?ee="%0"+U.toString(16).toUpperCase():U<128?ee="%"+U.toString(16).toUpperCase():U<2048?ee="%"+(U>>6|192).toString(16).toUpperCase()+"%"+(U&63|128).toString(16).toUpperCase():ee="%"+(U>>12|224).toString(16).toUpperCase()+"%"+(U>>6&63|128).toString(16).toUpperCase()+"%"+(U&63|128).toString(16).toUpperCase(),ee}function Rt(Q){for(var U="",ee=0,se=Q.length;ee<se;){var ae=parseInt(Q.substr(ee+1,2),16);if(ae<128)U+=String.fromCharCode(ae),ee+=3;else if(ae>=194&&ae<224){if(se-ee>=6){var be=parseInt(Q.substr(ee+4,2),16);U+=String.fromCharCode((ae&31)<<6|be&63)}else U+=Q.substr(ee,6);ee+=6}else if(ae>=224){if(se-ee>=9){var Ie=parseInt(Q.substr(ee+4,2),16),Me=parseInt(Q.substr(ee+7,2),16);U+=String.fromCharCode((ae&15)<<12|(Ie&63)<<6|Me&63)}else U+=Q.substr(ee,9);ee+=9}else U+=Q.substr(ee,3),ee+=3}return U}function mt(Q,U){function ee(se){var ae=Rt(se);return ae.match(U.UNRESERVED)?ae:se}return Q.scheme&&(Q.scheme=String(Q.scheme).replace(U.PCT_ENCODED,ee).toLowerCase().replace(U.NOT_SCHEME,"")),Q.userinfo!==void 0&&(Q.userinfo=String(Q.userinfo).replace(U.PCT_ENCODED,ee).replace(U.NOT_USERINFO,zt).replace(U.PCT_ENCODED,o)),Q.host!==void 0&&(Q.host=String(Q.host).replace(U.PCT_ENCODED,ee).toLowerCase().replace(U.NOT_HOST,zt).replace(U.PCT_ENCODED,o)),Q.path!==void 0&&(Q.path=String(Q.path).replace(U.PCT_ENCODED,ee).replace(Q.scheme?U.NOT_PATH:U.NOT_PATH_NOSCHEME,zt).replace(U.PCT_ENCODED,o)),Q.query!==void 0&&(Q.query=String(Q.query).replace(U.PCT_ENCODED,ee).replace(U.NOT_QUERY,zt).replace(U.PCT_ENCODED,o)),Q.fragment!==void 0&&(Q.fragment=String(Q.fragment).replace(U.PCT_ENCODED,ee).replace(U.NOT_FRAGMENT,zt).replace(U.PCT_ENCODED,o)),Q}function kr(Q){return Q.replace(/^0*(.*)/,"$1")||"0"}function Gt(Q,U){var ee=Q.match(U.IPV4ADDRESS)||[],se=w(ee,2),ae=se[1];return ae?ae.split(".").map(kr).join("."):Q}function fr(Q,U){var ee=Q.match(U.IPV6ADDRESS)||[],se=w(ee,3),ae=se[1],be=se[2];if(ae){for(var Ie=ae.toLowerCase().split("::").reverse(),Me=w(Ie,2),Ke=Me[0],dt=Me[1],Le=dt?dt.split(":").map(kr):[],ot=Ke.split(":").map(kr),yt=U.IPV4ADDRESS.test(ot[ot.length-1]),lt=yt?7:8,Xe=ot.length-lt,vt=Array(lt),We=0;We<lt;++We)vt[We]=Le[We]||ot[Xe+We]||"";yt&&(vt[lt-1]=Gt(vt[lt-1],U));var rr=vt.reduce(function(cr,Cr,Yr){if(!Cr||Cr==="0"){var Wt=cr[cr.length-1];Wt&&Wt.index+Wt.length===Yr?Wt.length++:cr.push({index:Yr,length:1})}return cr},[]),ir=rr.sort(function(cr,Cr){return Cr.length-cr.length})[0],Dt=void 0;if(ir&&ir.length>1){var Je=vt.slice(0,ir.index),nr=vt.slice(ir.index+ir.length);Dt=Je.join(":")+"::"+nr.join(":")}else Dt=vt.join(":");return be&&(Dt+="%"+be),Dt}else return Q}var Br=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fi="".match(/(){0}/)[1]===void 0;function ur(Q){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee={},se=U.iri!==!1?A:b;U.reference==="suffix"&&(Q=(U.scheme?U.scheme+":":"")+"//"+Q);var ae=Q.match(Br);if(ae){fi?(ee.scheme=ae[1],ee.userinfo=ae[3],ee.host=ae[4],ee.port=parseInt(ae[5],10),ee.path=ae[6]||"",ee.query=ae[7],ee.fragment=ae[8],isNaN(ee.port)&&(ee.port=ae[5])):(ee.scheme=ae[1]||void 0,ee.userinfo=Q.indexOf("@")!==-1?ae[3]:void 0,ee.host=Q.indexOf("//")!==-1?ae[4]:void 0,ee.port=parseInt(ae[5],10),ee.path=ae[6]||"",ee.query=Q.indexOf("?")!==-1?ae[7]:void 0,ee.fragment=Q.indexOf("#")!==-1?ae[8]:void 0,isNaN(ee.port)&&(ee.port=Q.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ae[4]:void 0)),ee.host&&(ee.host=fr(Gt(ee.host,se),se)),ee.scheme===void 0&&ee.userinfo===void 0&&ee.host===void 0&&ee.port===void 0&&!ee.path&&ee.query===void 0?ee.reference="same-document":ee.scheme===void 0?ee.reference="relative":ee.fragment===void 0?ee.reference="absolute":ee.reference="uri",U.reference&&U.reference!=="suffix"&&U.reference!==ee.reference&&(ee.error=ee.error||"URI is not a "+U.reference+" reference.");var be=Ft[(U.scheme||ee.scheme||"").toLowerCase()];if(!U.unicodeSupport&&(!be||!be.unicodeSupport)){if(ee.host&&(U.domainHost||be&&be.domainHost))try{ee.host=Ht.toASCII(ee.host.replace(se.PCT_ENCODED,Rt).toLowerCase())}catch(Ie){ee.error=ee.error||"Host's domain name can not be converted to ASCII via punycode: "+Ie}mt(ee,b)}else mt(ee,se);be&&be.parse&&be.parse(ee,U)}else ee.error=ee.error||"URI can not be parsed.";return ee}function ui(Q,U){var ee=U.iri!==!1?A:b,se=[];return Q.userinfo!==void 0&&(se.push(Q.userinfo),se.push("@")),Q.host!==void 0&&se.push(fr(Gt(String(Q.host),ee),ee).replace(ee.IPV6ADDRESS,function(ae,be,Ie){return"["+be+(Ie?"%25"+Ie:"")+"]"})),(typeof Q.port=="number"||typeof Q.port=="string")&&(se.push(":"),se.push(String(Q.port))),se.length?se.join(""):void 0}var Qr=/^\.\.?\//,Ti=/^\/\.(\/|$)/,Pi=/^\/\.\.(\/|$)/,ji=/^\/?(?:.|\n)*?(?=\/|$)/;function fe(Q){for(var U=[];Q.length;)if(Q.match(Qr))Q=Q.replace(Qr,"");else if(Q.match(Ti))Q=Q.replace(Ti,"/");else if(Q.match(Pi))Q=Q.replace(Pi,"/"),U.pop();else if(Q==="."||Q==="..")Q="";else{var ee=Q.match(ji);if(ee){var se=ee[0];Q=Q.slice(se.length),U.push(se)}else throw new Error("Unexpected dot segment condition")}return U.join("")}function tr(Q){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=U.iri?A:b,se=[],ae=Ft[(U.scheme||Q.scheme||"").toLowerCase()];if(ae&&ae.serialize&&ae.serialize(Q,U),Q.host&&!ee.IPV6ADDRESS.test(Q.host)){if(U.domainHost||ae&&ae.domainHost)try{Q.host=U.iri?Ht.toUnicode(Q.host):Ht.toASCII(Q.host.replace(ee.PCT_ENCODED,Rt).toLowerCase())}catch(Me){Q.error=Q.error||"Host's domain name can not be converted to "+(U.iri?"Unicode":"ASCII")+" via punycode: "+Me}}mt(Q,ee),U.reference!=="suffix"&&Q.scheme&&(se.push(Q.scheme),se.push(":"));var be=ui(Q,U);if(be!==void 0&&(U.reference!=="suffix"&&se.push("//"),se.push(be),Q.path&&Q.path.charAt(0)!=="/"&&se.push("/")),Q.path!==void 0){var Ie=Q.path;!U.absolutePath&&(!ae||!ae.absolutePath)&&(Ie=fe(Ie)),be===void 0&&(Ie=Ie.replace(/^\/\//,"/%2F")),se.push(Ie)}return Q.query!==void 0&&(se.push("?"),se.push(Q.query)),Q.fragment!==void 0&&(se.push("#"),se.push(Q.fragment)),se.join("")}function Bi(Q,U){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=arguments[3],ae={};return se||(Q=ur(tr(Q,ee),ee),U=ur(tr(U,ee),ee)),ee=ee||{},!ee.tolerant&&U.scheme?(ae.scheme=U.scheme,ae.userinfo=U.userinfo,ae.host=U.host,ae.port=U.port,ae.path=fe(U.path||""),ae.query=U.query):(U.userinfo!==void 0||U.host!==void 0||U.port!==void 0?(ae.userinfo=U.userinfo,ae.host=U.host,ae.port=U.port,ae.path=fe(U.path||""),ae.query=U.query):(U.path?(U.path.charAt(0)==="/"?ae.path=fe(U.path):((Q.userinfo!==void 0||Q.host!==void 0||Q.port!==void 0)&&!Q.path?ae.path="/"+U.path:Q.path?ae.path=Q.path.slice(0,Q.path.lastIndexOf("/")+1)+U.path:ae.path=U.path,ae.path=fe(ae.path)),ae.query=U.query):(ae.path=Q.path,U.query!==void 0?ae.query=U.query:ae.query=Q.query),ae.userinfo=Q.userinfo,ae.host=Q.host,ae.port=Q.port),ae.scheme=Q.scheme),ae.fragment=U.fragment,ae}function $e(Q,U,ee){var se=h({scheme:"null"},ee);return tr(Bi(ur(Q,se),ur(U,se),se,!0),se)}function ve(Q,U){return typeof Q=="string"?Q=tr(ur(Q,U),U):s(Q)==="object"&&(Q=ur(tr(Q,U),U)),Q}function _e(Q,U,ee){return typeof Q=="string"?Q=tr(ur(Q,ee),ee):s(Q)==="object"&&(Q=tr(Q,ee)),typeof U=="string"?U=tr(ur(U,ee),ee):s(U)==="object"&&(U=tr(U,ee)),Q===U}function Se(Q,U){return Q&&Q.toString().replace(!U||!U.iri?b.ESCAPE:A.ESCAPE,zt)}function jt(Q,U){return Q&&Q.toString().replace(!U||!U.iri?b.PCT_ENCODED:A.PCT_ENCODED,Rt)}var Z={scheme:"http",domainHost:!0,parse:function(U,ee){return U.host||(U.error=U.error||"HTTP URIs must have a host."),U},serialize:function(U,ee){var se=String(U.scheme).toLowerCase()==="https";return(U.port===(se?443:80)||U.port==="")&&(U.port=void 0),U.path||(U.path="/"),U}},ie={scheme:"https",domainHost:Z.domainHost,parse:Z.parse,serialize:Z.serialize};function ue(Q){return typeof Q.secure=="boolean"?Q.secure:String(Q.scheme).toLowerCase()==="wss"}var he={scheme:"ws",domainHost:!0,parse:function(U,ee){var se=U;return se.secure=ue(se),se.resourceName=(se.path||"/")+(se.query?"?"+se.query:""),se.path=void 0,se.query=void 0,se},serialize:function(U,ee){if((U.port===(ue(U)?443:80)||U.port==="")&&(U.port=void 0),typeof U.secure=="boolean"&&(U.scheme=U.secure?"wss":"ws",U.secure=void 0),U.resourceName){var se=U.resourceName.split("?"),ae=w(se,2),be=ae[0],Ie=ae[1];U.path=be&&be!=="/"?be:void 0,U.query=Ie,U.resourceName=void 0}return U.fragment=void 0,U}},gt={scheme:"wss",domainHost:he.domainHost,parse:he.parse,serialize:he.serialize},Kt={},ht=!0,St="[A-Za-z0-9\\-\\.\\_\\~"+(ht?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Nt="[0-9A-Fa-f]",Zr=e(e("%[EFef]"+Nt+"%"+Nt+Nt+"%"+Nt+Nt)+"|"+e("%[89A-Fa-f]"+Nt+"%"+Nt+Nt)+"|"+e("%"+Nt+Nt)),wt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Fi="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Qt=n(Fi,'[\\"\\\\]'),Vi="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",vs=new RegExp(St,"g"),Di=new RegExp(Zr,"g"),Bn=new RegExp(n("[^]",wt,"[\\.]",'[\\"]',Qt),"g"),Ii=new RegExp(n("[^]",St,Vi),"g"),Ui=Ii;function Xr(Q){var U=Rt(Q);return U.match(vs)?U:Q}var ci={scheme:"mailto",parse:function(U,ee){var se=U,ae=se.to=se.path?se.path.split(","):[];if(se.path=void 0,se.query){for(var be=!1,Ie={},Me=se.query.split("&"),Ke=0,dt=Me.length;Ke<dt;++Ke){var Le=Me[Ke].split("=");switch(Le[0]){case"to":for(var ot=Le[1].split(","),yt=0,lt=ot.length;yt<lt;++yt)ae.push(ot[yt]);break;case"subject":se.subject=jt(Le[1],ee);break;case"body":se.body=jt(Le[1],ee);break;default:be=!0,Ie[jt(Le[0],ee)]=jt(Le[1],ee);break}}be&&(se.headers=Ie)}se.query=void 0;for(var Xe=0,vt=ae.length;Xe<vt;++Xe){var We=ae[Xe].split("@");if(We[0]=jt(We[0]),ee.unicodeSupport)We[1]=jt(We[1],ee).toLowerCase();else try{We[1]=Ht.toASCII(jt(We[1],ee).toLowerCase())}catch(rr){se.error=se.error||"Email address's domain name can not be converted to ASCII via punycode: "+rr}ae[Xe]=We.join("@")}return se},serialize:function(U,ee){var se=U,ae=f(U.to);if(ae){for(var be=0,Ie=ae.length;be<Ie;++be){var Me=String(ae[be]),Ke=Me.lastIndexOf("@"),dt=Me.slice(0,Ke).replace(Di,Xr).replace(Di,o).replace(Bn,zt),Le=Me.slice(Ke+1);try{Le=ee.iri?Ht.toUnicode(Le):Ht.toASCII(jt(Le,ee).toLowerCase())}catch(Xe){se.error=se.error||"Email address's domain name can not be converted to "+(ee.iri?"Unicode":"ASCII")+" via punycode: "+Xe}ae[be]=dt+"@"+Le}se.path=ae.join(",")}var ot=U.headers=U.headers||{};U.subject&&(ot.subject=U.subject),U.body&&(ot.body=U.body);var yt=[];for(var lt in ot)ot[lt]!==Kt[lt]&&yt.push(lt.replace(Di,Xr).replace(Di,o).replace(Ii,zt)+"="+ot[lt].replace(Di,Xr).replace(Di,o).replace(Ui,zt));return yt.length&&(se.query=yt.join("&")),se}},bs=/^([^\:]+)\:(.*)/,Vn={scheme:"urn",parse:function(U,ee){var se=U.path&&U.path.match(bs),ae=U;if(se){var be=ee.scheme||ae.scheme||"urn",Ie=se[1].toLowerCase(),Me=se[2],Ke=be+":"+(ee.nid||Ie),dt=Ft[Ke];ae.nid=Ie,ae.nss=Me,ae.path=void 0,dt&&(ae=dt.parse(ae,ee))}else ae.error=ae.error||"URN can not be parsed.";return ae},serialize:function(U,ee){var se=ee.scheme||U.scheme||"urn",ae=U.nid,be=se+":"+(ee.nid||ae),Ie=Ft[be];Ie&&(U=Ie.serialize(U,ee));var Me=U,Ke=U.nss;return Me.path=(ae||ee.nid)+":"+Ke,Me}},Un=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,pn={scheme:"urn:uuid",parse:function(U,ee){var se=U;return se.uuid=se.nss,se.nss=void 0,!ee.tolerant&&(!se.uuid||!se.uuid.match(Un))&&(se.error=se.error||"UUID is not valid."),se},serialize:function(U,ee){var se=U;return se.nss=(U.uuid||"").toLowerCase(),se}};Ft[Z.scheme]=Z,Ft[ie.scheme]=ie,Ft[he.scheme]=he,Ft[gt.scheme]=gt,Ft[ci.scheme]=ci,Ft[Vn.scheme]=Vn,Ft[pn.scheme]=pn,t.SCHEMES=Ft,t.pctEncChar=zt,t.pctDecChars=Rt,t.parse=ur,t.removeDotSegments=fe,t.serialize=tr,t.resolveComponents=Bi,t.resolve=$e,t.normalize=ve,t.equal=_e,t.escapeComponent=Se,t.unescapeComponent=jt,Object.defineProperty(t,"__esModule",{value:!0})})});var Hs=Ee(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.getSchemaRefs=Mr.resolveUrl=Mr.normalizeId=Mr._getFullPath=Mr.getFullPath=Mr.inlineRef=void 0;var U0=qt(),H0=Us(),G0=eh(),Za=jl(),K0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function W0(t,n=!0){return typeof t=="boolean"?!0:n===!0?!Bl(t):n?rh(t)<=n:!1}Mr.inlineRef=W0;var J0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Bl(t){for(let n in t){if(J0.has(n))return!0;let e=t[n];if(Array.isArray(e)&&e.some(Bl)||typeof e=="object"&&Bl(e))return!0}return!1}function rh(t){let n=0;for(let e in t){if(e==="$ref")return 1/0;if(n++,!K0.has(e)&&(typeof t[e]=="object"&&U0.eachItem(t[e],s=>n+=rh(s)),n===1/0))return 1/0}return n}function ih(t="",n){n!==!1&&(t=ns(t));let e=Za.parse(t);return nh(e)}Mr.getFullPath=ih;function nh(t){return Za.serialize(t).split("#")[0]+"#"}Mr._getFullPath=nh;var Q0=/#\/?$/;function ns(t){return t?t.replace(Q0,""):""}Mr.normalizeId=ns;function Z0(t,n){return n=ns(n),Za.resolve(t,n)}Mr.resolveUrl=Z0;var X0=/^[a-z_][-a-z0-9._]*$/i;function Y0(t){if(typeof t=="boolean")return{};let n=ns(t.$id),e={"":n},s=ih(n,!1),o={},f=new Set;return G0(t,{allKeys:!0},(b,A,w,T)=>{if(T===void 0)return;let N=s+A,R=e[T];typeof b.$id=="string"&&(R=L.call(this,b.$id)),V.call(this,b.$anchor),V.call(this,b.$dynamicAnchor),e[A]=R;function L(G){if(G=ns(R?Za.resolve(R,G):G),f.has(G))throw v(G);f.add(G);let K=this.refs[G];return typeof K=="string"&&(K=this.refs[K]),typeof K=="object"?h(b,K.schema,G):G!==ns(N)&&(G[0]==="#"?(h(b,o[G],G),o[G]=b):this.refs[G]=N),G}function V(G){if(typeof G=="string"){if(!X0.test(G))throw new Error(`invalid anchor "${G}"`);L.call(this,`#${G}`)}}}),o;function h(b,A,w){if(A!==void 0&&!H0(b,A))throw v(w)}function v(b){return new Error(`reference "${b}" resolves to more than one schema`)}}Mr.getSchemaRefs=Y0});var Jr=Ee(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.checkStrictMode=Ni.schemaCxtHasRules=Ni.subschemaCode=Ni.validateFunctionCode=void 0;var lh=qc(),sh=is(),ah=Zc(),tt=Qe(),je=xi(),ey=Hs(),fh=qt();function ty(t){if(ch(t)&&(hh(t),Vl(t))){ny(t);return}uh(t,()=>lh.topBoolOrEmptySchema(t))}Ni.validateFunctionCode=ty;function uh({gen:t,validateName:n,schema:e,schemaEnv:s,opts:o},f){o.code.es5?t.func(n,tt._`${je.default.data}, ${je.default.valCxt}`,s.$async,()=>{t.code(tt._`"use strict"; ${oh(e,o)}`),iy(t,o),t.code(f)}):t.func(n,tt._`${je.default.data}, ${ry(o)}`,s.$async,()=>t.code(oh(e,o)).code(f))}function ry(t){return tt._`{${je.default.dataPath}="", ${je.default.parentData}, ${je.default.parentDataProperty}, ${je.default.rootData}=${je.default.data}${t.dynamicRef?tt._`, ${je.default.dynamicAnchors}={}`:tt.nil}}={}`}function iy(t,n){t.if(je.default.valCxt,()=>{t.var(je.default.dataPath,tt._`${je.default.valCxt}.${je.default.dataPath}`),t.var(je.default.parentData,tt._`${je.default.valCxt}.${je.default.parentData}`),t.var(je.default.parentDataProperty,tt._`${je.default.valCxt}.${je.default.parentDataProperty}`),t.var(je.default.rootData,tt._`${je.default.valCxt}.${je.default.rootData}`),n.dynamicRef&&t.var(je.default.dynamicAnchors,tt._`${je.default.valCxt}.${je.default.dynamicAnchors}`)},()=>{t.var(je.default.dataPath,tt._`""`),t.var(je.default.parentData,tt._`undefined`),t.var(je.default.parentDataProperty,tt._`undefined`),t.var(je.default.rootData,je.default.data),n.dynamicRef&&t.var(je.default.dynamicAnchors,tt._`{}`)})}function ny(t){let{schema:n,opts:e,gen:s}=t;uh(t,()=>{e.$comment&&n.$comment&&ph(t),fy(t),s.let(je.default.vErrors,null),s.let(je.default.errors,0),e.unevaluated&&sy(t),dh(t),hy(t)})}function sy(t){let{gen:n,validateName:e}=t;t.evaluated=n.const("evaluated",tt._`${e}.evaluated`),n.if(tt._`${t.evaluated}.dynamicProps`,()=>n.assign(tt._`${t.evaluated}.props`,tt._`undefined`)),n.if(tt._`${t.evaluated}.dynamicItems`,()=>n.assign(tt._`${t.evaluated}.items`,tt._`undefined`))}function oh(t,n){return typeof t=="object"&&t.$id&&(n.code.source||n.code.process)?tt._`/*# sourceURL=${t.$id} */`:tt.nil}function ay(t,n){if(ch(t)&&(hh(t),Vl(t))){oy(t,n);return}lh.boolOrEmptySchema(t,n)}Ni.subschemaCode=ay;function Vl({schema:t,self:n}){if(typeof t=="boolean")return!t;for(let e in t)if(n.RULES.all[e])return!0;return!1}Ni.schemaCxtHasRules=Vl;function ch(t){return typeof t.schema!="boolean"}function oy(t,n){let{schema:e,gen:s,opts:o}=t;o.$comment&&e.$comment&&ph(t),uy(t),cy(t);let f=s.const("_errs",je.default.errors);dh(t,f),s.var(n,tt._`${f} === ${je.default.errors}`)}function hh(t){fh.checkUnknownRules(t),ly(t)}function dh(t,n){if(t.opts.jtd)return ah.schemaKeywords(t,[],!1,n);let e=sh.getSchemaTypes(t.schema),s=sh.coerceAndCheckDataType(t,e);ah.schemaKeywords(t,e,!s,n)}function ly(t){let{schema:n,errSchemaPath:e,opts:s,self:o}=t;n.$ref&&s.ignoreKeywordsWithRef&&fh.schemaHasRulesButRef(n,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function fy(t){let{schema:n,opts:e}=t;n.default!==void 0&&e.useDefaults&&e.strict&&mh(t,"default is ignored in the schema root")}function uy(t){t.schema.$id&&(t.baseId=ey.resolveUrl(t.baseId,t.schema.$id))}function cy(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function ph({gen:t,schemaEnv:n,schema:e,errSchemaPath:s,opts:o}){let f=e.$comment;if(o.$comment===!0)t.code(tt._`${je.default.self}.logger.log(${f})`);else if(typeof o.$comment=="function"){let h=tt.str`${s}/$comment`,v=t.scopeValue("root",{ref:n.root});t.code(tt._`${je.default.self}.opts.$comment(${f}, ${h}, ${v}.schema)`)}}function hy(t){let{gen:n,schemaEnv:e,validateName:s,ValidationError:o,opts:f}=t;e.$async?n.if(tt._`${je.default.errors} === 0`,()=>n.return(je.default.data),()=>n.throw(tt._`new ${o}(${je.default.vErrors})`)):(n.assign(tt._`${s}.errors`,je.default.vErrors),f.unevaluated&&dy(t),n.return(tt._`${je.default.errors} === 0`))}function dy({gen:t,evaluated:n,props:e,items:s}){e instanceof tt.Name&&t.assign(tt._`${n}.props`,e),s instanceof tt.Name&&t.assign(tt._`${n}.items`,s)}function mh(t,n,e=t.opts.strict){if(!!e){if(n=`strict mode: ${n}`,e===!0)throw new Error(n);t.self.logger.warn(n)}}Ni.checkStrictMode=mh});var qt=Ee(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.func=ft.setEvaluated=ft.evaluatedPropsToName=ft.mergeEvaluated=ft.eachItem=ft.unescapeJsonPointer=ft.escapeJsonPointer=ft.escapeFragment=ft.unescapeFragment=ft.schemaRefOrVal=ft.schemaHasRulesButRef=ft.schemaHasRules=ft.checkUnknownRules=ft.alwaysValidSchema=ft.toHash=void 0;var Lt=Qe(),py=Jr();function my(t){let n={};for(let e of t)n[e]=!0;return n}ft.toHash=my;function gy(t,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(yh(t,n),!vh(n,t.self.RULES.all))}ft.alwaysValidSchema=gy;function yh(t,n=t.schema){let{opts:e,self:s}=t;if(!e.strict||typeof n=="boolean")return;let o=s.RULES.keywords;for(let f in n)o[f]||py.checkStrictMode(t,`unknown keyword: "${f}"`)}ft.checkUnknownRules=yh;function vh(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(n[e])return!0;return!1}ft.schemaHasRules=vh;function yy(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&n.all[e])return!0;return!1}ft.schemaHasRulesButRef=yy;function vy({topSchemaRef:t,schemaPath:n},e,s,o){if(!o){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Lt._`${e}`}return Lt._`${t}${n}${Lt.getProperty(s)}`}ft.schemaRefOrVal=vy;function by(t){return wh(decodeURIComponent(t))}ft.unescapeFragment=by;function wy(t){return encodeURIComponent(bh(t))}ft.escapeFragment=wy;function bh(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}ft.escapeJsonPointer=bh;function wh(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}ft.unescapeJsonPointer=wh;function $y(t,n){if(Array.isArray(t))for(let e of t)n(e);else n(t)}ft.eachItem=$y;function gh({mergeNames:t,mergeToName:n,mergeValues:e,resultToName:s}){return(o,f,h,v)=>{let b=h===void 0?f:h instanceof Lt.Name?(f instanceof Lt.Name?t(o,f,h):n(o,f,h),h):f instanceof Lt.Name?(n(o,h,f),f):e(f,h);return v===Lt.Name&&!(b instanceof Lt.Name)?s(o,b):b}}ft.mergeEvaluated={props:gh({mergeNames:(t,n,e)=>t.if(Lt._`${e} !== true && ${n} !== undefined`,()=>{t.if(Lt._`${n} === true`,()=>t.assign(e,!0),()=>t.assign(e,Lt._`${e} || {}`).code(Lt._`Object.assign(${e}, ${n})`))}),mergeToName:(t,n,e)=>t.if(Lt._`${e} !== true`,()=>{n===!0?t.assign(e,!0):(t.assign(e,Lt._`${e} || {}`),Ul(t,e,n))}),mergeValues:(t,n)=>t===!0?!0:{...t,...n},resultToName:$h}),items:gh({mergeNames:(t,n,e)=>t.if(Lt._`${e} !== true && ${n} !== undefined`,()=>t.assign(e,Lt._`${n} === true ? true : ${e} > ${n} ? ${e} : ${n}`)),mergeToName:(t,n,e)=>t.if(Lt._`${e} !== true`,()=>t.assign(e,n===!0?!0:Lt._`${e} > ${n} ? ${e} : ${n}`)),mergeValues:(t,n)=>t===!0?!0:Math.max(t,n),resultToName:(t,n)=>t.var("items",n)})};function $h(t,n){if(n===!0)return t.var("props",!0);let e=t.var("props",Lt._`{}`);return n!==void 0&&Ul(t,e,n),e}ft.evaluatedPropsToName=$h;function Ul(t,n,e){Object.keys(e).forEach(s=>t.assign(Lt._`${n}${Lt.getProperty(s)}`,!0))}ft.setEvaluated=Ul;function Ay(t,n){return t.scopeValue("func",{ref:n,code:n.code})}ft.func=Ay});var is=Ee(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.reportTypeError=ar.checkDataTypes=ar.checkDataType=ar.coerceAndCheckDataType=ar.getJSONTypes=ar.getSchemaTypes=ar.DataType=void 0;var xy=gl(),ky=yl(),Cy=Bs(),Be=Qe(),Ah=qt(),Gs;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Gs=ar.DataType||(ar.DataType={}));function _y(t){let n=xh(t.type);if(n.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!n.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&n.push("null")}return n}ar.getSchemaTypes=_y;function xh(t){let n=Array.isArray(t)?t:t?[t]:[];if(n.every(xy.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}ar.getJSONTypes=xh;function Ey(t,n){let{gen:e,data:s,opts:o}=t,f=Sy(n,o.coerceTypes),h=n.length>0&&!(f.length===0&&n.length===1&&ky.schemaHasRulesForType(t,n[0]));if(h){let v=Gl(n,s,o.strict,Gs.Wrong);e.if(v,()=>{f.length?Ty(t,n,f):Kl(t)})}return h}ar.coerceAndCheckDataType=Ey;var kh=new Set(["string","number","integer","boolean","null"]);function Sy(t,n){return n?t.filter(e=>kh.has(e)||n==="array"&&e==="array"):[]}function Ty(t,n,e){let{gen:s,data:o,opts:f}=t,h=s.let("dataType",Be._`typeof ${o}`),v=s.let("coerced",Be._`undefined`);f.coerceTypes==="array"&&s.if(Be._`${h} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>s.assign(o,Be._`${o}[0]`).assign(h,Be._`typeof ${o}`).if(Gl(n,o,f.strict),()=>s.assign(v,o))),s.if(Be._`${v} !== undefined`);for(let A of e)(kh.has(A)||A==="array"&&f.coerceTypes==="array")&&b(A);s.else(),Kl(t),s.endIf(),s.if(Be._`${v} !== undefined`,()=>{s.assign(o,v),Py(t,v)});function b(A){switch(A){case"string":s.elseIf(Be._`${h} == "number" || ${h} == "boolean"`).assign(v,Be._`"" + ${o}`).elseIf(Be._`${o} === null`).assign(v,Be._`""`);return;case"number":s.elseIf(Be._`${h} == "boolean" || ${o} === null
3
- || (${h} == "string" && ${o} && ${o} == +${o})`).assign(v,Be._`+${o}`);return;case"integer":s.elseIf(Be._`${h} === "boolean" || ${o} === null
4
- || (${h} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(v,Be._`+${o}`);return;case"boolean":s.elseIf(Be._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(v,!1).elseIf(Be._`${o} === "true" || ${o} === 1`).assign(v,!0);return;case"null":s.elseIf(Be._`${o} === "" || ${o} === 0 || ${o} === false`),s.assign(v,null);return;case"array":s.elseIf(Be._`${h} === "string" || ${h} === "number"
5
- || ${h} === "boolean" || ${o} === null`).assign(v,Be._`[${o}]`)}}}function Py({gen:t,parentData:n,parentDataProperty:e},s){t.if(Be._`${n} !== undefined`,()=>t.assign(Be._`${n}[${e}]`,s))}function Hl(t,n,e,s=Gs.Correct){let o=s===Gs.Correct?Be.operators.EQ:Be.operators.NEQ,f;switch(t){case"null":return Be._`${n} ${o} null`;case"array":f=Be._`Array.isArray(${n})`;break;case"object":f=Be._`${n} && typeof ${n} == "object" && !Array.isArray(${n})`;break;case"integer":f=h(Be._`!(${n} % 1) && !isNaN(${n})`);break;case"number":f=h();break;default:return Be._`typeof ${n} ${o} ${t}`}return s===Gs.Correct?f:Be.not(f);function h(v=Be.nil){return Be.and(Be._`typeof ${n} == "number"`,v,e?Be._`isFinite(${n})`:Be.nil)}}ar.checkDataType=Hl;function Gl(t,n,e,s){if(t.length===1)return Hl(t[0],n,e,s);let o,f=Ah.toHash(t);if(f.array&&f.object){let h=Be._`typeof ${n} != "object"`;o=f.null?h:Be._`!${n} || ${h}`,delete f.null,delete f.array,delete f.object}else o=Be.nil;f.number&&delete f.integer;for(let h in f)o=Be.and(o,Hl(h,n,e,s));return o}ar.checkDataTypes=Gl;var Fy={message:({schema:t})=>Be.str`should be ${t}`,params:({schema:t,schemaValue:n})=>typeof t=="string"?Be._`{type: ${t}}`:Be._`{type: ${n}}`};function Kl(t){let n=Dy(t);Cy.reportError(n,Fy)}ar.reportTypeError=Kl;function Dy(t){let{gen:n,data:e,schema:s}=t,o=Ah.schemaRefOrVal(t,s,"type");return{gen:n,keyword:"type",data:e,schema:s.type,schemaCode:o,schemaValue:o,parentSchema:s,params:{},it:t}}});var Vs=Ee(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.getData=void 0;var Ch=is(),Xa=qt(),Ks=Bs(),Vt=Qe(),Wl=xi(),Iy=_n(),Jl=class{constructor(n,e,s){if(qy(n,e,s),this.gen=n.gen,this.allErrors=n.allErrors,this.keyword=s,this.data=n.data,this.schema=n.schema[s],this.$data=e.$data&&n.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Xa.schemaRefOrVal(n,this.schema,s,this.$data),this.schemaType=e.schemaType,this.parentSchema=n.schema,this.params={},this.it=n,this.def=e,this.$data)this.schemaCode=n.gen.const("vSchema",_h(this.$data,n));else if(this.schemaCode=this.schemaValue,!Oy(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${s} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=n.gen.const("_errs",Wl.default.errors))}result(n,e,s){this.gen.if(Vt.not(n)),s?s():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(n,e){this.result(n,void 0,e)}fail(n){if(n===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(n),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(n){if(!this.$data)return this.fail(n);let{schemaCode:e}=this;this.fail(Vt._`${e} !== undefined && (${Vt.or(this.invalid$data(),n)})`)}error(n){(n?Ks.reportExtraError:Ks.reportError)(this,this.def.error)}$dataError(){Ks.reportError(this,this.def.$dataError||Ks.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Ks.resetErrorsCount(this.gen,this.errsCount)}ok(n){this.allErrors||this.gen.if(n)}setParams(n,e){e?Object.assign(this.params,n):this.params=n}block$data(n,e,s=Vt.nil){this.gen.block(()=>{this.check$data(n,s),e()})}check$data(n=Vt.nil,e=Vt.nil){if(!this.$data)return;let{gen:s,schemaCode:o,schemaType:f,def:h}=this;s.if(Vt.or(Vt._`${o} === undefined`,e)),n!==Vt.nil&&s.assign(n,!0),(f.length||h.validateSchema)&&(s.elseIf(this.invalid$data()),this.$dataError(),n!==Vt.nil&&s.assign(n,!1)),s.else()}invalid$data(){let{gen:n,schemaCode:e,schemaType:s,def:o,it:f}=this;return Vt.or(h(),v());function h(){if(s.length){if(!(e instanceof Vt.Name))throw new Error("ajv implementation error");let b=Array.isArray(s)?s:[s];return Vt._`${Ch.checkDataTypes(b,e,f.opts.strict,Ch.DataType.Wrong)}`}return Vt.nil}function v(){if(o.validateSchema){let b=n.scopeValue("validate$data",{ref:o.validateSchema});return Vt._`!${b}(${e})`}return Vt.nil}}subschema(n,e){return Iy.applySubschema(this.it,n,e)}mergeEvaluated(n,e){let{it:s,gen:o}=this;!s.opts.unevaluated||(s.props!==!0&&n.props!==void 0&&(s.props=Xa.mergeEvaluated.props(o,n.props,s.props,e)),s.items!==!0&&n.items!==void 0&&(s.items=Xa.mergeEvaluated.items(o,n.items,s.items,e)))}mergeValidEvaluated(n,e){let{it:s,gen:o}=this;if(s.opts.unevaluated&&(s.props!==!0||s.items!==!0))return o.if(e,()=>this.mergeEvaluated(n,Vt.Name)),!0}};Ws.default=Jl;function Oy(t,n,e=!1){return!n.length||n.some(s=>s==="array"?Array.isArray(t):s==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==s||e&&typeof t>"u")}function qy({schema:t,opts:n,self:e},s,o){if(Array.isArray(s.keyword)?!s.keyword.includes(o):s.keyword!==o)throw new Error("ajv implementation error");let f=s.dependencies;if(f!=null&&f.some(h=>!Object.prototype.hasOwnProperty.call(t,h)))throw new Error(`parent schema must have dependencies of ${o}: ${f.join(",")}`);if(s.validateSchema&&!s.validateSchema(t[o])){let v="keyword value is invalid: "+e.errorsText(s.validateSchema.errors);if(n.validateSchema==="log")e.logger.error(v);else throw new Error(v)}}var Ry=/^\/(?:[^~]|~0|~1)*$/,Ny=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function _h(t,{dataLevel:n,dataNames:e,dataPathArr:s}){let o,f;if(t==="")return Wl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);o=t,f=Wl.default.rootData}else{let A=Ny.exec(t);if(!A)throw new Error(`Invalid JSON-pointer: ${t}`);let w=+A[1];if(o=A[2],o==="#"){if(w>=n)throw new Error(b("property/index",w));return s[n-w]}if(w>n)throw new Error(b("data",w));if(f=e[n-w],!o)return f}let h=f,v=o.split("/");for(let A of v)A&&(f=Vt._`${f}${Vt.getProperty(Xa.unescapeJsonPointer(A))}`,h=Vt._`${h} && ${f}`);return h;function b(A,w){return`Cannot access ${A} ${w} levels up, current level is ${n}`}}Ws.getData=_h});var to=Ee((ss,Eh)=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.MissingRefError=ss.ValidationError=void 0;var Ql=Hs(),Ya=class extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}};ss.ValidationError=Ya;var eo=class extends Error{constructor(n,e,s){super(s||`can't resolve reference ${e} from id ${n}`),this.missingRef=Ql.resolveUrl(n,e),this.missingSchema=Ql.normalizeId(Ql.getFullPath(this.missingRef))}};ss.MissingRefError=eo;Eh.exports={ValidationError:Ya,MissingRefError:eo}});var Yl=Ee(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.resolveSchema=ai.getCompilingSchema=ai.resolveRef=ai.compileSchema=ai.SchemaEnv=void 0;var Ci=Qe(),Ly=to(),Sn=xi(),_i=Hs(),Sh=qt(),My=Jr(),zy=jl(),as=class{constructor(n){var e;this.refs={},this.dynamicAnchors={};let s;typeof n.schema=="object"&&(s=n.schema),this.schema=n.schema,this.root=n.root||this,this.baseId=(e=n.baseId)!==null&&e!==void 0?e:_i.normalizeId(s==null?void 0:s.$id),this.localRefs=n.localRefs,this.meta=n.meta,this.$async=s==null?void 0:s.$async,this.refs={}}};ai.SchemaEnv=as;function Xl(t){let n=Th.call(this,t);if(n)return n;let e=_i.getFullPath(t.root.baseId),{es5:s,lines:o}=this.opts.code,{ownProperties:f}=this.opts,h=new Ci.CodeGen(this.scope,{es5:s,lines:o,ownProperties:f}),v;t.$async&&(v=h.scopeValue("Error",{ref:Ly.ValidationError,code:Ci._`require("ajv/dist/compile/error_classes").ValidationError`}));let b=h.scopeName("validate");t.validateName=b;let A={gen:h,allErrors:this.opts.allErrors,data:Sn.default.data,parentData:Sn.default.parentData,parentDataProperty:Sn.default.parentDataProperty,dataNames:[Sn.default.data],dataPathArr:[Ci.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:h.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:Ci.stringify(t.schema)}:{ref:t.schema}),validateName:b,ValidationError:v,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:Ci.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:Ci._`""`,opts:this.opts,self:this},w;try{this._compilations.add(t),My.validateFunctionCode(A),h.optimize(this.opts.code.optimize);let T=h.toString();w=`${h.scopeRefs(Sn.default.scope)}return ${T}`,this.opts.code.process&&(w=this.opts.code.process(w,t));let R=new Function(`${Sn.default.self}`,`${Sn.default.scope}`,w)(this,this.scope.get());if(this.scope.value(b,{ref:R}),R.errors=null,R.schema=t.schema,R.schemaEnv=t,t.$async&&(R.$async=!0),this.opts.code.source===!0&&(R.source={validateName:b,validateCode:T,scopeValues:h._values}),this.opts.unevaluated){let{props:L,items:V}=A;R.evaluated={props:L instanceof Ci.Name?void 0:L,items:V instanceof Ci.Name?void 0:V,dynamicProps:L instanceof Ci.Name,dynamicItems:V instanceof Ci.Name},R.source&&(R.source.evaluated=Ci.stringify(R.evaluated))}return t.validate=R,t}catch(T){throw delete t.validate,delete t.validateName,w&&this.logger.error("Error compiling schema, function code:",w),T}finally{this._compilations.delete(t)}}ai.compileSchema=Xl;function jy(t,n,e){var s;e=_i.resolveUrl(n,e);let o=t.refs[e];if(o)return o;let f=Uy.call(this,t,e);if(f===void 0){let h=(s=t.localRefs)===null||s===void 0?void 0:s[e];h&&(f=new as({schema:h,root:t,baseId:n}))}if(f!==void 0)return t.refs[e]=By.call(this,f)}ai.resolveRef=jy;function By(t){return _i.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Xl.call(this,t)}function Th(t){for(let n of this._compilations)if(Vy(n,t))return n}ai.getCompilingSchema=Th;function Vy(t,n){return t.schema===n.schema&&t.root===n.root&&t.baseId===n.baseId}function Uy(t,n){let e;for(;typeof(e=this.refs[n])=="string";)n=e;return e||this.schemas[n]||ro.call(this,t,n)}function ro(t,n){let e=zy.parse(n),s=_i._getFullPath(e),o=_i.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&s===o)return Zl.call(this,e,t);let f=_i.normalizeId(s),h=this.refs[f]||this.schemas[f];if(typeof h=="string"){let v=ro.call(this,t,h);return typeof(v==null?void 0:v.schema)!="object"?void 0:Zl.call(this,e,v)}if(typeof(h==null?void 0:h.schema)=="object"){if(h.validate||Xl.call(this,h),f===_i.normalizeId(n)){let{schema:v}=h;return v.$id&&(o=_i.resolveUrl(o,v.$id)),new as({schema:v,root:t,baseId:o})}return Zl.call(this,e,h)}}ai.resolveSchema=ro;var Hy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Zl(t,{baseId:n,schema:e,root:s}){var o;if(((o=t.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(let h of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Sh.unescapeFragment(h)],e===void 0))return;!Hy.has(h)&&typeof e=="object"&&e.$id&&(n=_i.resolveUrl(n,e.$id))}let f;if(typeof e!="boolean"&&e.$ref&&!Sh.schemaHasRulesButRef(e,this.RULES)){let h=_i.resolveUrl(n,e.$ref);f=ro.call(this,s,h)}if(f=f||new as({schema:e,root:s,baseId:n}),f.schema!==f.root.schema)return f}});var Ph=Ee((gx,Gy)=>{Gy.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var qh=Ee(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.CodeGen=or.Name=or.nil=or.stringify=or.str=or._=or.KeywordCxt=void 0;var Ky=Vs();or.KeywordCxt=Ky.default;var os=Qe();Object.defineProperty(or,"_",{enumerable:!0,get:function(){return os._}});Object.defineProperty(or,"str",{enumerable:!0,get:function(){return os.str}});Object.defineProperty(or,"stringify",{enumerable:!0,get:function(){return os.stringify}});Object.defineProperty(or,"nil",{enumerable:!0,get:function(){return os.nil}});Object.defineProperty(or,"Name",{enumerable:!0,get:function(){return os.Name}});Object.defineProperty(or,"CodeGen",{enumerable:!0,get:function(){return os.CodeGen}});var rf=to(),Wy=gl(),Js=Yl(),Jy=Qe(),io=Hs(),no=is(),tf=qt(),Fh=Ph(),Qy=["removeAdditional","useDefaults","coerceTypes"],Zy=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Xy={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",schemaId:"JSON Schema draft-04 is not supported in Ajv v7.",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",strictNumbers:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key."},Yy={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function e1(t){var n,e,s,o,f,h,v,b,A,w,T,N;let R=(n=t.strict)!==null&&n!==void 0?n:!0,L=R?"log":!1,V=(e=t.code)===null||e===void 0?void 0:e.optimize,G=V===!0||V===void 0?1:V||0;return{strict:R,strictTypes:(s=t.strictTypes)!==null&&s!==void 0?s:L,strictTuples:(o=t.strictTuples)!==null&&o!==void 0?o:L,code:t.code?{...t.code,optimize:G}:{optimize:G},loopRequired:(f=t.loopRequired)!==null&&f!==void 0?f:1/0,loopEnum:(h=t.loopEnum)!==null&&h!==void 0?h:1/0,meta:(v=t.meta)!==null&&v!==void 0?v:!0,messages:(b=t.messages)!==null&&b!==void 0?b:!0,inlineRefs:(A=t.inlineRefs)!==null&&A!==void 0?A:!0,addUsedSchema:(w=t.addUsedSchema)!==null&&w!==void 0?w:!0,validateSchema:(T=t.validateSchema)!==null&&T!==void 0?T:!0,validateFormats:(N=t.validateFormats)!==null&&N!==void 0?N:!0}}var Qs=class{constructor(n={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,n=this.opts={...n,...e1(n)};let{es5:e,lines:s}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Zy,es5:e,lines:s}),this.logger=a1(n.logger);let o=n.validateFormats;n.validateFormats=!1,this.RULES=Wy.getRules(),Dh.call(this,Xy,n,"NOT SUPPORTED"),Dh.call(this,Yy,n,"DEPRECATED","warn"),this._metaOpts=n1.call(this),n.formats&&r1.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),n.keywords&&i1.call(this,n.keywords),typeof n.meta=="object"&&this.addMetaSchema(n.meta),t1.call(this),n.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:n,meta:e}=this.opts;e&&n&&this.addMetaSchema(Fh,Fh.$id,!1)}defaultMeta(){let{meta:n}=this.opts;return this.opts.defaultMeta=typeof n=="object"?n.$id||n:void 0}validate(n,e){let s;if(typeof n=="string"){if(s=this.getSchema(n),!s)throw new Error(`no schema with key or ref "${n}"`)}else s=this.compile(n);let o=s(e);return"$async"in s||(this.errors=s.errors),o}compile(n,e){let s=this._addSchema(n,e);return s.validate||this._compileSchemaEnv(s)}compileAsync(n,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:s}=this.opts;return o.call(this,n,e);async function o(w,T){await f.call(this,w.$schema);let N=this._addSchema(w,T);return N.validate||h.call(this,N)}async function f(w){w&&!this.getSchema(w)&&await o.call(this,{$ref:w},!0)}async function h(w){try{return this._compileSchemaEnv(w)}catch(T){if(!(T instanceof rf.MissingRefError))throw T;return v.call(this,T),await b.call(this,T.missingSchema),h.call(this,w)}}function v({missingSchema:w,missingRef:T}){if(this.refs[w])throw new Error(`AnySchema ${w} is loaded but ${T} cannot be resolved`)}async function b(w){let T=await A.call(this,w);this.refs[w]||await f.call(this,T.$schema),this.refs[w]||this.addSchema(T,w,e)}async function A(w){let T=this._loading[w];if(T)return T;try{return await(this._loading[w]=s(w))}finally{delete this._loading[w]}}}addSchema(n,e,s,o=this.opts.validateSchema){if(Array.isArray(n)){for(let h of n)this.addSchema(h,void 0,s,o);return this}let f;if(typeof n=="object"&&(f=n.$id,f!==void 0&&typeof f!="string"))throw new Error("schema id must be string");return e=io.normalizeId(e||f),this._checkUnique(e),this.schemas[e]=this._addSchema(n,s,o,!0),this}addMetaSchema(n,e,s=this.opts.validateSchema){return this.addSchema(n,e,!0,s),this}validateSchema(n,e){if(typeof n=="boolean")return!0;let s;if(s=n.$schema,s!==void 0&&typeof s!="string")throw new Error("$schema must be a string");if(s=s||this.opts.defaultMeta||this.defaultMeta(),!s)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let o=this.validate(s,n);if(!o&&e){let f="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(f);else throw new Error(f)}return o}getSchema(n){let e;for(;typeof(e=Ih.call(this,n))=="string";)n=e;if(e===void 0){let s=new Js.SchemaEnv({schema:{}});if(e=Js.resolveSchema.call(this,s,n),!e)return;this.refs[n]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(n){if(n instanceof RegExp)return this._removeAllSchemas(this.schemas,n),this._removeAllSchemas(this.refs,n),this;switch(typeof n){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=Ih.call(this,n);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[n],delete this.refs[n],this}case"object":{let e=n;this._cache.delete(e);let s=n.$id;return s&&(s=io.normalizeId(s),delete this.schemas[s],delete this.refs[s]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(n){for(let e of n)this.addKeyword(e);return this}addKeyword(n,e){let s;if(typeof n=="string")s=n,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=s);else if(typeof n=="object"&&e===void 0){if(e=n,s=e.keyword,Array.isArray(s)&&!s.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(l1.call(this,s,e),!e)return tf.eachItem(s,f=>ef.call(this,f)),this;u1.call(this,e);let o={...e,type:no.getJSONTypes(e.type),schemaType:no.getJSONTypes(e.schemaType)};return tf.eachItem(s,o.type.length===0?f=>ef.call(this,f,o):f=>o.type.forEach(h=>ef.call(this,f,o,h))),this}getKeyword(n){let e=this.RULES.all[n];return typeof e=="object"?e.definition:!!e}removeKeyword(n){let{RULES:e}=this;delete e.keywords[n],delete e.all[n];for(let s of e.rules){let o=s.rules.findIndex(f=>f.keyword===n);o>=0&&s.rules.splice(o,1)}return this}addFormat(n,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[n]=e,this}errorsText(n=this.errors,{separator:e=", ",dataVar:s="data"}={}){return!n||n.length===0?"No errors":n.map(o=>`${s}${o.dataPath} ${o.message}`).reduce((o,f)=>o+e+f)}$dataMetaSchema(n,e){let s=this.RULES.all;n=JSON.parse(JSON.stringify(n));for(let o of e){let f=o.split("/").slice(1),h=n;for(let v of f)h=h[v];for(let v in s){let b=s[v];if(typeof b!="object")continue;let{$data:A}=b.definition,w=h[v];A&&w&&(h[v]=Oh(w))}}return n}_removeAllSchemas(n,e){for(let s in n){let o=n[s];(!e||e.test(s))&&(typeof o=="string"?delete n[s]:o&&!o.meta&&(this._cache.delete(o.schema),delete n[s]))}}_addSchema(n,e,s=this.opts.validateSchema,o=this.opts.addUsedSchema){if(typeof n!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof n!="boolean")throw new Error("schema must be object or boolean")}let f=this._cache.get(n);if(f!==void 0)return f;let h=io.getSchemaRefs.call(this,n);f=new Js.SchemaEnv({schema:n,meta:e,localRefs:h}),this._cache.set(f.schema,f);let v=f.baseId;return o&&!v.startsWith("#")&&(v&&this._checkUnique(v),this.refs[v]=f),s&&this.validateSchema(n,!0),f}_checkUnique(n){if(this.schemas[n]||this.refs[n])throw new Error(`schema with key or id "${n}" already exists`)}_compileSchemaEnv(n){if(n.meta?this._compileMetaSchema(n):Js.compileSchema.call(this,n),!n.validate)throw new Error("ajv implementation error");return n.validate}_compileMetaSchema(n){let e=this.opts;this.opts=this._metaOpts;try{Js.compileSchema.call(this,n)}finally{this.opts=e}}};or.default=Qs;Qs.ValidationError=rf.ValidationError;Qs.MissingRefError=rf.MissingRefError;function Dh(t,n,e,s="error"){for(let o in t){let f=o;f in n&&this.logger[s](`${e}: option ${o}. ${t[f]}`)}}function Ih(t){return t=io.normalizeId(t),this.schemas[t]||this.refs[t]}function t1(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let n in t)this.addSchema(t[n],n)}function r1(){for(let t in this.opts.formats){let n=this.opts.formats[t];n&&this.addFormat(t,n)}}function i1(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let n in t){let e=t[n];e.keyword||(e.keyword=n),this.addKeyword(e)}}function n1(){let t={...this.opts};for(let n of Qy)delete t[n];return t}var s1={log(){},warn(){},error(){}};function a1(t){if(t===!1)return s1;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var o1=/^[a-z_$][a-z0-9_$:-]*$/i;function l1(t,n){let{RULES:e}=this;if(tf.eachItem(t,s=>{if(e.keywords[s])throw new Error(`Keyword ${s} is already defined`);if(!o1.test(s))throw new Error(`Keyword ${s} has invalid name`)}),!!n&&n.$data&&!("code"in n||"validate"in n))throw new Error('$data keyword must have "code" or "validate" function')}function ef(t,n,e){var s;let o=n==null?void 0:n.post;if(e&&o)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:f}=this,h=o?f.post:f.rules.find(({type:b})=>b===e);if(h||(h={type:e,rules:[]},f.rules.push(h)),f.keywords[t]=!0,!n)return;let v={keyword:t,definition:{...n,type:no.getJSONTypes(n.type),schemaType:no.getJSONTypes(n.schemaType)}};n.before?f1.call(this,h,v,n.before):h.rules.push(v),f.all[t]=v,(s=n.implements)===null||s===void 0||s.forEach(b=>this.addKeyword(b))}function f1(t,n,e){let s=t.rules.findIndex(o=>o.keyword===e);s>=0?t.rules.splice(s,0,n):(t.rules.push(n),this.logger.warn(`rule ${e} is not defined`))}function u1(t){let{metaSchema:n}=t;n!==void 0&&(t.$data&&this.opts.$data&&(n=Oh(n)),t.validateSchema=this.compile(n,!0))}var c1={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Oh(t){return{anyOf:[t,c1]}}});var Rh=Ee(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});var h1={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};nf.default=h1});var zh=Ee(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.callRef=Tn.getValidate=void 0;var d1=to(),Nh=ki(),zr=Qe(),ls=xi(),Lh=Yl(),so=qt(),p1={keyword:"$ref",schemaType:"string",code(t){let{gen:n,schema:e,it:s}=t,{baseId:o,schemaEnv:f,validateName:h,opts:v,self:b}=s;if(e==="#"||e==="#/")return w();let A=Lh.resolveRef.call(b,f.root,o,e);if(A===void 0)throw new d1.MissingRefError(o,e);if(A instanceof Lh.SchemaEnv)return T(A);return N(A);function w(){if(f===f.root)return ao(t,h,f,f.$async);let R=n.scopeValue("root",{ref:f.root});return ao(t,zr._`${R}.validate`,f.root,f.root.$async)}function T(R){let L=Mh(t,R);ao(t,L,R,R.$async)}function N(R){let L=n.scopeValue("schema",v.code.source===!0?{ref:R,code:zr.stringify(R)}:{ref:R}),V=n.name("valid"),G=t.subschema({schema:R,dataTypes:[],schemaPath:zr.nil,topSchemaRef:L,errSchemaPath:e},V);t.mergeEvaluated(G),t.ok(V)}}};function Mh(t,n){let{gen:e}=t;return n.validate?e.scopeValue("validate",{ref:n.validate}):zr._`${e.scopeValue("wrapper",{ref:n})}.validate`}Tn.getValidate=Mh;function ao(t,n,e,s){let{gen:o,it:f}=t,{allErrors:h,schemaEnv:v,opts:b}=f,A=b.passContext?ls.default.this:zr.nil;s?w():T();function w(){if(!v.$async)throw new Error("async schema referenced by sync schema");let L=o.let("valid");o.try(()=>{o.code(zr._`await ${Nh.callValidateCode(t,n,A)}`),R(n),h||o.assign(L,!0)},V=>{o.if(zr._`!(${V} instanceof ${f.ValidationError})`,()=>o.throw(V)),N(V),h||o.assign(L,!1)}),t.ok(L)}function T(){t.result(Nh.callValidateCode(t,n,A),()=>R(n),()=>N(n))}function N(L){let V=zr._`${L}.errors`;o.assign(ls.default.vErrors,zr._`${ls.default.vErrors} === null ? ${V} : ${ls.default.vErrors}.concat(${V})`),o.assign(ls.default.errors,zr._`${ls.default.vErrors}.length`)}function R(L){var V;if(!f.opts.unevaluated)return;let G=(V=e==null?void 0:e.validate)===null||V===void 0?void 0:V.evaluated;if(f.props!==!0)if(G&&!G.dynamicProps)G.props!==void 0&&(f.props=so.mergeEvaluated.props(o,G.props,f.props));else{let K=o.var("props",zr._`${L}.evaluated.props`);f.props=so.mergeEvaluated.props(o,K,f.props,zr.Name)}if(f.items!==!0)if(G&&!G.dynamicItems)G.items!==void 0&&(f.items=so.mergeEvaluated.items(o,G.items,f.items));else{let K=o.var("items",zr._`${L}.evaluated.items`);f.items=so.mergeEvaluated.items(o,K,f.items,zr.Name)}}}Tn.callRef=ao;Tn.default=p1});var jh=Ee(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});var m1=Rh(),g1=zh(),y1=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",m1.default,g1.default];sf.default=y1});var Bh=Ee(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});var oo=Qe(),fn=oo.operators,lo={maximum:{okStr:"<=",ok:fn.LTE,fail:fn.GT},minimum:{okStr:">=",ok:fn.GTE,fail:fn.LT},exclusiveMaximum:{okStr:"<",ok:fn.LT,fail:fn.GTE},exclusiveMinimum:{okStr:">",ok:fn.GT,fail:fn.LTE}},v1={message:({keyword:t,schemaCode:n})=>oo.str`should be ${lo[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>oo._`{comparison: ${lo[t].okStr}, limit: ${n}}`},b1={keyword:Object.keys(lo),type:"number",schemaType:"number",$data:!0,error:v1,code(t){let{keyword:n,data:e,schemaCode:s}=t;t.fail$data(oo._`${e} ${lo[n].fail} ${s} || isNaN(${e})`)}};af.default=b1});var Vh=Ee(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var Zs=Qe(),w1={message:({schemaCode:t})=>Zs.str`should be multiple of ${t}`,params:({schemaCode:t})=>Zs._`{multipleOf: ${t}}`},$1={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:w1,code(t){let{gen:n,data:e,schemaCode:s,it:o}=t,f=o.opts.multipleOfPrecision,h=n.let("res"),v=f?Zs._`Math.abs(Math.round(${h}) - ${h}) > 1e-${f}`:Zs._`${h} !== parseInt(${h})`;t.fail$data(Zs._`(${s} === 0 || (${h} = ${e}/${s}, ${v}))`)}};of.default=$1});var Uh=Ee(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});function A1(t){let n=t.length,e=0,s=0,o;for(;s<n;)e++,o=t.charCodeAt(s++),o>=55296&&o<=56319&&s<n&&(o=t.charCodeAt(s),(o&64512)===56320&&s++);return e}lf.default=A1});var Hh=Ee(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var un=Qe(),x1=Uh(),k1={message({keyword:t,schemaCode:n}){let e=t==="maxLength"?"more":"fewer";return un.str`should NOT have ${e} than ${n} characters`},params:({schemaCode:t})=>un._`{limit: ${t}}`},C1={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:k1,code(t){let{keyword:n,data:e,schemaCode:s,it:o}=t,f=n==="maxLength"?un.operators.GT:un.operators.LT,h;if(o.opts.unicode===!1)h=un._`${e}.length`;else{let v=t.gen.scopeValue("func",{ref:x1.default,code:un._`require("ajv/dist/compile/ucs2length").default`});h=un._`${v}(${e})`}t.fail$data(un._`${h} ${f} ${s}`)}};ff.default=C1});var Gh=Ee(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});var _1=ki(),fo=Qe(),E1={message:({schemaCode:t})=>fo.str`should match pattern "${t}"`,params:({schemaCode:t})=>fo._`{pattern: ${t}}`},S1={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:E1,code(t){let{gen:n,data:e,$data:s,schema:o,schemaCode:f}=t,h=s?fo._`(new RegExp(${f}, "u"))`:_1.usePattern(n,o);t.fail$data(fo._`!${h}.test(${e})`)}};uf.default=S1});var Kh=Ee(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});var Xs=Qe(),T1={message({keyword:t,schemaCode:n}){let e=t==="maxProperties"?"more":"fewer";return Xs.str`should NOT have ${e} than ${n} items`},params:({schemaCode:t})=>Xs._`{limit: ${t}}`},P1={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:T1,code(t){let{keyword:n,data:e,schemaCode:s}=t,o=n==="maxProperties"?Xs.operators.GT:Xs.operators.LT;t.fail$data(Xs._`Object.keys(${e}).length ${o} ${s}`)}};cf.default=P1});var Wh=Ee(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});var Ys=ki(),ea=Qe(),F1=Jr(),D1={message:({params:{missingProperty:t}})=>ea.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>ea._`{missingProperty: ${t}}`},I1={keyword:"required",type:"object",schemaType:"array",$data:!0,error:D1,code(t){let{gen:n,schema:e,schemaCode:s,data:o,$data:f,it:h}=t,{opts:v}=h;if(!f&&e.length===0)return;let b=e.length>=v.loopRequired;if(h.allErrors?A():w(),v.strictRequired){let R=t.parentSchema.properties,{definedProperties:L}=t.it;for(let V of e)if((R==null?void 0:R[V])===void 0&&!L.has(V)){let G=h.schemaEnv.baseId+h.errSchemaPath,K=`required property "${V}" is not defined at "${G}" (strictRequired)`;F1.checkStrictMode(h,K,h.opts.strictRequired)}}function A(){if(b||f)t.block$data(ea.nil,T);else for(let R of e)Ys.checkReportMissingProp(t,R)}function w(){let R=n.let("missing");if(b||f){let L=n.let("valid",!0);t.block$data(L,()=>N(R,L)),t.ok(L)}else n.if(Ys.checkMissingProp(t,e,R)),Ys.reportMissingProp(t,R),n.else()}function T(){n.forOf("prop",s,R=>{t.setParams({missingProperty:R}),n.if(Ys.noPropertyInData(n,o,R,v.ownProperties),()=>t.error())})}function N(R,L){t.setParams({missingProperty:R}),n.forOf(R,s,()=>{n.assign(L,Ys.propertyInData(n,o,R,v.ownProperties)),n.if(ea.not(L),()=>{t.error(),n.break()})},ea.nil)}}};hf.default=I1});var Jh=Ee(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});var ta=Qe(),O1={message({keyword:t,schemaCode:n}){let e=t==="maxItems"?"more":"fewer";return ta.str`should NOT have ${e} than ${n} items`},params:({schemaCode:t})=>ta._`{limit: ${t}}`},q1={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:O1,code(t){let{keyword:n,data:e,schemaCode:s}=t,o=n==="maxItems"?ta.operators.GT:ta.operators.LT;t.fail$data(ta._`${e}.length ${o} ${s}`)}};df.default=q1});var Qh=Ee(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var pf=is(),Yt=Qe(),R1=Us(),N1={message:({params:{i:t,j:n}})=>Yt.str`should NOT have duplicate items (items ## ${n} and ${t} are identical)`,params:({params:{i:t,j:n}})=>Yt._`{i: ${t}, j: ${n}}`},L1={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:N1,code(t){let{gen:n,data:e,$data:s,schema:o,parentSchema:f,schemaCode:h,it:v}=t;if(!s&&!o)return;let b=n.let("valid"),A=f.items?pf.getSchemaTypes(f.items):[];t.block$data(b,w,Yt._`${h} === false`),t.ok(b);function w(){let L=n.let("i",Yt._`${e}.length`),V=n.let("j");t.setParams({i:L,j:V}),n.assign(b,!0),n.if(Yt._`${L} > 1`,()=>(T()?N:R)(L,V))}function T(){return A.length>0&&!A.some(L=>L==="object"||L==="array")}function N(L,V){let G=n.name("item"),K=pf.checkDataTypes(A,G,v.opts.strict,pf.DataType.Wrong),re=n.const("indices",Yt._`{}`);n.for(Yt._`;${L}--;`,()=>{n.let(G,Yt._`${e}[${L}]`),n.if(K,Yt._`continue`),A.length>1&&n.if(Yt._`typeof ${G} == "string"`,Yt._`${G} += "_"`),n.if(Yt._`typeof ${re}[${G}] == "number"`,()=>{n.assign(V,Yt._`${re}[${G}]`),t.error(),n.assign(b,!1).break()}).code(Yt._`${re}[${G}] = ${L}`)})}function R(L,V){let G=t.gen.scopeValue("func",{ref:R1,code:Yt._`require("ajv/dist/compile/equal")`}),K=n.name("outer");n.label(K).for(Yt._`;${L}--;`,()=>n.for(Yt._`${V} = ${L}; ${V}--;`,()=>n.if(Yt._`${G}(${e}[${L}], ${e}[${V}])`,()=>{t.error(),n.assign(b,!1).break(K)})))}}};mf.default=L1});var Zh=Ee(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});var gf=Qe(),M1=Us(),z1={message:"should be equal to constant",params:({schemaCode:t})=>gf._`{allowedValue: ${t}}`},j1={keyword:"const",$data:!0,error:z1,code(t){let n=t.gen.scopeValue("func",{ref:M1,code:gf._`require("ajv/dist/compile/equal")`});t.fail$data(gf._`!${n}(${t.data}, ${t.schemaCode})`)}};yf.default=j1});var Xh=Ee(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});var fs=Qe(),B1=Us(),V1={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>fs._`{allowedValues: ${t}}`},U1={keyword:"enum",schemaType:"array",$data:!0,error:V1,code(t){let{gen:n,data:e,$data:s,schema:o,schemaCode:f,it:h}=t;if(!s&&o.length===0)throw new Error("enum must have non-empty array");let v=o.length>=h.opts.loopEnum,b=t.gen.scopeValue("func",{ref:B1,code:fs._`require("ajv/dist/compile/equal")`}),A;if(v||s)A=n.let("valid"),t.block$data(A,w);else{if(!Array.isArray(o))throw new Error("ajv implementation error");let N=n.const("vSchema",f);A=fs.or(...o.map((R,L)=>T(N,L)))}t.pass(A);function w(){n.assign(A,!1),n.forOf("v",f,N=>n.if(fs._`${b}(${e}, ${N})`,()=>n.assign(A,!0).break()))}function T(N,R){let L=o[R];return L&&typeof L=="object"?fs._`${b}(${e}, ${N}[${R}])`:fs._`${e} === ${L}`}}};vf.default=U1});var Yh=Ee(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});var H1=Bh(),G1=Vh(),K1=Hh(),W1=Gh(),J1=Kh(),Q1=Wh(),Z1=Jh(),X1=Qh(),Y1=Zh(),ev=Xh(),tv=[H1.default,G1.default,K1.default,W1.default,J1.default,Q1.default,Z1.default,X1.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Y1.default,ev.default];bf.default=tv});var ed=Ee(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});var Pn=Qe(),rv=_n(),iv=qt(),nv=Jr(),sv={message:({params:{len:t}})=>Pn.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Pn._`{limit: ${t}}`},av={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sv,code(t){let{gen:n,schema:e,parentSchema:s,data:o,it:f}=t,{items:h}=s;if(!Array.isArray(h)){nv.checkStrictMode(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}f.items=!0;let v=n.const("len",Pn._`${o}.length`);if(e===!1)t.setParams({len:h.length}),t.pass(Pn._`${v} <= ${h.length}`);else if(typeof e=="object"&&!iv.alwaysValidSchema(f,e)){let A=n.var("valid",Pn._`${v} <= ${h.length}`);n.if(Pn.not(A),()=>b(A)),t.ok(A)}function b(A){n.forRange("i",h.length,v,w=>{t.subschema({keyword:"additionalItems",dataProp:w,dataPropType:rv.Type.Num},A),f.allErrors||n.if(Pn.not(A),()=>n.break())})}}};wf.default=av});var rd=Ee(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});var td=Qe(),$f=qt(),ov=Jr(),lv=ki(),fv={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:n,schema:e,it:s}=t;if(Array.isArray(e))s.opts.unevaluated&&e.length&&s.items!==!0&&(s.items=$f.mergeEvaluated.items(n,e.length,s.items)),o(e);else{if(s.items=!0,$f.alwaysValidSchema(s,e))return;t.ok(lv.validateArray(t))}function o(f){let{parentSchema:h,data:v}=t;if(s.opts.strictTuples&&!uv(f.length,h)){let w=`"items" is ${f.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;ov.checkStrictMode(s,w,s.opts.strictTuples)}let b=n.name("valid"),A=n.const("len",td._`${v}.length`);f.forEach((w,T)=>{$f.alwaysValidSchema(s,w)||(n.if(td._`${A} > ${T}`,()=>t.subschema({keyword:"items",schemaProp:T,dataProp:T},b)),t.ok(b))})}}};function uv(t,n){return t===n.minItems&&(t===n.maxItems||n.additionalItems===!1)}Af.default=fv});var nd=Ee(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});var Ei=Qe(),cv=_n(),hv=qt(),id=Jr(),dv={message:({params:{min:t,max:n}})=>n===void 0?Ei.str`should contain at least ${t} valid item(s)`:Ei.str`should contain at least ${t} and no more than ${n} valid item(s)`,params:({params:{min:t,max:n}})=>n===void 0?Ei._`{minContains: ${t}}`:Ei._`{minContains: ${t}, maxContains: ${n}}`},pv={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:dv,code(t){let{gen:n,schema:e,parentSchema:s,data:o,it:f}=t,h,v,{minContains:b,maxContains:A}=s;f.opts.next?(h=b===void 0?1:b,v=A):h=1;let w=n.const("len",Ei._`${o}.length`);if(t.setParams({min:h,max:v}),v===void 0&&h===0){id.checkStrictMode(f,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(v!==void 0&&h>v){id.checkStrictMode(f,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(hv.alwaysValidSchema(f,e)){let L=Ei._`${w} >= ${h}`;v!==void 0&&(L=Ei._`${L} && ${w} <= ${v}`),t.pass(L);return}f.items=!0;let T=n.name("valid");if(v===void 0&&h===1)N(T,()=>n.if(T,()=>n.break()));else{n.let(T,!1);let L=n.name("_valid"),V=n.let("count",0);N(L,()=>n.if(L,()=>R(V)))}t.result(T,()=>t.reset());function N(L,V){n.forRange("i",0,w,G=>{t.subschema({keyword:"contains",dataProp:G,dataPropType:cv.Type.Num,compositeRule:!0},L),V()})}function R(L){n.code(Ei._`${L}++`),v===void 0?n.if(Ei._`${L} >= ${h}`,()=>n.assign(T,!0).break()):(n.if(Ei._`${L} > ${v}`,()=>n.assign(T,!1).break()),h===1?n.assign(T,!0):n.if(Ei._`${L} >= ${h}`,()=>n.assign(T,!0)))}}};xf.default=pv});var od=Ee(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.validateSchemaDeps=Li.validatePropertyDeps=Li.error=void 0;var kf=Qe(),mv=qt(),ra=ki();Li.error={message:({params:{property:t,depsCount:n,deps:e}})=>{let s=n===1?"property":"properties";return kf.str`should have ${s} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:n,deps:e,missingProperty:s}})=>kf._`{property: ${t},
6
- missingProperty: ${s},
7
- depsCount: ${n},
8
- deps: ${e}}`};var gv={keyword:"dependencies",type:"object",schemaType:"object",error:Li.error,code(t){let[n,e]=yv(t);sd(t,n),ad(t,e)}};function yv({schema:t}){let n={},e={};for(let s in t){if(s==="__proto__")continue;let o=Array.isArray(t[s])?n:e;o[s]=t[s]}return[n,e]}function sd(t,n=t.schema){let{gen:e,data:s,it:o}=t;if(Object.keys(n).length===0)return;let f=e.let("missing");for(let h in n){let v=n[h];if(v.length===0)continue;let b=ra.propertyInData(e,s,h,o.opts.ownProperties);t.setParams({property:h,depsCount:v.length,deps:v.join(", ")}),o.allErrors?e.if(b,()=>{for(let A of v)ra.checkReportMissingProp(t,A)}):(e.if(kf._`${b} && (${ra.checkMissingProp(t,v,f)})`),ra.reportMissingProp(t,f),e.else())}}Li.validatePropertyDeps=sd;function ad(t,n=t.schema){let{gen:e,data:s,keyword:o,it:f}=t,h=e.name("valid");for(let v in n)mv.alwaysValidSchema(f,n[v])||(e.if(ra.propertyInData(e,s,v,f.opts.ownProperties),()=>{let b=t.subschema({keyword:o,schemaProp:v},h);t.mergeValidEvaluated(b,h)},()=>e.var(h,!0)),t.ok(h))}Li.validateSchemaDeps=ad;Li.default=gv});var ld=Ee(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});var Cf=Qe(),vv=qt(),bv={message:({params:t})=>Cf.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Cf._`{propertyName: ${t.propertyName}}`},wv={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:bv,code(t){let{gen:n,schema:e,data:s,it:o}=t;if(vv.alwaysValidSchema(o,e))return;let f=n.name("valid");n.forIn("key",s,h=>{t.setParams({propertyName:h}),t.subschema({keyword:"propertyNames",data:h,dataTypes:["string"],propertyName:h,compositeRule:!0},f),n.if(Cf.not(f),()=>{t.error(!0),o.allErrors||n.break()})}),t.ok(f)}};_f.default=wv});var Tf=Ee(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});var uo=ki(),Si=Qe(),$v=xi(),Av=_n(),Ef=qt(),xv={message:"should NOT have additional properties",params:({params:t})=>Si._`{additionalProperty: ${t.additionalProperty}}`},kv={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:xv,code(t){let{gen:n,schema:e,parentSchema:s,data:o,errsCount:f,it:h}=t;if(!f)throw new Error("ajv implementation error");let{allErrors:v,opts:b}=h;if(h.props=!0,b.removeAdditional!=="all"&&Ef.alwaysValidSchema(h,e))return;let A=uo.allSchemaProperties(s.properties),w=uo.allSchemaProperties(s.patternProperties);T(),t.ok(Si._`${f} === ${$v.default.errors}`);function T(){n.forIn("key",o,G=>{!A.length&&!w.length?L(G):n.if(N(G),()=>L(G))})}function N(G){let K;if(A.length>8){let re=Ef.schemaRefOrVal(h,s.properties,"properties");K=uo.isOwnProperty(n,re,G)}else A.length?K=Si.or(...A.map(re=>Si._`${G} === ${re}`)):K=Si.nil;return w.length&&(K=Si.or(K,...w.map(re=>Si._`${uo.usePattern(n,re)}.test(${G})`))),Si.not(K)}function R(G){n.code(Si._`delete ${o}[${G}]`)}function L(G){if(b.removeAdditional==="all"||b.removeAdditional&&e===!1){R(G);return}if(e===!1){t.setParams({additionalProperty:G}),t.error(),v||n.break();return}if(typeof e=="object"&&!Ef.alwaysValidSchema(h,e)){let K=n.name("valid");b.removeAdditional==="failing"?(V(G,K,!1),n.if(Si.not(K),()=>{t.reset(),R(G)})):(V(G,K),v||n.if(Si.not(K),()=>n.break()))}}function V(G,K,re){let ce={keyword:"additionalProperties",dataProp:G,dataPropType:Av.Type.Str};re===!1&&Object.assign(ce,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(ce,K)}}};Sf.default=kv});var cd=Ee(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});var Cv=Vs(),fd=ki(),Pf=qt(),ud=Tf(),_v={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:n,schema:e,parentSchema:s,data:o,it:f}=t;f.opts.removeAdditional==="all"&&s.additionalProperties===void 0&&ud.default.code(new Cv.default(f,ud.default,"additionalProperties"));let h=fd.allSchemaProperties(e);for(let T of h)f.definedProperties.add(T);f.opts.unevaluated&&h.length&&f.props!==!0&&(f.props=Pf.mergeEvaluated.props(n,Pf.toHash(h),f.props));let v=h.filter(T=>!Pf.alwaysValidSchema(f,e[T]));if(v.length===0)return;let b=n.name("valid");for(let T of v)A(T)?w(T):(n.if(fd.propertyInData(n,o,T,f.opts.ownProperties)),w(T),f.allErrors||n.else().var(b,!0),n.endIf()),t.it.definedProperties.add(T),t.ok(b);function A(T){return f.opts.useDefaults&&!f.compositeRule&&e[T].default!==void 0}function w(T){t.subschema({keyword:"properties",schemaProp:T,dataProp:T},b)}}};Ff.default=_v});var dd=Ee(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var hd=ki(),co=Qe(),Ev=_n(),Sv=Jr(),Tv=qt(),Pv={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:n,schema:e,data:s,parentSchema:o,it:f}=t,{opts:h}=f,v=hd.schemaProperties(f,e);if(v.length===0)return;let b=h.strict&&!h.allowMatchingProperties&&o.properties,A=n.name("valid");f.props!==!0&&!(f.props instanceof co.Name)&&(f.props=Tv.evaluatedPropsToName(n,f.props));let{props:w}=f;T();function T(){for(let L of v)b&&N(L),f.allErrors?R(L):(n.var(A,!0),R(L),n.if(A))}function N(L){for(let V in b)new RegExp(L).test(V)&&Sv.checkStrictMode(f,`property ${V} matches pattern ${L} (use allowMatchingProperties)`)}function R(L){n.forIn("key",s,V=>{n.if(co._`${hd.usePattern(n,L)}.test(${V})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:L,dataProp:V,dataPropType:Ev.Type.Str},A),f.opts.unevaluated&&w!==!0?n.assign(co._`${w}[${V}]`,!0):f.allErrors||n.if(co.not(A),()=>n.break())})})}}};Df.default=Pv});var pd=Ee(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});var Fv=qt(),Dv={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:n,schema:e,it:s}=t;if(Fv.alwaysValidSchema(s,e)){t.fail();return}let o=n.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),t.result(o,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};If.default=Dv});var md=Ee(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});var Iv=ki(),Ov={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Iv.validateUnion,error:{message:"should match some schema in anyOf"}};Of.default=Ov});var gd=Ee(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});var ho=Qe(),qv=qt(),Rv={message:"should match exactly one schema in oneOf",params:({params:t})=>ho._`{passingSchemas: ${t.passing}}`},Nv={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rv,code(t){let{gen:n,schema:e,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=e,f=n.let("valid",!1),h=n.let("passing",null),v=n.name("_valid");t.setParams({passing:h}),n.block(b),t.result(f,()=>t.reset(),()=>t.error(!0));function b(){o.forEach((A,w)=>{let T;qv.alwaysValidSchema(s,A)?n.var(v,!0):T=t.subschema({keyword:"oneOf",schemaProp:w,compositeRule:!0},v),w>0&&n.if(ho._`${v} && ${f}`).assign(f,!1).assign(h,ho._`[${h}, ${w}]`).else(),n.if(v,()=>{n.assign(f,!0),n.assign(h,w),T&&t.mergeEvaluated(T,ho.Name)})})}}};qf.default=Nv});var yd=Ee(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});var Lv=qt(),Mv={keyword:"allOf",schemaType:"array",code(t){let{gen:n,schema:e,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=n.name("valid");e.forEach((f,h)=>{if(Lv.alwaysValidSchema(s,f))return;let v=t.subschema({keyword:"allOf",schemaProp:h},o);t.ok(o),t.mergeEvaluated(v)})}};Rf.default=Mv});var bd=Ee(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});var po=Qe(),zv=qt(),jv=Jr(),Bv={message:({params:t})=>po.str`should match "${t.ifClause}" schema`,params:({params:t})=>po._`{failingKeyword: ${t.ifClause}}`},Vv={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Bv,code(t){let{gen:n,parentSchema:e,it:s}=t;e.then===void 0&&e.else===void 0&&jv.checkStrictMode(s,'"if" without "then" and "else" is ignored');let o=vd(s,"then"),f=vd(s,"else");if(!o&&!f)return;let h=n.let("valid",!0),v=n.name("_valid");if(b(),t.reset(),o&&f){let w=n.let("ifClause");t.setParams({ifClause:w}),n.if(v,A("then",w),A("else",w))}else o?n.if(v,A("then")):n.if(po.not(v),A("else"));t.pass(h,()=>t.error(!0));function b(){let w=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},v);t.mergeEvaluated(w)}function A(w,T){return()=>{let N=t.subschema({keyword:w},v);n.assign(h,v),t.mergeValidEvaluated(N,h),T?n.assign(T,po._`${w}`):t.setParams({ifClause:w})}}}};function vd(t,n){let e=t.schema[n];return e!==void 0&&!zv.alwaysValidSchema(t,e)}Nf.default=Vv});var wd=Ee(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});var Uv=Jr(),Hv={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:n,it:e}){n.if===void 0&&Uv.checkStrictMode(e,`"${t}" without "if" is ignored`)}};Lf.default=Hv});var $d=Ee(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});var Gv=ed(),Kv=rd(),Wv=nd(),Jv=od(),Qv=ld(),Zv=Tf(),Xv=cd(),Yv=dd(),eb=pd(),tb=md(),rb=gd(),ib=yd(),nb=bd(),sb=wd(),ab=[eb.default,tb.default,rb.default,ib.default,nb.default,sb.default,Gv.default,Kv.default,Wv.default,Qv.default,Zv.default,Jv.default,Xv.default,Yv.default];Mf.default=ab});var Ad=Ee(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var Ut=Qe(),ob={message:({schemaCode:t})=>Ut.str`should match format "${t}"`,params:({schemaCode:t})=>Ut._`{format: ${t}}`},lb={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:ob,code(t,n){let{gen:e,data:s,$data:o,schema:f,schemaCode:h,it:v}=t,{opts:b,errSchemaPath:A,schemaEnv:w,self:T}=v;if(!b.validateFormats)return;o?N():R();function N(){let L=e.scopeValue("formats",{ref:T.formats,code:b.code.formats}),V=e.const("fDef",Ut._`${L}[${h}]`),G=e.let("fType"),K=e.let("format");e.if(Ut._`typeof ${V} == "object" && !(${V} instanceof RegExp)`,()=>e.assign(G,Ut._`${V}.type || "string"`).assign(K,Ut._`${V}.validate`),()=>e.assign(G,Ut._`"string"`).assign(K,V)),t.fail$data(Ut.or(re(),ce()));function re(){return b.strict===!1?Ut.nil:Ut._`${h} && !${K}`}function ce(){let xe=w.$async?Ut._`(${V}.async ? await ${K}(${s}) : ${K}(${s}))`:Ut._`${K}(${s})`,ye=Ut._`(typeof ${K} == "function" ? ${xe} : ${K}.test(${s}))`;return Ut._`${K} && ${K} !== true && ${G} === ${n} && !${ye}`}}function R(){let L=T.formats[f];if(!L){re();return}if(L===!0)return;let[V,G,K]=ce(L);V===n&&t.pass(xe());function re(){if(b.strict===!1){T.logger.warn(ye());return}throw new Error(ye());function ye(){return`unknown format "${f}" ignored in schema at path "${A}"`}}function ce(ye){let le=e.scopeValue("formats",{key:f,ref:ye,code:b.code.formats?Ut._`${b.code.formats}${Ut.getProperty(f)}`:void 0});return typeof ye=="object"&&!(ye instanceof RegExp)?[ye.type||"string",ye.validate,Ut._`${le}.validate`]:["string",ye,le]}function xe(){if(typeof L=="object"&&!(L instanceof RegExp)&&L.async){if(!w.$async)throw new Error("async format in sync schema");return Ut._`await ${K}(${s})`}return typeof G=="function"?Ut._`${K}(${s})`:Ut._`${K}.test(${s})`}}}};zf.default=lb});var xd=Ee(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var fb=Ad(),ub=[fb.default];jf.default=ub});var kd=Ee(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.contentVocabulary=us.metadataVocabulary=void 0;us.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];us.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var _d=Ee(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var cb=jh(),hb=Yh(),db=$d(),pb=xd(),Cd=kd(),mb=[cb.default,hb.default,db.default,pb.default,Cd.metadataVocabulary,Cd.contentVocabulary];Bf.default=mb});var Ed=Ee((Xx,gb)=>{gb.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var Td=Ee(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.CodeGen=lr.Name=lr.nil=lr.stringify=lr.str=lr._=lr.KeywordCxt=void 0;var yb=Vs();lr.KeywordCxt=yb.default;var cs=Qe();Object.defineProperty(lr,"_",{enumerable:!0,get:function(){return cs._}});Object.defineProperty(lr,"str",{enumerable:!0,get:function(){return cs.str}});Object.defineProperty(lr,"stringify",{enumerable:!0,get:function(){return cs.stringify}});Object.defineProperty(lr,"nil",{enumerable:!0,get:function(){return cs.nil}});Object.defineProperty(lr,"Name",{enumerable:!0,get:function(){return cs.Name}});Object.defineProperty(lr,"CodeGen",{enumerable:!0,get:function(){return cs.CodeGen}});var vb=qh(),bb=_d(),Sd=Ed(),wb=["/properties"],mo="http://json-schema.org/draft-07/schema",Vf=class extends vb.default{_addVocabularies(){super._addVocabularies(),bb.default.forEach(n=>this.addVocabulary(n))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let n=this.opts.$data?this.$dataMetaSchema(Sd,wb):Sd;this.addMetaSchema(n,mo,!1),this.refs["http://json-schema.org/schema"]=mo}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(mo)?mo:void 0)}};lr.default=Vf});var Fd=Ee((ek,Pd)=>{var $b=Object.prototype.hasOwnProperty,Ab=Object.prototype.toString;Pd.exports=function(n,e,s){if(Ab.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var o=n.length;if(o===+o)for(var f=0;f<o;f++)e.call(s,n[f],f,n);else for(var h in n)$b.call(n,h)&&e.call(s,n[h],h,n)}});var Id=Ee((tk,Dd)=>{"use strict";var xb=Fd();Dd.exports=xt;function xt(t,n,e){if(arguments.length===3)return xt.set(t,n,e);if(arguments.length===2)return xt.get(t,n);var s=xt.bind(xt,t);for(var o in xt)xt.hasOwnProperty(o)&&(s[o]=xt[o].bind(s,t));return s}xt.get=function(n,e){for(var s=Array.isArray(e)?e:xt.parse(e),o=0;o<s.length;++o){var f=s[o];if(!(typeof n=="object"&&f in n))throw new Error("Invalid reference token: "+f);n=n[f]}return n};xt.set=function(n,e,s){var o=Array.isArray(e)?e:xt.parse(e),f=o[0];if(o.length===0)throw Error("Can not set the root object");for(var h=0;h<o.length-1;++h){var v=o[h];v==="__proto__"||v==="constructor"||v==="prototype"||(v==="-"&&Array.isArray(n)&&(v=n.length),f=o[h+1],v in n||(f.match(/^(\d+|-)$/)?n[v]=[]:n[v]={}),n=n[v])}return f==="-"&&Array.isArray(n)&&(f=n.length),n[f]=s,this};xt.remove=function(t,n){var e=Array.isArray(n)?n:xt.parse(n),s=e[e.length-1];if(s===void 0)throw new Error('Invalid JSON pointer for remove: "'+n+'"');var o=xt.get(t,e.slice(0,-1));if(Array.isArray(o)){var f=+s;if(s===""&&isNaN(f))throw new Error('Invalid array index: "'+s+'"');Array.prototype.splice.call(o,f,1)}else delete o[s]};xt.dict=function(n,e){var s={};return xt.walk(n,function(o,f){s[f]=o},e),s};xt.walk=function(n,e,s){var o=[];s=s||function(f){var h=Object.prototype.toString.call(f);return h==="[object Object]"||h==="[object Array]"},function f(h){xb(h,function(v,b){o.push(String(b)),s(v)?f(v):e(v,xt.compile(o)),o.pop()})}(n)};xt.has=function(n,e){try{xt.get(n,e)}catch{return!1}return!0};xt.escape=function(n){return n.toString().replace(/~/g,"~0").replace(/\//g,"~1")};xt.unescape=function(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")};xt.parse=function(n){if(n==="")return[];if(n.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+n);return n.substring(1).split(/\//).map(xt.unescape)};xt.compile=function(n){return n.length===0?"":"/"+n.map(xt.escape).join("/")}});var Jf=Ee((xk,Xd)=>{"use strict";function Rb(t,n){function e(){this.constructor=t}e.prototype=n.prototype,t.prototype=new e}function Dn(t,n,e,s){this.message=t,this.expected=n,this.found=e,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Dn)}Rb(Dn,Error);Dn.buildMessage=function(t,n){var e={literal:function(A){return'"'+o(A.text)+'"'},class:function(A){var w="",T;for(T=0;T<A.parts.length;T++)w+=A.parts[T]instanceof Array?f(A.parts[T][0])+"-"+f(A.parts[T][1]):f(A.parts[T]);return"["+(A.inverted?"^":"")+w+"]"},any:function(A){return"any character"},end:function(A){return"end of input"},other:function(A){return A.description}};function s(A){return A.charCodeAt(0).toString(16).toUpperCase()}function o(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function f(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function h(A){return e[A.type](A)}function v(A){var w=new Array(A.length),T,N;for(T=0;T<A.length;T++)w[T]=h(A[T]);if(w.sort(),w.length>0){for(T=1,N=1;T<w.length;T++)w[T-1]!==w[T]&&(w[N]=w[T],N++);w.length=N}switch(w.length){case 1:return w[0];case 2:return w[0]+" or "+w[1];default:return w.slice(0,-1).join(", ")+", or "+w[w.length-1]}}function b(A){return A?'"'+o(A)+'"':"end of input"}return"Expected "+v(t)+" but "+b(n)+" found."};function Nb(t,n){n=n!==void 0?n:{};var e={},s={Document:fc,attributesOnly:ag},o=fc,f=function(u){return u},h=function(u){return Ac(u)},v=function(){return!!n.podMode},b=function(u){return u},A=ig(),w=function(){return{text:bi(),type:"ambient",location:Tt()}},T=/^[ \xA0\u2001\t\f\u2008]/,N=Ot([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),R=/^[ \t\f]/,L=Ot([" "," ","\f"],!1,!1),V=/^[\n\r]/,G=Ot([`
9
- `,"\r"],!1,!1),K=function(u){return u},re=/^[^\n\r]/,ce=Ot([`
10
- `,"\r"],!0,!1),xe=`
11
- `,ye=bt(`
12
- `,!1),le="\r",de=bt("\r",!1),Te=function(){return{type:"blankline"}},Ae="=begin ",Ze=bt("=begin ",!1),qe="=end ",ze=bt("=end ",!1),we="=for ",Re=bt("=for ",!1),nt="=config",ne=bt("=config",!1),Ct="=alias",st=bt("=alias",!1),_t=function(u){return xg(u)},ct=function(u){return u},W="=",J=bt("=",!1),xr=Ia("text"),Ht=function(){return bi()},Ft=function(){return ml(n,"Line looks like a directive but could not be read; it stays as text",Tt(),"directive-unreadable"),{type:"para",value:bi(),error:!0,location:Tt()}},zt=function(u,y){return sn([u,y])},Rt=function(u){return[u]},mt=/^[ \t]/,kr=Ot([" "," "],!1,!1),Gt=",",fr=bt(",",!1),Br=function(u,y){return sn([u,y])},fi=/^[a-zA-Z0-9]/,ur=Ot([["a","z"],["A","Z"],["0","9"]],!1,!1),ui=/^[a-zA-Z0-9_\-]/,Qr=Ot([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ti=function(u){return!u.dropped},Pi=function(u){return{[u.name]:u.value}},ji="=>",fe=bt("=>",!1),tr=function(u,y){return{[u]:y}},Bi=function(u,y){return{...u,...y}},$e=function(u){return u},ve=":",_e=bt(":",!1),Se=/^[!]/,jt=Ot(["!"],!1,!1),Z="allow",ie=bt("allow",!1),ue="<",he=bt("<",!1),gt=">",Kt=bt(">",!1),ht=function(u,y,x){return{value:x,type:"array"}},St=function(u,y){return{value:[],type:"array"}},Nt=function(u,y,x){return{name:"allow",...x,...u?{isFalse:!0}:{}}},Zr=/^[^ \t\r\n,<>[\]{}()'"]/,wt=Ot([" "," ","\r",`
13
- `,",","<",">","[","]","{","}","(",")","'",'"'],!0,!1),Fi=function(u,y){return y},Qt=function(u,y){return sn([u,...y])},Vi=function(u){return u},vs=function(u){return u},Di=function(u){return[u]},Bn=function(){return[]},Ii="{",Ui=bt("{",!1),Xr="}",ci=bt("}",!1),bs=function(u,y,x){return{value:x,type:"map"}},Vn=function(u,y){return{value:{},type:"map"}},Un=function(u,y){return{unreadable:!0,location:Tt()}},pn="[",Q=bt("[",!1),U="]",ee=bt("]",!1),se=function(u,y){return{unreadable:!0,location:Tt(),message:"Square brackets are not an attribute value form; write a list with angle brackets or parentheses"}},ae=function(u,y,x){return{value:x,type:"array"}},be=/^[']/,Ie=Ot(["'"],!1,!1),Me=/^[^'\n\r]/,Ke=Ot(["'",`
14
- `,"\r"],!0,!1),dt=function(u,y,x){return{value:x,type:"string"}},Le=/^["]/,ot=Ot(['"'],!1,!1),yt=/^[^"\n\r]/,lt=Ot(['"',`
15
- `,"\r"],!0,!1),Xe=function(u,y,x){return{value:x.trim(),type:"string"}},vt=function(u,y){return{value:[],type:"array"}},We="(",rr=bt("(",!1),ir=function(u,y,x){return x.length>1?{type:"array",value:x}:{type:$g(x[0]),value:x[0]}},Dt=")",Je=bt(")",!1),nr=function(u,y,x){return x},cr=function(u,y){return{unreadable:!0,location:Tt(),message:"Bare text in parentheses; quote it or use a number"}},Cr="\uFF62",Yr=bt("\uFF62",!1),Wt=/^[^\uFF63\n\r]/,Vr=Ot(["\uFF63",`
16
- `,"\r"],!0,!1),hi="\uFF63",Hi=bt("\uFF63",!1),di=function(u,y){return{unreadable:!0,location:Tt(),message:"Value is not closed; only a bracketed value may continue on the next configuration line"}},pi=function(u,y){return{value:!u,type:"boolean"}},hr=function(u,y,x){return x.unreadable?(ml(n,x.message||`cannot read the value of :${y}`,x.location),{name:y,dropped:!0}):{name:y,...x,...u&&x.type!=="boolean"?{isFalse:!0}:{}}},dr=function(u,y){return y},en=function(u,y,x){return Ac(sn([...u,...y]))},Ne=function(){ml(n,"Configuration continuation line could not be read",Tt())},It=/^[^'"]/,De=Ot(["'",'"'],!0,!1),mi=function(u){return u},_r=/^[0-9]/,Ur=Ot([["0","9"]],!1,!1),Ve=/^[\-+]/,kt=Ot(["-","+"],!1,!1),Gi="True",Ki=bt("True",!1),r=function(){return!0},oe="False",Hr=bt("False",!1),pr=function(){return!1},gi=".",l=bt(".",!1),mn=/^[eE]/,Ir=Ot(["e","E"],!1,!1),tn=function(u){return parseFloat(u)},ws=function(u){return parseInt(u,10)},ya=function(u,y,x){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Na(y)},Ue=function(u,y,x,_,P){return u.length===_.length&&y===P},Or=function(u,y,x,_,P){return kg(u,`${_}${P}`)},gn=function(u,y,x,_,P,k){return y===k},va=function(u,y,x,_,P,k){return{type:"block",content:_===""?[]:[{type:"verbatim",value:_.join("")}],name:y,margin:u}},Hn=function(u,y,x,_,P,k){return!0},$s=function(u,y,x,_,P,k){return{...k,text:bi(),config:x,location:Tt()}},Wi=/^[\-+=_|]/,E=Ot(["-","+","=","_","|"],!1,!1),ba=function(){return{type:"separator",text:bi()}},wa=function(){return n.isDelimited},$a=function(){return{type:"separator",text:bi()}},ei=function(u){return{name:"row",type:"text",value:u}},jo=function(){return n.separators=[],!0},sc=function(u,y){return n.separators.push(y.text),y},Gn=function(u,y,x,_){return n.separators.push(_.text),_},Jt=function(u,y,x,_){return[{name:"row",type:"text",value:x},_]},As=function(u,y,x){return[x]},Aa=function(u,y,x){return n.separators.length>1?!n.separators.every(_=>_===n.separators[0]):!0},Bo=function(u,y,x){return[{name:"head",type:"text",value:u},y,...sn(x)]},xa=function(u,y){return[{name:"row",type:"text",value:u},y]},Vo=function(u){return[...sn(u)]},ka=function(u,y,x){return y==="table"},Uo=function(u,y,x){return n.isDelimited=!0,!0},Ca=function(u,y,x,_){return _},Bt=function(u,y,x,_){return _.some(P=>P&&(P.name==="row"||P.name==="cell"))},He=function(u,y,x,_,P,k){return{type:"block",content:_,name:y,margin:u}},xs=function(u,y,x,_,P,k){return{...k,text:bi(),config:x,location:Tt()}},yn=function(u,y,x){return n.isDelimited=!0,!0},Gr=function(u,y,x,_){return _},Ho=function(u,y,x,_,P,k){return{type:"block",content:_,name:y,margin:u}},_a=function(u,y,x,_,P,k){return{...k,text:bi(),config:x,location:Tt()}},yi=function(u,y,x,_){return _},rn=function(u,y,x,_,P){let k=y.match(/pod|nested|item|code|defn/)&&_.length-u.length>0?"code":"para";return{text:P,margin:_,type:k,content:[{type:k==="code"?"verbatim":"text",value:P}],location:Tt()}},Kn=function(u,y,x,_,P,k){return{type:"block",content:_,name:y,margin:u}},Go=function(u,y,x,_,P,k){return{...k,config:x,location:Tt()}},Ko=function(){return{text:bi(),type:"para",margin:"",content:[{type:"text",value:bi()}],location:Tt()}},Ea=function(){return{empty:1}},Wn=/^[s]/,Jn=Ot(["s"],!1,!1),Wo=function(u){return{text:bi(),type:"ambient1"}},Sa=function(u,y){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Na(y)},Ta=function(u,y,x){return{margin:u,type:"block",content:x===""?[]:[{type:"verbatim",value:x}],name:y,config:[],location:Tt()}},vi=function(u,y){return y==="table"},ks=function(u,y){return n.isDelimited=!1,!0},Ce=function(u,y,x){return{margin:u,type:"block",content:x===""?[]:x,name:y,config:[],location:Tt()}},at=function(u,y,x,_){let P=(x===`
17
- `?"":x)+_;return{margin:u,type:"block",content:P===""?[]:[{type:"para",text:P,margin:"",content:[{type:"text",value:P}],location:Tt()}],name:y,location:Tt()}},Et="= ",Er=bt("= ",!1),ac=function(u,y){return sn([...u,...y])},Ge=function(u){return{kind:"attrs",attrs:u}},Oi=function(u,y){return{kind:"alias",name:u,value:y}},me=function(u){return{kind:"value",value:u}},Jo=function(u){return u},Pa="=set",Qo=bt("=set",!1),Zo=function(u,y,x){let _=[],P=null,k=()=>{if(!P)return;let j=P.parts.map(H=>H.trim()).filter(H=>H.length).join(" ");_.push({name:P.name,value:j,type:"string"}),P=null};for(let j of[y,...x])j.kind==="attrs"?(k(),_.push(...j.attrs)):j.kind==="alias"?(k(),P={name:j.name,parts:[j.value]}):j.kind==="value"&&P&&P.parts.push(j.value);return k(),{type:"set",config:_,margin:u,location:Tt()}},Xo=function(u,y,x,_){return{name:x,type:"alias",replacement:_,margin:u}},Yo=/^[A-Z]/,el=Ot([["A","Z"]],!1,!1),Fa="<>",tl=bt("<>",!1),rl=function(u,y,x,_){return{name:x,type:"config",config:_,margin:u}},Da="=boundary",il=bt("=boundary",!1),nl=function(u,y,x){return{name:"boundary",type:"block",content:[],config:x,margin:u,location:Tt()}},sl=function(u,y,x,_){return x.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Na(x)},Qn=function(u,y,x,_,P){return{type:"block",content:P===""?[]:[{type:"verbatim",value:P}],name:x,margin:u,config:_,location:Tt()}},Cs=function(u,y,x,_){return x==="table"},m=function(u,y,x,_){return n.isDelimited=!1,!0},C=function(u,y,x,_,P){return{type:"block",content:P===""?[]:P,name:x,margin:u,config:_,location:Tt()}},F=function(u,y,x,_,P){return{type:"block",content:P===""?[]:[{type:"para",content:[{type:"text",value:P}],margin:u,text:P,location:Tt()}],name:x,margin:u,config:_,location:Tt()}},S=/^[a-zA-Z]/,D=Ot([["a","z"],["A","Z"]],!1,!1),q=Ia("whitespace"),M=/^[\r\n \t\f]/,X=Ot(["\r",`
18
- `," "," ","\f"],!1,!1),c=Ia("space characters"),i=0,d=0,a=[{line:1,column:1}],g=0,$=[],p=0,O;if("startRule"in n){if(!(n.startRule in s))throw new Error(`Can't start parsing from rule "`+n.startRule+'".');o=s[n.startRule]}function bi(){return t.substring(d,i)}function Tt(){return _s(d,i)}function zA(u,y){throw y=y!==void 0?y:_s(d,i),lc([Ia(u)],t.substring(d,i),y)}function jA(u,y){throw y=y!==void 0?y:_s(d,i),sg(u,y)}function bt(u,y){return{type:"literal",text:u,ignoreCase:y}}function Ot(u,y,x){return{type:"class",parts:u,inverted:y,ignoreCase:x}}function ig(){return{type:"any"}}function ng(){return{type:"end"}}function Ia(u){return{type:"other",description:u}}function oc(u){var y=a[u],x;if(y)return y;for(x=u-1;!a[x];)x--;for(y=a[x],y={line:y.line,column:y.column};x<u;)t.charCodeAt(x)===10?(y.line++,y.column=1):y.column++,x++;return a[u]=y,y}function _s(u,y){var x=oc(u),_=oc(y);return{start:{offset:u,line:x.line,column:x.column},end:{offset:y,line:_.line,column:_.column}}}function te(u){i<g||(i>g&&(g=i,$=[]),$.push(u))}function sg(u,y){return new Dn(u,null,null,y)}function lc(u,y,x){return new Dn(Dn.buildMessage(u,y),u,y,x)}function fc(){var u,y,x;for(u=i,y=[],x=uc();x!==e;)y.push(x),x=uc();return y!==e&&(d=u,y=f(y)),u=y,u}function ag(){var u,y,x,_;if(u=i,y=ke(),y!==e){for(x=[],_=wi();_!==e;)x.push(_),_=wi();x!==e?(_=ke(),_!==e?(d=u,y=h(x),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u}function uc(){var u,y,x,_,P,k,j,H;if(u=Ts(),u===e&&(u=gg(),u===e&&(u=ll(),u===e&&(u=Ps(),u===e&&(u=Is(),u===e&&(u=pl(),u===e&&(u=Os(),u===e&&(u=ul(),u===e&&(u=cl(),u===e&&(u=hl(),u===e&&(u=dl(),u===e&&(u=Fs(),u===e&&(u=fl(),u===e&&(u=Ds(),u===e&&(u=i,d=i,y=v(),y?y=void 0:y=e,y!==e?(x=yg(),x===e&&(x=ti(),x===e&&(x=lg())),x!==e?(d=u,y=b(x),u=y):(i=u,u=e)):(i=u,u=e),u===e))))))))))))))){if(u=i,y=i,x=[],_=i,P=i,p++,k=i,j=Ji(),j!==e?(H=Xt(),H!==e?(j=[j,H],k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=bn()),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e),_!==e)for(;_!==e;)x.push(_),_=i,P=i,p++,k=i,j=Ji(),j!==e?(H=Xt(),H!==e?(j=[j,H],k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=bn()),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e);else x=e;x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=w()),u=y}return u}function pt(){var u;return T.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,p===0&&te(N)),u}function ke(){var u,y;for(u=[],R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L));y!==e;)u.push(y),R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L));return u}function nn(){var u,y,x,_;for(u=i,y=i,x=[],_=pt();_!==e;)x.push(_),_=pt();return x!==e?(V.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(G)),_!==e?(x=[x,_],y=x):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y,u}function BA(){var u,y,x,_;if(u=i,y=i,x=[],_=Es(),_!==e)for(;_!==e;)x.push(_),_=Es();else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e?(x=qr(),x!==e?(d=u,y=K(y),u=y):(i=u,u=e)):(i=u,u=e),u}function Es(){var u;return re.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,p===0&&te(ce)),u}function Zt(){var u,y,x;return t.charCodeAt(i)===10?(u=xe,i++):(u=e,p===0&&te(ye)),u===e&&(u=i,t.charCodeAt(i)===13?(y=le,i++):(y=e,p===0&&te(de)),y!==e?(t.charCodeAt(i)===10?(x=xe,i++):(x=e,p===0&&te(ye)),x===e&&(x=null),x!==e?(y=[y,x],u=y):(i=u,u=e)):(i=u,u=e)),u}function qr(){var u,y;return u=Zt(),u===e&&(u=i,p++,t.length>i?(y=t.charAt(i),i++):(y=e,p===0&&te(A)),p--,y===e?u=void 0:(i=u,u=e)),u}function Kr(){var u,y,x,_;for(u=i,y=i,x=[],_=pt();_!==e;)x.push(_),_=pt();return x!==e?(V.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(G)),_!==e?(x=[x,_],y=x):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y,u}function ti(){var u,y,x,_,P;for(u=i,y=i,x=i,_=[],P=pt();P!==e;)_.push(P),P=pt();return _!==e?(V.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(G)),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=Te()),u=y,u}function Ss(){var u;return t.substr(i,7)===Ae?(u=Ae,i+=7):(u=e,p===0&&te(Ze)),u}function vn(){var u;return t.substr(i,5)===qe?(u=qe,i+=5):(u=e,p===0&&te(ze)),u}function Oa(){var u;return t.substr(i,5)===we?(u=we,i+=5):(u=e,p===0&&te(Re)),u}function cc(){var u;return t.substr(i,7)===nt?(u=nt,i+=7):(u=e,p===0&&te(ne)),u}function hc(){var u;return t.substr(i,6)===Ct?(u=Ct,i+=6):(u=e,p===0&&te(st)),u}function Xt(){var u,y,x;return u=i,y=Ra(),y!==e?(d=i,x=_t(y),x?x=void 0:x=e,x!==e?(d=u,y=ct(y),u=y):(i=u,u=e)):(i=u,u=e),u}function bn(){var u,y,x;return u=i,t.charCodeAt(i)===61?(y=W,i++):(y=e,p===0&&te(J)),y!==e?(x=Xt(),x!==e?(d=u,y=ct(x),u=y):(i=u,u=e)):(i=u,u=e),u}function Ji(){var u;return u=Ss(),u===e&&(u=vn(),u===e&&(u=Oa(),u===e&&(u=cc(),u===e&&(u=hc())))),u}function ri(){var u,y,x;if(p++,u=i,y=[],x=Es(),x!==e)for(;x!==e;)y.push(x),x=Es();else y=e;return y!==e?u=t.substring(u,i):u=y,p--,u===e&&(y=e,p===0&&te(xr)),u}function sr(){var u,y,x,_,P,k,j;if(u=i,y=i,p++,x=i,_=ke(),_!==e?(P=cc(),P===e&&(P=hc(),P===e&&(P=i,k=Ji(),k!==e?(j=Xt(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P===e&&(P=bn()))),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),x===e&&(x=ti()),p--,x===e?y=void 0:(i=y,y=e),y!==e){if(x=i,_=[],P=ri(),P!==e)for(;P!==e;)_.push(P),P=ri();else _=e;_!==e?x=t.substring(x,i):x=_,x!==e?(_=qr(),_!==e?(d=u,y=Ht(),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u}function og(){var u,y,x,_;if(u=i,y=i,x=[],_=ri(),_!==e)for(;_!==e;)x.push(_),_=ri();else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e?(x=qr(),x!==e?(d=u,y=Ht(),u=y):(i=u,u=e)):(i=u,u=e),u}function lg(){var u,y,x,_,P,k;if(u=i,y=i,x=[],_=i,P=i,p++,k=qr(),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e),_!==e)for(;_!==e;)x.push(_),_=i,P=i,p++,k=qr(),p--,k===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,p===0&&te(A)),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e);else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e?(x=qr(),x!==e?(d=u,y=Ft(),u=y):(i=u,u=e)):(i=u,u=e),u}function dc(){var u,y,x,_;if(u=i,y=pc(),y!==e){if(x=[],_=pt(),_!==e)for(;_!==e;)x.push(_),_=pt();else x=e;x!==e?(_=dc(),_!==e?(d=u,y=zt(y,_),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u===e&&(u=i,y=pc(),y!==e&&(d=u,y=Rt(y)),u=y),u}function pc(){var u,y;return u=i,y=Es(),y!==e?u=t.substring(u,i):u=y,u}function mc(){var u,y,x,_,P;if(u=i,y=Zt(),y!==e)if(t.charCodeAt(i)===61?(x=W,i++):(x=e,p===0&&te(J)),x!==e){if(_=[],mt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(kr)),P!==e)for(;P!==e;)_.push(P),mt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(kr));else _=e;_!==e?(y=[y,x,_],u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;return u}function Rr(){var u,y;for(u=[],R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L)),y===e&&(y=mc());y!==e;)u.push(y),R.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(L)),y===e&&(y=mc());return u}function gc(){var u,y,x,_,P,k;if(u=i,y=wn(),y!==e){if(x=[],_=pt(),_!==e)for(;_!==e;)x.push(_),_=pt();else x=e;x===e&&(x=i,_=Rr(),_!==e?(t.charCodeAt(i)===44?(P=Gt,i++):(P=e,p===0&&te(fr)),P!==e?(k=Rr(),k!==e?(_=[_,P,k],x=_):(i=x,x=e)):(i=x,x=e)):(i=x,x=e)),x!==e?(_=gc(),_!==e?(d=u,y=Br(y,_),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;return u===e&&(u=i,y=wn(),y!==e&&(d=u,y=Rt(y)),u=y),u}function fg(){var u,y,x,_,P;if(u=i,y=i,x=[],fi.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(ur)),_!==e)for(;_!==e;)x.push(_),fi.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(ur));else x=e;if(x!==e){for(_=[],ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));P!==e;)_.push(P),ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));_!==e?(x=[x,_],y=x):(i=y,y=e)}else i=y,y=e;return y!==e?u=t.substring(u,i):u=y,u}function yc(){var u,y,x,_,P,k,j;return u=i,y=Rr(),y!==e?(x=wi(),x!==e?(d=i,_=Ti(x),_?_=void 0:_=e,_!==e?(d=u,y=Pi(x),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u===e&&(u=i,y=Rr(),y!==e?(x=fg(),x!==e?(_=Rr(),_!==e?(t.charCodeAt(i)===44?(P=Gt,i++):(P=e,p===0&&te(fr)),P===e&&(t.substr(i,2)===ji?(P=ji,i+=2):(P=e,p===0&&te(fe))),P!==e?(k=Rr(),k!==e?(j=wn(),j!==e?(d=u,y=tr(x,j),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)),u}function vc(){var u,y,x,_,P,k;return u=i,y=yc(),y!==e?(x=Rr(),x!==e?(t.charCodeAt(i)===44?(_=Gt,i++):(_=e,p===0&&te(fr)),_!==e?(P=Rr(),P!==e?(k=vc(),k!==e?(d=u,y=Bi(y,k),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u===e&&(u=i,y=yc(),y!==e&&(d=u,y=$e(y)),u=y),u}function ug(){var u,y,x,_,P,k,j,H,I,z,B;return u=i,y=ke(),y!==e?(t.charCodeAt(i)===58?(x=ve,i++):(x=e,p===0&&te(_e)),x!==e?(Se.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(jt)),_===e&&(_=null),_!==e?(t.substr(i,5)===Z?(P=Z,i+=5):(P=e,p===0&&te(ie)),P!==e?(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(I=dc(),I!==e?(z=ke(),z!==e?(t.charCodeAt(i)===62?(B=gt,i++):(B=e,p===0&&te(Kt)),B!==e?(d=k,j=ht(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(t.charCodeAt(i)===62?(I=gt,i++):(I=e,p===0&&te(Kt)),I!==e?(d=k,j=St(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)),k!==e?(j=ke(),j!==e?(d=u,y=Nt(_,P,k),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function cg(){var u,y,x;if(u=i,y=[],Zr.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(wt)),x!==e)for(;x!==e;)y.push(x),Zr.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(wt));else y=e;return y!==e?u=t.substring(u,i):u=y,u}function al(){var u;return u=wn(),u===e&&(u=cg()),u}function hg(){var u,y,x,_,P,k;if(u=i,y=al(),y!==e){if(x=[],_=i,P=[],k=pt(),k!==e)for(;k!==e;)P.push(k),k=pt();else P=e;if(P!==e?(k=al(),k!==e?(d=_,P=Fi(y,k),_=P):(i=_,_=e)):(i=_,_=e),_!==e)for(;_!==e;){if(x.push(_),_=i,P=[],k=pt(),k!==e)for(;k!==e;)P.push(k),k=pt();else P=e;P!==e?(k=al(),k!==e?(d=_,P=Fi(y,k),_=P):(i=_,_=e)):(i=_,_=e)}else x=e;x!==e?(d=u,y=Qt(y,x),u=y):(i=u,u=e)}else i=u,u=e;return u}function VA(){var u,y,x,_,P,k;for(u=i,y=[],x=i,_=ke(),_!==e?(P=wn(),P!==e?(k=ke(),k!==e?(d=x,_=Vi(P),x=_):(i=x,x=e)):(i=x,x=e)):(i=x,x=e);x!==e;)y.push(x),x=i,_=ke(),_!==e?(P=wn(),P!==e?(k=ke(),k!==e?(d=x,_=Vi(P),x=_):(i=x,x=e)):(i=x,x=e)):(i=x,x=e);return y!==e&&(d=u,y=vs(y)),u=y,u===e&&(u=i,y=wn(),y!==e&&(d=u,y=Di(y)),u=y,u===e&&(u=i,y=ke(),y!==e&&(d=u,y=Bn()),u=y)),u}function wi(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe;if(u=ug(),u===e)if(u=i,y=ke(),y!==e)if(t.charCodeAt(i)===58?(x=ve,i++):(x=e,p===0&&te(_e)),x!==e)if(Se.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(jt)),_===e&&(_=null),_!==e)if(P=Ra(),P!==e){if(k=i,t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j!==e?(H=Rr(),H!==e?(I=vc(),I!==e?(z=Rr(),z!==e?(t.charCodeAt(i)===125?(B=Xr,i++):(B=e,p===0&&te(ci)),B!==e?(d=k,j=bs(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j!==e?(H=Rr(),H!==e?(t.charCodeAt(i)===125?(I=Xr,i++):(I=e,p===0&&te(ci)),I!==e?(d=k,j=Vn(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e)){if(k=i,t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j!==e){for(H=i,I=[],z=i,B=i,p++,t.charCodeAt(i)===125?(Y=Xr,i++):(Y=e,p===0&&te(ci)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,t.charCodeAt(i)===125?(Y=Xr,i++):(Y=e,p===0&&te(ci)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===125?(I=Xr,i++):(I=e,p===0&&te(ci)),I!==e?(d=k,j=Un(_,P),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===91?(j=pn,i++):(j=e,p===0&&te(Q)),j!==e){for(H=i,I=[],z=i,B=i,p++,t.charCodeAt(i)===93?(Y=U,i++):(Y=e,p===0&&te(ee)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,t.charCodeAt(i)===93?(Y=U,i++):(Y=e,p===0&&te(ee)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===93?(I=U,i++):(I=e,p===0&&te(ee)),I!==e?(d=k,j=se(_,P),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e&&(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(I=hg(),I!==e?(z=ke(),z!==e?(t.charCodeAt(i)===62?(B=gt,i++):(B=e,p===0&&te(Kt)),B!==e?(d=k,j=ae(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e)){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e)if(H=ke(),H!==e)if(be.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(Ie)),I!==e){for(z=i,B=[],Me.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(Ke));Y!==e;)B.push(Y),Me.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(Ke));B!==e?z=t.substring(z,i):z=B,z!==e?(be.test(t.charAt(i))?(B=t.charAt(i),i++):(B=e,p===0&&te(Ie)),B!==e?(Y=ke(),Y!==e?(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe!==e?(d=k,j=dt(_,P,z),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e)if(H=ke(),H!==e)if(Le.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(ot)),I!==e){for(z=i,B=[],yt.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(lt));Y!==e;)B.push(Y),yt.test(t.charAt(i))?(Y=t.charAt(i),i++):(Y=e,p===0&&te(lt));B!==e?z=t.substring(z,i):z=B,z!==e?(Le.test(t.charAt(i))?(B=t.charAt(i),i++):(B=e,p===0&&te(ot)),B!==e?(Y=ke(),Y!==e?(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe!==e?(d=k,j=dt(_,P,z),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e)if(H=ke(),H!==e){if(I=i,z=[],B=i,Y=i,p++,t.charCodeAt(i)===60?(pe=ue,i++):(pe=e,p===0&&te(he)),pe===e&&(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe===e&&(pe=Zt())),p--,pe===e?Y=void 0:(i=Y,Y=e),Y!==e?(t.length>i?(pe=t.charAt(i),i++):(pe=e,p===0&&te(A)),pe!==e?(Y=[Y,pe],B=Y):(i=B,B=e)):(i=B,B=e),B!==e)for(;B!==e;)z.push(B),B=i,Y=i,p++,t.charCodeAt(i)===60?(pe=ue,i++):(pe=e,p===0&&te(he)),pe===e&&(t.charCodeAt(i)===62?(pe=gt,i++):(pe=e,p===0&&te(Kt)),pe===e&&(pe=Zt())),p--,pe===e?Y=void 0:(i=Y,Y=e),Y!==e?(t.length>i?(pe=t.charAt(i),i++):(pe=e,p===0&&te(A)),pe!==e?(Y=[Y,pe],B=Y):(i=B,B=e)):(i=B,B=e);else z=e;z!==e?I=t.substring(I,i):I=z,I!==e?(t.charCodeAt(i)===62?(z=gt,i++):(z=e,p===0&&te(Kt)),z!==e?(d=k,j=Xe(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;if(k===e&&(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j!==e?(H=ke(),H!==e?(t.charCodeAt(i)===62?(I=gt,i++):(I=e,p===0&&te(Kt)),I!==e?(d=k,j=vt(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e?(H=Rr(),H!==e?(I=i,z=gc(),z!==e&&(d=I,z=ir(_,P,z)),I=z,I!==e?(z=Rr(),z!==e?(t.charCodeAt(i)===41?(B=Dt,i++):(B=e,p===0&&te(Je)),B!==e?(d=k,j=nr(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e?(H=Rr(),H!==e?(t.charCodeAt(i)===41?(I=Dt,i++):(I=e,p===0&&te(Je)),I!==e?(d=k,j=vt(_,P),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k===e)))){if(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e)if(H=ke(),H!==e){if(I=i,z=i,t.charCodeAt(i)===58?(B=ve,i++):(B=e,p===0&&te(_e)),B!==e){for(Y=[],pe=i,Pe=i,p++,t.charCodeAt(i)===41?(Oe=Dt,i++):(Oe=e,p===0&&te(Je)),Oe===e&&(t.charCodeAt(i)===40?(Oe=We,i++):(Oe=e,p===0&&te(rr))),p--,Oe===e?Pe=void 0:(i=Pe,Pe=e),Pe!==e?(t.length>i?(Oe=t.charAt(i),i++):(Oe=e,p===0&&te(A)),Oe!==e?(Pe=[Pe,Oe],pe=Pe):(i=pe,pe=e)):(i=pe,pe=e);pe!==e;)Y.push(pe),pe=i,Pe=i,p++,t.charCodeAt(i)===41?(Oe=Dt,i++):(Oe=e,p===0&&te(Je)),Oe===e&&(t.charCodeAt(i)===40?(Oe=We,i++):(Oe=e,p===0&&te(rr))),p--,Oe===e?Pe=void 0:(i=Pe,Pe=e),Pe!==e?(t.length>i?(Oe=t.charAt(i),i++):(Oe=e,p===0&&te(A)),Oe!==e?(Pe=[Pe,Oe],pe=Pe):(i=pe,pe=e)):(i=pe,pe=e);Y!==e?(B=[B,Y],z=B):(i=z,z=e)}else i=z,z=e;z!==e?I=t.substring(I,i):I=z,I!==e?(t.charCodeAt(i)===41?(z=Dt,i++):(z=e,p===0&&te(Je)),z!==e?(d=k,j=dt(_,P,I),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j!==e){for(H=i,I=[],z=i,B=i,p++,t.charCodeAt(i)===41?(Y=Dt,i++):(Y=e,p===0&&te(Je)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,t.charCodeAt(i)===41?(Y=Dt,i++):(Y=e,p===0&&te(Je)),Y===e&&(Y=Zt()),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===41?(I=Dt,i++):(I=e,p===0&&te(Je)),I!==e?(d=k,j=cr(_,P),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,be.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(Ie)),j!==e){for(H=i,I=[],Me.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Ke));z!==e;)I.push(z),Me.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Ke));I!==e?H=t.substring(H,i):H=I,H!==e?(be.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(Ie)),I!==e?(d=k,j=dt(_,P,H),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,Le.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(ot)),j!==e){for(H=i,I=[],yt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(lt));z!==e;)I.push(z),yt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(lt));I!==e?H=t.substring(H,i):H=I,H!==e?(Le.test(t.charAt(i))?(I=t.charAt(i),i++):(I=e,p===0&&te(ot)),I!==e?(d=k,j=dt(_,P,H),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===65378?(j=Cr,i++):(j=e,p===0&&te(Yr)),j!==e){for(H=i,I=[],Wt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Vr));z!==e;)I.push(z),Wt.test(t.charAt(i))?(z=t.charAt(i),i++):(z=e,p===0&&te(Vr));I!==e?H=t.substring(H,i):H=I,H!==e?(t.charCodeAt(i)===65379?(I=hi,i++):(I=e,p===0&&te(Hi)),I!==e?(d=k,j=dt(_,P,H),k=j):(i=k,k=e)):(i=k,k=e)}else i=k,k=e;if(k===e){if(k=i,t.charCodeAt(i)===60?(j=ue,i++):(j=e,p===0&&te(he)),j===e&&(t.charCodeAt(i)===40?(j=We,i++):(j=e,p===0&&te(rr)),j===e&&(t.charCodeAt(i)===123?(j=Ii,i++):(j=e,p===0&&te(Ui)),j===e&&(t.charCodeAt(i)===91?(j=pn,i++):(j=e,p===0&&te(Q)),j===e&&(be.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(Ie)),j===e&&(Le.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(ot)),j===e&&(t.charCodeAt(i)===65378?(j=Cr,i++):(j=e,p===0&&te(Yr)))))))),j!==e){for(H=i,I=[],z=i,B=i,p++,Y=Zt(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,Y=Zt(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(Y=t.charAt(i),i++):(Y=e,p===0&&te(A)),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(d=k,j=di(_,P),k=j):(i=k,k=e)}else i=k,k=e;k===e&&(k=i,j=ke(),j!==e&&(d=k,j=pi(_,P)),k=j)}}}}}}}}}}}k!==e?(j=ke(),j!==e?(d=u,y=hr(_,P,k),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Qi(){var u,y,x,_,P,k,j,H,I,z;for(u=i,y=[],x=wi();x!==e;)y.push(x),x=wi();if(y!==e)if(x=Zt(),x!==e){if(_=[],P=i,t.charCodeAt(i)===61?(k=W,i++):(k=e,p===0&&te(J)),k!==e)if(j=ke(),j!==e){if(H=[],I=wi(),I!==e)for(;I!==e;)H.push(I),I=wi();else H=e;H!==e?(I=ke(),I!==e?(z=Zt(),z!==e?(d=P,k=dr(y,H),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;for(;P!==e;)if(_.push(P),P=i,t.charCodeAt(i)===61?(k=W,i++):(k=e,p===0&&te(J)),k!==e)if(j=ke(),j!==e){if(H=[],I=wi(),I!==e)for(;I!==e;)H.push(I),I=wi();else H=e;H!==e?(I=ke(),I!==e?(z=Zt(),z!==e?(d=P,k=dr(y,H),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;_!==e?(P=dg(),P===e&&(P=null),P!==e?(d=u,y=en(y,_,P),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;return u}function dg(){var u,y,x,_,P;return u=i,y=i,p++,x=i,t.charCodeAt(i)===61?(_=W,i++):(_=e,p===0&&te(J)),_!==e?(mt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(kr)),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),p--,x!==e?(i=y,y=void 0):y=e,y!==e&&(d=u,y=Ne()),u=y,u}function UA(){var u,y,x,_;if(u=i,y=i,x=[],It.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(De)),_!==e)for(;_!==e;)x.push(_),It.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(De));else x=e;return x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=mi(y)),u=y,u}function bc(){var u,y,x;if(u=i,y=[],_r.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(Ur)),x!==e)for(;x!==e;)y.push(x),_r.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(Ur));else y=e;return y!==e?u=t.substring(u,i):u=y,u}function qa(){var u,y,x,_,P;if(u=i,y=i,Ve.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(kt)),x===e&&(x=null),x!==e){if(_=[],_r.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ur)),P!==e)for(;P!==e;)_.push(P),_r.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ur));else _=e;_!==e?(x=[x,_],y=x):(i=y,y=e)}else i=y,y=e;return y!==e?u=t.substring(u,i):u=y,u}function pg(){var u,y;return u=i,t.substr(i,4)===Gi?(y=Gi,i+=4):(y=e,p===0&&te(Ki)),y!==e&&(d=u,y=r()),u=y,u===e&&(u=i,t.substr(i,5)===oe?(y=oe,i+=5):(y=e,p===0&&te(Hr)),y!==e&&(d=u,y=pr()),u=y),u}function mg(){var u,y,x,_,P,k;return u=i,y=i,x=qa(),x!==e?(_=i,t.charCodeAt(i)===46?(P=gi,i++):(P=e,p===0&&te(l)),P!==e?(k=bc(),k!==e?(P=[P,k],_=P):(i=_,_=e)):(i=_,_=e),_===e&&(_=null),_!==e?(mn.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ir)),P!==e?(k=qa(),k!==e?(x=[x,_,P,k],y=x):(i=y,y=e)):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y,u===e&&(u=i,y=i,x=qa(),x!==e?(t.charCodeAt(i)===46?(_=gi,i++):(_=e,p===0&&te(l)),_!==e?(P=bc(),P!==e?(x=[x,_,P],y=x):(i=y,y=e)):(i=y,y=e)):(i=y,y=e),y!==e?u=t.substring(u,i):u=y),u}function wn(){var u,y,x,_,P;if(u=i,Le.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(ot)),y!==e){for(x=i,_=[],yt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(lt));P!==e;)_.push(P),yt.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(lt));_!==e?x=t.substring(x,i):x=_,x!==e?(Le.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(ot)),_!==e?(d=u,y=mi(x),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;if(u===e){if(u=i,be.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(Ie)),y!==e){for(x=i,_=[],Me.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ke));P!==e;)_.push(P),Me.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Ke));_!==e?x=t.substring(x,i):x=_,x!==e?(be.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Ie)),_!==e?(d=u,y=mi(x),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;u===e&&(u=pg(),u===e&&(u=i,y=mg(),y!==e&&(d=u,y=tn(y)),u=y,u===e&&(u=i,y=qa(),y!==e&&(d=u,y=ws(y)),u=y)))}return u}function Ts(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe,Wr,ni;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=ya(y,_,k),j?j=void 0:j=e,j!==e){if(H=[],I=i,z=i,B=ke(),B!==e?z=t.substring(z,i):z=B,z!==e?(B=i,Y=nn(),Y===e&&(Y=i,pe=i,p++,Pe=Ji(),p--,Pe===e?pe=void 0:(i=pe,pe=e),pe===e&&(pe=i,p++,Pe=i,Oe=vn(),Oe!==e?(Wr=Xt(),Wr!==e?(d=i,ni=Ue(y,_,k,z,Wr),ni?ni=void 0:ni=e,ni!==e?(Oe=[Oe,Wr,ni],Pe=Oe):(i=Pe,Pe=e)):(i=Pe,Pe=e)):(i=Pe,Pe=e),p--,Pe===e?pe=void 0:(i=pe,pe=e)),pe!==e?(Pe=ri(),Pe!==e?(Oe=nn(),Oe===e&&(Oe=null),Oe!==e?(pe=[pe,Pe,Oe],Y=pe):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e)),Y!==e?B=t.substring(B,i):B=Y,B!==e?(d=I,z=Or(y,_,k,z,B),I=z):(i=I,I=e)):(i=I,I=e),I!==e)for(;I!==e;)H.push(I),I=i,z=i,B=ke(),B!==e?z=t.substring(z,i):z=B,z!==e?(B=i,Y=nn(),Y===e&&(Y=i,pe=i,p++,Pe=Ji(),p--,Pe===e?pe=void 0:(i=pe,pe=e),pe===e&&(pe=i,p++,Pe=i,Oe=vn(),Oe!==e?(Wr=Xt(),Wr!==e?(d=i,ni=Ue(y,_,k,z,Wr),ni?ni=void 0:ni=e,ni!==e?(Oe=[Oe,Wr,ni],Pe=Oe):(i=Pe,Pe=e)):(i=Pe,Pe=e)):(i=Pe,Pe=e),p--,Pe===e?pe=void 0:(i=pe,pe=e)),pe!==e?(Pe=ri(),Pe!==e?(Oe=nn(),Oe===e&&(Oe=null),Oe!==e?(pe=[pe,Pe,Oe],Y=pe):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e)),Y!==e?B=t.substring(B,i):B=Y,B!==e?(d=I,z=Or(y,_,k,z,B),I=z):(i=I,I=e)):(i=I,I=e);else H=e;H!==e?(I=i,z=ke(),z!==e?I=t.substring(I,i):I=z,I!==e?(z=i,B=vn(),B!==e?(Y=Xt(),Y!==e?(d=i,pe=gn(y,_,k,H,I,Y),pe?pe=void 0:pe=e,pe!==e?(Pe=nn(),Pe===e&&(Pe=null),Pe!==e?(d=z,B=va(y,_,k,H,I,Y),z=B):(i=z,z=e)):(i=z,z=e)):(i=z,z=e)):(i=z,z=e),z!==e?(d=i,B=Hn(y,_,k,H,I,z),B?B=void 0:B=e,B!==e?(d=u,y=$s(y,_,k,H,I,z),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Zn(){var u,y,x,_,P,k,j,H,I;if(u=i,y=i,p++,x=i,_=ke(),_!==e?(P=Ji(),P===e&&(P=bn()),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e),x===e&&(x=ti()),p--,x===e?y=void 0:(i=y,y=e),y!==e){for(x=[],_=pt();_!==e;)x.push(_),_=pt();if(x!==e){if(_=i,P=[],k=i,Wi.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(E)),j!==e){for(H=[],I=pt();I!==e;)H.push(I),I=pt();H!==e?(j=[j,H],k=j):(i=k,k=e)}else i=k,k=e;if(k!==e)for(;k!==e;)if(P.push(k),k=i,Wi.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(E)),j!==e){for(H=[],I=pt();I!==e;)H.push(I),I=pt();H!==e?(j=[j,H],k=j):(i=k,k=e)}else i=k,k=e;else P=e;P!==e?_=t.substring(_,i):_=P,_!==e?(P=qr(),P!==e?(d=u,y=ba(),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e}else i=u,u=e;return u}function Nr(){var u,y,x,_,P;return u=i,y=i,x=Zn(),x===e&&(x=i,d=i,_=wa(),_?_=void 0:_=e,_!==e?(P=ti(),P!==e?(_=[_,P],x=_):(i=x,x=e)):(i=x,x=e)),x!==e?y=t.substring(y,i):y=x,y!==e&&(d=u,y=$a()),u=y,u}function ii(){var u,y;return u=i,y=sr(),y!==e&&(d=u,y=ei(y)),u=y,u}function ol(){var u,y,x,_,P,k,j,H,I,z,B;if(u=i,d=i,y=jo(),y?y=void 0:y=e,y!==e){if(x=i,_=[],P=i,k=i,p++,j=Zn(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P!==e)for(;P!==e;)_.push(P),P=i,k=i,p++,j=Zn(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e);else _=e;if(_!==e?x=t.substring(x,i):x=_,x!==e)if(_=i,P=Zn(),P!==e&&(d=_,P=sc(x,P)),_=P,_!==e){if(P=[],k=i,j=i,H=[],I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e),I!==e)for(;I!==e;)H.push(I),I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);else H=e;if(H!==e?j=t.substring(j,i):j=H,j!==e?(H=i,I=Nr(),I!==e&&(d=H,I=Gn(x,_,j,I)),H=I,H!==e?(d=k,j=Jt(x,_,j,H),k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,j=i,p++,H=Zn(),p--,H===e?j=void 0:(i=j,j=e),j!==e?(H=i,p++,I=Nr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(I=ii(),I!==e?(d=k,j=As(x,_,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e)),k!==e)for(;k!==e;){if(P.push(k),k=i,j=i,H=[],I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e),I!==e)for(;I!==e;)H.push(I),I=i,z=i,p++,B=Nr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=ii(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);else H=e;H!==e?j=t.substring(j,i):j=H,j!==e?(H=i,I=Nr(),I!==e&&(d=H,I=Gn(x,_,j,I)),H=I,H!==e?(d=k,j=Jt(x,_,j,H),k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=i,j=i,p++,H=Zn(),p--,H===e?j=void 0:(i=j,j=e),j!==e?(H=i,p++,I=Nr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(I=ii(),I!==e?(d=k,j=As(x,_,I),k=j):(i=k,k=e)):(i=k,k=e)):(i=k,k=e))}else P=e;P!==e?(d=i,k=Aa(x,_,P),k?k=void 0:k=e,k!==e?(d=u,y=Bo(x,_,P),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e}else i=u,u=e;if(u===e){if(u=i,y=[],x=i,_=i,P=i,k=i,p++,j=Nr(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P!==e?_=t.substring(_,i):_=P,_!==e){for(P=[],k=Nr();k!==e;)P.push(k),k=Nr();P!==e?(d=x,_=xa(_,P),x=_):(i=x,x=e)}else i=x,x=e;if(x!==e)for(;x!==e;)if(y.push(x),x=i,_=i,P=i,k=i,p++,j=Nr(),p--,j===e?k=void 0:(i=k,k=e),k!==e?(j=ii(),j!==e?(k=[k,j],P=k):(i=P,P=e)):(i=P,P=e),P!==e?_=t.substring(_,i):_=P,_!==e){for(P=[],k=Nr();k!==e;)P.push(k),k=Nr();P!==e?(d=x,_=xa(_,P),x=_):(i=x,x=e)}else i=x,x=e;else y=e;if(y!==e&&(d=u,y=Vo(y)),u=y,u===e)if(u=[],y=ii(),y!==e)for(;y!==e;)u.push(y),y=ii();else u=e}return u}function gg(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe,Wr;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=ka(y,_,k),j?j=void 0:j=e,j!==e)if(d=i,H=Uo(y,_,k),H?H=void 0:H=e,H!==e){for(I=i,z=[],B=ti(),B===e&&(B=Ts(),B===e&&(B=Ps(),B===e&&(B=Is(),B===e&&(B=Os(),B===e&&(B=Fs(),B===e&&(B=Ds()))))));B!==e;)z.push(B),B=ti(),B===e&&(B=Ts(),B===e&&(B=Ps(),B===e&&(B=Is(),B===e&&(B=Os(),B===e&&(B=Fs(),B===e&&(B=Ds()))))));z!==e&&(d=I,z=Ca(y,_,k,z)),I=z,I!==e?(d=i,z=Bt(y,_,k,I),z?z=void 0:z=e,z!==e?(B=i,Y=ke(),Y!==e?B=t.substring(B,i):B=Y,B!==e?(Y=i,pe=vn(),pe!==e?(Pe=Xt(),Pe!==e?(d=i,Oe=gn(y,_,k,I,B,Pe),Oe?Oe=void 0:Oe=e,Oe!==e?(Wr=nn(),Wr===e&&(Wr=null),Wr!==e?(d=Y,pe=He(y,_,k,I,B,Pe),Y=pe):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e)):(i=Y,Y=e),Y!==e?(d=u,y=xs(y,_,k,I,B,Y),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function ll(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe,Pe,Oe;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=ka(y,_,k),j?j=void 0:j=e,j!==e)if(d=i,H=yn(y,_,k),H?H=void 0:H=e,H!==e){for(I=i,z=[],B=ti();B!==e;)z.push(B),B=ti();if(z!==e)if(B=ol(),B!==e){for(Y=[],pe=ti();pe!==e;)Y.push(pe),pe=ti();Y!==e?(d=I,z=Gr(y,_,k,B),I=z):(i=I,I=e)}else i=I,I=e;else i=I,I=e;I!==e?(z=i,B=ke(),B!==e?z=t.substring(z,i):z=B,z!==e?(B=i,Y=vn(),Y!==e?(pe=Xt(),pe!==e?(d=i,Pe=gn(y,_,k,I,z,pe),Pe?Pe=void 0:Pe=e,Pe!==e?(Oe=nn(),Oe===e&&(Oe=null),Oe!==e?(d=B,Y=Ho(y,_,k,I,z,pe),B=Y):(i=B,B=e)):(i=B,B=e)):(i=B,B=e)):(i=B,B=e),B!==e?(d=i,Y=Hn(y,_,k,I,z,B),Y?Y=void 0:Y=e,Y!==e?(d=u,y=_a(y,_,k,I,z,B),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Ps(){var u,y,x,_,P,k,j,H,I,z,B,Y,pe;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Ss(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e){if(j=[],H=i,I=ti(),I===e&&(I=Ts(),I===e&&(I=ll(),I===e&&(I=Ps(),I===e&&(I=Is(),I===e&&(I=pl(),I===e&&(I=Os(),I===e&&(I=ul(),I===e&&(I=cl(),I===e&&(I=hl(),I===e&&(I=dl(),I===e&&(I=Fs(),I===e&&(I=fl(),I===e&&(I=Ds()))))))))))))),I!==e&&(d=H,I=yi(y,_,k,I)),H=I,H===e){for(H=i,I=i,z=[],B=pt();B!==e;)z.push(B),B=pt();if(z!==e?I=t.substring(I,i):I=z,I!==e){if(z=i,B=[],Y=sr(),Y!==e)for(;Y!==e;)B.push(Y),Y=sr();else B=e;B!==e?z=t.substring(z,i):z=B,z!==e?(d=H,I=rn(y,_,k,I,z),H=I):(i=H,H=e)}else i=H,H=e}for(;H!==e;)if(j.push(H),H=i,I=ti(),I===e&&(I=Ts(),I===e&&(I=ll(),I===e&&(I=Ps(),I===e&&(I=Is(),I===e&&(I=pl(),I===e&&(I=Os(),I===e&&(I=ul(),I===e&&(I=cl(),I===e&&(I=hl(),I===e&&(I=dl(),I===e&&(I=Fs(),I===e&&(I=fl(),I===e&&(I=Ds()))))))))))))),I!==e&&(d=H,I=yi(y,_,k,I)),H=I,H===e){for(H=i,I=i,z=[],B=pt();B!==e;)z.push(B),B=pt();if(z!==e?I=t.substring(I,i):I=z,I!==e){if(z=i,B=[],Y=sr(),Y!==e)for(;Y!==e;)B.push(Y),Y=sr();else B=e;B!==e?z=t.substring(z,i):z=B,z!==e?(d=H,I=rn(y,_,k,I,z),H=I):(i=H,H=e)}else i=H,H=e}j!==e?(H=i,I=ke(),I!==e?H=t.substring(H,i):H=I,H!==e?(I=i,z=vn(),z!==e?(B=Xt(),B!==e?(d=i,Y=gn(y,_,k,j,H,B),Y?Y=void 0:Y=e,Y!==e?(pe=nn(),pe===e&&(pe=null),pe!==e?(d=I,z=Kn(y,_,k,j,H,B),I=z):(i=I,I=e)):(i=I,I=e)):(i=I,I=e)):(i=I,I=e),I!==e?(d=i,z=Hn(y,_,k,j,H,I),z?z=void 0:z=e,z!==e?(d=u,y=Go(y,_,k,j,H,I),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function yg(){var u,y,x;if(u=i,y=[],x=sr(),x!==e)for(;x!==e;)y.push(x),x=sr();else y=e;return y!==e&&(d=u,y=Ko()),u=y,u}function HA(){var u,y,x,_;if(u=i,y=[],x=i,_=Kr(),_!==e&&(d=x,_=Ea()),x=_,x===e){if(x=[],Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn)),_!==e)for(;_!==e;)x.push(_),Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn));else x=e;x===e&&(x=sr())}if(x!==e){for(;x!==e;)if(y.push(x),x=i,_=Kr(),_!==e&&(d=x,_=Ea()),x=_,x===e){if(x=[],Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn)),_!==e)for(;_!==e;)x.push(_),Wn.test(t.charAt(i))?(_=t.charAt(i),i++):(_=e,p===0&&te(Jn));else x=e;x===e&&(x=sr())}}else y=e;return y!==e&&(d=u,y=Wo(y)),u=y,u}function Fs(){var u,y,x,_,P,k,j,H,I,z,B,Y;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=i,p++,_=Ji(),p--,_===e?x=void 0:(i=x,x=e),x!==e)if(_=bn(),_!==e)if(P=ke(),P!==e)if(k=Kr(),k===e&&(k=null),k!==e)if(d=i,j=Sa(y,_),j?j=void 0:j=e,j!==e){for(H=i,I=[],z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(d=u,y=Ta(y,_,H),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function fl(){var u,y,x,_,P,k,j,H,I;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(x=i,p++,_=Ji(),p--,_===e?x=void 0:(i=x,x=e),x!==e?(_=bn(),_!==e?(P=ke(),P!==e?(k=Kr(),k===e&&(k=null),k!==e?(d=i,j=vi(y,_),j?j=void 0:j=e,j!==e?(d=i,H=ks(y,_),H?H=void 0:H=e,H!==e?(I=ol(),I!==e?(d=u,y=Ce(y,_,I),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function Ds(){var u,y,x,_,P,k,j,H,I,z,B;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=i,p++,_=Ji(),p--,_===e?x=void 0:(i=x,x=e),x!==e)if(_=bn(),_!==e)if(P=ke(),P!==e)if(k=Kr(),k===e&&(k=og()),k!==e){for(j=i,H=[],I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);I!==e;)H.push(I),I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);H!==e?j=t.substring(j,i):j=H,j!==e?(d=u,y=at(y,_,k,j),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function vg(){var u,y,x,_,P,k,j,H,I,z,B;for(u=i,y=[],x=ri();x!==e;)y.push(x),x=ri();if(y!==e)if(x=Zt(),x!==e){if(_=[],P=i,k=ke(),k!==e)if(t.substr(i,2)===Et?(j=Et,i+=2):(j=e,p===0&&te(Er)),j!==e)if(H=ke(),H!==e){if(I=[],z=ri(),z!==e)for(;z!==e;)I.push(z),z=ri();else I=e;I!==e?(z=ke(),z!==e?(B=Zt(),B!==e?(d=P,k=dr(y,I),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;else i=P,P=e;for(;P!==e;)if(_.push(P),P=i,k=ke(),k!==e)if(t.substr(i,2)===Et?(j=Et,i+=2):(j=e,p===0&&te(Er)),j!==e)if(H=ke(),H!==e){if(I=[],z=ri(),z!==e)for(;z!==e;)I.push(z),z=ri();else I=e;I!==e?(z=ke(),z!==e?(B=Zt(),B!==e?(d=P,k=dr(y,I),P=k):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)}else i=P,P=e;else i=P,P=e;else i=P,P=e;_!==e?(d=u,y=ac(y,_),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;return u}function wc(){var u,y,x,_;if(u=i,y=[],x=wi(),x!==e)for(;x!==e;)y.push(x),x=wi();else y=e;return y!==e?(x=ke(),x!==e?(_=qr(),_!==e?(d=u,y=Ge(y),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function bg(){var u,y,x,_,P,k,j,H,I,z;if(u=i,y=ke(),y!==e)if(t.charCodeAt(i)===58?(x=ve,i++):(x=e,p===0&&te(_e)),x!==e)if(_=Ra(),_!==e){if(P=[],k=pt(),k!==e)for(;k!==e;)P.push(k),k=pt();else P=e;if(P!==e){if(k=i,j=[],H=i,I=i,p++,z=qr(),p--,z===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,p===0&&te(A)),z!==e?(I=[I,z],H=I):(i=H,H=e)):(i=H,H=e),H!==e)for(;H!==e;)j.push(H),H=i,I=i,p++,z=qr(),p--,z===e?I=void 0:(i=I,I=e),I!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,p===0&&te(A)),z!==e?(I=[I,z],H=I):(i=H,H=e)):(i=H,H=e);else j=e;j!==e?k=t.substring(k,i):k=j,k!==e?(j=qr(),j!==e?(d=u,y=Oi(_,k),u=y):(i=u,u=e)):(i=u,u=e)}else i=u,u=e}else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function $c(){var u,y,x,_,P,k,j,H,I;if(u=i,t.charCodeAt(i)===61?(y=W,i++):(y=e,p===0&&te(J)),y!==e){if(x=[],_=pt(),_!==e)for(;_!==e;)x.push(_),_=pt();else x=e;if(x!==e){if(_=wc(),_===e){for(_=i,P=i,k=[],j=i,H=i,p++,I=qr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,p===0&&te(A)),I!==e?(H=[H,I],j=H):(i=j,j=e)):(i=j,j=e);j!==e;)k.push(j),j=i,H=i,p++,I=qr(),p--,I===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,p===0&&te(A)),I!==e?(H=[H,I],j=H):(i=j,j=e)):(i=j,j=e);k!==e?P=t.substring(P,i):P=k,P!==e?(k=qr(),k!==e?(d=_,P=me(P),_=P):(i=_,_=e)):(i=_,_=e)}_!==e?(d=u,y=Jo(_),u=y):(i=u,u=e)}else i=u,u=e}else i=u,u=e;return u}function ul(){var u,y,x,_,P,k,j;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(t.substr(i,4)===Pa?(x=Pa,i+=4):(x=e,p===0&&te(Qo)),x!==e){if(_=[],P=pt(),P!==e)for(;P!==e;)_.push(P),P=pt();else _=e;if(_!==e)if(P=wc(),P===e&&(P=bg()),P!==e){for(k=[],j=$c();j!==e;)k.push(j),j=$c();k!==e?(d=u,y=Zo(y,P,k),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e}else i=u,u=e;else i=u,u=e;return u}function cl(){var u,y,x,_,P,k,j;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(t.substr(i,6)===Ct?(x=Ct,i+=6):(x=e,p===0&&te(st)),x!==e?(_=ke(),_!==e?(P=i,k=Ra(),k!==e?P=t.substring(P,i):P=k,P!==e?(k=ke(),k!==e?(j=vg(),j!==e?(d=u,y=Xo(y,x,P,j),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function hl(){var u,y,x,_,P,k,j,H;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(t.substr(i,7)===nt?(x=nt,i+=7):(x=e,p===0&&te(ne)),x!==e?(_=ke(),_!==e?(P=i,k=i,Yo.test(t.charAt(i))?(j=t.charAt(i),i++):(j=e,p===0&&te(el)),j!==e?(t.substr(i,2)===Fa?(H=Fa,i+=2):(H=e,p===0&&te(tl)),H!==e?(j=[j,H],k=j):(i=k,k=e)):(i=k,k=e),k===e&&(k=Xt()),k!==e?P=t.substring(P,i):P=k,P!==e?(k=ke(),k!==e?(j=Qi(),j!==e?(d=u,y=rl(y,x,P,j),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function dl(){var u,y,x,_,P;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(t.substr(i,9)===Da?(x=Da,i+=9):(x=e,p===0&&te(il)),x!==e?(_=ke(),_!==e?(P=Qi(),P!==e?(d=u,y=nl(y,x,P),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function Is(){var u,y,x,_,P,k,j,H,I,z,B,Y;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Oa(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e)if(d=i,j=sl(y,x,_,k),j?j=void 0:j=e,j!==e){for(H=i,I=[],z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);z!==e;)I.push(z),z=i,B=i,p++,Y=Kr(),p--,Y===e?B=void 0:(i=B,B=e),B!==e?(Y=sr(),Y!==e?(B=[B,Y],z=B):(i=z,z=e)):(i=z,z=e);I!==e?H=t.substring(H,i):H=I,H!==e?(d=u,y=Qn(y,x,_,k,H),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function pl(){var u,y,x,_,P,k,j,H,I;return u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e?(x=Oa(),x!==e?(_=Xt(),_!==e?(P=ke(),P!==e?(k=Qi(),k!==e?(d=i,j=Cs(y,x,_,k),j?j=void 0:j=e,j!==e?(d=i,H=m(y,x,_,k),H?H=void 0:H=e,H!==e?(I=ol(),I!==e?(d=u,y=C(y,x,_,k,I),u=y):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e)):(i=u,u=e),u}function Os(){var u,y,x,_,P,k,j,H,I,z,B;if(u=i,y=i,x=ke(),x!==e?y=t.substring(y,i):y=x,y!==e)if(x=Oa(),x!==e)if(_=Xt(),_!==e)if(P=ke(),P!==e)if(k=Qi(),k!==e){for(j=i,H=[],I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);I!==e;)H.push(I),I=i,z=i,p++,B=Kr(),p--,B===e?z=void 0:(i=z,z=e),z!==e?(B=sr(),B!==e?(z=[z,B],I=z):(i=I,I=e)):(i=I,I=e);H!==e?j=t.substring(j,i):j=H,j!==e?(d=u,y=F(y,x,_,k,j),u=y):(i=u,u=e)}else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;else i=u,u=e;return u}function Ra(){var u,y,x,_,P;if(u=i,y=i,S.test(t.charAt(i))?(x=t.charAt(i),i++):(x=e,p===0&&te(D)),x!==e){for(_=[],ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));P!==e;)_.push(P),ui.test(t.charAt(i))?(P=t.charAt(i),i++):(P=e,p===0&&te(Qr));_!==e?(x=[x,_],y=x):(i=y,y=e)}else i=y,y=e;return y!==e?u=t.substring(u,i):u=y,u}function GA(){var u,y;for(p++,u=[],M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));y!==e;)u.push(y),M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));return p--,u===e&&(y=e,p===0&&te(q)),u}function KA(){var u,y;for(p++,u=[],M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));y!==e;)u.push(y),M.test(t.charAt(i))?(y=t.charAt(i),i++):(y=e,p===0&&te(X));return p--,u===e&&(y=e,p===0&&te(c)),u}function Na(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function wg(u){return u===u.toUpperCase()}function sn(u){return u.reduce((y,x)=>Array.isArray(x)?y.concat(sn(x)):y.concat(x),[])}function $g(u){return typeof u=="number"?"number":typeof u=="boolean"?"boolean":"string"}function ml(u,y,x,_){if(!u||!Array.isArray(u.diagnostics))return;u.diagnostics.some(k=>k.message===y&&k.location.start.offset===x.start.offset)||u.diagnostics.push({severity:"warning",code:_||"value-unreadable",message:y,location:x})}function Ac(u){return u.filter(y=>!y.dropped)}function Ag(){return n&&n.blockNames||["boundary","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","set","table","toc"]}function xg(u){return Ag().includes(u)||wg(u)||u.match(/^(head|item)\d+$/)||Na(u)}function kg(u,y){return u.length==0?y:y.indexOf(u)==0?y.replace(u,""):y.replace(/^\s+/,"")}if(O=o(),O!==e&&i===t.length)return O;throw O!==e&&i<t.length&&te(ng()),lc($,g<t.length?t.charAt(g):null,g<t.length?_s(g,g+1):_s(g,g))}Xd.exports={SyntaxError:Dn,parse:Nb}});var rp=Ee((_k,tp)=>{"use strict";function Mb(t,n){function e(){this.constructor=t}e.prototype=n.prototype,t.prototype=new e}function In(t,n,e,s){this.message=t,this.expected=n,this.found=e,this.location=s,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,In)}Mb(In,Error);In.buildMessage=function(t,n){var e={literal:function(A){return'"'+o(A.text)+'"'},class:function(A){var w="",T;for(T=0;T<A.parts.length;T++)w+=A.parts[T]instanceof Array?f(A.parts[T][0])+"-"+f(A.parts[T][1]):f(A.parts[T]);return"["+(A.inverted?"^":"")+w+"]"},any:function(A){return"any character"},end:function(A){return"end of input"},other:function(A){return A.description}};function s(A){return A.charCodeAt(0).toString(16).toUpperCase()}function o(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function f(A){return A.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(w){return"\\x0"+s(w)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(w){return"\\x"+s(w)})}function h(A){return e[A.type](A)}function v(A){var w=new Array(A.length),T,N;for(T=0;T<A.length;T++)w[T]=h(A[T]);if(w.sort(),w.length>0){for(T=1,N=1;T<w.length;T++)w[T-1]!==w[T]&&(w[N]=w[T],N++);w.length=N}switch(w.length){case 1:return w[0];case 2:return w[0]+" or "+w[1];default:return w.slice(0,-1).join(", ")+", or "+w[w.length-1]}}function b(A){return A?'"'+o(A)+'"':"end of input"}return"Expected "+v(t)+" but "+b(n)+" found."};function zb(t,n){n=n!==void 0?n:{};var e={},s={Expression:$a},o=$a,f="A",h=Ue("A",!1),v="V",b=Ue("V",!1),A="R",w=Ue("R",!1),T="B",N=Ue("B",!1),R="I",L=Ue("I",!1),V="C",G=Ue("C",!1),K="D",re=Ue("D",!1),ce="E",xe=Ue("E",!1),ye="F",le=Ue("F",!1),de="G",Te=Ue("G",!1),Ae="H",Ze=Ue("H",!1),qe="J",ze=Ue("J",!1),we="K",Re=Ue("K",!1),nt="L",ne=Ue("L",!1),Ct="O",st=Ue("O",!1),_t="S",ct=Ue("S",!1),W="T",J=Ue("T",!1),xr="U",Ht=Ue("U",!1),Ft="W",zt=Ue("W",!1),Rt="Z",mt=Ue("Z",!1),kr="N",Gt=Ue("N",!1),fr="X",Br=Ue("X",!1),fi=/^[a-zA-Z]/,ur=Or([["a","z"],["A","Z"]],!1,!1),ui=/^[a-zA-Z0-9_\-]/,Qr=Or([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ti=/^[ \t\f]/,Pi=Or([" "," ","\f"],!1,!1),ji=function(m){return!(n.allowed||[]).length||(n.allowed||[]).includes(m)},fe=gn(),tr=function(m){return{content:m.content,type:"fcode",name:m.name,synonyms:m.items}},Bi=function(m){return{content:m.content,type:"fcode",name:m.name,entry:m.items}},$e="<",ve=Ue("<",!1),_e=">",Se=Ue(">",!1),jt=function(){return Ir()},Z="\xAB",ie=Ue("\xAB",!1),ue="\xBB",he=Ue("\xBB",!1),gt=function(m){return m},Kt="|",ht=Ue("|",!1),St=function(m){return m},Nt=function(m){return m.code==="L"||m.code==="W"},Zr=function(m,C,F){return F},wt=function(m,C,F,S){return S===m.end_tag},Fi=function(m,C,F,S){return{content:C,type:"fcode",name:m.code,meta:F}},Qt=";",Vi=Ue(";",!1),vs=/^[ \xA0\u2001\t\f\u2008]/,Di=Or([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Bn=function(m,C){return Qn([m,C])},Ii=function(m){return[m]},Ui=/^[0-9]/,Xr=Or([["0","9"]],!1,!1),ci="0d",bs=Ue("0d",!1),Vn=function(m){return parseInt(m,10)},Un="0o",pn=Ue("0o",!1),Q=function(m){return parseInt(m,8)},U="0b",ee=Ue("0b",!1),se=function(m){return parseInt(m,2)},ae="0x",be=Ue("0x",!1),Ie=/^[0-9A-Fa-f]/,Me=Or([["0","9"],["A","F"],["a","f"]],!1,!1),Ke=function(){return parseInt(Ir())},dt=/^[A-Z ]/,Le=Or([["A","Z"]," "],!1,!1),ot=function(){return Ir()===Ir().toUpperCase()},yt=/^[a-z]/,lt=Or([["a","z"]],!1,!1),Xe=/^[a-z0-9]/,vt=Or([["a","z"],["0","9"]],!1,!1),We=function(m){return Ir()},rr=function(m){return{type:"number",value:parseInt(m,10)}},ir=function(m){return{type:"unicode_name",value:m}},Dt=function(m){return{type:"html_named",value:m}},Je=function(m){return m==="E"},nr=function(m,C){return Qn(C)},cr=function(m,C){return{content:C||[],type:"fcode",name:m}},Cr=function(m){return m},Yr=function(m,C){return{code:m,begin_tag:C,end_tag:Cs(C)}},Wt=function(m){return!(n.allowed||[]).length||(n.allowed||[]).includes(m)},Vr=function(m,C,F,S){return S===Cs(C)},hi=function(m,C,F,S){return{content:F,type:"fcode",name:m}},Hi=function(m,C,F,S){return Qn(S)},di=function(m,C,F,S,D){return D===Cs(C)},pi=function(m,C,F,S,D){return{name:m,content:F,items:S}},hr=function(m){return m==="C"},dr="<<<",en=Ue("<<<",!1),Ne=">>>",It=Ue(">>>",!1),De=function(m,C){return C},mi=function(m,C){return{content:C,type:"fcode",name:m}},_r="<<",Ur=Ue("<<",!1),Ve=">>",kt=Ue(">>",!1),Gi=function(m){return m!=="C"},Ki=function(m,C){return{content:C,type:"fcode",name:m}},r=0,oe=0,Hr=[{line:1,column:1}],pr=0,gi=[],l=0,mn;if("startRule"in n){if(!(n.startRule in s))throw new Error(`Can't start parsing from rule "`+n.startRule+'".');o=s[n.startRule]}function Ir(){return t.substring(oe,r)}function tn(){return Wi(oe,r)}function ws(m,C){throw C=C!==void 0?C:Wi(oe,r),wa([Hn(m)],t.substring(oe,r),C)}function ya(m,C){throw C=C!==void 0?C:Wi(oe,r),ba(m,C)}function Ue(m,C){return{type:"literal",text:m,ignoreCase:C}}function Or(m,C,F){return{type:"class",parts:m,inverted:C,ignoreCase:F}}function gn(){return{type:"any"}}function va(){return{type:"end"}}function Hn(m){return{type:"other",description:m}}function $s(m){var C=Hr[m],F;if(C)return C;for(F=m-1;!Hr[F];)F--;for(C=Hr[F],C={line:C.line,column:C.column};F<m;)t.charCodeAt(F)===10?(C.line++,C.column=1):C.column++,F++;return Hr[m]=C,C}function Wi(m,C){var F=$s(m),S=$s(C);return{start:{offset:m,line:F.line,column:F.column},end:{offset:C,line:S.line,column:S.column}}}function E(m){r<pr||(r>pr&&(pr=r,gi=[]),gi.push(m))}function ba(m,C){return new In(m,null,null,C)}function wa(m,C,F){return new In(In.buildMessage(m,C),m,C,F)}function $a(){var m,C;for(m=[],C=ei(),C===e&&(C=Er(),C===e&&(C=Ge(),C===e&&(C=As())));C!==e;)m.push(C),C=ei(),C===e&&(C=Er(),C===e&&(C=Ge(),C===e&&(C=As())));return m}function ei(){var m;return m=Jo(),m===e&&(m=Qo(),m===e&&(m=xs(),m===e&&(m=ka(),m===e&&(m=vi(),m===e&&(m=Pa(),m===e&&(m=Ho(),m===e&&(m=Uo(),m===e&&(m=Zo())))))))),m}function jo(){var m;return t.charCodeAt(r)===65?(m=f,r++):(m=e,l===0&&E(h)),m===e&&(t.charCodeAt(r)===86?(m=v,r++):(m=e,l===0&&E(b)),m===e&&(t.charCodeAt(r)===82?(m=A,r++):(m=e,l===0&&E(w)),m===e&&(t.charCodeAt(r)===66?(m=T,r++):(m=e,l===0&&E(N)),m===e&&(t.charCodeAt(r)===73?(m=R,r++):(m=e,l===0&&E(L)),m===e&&(t.charCodeAt(r)===67?(m=V,r++):(m=e,l===0&&E(G)),m===e&&(t.charCodeAt(r)===68?(m=K,r++):(m=e,l===0&&E(re)),m===e&&(t.charCodeAt(r)===69?(m=ce,r++):(m=e,l===0&&E(xe)),m===e&&(t.charCodeAt(r)===70?(m=ye,r++):(m=e,l===0&&E(le)),m===e&&(t.charCodeAt(r)===71?(m=de,r++):(m=e,l===0&&E(Te)),m===e&&(t.charCodeAt(r)===72?(m=Ae,r++):(m=e,l===0&&E(Ze)),m===e&&(t.charCodeAt(r)===74?(m=qe,r++):(m=e,l===0&&E(ze)),m===e&&(t.charCodeAt(r)===75?(m=we,r++):(m=e,l===0&&E(Re)),m===e&&(t.charCodeAt(r)===76?(m=nt,r++):(m=e,l===0&&E(ne)),m===e&&(t.charCodeAt(r)===79?(m=Ct,r++):(m=e,l===0&&E(st)),m===e&&(t.charCodeAt(r)===83?(m=_t,r++):(m=e,l===0&&E(ct)),m===e&&(t.charCodeAt(r)===84?(m=W,r++):(m=e,l===0&&E(J)),m===e&&(t.charCodeAt(r)===85?(m=xr,r++):(m=e,l===0&&E(Ht)),m===e&&(t.charCodeAt(r)===87?(m=Ft,r++):(m=e,l===0&&E(zt)),m===e&&(t.charCodeAt(r)===90?(m=Rt,r++):(m=e,l===0&&E(mt)),m===e&&(t.charCodeAt(r)===78?(m=kr,r++):(m=e,l===0&&E(Gt)),m===e&&(t.charCodeAt(r)===88?(m=fr,r++):(m=e,l===0&&E(Br))))))))))))))))))))))),m}function sc(){var m,C,F,S,D;if(m=r,C=r,fi.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&E(ur)),F!==e){for(S=[],ui.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&E(Qr));D!==e;)S.push(D),ui.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&E(Qr));S!==e?(F=[F,S],C=F):(r=C,C=e)}else r=C,C=e;return C!==e?m=t.substring(m,r):m=C,m}function Gn(){var m,C;for(m=[],Ti.test(t.charAt(r))?(C=t.charAt(r),r++):(C=e,l===0&&E(Pi));C!==e;)m.push(C),Ti.test(t.charAt(r))?(C=t.charAt(r),r++):(C=e,l===0&&E(Pi));return m}function Jt(){var m,C,F;return m=r,C=jo(),C!==e?(oe=r,F=ji(C),F?F=void 0:F=e,F!==e?(C=[C,F],m=C):(r=m,m=e)):(r=m,m=e),m}function As(){var m,C;return m=r,t.length>r?(C=t.charAt(r),r++):(C=e,l===0&&E(fe)),C!==e?m=t.substring(m,r):m=C,m}function Aa(){var m,C,F,S,D;for(m=r,C=[],F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);F!==e;)C.push(F),F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);return C!==e?m=t.substring(m,r):m=C,m}function Bo(){var m,C,F;if(m=r,C=[],F=He(),F!==e)for(;F!==e;)C.push(F),F=He();else C=e;return C!==e?m=t.substring(m,r):m=C,m}function xa(){var m,C;if(m=[],C=Gr(),C!==e)for(;C!==e;)m.push(C),C=Gr();else m=e;return m}function Vo(){var m,C;for(m=[],C=Gr();C!==e;)m.push(C),C=Gr();return m}function ka(){var m,C;return m=r,C=Xo(),C!==e&&(oe=m,C=tr(C)),m=C,m}function Uo(){var m,C;return m=r,C=Yo(),C!==e&&(oe=m,C=Bi(C)),m=C,m}function Ca(){var m;return t.charCodeAt(r)===66?(m=T,r++):(m=e,l===0&&E(N)),m}function Bt(){var m,C,F,S,D;return m=r,C=r,F=r,l++,S=Ca(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===62?(D=_e,r++):(D=e,l===0&&E(Se)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=r,F=r,l++,S=Ca(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===171?(F=Z,r++):(F=e,l===0&&E(ie)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===187?(D=ue,r++):(D=e,l===0&&E(he)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)),m}function He(){var m,C,F,S,D,q,M,X;if(m=r,C=r,F=[],S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=Bt(),S===e&&(S=Oi()))),S!==e)for(;S!==e;)F.push(S),S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(t.length>r?(M=t.charAt(r),r++):(M=e,l===0&&E(fe)),M!==e?(q=[q,M],D=q):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=He(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=Bt(),S===e&&(S=Oi())));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=gt(C)),m=C,m}function xs(){var m;return m=el(),m===e&&(m=Fa(),m===e&&(m=tl(),m===e&&(m=rl()))),m}function yn(){var m;return t.charCodeAt(r)===124?(m=Kt,r++):(m=e,l===0&&E(ht)),m}function Gr(){var m,C,F,S,D,q,M,X,c;if(m=r,C=r,F=[],S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=Gr(),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=Gr(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,l++,q=yn(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Et(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=ks(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(X=r,l++,c=me(),l--,c===e?X=void 0:(r=X,X=e),X!==e?(t.length>r?(c=t.charAt(r),r++):(c=e,l===0&&E(fe)),c!==e?(D=[D,q,M,X,c],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e))),S!==e)for(;S!==e;)F.push(S),S=r,D=r,q=r,l++,t.charCodeAt(r)===60?(M=$e,r++):(M=e,l===0&&E(ve)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D!==e?(t.charCodeAt(r)===60?(q=$e,r++):(q=e,l===0&&E(ve)),q!==e?(M=Gr(),M!==e?(t.charCodeAt(r)===62?(X=_e,r++):(X=e,l===0&&E(Se)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,q=r,l++,t.charCodeAt(r)===171?(M=Z,r++):(M=e,l===0&&E(ie)),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=Jt(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(q=[q,M,X],D=q):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(r)===171?(q=Z,r++):(q=e,l===0&&E(ie)),q!==e?(M=Gr(),M===e&&(M=null),M!==e?(t.charCodeAt(r)===187?(X=ue,r++):(X=e,l===0&&E(he)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,D=r,l++,q=yn(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Et(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=ks(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(X=r,l++,c=me(),l--,c===e?X=void 0:(r=X,X=e),X!==e?(t.length>r?(c=t.charAt(r),r++):(c=e,l===0&&E(fe)),c!==e?(D=[D,q,M,X,c],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=St(C)),m=C,m}function Ho(){var m,C,F,S,D,q,M,X,c,i,d;if(m=r,C=Ce(),C!==e)if(oe=r,F=Nt(C),F?F=void 0:F=e,F!==e){if(S=[],D=xs(),D===e&&(D=Er(),D===e&&(D=Gr())),D!==e)for(;D!==e;)S.push(D),D=xs(),D===e&&(D=Er(),D===e&&(D=Gr()));else S=e;if(S!==e){if(D=r,q=yn(),q!==e){for(M=r,X=[],c=r,i=r,l++,d=Et(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(t.length>r?(d=t.charAt(r),r++):(d=e,l===0&&E(fe)),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e);c!==e;)X.push(c),c=r,i=r,l++,d=Et(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(t.length>r?(d=t.charAt(r),r++):(d=e,l===0&&E(fe)),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e);X!==e?M=t.substring(M,r):M=X,M!==e?(oe=D,q=Zr(C,S,M),D=q):(r=D,D=e)}else r=D,D=e;D===e&&(D=null),D!==e?(q=Et(),q!==e?(oe=r,M=wt(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=Fi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)}else r=m,m=e}else r=m,m=e;else r=m,m=e;return m}function _a(){var m,C,F,S,D,q;if(m=r,C=[],F=r,S=r,l++,t.charCodeAt(r)===59?(D=Qt,r++):(D=e,l===0&&E(Vi)),l--,D===e?S=void 0:(r=S,S=e),S!==e?(D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(q=t.charAt(r),r++):(q=e,l===0&&E(fe)),q!==e?(S=[S,D,q],F=S):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F!==e)for(;F!==e;)C.push(F),F=r,S=r,l++,t.charCodeAt(r)===59?(D=Qt,r++):(D=e,l===0&&E(Vi)),l--,D===e?S=void 0:(r=S,S=e),S!==e?(D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(q=t.charAt(r),r++):(q=e,l===0&&E(fe)),q!==e?(S=[S,D,q],F=S):(r=F,F=e)):(r=F,F=e)):(r=F,F=e);else C=e;return C!==e?m=t.substring(m,r):m=C,m}function yi(){var m;return vs.test(t.charAt(r))?(m=t.charAt(r),r++):(m=e,l===0&&E(Di)),m}function rn(){var m,C,F,S,D,q;if(m=r,C=_a(),C!==e){for(F=[],S=yi();S!==e;)F.push(S),S=yi();if(F!==e)if(t.charCodeAt(r)===59?(S=Qt,r++):(S=e,l===0&&E(Vi)),S!==e){for(D=[],q=yi();q!==e;)D.push(q),q=yi();D!==e?(q=rn(),q!==e?(oe=m,C=Bn(C,q),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e}else r=m,m=e;return m===e&&(m=r,C=_a(),C!==e&&(oe=m,C=Ii(C)),m=C),m}function Kn(){var m,C,F;if(m=r,C=[],Ui.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&E(Xr)),F!==e)for(;F!==e;)C.push(F),Ui.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&E(Xr));else C=e;return C!==e?m=t.substring(m,r):m=C,m}function Go(){var m,C,F;return m=r,t.substr(r,2)===ci?(C=ci,r+=2):(C=e,l===0&&E(bs)),C!==e?(F=Kn(),F!==e?(oe=m,C=Vn(F),m=C):(r=m,m=e)):(r=m,m=e),m}function Ko(){var m,C,F;return m=r,t.substr(r,2)===Un?(C=Un,r+=2):(C=e,l===0&&E(pn)),C!==e?(F=Kn(),F!==e?(oe=m,C=Q(F),m=C):(r=m,m=e)):(r=m,m=e),m}function Ea(){var m,C,F;return m=r,t.substr(r,2)===U?(C=U,r+=2):(C=e,l===0&&E(ee)),C!==e?(F=Kn(),F!==e?(oe=m,C=se(F),m=C):(r=m,m=e)):(r=m,m=e),m}function Wn(){var m,C,F,S,D,q;if(m=r,C=r,F=r,t.substr(r,2)===ae?(S=ae,r+=2):(S=e,l===0&&E(be)),S!==e){if(D=[],Ie.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(Me)),q!==e)for(;q!==e;)D.push(q),Ie.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(Me));else D=e;D!==e?(S=[S,D],F=S):(r=F,F=e)}else r=F,F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=Ke()),m=C,m}function Jn(){var m,C,F,S;if(m=r,C=r,F=[],dt.test(t.charAt(r))?(S=t.charAt(r),r++):(S=e,l===0&&E(Le)),S!==e)for(;S!==e;)F.push(S),dt.test(t.charAt(r))?(S=t.charAt(r),r++):(S=e,l===0&&E(Le));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=ot(),F?F=void 0:F=e,F!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e),m}function Wo(){var m,C,F,S,D,q;if(m=r,C=r,F=r,yt.test(t.charAt(r))?(S=t.charAt(r),r++):(S=e,l===0&&E(lt)),S!==e){if(D=[],Xe.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(vt)),q!==e)for(;q!==e;)D.push(q),Xe.test(t.charAt(r))?(q=t.charAt(r),r++):(q=e,l===0&&E(vt));else D=e;D!==e?(S=[S,D],F=S):(r=F,F=e)}else r=F,F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=We(C)),m=C,m}function Sa(){var m,C,F;return m=r,C=Gn(),C!==e?(F=Ko(),F===e&&(F=Go(),F===e&&(F=Ea(),F===e&&(F=Wn(),F===e&&(F=Kn())))),F!==e?(oe=m,C=rr(F),m=C):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=Gn(),C!==e?(F=Jn(),F!==e?(oe=m,C=ir(F),m=C):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=Gn(),C!==e?(F=Wo(),F!==e?(oe=m,C=Dt(F),m=C):(r=m,m=e)):(r=m,m=e))),m}function Ta(){var m,C,F,S,D,q;if(m=r,C=Sa(),C!==e){for(F=[],S=yi();S!==e;)F.push(S),S=yi();if(F!==e)if(t.charCodeAt(r)===59?(S=Qt,r++):(S=e,l===0&&E(Vi)),S!==e){for(D=[],q=yi();q!==e;)D.push(q),q=yi();D!==e?(q=Ta(),q!==e?(oe=m,C=Bn(C,q),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e}else r=m,m=e;return m===e&&(m=r,C=Sa(),C!==e&&(oe=m,C=Ii(C)),m=C),m}function vi(){var m,C,F,S,D;return m=r,C=ks(),C!==e?(oe=r,F=Je(C),F?F=void 0:F=e,F!==e?(S=r,D=Ta(),D!==e&&(oe=S,D=nr(C,D)),S=D,S===e&&(S=null),S!==e?(D=Et(),D!==e?(oe=m,C=cr(C,S),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function ks(){var m,C,F;return m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F!==e?(oe=m,C=Cr(C),m=C):(r=m,m=e)):(r=m,m=e),m}function Ce(){var m,C,F,S;return m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e?(F=r,t.charCodeAt(r)===60?(S=$e,r++):(S=e,l===0&&E(ve)),S===e&&(t.charCodeAt(r)===171?(S=Z,r++):(S=e,l===0&&E(ie))),S!==e?F=t.substring(F,r):F=S,F!==e?(oe=m,C=Yr(C,F),m=C):(r=m,m=e)):(r=m,m=e),m}function at(){var m,C,F;return m=r,t.charCodeAt(r)===69?(C=ce,r++):(C=e,l===0&&E(xe)),C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F===e&&(t.charCodeAt(r)===171?(F=Z,r++):(F=e,l===0&&E(ie))),F!==e?(C=[C,F],m=C):(r=m,m=e)):(r=m,m=e),m}function Et(){var m;return t.charCodeAt(r)===62?(m=_e,r++):(m=e,l===0&&E(Se)),m===e&&(t.charCodeAt(r)===187?(m=ue,r++):(m=e,l===0&&E(he))),m}function Er(){var m;return m=Da(),m===e&&(m=il(),m===e&&(m=nl(),m===e&&(m=sl()))),m}function ac(){var m,C,F,S,D;for(m=r,C=[],F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);F!==e;)C.push(F),F=r,S=r,l++,D=Et(),l--,D===e?S=void 0:(r=S,S=e),S!==e?(t.length>r?(D=t.charAt(r),r++):(D=e,l===0&&E(fe)),D!==e?(S=[S,D],F=S):(r=F,F=e)):(r=F,F=e);return C!==e?m=t.substring(m,r):m=C,m}function Ge(){var m,C,F,S,D,q,M;if(m=r,C=r,F=[],S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===62?(M=_e,r++):(M=e,l===0&&E(Se)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===187?(M=ue,r++):(M=e,l===0&&E(he)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=me(),S===e&&(S=Oi()))),S!==e)for(;S!==e;)F.push(S),S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===62?(M=_e,r++):(M=e,l===0&&E(Se)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=r,t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie)),D!==e?(q=Ge(),q!==e?(t.charCodeAt(r)===187?(M=ue,r++):(M=e,l===0&&E(he)),M!==e?(D=[D,q,M],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S===e&&(S=me(),S===e&&(S=Oi())));else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=gt(C)),m=C,m}function Oi(){var m,C,F,S,D,q,M,X;if(m=r,C=r,F=[],S=r,D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Ce(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=me(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e),S!==e)for(;S!==e;)F.push(S),S=r,D=r,l++,q=Et(),l--,q===e?D=void 0:(r=D,D=e),D!==e?(q=r,l++,M=Ce(),l--,M===e?q=void 0:(r=q,q=e),q!==e?(M=r,l++,X=me(),l--,X===e?M=void 0:(r=M,M=e),M!==e?(t.length>r?(X=t.charAt(r),r++):(X=e,l===0&&E(fe)),X!==e?(D=[D,q,M,X],S=D):(r=S,S=e)):(r=S,S=e)):(r=S,S=e)):(r=S,S=e);else F=e;return F!==e?C=t.substring(C,r):C=F,C!==e&&(oe=m,C=gt(C)),m=C,m}function me(){var m,C,F,S,D;return m=r,C=r,F=r,l++,S=Jt(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===60?(F=$e,r++):(F=e,l===0&&E(ve)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===62?(D=_e,r++):(D=e,l===0&&E(Se)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m===e&&(m=r,C=r,F=r,l++,S=Jt(),l--,S===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(S=t.charAt(r),r++):(S=e,l===0&&E(fe)),S!==e?(F=[F,S],C=F):(r=C,C=e)):(r=C,C=e),C!==e?(t.charCodeAt(r)===171?(F=Z,r++):(F=e,l===0&&E(ie)),F!==e?(S=Oi(),S!==e?(t.charCodeAt(r)===187?(D=ue,r++):(D=e,l===0&&E(he)),D!==e?(oe=m,C=jt(),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)),m}function Jo(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===65?(F=f,r++):(F=e,l===0&&E(h)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Gr(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Pa(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===86?(F=v,r++):(F=e,l===0&&E(b)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Bo(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Qo(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===83?(F=_t,r++):(F=e,l===0&&E(ct)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Aa(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Zo(){var m,C,F,S,D,q,M;return m=r,C=r,t.charCodeAt(r)===90?(F=Rt,r++):(F=e,l===0&&E(mt)),F!==e?C=t.substring(C,r):C=F,C!==e?(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e?(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e?(D=Aa(),D!==e?(q=Et(),q!==e?(oe=r,M=Vr(C,S,D,q),M?M=void 0:M=e,M!==e?(oe=m,C=hi(C,S,D,q),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)):(r=m,m=e),m}function Xo(){var m,C,F,S,D,q,M,X,c;if(m=r,C=r,t.charCodeAt(r)===68?(F=K,r++):(F=e,l===0&&E(re)),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e)if(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e)if(D=xa(),D!==e){if(q=r,M=yn(),M!==e){for(X=[],c=rn();c!==e;)X.push(c),c=rn();X!==e?(oe=q,M=Hi(C,S,D,X),q=M):(r=q,q=e)}else r=q,q=e;q===e&&(q=null),q!==e?(M=Et(),M!==e?(oe=r,X=di(C,S,D,q,M),X?X=void 0:X=e,X!==e?(oe=m,C=pi(C,S,D,q,M),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Yo(){var m,C,F,S,D,q,M,X,c;if(m=r,C=r,t.charCodeAt(r)===88?(F=fr,r++):(F=e,l===0&&E(Br)),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Wt(C),F?F=void 0:F=e,F!==e)if(S=r,t.charCodeAt(r)===60?(D=$e,r++):(D=e,l===0&&E(ve)),D===e&&(t.charCodeAt(r)===171?(D=Z,r++):(D=e,l===0&&E(ie))),D!==e?S=t.substring(S,r):S=D,S!==e)if(D=Vo(),D!==e){if(q=r,M=yn(),M!==e){for(X=[],c=rn();c!==e;)X.push(c),c=rn();X!==e?(oe=q,M=Hi(C,S,D,X),q=M):(r=q,q=e)}else r=q,q=e;q===e&&(q=null),q!==e?(M=Et(),M!==e?(oe=r,X=di(C,S,D,q,M),X?X=void 0:X=e,X!==e?(oe=m,C=pi(C,S,D,q,M),m=C):(r=m,m=e)):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function el(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.substr(r,3)===dr?(S=dr,r+=3):(S=e,l===0&&E(en)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.substr(r,3)===Ne?(q=Ne,r+=3):(q=e,l===0&&E(It)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Fa(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.substr(r,2)===_r?(S=_r,r+=2):(S=e,l===0&&E(Ur)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.substr(r,2)===Ve?(q=Ve,r+=2):(q=e,l===0&&E(kt)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function tl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===60?(S=$e,r++):(S=e,l===0&&E(ve)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.charCodeAt(r)===62?(q=_e,r++):(q=e,l===0&&E(Se)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function rl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=hr(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===171?(S=Z,r++):(S=e,l===0&&E(ie)),S!==e){if(D=[],q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}if(q!==e){for(;q!==e;)if(D.push(q),q=vi(),q===e){if(q=r,M=r,X=[],c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,i=r,d=r,l++,t.charCodeAt(r)===60?(a=$e,r++):(a=e,l===0&&E(ve)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(a=r,l++,g=at(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&E(fe)),g!==e?(d=[d,a,g],i=d):(r=i,i=e)):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===60?(d=$e,r++):(d=e,l===0&&E(ve)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&E(Se)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,d=r,l++,t.charCodeAt(r)===171?(a=Z,r++):(a=e,l===0&&E(ie)),l--,a===e?d=void 0:(r=d,d=e),d!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&E(fe)),a!==e?(d=[d,a],i=d):(r=i,i=e)):(r=i,i=e),i===e&&(i=null),i!==e?(t.charCodeAt(r)===171?(d=Z,r++):(d=e,l===0&&E(ie)),d!==e?(a=He(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=ue,r++):(g=e,l===0&&E(he)),g!==e?(i=[i,d,a,g],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,i=r,l++,d=at(),l--,d===e?i=void 0:(r=i,i=e),i!==e?(d=Bt(),d!==e?(i=[i,d],c=i):(r=c,c=e)):(r=c,c=e),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}}else D=e;D!==e?(t.charCodeAt(r)===187?(q=ue,r++):(q=e,l===0&&E(he)),q!==e?(oe=m,C=mi(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Da(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.substr(r,3)===dr?(S=dr,r+=3):(S=e,l===0&&E(en)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,3)===Ne?($=Ne,r+=3):($=e,l===0&&E(It)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.substr(r,3)===Ne?(q=Ne,r+=3):(q=e,l===0&&E(It)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function il(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.substr(r,2)===_r?(S=_r,r+=2):(S=e,l===0&&E(Ur)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.substr(r,2)===Ve?($=Ve,r+=2):($=e,l===0&&E(kt)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.substr(r,2)===Ve?(q=Ve,r+=2):(q=e,l===0&&E(kt)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function nl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===60?(S=$e,r++):(S=e,l===0&&E(ve)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?($=_e,r++):($=e,l===0&&E(Se)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.charCodeAt(r)===62?(q=_e,r++):(q=e,l===0&&E(Se)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function sl(){var m,C,F,S,D,q,M,X,c,i,d,a,g,$,p,O;if(m=r,C=r,F=Jt(),F!==e?C=t.substring(C,r):C=F,C!==e)if(oe=r,F=Gi(C),F?F=void 0:F=e,F!==e)if(t.charCodeAt(r)===171?(S=Z,r++):(S=e,l===0&&E(ie)),S!==e){if(D=[],q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}for(;q!==e;)if(D.push(q),q=ei(),q===e&&(q=Er(),q===e)){if(q=r,M=r,X=[],c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}if(c!==e){for(;c!==e;)if(X.push(c),c=r,t.charCodeAt(r)===60?(i=$e,r++):(i=e,l===0&&E(ve)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&E(Se)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=r,t.charCodeAt(r)===171?(i=Z,r++):(i=e,l===0&&E(ie)),i!==e?(d=Ge(),d!==e?(t.charCodeAt(r)===187?(a=ue,r++):(a=e,l===0&&E(he)),a!==e?(i=[i,d,a],c=i):(r=c,c=e)):(r=c,c=e)):(r=c,c=e),c===e&&(c=me(),c===e))){if(c=r,i=r,d=[],a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)d.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?($=ue,r++):($=e,l===0&&E(he)),l--,$===e?g=void 0:(r=g,g=e),g!==e?($=r,l++,p=Ce(),l--,p===e?$=void 0:(r=$,$=e),$!==e?(p=r,l++,O=me(),l--,O===e?p=void 0:(r=p,p=e),p!==e?(t.length>r?(O=t.charAt(r),r++):(O=e,l===0&&E(fe)),O!==e?(g=[g,$,p,O],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else d=e;d!==e?i=t.substring(i,r):i=d,i!==e&&(oe=c,i=De(C,i)),c=i}}else X=e;X!==e?M=t.substring(M,r):M=X,M!==e&&(oe=q,M=De(C,M)),q=M}D!==e?(t.charCodeAt(r)===187?(q=ue,r++):(q=e,l===0&&E(he)),q!==e?(oe=m,C=Ki(C,D),m=C):(r=m,m=e)):(r=m,m=e)}else r=m,m=e;else r=m,m=e;else r=m,m=e;return m}function Qn(m){return m.reduce((C,F)=>Array.isArray(F)?C.concat(Qn(F)):C.concat(F),[])}function Cs(m){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[m]}if(mn=o(),mn!==e&&r===t.length)return mn;throw mn!==e&&r<t.length&&E(va()),wa(gi,pr<t.length?t.charAt(pr):null,pr<t.length?Wi(pr,pr+1):Wi(pr,pr))}tp.exports={SyntaxError:In,parse:zb}});var nu=Ee((pC,kp)=>{kp.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var Ip=Ee((mC,Dp)=>{"use strict";var $o=Object.prototype.hasOwnProperty,Fp=Object.prototype.toString,Cp=Object.defineProperty,_p=Object.getOwnPropertyDescriptor,Ep=function(n){return typeof Array.isArray=="function"?Array.isArray(n):Fp.call(n)==="[object Array]"},Sp=function(n){if(!n||Fp.call(n)!=="[object Object]")return!1;var e=$o.call(n,"constructor"),s=n.constructor&&n.constructor.prototype&&$o.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!e&&!s)return!1;var o;for(o in n);return typeof o>"u"||$o.call(n,o)},Tp=function(n,e){Cp&&e.name==="__proto__"?Cp(n,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):n[e.name]=e.newValue},Pp=function(n,e){if(e==="__proto__")if($o.call(n,e)){if(_p)return _p(n,e).value}else return;return n[e]};Dp.exports=function t(){var n,e,s,o,f,h,v=arguments[0],b=1,A=arguments.length,w=!1;for(typeof v=="boolean"&&(w=v,v=arguments[1]||{},b=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});b<A;++b)if(n=arguments[b],n!=null)for(e in n)s=Pp(v,e),o=Pp(n,e),v!==o&&(w&&o&&(Sp(o)||(f=Ep(o)))?(f?(f=!1,h=s&&Ep(s)?s:[]):h=s&&Sp(s)?s:{},Tp(v,{name:e,newValue:t(w,h,o)})):typeof o<"u"&&Tp(v,{name:e,newValue:o}));return v}});var MA={};xc(MA,{PluginRegister:()=>NA,default:()=>LA,parseMd:()=>Mo,plugin:()=>zo});module.exports=Pg(MA);var Ap=si(Td()),tw=si(Id());var Od=["boundary","cell","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","set","table","toc"];var kb=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[n,e]=t.split(":");if(n&&e)return{name:n,type:e};if(!n)return{type:e};if(!e){let s=n.match(/(.+)\<\>/);return s?{type:"fcode",name:s[1]}:{name:n,type:"block"}}return{name:n,type:e}},go=t=>{let n=kb(t),{name:e,type:s}=n;return s&&s==="*"?{name:e}:e&&e==="*"?{type:s}:n};function Cb(t,n){function e(o){for(var f in o)if(o.hasOwnProperty(f))return!1;return!0}if(e(t))return!0;for(var s in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(s))if(n===void 0&&console.warn("[podlite] undefined node!!!"),n&&n.hasOwnProperty(s)){if(t[s]!==n[s])return!1}else return!1;return!0}var ia=(t,n)=>{return e.rule=t,e.isFor=s,e.fn=n,e;function e(){}function s(o){return typeof o=="string"?!1:Cb(t,o)}};var Uf=si(require("crypto"),1);var qd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var _b=128,Fn,hs,Eb=t=>{!Fn||Fn.length<t?(Fn=Buffer.allocUnsafe(t*_b),Uf.default.randomFillSync(Fn),hs=0):hs+t>Fn.length&&(Uf.default.randomFillSync(Fn),hs=0),hs+=t};var Rd=(t=21)=>{Eb(t);let n="";for(let e=hs-t;e<hs;e++)n+=qd[Fn[e]&63];return n};var ds=t=>({...t}),Hf=t=>{if(Array.isArray(t))return t.filter(n=>n);console.warn("[podlite-schema] filterNulls got not array as content")},Pr=(t,n)=>{let e="block",s=t.name,o={id:Rd(),margin:"",...t};var f=ds({type:e,...o,content:Hf(n)});return f};var yo=(t,n)=>ds({type:"fcode",...t,content:n}),Gf=(t,n)=>ds({...t,type:"fcode",name:"L",content:Hf(n)}),Nd=t=>ds({type:"fcode",name:"O",content:Hf(t)});var Ld=t=>ds({type:"fcode",name:"F",content:[{type:"text",value:t}]}),na=t=>ds({type:"verbatim",value:t});var Md=t=>({type:"block",name:"caption",content:t}),zd=(t,n)=>({type:"image",src:t,alt:n}),jd=({margin:t=""},n)=>Pr({name:"root",margin:t},n);var Bd=({value:t,location:n})=>Pr({name:"formula",location:n},[na(t)]);var Sb=(t,n={})=>{let e=t.config instanceof Array?t.config:[],s=[];n.config&&n.config.hasOwnProperty(t.name)&&(s=n.config[t.name]);let o={};[...e,...s].map(h=>{o.hasOwnProperty(h.name)||(o[h.name]=[]),h.type==="array"?o[h.name].push(...h.value):o[h.name].push(h.value)});let f=function(){};return f.exists=h=>o.hasOwnProperty(h),f.getAllValues=h=>f.exists(h)?o[h]:[],f.getFirstValue=h=>f.exists(h)?f.getAllValues(h)[0]:void 0,f.getMapValue=h=>{let v=f.getFirstValue(h);return v&&typeof v=="object"&&!Array.isArray(v)?v:void 0},f.asHash=()=>o,f},oi=Sb;var Tb=(t,n)=>{let e=oi(t,n);return e.exists("id")?e.getFirstValue("id"):t.id},Pb=t=>t.trim().split(/[\s\-\u2013\u2014]+/).filter(Boolean).join("-").replace(/[^\p{L}\p{N}\-_]/gu,"").replace(/^-+|-+$/g,"");var Fb={shape:Pb,firstRepeat:2};var Db=(t,n,e)=>{if(!t)return t;let s=t;for(;n.has(s);){let o=(n.get(t)||0)+1;n.set(t,o),s=`${t}-${o+e-1}`}return n.set(s,n.get(s)||0),s},Kf=(t,n)=>{if(Array.isArray(t)){for(let e of t)Kf(e,n);return}!t||typeof t!="object"||(n(t),"content"in t&&Kf(t.content,n))},Ib=(t,n)=>{let e=new Map,s=new Map,o=new Map;for(let f of t){let h=Tb(f,{});if(h==null)continue;let v=h.toString(),b=Db(n.shape(v),o,n.firstRepeat);e.set(f,b),s.has(v)||s.set(v,b)}return{byNode:e,byName:s,shape:n.shape}},Vd=(t,n=Fb)=>{let e=[];return Kf(t,s=>{s.name==="head"&&e.push(s)}),Ib(e,n)};function Ud(t){return Array.isArray(t)?t.reduce((n,e)=>Array.isArray(e)?n.concat(Ud(e)):n.concat(e),[]):t}function Ob(t){function n(e,s){if(e==null)return e;if(e instanceof Array)return Ud(e.map(h=>n(h,s))).filter(Boolean);if(typeof e=="string")return n({type:"text",value:e},s);let o=t.slice();o.reverse();let f=o.findIndex(h=>h.isFor(e));if(f!==-1){let h=o.slice(f+1),v=h.findIndex(A=>A.isFor(e)),b=(A=e,w=s,T=n)=>{if(v!==-1)return h[v].fn(A,w,T,()=>{})};return typeof o[f].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),o[f].fn(e,s,n,b)}else{let h={...e};if(h.hasOwnProperty("content"))return n(h.content,s)}}return n.rules=t,n}var Hd=Ob;var Gd=(t,n)=>(e,s,o)=>{if(e.content)return o(e.content,s)};function Kd(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function Wd(t){return t.reduce((n,e)=>Array.isArray(e)?n.concat(Wd(e)):n.concat(e),[])}var qb=t=>{let n=[];function e(o,f){if(o instanceof Array&&console.warn(`[podlite] Unsupported param for ${o}`),o instanceof Object){for(var h in o)o.hasOwnProperty(h)&&e(h,o[h]);return[]}n.push(ia(go(o),f))}function s(o,f={}){if(o==null)return o;if(o instanceof Array)return Wd(o.map(b=>s(b,f)));if(typeof o=="string")return o;let h=n.slice();h.reverse();let v=h.findIndex(b=>b.isFor(o));if(v!==-1)return h[v].fn(o,f,s);{let b={...o};return b.hasOwnProperty("content")&&(b.content=s(b.content,f)),b}}return e(t),s.rules=n,s},jr=qb;var Jd=si(require("events")),Wf=class extends Jd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(n){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=n,this.ons=[],this.emit("ready")}escape(n){return n}write(n){return this.writeRaw(this.escape(n))}writeRaw(n){typeof this.output=="function"?this.output(n):console.log(n)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(n){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",n),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...n){return this.ons=this.ons||[],this.ons.unshift([...n]),this}endWrite=()=>{this.emit("end")};_add_nesting(n){}_remove_nesting(n){}addLevel(n){this._add_nesting(n)}removeLevel(n){this._remove_nesting(n)}},Qd=Wf;var sa=(t={},n=[])=>{let e=n,s=t.processor||Zd,o=t.writer;return f.use=h,f.run=v,f.getPlugins=()=>e,f;function f(b){}function h(b,A){if(b instanceof Array)return sa(t,[...e,...A]);if(b instanceof Object){for(var w in b)b.hasOwnProperty(w)&&h(w,b[w]);return f}return e.push(ia(go(b),A)),f}function v(b,A){let w="",T=A||o||new Qd(re=>{w=w+re}),N=typeof T=="function"?new T(re=>{w=w+re}):T,R=typeof b=="string"?s(b):b,L=e.slice();L.reverse();let V=Hd(L.map(re=>ia(re.rule,re.fn(N,s,R))).reverse()),G={__anchors:Vd(R),...t.context||{}};N.startWrite(R);let K=V(R,G);return N.endWrite(),{errors:N.errors,toString:()=>w,valueOf:()=>w,indexingTerms:N.INDEXTERMS,annotations:N.FOOTNOTES,defenitions:N.DEFINITIONS,interator:K}}};var Yd=si(Jf());function Qf(t){if(!t||!t.trim())return[];try{return Yd.parse(t,{startRule:"attributesOnly"})}catch{return[]}}var xp=si(Jf());var Lb=()=>t=>{let n=(s,o={})=>{if((s.type=="code"||s.type=="text")&&(s.margin&&o.margin&&o.margin.length>0&&o.margin.length==s.margin.length&&(s.type="para"),s.type==="code")){var f=new RegExp(`^[ ]{0,${s.margin.length}}`,"gm");s.text=s.text.replace(f,"")}if(s.type==="block"){o.margin=typeof s.margin!="string"?"":s.margin;let h={...o};h.nest=(h.nest||0)+1,s.content.map(v=>{n(v,o)})}};var e={};return t.forEach(s=>n(s,e)),t},ep=Lb;var aa=si(rp());var jb=()=>t=>{let n=jr({":para":(e,s,o)=>jr({":text":(f,h)=>aa.parse(f.value),":verbatim":(f,h)=>aa.parse(f.value)})(e,{...s}),":block":(e,s,o)=>{if("name"in e&&e.name==="pod")return{...e,content:o(e.content,s,o)};let f=oi(e,s),h="name"in e?e.name:"",v=["code","data","markdown","picture","formula"].includes(h),b=f.getAllValues("allow");if(Kd(h)||v&&b.length===0)return e;let A=b.sort(),w=jr({":verbatim":(T,N)=>aa.parse(T.value,{allowed:A}),":text":(T,N)=>aa.parse(T.value,{allowed:A}),":block":(T,N)=>n(T,{...N})});return{...e,content:w(e.content,{...s})}}});return n(t,{})},ip=jb;var np=(t,n)=>{if(t.text=t.text.replace(n,""),t.type!=="para")return;if(!Array.isArray(t.content)){t.content=[t.text];return}let e=t.content[0];typeof e=="string"?t.content[0]=e.replace(n,""):e&&typeof e.value=="string"&&(e.value=e.value.replace(n,""))},sp=()=>t=>{let n=e=>{if(Array.isArray(e))e.forEach(s=>{n(s)});else if(e&&e.type==="block"){let s=/^item(\d+)?/.exec(e.name);if(s){e.name="item",e.level=s[1]||1;let o=(e.config||[]).find(f=>f.name==="checked");if(o&&(e.checked=o.value!==!1&&o.value!==0&&o.value!=="0"),e.content[0]){let f=e.content[0];if(f.text){if(!o){let b=/^\[( |x)\]\s*/,A=b.exec(f.text);A&&(e.checked=A[1]==="x",np(f,b),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let h=/^(\s*#\s*)/;h.exec(f.text)&&(np(f,h),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}n(e.content)}};return n(t),t};var ap=()=>t=>{let n=e=>{if(Array.isArray(e))e.forEach(s=>{n(s)});else if(e&&e.type==="block"){let s=/^head(\d+)?/.exec(e.name);if(s&&(e.name="head",e.level=s[1]||1,e.content[0])){let o=e.content[0];if(o.text){let f=/(\s*#\s*)/;f.exec(o.text)&&(o.text=o.text.replace(f,""),e.config={...e.config,numbered:!0})}}n(e.content)}};return n(t),t};var op=()=>t=>{let n=(f,h)=>(f.name==="item"||f.name==="defn")&&h.name===f.name&&f.level===h.level&&e(f)===e(h),e=f=>Boolean(f.config&&f.config.numbered),s=f=>{let h={};return f.reduce((b,A)=>(A.name==="defn"?n(h,A)?b[b.length-1].push(A):b.push([A]):b.push(A),h=A,b),[]).map(b=>b instanceof Array?b[0].name!=="defn"?b:{type:"list",list:b[0].name==="defn"?"variable":e(b[0])?"ordered":"itemized",level:1,content:[...b]}:(b.content&&b.type!=="fcode"&&(b.content=s(b.content)),b))};return t=(f=>Array.isArray(f)?s(f):(f.type==="block"&&f.name!=="table"&&(f.content=s(f.content)),f))(t),t};var lp=()=>t=>{let n=(h,v)=>(h.name==="item"||h.name==="defn")&&v.name===h.name&&h.level===v.level&&e(h)===e(v)&&s(h)===s(v),e=h=>Boolean(oi(h,{}).exists("numbered")),s=h=>h.checked!==void 0,o=(h,v=1)=>{let b=R=>R.length>0&&R[R.length-1].type==="list",A=R=>{if(b(R))return R[R.length-1]},w=(R,L)=>L.name&&L.name==="item"&&L.type&&L.type==="block"||L.type==="blankline",T={};return h.reduce((R,L)=>L.name==="item"&&L.type==="block"&&L.level<v?[...R,L]:(L.name==="item"&&L.type==="block"&&(!b(R)||Number(L.level)===v&&A(R).list!==(e(L)?"ordered":s(L)?"task":"itemized"))&&R.push({type:"list",level:L.level,content:[],list:e(L)?"ordered":s(L)?"task":"itemized"}),b(R)&&w(A(R),L)?A(R).content.push(L):R.push(L),R),[]).map(R=>(R.content&&R.type!=="fcode"&&(R.content=o(R.content,Number(R.level||0)+1)),R))};return t=(h=>(Array.isArray(h)?h=o(h):h.type==="block"&&h.name!=="table"&&(h.content=o(h.content)),h))(t),t};var fp=()=>t=>jr({defn:e=>{let s=e.content,o=s.length,f=[],h=!1;for(let v=0;v<o;v++){let b=s[v];if(b.type==="para"&&!h){let A=b.content[0],T=A.value.split(`
19
- `),N=T.shift(),R={type:"para",name:"term",text:N,content:[{type:"text",value:N}]};f.push(R),T.length==1&&T[0]===""||(A.value=T.join(`
20
- `),b.text=A.value,f.push(b)),h=!0}else f.push(b)}return e.content=f,e}})(t,{});var Bb=t=>!t||typeof t!="object"?!1:t.type==="set"||t.type==="config"||t.type==="alias"||t.type==="blankline"||t.type==="block"&&(t.name==="comment"||t.name==="boundary"||t.name==="include"),up=t=>t&&typeof t=="object"&&t.type==="block",Zf=t=>{let n=[],e=[];for(let s of t){if(s&&typeof s=="object"&&s.type==="set"&&Array.isArray(s.config)){for(let f of s.config)!f||!f.name||(n=n.filter(h=>h.name!==f.name),n.push(f));continue}let o=s;if(up(s)&&Array.isArray(s.content)&&(o={...s,content:Zf(s.content)}),n.length&&up(o)&&!Bb(o)){let f=new Set((o.config||[]).map(v=>v&&v.name)),h=n.filter(v=>!f.has(v.name));h.length&&(o={...o,config:[...o.config||[],...h]}),n=[]}e.push(o)}return n.length&&console.warn(`[set] =set directive has no target block in scope: ${n.map(s=>s.name).join(", ")}`),e},cp=()=>t=>Array.isArray(t)?Zf(t):t&&typeof t=="object"&&Array.isArray(t.content)?{...t,content:Zf(t.content)}:t;function oa(t){return t.reduce((n,e)=>Array.isArray(e)?n.concat(oa(e)):n.concat(e),[])}function Yf(t){let n=[],e="",s=[],o=!1,f=0;for(;f<t.length;){let h=t[f];if(o){if(h==='"'&&t[f+1]==='"'){e+='"',f+=2;continue}if(h==='"'){o=!1,f++;continue}e+=h,f++;continue}if(h==='"'&&e===""){o=!0,f++;continue}if(h===","){s.push(e),e="",f++;continue}if(h==="\r"){f++;continue}if(h===`
21
- `){s.push(e),n.push(s),s=[],e="",f++;continue}e+=h,f++}return(e!==""||s.length>0)&&(s.push(e),n.push(s)),n.filter(h=>!(h.length===1&&h[0].trim()===""))}function eu(t){return t.split(/\r?\n/).map(s=>s.split(" ")).filter(s=>!(s.length===1&&s[0].trim()===""))}function bo(t){if(!t||typeof t!="string")return{type:"",params:{}};let n=t.split(";").map(o=>o.trim()),e=(n.shift()||"").toLowerCase(),s={};for(let o of n){if(!o)continue;let f=o.indexOf("=");if(f<0)continue;let h=o.slice(0,f).trim().toLowerCase(),v=o.slice(f+1).trim();(v.startsWith('"')&&v.endsWith('"')||v.startsWith("'")&&v.endsWith("'"))&&(v=v.slice(1,-1)),h&&(s[h]=v)}return{type:e,params:s}}function tu(t,n){let e=null,s=o=>{if(!e){if(Array.isArray(o)){o.forEach(s);return}if(!(!o||typeof o!="object")){if(o.type==="block"&&o.name==="data"&&oi(o,{}).getFirstValue("key")===n){e=o;return}Array.isArray(o.content)&&o.content.forEach(s)}}};return s(t),e}function wo(t){if(!t||!Array.isArray(t.content))return"";let n=t.content.find(e=>e&&e.type==="verbatim");return n&&typeof n.value=="string"?n.value:""}function Vb(t){let n=[];jr({"row:text":h=>(n.push(h.value),h),"head:text":h=>(n.push(h.value),h)})(t,{});let o=n.join(`
22
- `).trim().split(/\r?\n/).map(h=>h.trim()).filter(h=>h.length>0);if(o.length!==1)return null;let f=o[0].match(/^(data|file):(\S+)$/);return f?{scheme:f[1],target:f[2]}:null}function dp(t){return{name:"cell",type:"block",margin:"",content:[{type:"text",value:t}]}}function Ub(t,n){let e={name:"row",type:"block",margin:"",content:t};return n&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function ru(t,n=!1){return t.map((e,s)=>{let o=e.map(f=>dp(f.trim()));return Ub(o,n&&s===0)})}function la(t,n="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter(T=>T&&T.type==="block"&&T.name==="row");if(e.length===0)return t;let s=T=>Array.isArray(T.content)?T.content.filter(N=>N&&N.name==="cell"):[],o=T=>Array.isArray(T.config)&&T.config.some(N=>N.name==="header"&&N.value===!0),f=T=>Array.isArray(T.config)&&T.config.some(N=>N.name==="colspan"||N.name==="rowspan"),h=T=>s(T).some(f);if(e.some(h))return t;let v=e.find(o),b=v?s(v).length:Math.max(...e.map(T=>s(T).length));if(b===0)return t;let A=!1,w=t.content.map(T=>{if(!T||T.type!=="block"||T.name!=="row")return T;let N=s(T);if(N.length===b)return T;if(N.length<b){let G=[];for(let K=N.length;K<b;K++)G.push(dp(""));return console.warn(`[${n}] row has ${N.length} cells, expected ${b} \u2014 padded with ${G.length} empty`),A=!0,{...T,content:[...T.content,...G]}}let R=N.length-b;console.warn(`[${n}] row has ${N.length} cells, expected ${b} \u2014 truncated ${R}`),A=!0;let L=b,V=[];for(let G of T.content||[])G&&G.type==="block"&&G.name==="cell"?L>0&&(V.push(G),L--):V.push(G);return{...T,content:V}});return A?{...t,content:w}:t}function Hb(t){let n=new Set;for(let e of t)if(!(!e||typeof e!="string")&&(/\s\|\s/.test(e)?n.add("pipe"):/\s\+\s/.test(e)?n.add("plus"):e.trim().length>0&&n.add("whitespace"),n.size>1))break;n.size>1&&console.warn(`[table] mixed separator types detected: ${Array.from(n).join(", ")} \u2014 recommend a single style`)}function Gb(t,n){return{type:"block",name:"code",margin:t.margin||"",content:Array.isArray(n.content)?n.content:[],config:Array.isArray(t.config)?t.config:[]}}var Xf=(t,n,e)=>{let s=[];for(let o=0;t.length>o;o++)s.push(e(parseInt(t[o],10),parseInt(n[o],10)));return s.join("")},Kb=(t,n)=>{let e=Math.max(...[...t,...n].map(f=>f.length));return t.map(f=>{let h=f+" ".repeat(e-f.length),v=[],b=/\s+[+|\s]\s/g,A;for(;(A=b.exec(h))!=null;){let w="1".repeat(A.index)+"0".repeat(A[0].length);v.push(w+"1".repeat(e-w.length))}return v.reduce((w,T)=>Xf(w,T,(N,R)=>N&R),"1".repeat(e))}).map(f=>Xf(f,"",h=>h==0?1:0)).reduce((f,h)=>Xf(f,h,(v,b)=>v&b),"1".repeat(e))},hp=(t,n)=>{let s=oa(t.split(/\n/).filter(f=>f.length>0)).map(f=>{let h=/((1+|0+))/g,v=[],b;for(;(b=h.exec(n))!=null;)b[0][0]!="1"&&v.push(f.substring(b.index,b.index+b[0].length));return v}),o=[];return s.reduce((f,h)=>{for(let v=0;v<h.length;v++)f[v]=(f[v]===void 0?"":f[v])+" "+h[v];return f},o),o},vo=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",pp=t=>{let n=0,e=t.length;return t[n]===""&&n++,e>n&&t[e-1]===""&&e--,t.slice(n,e)},mp=t=>pp(t.split(/\s*\|\s*/).map(n=>n.trim())),gp=t=>pp(t.split(/\s*\+\s*/).map(n=>n.trim())),yp=t=>t.trim().split(/\s{2,}/).filter(n=>n!==""),vp=t=>{if(t.trim()==="")return[];let e=vo(t);return e==="pipe"?mp(t):e==="plus"?gp(t):yp(t)},Wb=t=>{let n=t.split(/\r?\n/).filter(v=>v.trim()!=="");if(n.length===0)return[];if(n.length===1)return vp(n[0]);let e=vo(n[0]),s=e==="pipe"?mp:e==="plus"?gp:yp,o=n.map(s),f=Math.max(...o.map(v=>v.length)),h=[];for(let v=0;v<f;v++){let b=o.map(A=>A[v]??"").filter(A=>A!=="");h.push(b.join(" "))}return h},Jb=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(s=>s&&s.type==="block"&&s.name!=="cell"&&s.name!=="blankline"))return t;let e=t.content.map(s=>!s||s.type!=="block"||s.name==="cell"||s.name==="blankline"?s:{type:"block",name:"cell",content:[s],margin:s.margin||""});return{...t,content:e}},Qb=t=>Array.isArray(t.content)&&t.content.some(n=>n&&n.type==="block"&&(n.name==="row"||n.name==="cell")),bp=()=>t=>jr({table:(e,s,o)=>{let f=Vb(e);if(f&&f.scheme==="data"){let de=tu(t,f.target);if(!de)return console.warn(`[table] no =data block found for data:${f.target} \u2014 rendered as empty`),{...e,content:[]};let Te=oi(de,{}).getFirstValue("mime-type"),{type:Ae,params:Ze}=bo(Te),qe=Ae==="text/csv";if(qe||Ae==="text/tab-separated-values"){let we=wo(de),Re=qe?Yf(we):eu(we);if(Re.length===0)return console.warn(`[table] ${qe?"CSV":"TSV"} parse produced no rows for data:${f.target} \u2014 rendered as empty`),{...e,content:[]};let nt=Ze.header==="present",ne={...e,content:ru(Re,nt)};return la(ne,`table data:${f.target}`)}return console.warn(`[table] =data :key<${f.target}> has non-tabular mime-type ${Te||"(none)"} \u2014 rendered as =code`),Gb(e,de)}if(Qb(e)){let de=(e.content||[]).map(Ae=>Ae&&Ae.name==="row"?Jb(Ae):Ae),Te=o?o(de,s):de;return la({...e,content:Te},"table")}let h=[],v=de=>{h.push(de.value)},b=[];if(jr({"row:text":v,"head:text":v,":separator":de=>{b.push(de.text)}})(e),!h.length)return e;let A=de=>de.split(/\n/).filter(Te=>Te.length>0),w=oa(h.map(A)),T=oa(b.map(A));Hb(w);let N=[];jr({"row:text":de=>{N.push(de.value)}})(e);let R=(de,Te,Ae={})=>({...Ae,name:de,type:"block",content:Array.isArray(Te)?Te:[Te]}),L=de=>R("row",de),V=de=>R("row",de,{config:[{name:"header",value:!0,type:"boolean"}]}),G=de=>R("cell",{type:"text",value:de}),K=Kb(w,T),re=new Set(w.map(vo)),ce=(re.has("pipe")||re.has("plus"))&&re.has("whitespace"),xe=de=>ce||vo(de)==="whitespace",ye=de=>de.split(/\r?\n/).filter(Ae=>Ae.trim()!=="").length<=1&&xe(de)?Wb(de):hp(de,K),le=jr({"row:text":de=>N.length==1?oa([de.value].map(A)).map(Ae=>L((xe(Ae)?vp(Ae):hp(Ae,K)).map(G))):L(ye(de.value).map(G)),"head:text":de=>V(ye(de.value).map(G))})(e);return la(le,"table")}})(t,{});function Zb(t){return!Array.isArray(t)||t.length===0?[]:t.length===1&&typeof t[0]=="string"&&t[0].includes(",")?t[0].split(",").map(n=>n.trim()).filter(n=>n.length>0):t.map(n=>String(n).trim()).filter(n=>n.length>0)}function wp(t,n,e){let s=t.trim();if(/^\d+$/.test(s)){let f=parseInt(s,10),h=f-1;if(h<0||h>=e)throw new Error(`column index ${f} out of range (1..${e})`);return h}if(!n)throw new Error(`column name "${t}" requires header=present`);let o=n.indexOf(t);if(o===-1)throw new Error(`column name "${t}" not found in header`);return o}function Xb(t,n,e){if(t.length===0)return t;let s=t[0].length,o=e?t[0]:null,f=n.map(h=>wp(h,o,s));return t.map(h=>f.map(v=>h[v]??""))}function Yb(t,n,e){if(!e||t.length===0)return t;let s=[...t[0]];for(let[o,f]of Object.entries(n)){let h=wp(o,s,s.length);s[h]=String(f)}return[s,...t.slice(1)]}function ew(t,n){let e=oi(t,{}),s=e.getFirstValue("src"),o=e.getFirstValue("mime-type"),f=e.getMapValue("rename"),h=e.exists("columns"),v=h?Zb(e.getAllValues("columns")):null,b=wo(t),A=b.trim().length>0;if(s&&A)throw new Error(":src and inline body are mutually exclusive");if(h&&(!v||v.length===0))throw new Error(":columns must have at least one entry; omit the attribute to render all columns");let w,T,N;if(s){let K=String(s),re=K.match(/^(file|data|http|https|doc):(.+)$/),ce=re?re[1]:"file",xe=re?re[2]:K;if(ce==="data"){let ye=tu(n,xe);if(!ye)return console.warn(`[data-table] no =data block found for data:${xe} \u2014 rendered as empty`),{...t,name:"table",content:[]};if(o)throw new Error(`:mime-type cannot be declared with :src<data:${xe}> (inherited from referenced block)`);let le=oi(ye,{}).getFirstValue("mime-type");if(!le)return console.warn(`[data-table] =data block ${xe} has no :mime-type \u2014 rendered as empty`),{...t,name:"table",content:[]};let de=bo(le);T=de.type,N=de.params.header==="present",w=wo(ye)}else return t}else{if(!o)throw new Error("inline body requires :mime-type");let K=bo(o);T=K.type,N=K.params.header==="present",w=b}let R=T==="text/csv";if(!R&&!(T==="text/tab-separated-values"))return console.warn(`[data-table] unsupported mime-type ${T} \u2014 rendered as empty`),{...t,name:"table",content:[]};let V=R?Yf(w):eu(w);if(V.length===0)return console.warn(`[data-table] ${R?"CSV":"TSV"} parse produced no rows \u2014 rendered as empty`),{...t,name:"table",content:[]};v&&(V=Xb(V,v,N)),f&&(V=Yb(V,f,N));let G={...t,name:"table",content:ru(V,N)};return la(G,"data-table")}var $p=()=>t=>jr({"data-table":e=>{try{return ew(e,t)}catch(s){return console.warn(`[data-table] ${s.message}`),{...e,name:"table",content:[]}}}})(t);var iC=new Ap.default({strict:!0,allowUnionTypes:!0});function rw(){var t=[];return n.use=e,n.parse=s,n.use(ep),n.use(cp),n.use(sp),n.use(ap),n.use(fp),n.use(bp),n.use($p),n.use(ip),n.use(lp),n.use(op),n;function n(){}function e(o){if(!["function"].includes(typeof o))throw o;return t.push(o),n}function s(o,f={skipChain:0,podMode:1}){let{skipChain:h=0,podMode:v=1,diagnostics:b}=f,A=xp.parse(o,{podMode:v,diagnostics:b,blockNames:Od});if(!h)for(let w=0;w<t.length;w++){let T=t[w];A=T(f)(A)}return A}}var Zd=rw().parse;function iu(t){if(t)throw t}var Bp=si(nu(),1),pu=si(Ip(),1);function fa(t){if(typeof t!="object"||t===null)return!1;let n=Object.getPrototypeOf(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Op(){let t=[],n={run:e,use:s};return n;function e(...o){let f=-1,h=o.pop();if(typeof h!="function")throw new TypeError("Expected function as last argument, not "+h);v(null,...o);function v(b,...A){let w=t[++f],T=-1;if(b){h(b);return}for(;++T<o.length;)(A[T]===null||A[T]===void 0)&&(A[T]=o[T]);o=A,w?iw(w,v)(...A):h(null,...A)}}function s(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),n}}function iw(t,n){let e;return s;function s(...h){let v=t.length>h.length,b;v&&h.push(o);try{b=t.apply(this,h)}catch(A){let w=A;if(v&&e)throw w;return o(w)}v||(b instanceof Promise?b.then(f,o):b instanceof Error?o(b):f(b))}function o(h,...v){e||(e=!0,n(h,...v))}function f(h){o(null,h)}}var Lp=si(nu(),1);function On(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?qp(t.position):"start"in t||"end"in t?qp(t):"line"in t||"column"in t?su(t):""}function su(t){return Rp(t&&t.line)+":"+Rp(t&&t.column)}function qp(t){return su(t&&t.start)+"-"+su(t&&t.end)}function Rp(t){return t&&typeof t=="number"?t:1}var Fr=class extends Error{constructor(n,e,s){let o=[null,null],f={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(s=e,e=void 0),typeof s=="string"){let h=s.indexOf(":");h===-1?o[1]=s:(o[0]=s.slice(0,h),o[1]=s.slice(h+1))}e&&("type"in e||"position"in e?e.position&&(f=e.position):"start"in e||"end"in e?f=e:("line"in e||"column"in e)&&(f.start=e)),this.name=On(e)||"1:1",this.message=typeof n=="object"?n.message:n,this.stack=typeof n=="object"?n.stack:"",this.reason=this.message,this.fatal,this.line=f.start.line,this.column=f.start.column,this.source=o[0],this.ruleId=o[1],this.position=f,this.actual,this.expected,this.file,this.url,this.note}};Fr.prototype.file="";Fr.prototype.name="";Fr.prototype.reason="";Fr.prototype.message="";Fr.prototype.stack="";Fr.prototype.fatal=null;Fr.prototype.column=null;Fr.prototype.line=null;Fr.prototype.source=null;Fr.prototype.ruleId=null;Fr.prototype.position=null;var li=si(require("path"),1);var au=si(require("process"),1);var ou=require("url");function Ao(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var lu=["history","path","basename","stem","extname","dirname"],ua=class{constructor(n){let e;n?typeof n=="string"||(0,Lp.default)(n)?e={value:n}:Ao(n)?e={path:n}:e=n:e={},this.data={},this.messages=[],this.history=[],this.cwd=au.default.cwd(),this.value,this.stored,this.result,this.map;let s=-1;for(;++s<lu.length;){let f=lu[s];f in e&&e[f]!==void 0&&(this[f]=f==="history"?[...e[f]]:e[f])}let o;for(o in e)lu.includes(o)||(this[o]=e[o])}get path(){return this.history[this.history.length-1]}set path(n){Ao(n)&&(n=(0,ou.fileURLToPath)(n)),uu(n,"path"),this.path!==n&&this.history.push(n)}get dirname(){return typeof this.path=="string"?li.default.dirname(this.path):void 0}set dirname(n){Np(this.basename,"dirname"),this.path=li.default.join(n||"",this.basename)}get basename(){return typeof this.path=="string"?li.default.basename(this.path):void 0}set basename(n){uu(n,"basename"),fu(n,"basename"),this.path=li.default.join(this.dirname||"",n)}get extname(){return typeof this.path=="string"?li.default.extname(this.path):void 0}set extname(n){if(fu(n,"extname"),Np(this.dirname,"extname"),n){if(n.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=li.default.join(this.dirname,this.stem+(n||""))}get stem(){return typeof this.path=="string"?li.default.basename(this.path,this.extname):void 0}set stem(n){uu(n,"stem"),fu(n,"stem"),this.path=li.default.join(this.dirname||"",n+(this.extname||""))}toString(n){return(this.value||"").toString(n)}message(n,e,s){let o=new Fr(n,e,s);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(n,e,s){let o=this.message(n,e,s);return o.fatal=null,o}fail(n,e,s){let o=this.message(n,e,s);throw o.fatal=!0,o}};function fu(t,n){if(t&&t.includes(li.default.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+li.default.sep+"`")}function uu(t,n){if(!t)throw new Error("`"+n+"` cannot be empty")}function Np(t,n){if(!t)throw new Error("Setting `"+n+"` requires `path` to be set too")}var mu=Up().freeze(),Vp={}.hasOwnProperty;function Up(){let t=Op(),n=[],e={},s,o=-1;return f.data=h,f.Parser=void 0,f.Compiler=void 0,f.freeze=v,f.attachers=n,f.use=b,f.parse=A,f.stringify=w,f.run=T,f.runSync=N,f.process=R,f.processSync=L,f;function f(){let V=Up(),G=-1;for(;++G<n.length;)V.use(...n[G]);return V.data((0,pu.default)(!0,{},e)),V}function h(V,G){return typeof V=="string"?arguments.length===2?(du("data",s),e[V]=G,f):Vp.call(e,V)&&e[V]||null:V?(du("data",s),e=V,f):e}function v(){if(s)return f;for(;++o<n.length;){let[V,...G]=n[o];if(G[0]===!1)continue;G[0]===!0&&(G[0]=void 0);let K=V.call(f,...G);typeof K=="function"&&t.use(K)}return s=!0,o=Number.POSITIVE_INFINITY,f}function b(V,...G){let K;if(du("use",s),V!=null)if(typeof V=="function")ye(V,...G);else if(typeof V=="object")Array.isArray(V)?xe(V):ce(V);else throw new TypeError("Expected usable value, not `"+V+"`");return K&&(e.settings=Object.assign(e.settings||{},K)),f;function re(le){if(typeof le=="function")ye(le);else if(typeof le=="object")if(Array.isArray(le)){let[de,...Te]=le;ye(de,...Te)}else ce(le);else throw new TypeError("Expected usable value, not `"+le+"`")}function ce(le){xe(le.plugins),le.settings&&(K=Object.assign(K||{},le.settings))}function xe(le){let de=-1;if(le!=null)if(Array.isArray(le))for(;++de<le.length;){let Te=le[de];re(Te)}else throw new TypeError("Expected a list of plugins, not `"+le+"`")}function ye(le,de){let Te=-1,Ae;for(;++Te<n.length;)if(n[Te][0]===le){Ae=n[Te];break}Ae?(fa(Ae[1])&&fa(de)&&(de=(0,pu.default)(!0,Ae[1],de)),Ae[1]=de):n.push([...arguments])}}function A(V){f.freeze();let G=ca(V),K=f.Parser;return cu("parse",K),Mp(K,"parse")?new K(String(G),G).parse():K(String(G),G)}function w(V,G){f.freeze();let K=ca(G),re=f.Compiler;return hu("stringify",re),zp(V),Mp(re,"compile")?new re(V,K).compile():re(V,K)}function T(V,G,K){if(zp(V),f.freeze(),!K&&typeof G=="function"&&(K=G,G=void 0),!K)return new Promise(re);re(null,K);function re(ce,xe){t.run(V,ca(G),ye);function ye(le,de,Te){de=de||V,le?xe(le):ce?ce(de):K(null,de,Te)}}}function N(V,G){let K,re;return f.run(V,G,ce),jp("runSync","run",re),K;function ce(xe,ye){iu(xe),K=ye,re=!0}}function R(V,G){if(f.freeze(),cu("process",f.Parser),hu("process",f.Compiler),!G)return new Promise(K);K(null,G);function K(re,ce){let xe=ca(V);f.run(f.parse(xe),xe,(le,de,Te)=>{if(le||!de||!Te)ye(le);else{let Ae=f.stringify(de,Te);Ae==null||(aw(Ae)?Te.value=Ae:Te.result=Ae),ye(le,Te)}});function ye(le,de){le||!de?ce(le):re?re(de):G(null,de)}}}function L(V){let G;f.freeze(),cu("processSync",f.Parser),hu("processSync",f.Compiler);let K=ca(V);return f.process(K,re),jp("processSync","process",G),K;function re(ce){G=!0,iu(ce)}}}function Mp(t,n){return typeof t=="function"&&t.prototype&&(nw(t.prototype)||n in t.prototype)}function nw(t){let n;for(n in t)if(Vp.call(t,n))return!0;return!1}function cu(t,n){if(typeof n!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function hu(t,n){if(typeof n!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function du(t,n){if(n)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zp(t){if(!fa(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function jp(t,n,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+n+"` instead")}function ca(t){return sw(t)?t:new ua(t)}function sw(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function aw(t){return typeof t=="string"||(0,Bp.default)(t)}function Gp(t,n){var{includeImageAlt:e=!0}=n||{};return Kp(t,e)}function Kp(t,n){return t&&typeof t=="object"&&(t.value||(n?t.alt:"")||"children"in t&&Hp(t.children,n)||Array.isArray(t)&&Hp(t,n))||""}function Hp(t,n){for(var e=[],s=-1;++s<t.length;)e[s]=Kp(t[s],n);return e.join("")}function Mt(t,n,e,s){let o=t.length,f=0,h;if(n<0?n=-n>o?0:o+n:n=n>o?o:n,e=e>0?e:0,s.length<1e4)h=Array.from(s),h.unshift(n,e),[].splice.apply(t,h);else for(e&&[].splice.apply(t,[n,e]);f<s.length;)h=s.slice(f,f+1e4),h.unshift(n,0),[].splice.apply(t,h),f+=1e4,n+=1e4}function Dr(t,n){return t.length>0?(Mt(t,t.length,0,n),t):n}var Wp={}.hasOwnProperty;function xo(t){let n={},e=-1;for(;++e<t.length;)ow(n,t[e]);return n}function ow(t,n){let e;for(e in n){let o=(Wp.call(t,e)?t[e]:void 0)||(t[e]={}),f=n[e],h;for(h in f){Wp.call(o,h)||(o[h]=[]);let v=f[h];lw(o[h],Array.isArray(v)?v:v?[v]:[])}}}function lw(t,n){let e=-1,s=[];for(;++e<n.length;)(n[e].add==="after"?t:s).push(n[e]);Mt(t,0,0,s)}var Jp=/[!-/:-@[-`{-~\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 br=hn(/[A-Za-z]/),qn=hn(/\d/),Qp=hn(/[\dA-Fa-f]/),er=hn(/[\dA-Za-z]/),Zp=hn(/[!-/:-@[-`{-~]/),gu=hn(/[#-'*+\--9=?A-Z^-~]/);function cn(t){return t!==null&&(t<32||t===127)}function ut(t){return t!==null&&(t<0||t===32)}function ge(t){return t!==null&&t<-2}function et(t){return t===-2||t===-1||t===32}var Rn=hn(/\s/),Nn=hn(Jp);function hn(t){return n;function n(e){return e!==null&&t.test(String.fromCharCode(e))}}function Fe(t,n,e,s){let o=s?s-1:Number.POSITIVE_INFINITY,f=0;return h;function h(b){return et(b)?(t.enter(e),v(b)):n(b)}function v(b){return et(b)&&f++<o?(t.consume(b),v):(t.exit(e),n(b))}}var Xp={tokenize:fw};function fw(t){let n=t.attempt(this.parser.constructs.contentInitial,s,o),e;return n;function s(v){if(v===null){t.consume(v);return}return t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),Fe(t,n,"linePrefix")}function o(v){return t.enter("paragraph"),f(v)}function f(v){let b=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=b),e=b,h(v)}function h(v){if(v===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(v);return}return ge(v)?(t.consume(v),t.exit("chunkText"),f):(t.consume(v),h)}}var em={tokenize:uw},Yp={tokenize:cw};function uw(t){let n=this,e=[],s=0,o,f,h;return v;function v(ce){if(s<e.length){let xe=e[s];return n.containerState=xe[1],t.attempt(xe[0].continuation,b,A)(ce)}return A(ce)}function b(ce){if(s++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,o&&re();let xe=n.events.length,ye=xe,le;for(;ye--;)if(n.events[ye][0]==="exit"&&n.events[ye][1].type==="chunkFlow"){le=n.events[ye][1].end;break}K(s);let de=xe;for(;de<n.events.length;)n.events[de][1].end=Object.assign({},le),de++;return Mt(n.events,ye+1,0,n.events.slice(xe)),n.events.length=de,A(ce)}return v(ce)}function A(ce){if(s===e.length){if(!o)return N(ce);if(o.currentConstruct&&o.currentConstruct.concrete)return L(ce);n.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return n.containerState={},t.check(Yp,w,T)(ce)}function w(ce){return o&&re(),K(s),N(ce)}function T(ce){return n.parser.lazy[n.now().line]=s!==e.length,h=n.now().offset,L(ce)}function N(ce){return n.containerState={},t.attempt(Yp,R,L)(ce)}function R(ce){return s++,e.push([n.currentConstruct,n.containerState]),N(ce)}function L(ce){if(ce===null){o&&re(),K(0),t.consume(ce);return}return o=o||n.parser.flow(n.now()),t.enter("chunkFlow",{contentType:"flow",previous:f,_tokenizer:o}),V(ce)}function V(ce){if(ce===null){G(t.exit("chunkFlow"),!0),K(0),t.consume(ce);return}return ge(ce)?(t.consume(ce),G(t.exit("chunkFlow")),s=0,n.interrupt=void 0,v):(t.consume(ce),V)}function G(ce,xe){let ye=n.sliceStream(ce);if(xe&&ye.push(null),ce.previous=f,f&&(f.next=ce),f=ce,o.defineSkip(ce.start),o.write(ye),n.parser.lazy[ce.start.line]){let le=o.events.length;for(;le--;)if(o.events[le][1].start.offset<h&&(!o.events[le][1].end||o.events[le][1].end.offset>h))return;let de=n.events.length,Te=de,Ae,Ze;for(;Te--;)if(n.events[Te][0]==="exit"&&n.events[Te][1].type==="chunkFlow"){if(Ae){Ze=n.events[Te][1].end;break}Ae=!0}for(K(s),le=de;le<n.events.length;)n.events[le][1].end=Object.assign({},Ze),le++;Mt(n.events,Te+1,0,n.events.slice(de)),n.events.length=le}}function K(ce){let xe=e.length;for(;xe-- >ce;){let ye=e[xe];n.containerState=ye[1],ye[0].exit.call(n,t)}e.length=ce}function re(){o.write([null]),f=void 0,o=void 0,n.containerState._closeFlow=void 0}}function cw(t,n,e){return Fe(t,t.attempt(this.parser.constructs.document,n,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ps(t){if(t===null||ut(t)||Rn(t))return 1;if(Nn(t))return 2}function dn(t,n,e){let s=[],o=-1;for(;++o<t.length;){let f=t[o].resolveAll;f&&!s.includes(f)&&(n=f(n,e),s.push(f))}return n}var ha={name:"attention",tokenize:dw,resolveAll:hw};function hw(t,n){let e=-1,s,o,f,h,v,b,A,w;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(s=e;s--;)if(t[s][0]==="exit"&&t[s][1].type==="attentionSequence"&&t[s][1]._open&&n.sliceSerialize(t[s][1]).charCodeAt(0)===n.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[s][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[s][1].end.offset-t[s][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;b=t[s][1].end.offset-t[s][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let T=Object.assign({},t[s][1].end),N=Object.assign({},t[e][1].start);tm(T,-b),tm(N,b),h={type:b>1?"strongSequence":"emphasisSequence",start:T,end:Object.assign({},t[s][1].end)},v={type:b>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:N},f={type:b>1?"strongText":"emphasisText",start:Object.assign({},t[s][1].end),end:Object.assign({},t[e][1].start)},o={type:b>1?"strong":"emphasis",start:Object.assign({},h.start),end:Object.assign({},v.end)},t[s][1].end=Object.assign({},h.start),t[e][1].start=Object.assign({},v.end),A=[],t[s][1].end.offset-t[s][1].start.offset&&(A=Dr(A,[["enter",t[s][1],n],["exit",t[s][1],n]])),A=Dr(A,[["enter",o,n],["enter",h,n],["exit",h,n],["enter",f,n]]),A=Dr(A,dn(n.parser.constructs.insideSpan.null,t.slice(s+1,e),n)),A=Dr(A,[["exit",f,n],["enter",v,n],["exit",v,n],["exit",o,n]]),t[e][1].end.offset-t[e][1].start.offset?(w=2,A=Dr(A,[["enter",t[e][1],n],["exit",t[e][1],n]])):w=0,Mt(t,s-1,e-s+3,A),e=s+A.length-w-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function dw(t,n){let e=this.parser.constructs.attentionMarkers.null,s=this.previous,o=ps(s),f;return h;function h(b){return t.enter("attentionSequence"),f=b,v(b)}function v(b){if(b===f)return t.consume(b),v;let A=t.exit("attentionSequence"),w=ps(b),T=!w||w===2&&o||e.includes(b),N=!o||o===2&&w||e.includes(s);return A._open=Boolean(f===42?T:T&&(o||!N)),A._close=Boolean(f===42?N:N&&(w||!T)),n(b)}}function tm(t,n){t.column+=n,t.offset+=n,t._bufferIndex+=n}var yu={name:"autolink",tokenize:pw};function pw(t,n,e){let s=1;return o;function o(L){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(L),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),f}function f(L){return br(L)?(t.consume(L),h):gu(L)?A(L):e(L)}function h(L){return L===43||L===45||L===46||er(L)?v(L):A(L)}function v(L){return L===58?(t.consume(L),b):(L===43||L===45||L===46||er(L))&&s++<32?(t.consume(L),v):A(L)}function b(L){return L===62?(t.exit("autolinkProtocol"),R(L)):L===null||L===32||L===60||cn(L)?e(L):(t.consume(L),b)}function A(L){return L===64?(t.consume(L),s=0,w):gu(L)?(t.consume(L),A):e(L)}function w(L){return er(L)?T(L):e(L)}function T(L){return L===46?(t.consume(L),s=0,w):L===62?(t.exit("autolinkProtocol").type="autolinkEmail",R(L)):N(L)}function N(L){return(L===45||er(L))&&s++<63?(t.consume(L),L===45?N:T):e(L)}function R(L){return t.enter("autolinkMarker"),t.consume(L),t.exit("autolinkMarker"),t.exit("autolink"),n}}var Mi={tokenize:mw,partial:!0};function mw(t,n,e){return Fe(t,s,"linePrefix");function s(o){return o===null||ge(o)?n(o):e(o)}}var ko={name:"blockQuote",tokenize:gw,continuation:{tokenize:yw},exit:vw};function gw(t,n,e){let s=this;return o;function o(h){if(h===62){let v=s.containerState;return v.open||(t.enter("blockQuote",{_container:!0}),v.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(h),t.exit("blockQuoteMarker"),f}return e(h)}function f(h){return et(h)?(t.enter("blockQuotePrefixWhitespace"),t.consume(h),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),n):(t.exit("blockQuotePrefix"),n(h))}}function yw(t,n,e){return Fe(t,t.attempt(ko,n,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vw(t){t.exit("blockQuote")}var Co={name:"characterEscape",tokenize:bw};function bw(t,n,e){return s;function s(f){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(f),t.exit("escapeMarker"),o}function o(f){return Zp(f)?(t.enter("characterEscapeValue"),t.consume(f),t.exit("characterEscapeValue"),t.exit("characterEscape"),n):e(f)}}var vu={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:`
23
- `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var ww={}.hasOwnProperty;function ms(t){return ww.call(vu,t)?vu[t]:!1}var _o={name:"characterReference",tokenize:$w};function $w(t,n,e){let s=this,o=0,f,h;return v;function v(T){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(T),t.exit("characterReferenceMarker"),b}function b(T){return T===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(T),t.exit("characterReferenceMarkerNumeric"),A):(t.enter("characterReferenceValue"),f=31,h=er,w(T))}function A(T){return T===88||T===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(T),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),f=6,h=Qp,w):(t.enter("characterReferenceValue"),f=7,h=qn,w(T))}function w(T){let N;return T===59&&o?(N=t.exit("characterReferenceValue"),h===er&&!ms(s.sliceSerialize(N))?e(T):(t.enter("characterReferenceMarker"),t.consume(T),t.exit("characterReferenceMarker"),t.exit("characterReference"),n)):h(T)&&o++<f?(t.consume(T),w):e(T)}}var Eo={name:"codeFenced",tokenize:Aw,concrete:!0};function Aw(t,n,e){let s=this,o={tokenize:ye,partial:!0},f={tokenize:xe,partial:!0},h=this.events[this.events.length-1],v=h&&h[1].type==="linePrefix"?h[2].sliceSerialize(h[1],!0).length:0,b=0,A;return w;function w(le){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),A=le,T(le)}function T(le){return le===A?(t.consume(le),b++,T):(t.exit("codeFencedFenceSequence"),b<3?e(le):Fe(t,N,"whitespace")(le))}function N(le){return le===null||ge(le)?G(le):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),R(le))}function R(le){return le===null||ut(le)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Fe(t,L,"whitespace")(le)):le===96&&le===A?e(le):(t.consume(le),R)}function L(le){return le===null||ge(le)?G(le):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),V(le))}function V(le){return le===null||ge(le)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),G(le)):le===96&&le===A?e(le):(t.consume(le),V)}function G(le){return t.exit("codeFencedFence"),s.interrupt?n(le):K(le)}function K(le){return le===null?ce(le):ge(le)?t.attempt(f,t.attempt(o,ce,v?Fe(t,K,"linePrefix",v+1):K),ce)(le):(t.enter("codeFlowValue"),re(le))}function re(le){return le===null||ge(le)?(t.exit("codeFlowValue"),K(le)):(t.consume(le),re)}function ce(le){return t.exit("codeFenced"),n(le)}function xe(le,de,Te){let Ae=this;return Ze;function Ze(ze){return le.enter("lineEnding"),le.consume(ze),le.exit("lineEnding"),qe}function qe(ze){return Ae.parser.lazy[Ae.now().line]?Te(ze):de(ze)}}function ye(le,de,Te){let Ae=0;return Fe(le,Ze,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Ze(we){return le.enter("codeFencedFence"),le.enter("codeFencedFenceSequence"),qe(we)}function qe(we){return we===A?(le.consume(we),Ae++,qe):Ae<b?Te(we):(le.exit("codeFencedFenceSequence"),Fe(le,ze,"whitespace")(we))}function ze(we){return we===null||ge(we)?(le.exit("codeFencedFence"),de(we)):Te(we)}}}var da={name:"codeIndented",tokenize:kw},xw={tokenize:Cw,partial:!0};function kw(t,n,e){let s=this;return o;function o(A){return t.enter("codeIndented"),Fe(t,f,"linePrefix",4+1)(A)}function f(A){let w=s.events[s.events.length-1];return w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?h(A):e(A)}function h(A){return A===null?b(A):ge(A)?t.attempt(xw,h,b)(A):(t.enter("codeFlowValue"),v(A))}function v(A){return A===null||ge(A)?(t.exit("codeFlowValue"),h(A)):(t.consume(A),v)}function b(A){return t.exit("codeIndented"),n(A)}}function Cw(t,n,e){let s=this;return o;function o(h){return s.parser.lazy[s.now().line]?e(h):ge(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),o):Fe(t,f,"linePrefix",4+1)(h)}function f(h){let v=s.events[s.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?n(h):ge(h)?o(h):e(h)}}var bu={name:"codeText",tokenize:Sw,resolve:_w,previous:Ew};function _w(t){let n=t.length-4,e=3,s,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[n][1].type==="lineEnding"||t[n][1].type==="space")){for(s=e;++s<n;)if(t[s][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[n][1].type="codeTextPadding",e+=2,n-=2;break}}for(s=e-1,n++;++s<=n;)o===void 0?s!==n&&t[s][1].type!=="lineEnding"&&(o=s):(s===n||t[s][1].type==="lineEnding")&&(t[o][1].type="codeTextData",s!==o+2&&(t[o][1].end=t[s-1][1].end,t.splice(o+2,s-o-2),n-=s-o-2,s=o+2),o=void 0);return t}function Ew(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Sw(t,n,e){let s=this,o=0,f,h;return v;function v(N){return t.enter("codeText"),t.enter("codeTextSequence"),b(N)}function b(N){return N===96?(t.consume(N),o++,b):(t.exit("codeTextSequence"),A(N))}function A(N){return N===null?e(N):N===96?(h=t.enter("codeTextSequence"),f=0,T(N)):N===32?(t.enter("space"),t.consume(N),t.exit("space"),A):ge(N)?(t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),A):(t.enter("codeTextData"),w(N))}function w(N){return N===null||N===32||N===96||ge(N)?(t.exit("codeTextData"),A(N)):(t.consume(N),w)}function T(N){return N===96?(t.consume(N),f++,T):f===o?(t.exit("codeTextSequence"),t.exit("codeText"),n(N)):(h.type="codeTextData",w(N))}}function So(t){let n={},e=-1,s,o,f,h,v,b,A;for(;++e<t.length;){for(;e in n;)e=n[e];if(s=t[e],e&&s[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(b=s[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type==="lineEndingBlank"&&(f+=2),f<b.length&&b[f][1].type==="content"))for(;++f<b.length&&b[f][1].type!=="content";)b[f][1].type==="chunkText"&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(s[0]==="enter")s[1].contentType&&(Object.assign(n,Tw(t,e)),e=n[e],A=!0);else if(s[1]._container){for(f=e,o=void 0;f--&&(h=t[f],h[1].type==="lineEnding"||h[1].type==="lineEndingBlank");)h[0]==="enter"&&(o&&(t[o][1].type="lineEndingBlank"),h[1].type="lineEnding",o=f);o&&(s[1].end=Object.assign({},t[o][1].start),v=t.slice(o,e),v.unshift(s),Mt(t,o,e-o+1,v))}}return!A}function Tw(t,n){let e=t[n][1],s=t[n][2],o=n-1,f=[],h=e._tokenizer||s.parser[e.contentType](e.start),v=h.events,b=[],A={},w,T,N=-1,R=e,L=0,V=0,G=[V];for(;R;){for(;t[++o][1]!==R;);f.push(o),R._tokenizer||(w=s.sliceStream(R),R.next||w.push(null),T&&h.defineSkip(R.start),R._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(w),R._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),T=R,R=R.next}for(R=e;++N<v.length;)v[N][0]==="exit"&&v[N-1][0]==="enter"&&v[N][1].type===v[N-1][1].type&&v[N][1].start.line!==v[N][1].end.line&&(V=N+1,G.push(V),R._tokenizer=void 0,R.previous=void 0,R=R.next);for(h.events=[],R?(R._tokenizer=void 0,R.previous=void 0):G.pop(),N=G.length;N--;){let K=v.slice(G[N],G[N+1]),re=f.pop();b.unshift([re,re+K.length-1]),Mt(t,re,2,K)}for(N=-1;++N<b.length;)A[L+b[N][0]]=L+b[N][1],L+=b[N][1]-b[N][0]-1;return A}var wu={tokenize:Dw,resolve:Fw},Pw={tokenize:Iw,partial:!0};function Fw(t){return So(t),t}function Dw(t,n){let e;return s;function s(v){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),o(v)}function o(v){return v===null?f(v):ge(v)?t.check(Pw,h,f)(v):(t.consume(v),o)}function f(v){return t.exit("chunkContent"),t.exit("content"),n(v)}function h(v){return t.consume(v),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,o}}function Iw(t,n,e){let s=this;return o;function o(h){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),Fe(t,f,"linePrefix")}function f(h){if(h===null||ge(h))return e(h);let v=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?n(h):t.interrupt(s.parser.constructs.flow,e,n)(h)}}function To(t,n,e,s,o,f,h,v,b){let A=b||Number.POSITIVE_INFINITY,w=0;return T;function T(K){return K===60?(t.enter(s),t.enter(o),t.enter(f),t.consume(K),t.exit(f),N):K===null||K===41||cn(K)?e(K):(t.enter(s),t.enter(h),t.enter(v),t.enter("chunkString",{contentType:"string"}),V(K))}function N(K){return K===62?(t.enter(f),t.consume(K),t.exit(f),t.exit(o),t.exit(s),n):(t.enter(v),t.enter("chunkString",{contentType:"string"}),R(K))}function R(K){return K===62?(t.exit("chunkString"),t.exit(v),N(K)):K===null||K===60||ge(K)?e(K):(t.consume(K),K===92?L:R)}function L(K){return K===60||K===62||K===92?(t.consume(K),R):R(K)}function V(K){return K===40?++w>A?e(K):(t.consume(K),V):K===41?w--?(t.consume(K),V):(t.exit("chunkString"),t.exit(v),t.exit(h),t.exit(s),n(K)):K===null||ut(K)?w?e(K):(t.exit("chunkString"),t.exit(v),t.exit(h),t.exit(s),n(K)):cn(K)?e(K):(t.consume(K),K===92?G:V)}function G(K){return K===40||K===41||K===92?(t.consume(K),V):V(K)}}function Po(t,n,e,s,o,f){let h=this,v=0,b;return A;function A(R){return t.enter(s),t.enter(o),t.consume(R),t.exit(o),t.enter(f),w}function w(R){return R===null||R===91||R===93&&!b||R===94&&!v&&"_hiddenFootnoteSupport"in h.parser.constructs||v>999?e(R):R===93?(t.exit(f),t.enter(o),t.consume(R),t.exit(o),t.exit(s),n):ge(R)?(t.enter("lineEnding"),t.consume(R),t.exit("lineEnding"),w):(t.enter("chunkString",{contentType:"string"}),T(R))}function T(R){return R===null||R===91||R===93||ge(R)||v++>999?(t.exit("chunkString"),w(R)):(t.consume(R),b=b||!et(R),R===92?N:T)}function N(R){return R===91||R===92||R===93?(t.consume(R),v++,T):T(R)}}function Fo(t,n,e,s,o,f){let h;return v;function v(N){return t.enter(s),t.enter(o),t.consume(N),t.exit(o),h=N===40?41:N,b}function b(N){return N===h?(t.enter(o),t.consume(N),t.exit(o),t.exit(s),n):(t.enter(f),A(N))}function A(N){return N===h?(t.exit(f),b(h)):N===null?e(N):ge(N)?(t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),Fe(t,A,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),w(N))}function w(N){return N===h||N===null||ge(N)?(t.exit("chunkString"),A(N)):(t.consume(N),N===92?T:w)}function T(N){return N===h||N===92?(t.consume(N),w):w(N)}}function Ln(t,n){let e;return s;function s(o){return ge(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e=!0,s):et(o)?Fe(t,s,e?"linePrefix":"lineSuffix")(o):n(o)}}function wr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var $u={name:"definition",tokenize:qw},Ow={tokenize:Rw,partial:!0};function qw(t,n,e){let s=this,o;return f;function f(b){return t.enter("definition"),Po.call(s,t,h,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function h(b){return o=wr(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),b===58?(t.enter("definitionMarker"),t.consume(b),t.exit("definitionMarker"),Ln(t,To(t,t.attempt(Ow,Fe(t,v,"whitespace"),Fe(t,v,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(b)}function v(b){return b===null||ge(b)?(t.exit("definition"),s.parser.defined.includes(o)||s.parser.defined.push(o),n(b)):e(b)}}function Rw(t,n,e){return s;function s(h){return ut(h)?Ln(t,o)(h):e(h)}function o(h){return h===34||h===39||h===40?Fo(t,Fe(t,f,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(h):e(h)}function f(h){return h===null||ge(h)?n(h):e(h)}}var Au={name:"hardBreakEscape",tokenize:Nw};function Nw(t,n,e){return s;function s(f){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(f),o}function o(f){return ge(f)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),n(f)):e(f)}}var xu={name:"headingAtx",tokenize:Mw,resolve:Lw};function Lw(t,n){let e=t.length-2,s=3,o,f;return t[s][1].type==="whitespace"&&(s+=2),e-2>s&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(s===e-1||e-4>s&&t[e-2][1].type==="whitespace")&&(e-=s+1===e?2:4),e>s&&(o={type:"atxHeadingText",start:t[s][1].start,end:t[e][1].end},f={type:"chunkText",start:t[s][1].start,end:t[e][1].end,contentType:"text"},Mt(t,s,e-s+1,[["enter",o,n],["enter",f,n],["exit",f,n],["exit",o,n]])),t}function Mw(t,n,e){let s=this,o=0;return f;function f(w){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),h(w)}function h(w){return w===35&&o++<6?(t.consume(w),h):w===null||ut(w)?(t.exit("atxHeadingSequence"),s.interrupt?n(w):v(w)):e(w)}function v(w){return w===35?(t.enter("atxHeadingSequence"),b(w)):w===null||ge(w)?(t.exit("atxHeading"),n(w)):et(w)?Fe(t,v,"whitespace")(w):(t.enter("atxHeadingText"),A(w))}function b(w){return w===35?(t.consume(w),b):(t.exit("atxHeadingSequence"),v(w))}function A(w){return w===null||w===35||ut(w)?(t.exit("atxHeadingText"),v(w)):(t.consume(w),A)}}var rm=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ku=["pre","script","style","textarea"];var Cu={name:"htmlFlow",tokenize:Bw,resolveTo:jw,concrete:!0},zw={tokenize:Vw,partial:!0};function jw(t){let n=t.length;for(;n--&&!(t[n][0]==="enter"&&t[n][1].type==="htmlFlow"););return n>1&&t[n-2][1].type==="linePrefix"&&(t[n][1].start=t[n-2][1].start,t[n+1][1].start=t[n-2][1].start,t.splice(n-2,2)),t}function Bw(t,n,e){let s=this,o,f,h,v,b;return A;function A(J){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(J),w}function w(J){return J===33?(t.consume(J),T):J===47?(t.consume(J),L):J===63?(t.consume(J),o=3,s.interrupt?n:_t):br(J)?(t.consume(J),h=String.fromCharCode(J),f=!0,V):e(J)}function T(J){return J===45?(t.consume(J),o=2,N):J===91?(t.consume(J),o=5,h="CDATA[",v=0,R):br(J)?(t.consume(J),o=4,s.interrupt?n:_t):e(J)}function N(J){return J===45?(t.consume(J),s.interrupt?n:_t):e(J)}function R(J){return J===h.charCodeAt(v++)?(t.consume(J),v===h.length?s.interrupt?n:qe:R):e(J)}function L(J){return br(J)?(t.consume(J),h=String.fromCharCode(J),V):e(J)}function V(J){return J===null||J===47||J===62||ut(J)?J!==47&&f&&ku.includes(h.toLowerCase())?(o=1,s.interrupt?n(J):qe(J)):rm.includes(h.toLowerCase())?(o=6,J===47?(t.consume(J),G):s.interrupt?n(J):qe(J)):(o=7,s.interrupt&&!s.parser.lazy[s.now().line]?e(J):f?re(J):K(J)):J===45||er(J)?(t.consume(J),h+=String.fromCharCode(J),V):e(J)}function G(J){return J===62?(t.consume(J),s.interrupt?n:qe):e(J)}function K(J){return et(J)?(t.consume(J),K):Ae(J)}function re(J){return J===47?(t.consume(J),Ae):J===58||J===95||br(J)?(t.consume(J),ce):et(J)?(t.consume(J),re):Ae(J)}function ce(J){return J===45||J===46||J===58||J===95||er(J)?(t.consume(J),ce):xe(J)}function xe(J){return J===61?(t.consume(J),ye):et(J)?(t.consume(J),xe):re(J)}function ye(J){return J===null||J===60||J===61||J===62||J===96?e(J):J===34||J===39?(t.consume(J),b=J,le):et(J)?(t.consume(J),ye):(b=null,de(J))}function le(J){return J===null||ge(J)?e(J):J===b?(t.consume(J),Te):(t.consume(J),le)}function de(J){return J===null||J===34||J===39||J===60||J===61||J===62||J===96||ut(J)?xe(J):(t.consume(J),de)}function Te(J){return J===47||J===62||et(J)?re(J):e(J)}function Ae(J){return J===62?(t.consume(J),Ze):e(J)}function Ze(J){return et(J)?(t.consume(J),Ze):J===null||ge(J)?qe(J):e(J)}function qe(J){return J===45&&o===2?(t.consume(J),nt):J===60&&o===1?(t.consume(J),ne):J===62&&o===4?(t.consume(J),ct):J===63&&o===3?(t.consume(J),_t):J===93&&o===5?(t.consume(J),st):ge(J)&&(o===6||o===7)?t.check(zw,ct,ze)(J):J===null||ge(J)?ze(J):(t.consume(J),qe)}function ze(J){return t.exit("htmlFlowData"),we(J)}function we(J){return J===null?W(J):ge(J)?t.attempt({tokenize:Re,partial:!0},we,W)(J):(t.enter("htmlFlowData"),qe(J))}function Re(J,xr,Ht){return Ft;function Ft(Rt){return J.enter("lineEnding"),J.consume(Rt),J.exit("lineEnding"),zt}function zt(Rt){return s.parser.lazy[s.now().line]?Ht(Rt):xr(Rt)}}function nt(J){return J===45?(t.consume(J),_t):qe(J)}function ne(J){return J===47?(t.consume(J),h="",Ct):qe(J)}function Ct(J){return J===62&&ku.includes(h.toLowerCase())?(t.consume(J),ct):br(J)&&h.length<8?(t.consume(J),h+=String.fromCharCode(J),Ct):qe(J)}function st(J){return J===93?(t.consume(J),_t):qe(J)}function _t(J){return J===62?(t.consume(J),ct):J===45&&o===2?(t.consume(J),_t):qe(J)}function ct(J){return J===null||ge(J)?(t.exit("htmlFlowData"),W(J)):(t.consume(J),ct)}function W(J){return t.exit("htmlFlow"),n(J)}}function Vw(t,n,e){return s;function s(o){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),t.attempt(Mi,n,e)}}var _u={name:"htmlText",tokenize:Uw};function Uw(t,n,e){let s=this,o,f,h,v;return b;function b(W){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(W),A}function A(W){return W===33?(t.consume(W),w):W===47?(t.consume(W),de):W===63?(t.consume(W),ye):br(W)?(t.consume(W),Ze):e(W)}function w(W){return W===45?(t.consume(W),T):W===91?(t.consume(W),f="CDATA[",h=0,G):br(W)?(t.consume(W),xe):e(W)}function T(W){return W===45?(t.consume(W),N):e(W)}function N(W){return W===null||W===62?e(W):W===45?(t.consume(W),R):L(W)}function R(W){return W===null||W===62?e(W):L(W)}function L(W){return W===null?e(W):W===45?(t.consume(W),V):ge(W)?(v=L,st(W)):(t.consume(W),L)}function V(W){return W===45?(t.consume(W),ct):L(W)}function G(W){return W===f.charCodeAt(h++)?(t.consume(W),h===f.length?K:G):e(W)}function K(W){return W===null?e(W):W===93?(t.consume(W),re):ge(W)?(v=K,st(W)):(t.consume(W),K)}function re(W){return W===93?(t.consume(W),ce):K(W)}function ce(W){return W===62?ct(W):W===93?(t.consume(W),ce):K(W)}function xe(W){return W===null||W===62?ct(W):ge(W)?(v=xe,st(W)):(t.consume(W),xe)}function ye(W){return W===null?e(W):W===63?(t.consume(W),le):ge(W)?(v=ye,st(W)):(t.consume(W),ye)}function le(W){return W===62?ct(W):ye(W)}function de(W){return br(W)?(t.consume(W),Te):e(W)}function Te(W){return W===45||er(W)?(t.consume(W),Te):Ae(W)}function Ae(W){return ge(W)?(v=Ae,st(W)):et(W)?(t.consume(W),Ae):ct(W)}function Ze(W){return W===45||er(W)?(t.consume(W),Ze):W===47||W===62||ut(W)?qe(W):e(W)}function qe(W){return W===47?(t.consume(W),ct):W===58||W===95||br(W)?(t.consume(W),ze):ge(W)?(v=qe,st(W)):et(W)?(t.consume(W),qe):ct(W)}function ze(W){return W===45||W===46||W===58||W===95||er(W)?(t.consume(W),ze):we(W)}function we(W){return W===61?(t.consume(W),Re):ge(W)?(v=we,st(W)):et(W)?(t.consume(W),we):qe(W)}function Re(W){return W===null||W===60||W===61||W===62||W===96?e(W):W===34||W===39?(t.consume(W),o=W,nt):ge(W)?(v=Re,st(W)):et(W)?(t.consume(W),Re):(t.consume(W),o=void 0,Ct)}function nt(W){return W===o?(t.consume(W),ne):W===null?e(W):ge(W)?(v=nt,st(W)):(t.consume(W),nt)}function ne(W){return W===62||W===47||ut(W)?qe(W):e(W)}function Ct(W){return W===null||W===34||W===39||W===60||W===61||W===96?e(W):W===62||ut(W)?qe(W):(t.consume(W),Ct)}function st(W){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(W),t.exit("lineEnding"),Fe(t,_t,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _t(W){return t.enter("htmlTextData"),v(W)}function ct(W){return W===62?(t.consume(W),t.exit("htmlTextData"),t.exit("htmlText"),n):e(W)}}var Mn={name:"labelEnd",tokenize:Qw,resolveTo:Jw,resolveAll:Ww},Hw={tokenize:Zw},Gw={tokenize:Xw},Kw={tokenize:Yw};function Ww(t){let n=-1,e;for(;++n<t.length;)e=t[n][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(n+1,e.type==="labelImage"?4:2),e.type="data",n++);return t}function Jw(t,n){let e=t.length,s=0,o,f,h,v;for(;e--;)if(o=t[e][1],f){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[e][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(h){if(t[e][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(f=e,o.type!=="labelLink")){s=2;break}}else o.type==="labelEnd"&&(h=e);let b={type:t[f][1].type==="labelLink"?"link":"image",start:Object.assign({},t[f][1].start),end:Object.assign({},t[t.length-1][1].end)},A={type:"label",start:Object.assign({},t[f][1].start),end:Object.assign({},t[h][1].end)},w={type:"labelText",start:Object.assign({},t[f+s+2][1].end),end:Object.assign({},t[h-2][1].start)};return v=[["enter",b,n],["enter",A,n]],v=Dr(v,t.slice(f+1,f+s+3)),v=Dr(v,[["enter",w,n]]),v=Dr(v,dn(n.parser.constructs.insideSpan.null,t.slice(f+s+4,h-3),n)),v=Dr(v,[["exit",w,n],t[h-2],t[h-1],["exit",A,n]]),v=Dr(v,t.slice(h+1)),v=Dr(v,[["exit",b,n]]),Mt(t,f,t.length,v),t}function Qw(t,n,e){let s=this,o=s.events.length,f,h;for(;o--;)if((s.events[o][1].type==="labelImage"||s.events[o][1].type==="labelLink")&&!s.events[o][1]._balanced){f=s.events[o][1];break}return v;function v(w){return f?f._inactive?A(w):(h=s.parser.defined.includes(wr(s.sliceSerialize({start:f.end,end:s.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(w),t.exit("labelMarker"),t.exit("labelEnd"),b):e(w)}function b(w){return w===40?t.attempt(Hw,n,h?n:A)(w):w===91?t.attempt(Gw,n,h?t.attempt(Kw,n,A):A)(w):h?n(w):A(w)}function A(w){return f._balanced=!0,e(w)}}function Zw(t,n,e){return s;function s(b){return t.enter("resource"),t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),Ln(t,o)}function o(b){return b===41?v(b):To(t,f,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function f(b){return ut(b)?Ln(t,h)(b):v(b)}function h(b){return b===34||b===39||b===40?Fo(t,Ln(t,v),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):v(b)}function v(b){return b===41?(t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),t.exit("resource"),n):e(b)}}function Xw(t,n,e){let s=this;return o;function o(h){return Po.call(s,t,f,e,"reference","referenceMarker","referenceString")(h)}function f(h){return s.parser.defined.includes(wr(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n(h):e(h)}}function Yw(t,n,e){return s;function s(f){return t.enter("reference"),t.enter("referenceMarker"),t.consume(f),t.exit("referenceMarker"),o}function o(f){return f===93?(t.enter("referenceMarker"),t.consume(f),t.exit("referenceMarker"),t.exit("reference"),n):e(f)}}var Eu={name:"labelStartImage",tokenize:e$,resolveAll:Mn.resolveAll};function e$(t,n,e){let s=this;return o;function o(v){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(v),t.exit("labelImageMarker"),f}function f(v){return v===91?(t.enter("labelMarker"),t.consume(v),t.exit("labelMarker"),t.exit("labelImage"),h):e(v)}function h(v){return v===94&&"_hiddenFootnoteSupport"in s.parser.constructs?e(v):n(v)}}var Su={name:"labelStartLink",tokenize:t$,resolveAll:Mn.resolveAll};function t$(t,n,e){let s=this;return o;function o(h){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelLink"),f}function f(h){return h===94&&"_hiddenFootnoteSupport"in s.parser.constructs?e(h):n(h)}}var pa={name:"lineEnding",tokenize:r$};function r$(t,n){return e;function e(s){return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Fe(t,n,"linePrefix")}}var zn={name:"thematicBreak",tokenize:i$};function i$(t,n,e){let s=0,o;return f;function f(b){return t.enter("thematicBreak"),o=b,h(b)}function h(b){return b===o?(t.enter("thematicBreakSequence"),v(b)):et(b)?Fe(t,h,"whitespace")(b):s<3||b!==null&&!ge(b)?e(b):(t.exit("thematicBreak"),n(b))}function v(b){return b===o?(t.consume(b),s++,v):(t.exit("thematicBreakSequence"),h(b))}}var $r={name:"list",tokenize:a$,continuation:{tokenize:o$},exit:f$},n$={tokenize:u$,partial:!0},s$={tokenize:l$,partial:!0};function a$(t,n,e){let s=this,o=s.events[s.events.length-1],f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,h=0;return v;function v(R){let L=s.containerState.type||(R===42||R===43||R===45?"listUnordered":"listOrdered");if(L==="listUnordered"?!s.containerState.marker||R===s.containerState.marker:qn(R)){if(s.containerState.type||(s.containerState.type=L,t.enter(L,{_container:!0})),L==="listUnordered")return t.enter("listItemPrefix"),R===42||R===45?t.check(zn,e,A)(R):A(R);if(!s.interrupt||R===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),b(R)}return e(R)}function b(R){return qn(R)&&++h<10?(t.consume(R),b):(!s.interrupt||h<2)&&(s.containerState.marker?R===s.containerState.marker:R===41||R===46)?(t.exit("listItemValue"),A(R)):e(R)}function A(R){return t.enter("listItemMarker"),t.consume(R),t.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||R,t.check(Mi,s.interrupt?e:w,t.attempt(n$,N,T))}function w(R){return s.containerState.initialBlankLine=!0,f++,N(R)}function T(R){return et(R)?(t.enter("listItemPrefixWhitespace"),t.consume(R),t.exit("listItemPrefixWhitespace"),N):e(R)}function N(R){return s.containerState.size=f+s.sliceSerialize(t.exit("listItemPrefix"),!0).length,n(R)}}function o$(t,n,e){let s=this;return s.containerState._closeFlow=void 0,t.check(Mi,o,f);function o(v){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Fe(t,n,"listItemIndent",s.containerState.size+1)(v)}function f(v){return s.containerState.furtherBlankLines||!et(v)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,h(v)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,t.attempt(s$,n,h)(v))}function h(v){return s.containerState._closeFlow=!0,s.interrupt=void 0,Fe(t,t.attempt($r,n,e),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v)}}function l$(t,n,e){let s=this;return Fe(t,o,"listItemIndent",s.containerState.size+1);function o(f){let h=s.events[s.events.length-1];return h&&h[1].type==="listItemIndent"&&h[2].sliceSerialize(h[1],!0).length===s.containerState.size?n(f):e(f)}}function f$(t){t.exit(this.containerState.type)}function u$(t,n,e){let s=this;return Fe(t,o,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function o(f){let h=s.events[s.events.length-1];return!et(f)&&h&&h[1].type==="listItemPrefixWhitespace"?n(f):e(f)}}var Do={name:"setextUnderline",tokenize:h$,resolveTo:c$};function c$(t,n){let e=t.length,s,o,f;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){s=e;break}t[e][1].type==="paragraph"&&(o=e)}else t[e][1].type==="content"&&t.splice(e,1),!f&&t[e][1].type==="definition"&&(f=e);let h={type:"setextHeading",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[o][1].type="setextHeadingText",f?(t.splice(o,0,["enter",h,n]),t.splice(f+1,0,["exit",t[s][1],n]),t[s][1].end=Object.assign({},t[f][1].end)):t[s][1]=h,t.push(["exit",h,n]),t}function h$(t,n,e){let s=this,o=s.events.length,f,h;for(;o--;)if(s.events[o][1].type!=="lineEnding"&&s.events[o][1].type!=="linePrefix"&&s.events[o][1].type!=="content"){h=s.events[o][1].type==="paragraph";break}return v;function v(w){return!s.parser.lazy[s.now().line]&&(s.interrupt||h)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),f=w,b(w)):e(w)}function b(w){return w===f?(t.consume(w),b):(t.exit("setextHeadingLineSequence"),Fe(t,A,"lineSuffix")(w))}function A(w){return w===null||ge(w)?(t.exit("setextHeadingLine"),n(w)):e(w)}}var im={tokenize:d$};function d$(t){let n=this,e=t.attempt(Mi,s,t.attempt(this.parser.constructs.flowInitial,o,Fe(t,t.attempt(this.parser.constructs.flow,o,t.attempt(wu,o)),"linePrefix")));return e;function s(f){if(f===null){t.consume(f);return}return t.enter("lineEndingBlank"),t.consume(f),t.exit("lineEndingBlank"),n.currentConstruct=void 0,e}function o(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),n.currentConstruct=void 0,e}}var nm={resolveAll:lm()},sm=om("string"),am=om("text");function om(t){return{tokenize:n,resolveAll:lm(t==="text"?p$:void 0)};function n(e){let s=this,o=this.parser.constructs[t],f=e.attempt(o,h,v);return h;function h(w){return A(w)?f(w):v(w)}function v(w){if(w===null){e.consume(w);return}return e.enter("data"),e.consume(w),b}function b(w){return A(w)?(e.exit("data"),f(w)):(e.consume(w),b)}function A(w){if(w===null)return!0;let T=o[w],N=-1;if(T)for(;++N<T.length;){let R=T[N];if(!R.previous||R.previous.call(s,s.previous))return!0}return!1}}}function lm(t){return n;function n(e,s){let o=-1,f;for(;++o<=e.length;)f===void 0?e[o]&&e[o][1].type==="data"&&(f=o,o++):(!e[o]||e[o][1].type!=="data")&&(o!==f+2&&(e[f][1].end=e[o-1][1].end,e.splice(f+2,o-f-2),o=f+2),f=void 0);return t?t(e,s):e}}function p$(t,n){let e=0;for(;++e<=t.length;)if((e===t.length||t[e][1].type==="lineEnding")&&t[e-1][1].type==="data"){let s=t[e-1][1],o=n.sliceStream(s),f=o.length,h=-1,v=0,b;for(;f--;){let A=o[f];if(typeof A=="string"){for(h=A.length;A.charCodeAt(h-1)===32;)v++,h--;if(h)break;h=-1}else if(A===-2)b=!0,v++;else if(A!==-1){f++;break}}if(v){let A={type:e===t.length||b||v<2?"lineSuffix":"hardBreakTrailing",start:{line:s.end.line,column:s.end.column-v,offset:s.end.offset-v,_index:s.start._index+f,_bufferIndex:f?h:s.start._bufferIndex+h},end:Object.assign({},s.end)};s.end=Object.assign({},A.start),s.start.offset===s.end.offset?Object.assign(s,A):(t.splice(e,0,["enter",A,n],["exit",A,n]),e+=2)}e++}return t}function fm(t,n,e){let s=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},f=[],h=[],v=[],b=!0,A={consume:xe,enter:ye,exit:le,attempt:Ae(de),check:Ae(Te),interrupt:Ae(Te,{interrupt:!0})},w={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:V,sliceSerialize:L,now:G,defineSkip:K,write:R},T=n.tokenize.call(w,A),N;return n.resolveAll&&f.push(n),w;function R(we){return h=Dr(h,we),re(),h[h.length-1]!==null?[]:(Ze(n,0),w.events=dn(f,w.events,w),w.events)}function L(we,Re){return g$(V(we),Re)}function V(we){return m$(h,we)}function G(){return Object.assign({},s)}function K(we){o[we.line]=we.column,ze()}function re(){let we;for(;s._index<h.length;){let Re=h[s._index];if(typeof Re=="string")for(we=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===we&&s._bufferIndex<Re.length;)ce(Re.charCodeAt(s._bufferIndex));else ce(Re)}}function ce(we){b=void 0,N=we,T=T(we)}function xe(we){ge(we)?(s.line++,s.column=1,s.offset+=we===-3?2:1,ze()):we!==-1&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===h[s._index].length&&(s._bufferIndex=-1,s._index++)),w.previous=we,b=!0}function ye(we,Re){let nt=Re||{};return nt.type=we,nt.start=G(),w.events.push(["enter",nt,w]),v.push(nt),nt}function le(we){let Re=v.pop();return Re.end=G(),w.events.push(["exit",Re,w]),Re}function de(we,Re){Ze(we,Re.from)}function Te(we,Re){Re.restore()}function Ae(we,Re){return nt;function nt(ne,Ct,st){let _t,ct,W,J;return Array.isArray(ne)?Ht(ne):"tokenize"in ne?Ht([ne]):xr(ne);function xr(mt){return kr;function kr(Gt){let fr=Gt!==null&&mt[Gt],Br=Gt!==null&&mt.null,fi=[...Array.isArray(fr)?fr:fr?[fr]:[],...Array.isArray(Br)?Br:Br?[Br]:[]];return Ht(fi)(Gt)}}function Ht(mt){return _t=mt,ct=0,mt.length===0?st:Ft(mt[ct])}function Ft(mt){return kr;function kr(Gt){return J=qe(),W=mt,mt.partial||(w.currentConstruct=mt),mt.name&&w.parser.constructs.disable.null.includes(mt.name)?Rt(Gt):mt.tokenize.call(Re?Object.assign(Object.create(w),Re):w,A,zt,Rt)(Gt)}}function zt(mt){return b=!0,we(W,J),Ct}function Rt(mt){return b=!0,J.restore(),++ct<_t.length?Ft(_t[ct]):st}}}function Ze(we,Re){we.resolveAll&&!f.includes(we)&&f.push(we),we.resolve&&Mt(w.events,Re,w.events.length-Re,we.resolve(w.events.slice(Re),w)),we.resolveTo&&(w.events=we.resolveTo(w.events,w))}function qe(){let we=G(),Re=w.previous,nt=w.currentConstruct,ne=w.events.length,Ct=Array.from(v);return{restore:st,from:ne};function st(){s=we,w.previous=Re,w.currentConstruct=nt,w.events.length=ne,v=Ct,ze()}}function ze(){s.line in o&&s.column<2&&(s.column=o[s.line],s.offset+=o[s.line]-1)}}function m$(t,n){let e=n.start._index,s=n.start._bufferIndex,o=n.end._index,f=n.end._bufferIndex,h;return e===o?h=[t[e].slice(s,f)]:(h=t.slice(e,o),s>-1&&(h[0]=h[0].slice(s)),f>0&&h.push(t[o].slice(0,f))),h}function g$(t,n){let e=-1,s=[],o;for(;++e<t.length;){let f=t[e],h;if(typeof f=="string")h=f;else switch(f){case-5:{h="\r";break}case-4:{h=`
24
- `;break}case-3:{h=`\r
25
- `;break}case-2:{h=n?" ":" ";break}case-1:{if(!n&&o)continue;h=" ";break}default:h=String.fromCharCode(f)}o=f===-2,s.push(h)}return s.join("")}var Tu={};xc(Tu,{attentionMarkers:()=>k$,contentInitial:()=>v$,disable:()=>C$,document:()=>y$,flow:()=>w$,flowInitial:()=>b$,insideSpan:()=>x$,string:()=>$$,text:()=>A$});var y$={[42]:$r,[43]:$r,[45]:$r,[48]:$r,[49]:$r,[50]:$r,[51]:$r,[52]:$r,[53]:$r,[54]:$r,[55]:$r,[56]:$r,[57]:$r,[62]:ko},v$={[91]:$u},b$={[-2]:da,[-1]:da,[32]:da},w$={[35]:xu,[42]:zn,[45]:[Do,zn],[60]:Cu,[61]:Do,[95]:zn,[96]:Eo,[126]:Eo},$$={[38]:_o,[92]:Co},A$={[-5]:pa,[-4]:pa,[-3]:pa,[33]:Eu,[38]:_o,[42]:ha,[60]:[yu,_u],[91]:Su,[92]:[Au,Co],[93]:Mn,[95]:ha,[96]:bu},x$={null:[ha,nm]},k$={null:[42,95]},C$={null:[]};function um(t={}){let n=xo([Tu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:n,content:s(Xp),document:s(em),flow:s(im),string:s(sm),text:s(am)};return e;function s(o){return f;function f(h){return fm(e,o,h)}}}var cm=/[\0\t\n\r]/g;function hm(){let t=1,n="",e=!0,s;return o;function o(f,h,v){let b=[],A,w,T,N,R;for(f=n+f.toString(h),T=0,n="",e&&(f.charCodeAt(0)===65279&&T++,e=void 0);T<f.length;){if(cm.lastIndex=T,A=cm.exec(f),N=A&&A.index!==void 0?A.index:f.length,R=f.charCodeAt(N),!A){n=f.slice(T);break}if(R===10&&T===N&&s)b.push(-3),s=void 0;else switch(s&&(b.push(-5),s=void 0),T<N&&(b.push(f.slice(T,N)),t+=N-T),R){case 0:{b.push(65533),t++;break}case 9:{for(w=Math.ceil(t/4)*4,b.push(-2);t++<w;)b.push(-1);break}case 10:{b.push(-4),t=1;break}default:s=!0,t=1}T=N+1}return v&&(s&&b.push(-5),n&&b.push(n),b.push(null)),b}}function dm(t){for(;!So(t););return t}function Io(t,n){let e=Number.parseInt(t,n);return e<9||e===11||e>13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)===65535||(e&65535)===65534||e>1114111?"\uFFFD":String.fromCharCode(e)}var _$=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Oo(t){return t.replace(_$,E$)}function E$(t,n,e){if(n)return n;if(e.charCodeAt(0)===35){let o=e.charCodeAt(1),f=o===120||o===88;return Io(e.slice(f?2:1),f?16:10)}return ms(e)||t}var Pu={}.hasOwnProperty,Fu=function(t,n,e){return typeof n!="string"&&(e=n,n=void 0),S$(e)(dm(um(e).document().write(hm()(t,n,!0))))};function S$(t={}){let n=mm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:b(tr),autolinkProtocol:ze,autolinkEmail:ze,atxHeading:b(Ti),blockQuote:b(Br),characterEscape:ze,characterReference:ze,codeFenced:b(fi),codeFencedFenceInfo:A,codeFencedFenceMeta:A,codeIndented:b(fi,A),codeText:b(ur,A),codeTextData:ze,data:ze,codeFlowValue:ze,definition:b(ui),definitionDestinationString:A,definitionLabelString:A,definitionTitleString:A,emphasis:b(Qr),hardBreakEscape:b(Pi),hardBreakTrailing:b(Pi),htmlFlow:b(ji,A),htmlFlowData:ze,htmlText:b(ji,A),htmlTextData:ze,image:b(fe),label:A,link:b(tr),listItem:b($e),listItemValue:V,listOrdered:b(Bi,L),listUnordered:b(Bi),paragraph:b(ve),reference:zt,referenceString:A,resourceDestinationString:A,resourceTitleString:A,setextHeading:b(Ti),strong:b(_e),thematicBreak:b(jt)},exit:{atxHeading:T(),atxHeadingSequence:Te,autolink:T(),autolinkEmail:fr,autolinkProtocol:Gt,blockQuote:T(),characterEscapeValue:we,characterReferenceMarkerHexadecimal:mt,characterReferenceMarkerNumeric:mt,characterReferenceValue:kr,codeFenced:T(ce),codeFencedFence:re,codeFencedFenceInfo:G,codeFencedFenceMeta:K,codeFlowValue:we,codeIndented:T(xe),codeText:T(st),codeTextData:we,data:we,definition:T(),definitionDestinationString:de,definitionLabelString:ye,definitionTitleString:le,emphasis:T(),hardBreakEscape:T(nt),hardBreakTrailing:T(nt),htmlFlow:T(ne),htmlFlowData:we,htmlText:T(Ct),htmlTextData:we,image:T(ct),label:J,labelText:W,lineEnding:Re,link:T(_t),listItem:T(),listOrdered:T(),listUnordered:T(),paragraph:T(),referenceString:Rt,resourceDestinationString:xr,resourceTitleString:Ht,resource:Ft,setextHeading:T(qe),setextHeadingLineSequence:Ze,setextHeadingText:Ae,strong:T(),thematicBreak:T()}},t.mdastExtensions||[]),e={};return s;function s(Z){let ie={type:"root",children:[]},ue=[ie],he=[],gt=[],Kt={stack:ue,tokenStack:he,config:n,enter:w,exit:N,buffer:A,resume:R,setData:f,getData:h},ht=-1;for(;++ht<Z.length;)if(Z[ht][1].type==="listOrdered"||Z[ht][1].type==="listUnordered")if(Z[ht][0]==="enter")gt.push(ht);else{let St=gt.pop();ht=o(Z,St,ht)}for(ht=-1;++ht<Z.length;){let St=n[Z[ht][0]];Pu.call(St,Z[ht][1].type)&&St[Z[ht][1].type].call(Object.assign({sliceSerialize:Z[ht][2].sliceSerialize},Kt),Z[ht][1])}if(he.length>0){let St=he[he.length-1];(St[1]||pm).call(Kt,void 0,St[0])}for(ie.position={start:v(Z.length>0?Z[0][1].start:{line:1,column:1,offset:0}),end:v(Z.length>0?Z[Z.length-2][1].end:{line:1,column:1,offset:0})},ht=-1;++ht<n.transforms.length;)ie=n.transforms[ht](ie)||ie;return ie}function o(Z,ie,ue){let he=ie-1,gt=-1,Kt=!1,ht,St,Nt,Zr;for(;++he<=ue;){let wt=Z[he];if(wt[1].type==="listUnordered"||wt[1].type==="listOrdered"||wt[1].type==="blockQuote"?(wt[0]==="enter"?gt++:gt--,Zr=void 0):wt[1].type==="lineEndingBlank"?wt[0]==="enter"&&(ht&&!Zr&&!gt&&!Nt&&(Nt=he),Zr=void 0):wt[1].type==="linePrefix"||wt[1].type==="listItemValue"||wt[1].type==="listItemMarker"||wt[1].type==="listItemPrefix"||wt[1].type==="listItemPrefixWhitespace"||(Zr=void 0),!gt&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||gt===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(ht){let Fi=he;for(St=void 0;Fi--;){let Qt=Z[Fi];if(Qt[1].type==="lineEnding"||Qt[1].type==="lineEndingBlank"){if(Qt[0]==="exit")continue;St&&(Z[St][1].type="lineEndingBlank",Kt=!0),Qt[1].type="lineEnding",St=Fi}else if(!(Qt[1].type==="linePrefix"||Qt[1].type==="blockQuotePrefix"||Qt[1].type==="blockQuotePrefixWhitespace"||Qt[1].type==="blockQuoteMarker"||Qt[1].type==="listItemIndent"))break}Nt&&(!St||Nt<St)&&(ht._spread=!0),ht.end=Object.assign({},St?Z[St][1].start:wt[1].end),Z.splice(St||he,0,["exit",ht,wt[2]]),he++,ue++}wt[1].type==="listItemPrefix"&&(ht={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start)},Z.splice(he,0,["enter",ht,wt[2]]),he++,ue++,Nt=void 0,Zr=!0)}}return Z[ie][1]._spread=Kt,ue}function f(Z,ie){e[Z]=ie}function h(Z){return e[Z]}function v(Z){return{line:Z.line,column:Z.column,offset:Z.offset}}function b(Z,ie){return ue;function ue(he){w.call(this,Z(he),he),ie&&ie.call(this,he)}}function A(){this.stack.push({type:"fragment",children:[]})}function w(Z,ie,ue){return this.stack[this.stack.length-1].children.push(Z),this.stack.push(Z),this.tokenStack.push([ie,ue]),Z.position={start:v(ie.start)},Z}function T(Z){return ie;function ie(ue){Z&&Z.call(this,ue),N.call(this,ue)}}function N(Z,ie){let ue=this.stack.pop(),he=this.tokenStack.pop();if(he)he[0].type!==Z.type&&(ie?ie.call(this,Z,he[0]):(he[1]||pm).call(this,Z,he[0]));else throw new Error("Cannot close `"+Z.type+"` ("+On({start:Z.start,end:Z.end})+"): it\u2019s not open");return ue.position.end=v(Z.end),ue}function R(){return Gp(this.stack.pop())}function L(){f("expectingFirstListItemValue",!0)}function V(Z){if(h("expectingFirstListItemValue")){let ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(Z),10),f("expectingFirstListItemValue")}}function G(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=Z}function K(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=Z}function re(){h("flowCodeInside")||(this.buffer(),f("flowCodeInside",!0))}function ce(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f("flowCodeInside")}function xe(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z.replace(/(\r?\n|\r)$/g,"")}function ye(Z){let ie=this.resume(),ue=this.stack[this.stack.length-1];ue.label=ie,ue.identifier=wr(this.sliceSerialize(Z)).toLowerCase()}function le(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Z}function de(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Z}function Te(Z){let ie=this.stack[this.stack.length-1];if(!ie.depth){let ue=this.sliceSerialize(Z).length;ie.depth=ue}}function Ae(){f("setextHeadingSlurpLineEnding",!0)}function Ze(Z){let ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(Z).charCodeAt(0)===61?1:2}function qe(){f("setextHeadingSlurpLineEnding")}function ze(Z){let ie=this.stack[this.stack.length-1],ue=ie.children[ie.children.length-1];(!ue||ue.type!=="text")&&(ue=Se(),ue.position={start:v(Z.start)},ie.children.push(ue)),this.stack.push(ue)}function we(Z){let ie=this.stack.pop();ie.value+=this.sliceSerialize(Z),ie.position.end=v(Z.end)}function Re(Z){let ie=this.stack[this.stack.length-1];if(h("atHardBreak")){let ue=ie.children[ie.children.length-1];ue.position.end=v(Z.end),f("atHardBreak");return}!h("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(ie.type)&&(ze.call(this,Z),we.call(this,Z))}function nt(){f("atHardBreak",!0)}function ne(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z}function Ct(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z}function st(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Z}function _t(){let Z=this.stack[this.stack.length-1];h("inReference")?(Z.type+="Reference",Z.referenceType=h("referenceType")||"shortcut",delete Z.url,delete Z.title):(delete Z.identifier,delete Z.label),f("referenceType")}function ct(){let Z=this.stack[this.stack.length-1];h("inReference")?(Z.type+="Reference",Z.referenceType=h("referenceType")||"shortcut",delete Z.url,delete Z.title):(delete Z.identifier,delete Z.label),f("referenceType")}function W(Z){let ie=this.stack[this.stack.length-2],ue=this.sliceSerialize(Z);ie.label=Oo(ue),ie.identifier=wr(ue).toLowerCase()}function J(){let Z=this.stack[this.stack.length-1],ie=this.resume(),ue=this.stack[this.stack.length-1];f("inReference",!0),ue.type==="link"?ue.children=Z.children:ue.alt=ie}function xr(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Z}function Ht(){let Z=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Z}function Ft(){f("inReference")}function zt(){f("referenceType","collapsed")}function Rt(Z){let ie=this.resume(),ue=this.stack[this.stack.length-1];ue.label=ie,ue.identifier=wr(this.sliceSerialize(Z)).toLowerCase(),f("referenceType","full")}function mt(Z){f("characterReferenceType",Z.type)}function kr(Z){let ie=this.sliceSerialize(Z),ue=h("characterReferenceType"),he;ue?(he=Io(ie,ue==="characterReferenceMarkerNumeric"?10:16),f("characterReferenceType")):he=ms(ie);let gt=this.stack.pop();gt.value+=he,gt.position.end=v(Z.end)}function Gt(Z){we.call(this,Z);let ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(Z)}function fr(Z){we.call(this,Z);let ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(Z)}function Br(){return{type:"blockquote",children:[]}}function fi(){return{type:"code",lang:null,meta:null,value:""}}function ur(){return{type:"inlineCode",value:""}}function ui(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qr(){return{type:"emphasis",children:[]}}function Ti(){return{type:"heading",depth:void 0,children:[]}}function Pi(){return{type:"break"}}function ji(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function tr(){return{type:"link",title:null,url:"",children:[]}}function Bi(Z){return{type:"list",ordered:Z.type==="listOrdered",start:null,spread:Z._spread,children:[]}}function $e(Z){return{type:"listItem",spread:Z._spread,checked:null,children:[]}}function ve(){return{type:"paragraph",children:[]}}function _e(){return{type:"strong",children:[]}}function Se(){return{type:"text",value:""}}function jt(){return{type:"thematicBreak"}}}function mm(t,n){let e=-1;for(;++e<n.length;){let s=n[e];Array.isArray(s)?mm(t,s):T$(t,s)}return t}function T$(t,n){let e;for(e in n)if(Pu.call(n,e)){let s=e==="canContainEols"||e==="transforms",f=(Pu.call(t,e)?t[e]:void 0)||(t[e]=s?[]:{}),h=n[e];h&&(s?t[e]=[...f,...h]:Object.assign(f,h))}}function pm(t,n){throw t?new Error("Cannot close `"+t.type+"` ("+On({start:t.start,end:t.end})+"): a different token (`"+n.type+"`, "+On({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+On({start:n.start,end:n.end})+") is still open")}function Du(t){Object.assign(this,{Parser:e=>{let s=this.data("settings");return Fu(e,Object.assign({},s,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var gm=Du;var P$={tokenize:O$,partial:!0},vm={tokenize:q$,partial:!0},bm={tokenize:R$,partial:!0},gs={tokenize:L$,partial:!0},wm={tokenize:N$,partial:!0},$m={tokenize:D$,previous:km},Am={tokenize:I$,previous:qu},Yi={tokenize:F$,previous:Cm},zi={},Iu={text:zi},jn=48;for(;jn<123;)zi[jn]=Yi,jn++,jn===58?jn=65:jn===91&&(jn=97);zi[43]=Yi;zi[45]=Yi;zi[46]=Yi;zi[95]=Yi;zi[72]=[Yi,Am];zi[104]=[Yi,Am];zi[87]=[Yi,$m];zi[119]=[Yi,$m];function F$(t,n,e){let s=this,o,f;return h;function h(R){return!ym(R)||!Cm(s.previous)||Ru(s.events)?e(R):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),v(R))}function v(R){return ym(R)?(t.consume(R),v):R===64?(t.consume(R),b):e(R)}function b(R){return R===46?t.check(gs,N,A)(R):R===45||R===95?t.check(gs,e,w)(R):er(R)?(!f&&qn(R)&&(f=!0),t.consume(R),b):N(R)}function A(R){return t.consume(R),o=!0,f=void 0,b}function w(R){return t.consume(R),T}function T(R){return R===46?t.check(gs,e,A)(R):b(R)}function N(R){return o&&!f?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),n(R)):e(R)}}function D$(t,n,e){let s=this;return o;function o(h){return h!==87&&h!==119||!km(s.previous)||Ru(s.events)?e(h):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(P$,t.attempt(vm,t.attempt(bm,f),e),e)(h))}function f(h){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),n(h)}}function I$(t,n,e){let s=this;return o;function o(L){return L!==72&&L!==104||!qu(s.previous)||Ru(s.events)?e(L):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(L),f)}function f(L){return L===84||L===116?(t.consume(L),h):e(L)}function h(L){return L===84||L===116?(t.consume(L),v):e(L)}function v(L){return L===80||L===112?(t.consume(L),b):e(L)}function b(L){return L===83||L===115?(t.consume(L),A):A(L)}function A(L){return L===58?(t.consume(L),w):e(L)}function w(L){return L===47?(t.consume(L),T):e(L)}function T(L){return L===47?(t.consume(L),N):e(L)}function N(L){return L===null||cn(L)||Rn(L)||Nn(L)?e(L):t.attempt(vm,t.attempt(bm,R),e)(L)}function R(L){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),n(L)}}function O$(t,n,e){return s;function s(b){return t.consume(b),o}function o(b){return b===87||b===119?(t.consume(b),f):e(b)}function f(b){return b===87||b===119?(t.consume(b),h):e(b)}function h(b){return b===46?(t.consume(b),v):e(b)}function v(b){return b===null||ge(b)?e(b):n(b)}}function q$(t,n,e){let s,o;return f;function f(b){return b===38?t.check(wm,v,h)(b):b===46||b===95?t.check(gs,v,h)(b):b===null||cn(b)||Rn(b)||b!==45&&Nn(b)?v(b):(t.consume(b),f)}function h(b){return b===46?(o=s,s=void 0,t.consume(b),f):(b===95&&(s=!0),t.consume(b),f)}function v(b){return!o&&!s?n(b):e(b)}}function R$(t,n){let e=0;return s;function s(h){return h===38?t.check(wm,n,o)(h):(h===40&&e++,h===41?t.check(gs,f,o)(h):Ou(h)?n(h):xm(h)?t.check(gs,n,o)(h):(t.consume(h),s))}function o(h){return t.consume(h),s}function f(h){return e--,e<0?n(h):o(h)}}function N$(t,n,e){return s;function s(h){return t.consume(h),o}function o(h){return br(h)?(t.consume(h),o):h===59?(t.consume(h),f):e(h)}function f(h){return Ou(h)?n(h):e(h)}}function L$(t,n,e){return s;function s(f){return t.consume(f),o}function o(f){return xm(f)?(t.consume(f),o):Ou(f)?n(f):e(f)}}function xm(t){return t===33||t===34||t===39||t===41||t===42||t===44||t===46||t===58||t===59||t===60||t===63||t===95||t===126}function Ou(t){return t===null||t===60||ut(t)}function ym(t){return t===43||t===45||t===46||t===95||er(t)}function km(t){return t===null||t===40||t===42||t===95||t===126||ut(t)}function qu(t){return t===null||!br(t)}function Cm(t){return t!==47&&qu(t)}function Ru(t){let n=t.length,e=!1;for(;n--;){let s=t[n][1];if((s.type==="labelLink"||s.type==="labelImage")&&!s._balanced){e=!0;break}if(s._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var M$={tokenize:G$,partial:!0};function Nu(){return{document:{[91]:{tokenize:V$,continuation:{tokenize:U$},exit:H$}},text:{[91]:{tokenize:B$},[93]:{add:"after",tokenize:z$,resolveTo:j$}}}}function z$(t,n,e){let s=this,o=s.events.length,f=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),h;for(;o--;){let b=s.events[o][1];if(b.type==="labelImage"){h=b;break}if(b.type==="gfmFootnoteCall"||b.type==="labelLink"||b.type==="label"||b.type==="image"||b.type==="link")break}return v;function v(b){if(!h||!h._balanced)return e(b);let A=wr(s.sliceSerialize({start:h.end,end:s.now()}));return A.charCodeAt(0)!==94||!f.includes(A.slice(1))?e(b):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),n(b))}}function j$(t,n){let e=t.length,s;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){s=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let o={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},f={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};f.end.column++,f.end.offset++,f.end._bufferIndex++;let h={type:"gfmFootnoteCallString",start:Object.assign({},f.end),end:Object.assign({},t[t.length-1][1].start)},v={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},b=[t[e+1],t[e+2],["enter",o,n],t[e+3],t[e+4],["enter",f,n],["exit",f,n],["enter",h,n],["enter",v,n],["exit",v,n],["exit",h,n],t[t.length-2],t[t.length-1],["exit",o,n]];return t.splice(e,t.length-e+1,...b),t}function B$(t,n,e){let s=this,o=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),f=0,h;return v;function v(N){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(N),t.exit("gfmFootnoteCallLabelMarker"),b}function b(N){return N!==94?e(N):(t.enter("gfmFootnoteCallMarker"),t.consume(N),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",A)}function A(N){let R;return N===null||N===91||f++>999?e(N):N===93?h?(t.exit("chunkString"),R=t.exit("gfmFootnoteCallString"),o.includes(wr(s.sliceSerialize(R)))?T(N):e(N)):e(N):(t.consume(N),ut(N)||(h=!0),N===92?w:A)}function w(N){return N===91||N===92||N===93?(t.consume(N),f++,A):A(N)}function T(N){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(N),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),n}}function V$(t,n,e){let s=this,o=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),f,h=0,v;return b;function b(V){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(V),t.exit("gfmFootnoteDefinitionLabelMarker"),A}function A(V){return V===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(V),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),w):e(V)}function w(V){let G;return V===null||V===91||h>999?e(V):V===93?v?(G=t.exit("gfmFootnoteDefinitionLabelString"),f=wr(s.sliceSerialize(G)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(V),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),R):e(V):ge(V)?(t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),h++,w):(t.enter("chunkString").contentType="string",T(V))}function T(V){return V===null||ge(V)||V===91||V===93||h>999?(t.exit("chunkString"),w(V)):(ut(V)||(v=!0),h++,t.consume(V),V===92?N:T)}function N(V){return V===91||V===92||V===93?(t.consume(V),h++,T):T(V)}function R(V){return V===58?(t.enter("definitionMarker"),t.consume(V),t.exit("definitionMarker"),Fe(t,L,"gfmFootnoteDefinitionWhitespace")):e(V)}function L(V){return o.includes(f)||o.push(f),n(V)}}function U$(t,n,e){return t.check(Mi,n,t.attempt(M$,n,e))}function H$(t){t.exit("gfmFootnoteDefinition")}function G$(t,n,e){let s=this;return Fe(t,o,"gfmFootnoteDefinitionIndent",4+1);function o(f){let h=s.events[s.events.length-1];return h&&h[1].type==="gfmFootnoteDefinitionIndent"&&h[2].sliceSerialize(h[1],!0).length===4?n(f):e(f)}}function Lu(t={}){let n=t.singleTilde,e={tokenize:o,resolveAll:s};return n==null&&(n=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function s(f,h){let v=-1;for(;++v<f.length;)if(f[v][0]==="enter"&&f[v][1].type==="strikethroughSequenceTemporary"&&f[v][1]._close){let b=v;for(;b--;)if(f[b][0]==="exit"&&f[b][1].type==="strikethroughSequenceTemporary"&&f[b][1]._open&&f[v][1].end.offset-f[v][1].start.offset===f[b][1].end.offset-f[b][1].start.offset){f[v][1].type="strikethroughSequence",f[b][1].type="strikethroughSequence";let A={type:"strikethrough",start:Object.assign({},f[b][1].start),end:Object.assign({},f[v][1].end)},w={type:"strikethroughText",start:Object.assign({},f[b][1].end),end:Object.assign({},f[v][1].start)},T=[["enter",A,h],["enter",f[b][1],h],["exit",f[b][1],h],["enter",w,h]];Mt(T,T.length,0,dn(h.parser.constructs.insideSpan.null,f.slice(b+1,v),h)),Mt(T,T.length,0,[["exit",w,h],["enter",f[v][1],h],["exit",f[v][1],h],["exit",A,h]]),Mt(f,b-1,v-b+3,T),v=b+T.length-2;break}}for(v=-1;++v<f.length;)f[v][1].type==="strikethroughSequenceTemporary"&&(f[v][1].type="data");return f}function o(f,h,v){let b=this.previous,A=this.events,w=0;return T;function T(R){return b===126&&A[A.length-1][1].type!=="characterEscape"?v(R):(f.enter("strikethroughSequenceTemporary"),N(R))}function N(R){let L=ps(b);if(R===126)return w>1?v(R):(f.consume(R),w++,N);if(w<2&&!n)return v(R);let V=f.exit("strikethroughSequenceTemporary"),G=ps(R);return V._open=!G||G===2&&Boolean(L),V._close=!L||L===2&&Boolean(G),h(R)}}}var Mu={flow:{null:{tokenize:W$,resolve:K$}}},_m={tokenize:J$,partial:!0};function K$(t,n){let e=-1,s,o,f,h,v,b,A;for(;++e<t.length;){let w=t[e][1];if(f&&(w.type==="temporaryTableCellContent"&&(h=h||e,v=e),(w.type==="tableCellDivider"||w.type==="tableRow")&&v)){let T={type:"tableContent",start:t[h][1].start,end:t[v][1].end},N={type:"chunkText",start:T.start,end:T.end,contentType:"text"};t.splice(h,v-h+1,["enter",T,n],["enter",N,n],["exit",N,n],["exit",T,n]),e-=v-h-3,h=void 0,v=void 0}if(t[e][0]==="exit"&&b!==void 0&&b+(A?0:1)<e&&(w.type==="tableCellDivider"||w.type==="tableRow"&&(b+3<e||t[b][1].type!=="whitespace"))){let T={type:o?"tableDelimiter":s?"tableHeader":"tableData",start:t[b][1].start,end:t[e][1].end};t.splice(e+(w.type==="tableCellDivider"?1:0),0,["exit",T,n]),t.splice(b,0,["enter",T,n]),e+=2,b=e+1,A=!0}w.type==="tableRow"&&(f=t[e][0]==="enter",f&&(b=e+1,A=!1)),w.type==="tableDelimiterRow"&&(o=t[e][0]==="enter",o&&(b=e+1,A=!1)),w.type==="tableHead"&&(s=t[e][0]==="enter")}return t}function W$(t,n,e){let s=this,o=[],f=0,h,v;return b;function b(ne){return t.enter("table")._align=o,t.enter("tableHead"),t.enter("tableRow"),ne===124?A(ne):(f++,t.enter("temporaryTableCellContent"),N(ne))}function A(ne){return t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),h=!0,w}function w(ne){return ne===null||ge(ne)?L(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),T):(h&&(h=void 0,f++),ne===124?A(ne):(t.enter("temporaryTableCellContent"),N(ne)))}function T(ne){return et(ne)?(t.consume(ne),T):(t.exit("whitespace"),w(ne))}function N(ne){return ne===null||ne===124||ut(ne)?(t.exit("temporaryTableCellContent"),w(ne)):(t.consume(ne),ne===92?R:N)}function R(ne){return ne===92||ne===124?(t.consume(ne),N):N(ne)}function L(ne){if(ne===null)return e(ne);t.exit("tableRow"),t.exit("tableHead");let Ct=s.interrupt;return s.interrupt=!0,t.attempt({tokenize:nt,partial:!0},function(st){return s.interrupt=Ct,t.enter("tableDelimiterRow"),V(st)},function(st){return s.interrupt=Ct,e(st)})(ne)}function V(ne){return ne===null||ge(ne)?xe(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),G):ne===45?(t.enter("tableDelimiterFiller"),t.consume(ne),v=!0,o.push("none"),K):ne===58?(t.enter("tableDelimiterAlignment"),t.consume(ne),t.exit("tableDelimiterAlignment"),o.push("left"),re):ne===124?(t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),V):e(ne)}function G(ne){return et(ne)?(t.consume(ne),G):(t.exit("whitespace"),V(ne))}function K(ne){return ne===45?(t.consume(ne),K):(t.exit("tableDelimiterFiller"),ne===58?(t.enter("tableDelimiterAlignment"),t.consume(ne),t.exit("tableDelimiterAlignment"),o[o.length-1]=o[o.length-1]==="left"?"center":"right",ce):V(ne))}function re(ne){return ne===45?(t.enter("tableDelimiterFiller"),t.consume(ne),v=!0,K):e(ne)}function ce(ne){return ne===null||ge(ne)?xe(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),G):ne===124?(t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),V):e(ne)}function xe(ne){return t.exit("tableDelimiterRow"),!v||f!==o.length?e(ne):ne===null?ye(ne):t.check(_m,ye,t.attempt({tokenize:nt,partial:!0},Fe(t,le,"linePrefix",4),ye))(ne)}function ye(ne){return t.exit("table"),n(ne)}function le(ne){return t.enter("tableBody"),de(ne)}function de(ne){return t.enter("tableRow"),ne===124?Te(ne):(t.enter("temporaryTableCellContent"),qe(ne))}function Te(ne){return t.enter("tableCellDivider"),t.consume(ne),t.exit("tableCellDivider"),Ae}function Ae(ne){return ne===null||ge(ne)?we(ne):et(ne)?(t.enter("whitespace"),t.consume(ne),Ze):ne===124?Te(ne):(t.enter("temporaryTableCellContent"),qe(ne))}function Ze(ne){return et(ne)?(t.consume(ne),Ze):(t.exit("whitespace"),Ae(ne))}function qe(ne){return ne===null||ne===124||ut(ne)?(t.exit("temporaryTableCellContent"),Ae(ne)):(t.consume(ne),ne===92?ze:qe)}function ze(ne){return ne===92||ne===124?(t.consume(ne),qe):qe(ne)}function we(ne){return t.exit("tableRow"),ne===null?Re(ne):t.check(_m,Re,t.attempt({tokenize:nt,partial:!0},Fe(t,de,"linePrefix",4),Re))(ne)}function Re(ne){return t.exit("tableBody"),ye(ne)}function nt(ne,Ct,st){return _t;function _t(W){return ne.enter("lineEnding"),ne.consume(W),ne.exit("lineEnding"),Fe(ne,ct,"linePrefix")}function ct(W){if(s.parser.lazy[s.now().line]||W===null||ge(W))return st(W);let J=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&J&&J[1].type==="linePrefix"&&J[2].sliceSerialize(J[1],!0).length>=4?st(W):(s._gfmTableDynamicInterruptHack=!0,ne.check(s.parser.constructs.flow,function(xr){return s._gfmTableDynamicInterruptHack=!1,st(xr)},function(xr){return s._gfmTableDynamicInterruptHack=!1,Ct(xr)})(W))}}}function J$(t,n,e){let s=0;return o;function o(h){return t.enter("check"),t.consume(h),f}function f(h){return h===-1||h===32?(t.consume(h),s++,s===4?n:f):h===null||ut(h)?n(h):e(h)}}var Q$={tokenize:Z$},zu={text:{[91]:Q$}};function Z$(t,n,e){let s=this;return o;function o(v){return s.previous!==null||!s._gfmTasklistFirstContentOfListItem?e(v):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(v),t.exit("taskListCheckMarker"),f)}function f(v){return ut(v)?(t.enter("taskListCheckValueUnchecked"),t.consume(v),t.exit("taskListCheckValueUnchecked"),h):v===88||v===120?(t.enter("taskListCheckValueChecked"),t.consume(v),t.exit("taskListCheckValueChecked"),h):e(v)}function h(v){return v===93?(t.enter("taskListCheckMarker"),t.consume(v),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:X$},n,e)):e(v)}}function X$(t,n,e){let s=this;return Fe(t,o,"whitespace");function o(f){let h=s.events[s.events.length-1];return(h&&h[1].type==="whitespace"||ge(f))&&f!==null?n(f):e(f)}}function Em(t){return xo([Iu,Nu(),Lu(t),Mu,zu])}function ju(t,n){let e=String(t);if(typeof n!="string")throw new TypeError("Expected character");let s=0,o=e.indexOf(n);for(;o!==-1;)s++,o=e.indexOf(n,o+n.length);return s}function Bu(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ma=function(t){if(t==null)return rA;if(typeof t=="string")return tA(t);if(typeof t=="object")return Array.isArray(t)?Y$(t):eA(t);if(typeof t=="function")return qo(t);throw new Error("Expected function, string, or object as test")};function Y$(t){let n=[],e=-1;for(;++e<t.length;)n[e]=ma(t[e]);return qo(s);function s(...o){let f=-1;for(;++f<n.length;)if(n[f].call(this,...o))return!0;return!1}}function eA(t){return qo(n);function n(e){let s;for(s in t)if(e[s]!==t[s])return!1;return!0}}function tA(t){return qo(n);function n(e){return e&&e.type===t}}function qo(t){return n;function n(...e){return Boolean(t.call(this,...e))}}function rA(){return!0}function Sm(t){return"\x1B[33m"+t+"\x1B[39m"}var iA=!0,nA="skip",Tm=!1,Pm=function(t,n,e,s){typeof n=="function"&&typeof e!="function"&&(s=e,e=n,n=null);let o=ma(n),f=s?-1:1;h(t,null,[])();function h(v,b,A){let w=typeof v=="object"&&v!==null?v:{},T;return typeof w.type=="string"&&(T=typeof w.tagName=="string"?w.tagName:typeof w.name=="string"?w.name:void 0,Object.defineProperty(N,"name",{value:"node ("+Sm(w.type+(T?"<"+T+">":""))+")"})),N;function N(){let R=[],L,V,G;if((!n||o(v,b,A[A.length-1]||null))&&(R=sA(e(v,A)),R[0]===Tm))return R;if(v.children&&R[0]!==nA)for(V=(s?v.children.length:-1)+f,G=A.concat(v);V>-1&&V<v.children.length;){if(L=h(v.children[V],V,G)(),L[0]===Tm)return L;V=typeof L[1]=="number"?L[1]:V+f}return R}}};function sA(t){return Array.isArray(t)?t:typeof t=="number"?[iA,t]:[t]}var aA={}.hasOwnProperty,Vu=function(t,n,e,s){let o,f;typeof n=="string"||n instanceof RegExp?(f=[[n,e]],o=s):(f=n,o=e),o||(o={});let h=ma(o.ignore||[]),v=oA(f),b=-1;for(;++b<v.length;)Pm(t,"text",A);return t;function A(T,N){let R=-1,L;for(;++R<N.length;){let V=N[R];if(h(V,L?L.children.indexOf(V):void 0,L))return;L=V}if(L)return w(T,N)}function w(T,N){let R=N[N.length-1],L=v[b][0],V=v[b][1],G=0,K=R.children.indexOf(T),re=!1,ce=[],xe;L.lastIndex=0;let ye=L.exec(T.value);for(;ye;){xe=ye.index;let le={index:ye.index,input:ye.input,stack:[...N,T]},de=V(...ye,le);if(typeof de=="string"&&(de=de.length>0?{type:"text",value:de}:void 0),de!==!1&&(G!==xe&&ce.push({type:"text",value:T.value.slice(G,xe)}),Array.isArray(de)?ce.push(...de):de&&ce.push(de),G=xe+ye[0].length,re=!0),!L.global)break;ye=L.exec(T.value)}return re?(G<T.value.length&&ce.push({type:"text",value:T.value.slice(G)}),R.children.splice(K,1,...ce)):ce=[T],K+ce.length}};function oA(t){let n=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)n.push([Fm(t[e][0]),Dm(t[e][1])])}else{let e;for(e in t)aA.call(t,e)&&n.push([Fm(e),Dm(t[e])])}return n}function Fm(t){return typeof t=="string"?new RegExp(Bu(t),"g"):t}function Dm(t){return typeof t=="function"?t:()=>t}var Uu="phrasing",Hu=["autolink","link","image","label"],Im={transforms:[dA],enter:{literalAutolink:lA,literalAutolinkEmail:Gu,literalAutolinkHttp:Gu,literalAutolinkWww:Gu},exit:{literalAutolink:hA,literalAutolinkEmail:cA,literalAutolinkHttp:fA,literalAutolinkWww:uA}},Om={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Uu,notInConstruct:Hu},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Uu,notInConstruct:Hu},{character:":",before:"[ps]",after:"\\/",inConstruct:Uu,notInConstruct:Hu}]};function lA(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Gu(t){this.config.enter.autolinkProtocol.call(this,t)}function fA(t){this.config.exit.autolinkProtocol.call(this,t)}function uA(t){this.config.exit.data.call(this,t);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(t)}function cA(t){this.config.exit.autolinkEmail.call(this,t)}function hA(t){this.exit(t)}function dA(t){Vu(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,mA]],{ignore:["link","linkReference"]})}function pA(t,n,e,s,o){let f="";if(!qm(o)||(/^w/i.test(n)&&(e=n+e,n="",f="http://"),!gA(e)))return!1;let h=yA(e+s);if(!h[0])return!1;let v={type:"link",title:null,url:f+n+h[0],children:[{type:"text",value:n+h[0]}]};return h[1]?[v,{type:"text",value:h[1]}]:v}function mA(t,n,e,s){return!qm(s,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+e,children:[{type:"text",value:n+"@"+e}]}}function gA(t){let n=t.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function yA(t){let n=/[!"&'),.:;<>?\]}]+$/.exec(t),e,s,o,f;if(n)for(t=t.slice(0,n.index),f=n[0],e=f.indexOf(")"),s=ju(t,"("),o=ju(t,")");e!==-1&&s>o;)t+=f.slice(0,e+1),f=f.slice(e+1),e=f.indexOf(")"),o++;return[t,f]}function qm(t,n){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Rn(e)||Nn(e))&&(!n||e!==47)}function Ku(t){return t.label||!t.identifier?t.label||"":Oo(t.identifier)}function Ar(t){let n=t||{},e=n.now||{},s=n.lineShift||0,o=e.line||1,f=e.column||1;return{move:b,current:h,shift:v};function h(){return{now:{line:o,column:f},lineShift:s}}function v(A){s+=A}function b(A=""){let w=A.split(/\r?\n|\r/g),T=w[w.length-1];return o+=w.length-1,f=w.length===1?f+T.length:1+T.length+s,A}}function Ro(t,n,e){let s=n.indexStack,o=t.children||[],f=Ar(e),h=[],v=-1;for(s.push(-1);++v<o.length;){let A=o[v];s[s.length-1]=v,h.push(f.move(n.handle(A,t,n,{before:`
1
+ var Tg=Object.create;var Ua=Object.defineProperty;var Pg=Object.getOwnPropertyDescriptor;var Fg=Object.getOwnPropertyNames;var Dg=Object.getPrototypeOf,Ig=Object.prototype.hasOwnProperty;var Te=(t,i)=>()=>(i||t((i={exports:{}}).exports,i),i.exports),Pu=(t,i)=>{for(var e in i)Ua(t,e,{get:i[e],enumerable:!0})},Fu=(t,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of Fg(i))!Ig.call(t,o)&&o!==e&&Ua(t,o,{get:()=>i[o],enumerable:!(n=Pg(i,o))||n.enumerable});return t};var ui=(t,i,e)=>(e=t!=null?Tg(Dg(t)):{},Fu(i||!t||!t.__esModule?Ua(e,"default",{value:t,enumerable:!0}):e,t)),Og=t=>Fu(Ua({},"__esModule",{value:!0}),t);var Cl=Te(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.getRules=ds.isJSONType=void 0;var qg=["string","number","integer","boolean","null","object","array"],Rg=new Set(qg);function Ng(t){return typeof t=="string"&&Rg.has(t)}ds.isJSONType=Ng;function Lg(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}ds.getRules=Lg});var _l=Te(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.shouldUseRule=un.shouldUseGroup=un.schemaHasRulesForType=void 0;function Mg({schema:t,self:i},e){let n=i.RULES.types[e];return n&&n!==!0&&Du(t,n)}un.schemaHasRulesForType=Mg;function Du(t,i){return i.rules.some(e=>Iu(t,e))}un.shouldUseGroup=Du;function Iu(t,i){var e;return t[i.keyword]!==void 0||((e=i.definition.implements)===null||e===void 0?void 0:e.some(n=>t[n]!==void 0))}un.shouldUseRule=Iu});var Ha=Te($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.getProperty=$t.safeStringify=$t.stringify=$t.strConcat=$t.addCodeArg=$t.str=$t._=$t.nil=$t._Code=$t.Name=$t.IDENTIFIER=$t._CodeOrName=void 0;var Js=class{};$t._CodeOrName=Js;$t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Dn=class extends Js{constructor(i){if(super(),!$t.IDENTIFIER.test(i))throw new Error("CodeGen: name must be a valid identifier");this.str=i}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};$t.Name=Dn;var Li=class extends Js{constructor(i){super(),this._items=typeof i=="string"?[i]:i}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let i=this._items[0];return i===""||i==='""'}get str(){var i;return(i=this._str)!==null&&i!==void 0?i:this._str=this._items.reduce((e,n)=>`${e}${n}`,"")}get names(){var i;return(i=this._names)!==null&&i!==void 0?i:this._names=this._items.reduce((e,n)=>(n instanceof Dn&&(e[n.str]=(e[n.str]||0)+1),e),{})}};$t._Code=Li;$t.nil=new Li("");function Ou(t,...i){let e=[t[0]],n=0;for(;n<i.length;)Sl(e,i[n]),e.push(t[++n]);return new Li(e)}$t._=Ou;var El=new Li("+");function qu(t,...i){let e=[Qs(t[0])],n=0;for(;n<i.length;)e.push(El),Sl(e,i[n]),e.push(El,Qs(t[++n]));return zg(e),new Li(e)}$t.str=qu;function Sl(t,i){i instanceof Li?t.push(...i._items):i instanceof Dn?t.push(i):t.push(Bg(i))}$t.addCodeArg=Sl;function zg(t){let i=1;for(;i<t.length-1;){if(t[i]===El){let e=jg(t[i-1],t[i+1]);if(e!==void 0){t.splice(i-1,3,e);continue}t[i++]="+"}i++}}function jg(t,i){if(i==='""')return t;if(t==='""')return i;if(typeof t=="string")return i instanceof Dn||t[t.length-1]!=='"'?void 0:typeof i!="string"?`${t.slice(0,-1)}${i}"`:i[0]==='"'?t.slice(0,-1)+i.slice(1):void 0;if(typeof i=="string"&&i[0]==='"'&&!(t instanceof Dn))return`"${t}${i.slice(1)}`}function Vg(t,i){return i.emptyStr()?t:t.emptyStr()?i:qu`${t}${i}`}$t.strConcat=Vg;function Bg(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Qs(Array.isArray(t)?t.join(","):t)}function Ug(t){return new Li(Qs(t))}$t.stringify=Ug;function Qs(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}$t.safeStringify=Qs;function Hg(t){return typeof t=="string"&&$t.IDENTIFIER.test(t)?new Li(`.${t}`):Ou`[${t}]`}$t.getProperty=Hg});var Dl=Te(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.ValueScope=Sr.ValueScopeName=Sr.Scope=Sr.varKinds=Sr.UsedValueState=void 0;var Nr=Ha(),Tl=class extends Error{constructor(i){super(`CodeGen: "code" for ${i} not defined`),this.value=i.value}},Pl;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Pl=Sr.UsedValueState||(Sr.UsedValueState={}));Sr.varKinds={const:new Nr.Name("const"),let:new Nr.Name("let"),var:new Nr.Name("var")};var Ga=class{constructor({prefixes:i,parent:e}={}){this._names={},this._prefixes=i,this._parent=e}toName(i){return i instanceof Nr.Name?i:this.name(i)}name(i){return new Nr.Name(this._newName(i))}_newName(i){let e=this._names[i]||this._nameGroup(i);return`${i}${e.index++}`}_nameGroup(i){var e,n;if(((n=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||n===void 0?void 0:n.has(i))||this._prefixes&&!this._prefixes.has(i))throw new Error(`CodeGen: prefix "${i}" is not allowed in this scope`);return this._names[i]={prefix:i,index:0}}};Sr.Scope=Ga;var Ka=class extends Nr.Name{constructor(i,e){super(e),this.prefix=i}setValue(i,{property:e,itemIndex:n}){this.value=i,this.scopePath=Nr._`.${new Nr.Name(e)}[${n}]`}};Sr.ValueScopeName=Ka;var Gg=Nr._`\n`,Fl=class extends Ga{constructor(i){super(i),this._values={},this._scope=i.scope,this.opts={...i,_n:i.lines?Gg:Nr.nil}}get(){return this._scope}name(i){return new Ka(i,this._newName(i))}value(i,e){var n;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let o=this.toName(i),{prefix:f}=o,d=(n=e.key)!==null&&n!==void 0?n:e.ref,v=this._values[f];if(v){let $=v.get(d);if($)return $}else v=this._values[f]=new Map;v.set(d,o);let b=this._scope[f]||(this._scope[f]=[]),C=b.length;return b[C]=e.ref,o.setValue(e,{property:f,itemIndex:C}),o}getValue(i,e){let n=this._values[i];if(!!n)return n.get(e)}scopeRefs(i,e=this._values){return this._reduceValues(e,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return Nr._`${i}${n.scopePath}`})}scopeCode(i=this._values,e,n){return this._reduceValues(i,o=>{if(o.value===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return o.value.code},e,n)}_reduceValues(i,e,n={},o){let f=Nr.nil;for(let d in i){let v=i[d];if(!v)continue;let b=n[d]=n[d]||new Map;v.forEach(C=>{if(b.has(C))return;b.set(C,Pl.Started);let $=e(C);if($){let O=this.opts.es5?Sr.varKinds.var:Sr.varKinds.const;f=Nr._`${f}${O} ${C} = ${$};${this.opts._n}`}else if($=o==null?void 0:o(C))f=Nr._`${f}${$}${this.opts._n}`;else throw new Tl(C);b.set(C,Pl.Completed)})}return f}};Sr.ValueScope=Fl});var Ze=Te(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.or=Ye.and=Ye.not=Ye.CodeGen=Ye.operators=Ye.varKinds=Ye.ValueScopeName=Ye.ValueScope=Ye.Scope=Ye.Name=Ye.stringify=Ye.getProperty=Ye.nil=Ye.strConcat=Ye.str=Ye._=void 0;var it=Ha(),$i=Dl(),qn=Ha();Object.defineProperty(Ye,"_",{enumerable:!0,get:function(){return qn._}});Object.defineProperty(Ye,"str",{enumerable:!0,get:function(){return qn.str}});Object.defineProperty(Ye,"strConcat",{enumerable:!0,get:function(){return qn.strConcat}});Object.defineProperty(Ye,"nil",{enumerable:!0,get:function(){return qn.nil}});Object.defineProperty(Ye,"getProperty",{enumerable:!0,get:function(){return qn.getProperty}});Object.defineProperty(Ye,"stringify",{enumerable:!0,get:function(){return qn.stringify}});Object.defineProperty(Ye,"Name",{enumerable:!0,get:function(){return qn.Name}});var Za=Dl();Object.defineProperty(Ye,"Scope",{enumerable:!0,get:function(){return Za.Scope}});Object.defineProperty(Ye,"ValueScope",{enumerable:!0,get:function(){return Za.ValueScope}});Object.defineProperty(Ye,"ValueScopeName",{enumerable:!0,get:function(){return Za.ValueScopeName}});Object.defineProperty(Ye,"varKinds",{enumerable:!0,get:function(){return Za.varKinds}});Ye.operators={GT:new it._Code(">"),GTE:new it._Code(">="),LT:new it._Code("<"),LTE:new it._Code("<="),EQ:new it._Code("==="),NEQ:new it._Code("!=="),NOT:new it._Code("!"),OR:new it._Code("||"),AND:new it._Code("&&"),ADD:new it._Code("+")};var Zi=class{optimizeNodes(){return this}optimizeNames(i,e){return this}},Il=class extends Zi{constructor(i,e,n){super(),this.varKind=i,this.name=e,this.rhs=n}render({es5:i,_n:e}){let n=i?$i.varKinds.var:this.varKind,o=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${o};`+e}optimizeNames(i,e){if(!!i[this.name.str])return this.rhs&&(this.rhs=ms(this.rhs,i,e)),this}get names(){return this.rhs instanceof it._CodeOrName?this.rhs.names:{}}},Wa=class extends Zi{constructor(i,e,n){super(),this.lhs=i,this.rhs=e,this.sideEffects=n}render({_n:i}){return`${this.lhs} = ${this.rhs};`+i}optimizeNames(i,e){if(!(this.lhs instanceof it.Name&&!i[this.lhs.str]&&!this.sideEffects))return this.rhs=ms(this.rhs,i,e),this}get names(){let i=this.lhs instanceof it.Name?{}:{...this.lhs.names};return Qa(i,this.rhs)}},Ol=class extends Wa{constructor(i,e,n,o){super(i,n,o),this.op=e}render({_n:i}){return`${this.lhs} ${this.op}= ${this.rhs};`+i}},ql=class extends Zi{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`${this.label}:`+i}},Rl=class extends Zi{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`break${this.label?` ${this.label}`:""};`+i}},Nl=class extends Zi{constructor(i){super(),this.error=i}render({_n:i}){return`throw ${this.error};`+i}get names(){return this.error.names}},Ll=class extends Zi{constructor(i){super(),this.code=i}render({_n:i}){return`${this.code};`+i}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(i,e){return this.code=ms(this.code,i,e),this}get names(){return this.code instanceof it._CodeOrName?this.code.names:{}}},Zs=class extends Zi{constructor(i=[]){super(),this.nodes=i}render(i){return this.nodes.reduce((e,n)=>e+n.render(i),"")}optimizeNodes(){let{nodes:i}=this,e=i.length;for(;e--;){let n=i[e].optimizeNodes();Array.isArray(n)?i.splice(e,1,...n):n?i[e]=n:i.splice(e,1)}return i.length>0?this:void 0}optimizeNames(i,e){let{nodes:n}=this,o=n.length;for(;o--;){let f=n[o];f.optimizeNames(i,e)||(Kg(i,f.names),n.splice(o,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((i,e)=>On(i,e.names),{})}},Xi=class extends Zs{render(i){return"{"+i._n+super.render(i)+"}"+i._n}},Ml=class extends Zs{},ps=class extends Xi{};ps.kind="else";var xi=class extends Xi{constructor(i,e){super(e),this.condition=i}render(i){let e=`if(${this.condition})`+super.render(i);return this.else&&(e+="else "+this.else.render(i)),e}optimizeNodes(){super.optimizeNodes();let i=this.condition;if(i===!0)return this.nodes;let e=this.else;if(e){let n=e.optimizeNodes();e=this.else=Array.isArray(n)?new ps(n):n}if(e)return i===!1?e instanceof xi?e:e.nodes:this.nodes.length?this:new xi(Ru(i),e instanceof xi?[e]:e.nodes);if(!(i===!1||!this.nodes.length))return this}optimizeNames(i,e){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(i,e),!!(super.optimizeNames(i,e)||this.else))return this.condition=ms(this.condition,i,e),this}get names(){let i=super.names;return Qa(i,this.condition),this.else&&On(i,this.else.names),i}};xi.kind="if";var In=class extends Xi{};In.kind="for";var zl=class extends In{constructor(i){super(),this.iteration=i}render(i){return`for(${this.iteration})`+super.render(i)}optimizeNames(i,e){if(!!super.optimizeNames(i,e))return this.iteration=ms(this.iteration,i,e),this}get names(){return On(super.names,this.iteration.names)}},jl=class extends In{constructor(i,e,n,o){super(),this.varKind=i,this.name=e,this.from=n,this.to=o}render(i){let e=i.es5?$i.varKinds.var:this.varKind,{name:n,from:o,to:f}=this;return`for(${e} ${n}=${o}; ${n}<${f}; ${n}++)`+super.render(i)}get names(){let i=Qa(super.names,this.from);return Qa(i,this.to)}},Ja=class extends In{constructor(i,e,n,o){super(),this.loop=i,this.varKind=e,this.name=n,this.iterable=o}render(i){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(i)}optimizeNames(i,e){if(!!super.optimizeNames(i,e))return this.iterable=ms(this.iterable,i,e),this}get names(){return On(super.names,this.iterable.names)}},Xs=class extends Xi{constructor(i,e,n){super(),this.name=i,this.args=e,this.async=n}render(i){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(i)}};Xs.kind="func";var Ys=class extends Zs{render(i){return"return "+super.render(i)}};Ys.kind="return";var Vl=class extends Xi{render(i){let e="try"+super.render(i);return this.catch&&(e+=this.catch.render(i)),this.finally&&(e+=this.finally.render(i)),e}optimizeNodes(){var i,e;return super.optimizeNodes(),(i=this.catch)===null||i===void 0||i.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(i,e){var n,o;return super.optimizeNames(i,e),(n=this.catch)===null||n===void 0||n.optimizeNames(i,e),(o=this.finally)===null||o===void 0||o.optimizeNames(i,e),this}get names(){let i=super.names;return this.catch&&On(i,this.catch.names),this.finally&&On(i,this.finally.names),i}},ea=class extends Xi{constructor(i){super(),this.error=i}render(i){return`catch(${this.error})`+super.render(i)}};ea.kind="catch";var ta=class extends Xi{render(i){return"finally"+super.render(i)}};ta.kind="finally";var Bl=class{constructor(i,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
+ `:""},this._extScope=i,this._scope=new $i.Scope({parent:i}),this._nodes=[new Ml]}toString(){return this._root.render(this.opts)}name(i){return this._scope.name(i)}scopeName(i){return this._extScope.name(i)}scopeValue(i,e){let n=this._extScope.value(i,e);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(i,e){return this._extScope.getValue(i,e)}scopeRefs(i){return this._extScope.scopeRefs(i,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(i,e,n,o){let f=this._scope.toName(e);return n!==void 0&&o&&(this._constants[f.str]=n),this._leafNode(new Il(i,f,n)),f}const(i,e,n){return this._def($i.varKinds.const,i,e,n)}let(i,e,n){return this._def($i.varKinds.let,i,e,n)}var(i,e,n){return this._def($i.varKinds.var,i,e,n)}assign(i,e,n){return this._leafNode(new Wa(i,e,n))}add(i,e){return this._leafNode(new Ol(i,Ye.operators.ADD,e))}code(i){return typeof i=="function"?i():i!==it.nil&&this._leafNode(new Ll(i)),this}object(...i){let e=["{"];for(let[n,o]of i)e.length>1&&e.push(","),e.push(n),(n!==o||this.opts.es5)&&(e.push(":"),it.addCodeArg(e,o));return e.push("}"),new it._Code(e)}if(i,e,n){if(this._blockNode(new xi(i)),e&&n)this.code(e).else().code(n).endIf();else if(e)this.code(e).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(i){return this._elseNode(new xi(i))}else(){return this._elseNode(new ps)}endIf(){return this._endBlockNode(xi,ps)}_for(i,e){return this._blockNode(i),e&&this.code(e).endFor(),this}for(i,e){return this._for(new zl(i),e)}forRange(i,e,n,o,f=this.opts.es5?$i.varKinds.var:$i.varKinds.let){let d=this._scope.toName(i);return this._for(new jl(f,d,e,n),()=>o(d))}forOf(i,e,n,o=$i.varKinds.const){let f=this._scope.toName(i);if(this.opts.es5){let d=e instanceof it.Name?e:this.var("_arr",e);return this.forRange("_i",0,it._`${d}.length`,v=>{this.var(f,it._`${d}[${v}]`),n(f)})}return this._for(new Ja("of",o,f,e),()=>n(f))}forIn(i,e,n,o=this.opts.es5?$i.varKinds.var:$i.varKinds.const){if(this.opts.ownProperties)return this.forOf(i,it._`Object.keys(${e})`,n);let f=this._scope.toName(i);return this._for(new Ja("in",o,f,e),()=>n(f))}endFor(){return this._endBlockNode(In)}label(i){return this._leafNode(new ql(i))}break(i){return this._leafNode(new Rl(i))}return(i){let e=new Ys;if(this._blockNode(e),this.code(i),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Ys)}try(i,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let o=new Vl;if(this._blockNode(o),this.code(i),e){let f=this.name("e");this._currNode=o.catch=new ea(f),e(f)}return n&&(this._currNode=o.finally=new ta,this.code(n)),this._endBlockNode(ea,ta)}throw(i){return this._leafNode(new Nl(i))}block(i,e){return this._blockStarts.push(this._nodes.length),i&&this.code(i).endBlock(e),this}endBlock(i){let e=this._blockStarts.pop();if(e===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-e;if(n<0||i!==void 0&&n!==i)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${i} expected`);return this._nodes.length=e,this}func(i,e=it.nil,n,o){return this._blockNode(new Xs(i,e,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(Xs)}optimize(i=1){for(;i-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(i){return this._currNode.nodes.push(i),this}_blockNode(i){this._currNode.nodes.push(i),this._nodes.push(i)}_endBlockNode(i,e){let n=this._currNode;if(n instanceof i||e&&n instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${i.kind}/${e.kind}`:i.kind}"`)}_elseNode(i){let e=this._currNode;if(!(e instanceof xi))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=i,this}get _root(){return this._nodes[0]}get _currNode(){let i=this._nodes;return i[i.length-1]}set _currNode(i){let e=this._nodes;e[e.length-1]=i}};Ye.CodeGen=Bl;function On(t,i){for(let e in i)t[e]=(t[e]||0)+(i[e]||0);return t}function Qa(t,i){return i instanceof it._CodeOrName?On(t,i.names):t}function ms(t,i,e){if(t instanceof it.Name)return n(t);if(!o(t))return t;return new it._Code(t._items.reduce((f,d)=>(d instanceof it.Name&&(d=n(d)),d instanceof it._Code?f.push(...d._items):f.push(d),f),[]));function n(f){let d=e[f.str];return d===void 0||i[f.str]!==1?f:(delete i[f.str],d)}function o(f){return f instanceof it._Code&&f._items.some(d=>d instanceof it.Name&&i[d.str]===1&&e[d.str]!==void 0)}}function Kg(t,i){for(let e in i)t[e]=(t[e]||0)-(i[e]||0)}function Ru(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:it._`!${Ul(t)}`}Ye.not=Ru;var Wg=Nu(Ye.operators.AND);function Jg(...t){return t.reduce(Wg)}Ye.and=Jg;var Qg=Nu(Ye.operators.OR);function Zg(...t){return t.reduce(Qg)}Ye.or=Zg;function Nu(t){return(i,e)=>i===it.nil?e:e===it.nil?i:it._`${Ul(i)} ${t} ${Ul(e)}`}function Ul(t){return t instanceof it.Name?t:it._`(${t})`}});var ki=Te(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var dr=Ze(),Xg={data:new dr.Name("data"),valCxt:new dr.Name("valCxt"),dataPath:new dr.Name("dataPath"),parentData:new dr.Name("parentData"),parentDataProperty:new dr.Name("parentDataProperty"),rootData:new dr.Name("rootData"),dynamicAnchors:new dr.Name("dynamicAnchors"),vErrors:new dr.Name("vErrors"),errors:new dr.Name("errors"),this:new dr.Name("this"),self:new dr.Name("self"),scope:new dr.Name("scope"),json:new dr.Name("json"),jsonPos:new dr.Name("jsonPos"),jsonLen:new dr.Name("jsonLen"),jsonPart:new dr.Name("jsonPart")};Hl.default=Xg});var ra=Te(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.extendErrors=pr.resetErrorsCount=pr.reportExtraError=pr.reportError=pr.keyword$DataError=pr.keywordError=void 0;var nt=Ze(),mr=ki();pr.keywordError={message:({keyword:t})=>nt.str`should pass "${t}" keyword validation`};pr.keyword$DataError={message:({keyword:t,schemaType:i})=>i?nt.str`"${t}" keyword must be ${i} ($data)`:nt.str`"${t}" keyword is invalid ($data)`};function Yg(t,i=pr.keywordError,e){let{it:n}=t,{gen:o,compositeRule:f,allErrors:d}=n,v=zu(t,i);e??(f||d)?Lu(o,v):Mu(n,nt._`[${v}]`)}pr.reportError=Yg;function e0(t,i=pr.keywordError){let{it:e}=t,{gen:n,compositeRule:o,allErrors:f}=e,d=zu(t,i);Lu(n,d),o||f||Mu(e,mr.default.vErrors)}pr.reportExtraError=e0;function t0(t,i){t.assign(mr.default.errors,i),t.if(nt._`${mr.default.vErrors} !== null`,()=>t.if(i,()=>t.assign(nt._`${mr.default.vErrors}.length`,i),()=>t.assign(mr.default.vErrors,null)))}pr.resetErrorsCount=t0;function r0({gen:t,keyword:i,schemaValue:e,data:n,errsCount:o,it:f}){if(o===void 0)throw new Error("ajv implementation error");let d=t.name("err");t.forRange("i",o,mr.default.errors,v=>{t.const(d,nt._`${mr.default.vErrors}[${v}]`),t.if(nt._`${d}.dataPath === undefined`,()=>t.assign(nt._`${d}.dataPath`,nt.strConcat(mr.default.dataPath,f.errorPath))),t.assign(nt._`${d}.schemaPath`,nt.str`${f.errSchemaPath}/${i}`),f.opts.verbose&&(t.assign(nt._`${d}.schema`,e),t.assign(nt._`${d}.data`,n))})}pr.extendErrors=r0;function Lu(t,i){let e=t.const("err",i);t.if(nt._`${mr.default.vErrors} === null`,()=>t.assign(mr.default.vErrors,nt._`[${e}]`),nt._`${mr.default.vErrors}.push(${e})`),t.code(nt._`${mr.default.errors}++`)}function Mu(t,i){let{gen:e,validateName:n,schemaEnv:o}=t;o.$async?e.throw(nt._`new ${t.ValidationError}(${i})`):(e.assign(nt._`${n}.errors`,i),e.return(!1))}var Mi={keyword:new nt.Name("keyword"),schemaPath:new nt.Name("schemaPath"),params:new nt.Name("params"),propertyName:new nt.Name("propertyName"),message:new nt.Name("message"),schema:new nt.Name("schema"),parentSchema:new nt.Name("parentSchema"),instancePath:new nt.Name("instancePath")};function zu(t,i){let{createErrors:e,opts:n}=t.it;return e===!1?nt._`{}`:(n.jtd&&!n.ajvErrors?i0:n0)(t,i)}function i0(t,{message:i}){let{gen:e,keyword:n,it:o}=t,{errorPath:f,errSchemaPath:d,opts:v}=o,b=[[Mi.instancePath,nt.strConcat(mr.default.dataPath,f)],[Mi.schemaPath,nt.str`${d}/${n}`]];return v.messages&&b.push([Mi.message,typeof i=="function"?i(t):i]),e.object(...b)}function n0(t,i){let{gen:e,keyword:n,data:o,schemaValue:f,it:d}=t,{topSchemaRef:v,schemaPath:b,errorPath:C,errSchemaPath:$,propertyName:O,opts:z}=d,{params:M,message:j}=i,G=[[Mi.keyword,n],[mr.default.dataPath,nt.strConcat(mr.default.dataPath,C)],[Mi.schemaPath,nt.str`${$}/${n}`],[Mi.params,typeof M=="function"?M(t):M||nt._`{}`]];return O&&G.push([Mi.propertyName,O]),z.messages&&G.push([Mi.message,typeof j=="function"?j(t):j]),z.verbose&&G.push([Mi.schema,f],[Mi.parentSchema,nt._`${v}${b}`],[mr.default.data,o]),e.object(...G)}});var Vu=Te(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.boolOrEmptySchema=gs.topBoolOrEmptySchema=void 0;var s0=ra(),a0=Ze(),o0=ki(),l0={message:"boolean schema is false"};function f0(t){let{gen:i,schema:e,validateName:n}=t;e===!1?ju(t,!1):typeof e=="object"&&e.$async===!0?i.return(o0.default.data):(i.assign(a0._`${n}.errors`,null),i.return(!0))}gs.topBoolOrEmptySchema=f0;function c0(t,i){let{gen:e,schema:n}=t;n===!1?(e.var(i,!1),ju(t)):e.var(i,!0)}gs.boolOrEmptySchema=c0;function ju(t,i){let{gen:e,data:n}=t,o={gen:e,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};s0.reportError(o,l0,i)}});var Uu=Te(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.assignDefaults=void 0;var ys=Ze(),u0=Zr();function h0(t,i){let{properties:e,items:n}=t.schema;if(i==="object"&&e)for(let o in e)Bu(t,o,e[o].default);else i==="array"&&Array.isArray(n)&&n.forEach((o,f)=>Bu(t,f,o.default))}Xa.assignDefaults=h0;function Bu(t,i,e){let{gen:n,compositeRule:o,data:f,opts:d}=t;if(e===void 0)return;let v=ys._`${f}${ys.getProperty(i)}`;if(o){u0.checkStrictMode(t,`default is ignored for: ${v}`);return}let b=ys._`${v} === undefined`;d.useDefaults==="empty"&&(b=ys._`${b} || ${v} === null || ${v} === ""`),n.if(b,ys._`${v} = ${ys.stringify(e)}`)}});var Nn=Te(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.applySubschema=Rn.Type=void 0;var d0=Zr(),Hu=It(),gr=Ze(),Gu;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(Gu=Rn.Type||(Rn.Type={}));function p0(t,i,e){let n=m0(t,i);g0(n,t,i),y0(n,i);let o={...t,...n,items:void 0,props:void 0};return d0.subschemaCode(o,e),o}Rn.applySubschema=p0;function m0(t,{keyword:i,schemaProp:e,schema:n,schemaPath:o,errSchemaPath:f,topSchemaRef:d}){if(i!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(i!==void 0){let v=t.schema[i];return e===void 0?{schema:v,schemaPath:gr._`${t.schemaPath}${gr.getProperty(i)}`,errSchemaPath:`${t.errSchemaPath}/${i}`}:{schema:v[e],schemaPath:gr._`${t.schemaPath}${gr.getProperty(i)}${gr.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${i}/${Hu.escapeFragment(e)}`}}if(n!==void 0){if(o===void 0||f===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:o,topSchemaRef:d,errSchemaPath:f}}throw new Error('either "keyword" or "schema" must be passed')}function g0(t,i,{dataProp:e,dataPropType:n,data:o,dataTypes:f,propertyName:d}){if(o!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:v}=i;if(e!==void 0){let{errorPath:C,dataPathArr:$,opts:O}=i,z=v.let("data",gr._`${i.data}${gr.getProperty(e)}`,!0);b(z),t.errorPath=gr.str`${C}${v0(e,n,O.jsPropertySyntax)}`,t.parentDataProperty=gr._`${e}`,t.dataPathArr=[...$,t.parentDataProperty]}if(o!==void 0){let C=o instanceof gr.Name?o:v.let("data",o,!0);b(C),d!==void 0&&(t.propertyName=d)}f&&(t.dataTypes=f);function b(C){t.data=C,t.dataLevel=i.dataLevel+1,t.dataTypes=[],i.definedProperties=new Set,t.parentData=i.data,t.dataNames=[...i.dataNames,C]}}function y0(t,{jtdDiscriminator:i,jtdMetadata:e,compositeRule:n,createErrors:o,allErrors:f}){n!==void 0&&(t.compositeRule=n),o!==void 0&&(t.createErrors=o),f!==void 0&&(t.allErrors=f),t.jtdDiscriminator=i,t.jtdMetadata=e}function v0(t,i,e){if(t instanceof gr.Name){let n=i===Gu.Num;return e?n?gr._`"[" + ${t} + "]"`:gr._`"['" + ${t} + "']"`:n?gr._`"/" + ${t}`:gr._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?gr.getProperty(t).toString():"/"+Hu.escapeJsonPointer(t)}});var Ci=Te(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.validateUnion=xt.validateArray=xt.usePattern=xt.callValidateCode=xt.schemaProperties=xt.allSchemaProperties=xt.noPropertyInData=xt.propertyInData=xt.isOwnProperty=xt.hasPropFunc=xt.reportMissingProp=xt.checkMissingProp=xt.checkReportMissingProp=void 0;var Pt=Ze(),Ku=It(),b0=Nn(),hn=ki();function w0(t,i){let{gen:e,data:n,it:o}=t;e.if(Kl(e,n,i,o.opts.ownProperties),()=>{t.setParams({missingProperty:Pt._`${i}`},!0),t.error()})}xt.checkReportMissingProp=w0;function A0({gen:t,data:i,it:{opts:e}},n,o){return Pt.or(...n.map(f=>Pt.and(Kl(t,i,f,e.ownProperties),Pt._`${o} = ${f}`)))}xt.checkMissingProp=A0;function $0(t,i){t.setParams({missingProperty:i},!0),t.error()}xt.reportMissingProp=$0;function Wu(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Pt._`Object.prototype.hasOwnProperty`})}xt.hasPropFunc=Wu;function Gl(t,i,e){return Pt._`${Wu(t)}.call(${i}, ${e})`}xt.isOwnProperty=Gl;function x0(t,i,e,n){let o=Pt._`${i}${Pt.getProperty(e)} !== undefined`;return n?Pt._`${o} && ${Gl(t,i,e)}`:o}xt.propertyInData=x0;function Kl(t,i,e,n){let o=Pt._`${i}${Pt.getProperty(e)} === undefined`;return n?Pt.or(o,Pt.not(Gl(t,i,e))):o}xt.noPropertyInData=Kl;function Ju(t){return t?Object.keys(t).filter(i=>i!=="__proto__"):[]}xt.allSchemaProperties=Ju;function k0(t,i){return Ju(i).filter(e=>!Ku.alwaysValidSchema(t,i[e]))}xt.schemaProperties=k0;function C0({schemaCode:t,data:i,it:{gen:e,topSchemaRef:n,schemaPath:o,errorPath:f},it:d},v,b,C){let $=C?Pt._`${t}, ${i}, ${n}${o}`:i,O=[[hn.default.dataPath,Pt.strConcat(hn.default.dataPath,f)],[hn.default.parentData,d.parentData],[hn.default.parentDataProperty,d.parentDataProperty],[hn.default.rootData,hn.default.rootData]];d.opts.dynamicRef&&O.push([hn.default.dynamicAnchors,hn.default.dynamicAnchors]);let z=Pt._`${$}, ${e.object(...O)}`;return b!==Pt.nil?Pt._`${v}.call(${b}, ${z})`:Pt._`${v}(${z})`}xt.callValidateCode=C0;function _0(t,i){return t.scopeValue("pattern",{key:i,ref:new RegExp(i,"u"),code:Pt._`new RegExp(${i}, "u")`})}xt.usePattern=_0;function E0(t){let{gen:i,data:e,keyword:n,it:o}=t,f=i.name("valid");if(o.allErrors){let v=i.let("valid",!0);return d(()=>i.assign(v,!1)),v}return i.var(f,!0),d(()=>i.break()),f;function d(v){let b=i.const("len",Pt._`${e}.length`);i.forRange("i",0,b,C=>{t.subschema({keyword:n,dataProp:C,dataPropType:b0.Type.Num},f),i.if(Pt.not(f),v)})}}xt.validateArray=E0;function S0(t){let{gen:i,schema:e,keyword:n,it:o}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(b=>Ku.alwaysValidSchema(o,b))&&!o.opts.unevaluated)return;let d=i.let("valid",!1),v=i.name("_valid");i.block(()=>e.forEach((b,C)=>{let $=t.subschema({keyword:n,schemaProp:C,compositeRule:!0},v);i.assign(d,Pt._`${d} || ${v}`),t.mergeValidEvaluated($,v)||i.if(Pt.not(d))})),t.result(d,()=>t.reset(),()=>t.error(!0))}xt.validateUnion=S0});var Yu=Te(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.keywordCode=void 0;var T0=ia(),P0=ra(),F0=Ci(),Tr=Ze(),Ln=ki();function D0(t,i,e,n){let o=new T0.default(t,e,i);"code"in e?e.code(o,n):o.$data&&e.validate?Qu(o,e):"macro"in e?I0(o,e):(e.compile||e.validate)&&Qu(o,e)}Ya.keywordCode=D0;function I0(t,i){let{gen:e,keyword:n,schema:o,parentSchema:f,it:d}=t,v=i.macro.call(d.self,o,f,d),b=Xu(e,n,v);d.opts.validateSchema!==!1&&d.self.validateSchema(v,!0);let C=e.name("valid");t.subschema({schema:v,schemaPath:Tr.nil,errSchemaPath:`${d.errSchemaPath}/${n}`,topSchemaRef:b,compositeRule:!0},C),t.pass(C,()=>t.error(!0))}function Qu(t,i){var e;let{gen:n,keyword:o,schema:f,parentSchema:d,$data:v,it:b}=t;q0(b,i);let C=!v&&i.compile?i.compile.call(b.self,f,d,b):i.validate,$=Xu(n,o,C),O=n.let("valid");t.block$data(O,z),t.ok((e=i.valid)!==null&&e!==void 0?e:O);function z(){if(i.errors===!1)G(),i.modifying&&Zu(t),J(()=>t.error());else{let Q=i.async?M():j();i.modifying&&Zu(t),J(()=>O0(t,Q))}}function M(){let Q=n.let("ruleErrs",null);return n.try(()=>G(Tr._`await `),ie=>n.assign(O,!1).if(Tr._`${ie} instanceof ${b.ValidationError}`,()=>n.assign(Q,Tr._`${ie}.errors`),()=>n.throw(ie))),Q}function j(){let Q=Tr._`${$}.errors`;return n.assign(Q,null),G(Tr.nil),Q}function G(Q=i.async?Tr._`await `:Tr.nil){let ie=b.opts.passContext?Ln.default.this:Ln.default.self,de=!("compile"in i&&!v||i.schema===!1);n.assign(O,Tr._`${Q}${F0.callValidateCode(t,$,ie,de)}`,i.modifying)}function J(Q){var ie;n.if(Tr.not((ie=i.valid)!==null&&ie!==void 0?ie:O),Q)}}function Zu(t){let{gen:i,data:e,it:n}=t;i.if(n.parentData,()=>i.assign(e,Tr._`${n.parentData}[${n.parentDataProperty}]`))}function O0(t,i){let{gen:e}=t;e.if(Tr._`Array.isArray(${i})`,()=>{e.assign(Ln.default.vErrors,Tr._`${Ln.default.vErrors} === null ? ${i} : ${Ln.default.vErrors}.concat(${i})`).assign(Ln.default.errors,Tr._`${Ln.default.vErrors}.length`),P0.extendErrors(t)},()=>t.error())}function q0({schemaEnv:t},i){if(i.async&&!t.$async)throw new Error("async keyword in sync schema")}function Xu(t,i,e){if(e===void 0)throw new Error(`keyword "${i}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:Tr.stringify(e)})}});var nh=Te(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.schemaKeywords=void 0;var Wl=_l(),eh=vs(),R0=Uu(),ih=Yu(),N0=It(),L0=Zr(),M0=Ze(),z0=ki();function j0(t,i,e,n){let{gen:o,schema:f,data:d,allErrors:v,opts:b,self:C}=t,{RULES:$}=C;if(f.$ref&&(b.ignoreKeywordsWithRef||!N0.schemaHasRulesButRef(f,$))){o.block(()=>ih.keywordCode(t,"$ref",$.all.$ref.definition));return}b.jtd||V0(t,i),o.block(()=>{for(let z of $.rules)O(z);O($.post)});function O(z){!Wl.shouldUseGroup(f,z)||(z.type?(o.if(eh.checkDataType(z.type,d,b.strict)),th(t,z),i.length===1&&i[0]===z.type&&e&&(o.else(),eh.reportTypeError(t)),o.endIf()):th(t,z),v||o.if(M0._`${z0.default.errors} === ${n||0}`))}}eo.schemaKeywords=j0;function th(t,i){let{gen:e,schema:n,opts:{useDefaults:o}}=t;o&&R0.assignDefaults(t,i.type),e.block(()=>{for(let f of i.rules)Wl.shouldUseRule(n,f)&&ih.keywordCode(t,f.keyword,f.definition,i.type)})}function V0(t,i){t.schemaEnv.meta||!t.opts.strictTypes||(B0(t,i),t.opts.allowUnionTypes||U0(t,i),H0(t,t.dataTypes))}function B0(t,i){if(!!i.length){if(!t.dataTypes.length){t.dataTypes=i;return}i.forEach(e=>{rh(t.dataTypes,e)||Jl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>rh(i,e))}}function U0(t,i){i.length>1&&!(i.length===2&&i.includes("null"))&&Jl(t,"use allowUnionTypes to allow union type keyword")}function H0(t,i){let e=t.self.RULES.all;for(let n in e){let o=e[n];if(typeof o=="object"&&Wl.shouldUseRule(t.schema,o)){let{type:f}=o.definition;f.length&&!f.some(d=>G0(i,d))&&Jl(t,`missing type "${f.join(",")}" for keyword "${n}"`)}}}function G0(t,i){return t.includes(i)||i==="number"&&t.includes("integer")}function rh(t,i){return t.includes(i)||i==="integer"&&t.includes("number")}function Jl(t,i){let e=t.schemaEnv.baseId+t.errSchemaPath;i+=` at "${e}" (strictTypes)`,L0.checkStrictMode(t,i,t.opts.strictTypes)}});var na=Te((dx,sh)=>{"use strict";sh.exports=function t(i,e){if(i===e)return!0;if(i&&e&&typeof i=="object"&&typeof e=="object"){if(i.constructor!==e.constructor)return!1;var n,o,f;if(Array.isArray(i)){if(n=i.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!t(i[o],e[o]))return!1;return!0}if(i.constructor===RegExp)return i.source===e.source&&i.flags===e.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===e.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===e.toString();if(f=Object.keys(i),n=f.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,f[o]))return!1;for(o=n;o--!==0;){var d=f[o];if(!t(i[d],e[d]))return!1}return!0}return i!==i&&e!==e}});var oh=Te((px,ah)=>{"use strict";var dn=ah.exports=function(t,i,e){typeof i=="function"&&(e=i,i={}),e=i.cb||e;var n=typeof e=="function"?e:e.pre||function(){},o=e.post||function(){};to(i,n,o,t,"",t)};dn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};dn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};dn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};dn.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function to(t,i,e,n,o,f,d,v,b,C){if(n&&typeof n=="object"&&!Array.isArray(n)){i(n,o,f,d,v,b,C);for(var $ in n){var O=n[$];if(Array.isArray(O)){if($ in dn.arrayKeywords)for(var z=0;z<O.length;z++)to(t,i,e,O[z],o+"/"+$+"/"+z,f,o,$,n,z)}else if($ in dn.propsKeywords){if(O&&typeof O=="object")for(var M in O)to(t,i,e,O[M],o+"/"+$+"/"+K0(M),f,o,$,n,M)}else($ in dn.keywords||t.allKeys&&!($ in dn.skipKeywords))&&to(t,i,e,O,o+"/"+$,f,o,$,n)}e(n,o,f,d,v,b,C)}}function K0(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Ql=Te((ro,lh)=>{(function(t,i){typeof ro=="object"&&typeof lh<"u"?i(ro):typeof define=="function"&&define.amd?define(["exports"],i):i(t.URI=t.URI||{})})(ro,function(t){"use strict";function i(){for(var Y=arguments.length,K=Array(Y),te=0;te<Y;te++)K[te]=arguments[te];if(K.length>1){K[0]=K[0].slice(0,-1);for(var se=K.length-1,fe=1;fe<se;++fe)K[fe]=K[fe].slice(1,-1);return K[se]=K[se].slice(1),K.join("")}else return K[0]}function e(Y){return"(?:"+Y+")"}function n(Y){return Y===void 0?"undefined":Y===null?"null":Object.prototype.toString.call(Y).split(" ").pop().split("]").shift().toLowerCase()}function o(Y){return Y.toUpperCase()}function f(Y){return Y!=null?Y instanceof Array?Y:typeof Y.length!="number"||Y.split||Y.setInterval||Y.call?[Y]:Array.prototype.slice.call(Y):[]}function d(Y,K){var te=Y;if(K)for(var se in K)te[se]=K[se];return te}function v(Y){var K="[A-Za-z]",te="[\\x0D]",se="[0-9]",fe="[\\x22]",$e=i(se,"[A-Fa-f]"),Oe="[\\x0A]",ze="[\\x20]",He=e(e("%[EFef]"+$e+"%"+$e+$e+"%"+$e+$e)+"|"+e("%[89A-Fa-f]"+$e+"%"+$e+$e)+"|"+e("%"+$e+$e)),mt="[\\:\\/\\?\\#\\[\\]\\@]",Me="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ft=i(mt,Me),bt=Y?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ot=Y?"[\\uE000-\\uF8FF]":"[]",tt=i(K,se,"[\\-\\.\\_\\~]",bt),wt=e(K+i(K,se,"[\\+\\-\\.]")+"*"),Je=e(e(He+"|"+i(tt,Me,"[\\:]"))+"*"),er=e(e("25[0-5]")+"|"+e("2[0-4]"+se)+"|"+e("1"+se+se)+"|"+e("[1-9]"+se)+"|"+se),tr=e(e("25[0-5]")+"|"+e("2[0-4]"+se)+"|"+e("1"+se+se)+"|"+e("0?[1-9]"+se)+"|0?0?"+se),Tt=e(tr+"\\."+tr+"\\."+tr+"\\."+tr),Qe=e($e+"{1,4}"),Kt=e(e(Qe+"\\:"+Qe)+"|"+Tt),rr=e(e(Qe+"\\:")+"{6}"+Kt),kr=e("\\:\\:"+e(Qe+"\\:")+"{5}"+Kt),Hr=e(e(Qe)+"?\\:\\:"+e(Qe+"\\:")+"{4}"+Kt),Cr=e(e(e(Qe+"\\:")+"{0,1}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{3}"+Kt),Ii=e(e(e(Qe+"\\:")+"{0,2}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{2}"+Kt),nn=e(e(e(Qe+"\\:")+"{0,3}"+Qe)+"?\\:\\:"+Qe+"\\:"+Kt),sn=e(e(e(Qe+"\\:")+"{0,4}"+Qe)+"?\\:\\:"+Kt),gi=e(e(e(Qe+"\\:")+"{0,5}"+Qe)+"?\\:\\:"+Qe),yi=e(e(e(Qe+"\\:")+"{0,6}"+Qe)+"?\\:\\:"),Gr=e([rr,kr,Hr,Cr,Ii,nn,sn,gi,yi].join("|")),Kr=e(e(tt+"|"+He)+"+"),An=e(Gr+"\\%25"+Kr),vi=e(Gr+e("\\%25|\\%(?!"+$e+"{2})")+Kr),es=e("[vV]"+$e+"+\\."+i(tt,Me,"[\\:]")+"+"),ts=e("\\["+e(vi+"|"+Gr+"|"+es)+"\\]"),an=e(e(He+"|"+i(tt,Me))+"*"),ti=e(ts+"|"+Tt+"(?!"+an+")|"+an),ri=e(se+"*"),bi=e(e(Je+"@")+"?"+ti+e("\\:"+ri)+"?"),ii=e(He+"|"+i(tt,Me,"[\\:\\@]")),Ki=e(ii+"*"),$n=e(ii+"+"),rs=e(e(He+"|"+i(tt,Me,"[\\@]"))+"+"),_r=e(e("\\/"+Ki)+"*"),Wr=e("\\/"+e($n+_r)+"?"),Oi=e(rs+_r),qi=e($n+_r),Le="(?!"+ii+")",qt=e(_r+"|"+Wr+"|"+Oi+"|"+qi+"|"+Le),Ie=e(e(ii+"|"+i("[\\/\\?]",ot))+"*"),ni=e(e(ii+"|[\\/\\?]")+"*"),Wi=e(e("\\/\\/"+bi+_r)+"|"+Wr+"|"+qi+"|"+Le),is=e(wt+"\\:"+Wi+e("\\?"+Ie)+"?"+e("\\#"+ni)+"?"),Ue=e(e("\\/\\/"+bi+_r)+"|"+Wr+"|"+Oi+"|"+Le),Dt=e(Ue+e("\\?"+Ie)+"?"+e("\\#"+ni)+"?"),Ri=e(is+"|"+Dt),xn=e(wt+"\\:"+Wi+e("\\?"+Ie)+"?"),r="^("+wt+")\\:"+e(e("\\/\\/("+e("("+Je+")@")+"?("+ti+")"+e("\\:("+ri+")")+"?)")+"?("+_r+"|"+Wr+"|"+qi+"|"+Le+")")+e("\\?("+Ie+")")+"?"+e("\\#("+ni+")")+"?$",ue="^(){0}"+e(e("\\/\\/("+e("("+Je+")@")+"?("+ti+")"+e("\\:("+ri+")")+"?)")+"?("+_r+"|"+Wr+"|"+Oi+"|"+Le+")")+e("\\?("+Ie+")")+"?"+e("\\#("+ni+")")+"?$",on="^("+wt+")\\:"+e(e("\\/\\/("+e("("+Je+")@")+"?("+ti+")"+e("\\:("+ri+")")+"?)")+"?("+_r+"|"+Wr+"|"+qi+"|"+Le+")")+e("\\?("+Ie+")")+"?$",Ir="^"+e("\\#("+ni+")")+"?$",ns="^"+e("("+Je+")@")+"?("+ti+")"+e("\\:("+ri+")")+"?$";return{NOT_SCHEME:new RegExp(i("[^]",K,se,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(i("[^\\%\\:]",tt,Me),"g"),NOT_HOST:new RegExp(i("[^\\%\\[\\]\\:]",tt,Me),"g"),NOT_PATH:new RegExp(i("[^\\%\\/\\:\\@]",tt,Me),"g"),NOT_PATH_NOSCHEME:new RegExp(i("[^\\%\\/\\@]",tt,Me),"g"),NOT_QUERY:new RegExp(i("[^\\%]",tt,Me,"[\\:\\@\\/\\?]",ot),"g"),NOT_FRAGMENT:new RegExp(i("[^\\%]",tt,Me,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(i("[^]",tt,Me),"g"),UNRESERVED:new RegExp(tt,"g"),OTHER_CHARS:new RegExp(i("[^\\%]",tt,ft),"g"),PCT_ENCODED:new RegExp(He,"g"),IPV4ADDRESS:new RegExp("^("+Tt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Gr+")"+e(e("\\%25|\\%(?!"+$e+"{2})")+"("+Kr+")")+"?\\]?$")}}var b=v(!1),C=v(!0),$=function(){function Y(K,te){var se=[],fe=!0,$e=!1,Oe=void 0;try{for(var ze=K[Symbol.iterator](),He;!(fe=(He=ze.next()).done)&&(se.push(He.value),!(te&&se.length===te));fe=!0);}catch(mt){$e=!0,Oe=mt}finally{try{!fe&&ze.return&&ze.return()}finally{if($e)throw Oe}}return se}return function(K,te){if(Array.isArray(K))return K;if(Symbol.iterator in Object(K))return Y(K,te);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),O=function(Y){if(Array.isArray(Y)){for(var K=0,te=Array(Y.length);K<Y.length;K++)te[K]=Y[K];return te}else return Array.from(Y)},z=2147483647,M=36,j=1,G=26,J=38,Q=700,ie=72,de=128,Ce="-",we=/^xn--/,ce=/[^\0-\x7E]/,me=/[\x2E\u3002\uFF0E\uFF61]/g,Pe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=M-j,Xe=Math.floor,Re=String.fromCharCode;function je(Y){throw new RangeError(Pe[Y])}function xe(Y,K){for(var te=[],se=Y.length;se--;)te[se]=K(Y[se]);return te}function Ne(Y,K){var te=Y.split("@"),se="";te.length>1&&(se=te[0]+"@",Y=te[1]),Y=Y.replace(me,".");var fe=Y.split("."),$e=xe(fe,K).join(".");return se+$e}function st(Y){for(var K=[],te=0,se=Y.length;te<se;){var fe=Y.charCodeAt(te++);if(fe>=55296&&fe<=56319&&te<se){var $e=Y.charCodeAt(te++);($e&64512)==56320?K.push(((fe&1023)<<10)+($e&1023)+65536):(K.push(fe),te--)}else K.push(fe)}return K}var ae=function(K){return String.fromCodePoint.apply(String,O(K))},kt=function(K){return K-48<10?K-22:K-65<26?K-65:K-97<26?K-97:M},at=function(K,te){return K+22+75*(K<26)-((te!=0)<<5)},_t=function(K,te,se){var fe=0;for(K=se?Xe(K/Q):K>>1,K+=Xe(K/te);K>ke*G>>1;fe+=M)K=Xe(K/ke);return Xe(fe+(ke+1)*K/(K+J))},ht=function(K){var te=[],se=K.length,fe=0,$e=de,Oe=ie,ze=K.lastIndexOf(Ce);ze<0&&(ze=0);for(var He=0;He<ze;++He)K.charCodeAt(He)>=128&&je("not-basic"),te.push(K.charCodeAt(He));for(var mt=ze>0?ze+1:0;mt<se;){for(var Me=fe,ft=1,bt=M;;bt+=M){mt>=se&&je("invalid-input");var ot=kt(K.charCodeAt(mt++));(ot>=M||ot>Xe((z-fe)/ft))&&je("overflow"),fe+=ot*ft;var tt=bt<=Oe?j:bt>=Oe+G?G:bt-Oe;if(ot<tt)break;var wt=M-tt;ft>Xe(z/wt)&&je("overflow"),ft*=wt}var Je=te.length+1;Oe=_t(fe-Me,Je,Me==0),Xe(fe/Je)>z-$e&&je("overflow"),$e+=Xe(fe/Je),fe%=Je,te.splice(fe++,0,$e)}return String.fromCodePoint.apply(String,te)},Z=function(K){var te=[];K=st(K);var se=K.length,fe=de,$e=0,Oe=ie,ze=!0,He=!1,mt=void 0;try{for(var Me=K[Symbol.iterator](),ft;!(ze=(ft=Me.next()).done);ze=!0){var bt=ft.value;bt<128&&te.push(Re(bt))}}catch(vi){He=!0,mt=vi}finally{try{!ze&&Me.return&&Me.return()}finally{if(He)throw mt}}var ot=te.length,tt=ot;for(ot&&te.push(Ce);tt<se;){var wt=z,Je=!0,er=!1,tr=void 0;try{for(var Tt=K[Symbol.iterator](),Qe;!(Je=(Qe=Tt.next()).done);Je=!0){var Kt=Qe.value;Kt>=fe&&Kt<wt&&(wt=Kt)}}catch(vi){er=!0,tr=vi}finally{try{!Je&&Tt.return&&Tt.return()}finally{if(er)throw tr}}var rr=tt+1;wt-fe>Xe((z-$e)/rr)&&je("overflow"),$e+=(wt-fe)*rr,fe=wt;var kr=!0,Hr=!1,Cr=void 0;try{for(var Ii=K[Symbol.iterator](),nn;!(kr=(nn=Ii.next()).done);kr=!0){var sn=nn.value;if(sn<fe&&++$e>z&&je("overflow"),sn==fe){for(var gi=$e,yi=M;;yi+=M){var Gr=yi<=Oe?j:yi>=Oe+G?G:yi-Oe;if(gi<Gr)break;var Kr=gi-Gr,An=M-Gr;te.push(Re(at(Gr+Kr%An,0))),gi=Xe(Kr/An)}te.push(Re(at(gi,0))),Oe=_t($e,rr,tt==ot),$e=0,++tt}}}catch(vi){Hr=!0,Cr=vi}finally{try{!kr&&Ii.return&&Ii.return()}finally{if(Hr)throw Cr}}++$e,++fe}return te.join("")},X=function(K){return Ne(K,function(te){return we.test(te)?ht(te.slice(4).toLowerCase()):te})},Ar=function(K){return Ne(K,function(te){return ce.test(te)?"xn--"+Z(te):te})},Bt={version:"2.1.0",ucs2:{decode:st,encode:ae},decode:ht,encode:Z,toASCII:Ar,toUnicode:X},Ft={};function Lt(Y){var K=Y.charCodeAt(0),te=void 0;return K<16?te="%0"+K.toString(16).toUpperCase():K<128?te="%"+K.toString(16).toUpperCase():K<2048?te="%"+(K>>6|192).toString(16).toUpperCase()+"%"+(K&63|128).toString(16).toUpperCase():te="%"+(K>>12|224).toString(16).toUpperCase()+"%"+(K>>6&63|128).toString(16).toUpperCase()+"%"+(K&63|128).toString(16).toUpperCase(),te}function Ot(Y){for(var K="",te=0,se=Y.length;te<se;){var fe=parseInt(Y.substr(te+1,2),16);if(fe<128)K+=String.fromCharCode(fe),te+=3;else if(fe>=194&&fe<224){if(se-te>=6){var $e=parseInt(Y.substr(te+4,2),16);K+=String.fromCharCode((fe&31)<<6|$e&63)}else K+=Y.substr(te,6);te+=6}else if(fe>=224){if(se-te>=9){var Oe=parseInt(Y.substr(te+4,2),16),ze=parseInt(Y.substr(te+7,2),16);K+=String.fromCharCode((fe&15)<<12|(Oe&63)<<6|ze&63)}else K+=Y.substr(te,9);te+=9}else K+=Y.substr(te,3),te+=3}return K}function yt(Y,K){function te(se){var fe=Ot(se);return fe.match(K.UNRESERVED)?fe:se}return Y.scheme&&(Y.scheme=String(Y.scheme).replace(K.PCT_ENCODED,te).toLowerCase().replace(K.NOT_SCHEME,"")),Y.userinfo!==void 0&&(Y.userinfo=String(Y.userinfo).replace(K.PCT_ENCODED,te).replace(K.NOT_USERINFO,Lt).replace(K.PCT_ENCODED,o)),Y.host!==void 0&&(Y.host=String(Y.host).replace(K.PCT_ENCODED,te).toLowerCase().replace(K.NOT_HOST,Lt).replace(K.PCT_ENCODED,o)),Y.path!==void 0&&(Y.path=String(Y.path).replace(K.PCT_ENCODED,te).replace(Y.scheme?K.NOT_PATH:K.NOT_PATH_NOSCHEME,Lt).replace(K.PCT_ENCODED,o)),Y.query!==void 0&&(Y.query=String(Y.query).replace(K.PCT_ENCODED,te).replace(K.NOT_QUERY,Lt).replace(K.PCT_ENCODED,o)),Y.fragment!==void 0&&(Y.fragment=String(Y.fragment).replace(K.PCT_ENCODED,te).replace(K.NOT_FRAGMENT,Lt).replace(K.PCT_ENCODED,o)),Y}function $r(Y){return Y.replace(/^0*(.*)/,"$1")||"0"}function Ut(Y,K){var te=Y.match(K.IPV4ADDRESS)||[],se=$(te,2),fe=se[1];return fe?fe.split(".").map($r).join("."):Y}function or(Y,K){var te=Y.match(K.IPV6ADDRESS)||[],se=$(te,3),fe=se[1],$e=se[2];if(fe){for(var Oe=fe.toLowerCase().split("::").reverse(),ze=$(Oe,2),He=ze[0],mt=ze[1],Me=mt?mt.split(":").map($r):[],ft=He.split(":").map($r),bt=K.IPV4ADDRESS.test(ft[ft.length-1]),ot=bt?7:8,tt=ft.length-ot,wt=Array(ot),Je=0;Je<ot;++Je)wt[Je]=Me[Je]||ft[tt+Je]||"";bt&&(wt[ot-1]=Ut(wt[ot-1],K));var er=wt.reduce(function(rr,kr,Hr){if(!kr||kr==="0"){var Cr=rr[rr.length-1];Cr&&Cr.index+Cr.length===Hr?Cr.length++:rr.push({index:Hr,length:1})}return rr},[]),tr=er.sort(function(rr,kr){return kr.length-rr.length})[0],Tt=void 0;if(tr&&tr.length>1){var Qe=wt.slice(0,tr.index),Kt=wt.slice(tr.index+tr.length);Tt=Qe.join(":")+"::"+Kt.join(":")}else Tt=wt.join(":");return $e&&(Tt+="%"+$e),Tt}else return Y}var jr=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,pi="".match(/(){0}/)[1]===void 0;function lr(Y){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te={},se=K.iri!==!1?C:b;K.reference==="suffix"&&(Y=(K.scheme?K.scheme+":":"")+"//"+Y);var fe=Y.match(jr);if(fe){pi?(te.scheme=fe[1],te.userinfo=fe[3],te.host=fe[4],te.port=parseInt(fe[5],10),te.path=fe[6]||"",te.query=fe[7],te.fragment=fe[8],isNaN(te.port)&&(te.port=fe[5])):(te.scheme=fe[1]||void 0,te.userinfo=Y.indexOf("@")!==-1?fe[3]:void 0,te.host=Y.indexOf("//")!==-1?fe[4]:void 0,te.port=parseInt(fe[5],10),te.path=fe[6]||"",te.query=Y.indexOf("?")!==-1?fe[7]:void 0,te.fragment=Y.indexOf("#")!==-1?fe[8]:void 0,isNaN(te.port)&&(te.port=Y.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?fe[4]:void 0)),te.host&&(te.host=or(Ut(te.host,se),se)),te.scheme===void 0&&te.userinfo===void 0&&te.host===void 0&&te.port===void 0&&!te.path&&te.query===void 0?te.reference="same-document":te.scheme===void 0?te.reference="relative":te.fragment===void 0?te.reference="absolute":te.reference="uri",K.reference&&K.reference!=="suffix"&&K.reference!==te.reference&&(te.error=te.error||"URI is not a "+K.reference+" reference.");var $e=Ft[(K.scheme||te.scheme||"").toLowerCase()];if(!K.unicodeSupport&&(!$e||!$e.unicodeSupport)){if(te.host&&(K.domainHost||$e&&$e.domainHost))try{te.host=Bt.toASCII(te.host.replace(se.PCT_ENCODED,Ot).toLowerCase())}catch(Oe){te.error=te.error||"Host's domain name can not be converted to ASCII via punycode: "+Oe}yt(te,b)}else yt(te,se);$e&&$e.parse&&$e.parse(te,K)}else te.error=te.error||"URI can not be parsed.";return te}function mi(Y,K){var te=K.iri!==!1?C:b,se=[];return Y.userinfo!==void 0&&(se.push(Y.userinfo),se.push("@")),Y.host!==void 0&&se.push(or(Ut(String(Y.host),te),te).replace(te.IPV6ADDRESS,function(fe,$e,Oe){return"["+$e+(Oe?"%25"+Oe:"")+"]"})),(typeof Y.port=="number"||typeof Y.port=="string")&&(se.push(":"),se.push(String(Y.port))),se.length?se.join(""):void 0}var Yr=/^\.\.?\//,Pi=/^\/\.(\/|$)/,Fi=/^\/\.\.(\/|$)/,Ui=/^\/?(?:.|\n)*?(?=\/|$)/;function le(Y){for(var K=[];Y.length;)if(Y.match(Yr))Y=Y.replace(Yr,"");else if(Y.match(Pi))Y=Y.replace(Pi,"/");else if(Y.match(Fi))Y=Y.replace(Fi,"/"),K.pop();else if(Y==="."||Y==="..")Y="";else{var te=Y.match(Ui);if(te){var se=te[0];Y=Y.slice(se.length),K.push(se)}else throw new Error("Unexpected dot segment condition")}return K.join("")}function Yt(Y){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=K.iri?C:b,se=[],fe=Ft[(K.scheme||Y.scheme||"").toLowerCase()];if(fe&&fe.serialize&&fe.serialize(Y,K),Y.host&&!te.IPV6ADDRESS.test(Y.host)){if(K.domainHost||fe&&fe.domainHost)try{Y.host=K.iri?Bt.toUnicode(Y.host):Bt.toASCII(Y.host.replace(te.PCT_ENCODED,Ot).toLowerCase())}catch(ze){Y.error=Y.error||"Host's domain name can not be converted to "+(K.iri?"Unicode":"ASCII")+" via punycode: "+ze}}yt(Y,te),K.reference!=="suffix"&&Y.scheme&&(se.push(Y.scheme),se.push(":"));var $e=mi(Y,K);if($e!==void 0&&(K.reference!=="suffix"&&se.push("//"),se.push($e),Y.path&&Y.path.charAt(0)!=="/"&&se.push("/")),Y.path!==void 0){var Oe=Y.path;!K.absolutePath&&(!fe||!fe.absolutePath)&&(Oe=le(Oe)),$e===void 0&&(Oe=Oe.replace(/^\/\//,"/%2F")),se.push(Oe)}return Y.query!==void 0&&(se.push("?"),se.push(Y.query)),Y.fragment!==void 0&&(se.push("#"),se.push(Y.fragment)),se.join("")}function Hi(Y,K){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=arguments[3],fe={};return se||(Y=lr(Yt(Y,te),te),K=lr(Yt(K,te),te)),te=te||{},!te.tolerant&&K.scheme?(fe.scheme=K.scheme,fe.userinfo=K.userinfo,fe.host=K.host,fe.port=K.port,fe.path=le(K.path||""),fe.query=K.query):(K.userinfo!==void 0||K.host!==void 0||K.port!==void 0?(fe.userinfo=K.userinfo,fe.host=K.host,fe.port=K.port,fe.path=le(K.path||""),fe.query=K.query):(K.path?(K.path.charAt(0)==="/"?fe.path=le(K.path):((Y.userinfo!==void 0||Y.host!==void 0||Y.port!==void 0)&&!Y.path?fe.path="/"+K.path:Y.path?fe.path=Y.path.slice(0,Y.path.lastIndexOf("/")+1)+K.path:fe.path=K.path,fe.path=le(fe.path)),fe.query=K.query):(fe.path=Y.path,K.query!==void 0?fe.query=K.query:fe.query=Y.query),fe.userinfo=Y.userinfo,fe.host=Y.host,fe.port=Y.port),fe.scheme=Y.scheme),fe.fragment=K.fragment,fe}function Ae(Y,K,te){var se=d({scheme:"null"},te);return Yt(Hi(lr(Y,se),lr(K,se),se,!0),se)}function be(Y,K){return typeof Y=="string"?Y=Yt(lr(Y,K),K):n(Y)==="object"&&(Y=lr(Yt(Y,K),K)),Y}function _e(Y,K,te){return typeof Y=="string"?Y=Yt(lr(Y,te),te):n(Y)==="object"&&(Y=Yt(Y,te)),typeof K=="string"?K=Yt(lr(K,te),te):n(K)==="object"&&(K=Yt(K,te)),Y===K}function Ee(Y,K){return Y&&Y.toString().replace(!K||!K.iri?b.ESCAPE:C.ESCAPE,Lt)}function Mt(Y,K){return Y&&Y.toString().replace(!K||!K.iri?b.PCT_ENCODED:C.PCT_ENCODED,Ot)}var ee={scheme:"http",domainHost:!0,parse:function(K,te){return K.host||(K.error=K.error||"HTTP URIs must have a host."),K},serialize:function(K,te){var se=String(K.scheme).toLowerCase()==="https";return(K.port===(se?443:80)||K.port==="")&&(K.port=void 0),K.path||(K.path="/"),K}},ne={scheme:"https",domainHost:ee.domainHost,parse:ee.parse,serialize:ee.serialize};function he(Y){return typeof Y.secure=="boolean"?Y.secure:String(Y.scheme).toLowerCase()==="wss"}var pe={scheme:"ws",domainHost:!0,parse:function(K,te){var se=K;return se.secure=he(se),se.resourceName=(se.path||"/")+(se.query?"?"+se.query:""),se.path=void 0,se.query=void 0,se},serialize:function(K,te){if((K.port===(he(K)?443:80)||K.port==="")&&(K.port=void 0),typeof K.secure=="boolean"&&(K.scheme=K.secure?"wss":"ws",K.secure=void 0),K.resourceName){var se=K.resourceName.split("?"),fe=$(se,2),$e=fe[0],Oe=fe[1];K.path=$e&&$e!=="/"?$e:void 0,K.query=Oe,K.resourceName=void 0}return K.fragment=void 0,K}},vt={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},Ht={},dt=!0,Et="[A-Za-z0-9\\-\\.\\_\\~"+(dt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",St="[0-9A-Fa-f]",xr=e(e("%[EFef]"+St+"%"+St+St+"%"+St+St)+"|"+e("%[89A-Fa-f]"+St+"%"+St+St)+"|"+e("%"+St+St)),pt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Vr="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Gt=i(Vr,'[\\"\\\\]'),Gi="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",en=new RegExp(Et,"g"),Br=new RegExp(xr,"g"),tn=new RegExp(i("[^]",pt,"[\\.]",'[\\"]',Gt),"g"),ei=new RegExp(i("[^]",Et,Gi),"g"),rn=ei;function Ur(Y){var K=Ot(Y);return K.match(en)?K:Y}var Di={scheme:"mailto",parse:function(K,te){var se=K,fe=se.to=se.path?se.path.split(","):[];if(se.path=void 0,se.query){for(var $e=!1,Oe={},ze=se.query.split("&"),He=0,mt=ze.length;He<mt;++He){var Me=ze[He].split("=");switch(Me[0]){case"to":for(var ft=Me[1].split(","),bt=0,ot=ft.length;bt<ot;++bt)fe.push(ft[bt]);break;case"subject":se.subject=Mt(Me[1],te);break;case"body":se.body=Mt(Me[1],te);break;default:$e=!0,Oe[Mt(Me[0],te)]=Mt(Me[1],te);break}}$e&&(se.headers=Oe)}se.query=void 0;for(var tt=0,wt=fe.length;tt<wt;++tt){var Je=fe[tt].split("@");if(Je[0]=Mt(Je[0]),te.unicodeSupport)Je[1]=Mt(Je[1],te).toLowerCase();else try{Je[1]=Bt.toASCII(Mt(Je[1],te).toLowerCase())}catch(er){se.error=se.error||"Email address's domain name can not be converted to ASCII via punycode: "+er}fe[tt]=Je.join("@")}return se},serialize:function(K,te){var se=K,fe=f(K.to);if(fe){for(var $e=0,Oe=fe.length;$e<Oe;++$e){var ze=String(fe[$e]),He=ze.lastIndexOf("@"),mt=ze.slice(0,He).replace(Br,Ur).replace(Br,o).replace(tn,Lt),Me=ze.slice(He+1);try{Me=te.iri?Bt.toUnicode(Me):Bt.toASCII(Mt(Me,te).toLowerCase())}catch(tt){se.error=se.error||"Email address's domain name can not be converted to "+(te.iri?"Unicode":"ASCII")+" via punycode: "+tt}fe[$e]=mt+"@"+Me}se.path=fe.join(",")}var ft=K.headers=K.headers||{};K.subject&&(ft.subject=K.subject),K.body&&(ft.body=K.body);var bt=[];for(var ot in ft)ft[ot]!==Ht[ot]&&bt.push(ot.replace(Br,Ur).replace(Br,o).replace(ei,Lt)+"="+ft[ot].replace(Br,Ur).replace(Br,o).replace(rn,Lt));return bt.length&&(se.query=bt.join("&")),se}},Is=/^([^\:]+)\:(.*)/,Yn={scheme:"urn",parse:function(K,te){var se=K.path&&K.path.match(Is),fe=K;if(se){var $e=te.scheme||fe.scheme||"urn",Oe=se[1].toLowerCase(),ze=se[2],He=$e+":"+(te.nid||Oe),mt=Ft[He];fe.nid=Oe,fe.nss=ze,fe.path=void 0,mt&&(fe=mt.parse(fe,te))}else fe.error=fe.error||"URN can not be parsed.";return fe},serialize:function(K,te){var se=te.scheme||K.scheme||"urn",fe=K.nid,$e=se+":"+(te.nid||fe),Oe=Ft[$e];Oe&&(K=Oe.serialize(K,te));var ze=K,He=K.nss;return ze.path=(fe||te.nid)+":"+He,ze}},Os=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,wn={scheme:"urn:uuid",parse:function(K,te){var se=K;return se.uuid=se.nss,se.nss=void 0,!te.tolerant&&(!se.uuid||!se.uuid.match(Os))&&(se.error=se.error||"UUID is not valid."),se},serialize:function(K,te){var se=K;return se.nss=(K.uuid||"").toLowerCase(),se}};Ft[ee.scheme]=ee,Ft[ne.scheme]=ne,Ft[pe.scheme]=pe,Ft[vt.scheme]=vt,Ft[Di.scheme]=Di,Ft[Yn.scheme]=Yn,Ft[wn.scheme]=wn,t.SCHEMES=Ft,t.pctEncChar=Lt,t.pctDecChars=Ot,t.parse=lr,t.removeDotSegments=le,t.serialize=Yt,t.resolveComponents=Hi,t.resolve=Ae,t.normalize=be,t.equal=_e,t.escapeComponent=Ee,t.unescapeComponent=Mt,Object.defineProperty(t,"__esModule",{value:!0})})});var sa=Te(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.getSchemaRefs=Lr.resolveUrl=Lr.normalizeId=Lr._getFullPath=Lr.getFullPath=Lr.inlineRef=void 0;var W0=It(),J0=na(),Q0=oh(),io=Ql(),Z0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function X0(t,i=!0){return typeof t=="boolean"?!0:i===!0?!Zl(t):i?fh(t)<=i:!1}Lr.inlineRef=X0;var Y0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Zl(t){for(let i in t){if(Y0.has(i))return!0;let e=t[i];if(Array.isArray(e)&&e.some(Zl)||typeof e=="object"&&Zl(e))return!0}return!1}function fh(t){let i=0;for(let e in t){if(e==="$ref")return 1/0;if(i++,!Z0.has(e)&&(typeof t[e]=="object"&&W0.eachItem(t[e],n=>i+=fh(n)),i===1/0))return 1/0}return i}function ch(t="",i){i!==!1&&(t=bs(t));let e=io.parse(t);return uh(e)}Lr.getFullPath=ch;function uh(t){return io.serialize(t).split("#")[0]+"#"}Lr._getFullPath=uh;var ey=/#\/?$/;function bs(t){return t?t.replace(ey,""):""}Lr.normalizeId=bs;function ty(t,i){return i=bs(i),io.resolve(t,i)}Lr.resolveUrl=ty;var ry=/^[a-z_][-a-z0-9._]*$/i;function iy(t){if(typeof t=="boolean")return{};let i=bs(t.$id),e={"":i},n=ch(i,!1),o={},f=new Set;return Q0(t,{allKeys:!0},(b,C,$,O)=>{if(O===void 0)return;let z=n+C,M=e[O];typeof b.$id=="string"&&(M=j.call(this,b.$id)),G.call(this,b.$anchor),G.call(this,b.$dynamicAnchor),e[C]=M;function j(J){if(J=bs(M?io.resolve(M,J):J),f.has(J))throw v(J);f.add(J);let Q=this.refs[J];return typeof Q=="string"&&(Q=this.refs[Q]),typeof Q=="object"?d(b,Q.schema,J):J!==bs(z)&&(J[0]==="#"?(d(b,o[J],J),o[J]=b):this.refs[J]=z),J}function G(J){if(typeof J=="string"){if(!ry.test(J))throw new Error(`invalid anchor "${J}"`);j.call(this,`#${J}`)}}}),o;function d(b,C,$){if(C!==void 0&&!J0(b,C))throw v($)}function v(b){return new Error(`reference "${b}" resolves to more than one schema`)}}Lr.getSchemaRefs=iy});var Zr=Te(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.checkStrictMode=zi.schemaCxtHasRules=zi.subschemaCode=zi.validateFunctionCode=void 0;var mh=Vu(),hh=vs(),dh=nh(),rt=Ze(),Ve=ki(),ny=sa(),gh=It();function sy(t){if(vh(t)&&(bh(t),Xl(t))){ly(t);return}yh(t,()=>mh.topBoolOrEmptySchema(t))}zi.validateFunctionCode=sy;function yh({gen:t,validateName:i,schema:e,schemaEnv:n,opts:o},f){o.code.es5?t.func(i,rt._`${Ve.default.data}, ${Ve.default.valCxt}`,n.$async,()=>{t.code(rt._`"use strict"; ${ph(e,o)}`),oy(t,o),t.code(f)}):t.func(i,rt._`${Ve.default.data}, ${ay(o)}`,n.$async,()=>t.code(ph(e,o)).code(f))}function ay(t){return rt._`{${Ve.default.dataPath}="", ${Ve.default.parentData}, ${Ve.default.parentDataProperty}, ${Ve.default.rootData}=${Ve.default.data}${t.dynamicRef?rt._`, ${Ve.default.dynamicAnchors}={}`:rt.nil}}={}`}function oy(t,i){t.if(Ve.default.valCxt,()=>{t.var(Ve.default.dataPath,rt._`${Ve.default.valCxt}.${Ve.default.dataPath}`),t.var(Ve.default.parentData,rt._`${Ve.default.valCxt}.${Ve.default.parentData}`),t.var(Ve.default.parentDataProperty,rt._`${Ve.default.valCxt}.${Ve.default.parentDataProperty}`),t.var(Ve.default.rootData,rt._`${Ve.default.valCxt}.${Ve.default.rootData}`),i.dynamicRef&&t.var(Ve.default.dynamicAnchors,rt._`${Ve.default.valCxt}.${Ve.default.dynamicAnchors}`)},()=>{t.var(Ve.default.dataPath,rt._`""`),t.var(Ve.default.parentData,rt._`undefined`),t.var(Ve.default.parentDataProperty,rt._`undefined`),t.var(Ve.default.rootData,Ve.default.data),i.dynamicRef&&t.var(Ve.default.dynamicAnchors,rt._`{}`)})}function ly(t){let{schema:i,opts:e,gen:n}=t;yh(t,()=>{e.$comment&&i.$comment&&Ah(t),dy(t),n.let(Ve.default.vErrors,null),n.let(Ve.default.errors,0),e.unevaluated&&fy(t),wh(t),gy(t)})}function fy(t){let{gen:i,validateName:e}=t;t.evaluated=i.const("evaluated",rt._`${e}.evaluated`),i.if(rt._`${t.evaluated}.dynamicProps`,()=>i.assign(rt._`${t.evaluated}.props`,rt._`undefined`)),i.if(rt._`${t.evaluated}.dynamicItems`,()=>i.assign(rt._`${t.evaluated}.items`,rt._`undefined`))}function ph(t,i){return typeof t=="object"&&t.$id&&(i.code.source||i.code.process)?rt._`/*# sourceURL=${t.$id} */`:rt.nil}function cy(t,i){if(vh(t)&&(bh(t),Xl(t))){uy(t,i);return}mh.boolOrEmptySchema(t,i)}zi.subschemaCode=cy;function Xl({schema:t,self:i}){if(typeof t=="boolean")return!t;for(let e in t)if(i.RULES.all[e])return!0;return!1}zi.schemaCxtHasRules=Xl;function vh(t){return typeof t.schema!="boolean"}function uy(t,i){let{schema:e,gen:n,opts:o}=t;o.$comment&&e.$comment&&Ah(t),py(t),my(t);let f=n.const("_errs",Ve.default.errors);wh(t,f),n.var(i,rt._`${f} === ${Ve.default.errors}`)}function bh(t){gh.checkUnknownRules(t),hy(t)}function wh(t,i){if(t.opts.jtd)return dh.schemaKeywords(t,[],!1,i);let e=hh.getSchemaTypes(t.schema),n=hh.coerceAndCheckDataType(t,e);dh.schemaKeywords(t,e,!n,i)}function hy(t){let{schema:i,errSchemaPath:e,opts:n,self:o}=t;i.$ref&&n.ignoreKeywordsWithRef&&gh.schemaHasRulesButRef(i,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function dy(t){let{schema:i,opts:e}=t;i.default!==void 0&&e.useDefaults&&e.strict&&$h(t,"default is ignored in the schema root")}function py(t){t.schema.$id&&(t.baseId=ny.resolveUrl(t.baseId,t.schema.$id))}function my(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Ah({gen:t,schemaEnv:i,schema:e,errSchemaPath:n,opts:o}){let f=e.$comment;if(o.$comment===!0)t.code(rt._`${Ve.default.self}.logger.log(${f})`);else if(typeof o.$comment=="function"){let d=rt.str`${n}/$comment`,v=t.scopeValue("root",{ref:i.root});t.code(rt._`${Ve.default.self}.opts.$comment(${f}, ${d}, ${v}.schema)`)}}function gy(t){let{gen:i,schemaEnv:e,validateName:n,ValidationError:o,opts:f}=t;e.$async?i.if(rt._`${Ve.default.errors} === 0`,()=>i.return(Ve.default.data),()=>i.throw(rt._`new ${o}(${Ve.default.vErrors})`)):(i.assign(rt._`${n}.errors`,Ve.default.vErrors),f.unevaluated&&yy(t),i.return(rt._`${Ve.default.errors} === 0`))}function yy({gen:t,evaluated:i,props:e,items:n}){e instanceof rt.Name&&t.assign(rt._`${i}.props`,e),n instanceof rt.Name&&t.assign(rt._`${i}.items`,n)}function $h(t,i,e=t.opts.strict){if(!!e){if(i=`strict mode: ${i}`,e===!0)throw new Error(i);t.self.logger.warn(i)}}zi.checkStrictMode=$h});var It=Te(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.func=ct.setEvaluated=ct.evaluatedPropsToName=ct.mergeEvaluated=ct.eachItem=ct.unescapeJsonPointer=ct.escapeJsonPointer=ct.escapeFragment=ct.unescapeFragment=ct.schemaRefOrVal=ct.schemaHasRulesButRef=ct.schemaHasRules=ct.checkUnknownRules=ct.alwaysValidSchema=ct.toHash=void 0;var Rt=Ze(),vy=Zr();function by(t){let i={};for(let e of t)i[e]=!0;return i}ct.toHash=by;function wy(t,i){return typeof i=="boolean"?i:Object.keys(i).length===0?!0:(kh(t,i),!Ch(i,t.self.RULES.all))}ct.alwaysValidSchema=wy;function kh(t,i=t.schema){let{opts:e,self:n}=t;if(!e.strict||typeof i=="boolean")return;let o=n.RULES.keywords;for(let f in i)o[f]||vy.checkStrictMode(t,`unknown keyword: "${f}"`)}ct.checkUnknownRules=kh;function Ch(t,i){if(typeof t=="boolean")return!t;for(let e in t)if(i[e])return!0;return!1}ct.schemaHasRules=Ch;function Ay(t,i){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&i.all[e])return!0;return!1}ct.schemaHasRulesButRef=Ay;function $y({topSchemaRef:t,schemaPath:i},e,n,o){if(!o){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Rt._`${e}`}return Rt._`${t}${i}${Rt.getProperty(n)}`}ct.schemaRefOrVal=$y;function xy(t){return Eh(decodeURIComponent(t))}ct.unescapeFragment=xy;function ky(t){return encodeURIComponent(_h(t))}ct.escapeFragment=ky;function _h(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}ct.escapeJsonPointer=_h;function Eh(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}ct.unescapeJsonPointer=Eh;function Cy(t,i){if(Array.isArray(t))for(let e of t)i(e);else i(t)}ct.eachItem=Cy;function xh({mergeNames:t,mergeToName:i,mergeValues:e,resultToName:n}){return(o,f,d,v)=>{let b=d===void 0?f:d instanceof Rt.Name?(f instanceof Rt.Name?t(o,f,d):i(o,f,d),d):f instanceof Rt.Name?(i(o,d,f),f):e(f,d);return v===Rt.Name&&!(b instanceof Rt.Name)?n(o,b):b}}ct.mergeEvaluated={props:xh({mergeNames:(t,i,e)=>t.if(Rt._`${e} !== true && ${i} !== undefined`,()=>{t.if(Rt._`${i} === true`,()=>t.assign(e,!0),()=>t.assign(e,Rt._`${e} || {}`).code(Rt._`Object.assign(${e}, ${i})`))}),mergeToName:(t,i,e)=>t.if(Rt._`${e} !== true`,()=>{i===!0?t.assign(e,!0):(t.assign(e,Rt._`${e} || {}`),Yl(t,e,i))}),mergeValues:(t,i)=>t===!0?!0:{...t,...i},resultToName:Sh}),items:xh({mergeNames:(t,i,e)=>t.if(Rt._`${e} !== true && ${i} !== undefined`,()=>t.assign(e,Rt._`${i} === true ? true : ${e} > ${i} ? ${e} : ${i}`)),mergeToName:(t,i,e)=>t.if(Rt._`${e} !== true`,()=>t.assign(e,i===!0?!0:Rt._`${e} > ${i} ? ${e} : ${i}`)),mergeValues:(t,i)=>t===!0?!0:Math.max(t,i),resultToName:(t,i)=>t.var("items",i)})};function Sh(t,i){if(i===!0)return t.var("props",!0);let e=t.var("props",Rt._`{}`);return i!==void 0&&Yl(t,e,i),e}ct.evaluatedPropsToName=Sh;function Yl(t,i,e){Object.keys(e).forEach(n=>t.assign(Rt._`${i}${Rt.getProperty(n)}`,!0))}ct.setEvaluated=Yl;function _y(t,i){return t.scopeValue("func",{ref:i,code:i.code})}ct.func=_y});var vs=Te(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.reportTypeError=nr.checkDataTypes=nr.checkDataType=nr.coerceAndCheckDataType=nr.getJSONTypes=nr.getSchemaTypes=nr.DataType=void 0;var Ey=Cl(),Sy=_l(),Ty=ra(),Be=Ze(),Th=It(),aa;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(aa=nr.DataType||(nr.DataType={}));function Py(t){let i=Ph(t.type);if(i.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!i.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&i.push("null")}return i}nr.getSchemaTypes=Py;function Ph(t){let i=Array.isArray(t)?t:t?[t]:[];if(i.every(Ey.isJSONType))return i;throw new Error("type must be JSONType or JSONType[]: "+i.join(","))}nr.getJSONTypes=Ph;function Fy(t,i){let{gen:e,data:n,opts:o}=t,f=Dy(i,o.coerceTypes),d=i.length>0&&!(f.length===0&&i.length===1&&Sy.schemaHasRulesForType(t,i[0]));if(d){let v=tf(i,n,o.strict,aa.Wrong);e.if(v,()=>{f.length?Iy(t,i,f):rf(t)})}return d}nr.coerceAndCheckDataType=Fy;var Fh=new Set(["string","number","integer","boolean","null"]);function Dy(t,i){return i?t.filter(e=>Fh.has(e)||i==="array"&&e==="array"):[]}function Iy(t,i,e){let{gen:n,data:o,opts:f}=t,d=n.let("dataType",Be._`typeof ${o}`),v=n.let("coerced",Be._`undefined`);f.coerceTypes==="array"&&n.if(Be._`${d} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>n.assign(o,Be._`${o}[0]`).assign(d,Be._`typeof ${o}`).if(tf(i,o,f.strict),()=>n.assign(v,o))),n.if(Be._`${v} !== undefined`);for(let C of e)(Fh.has(C)||C==="array"&&f.coerceTypes==="array")&&b(C);n.else(),rf(t),n.endIf(),n.if(Be._`${v} !== undefined`,()=>{n.assign(o,v),Oy(t,v)});function b(C){switch(C){case"string":n.elseIf(Be._`${d} == "number" || ${d} == "boolean"`).assign(v,Be._`"" + ${o}`).elseIf(Be._`${o} === null`).assign(v,Be._`""`);return;case"number":n.elseIf(Be._`${d} == "boolean" || ${o} === null
3
+ || (${d} == "string" && ${o} && ${o} == +${o})`).assign(v,Be._`+${o}`);return;case"integer":n.elseIf(Be._`${d} === "boolean" || ${o} === null
4
+ || (${d} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(v,Be._`+${o}`);return;case"boolean":n.elseIf(Be._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(v,!1).elseIf(Be._`${o} === "true" || ${o} === 1`).assign(v,!0);return;case"null":n.elseIf(Be._`${o} === "" || ${o} === 0 || ${o} === false`),n.assign(v,null);return;case"array":n.elseIf(Be._`${d} === "string" || ${d} === "number"
5
+ || ${d} === "boolean" || ${o} === null`).assign(v,Be._`[${o}]`)}}}function Oy({gen:t,parentData:i,parentDataProperty:e},n){t.if(Be._`${i} !== undefined`,()=>t.assign(Be._`${i}[${e}]`,n))}function ef(t,i,e,n=aa.Correct){let o=n===aa.Correct?Be.operators.EQ:Be.operators.NEQ,f;switch(t){case"null":return Be._`${i} ${o} null`;case"array":f=Be._`Array.isArray(${i})`;break;case"object":f=Be._`${i} && typeof ${i} == "object" && !Array.isArray(${i})`;break;case"integer":f=d(Be._`!(${i} % 1) && !isNaN(${i})`);break;case"number":f=d();break;default:return Be._`typeof ${i} ${o} ${t}`}return n===aa.Correct?f:Be.not(f);function d(v=Be.nil){return Be.and(Be._`typeof ${i} == "number"`,v,e?Be._`isFinite(${i})`:Be.nil)}}nr.checkDataType=ef;function tf(t,i,e,n){if(t.length===1)return ef(t[0],i,e,n);let o,f=Th.toHash(t);if(f.array&&f.object){let d=Be._`typeof ${i} != "object"`;o=f.null?d:Be._`!${i} || ${d}`,delete f.null,delete f.array,delete f.object}else o=Be.nil;f.number&&delete f.integer;for(let d in f)o=Be.and(o,ef(d,i,e,n));return o}nr.checkDataTypes=tf;var qy={message:({schema:t})=>Be.str`should be ${t}`,params:({schema:t,schemaValue:i})=>typeof t=="string"?Be._`{type: ${t}}`:Be._`{type: ${i}}`};function rf(t){let i=Ry(t);Ty.reportError(i,qy)}nr.reportTypeError=rf;function Ry(t){let{gen:i,data:e,schema:n}=t,o=Th.schemaRefOrVal(t,n,"type");return{gen:i,keyword:"type",data:e,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:t}}});var ia=Te(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.getData=void 0;var Dh=vs(),no=It(),oa=ra(),jt=Ze(),nf=ki(),Ny=Nn(),sf=class{constructor(i,e,n){if(My(i,e,n),this.gen=i.gen,this.allErrors=i.allErrors,this.keyword=n,this.data=i.data,this.schema=i.schema[n],this.$data=e.$data&&i.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=no.schemaRefOrVal(i,this.schema,n,this.$data),this.schemaType=e.schemaType,this.parentSchema=i.schema,this.params={},this.it=i,this.def=e,this.$data)this.schemaCode=i.gen.const("vSchema",Ih(this.$data,i));else if(this.schemaCode=this.schemaValue,!Ly(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=i.gen.const("_errs",nf.default.errors))}result(i,e,n){this.gen.if(jt.not(i)),n?n():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(i,e){this.result(i,void 0,e)}fail(i){if(i===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(i),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(i){if(!this.$data)return this.fail(i);let{schemaCode:e}=this;this.fail(jt._`${e} !== undefined && (${jt.or(this.invalid$data(),i)})`)}error(i){(i?oa.reportExtraError:oa.reportError)(this,this.def.error)}$dataError(){oa.reportError(this,this.def.$dataError||oa.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');oa.resetErrorsCount(this.gen,this.errsCount)}ok(i){this.allErrors||this.gen.if(i)}setParams(i,e){e?Object.assign(this.params,i):this.params=i}block$data(i,e,n=jt.nil){this.gen.block(()=>{this.check$data(i,n),e()})}check$data(i=jt.nil,e=jt.nil){if(!this.$data)return;let{gen:n,schemaCode:o,schemaType:f,def:d}=this;n.if(jt.or(jt._`${o} === undefined`,e)),i!==jt.nil&&n.assign(i,!0),(f.length||d.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),i!==jt.nil&&n.assign(i,!1)),n.else()}invalid$data(){let{gen:i,schemaCode:e,schemaType:n,def:o,it:f}=this;return jt.or(d(),v());function d(){if(n.length){if(!(e instanceof jt.Name))throw new Error("ajv implementation error");let b=Array.isArray(n)?n:[n];return jt._`${Dh.checkDataTypes(b,e,f.opts.strict,Dh.DataType.Wrong)}`}return jt.nil}function v(){if(o.validateSchema){let b=i.scopeValue("validate$data",{ref:o.validateSchema});return jt._`!${b}(${e})`}return jt.nil}}subschema(i,e){return Ny.applySubschema(this.it,i,e)}mergeEvaluated(i,e){let{it:n,gen:o}=this;!n.opts.unevaluated||(n.props!==!0&&i.props!==void 0&&(n.props=no.mergeEvaluated.props(o,i.props,n.props,e)),n.items!==!0&&i.items!==void 0&&(n.items=no.mergeEvaluated.items(o,i.items,n.items,e)))}mergeValidEvaluated(i,e){let{it:n,gen:o}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return o.if(e,()=>this.mergeEvaluated(i,jt.Name)),!0}};la.default=sf;function Ly(t,i,e=!1){return!i.length||i.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||e&&typeof t>"u")}function My({schema:t,opts:i,self:e},n,o){if(Array.isArray(n.keyword)?!n.keyword.includes(o):n.keyword!==o)throw new Error("ajv implementation error");let f=n.dependencies;if(f!=null&&f.some(d=>!Object.prototype.hasOwnProperty.call(t,d)))throw new Error(`parent schema must have dependencies of ${o}: ${f.join(",")}`);if(n.validateSchema&&!n.validateSchema(t[o])){let v="keyword value is invalid: "+e.errorsText(n.validateSchema.errors);if(i.validateSchema==="log")e.logger.error(v);else throw new Error(v)}}var zy=/^\/(?:[^~]|~0|~1)*$/,jy=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Ih(t,{dataLevel:i,dataNames:e,dataPathArr:n}){let o,f;if(t==="")return nf.default.rootData;if(t[0]==="/"){if(!zy.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);o=t,f=nf.default.rootData}else{let C=jy.exec(t);if(!C)throw new Error(`Invalid JSON-pointer: ${t}`);let $=+C[1];if(o=C[2],o==="#"){if($>=i)throw new Error(b("property/index",$));return n[i-$]}if($>i)throw new Error(b("data",$));if(f=e[i-$],!o)return f}let d=f,v=o.split("/");for(let C of v)C&&(f=jt._`${f}${jt.getProperty(no.unescapeJsonPointer(C))}`,d=jt._`${d} && ${f}`);return d;function b(C,$){return`Cannot access ${C} ${$} levels up, current level is ${i}`}}la.getData=Ih});var oo=Te((ws,Oh)=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.MissingRefError=ws.ValidationError=void 0;var af=sa(),so=class extends Error{constructor(i){super("validation failed"),this.errors=i,this.ajv=this.validation=!0}};ws.ValidationError=so;var ao=class extends Error{constructor(i,e,n){super(n||`can't resolve reference ${e} from id ${i}`),this.missingRef=af.resolveUrl(i,e),this.missingSchema=af.normalizeId(af.getFullPath(this.missingRef))}};ws.MissingRefError=ao;Oh.exports={ValidationError:so,MissingRefError:ao}});var ff=Te(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.resolveSchema=hi.getCompilingSchema=hi.resolveRef=hi.compileSchema=hi.SchemaEnv=void 0;var _i=Ze(),Vy=oo(),Mn=ki(),Ei=sa(),qh=It(),By=Zr(),Uy=Ql(),As=class{constructor(i){var e;this.refs={},this.dynamicAnchors={};let n;typeof i.schema=="object"&&(n=i.schema),this.schema=i.schema,this.root=i.root||this,this.baseId=(e=i.baseId)!==null&&e!==void 0?e:Ei.normalizeId(n==null?void 0:n.$id),this.localRefs=i.localRefs,this.meta=i.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};hi.SchemaEnv=As;function lf(t){let i=Rh.call(this,t);if(i)return i;let e=Ei.getFullPath(t.root.baseId),{es5:n,lines:o}=this.opts.code,{ownProperties:f}=this.opts,d=new _i.CodeGen(this.scope,{es5:n,lines:o,ownProperties:f}),v;t.$async&&(v=d.scopeValue("Error",{ref:Vy.ValidationError,code:_i._`require("ajv/dist/compile/error_classes").ValidationError`}));let b=d.scopeName("validate");t.validateName=b;let C={gen:d,allErrors:this.opts.allErrors,data:Mn.default.data,parentData:Mn.default.parentData,parentDataProperty:Mn.default.parentDataProperty,dataNames:[Mn.default.data],dataPathArr:[_i.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:_i.stringify(t.schema)}:{ref:t.schema}),validateName:b,ValidationError:v,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:_i.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:_i._`""`,opts:this.opts,self:this},$;try{this._compilations.add(t),By.validateFunctionCode(C),d.optimize(this.opts.code.optimize);let O=d.toString();$=`${d.scopeRefs(Mn.default.scope)}return ${O}`,this.opts.code.process&&($=this.opts.code.process($,t));let M=new Function(`${Mn.default.self}`,`${Mn.default.scope}`,$)(this,this.scope.get());if(this.scope.value(b,{ref:M}),M.errors=null,M.schema=t.schema,M.schemaEnv=t,t.$async&&(M.$async=!0),this.opts.code.source===!0&&(M.source={validateName:b,validateCode:O,scopeValues:d._values}),this.opts.unevaluated){let{props:j,items:G}=C;M.evaluated={props:j instanceof _i.Name?void 0:j,items:G instanceof _i.Name?void 0:G,dynamicProps:j instanceof _i.Name,dynamicItems:G instanceof _i.Name},M.source&&(M.source.evaluated=_i.stringify(M.evaluated))}return t.validate=M,t}catch(O){throw delete t.validate,delete t.validateName,$&&this.logger.error("Error compiling schema, function code:",$),O}finally{this._compilations.delete(t)}}hi.compileSchema=lf;function Hy(t,i,e){var n;e=Ei.resolveUrl(i,e);let o=t.refs[e];if(o)return o;let f=Wy.call(this,t,e);if(f===void 0){let d=(n=t.localRefs)===null||n===void 0?void 0:n[e];d&&(f=new As({schema:d,root:t,baseId:i}))}if(f!==void 0)return t.refs[e]=Gy.call(this,f)}hi.resolveRef=Hy;function Gy(t){return Ei.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:lf.call(this,t)}function Rh(t){for(let i of this._compilations)if(Ky(i,t))return i}hi.getCompilingSchema=Rh;function Ky(t,i){return t.schema===i.schema&&t.root===i.root&&t.baseId===i.baseId}function Wy(t,i){let e;for(;typeof(e=this.refs[i])=="string";)i=e;return e||this.schemas[i]||lo.call(this,t,i)}function lo(t,i){let e=Uy.parse(i),n=Ei._getFullPath(e),o=Ei.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===o)return of.call(this,e,t);let f=Ei.normalizeId(n),d=this.refs[f]||this.schemas[f];if(typeof d=="string"){let v=lo.call(this,t,d);return typeof(v==null?void 0:v.schema)!="object"?void 0:of.call(this,e,v)}if(typeof(d==null?void 0:d.schema)=="object"){if(d.validate||lf.call(this,d),f===Ei.normalizeId(i)){let{schema:v}=d;return v.$id&&(o=Ei.resolveUrl(o,v.$id)),new As({schema:v,root:t,baseId:o})}return of.call(this,e,d)}}hi.resolveSchema=lo;var Jy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function of(t,{baseId:i,schema:e,root:n}){var o;if(((o=t.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(let d of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[qh.unescapeFragment(d)],e===void 0))return;!Jy.has(d)&&typeof e=="object"&&e.$id&&(i=Ei.resolveUrl(i,e.$id))}let f;if(typeof e!="boolean"&&e.$ref&&!qh.schemaHasRulesButRef(e,this.RULES)){let d=Ei.resolveUrl(i,e.$ref);f=lo.call(this,n,d)}if(f=f||new As({schema:e,root:n,baseId:i}),f.schema!==f.root.schema)return f}});var Nh=Te((Ax,Qy)=>{Qy.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var Vh=Te(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.CodeGen=sr.Name=sr.nil=sr.stringify=sr.str=sr._=sr.KeywordCxt=void 0;var Zy=ia();sr.KeywordCxt=Zy.default;var $s=Ze();Object.defineProperty(sr,"_",{enumerable:!0,get:function(){return $s._}});Object.defineProperty(sr,"str",{enumerable:!0,get:function(){return $s.str}});Object.defineProperty(sr,"stringify",{enumerable:!0,get:function(){return $s.stringify}});Object.defineProperty(sr,"nil",{enumerable:!0,get:function(){return $s.nil}});Object.defineProperty(sr,"Name",{enumerable:!0,get:function(){return $s.Name}});Object.defineProperty(sr,"CodeGen",{enumerable:!0,get:function(){return $s.CodeGen}});var hf=oo(),Xy=Cl(),fa=ff(),Yy=Ze(),fo=sa(),co=vs(),uf=It(),Lh=Nh(),ev=["removeAdditional","useDefaults","coerceTypes"],tv=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),rv={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",schemaId:"JSON Schema draft-04 is not supported in Ajv v7.",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",strictNumbers:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key."},iv={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function nv(t){var i,e,n,o,f,d,v,b,C,$,O,z;let M=(i=t.strict)!==null&&i!==void 0?i:!0,j=M?"log":!1,G=(e=t.code)===null||e===void 0?void 0:e.optimize,J=G===!0||G===void 0?1:G||0;return{strict:M,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:j,strictTuples:(o=t.strictTuples)!==null&&o!==void 0?o:j,code:t.code?{...t.code,optimize:J}:{optimize:J},loopRequired:(f=t.loopRequired)!==null&&f!==void 0?f:1/0,loopEnum:(d=t.loopEnum)!==null&&d!==void 0?d:1/0,meta:(v=t.meta)!==null&&v!==void 0?v:!0,messages:(b=t.messages)!==null&&b!==void 0?b:!0,inlineRefs:(C=t.inlineRefs)!==null&&C!==void 0?C:!0,addUsedSchema:($=t.addUsedSchema)!==null&&$!==void 0?$:!0,validateSchema:(O=t.validateSchema)!==null&&O!==void 0?O:!0,validateFormats:(z=t.validateFormats)!==null&&z!==void 0?z:!0}}var ca=class{constructor(i={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,i=this.opts={...i,...nv(i)};let{es5:e,lines:n}=this.opts.code;this.scope=new Yy.ValueScope({scope:{},prefixes:tv,es5:e,lines:n}),this.logger=cv(i.logger);let o=i.validateFormats;i.validateFormats=!1,this.RULES=Xy.getRules(),Mh.call(this,rv,i,"NOT SUPPORTED"),Mh.call(this,iv,i,"DEPRECATED","warn"),this._metaOpts=lv.call(this),i.formats&&av.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),i.keywords&&ov.call(this,i.keywords),typeof i.meta=="object"&&this.addMetaSchema(i.meta),sv.call(this),i.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:i,meta:e}=this.opts;e&&i&&this.addMetaSchema(Lh,Lh.$id,!1)}defaultMeta(){let{meta:i}=this.opts;return this.opts.defaultMeta=typeof i=="object"?i.$id||i:void 0}validate(i,e){let n;if(typeof i=="string"){if(n=this.getSchema(i),!n)throw new Error(`no schema with key or ref "${i}"`)}else n=this.compile(i);let o=n(e);return"$async"in n||(this.errors=n.errors),o}compile(i,e){let n=this._addSchema(i,e);return n.validate||this._compileSchemaEnv(n)}compileAsync(i,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return o.call(this,i,e);async function o($,O){await f.call(this,$.$schema);let z=this._addSchema($,O);return z.validate||d.call(this,z)}async function f($){$&&!this.getSchema($)&&await o.call(this,{$ref:$},!0)}async function d($){try{return this._compileSchemaEnv($)}catch(O){if(!(O instanceof hf.MissingRefError))throw O;return v.call(this,O),await b.call(this,O.missingSchema),d.call(this,$)}}function v({missingSchema:$,missingRef:O}){if(this.refs[$])throw new Error(`AnySchema ${$} is loaded but ${O} cannot be resolved`)}async function b($){let O=await C.call(this,$);this.refs[$]||await f.call(this,O.$schema),this.refs[$]||this.addSchema(O,$,e)}async function C($){let O=this._loading[$];if(O)return O;try{return await(this._loading[$]=n($))}finally{delete this._loading[$]}}}addSchema(i,e,n,o=this.opts.validateSchema){if(Array.isArray(i)){for(let d of i)this.addSchema(d,void 0,n,o);return this}let f;if(typeof i=="object"&&(f=i.$id,f!==void 0&&typeof f!="string"))throw new Error("schema id must be string");return e=fo.normalizeId(e||f),this._checkUnique(e),this.schemas[e]=this._addSchema(i,n,o,!0),this}addMetaSchema(i,e,n=this.opts.validateSchema){return this.addSchema(i,e,!0,n),this}validateSchema(i,e){if(typeof i=="boolean")return!0;let n;if(n=i.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let o=this.validate(n,i);if(!o&&e){let f="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(f);else throw new Error(f)}return o}getSchema(i){let e;for(;typeof(e=zh.call(this,i))=="string";)i=e;if(e===void 0){let n=new fa.SchemaEnv({schema:{}});if(e=fa.resolveSchema.call(this,n,i),!e)return;this.refs[i]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(i){if(i instanceof RegExp)return this._removeAllSchemas(this.schemas,i),this._removeAllSchemas(this.refs,i),this;switch(typeof i){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=zh.call(this,i);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[i],delete this.refs[i],this}case"object":{let e=i;this._cache.delete(e);let n=i.$id;return n&&(n=fo.normalizeId(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(i){for(let e of i)this.addKeyword(e);return this}addKeyword(i,e){let n;if(typeof i=="string")n=i,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=n);else if(typeof i=="object"&&e===void 0){if(e=i,n=e.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(hv.call(this,n,e),!e)return uf.eachItem(n,f=>cf.call(this,f)),this;pv.call(this,e);let o={...e,type:co.getJSONTypes(e.type),schemaType:co.getJSONTypes(e.schemaType)};return uf.eachItem(n,o.type.length===0?f=>cf.call(this,f,o):f=>o.type.forEach(d=>cf.call(this,f,o,d))),this}getKeyword(i){let e=this.RULES.all[i];return typeof e=="object"?e.definition:!!e}removeKeyword(i){let{RULES:e}=this;delete e.keywords[i],delete e.all[i];for(let n of e.rules){let o=n.rules.findIndex(f=>f.keyword===i);o>=0&&n.rules.splice(o,1)}return this}addFormat(i,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[i]=e,this}errorsText(i=this.errors,{separator:e=", ",dataVar:n="data"}={}){return!i||i.length===0?"No errors":i.map(o=>`${n}${o.dataPath} ${o.message}`).reduce((o,f)=>o+e+f)}$dataMetaSchema(i,e){let n=this.RULES.all;i=JSON.parse(JSON.stringify(i));for(let o of e){let f=o.split("/").slice(1),d=i;for(let v of f)d=d[v];for(let v in n){let b=n[v];if(typeof b!="object")continue;let{$data:C}=b.definition,$=d[v];C&&$&&(d[v]=jh($))}}return i}_removeAllSchemas(i,e){for(let n in i){let o=i[n];(!e||e.test(n))&&(typeof o=="string"?delete i[n]:o&&!o.meta&&(this._cache.delete(o.schema),delete i[n]))}}_addSchema(i,e,n=this.opts.validateSchema,o=this.opts.addUsedSchema){if(typeof i!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof i!="boolean")throw new Error("schema must be object or boolean")}let f=this._cache.get(i);if(f!==void 0)return f;let d=fo.getSchemaRefs.call(this,i);f=new fa.SchemaEnv({schema:i,meta:e,localRefs:d}),this._cache.set(f.schema,f);let v=f.baseId;return o&&!v.startsWith("#")&&(v&&this._checkUnique(v),this.refs[v]=f),n&&this.validateSchema(i,!0),f}_checkUnique(i){if(this.schemas[i]||this.refs[i])throw new Error(`schema with key or id "${i}" already exists`)}_compileSchemaEnv(i){if(i.meta?this._compileMetaSchema(i):fa.compileSchema.call(this,i),!i.validate)throw new Error("ajv implementation error");return i.validate}_compileMetaSchema(i){let e=this.opts;this.opts=this._metaOpts;try{fa.compileSchema.call(this,i)}finally{this.opts=e}}};sr.default=ca;ca.ValidationError=hf.ValidationError;ca.MissingRefError=hf.MissingRefError;function Mh(t,i,e,n="error"){for(let o in t){let f=o;f in i&&this.logger[n](`${e}: option ${o}. ${t[f]}`)}}function zh(t){return t=fo.normalizeId(t),this.schemas[t]||this.refs[t]}function sv(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let i in t)this.addSchema(t[i],i)}function av(){for(let t in this.opts.formats){let i=this.opts.formats[t];i&&this.addFormat(t,i)}}function ov(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let i in t){let e=t[i];e.keyword||(e.keyword=i),this.addKeyword(e)}}function lv(){let t={...this.opts};for(let i of ev)delete t[i];return t}var fv={log(){},warn(){},error(){}};function cv(t){if(t===!1)return fv;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var uv=/^[a-z_$][a-z0-9_$:-]*$/i;function hv(t,i){let{RULES:e}=this;if(uf.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!uv.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!i&&i.$data&&!("code"in i||"validate"in i))throw new Error('$data keyword must have "code" or "validate" function')}function cf(t,i,e){var n;let o=i==null?void 0:i.post;if(e&&o)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:f}=this,d=o?f.post:f.rules.find(({type:b})=>b===e);if(d||(d={type:e,rules:[]},f.rules.push(d)),f.keywords[t]=!0,!i)return;let v={keyword:t,definition:{...i,type:co.getJSONTypes(i.type),schemaType:co.getJSONTypes(i.schemaType)}};i.before?dv.call(this,d,v,i.before):d.rules.push(v),f.all[t]=v,(n=i.implements)===null||n===void 0||n.forEach(b=>this.addKeyword(b))}function dv(t,i,e){let n=t.rules.findIndex(o=>o.keyword===e);n>=0?t.rules.splice(n,0,i):(t.rules.push(i),this.logger.warn(`rule ${e} is not defined`))}function pv(t){let{metaSchema:i}=t;i!==void 0&&(t.$data&&this.opts.$data&&(i=jh(i)),t.validateSchema=this.compile(i,!0))}var mv={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function jh(t){return{anyOf:[t,mv]}}});var Bh=Te(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});var gv={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};df.default=gv});var Kh=Te(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.callRef=zn.getValidate=void 0;var yv=oo(),Uh=Ci(),Mr=Ze(),xs=ki(),Hh=ff(),uo=It(),vv={keyword:"$ref",schemaType:"string",code(t){let{gen:i,schema:e,it:n}=t,{baseId:o,schemaEnv:f,validateName:d,opts:v,self:b}=n;if(e==="#"||e==="#/")return $();let C=Hh.resolveRef.call(b,f.root,o,e);if(C===void 0)throw new yv.MissingRefError(o,e);if(C instanceof Hh.SchemaEnv)return O(C);return z(C);function $(){if(f===f.root)return ho(t,d,f,f.$async);let M=i.scopeValue("root",{ref:f.root});return ho(t,Mr._`${M}.validate`,f.root,f.root.$async)}function O(M){let j=Gh(t,M);ho(t,j,M,M.$async)}function z(M){let j=i.scopeValue("schema",v.code.source===!0?{ref:M,code:Mr.stringify(M)}:{ref:M}),G=i.name("valid"),J=t.subschema({schema:M,dataTypes:[],schemaPath:Mr.nil,topSchemaRef:j,errSchemaPath:e},G);t.mergeEvaluated(J),t.ok(G)}}};function Gh(t,i){let{gen:e}=t;return i.validate?e.scopeValue("validate",{ref:i.validate}):Mr._`${e.scopeValue("wrapper",{ref:i})}.validate`}zn.getValidate=Gh;function ho(t,i,e,n){let{gen:o,it:f}=t,{allErrors:d,schemaEnv:v,opts:b}=f,C=b.passContext?xs.default.this:Mr.nil;n?$():O();function $(){if(!v.$async)throw new Error("async schema referenced by sync schema");let j=o.let("valid");o.try(()=>{o.code(Mr._`await ${Uh.callValidateCode(t,i,C)}`),M(i),d||o.assign(j,!0)},G=>{o.if(Mr._`!(${G} instanceof ${f.ValidationError})`,()=>o.throw(G)),z(G),d||o.assign(j,!1)}),t.ok(j)}function O(){t.result(Uh.callValidateCode(t,i,C),()=>M(i),()=>z(i))}function z(j){let G=Mr._`${j}.errors`;o.assign(xs.default.vErrors,Mr._`${xs.default.vErrors} === null ? ${G} : ${xs.default.vErrors}.concat(${G})`),o.assign(xs.default.errors,Mr._`${xs.default.vErrors}.length`)}function M(j){var G;if(!f.opts.unevaluated)return;let J=(G=e==null?void 0:e.validate)===null||G===void 0?void 0:G.evaluated;if(f.props!==!0)if(J&&!J.dynamicProps)J.props!==void 0&&(f.props=uo.mergeEvaluated.props(o,J.props,f.props));else{let Q=o.var("props",Mr._`${j}.evaluated.props`);f.props=uo.mergeEvaluated.props(o,Q,f.props,Mr.Name)}if(f.items!==!0)if(J&&!J.dynamicItems)J.items!==void 0&&(f.items=uo.mergeEvaluated.items(o,J.items,f.items));else{let Q=o.var("items",Mr._`${j}.evaluated.items`);f.items=uo.mergeEvaluated.items(o,Q,f.items,Mr.Name)}}}zn.callRef=ho;zn.default=vv});var Wh=Te(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});var bv=Bh(),wv=Kh(),Av=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",bv.default,wv.default];pf.default=Av});var Jh=Te(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var po=Ze(),pn=po.operators,mo={maximum:{okStr:"<=",ok:pn.LTE,fail:pn.GT},minimum:{okStr:">=",ok:pn.GTE,fail:pn.LT},exclusiveMaximum:{okStr:"<",ok:pn.LT,fail:pn.GTE},exclusiveMinimum:{okStr:">",ok:pn.GT,fail:pn.LTE}},$v={message:({keyword:t,schemaCode:i})=>po.str`should be ${mo[t].okStr} ${i}`,params:({keyword:t,schemaCode:i})=>po._`{comparison: ${mo[t].okStr}, limit: ${i}}`},xv={keyword:Object.keys(mo),type:"number",schemaType:"number",$data:!0,error:$v,code(t){let{keyword:i,data:e,schemaCode:n}=t;t.fail$data(po._`${e} ${mo[i].fail} ${n} || isNaN(${e})`)}};mf.default=xv});var Qh=Te(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});var ua=Ze(),kv={message:({schemaCode:t})=>ua.str`should be multiple of ${t}`,params:({schemaCode:t})=>ua._`{multipleOf: ${t}}`},Cv={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:kv,code(t){let{gen:i,data:e,schemaCode:n,it:o}=t,f=o.opts.multipleOfPrecision,d=i.let("res"),v=f?ua._`Math.abs(Math.round(${d}) - ${d}) > 1e-${f}`:ua._`${d} !== parseInt(${d})`;t.fail$data(ua._`(${n} === 0 || (${d} = ${e}/${n}, ${v}))`)}};gf.default=Cv});var Zh=Te(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});function _v(t){let i=t.length,e=0,n=0,o;for(;n<i;)e++,o=t.charCodeAt(n++),o>=55296&&o<=56319&&n<i&&(o=t.charCodeAt(n),(o&64512)===56320&&n++);return e}yf.default=_v});var Xh=Te(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});var mn=Ze(),Ev=Zh(),Sv={message({keyword:t,schemaCode:i}){let e=t==="maxLength"?"more":"fewer";return mn.str`should NOT have ${e} than ${i} characters`},params:({schemaCode:t})=>mn._`{limit: ${t}}`},Tv={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Sv,code(t){let{keyword:i,data:e,schemaCode:n,it:o}=t,f=i==="maxLength"?mn.operators.GT:mn.operators.LT,d;if(o.opts.unicode===!1)d=mn._`${e}.length`;else{let v=t.gen.scopeValue("func",{ref:Ev.default,code:mn._`require("ajv/dist/compile/ucs2length").default`});d=mn._`${v}(${e})`}t.fail$data(mn._`${d} ${f} ${n}`)}};vf.default=Tv});var Yh=Te(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});var Pv=Ci(),go=Ze(),Fv={message:({schemaCode:t})=>go.str`should match pattern "${t}"`,params:({schemaCode:t})=>go._`{pattern: ${t}}`},Dv={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:Fv,code(t){let{gen:i,data:e,$data:n,schema:o,schemaCode:f}=t,d=n?go._`(new RegExp(${f}, "u"))`:Pv.usePattern(i,o);t.fail$data(go._`!${d}.test(${e})`)}};bf.default=Dv});var ed=Te(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});var ha=Ze(),Iv={message({keyword:t,schemaCode:i}){let e=t==="maxProperties"?"more":"fewer";return ha.str`should NOT have ${e} than ${i} items`},params:({schemaCode:t})=>ha._`{limit: ${t}}`},Ov={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Iv,code(t){let{keyword:i,data:e,schemaCode:n}=t,o=i==="maxProperties"?ha.operators.GT:ha.operators.LT;t.fail$data(ha._`Object.keys(${e}).length ${o} ${n}`)}};wf.default=Ov});var td=Te(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});var da=Ci(),pa=Ze(),qv=Zr(),Rv={message:({params:{missingProperty:t}})=>pa.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>pa._`{missingProperty: ${t}}`},Nv={keyword:"required",type:"object",schemaType:"array",$data:!0,error:Rv,code(t){let{gen:i,schema:e,schemaCode:n,data:o,$data:f,it:d}=t,{opts:v}=d;if(!f&&e.length===0)return;let b=e.length>=v.loopRequired;if(d.allErrors?C():$(),v.strictRequired){let M=t.parentSchema.properties,{definedProperties:j}=t.it;for(let G of e)if((M==null?void 0:M[G])===void 0&&!j.has(G)){let J=d.schemaEnv.baseId+d.errSchemaPath,Q=`required property "${G}" is not defined at "${J}" (strictRequired)`;qv.checkStrictMode(d,Q,d.opts.strictRequired)}}function C(){if(b||f)t.block$data(pa.nil,O);else for(let M of e)da.checkReportMissingProp(t,M)}function $(){let M=i.let("missing");if(b||f){let j=i.let("valid",!0);t.block$data(j,()=>z(M,j)),t.ok(j)}else i.if(da.checkMissingProp(t,e,M)),da.reportMissingProp(t,M),i.else()}function O(){i.forOf("prop",n,M=>{t.setParams({missingProperty:M}),i.if(da.noPropertyInData(i,o,M,v.ownProperties),()=>t.error())})}function z(M,j){t.setParams({missingProperty:M}),i.forOf(M,n,()=>{i.assign(j,da.propertyInData(i,o,M,v.ownProperties)),i.if(pa.not(j),()=>{t.error(),i.break()})},pa.nil)}}};Af.default=Nv});var rd=Te($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});var ma=Ze(),Lv={message({keyword:t,schemaCode:i}){let e=t==="maxItems"?"more":"fewer";return ma.str`should NOT have ${e} than ${i} items`},params:({schemaCode:t})=>ma._`{limit: ${t}}`},Mv={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Lv,code(t){let{keyword:i,data:e,schemaCode:n}=t,o=i==="maxItems"?ma.operators.GT:ma.operators.LT;t.fail$data(ma._`${e}.length ${o} ${n}`)}};$f.default=Mv});var id=Te(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});var xf=vs(),Zt=Ze(),zv=na(),jv={message:({params:{i:t,j:i}})=>Zt.str`should NOT have duplicate items (items ## ${i} and ${t} are identical)`,params:({params:{i:t,j:i}})=>Zt._`{i: ${t}, j: ${i}}`},Vv={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:jv,code(t){let{gen:i,data:e,$data:n,schema:o,parentSchema:f,schemaCode:d,it:v}=t;if(!n&&!o)return;let b=i.let("valid"),C=f.items?xf.getSchemaTypes(f.items):[];t.block$data(b,$,Zt._`${d} === false`),t.ok(b);function $(){let j=i.let("i",Zt._`${e}.length`),G=i.let("j");t.setParams({i:j,j:G}),i.assign(b,!0),i.if(Zt._`${j} > 1`,()=>(O()?z:M)(j,G))}function O(){return C.length>0&&!C.some(j=>j==="object"||j==="array")}function z(j,G){let J=i.name("item"),Q=xf.checkDataTypes(C,J,v.opts.strict,xf.DataType.Wrong),ie=i.const("indices",Zt._`{}`);i.for(Zt._`;${j}--;`,()=>{i.let(J,Zt._`${e}[${j}]`),i.if(Q,Zt._`continue`),C.length>1&&i.if(Zt._`typeof ${J} == "string"`,Zt._`${J} += "_"`),i.if(Zt._`typeof ${ie}[${J}] == "number"`,()=>{i.assign(G,Zt._`${ie}[${J}]`),t.error(),i.assign(b,!1).break()}).code(Zt._`${ie}[${J}] = ${j}`)})}function M(j,G){let J=t.gen.scopeValue("func",{ref:zv,code:Zt._`require("ajv/dist/compile/equal")`}),Q=i.name("outer");i.label(Q).for(Zt._`;${j}--;`,()=>i.for(Zt._`${G} = ${j}; ${G}--;`,()=>i.if(Zt._`${J}(${e}[${j}], ${e}[${G}])`,()=>{t.error(),i.assign(b,!1).break(Q)})))}}};kf.default=Vv});var nd=Te(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});var Cf=Ze(),Bv=na(),Uv={message:"should be equal to constant",params:({schemaCode:t})=>Cf._`{allowedValue: ${t}}`},Hv={keyword:"const",$data:!0,error:Uv,code(t){let i=t.gen.scopeValue("func",{ref:Bv,code:Cf._`require("ajv/dist/compile/equal")`});t.fail$data(Cf._`!${i}(${t.data}, ${t.schemaCode})`)}};_f.default=Hv});var sd=Te(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});var ks=Ze(),Gv=na(),Kv={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>ks._`{allowedValues: ${t}}`},Wv={keyword:"enum",schemaType:"array",$data:!0,error:Kv,code(t){let{gen:i,data:e,$data:n,schema:o,schemaCode:f,it:d}=t;if(!n&&o.length===0)throw new Error("enum must have non-empty array");let v=o.length>=d.opts.loopEnum,b=t.gen.scopeValue("func",{ref:Gv,code:ks._`require("ajv/dist/compile/equal")`}),C;if(v||n)C=i.let("valid"),t.block$data(C,$);else{if(!Array.isArray(o))throw new Error("ajv implementation error");let z=i.const("vSchema",f);C=ks.or(...o.map((M,j)=>O(z,j)))}t.pass(C);function $(){i.assign(C,!1),i.forOf("v",f,z=>i.if(ks._`${b}(${e}, ${z})`,()=>i.assign(C,!0).break()))}function O(z,M){let j=o[M];return j&&typeof j=="object"?ks._`${b}(${e}, ${z}[${M}])`:ks._`${e} === ${j}`}}};Ef.default=Wv});var ad=Te(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});var Jv=Jh(),Qv=Qh(),Zv=Xh(),Xv=Yh(),Yv=ed(),e1=td(),t1=rd(),r1=id(),i1=nd(),n1=sd(),s1=[Jv.default,Qv.default,Zv.default,Xv.default,Yv.default,e1.default,t1.default,r1.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},i1.default,n1.default];Sf.default=s1});var od=Te(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});var jn=Ze(),a1=Nn(),o1=It(),l1=Zr(),f1={message:({params:{len:t}})=>jn.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>jn._`{limit: ${t}}`},c1={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:f1,code(t){let{gen:i,schema:e,parentSchema:n,data:o,it:f}=t,{items:d}=n;if(!Array.isArray(d)){l1.checkStrictMode(f,'"additionalItems" is ignored when "items" is not an array of schemas');return}f.items=!0;let v=i.const("len",jn._`${o}.length`);if(e===!1)t.setParams({len:d.length}),t.pass(jn._`${v} <= ${d.length}`);else if(typeof e=="object"&&!o1.alwaysValidSchema(f,e)){let C=i.var("valid",jn._`${v} <= ${d.length}`);i.if(jn.not(C),()=>b(C)),t.ok(C)}function b(C){i.forRange("i",d.length,v,$=>{t.subschema({keyword:"additionalItems",dataProp:$,dataPropType:a1.Type.Num},C),f.allErrors||i.if(jn.not(C),()=>i.break())})}}};Tf.default=c1});var fd=Te(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});var ld=Ze(),Pf=It(),u1=Zr(),h1=Ci(),d1={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:i,schema:e,it:n}=t;if(Array.isArray(e))n.opts.unevaluated&&e.length&&n.items!==!0&&(n.items=Pf.mergeEvaluated.items(i,e.length,n.items)),o(e);else{if(n.items=!0,Pf.alwaysValidSchema(n,e))return;t.ok(h1.validateArray(t))}function o(f){let{parentSchema:d,data:v}=t;if(n.opts.strictTuples&&!p1(f.length,d)){let $=`"items" is ${f.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;u1.checkStrictMode(n,$,n.opts.strictTuples)}let b=i.name("valid"),C=i.const("len",ld._`${v}.length`);f.forEach(($,O)=>{Pf.alwaysValidSchema(n,$)||(i.if(ld._`${C} > ${O}`,()=>t.subschema({keyword:"items",schemaProp:O,dataProp:O},b)),t.ok(b))})}}};function p1(t,i){return t===i.minItems&&(t===i.maxItems||i.additionalItems===!1)}Ff.default=d1});var ud=Te(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var Si=Ze(),m1=Nn(),g1=It(),cd=Zr(),y1={message:({params:{min:t,max:i}})=>i===void 0?Si.str`should contain at least ${t} valid item(s)`:Si.str`should contain at least ${t} and no more than ${i} valid item(s)`,params:({params:{min:t,max:i}})=>i===void 0?Si._`{minContains: ${t}}`:Si._`{minContains: ${t}, maxContains: ${i}}`},v1={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:y1,code(t){let{gen:i,schema:e,parentSchema:n,data:o,it:f}=t,d,v,{minContains:b,maxContains:C}=n;f.opts.next?(d=b===void 0?1:b,v=C):d=1;let $=i.const("len",Si._`${o}.length`);if(t.setParams({min:d,max:v}),v===void 0&&d===0){cd.checkStrictMode(f,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(v!==void 0&&d>v){cd.checkStrictMode(f,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(g1.alwaysValidSchema(f,e)){let j=Si._`${$} >= ${d}`;v!==void 0&&(j=Si._`${j} && ${$} <= ${v}`),t.pass(j);return}f.items=!0;let O=i.name("valid");if(v===void 0&&d===1)z(O,()=>i.if(O,()=>i.break()));else{i.let(O,!1);let j=i.name("_valid"),G=i.let("count",0);z(j,()=>i.if(j,()=>M(G)))}t.result(O,()=>t.reset());function z(j,G){i.forRange("i",0,$,J=>{t.subschema({keyword:"contains",dataProp:J,dataPropType:m1.Type.Num,compositeRule:!0},j),G()})}function M(j){i.code(Si._`${j}++`),v===void 0?i.if(Si._`${j} >= ${d}`,()=>i.assign(O,!0).break()):(i.if(Si._`${j} > ${v}`,()=>i.assign(O,!1).break()),d===1?i.assign(O,!0):i.if(Si._`${j} >= ${d}`,()=>i.assign(O,!0)))}}};Df.default=v1});var pd=Te(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.validateSchemaDeps=ji.validatePropertyDeps=ji.error=void 0;var If=Ze(),b1=It(),ga=Ci();ji.error={message:({params:{property:t,depsCount:i,deps:e}})=>{let n=i===1?"property":"properties";return If.str`should have ${n} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:i,deps:e,missingProperty:n}})=>If._`{property: ${t},
6
+ missingProperty: ${n},
7
+ depsCount: ${i},
8
+ deps: ${e}}`};var w1={keyword:"dependencies",type:"object",schemaType:"object",error:ji.error,code(t){let[i,e]=A1(t);hd(t,i),dd(t,e)}};function A1({schema:t}){let i={},e={};for(let n in t){if(n==="__proto__")continue;let o=Array.isArray(t[n])?i:e;o[n]=t[n]}return[i,e]}function hd(t,i=t.schema){let{gen:e,data:n,it:o}=t;if(Object.keys(i).length===0)return;let f=e.let("missing");for(let d in i){let v=i[d];if(v.length===0)continue;let b=ga.propertyInData(e,n,d,o.opts.ownProperties);t.setParams({property:d,depsCount:v.length,deps:v.join(", ")}),o.allErrors?e.if(b,()=>{for(let C of v)ga.checkReportMissingProp(t,C)}):(e.if(If._`${b} && (${ga.checkMissingProp(t,v,f)})`),ga.reportMissingProp(t,f),e.else())}}ji.validatePropertyDeps=hd;function dd(t,i=t.schema){let{gen:e,data:n,keyword:o,it:f}=t,d=e.name("valid");for(let v in i)b1.alwaysValidSchema(f,i[v])||(e.if(ga.propertyInData(e,n,v,f.opts.ownProperties),()=>{let b=t.subschema({keyword:o,schemaProp:v},d);t.mergeValidEvaluated(b,d)},()=>e.var(d,!0)),t.ok(d))}ji.validateSchemaDeps=dd;ji.default=w1});var md=Te(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});var Of=Ze(),$1=It(),x1={message:({params:t})=>Of.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Of._`{propertyName: ${t.propertyName}}`},k1={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:x1,code(t){let{gen:i,schema:e,data:n,it:o}=t;if($1.alwaysValidSchema(o,e))return;let f=i.name("valid");i.forIn("key",n,d=>{t.setParams({propertyName:d}),t.subschema({keyword:"propertyNames",data:d,dataTypes:["string"],propertyName:d,compositeRule:!0},f),i.if(Of.not(f),()=>{t.error(!0),o.allErrors||i.break()})}),t.ok(f)}};qf.default=k1});var Lf=Te(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});var yo=Ci(),Ti=Ze(),C1=ki(),_1=Nn(),Rf=It(),E1={message:"should NOT have additional properties",params:({params:t})=>Ti._`{additionalProperty: ${t.additionalProperty}}`},S1={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:E1,code(t){let{gen:i,schema:e,parentSchema:n,data:o,errsCount:f,it:d}=t;if(!f)throw new Error("ajv implementation error");let{allErrors:v,opts:b}=d;if(d.props=!0,b.removeAdditional!=="all"&&Rf.alwaysValidSchema(d,e))return;let C=yo.allSchemaProperties(n.properties),$=yo.allSchemaProperties(n.patternProperties);O(),t.ok(Ti._`${f} === ${C1.default.errors}`);function O(){i.forIn("key",o,J=>{!C.length&&!$.length?j(J):i.if(z(J),()=>j(J))})}function z(J){let Q;if(C.length>8){let ie=Rf.schemaRefOrVal(d,n.properties,"properties");Q=yo.isOwnProperty(i,ie,J)}else C.length?Q=Ti.or(...C.map(ie=>Ti._`${J} === ${ie}`)):Q=Ti.nil;return $.length&&(Q=Ti.or(Q,...$.map(ie=>Ti._`${yo.usePattern(i,ie)}.test(${J})`))),Ti.not(Q)}function M(J){i.code(Ti._`delete ${o}[${J}]`)}function j(J){if(b.removeAdditional==="all"||b.removeAdditional&&e===!1){M(J);return}if(e===!1){t.setParams({additionalProperty:J}),t.error(),v||i.break();return}if(typeof e=="object"&&!Rf.alwaysValidSchema(d,e)){let Q=i.name("valid");b.removeAdditional==="failing"?(G(J,Q,!1),i.if(Ti.not(Q),()=>{t.reset(),M(J)})):(G(J,Q),v||i.if(Ti.not(Q),()=>i.break()))}}function G(J,Q,ie){let de={keyword:"additionalProperties",dataProp:J,dataPropType:_1.Type.Str};ie===!1&&Object.assign(de,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(de,Q)}}};Nf.default=S1});var vd=Te(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var T1=ia(),gd=Ci(),Mf=It(),yd=Lf(),P1={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:i,schema:e,parentSchema:n,data:o,it:f}=t;f.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&yd.default.code(new T1.default(f,yd.default,"additionalProperties"));let d=gd.allSchemaProperties(e);for(let O of d)f.definedProperties.add(O);f.opts.unevaluated&&d.length&&f.props!==!0&&(f.props=Mf.mergeEvaluated.props(i,Mf.toHash(d),f.props));let v=d.filter(O=>!Mf.alwaysValidSchema(f,e[O]));if(v.length===0)return;let b=i.name("valid");for(let O of v)C(O)?$(O):(i.if(gd.propertyInData(i,o,O,f.opts.ownProperties)),$(O),f.allErrors||i.else().var(b,!0),i.endIf()),t.it.definedProperties.add(O),t.ok(b);function C(O){return f.opts.useDefaults&&!f.compositeRule&&e[O].default!==void 0}function $(O){t.subschema({keyword:"properties",schemaProp:O,dataProp:O},b)}}};zf.default=P1});var wd=Te(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var bd=Ci(),vo=Ze(),F1=Nn(),D1=Zr(),I1=It(),O1={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:i,schema:e,data:n,parentSchema:o,it:f}=t,{opts:d}=f,v=bd.schemaProperties(f,e);if(v.length===0)return;let b=d.strict&&!d.allowMatchingProperties&&o.properties,C=i.name("valid");f.props!==!0&&!(f.props instanceof vo.Name)&&(f.props=I1.evaluatedPropsToName(i,f.props));let{props:$}=f;O();function O(){for(let j of v)b&&z(j),f.allErrors?M(j):(i.var(C,!0),M(j),i.if(C))}function z(j){for(let G in b)new RegExp(j).test(G)&&D1.checkStrictMode(f,`property ${G} matches pattern ${j} (use allowMatchingProperties)`)}function M(j){i.forIn("key",n,G=>{i.if(vo._`${bd.usePattern(i,j)}.test(${G})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:j,dataProp:G,dataPropType:F1.Type.Str},C),f.opts.unevaluated&&$!==!0?i.assign(vo._`${$}[${G}]`,!0):f.allErrors||i.if(vo.not(C),()=>i.break())})})}}};jf.default=O1});var Ad=Te(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});var q1=It(),R1={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:i,schema:e,it:n}=t;if(q1.alwaysValidSchema(n,e)){t.fail();return}let o=i.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),t.result(o,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};Vf.default=R1});var $d=Te(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var N1=Ci(),L1={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:N1.validateUnion,error:{message:"should match some schema in anyOf"}};Bf.default=L1});var xd=Te(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});var bo=Ze(),M1=It(),z1={message:"should match exactly one schema in oneOf",params:({params:t})=>bo._`{passingSchemas: ${t.passing}}`},j1={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:z1,code(t){let{gen:i,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=e,f=i.let("valid",!1),d=i.let("passing",null),v=i.name("_valid");t.setParams({passing:d}),i.block(b),t.result(f,()=>t.reset(),()=>t.error(!0));function b(){o.forEach((C,$)=>{let O;M1.alwaysValidSchema(n,C)?i.var(v,!0):O=t.subschema({keyword:"oneOf",schemaProp:$,compositeRule:!0},v),$>0&&i.if(bo._`${v} && ${f}`).assign(f,!1).assign(d,bo._`[${d}, ${$}]`).else(),i.if(v,()=>{i.assign(f,!0),i.assign(d,$),O&&t.mergeEvaluated(O,bo.Name)})})}}};Uf.default=j1});var kd=Te(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var V1=It(),B1={keyword:"allOf",schemaType:"array",code(t){let{gen:i,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=i.name("valid");e.forEach((f,d)=>{if(V1.alwaysValidSchema(n,f))return;let v=t.subschema({keyword:"allOf",schemaProp:d},o);t.ok(o),t.mergeEvaluated(v)})}};Hf.default=B1});var _d=Te(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});var wo=Ze(),U1=It(),H1=Zr(),G1={message:({params:t})=>wo.str`should match "${t.ifClause}" schema`,params:({params:t})=>wo._`{failingKeyword: ${t.ifClause}}`},K1={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:G1,code(t){let{gen:i,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&H1.checkStrictMode(n,'"if" without "then" and "else" is ignored');let o=Cd(n,"then"),f=Cd(n,"else");if(!o&&!f)return;let d=i.let("valid",!0),v=i.name("_valid");if(b(),t.reset(),o&&f){let $=i.let("ifClause");t.setParams({ifClause:$}),i.if(v,C("then",$),C("else",$))}else o?i.if(v,C("then")):i.if(wo.not(v),C("else"));t.pass(d,()=>t.error(!0));function b(){let $=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},v);t.mergeEvaluated($)}function C($,O){return()=>{let z=t.subschema({keyword:$},v);i.assign(d,v),t.mergeValidEvaluated(z,d),O?i.assign(O,wo._`${$}`):t.setParams({ifClause:$})}}}};function Cd(t,i){let e=t.schema[i];return e!==void 0&&!U1.alwaysValidSchema(t,e)}Gf.default=K1});var Ed=Te(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});var W1=Zr(),J1={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:i,it:e}){i.if===void 0&&W1.checkStrictMode(e,`"${t}" without "if" is ignored`)}};Kf.default=J1});var Sd=Te(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});var Q1=od(),Z1=fd(),X1=ud(),Y1=pd(),eb=md(),tb=Lf(),rb=vd(),ib=wd(),nb=Ad(),sb=$d(),ab=xd(),ob=kd(),lb=_d(),fb=Ed(),cb=[nb.default,sb.default,ab.default,ob.default,lb.default,fb.default,Q1.default,Z1.default,X1.default,eb.default,tb.default,Y1.default,rb.default,ib.default];Wf.default=cb});var Td=Te(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});var Vt=Ze(),ub={message:({schemaCode:t})=>Vt.str`should match format "${t}"`,params:({schemaCode:t})=>Vt._`{format: ${t}}`},hb={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:ub,code(t,i){let{gen:e,data:n,$data:o,schema:f,schemaCode:d,it:v}=t,{opts:b,errSchemaPath:C,schemaEnv:$,self:O}=v;if(!b.validateFormats)return;o?z():M();function z(){let j=e.scopeValue("formats",{ref:O.formats,code:b.code.formats}),G=e.const("fDef",Vt._`${j}[${d}]`),J=e.let("fType"),Q=e.let("format");e.if(Vt._`typeof ${G} == "object" && !(${G} instanceof RegExp)`,()=>e.assign(J,Vt._`${G}.type || "string"`).assign(Q,Vt._`${G}.validate`),()=>e.assign(J,Vt._`"string"`).assign(Q,G)),t.fail$data(Vt.or(ie(),de()));function ie(){return b.strict===!1?Vt.nil:Vt._`${d} && !${Q}`}function de(){let Ce=$.$async?Vt._`(${G}.async ? await ${Q}(${n}) : ${Q}(${n}))`:Vt._`${Q}(${n})`,we=Vt._`(typeof ${Q} == "function" ? ${Ce} : ${Q}.test(${n}))`;return Vt._`${Q} && ${Q} !== true && ${J} === ${i} && !${we}`}}function M(){let j=O.formats[f];if(!j){ie();return}if(j===!0)return;let[G,J,Q]=de(j);G===i&&t.pass(Ce());function ie(){if(b.strict===!1){O.logger.warn(we());return}throw new Error(we());function we(){return`unknown format "${f}" ignored in schema at path "${C}"`}}function de(we){let ce=e.scopeValue("formats",{key:f,ref:we,code:b.code.formats?Vt._`${b.code.formats}${Vt.getProperty(f)}`:void 0});return typeof we=="object"&&!(we instanceof RegExp)?[we.type||"string",we.validate,Vt._`${ce}.validate`]:["string",we,ce]}function Ce(){if(typeof j=="object"&&!(j instanceof RegExp)&&j.async){if(!$.$async)throw new Error("async format in sync schema");return Vt._`await ${Q}(${n})`}return typeof J=="function"?Vt._`${Q}(${n})`:Vt._`${Q}.test(${n})`}}}};Jf.default=hb});var Pd=Te(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});var db=Td(),pb=[db.default];Qf.default=pb});var Fd=Te(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.contentVocabulary=Cs.metadataVocabulary=void 0;Cs.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Cs.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Id=Te(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});var mb=Wh(),gb=ad(),yb=Sd(),vb=Pd(),Dd=Fd(),bb=[mb.default,gb.default,yb.default,vb.default,Dd.metadataVocabulary,Dd.contentVocabulary];Zf.default=bb});var Od=Te((ik,wb)=>{wb.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var Rd=Te(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.CodeGen=ar.Name=ar.nil=ar.stringify=ar.str=ar._=ar.KeywordCxt=void 0;var Ab=ia();ar.KeywordCxt=Ab.default;var _s=Ze();Object.defineProperty(ar,"_",{enumerable:!0,get:function(){return _s._}});Object.defineProperty(ar,"str",{enumerable:!0,get:function(){return _s.str}});Object.defineProperty(ar,"stringify",{enumerable:!0,get:function(){return _s.stringify}});Object.defineProperty(ar,"nil",{enumerable:!0,get:function(){return _s.nil}});Object.defineProperty(ar,"Name",{enumerable:!0,get:function(){return _s.Name}});Object.defineProperty(ar,"CodeGen",{enumerable:!0,get:function(){return _s.CodeGen}});var $b=Vh(),xb=Id(),qd=Od(),kb=["/properties"],Ao="http://json-schema.org/draft-07/schema",Xf=class extends $b.default{_addVocabularies(){super._addVocabularies(),xb.default.forEach(i=>this.addVocabulary(i))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let i=this.opts.$data?this.$dataMetaSchema(qd,kb):qd;this.addMetaSchema(i,Ao,!1),this.refs["http://json-schema.org/schema"]=Ao}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Ao)?Ao:void 0)}};ar.default=Xf});var Ld=Te((sk,Nd)=>{var Cb=Object.prototype.hasOwnProperty,_b=Object.prototype.toString;Nd.exports=function(i,e,n){if(_b.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var o=i.length;if(o===+o)for(var f=0;f<o;f++)e.call(n,i[f],f,i);else for(var d in i)Cb.call(i,d)&&e.call(n,i[d],d,i)}});var zd=Te((ak,Md)=>{"use strict";var Eb=Ld();Md.exports=Ct;function Ct(t,i,e){if(arguments.length===3)return Ct.set(t,i,e);if(arguments.length===2)return Ct.get(t,i);var n=Ct.bind(Ct,t);for(var o in Ct)Ct.hasOwnProperty(o)&&(n[o]=Ct[o].bind(n,t));return n}Ct.get=function(i,e){for(var n=Array.isArray(e)?e:Ct.parse(e),o=0;o<n.length;++o){var f=n[o];if(!(typeof i=="object"&&f in i))throw new Error("Invalid reference token: "+f);i=i[f]}return i};Ct.set=function(i,e,n){var o=Array.isArray(e)?e:Ct.parse(e),f=o[0];if(o.length===0)throw Error("Can not set the root object");for(var d=0;d<o.length-1;++d){var v=o[d];v==="__proto__"||v==="constructor"||v==="prototype"||(v==="-"&&Array.isArray(i)&&(v=i.length),f=o[d+1],v in i||(f.match(/^(\d+|-)$/)?i[v]=[]:i[v]={}),i=i[v])}return f==="-"&&Array.isArray(i)&&(f=i.length),i[f]=n,this};Ct.remove=function(t,i){var e=Array.isArray(i)?i:Ct.parse(i),n=e[e.length-1];if(n===void 0)throw new Error('Invalid JSON pointer for remove: "'+i+'"');var o=Ct.get(t,e.slice(0,-1));if(Array.isArray(o)){var f=+n;if(n===""&&isNaN(f))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,f,1)}else delete o[n]};Ct.dict=function(i,e){var n={};return Ct.walk(i,function(o,f){n[f]=o},e),n};Ct.walk=function(i,e,n){var o=[];n=n||function(f){var d=Object.prototype.toString.call(f);return d==="[object Object]"||d==="[object Array]"},function f(d){Eb(d,function(v,b){o.push(String(b)),n(v)?f(v):e(v,Ct.compile(o)),o.pop()})}(i)};Ct.has=function(i,e){try{Ct.get(i,e)}catch{return!1}return!0};Ct.escape=function(i){return i.toString().replace(/~/g,"~0").replace(/\//g,"~1")};Ct.unescape=function(i){return i.replace(/~1/g,"/").replace(/~0/g,"~")};Ct.parse=function(i){if(i==="")return[];if(i.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+i);return i.substring(1).split(/\//).map(Ct.unescape)};Ct.compile=function(i){return i.length===0?"":"/"+i.map(Ct.escape).join("/")}});var nc=Te((Sk,sp)=>{"use strict";function zb(t,i){function e(){this.constructor=t}e.prototype=i.prototype,t.prototype=new e}function Bn(t,i,e,n){this.message=t,this.expected=i,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Bn)}zb(Bn,Error);Bn.buildMessage=function(t,i){var e={literal:function(C){return'"'+o(C.text)+'"'},class:function(C){var $="",O;for(O=0;O<C.parts.length;O++)$+=C.parts[O]instanceof Array?f(C.parts[O][0])+"-"+f(C.parts[O][1]):f(C.parts[O]);return"["+(C.inverted?"^":"")+$+"]"},any:function(C){return"any character"},end:function(C){return"end of input"},other:function(C){return C.description}};function n(C){return C.charCodeAt(0).toString(16).toUpperCase()}function o(C){return C.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($){return"\\x0"+n($)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function($){return"\\x"+n($)})}function f(C){return C.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($){return"\\x0"+n($)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function($){return"\\x"+n($)})}function d(C){return e[C.type](C)}function v(C){var $=new Array(C.length),O,z;for(O=0;O<C.length;O++)$[O]=d(C[O]);if($.sort(),$.length>0){for(O=1,z=1;O<$.length;O++)$[O-1]!==$[O]&&($[z]=$[O],z++);$.length=z}switch($.length){case 1:return $[0];case 2:return $[0]+" or "+$[1];default:return $.slice(0,-1).join(", ")+", or "+$[$.length-1]}}function b(C){return C?'"'+o(C)+'"':"end of input"}return"Expected "+v(t)+" but "+b(i)+" found."};function jb(t,i){i=i!==void 0?i:{};var e={},n={Document:y,attributesOnly:a},o=y,f=function(c){return c},d=function(c){return Tu(c)},v=function(){return!!i.podMode},b=function(c){return c},C=D(),$=function(){return{text:hr(),type:"ambient",location:At()}},O=/^[ \xA0\u2001\t\f\u2008]/,z=w([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),M=/^[ \t\f]/,j=w([" "," ","\f"],!1,!1),G=/^[\n\r]/,J=w([`
9
+ `,"\r"],!1,!1),Q=function(c){return c},ie=/^[^\n\r]/,de=w([`
10
+ `,"\r"],!0,!1),Ce=`
11
+ `,we=p(`
12
+ `,!1),ce="\r",me=p("\r",!1),Pe=function(){return{type:"blankline"}},ke="=begin ",Xe=p("=begin ",!1),Re="=end ",je=p("=end ",!1),xe="=for ",Ne=p("=for ",!1),st="=config",ae=p("=config",!1),kt="=alias",at=p("=alias",!1),_t=function(c){return Eg(c)},ht=function(c){return c},Z="=",X=p("=",!1),Ar=E("text"),Bt=function(){return hr()},Ft=function(){return kl(i,"Line looks like a directive but could not be read; it stays as text",At(),"directive-unreadable"),{type:"para",value:hr(),error:!0,location:At()}},Lt=function(c,m){return cn([c,m])},Ot=function(c){return[c]},yt=/^[ \t]/,$r=w([" "," "],!1,!1),Ut=",",or=p(",",!1),jr=function(c,m){return cn([c,m])},pi=/^[a-zA-Z0-9]/,lr=w([["a","z"],["A","Z"],["0","9"]],!1,!1),mi=/^[a-zA-Z0-9_\-]/,Yr=w([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Pi=function(c){return!c.dropped},Fi=function(c){return{[c.name]:c.value}},Ui="=>",le=p("=>",!1),Yt=function(c,m){return{[c]:m}},Hi=function(c,m){return{...c,...m}},Ae=function(c){return c},be=":",_e=p(":",!1),Ee=/^[!]/,Mt=w(["!"],!1,!1),ee="allow",ne=p("allow",!1),he="<",pe=p("<",!1),vt=">",Ht=p(">",!1),dt=function(c,m,k){return{value:k,type:"array"}},Et=function(c,m){return{value:[],type:"array"}},St=function(c,m,k){return{name:"allow",...k,...c?{isFalse:!0}:{}}},xr=/^[^ \t\r\n,<>[\]{}()'"]/,pt=w([" "," ","\r",`
13
+ `,",","<",">","[","]","{","}","(",")","'",'"'],!0,!1),Vr=function(c,m){return m},Gt=function(c,m){return cn([c,...m])},Gi=function(c){return c},en=function(c){return c},Br=function(c){return[c]},tn=function(){return[]},ei="{",rn=p("{",!1),Ur="}",Di=p("}",!1),Is=function(c,m,k){return{value:k,type:"map"}},Yn=function(c,m){return{value:{},type:"map"}},Os=function(c,m){return{unreadable:!0,location:At()}},wn="[",Y=p("[",!1),K="]",te=p("]",!1),se=function(c,m){return{unreadable:!0,location:At(),message:"Square brackets are not an attribute value form; write a list with angle brackets or parentheses"}},fe=function(c,m,k){return{value:k,type:"array"}},$e=/^[']/,Oe=w(["'"],!1,!1),ze=/^[^'\n\r]/,He=w(["'",`
14
+ `,"\r"],!0,!1),mt=function(c,m,k){return{value:k,type:"string"}},Me=/^["]/,ft=w(['"'],!1,!1),bt=/^[^"\n\r]/,ot=w(['"',`
15
+ `,"\r"],!0,!1),tt=function(c,m,k){return{value:k.trim(),type:"string"}},wt=function(c,m){return{value:[],type:"array"}},Je="(",er=p("(",!1),tr=function(c,m,k){return k.length>1?{type:"array",value:k}:{type:Cg(k[0]),value:k[0]}},Tt=")",Qe=p(")",!1),Kt=function(c,m,k){return k},rr=function(c,m){return{unreadable:!0,location:At(),message:"Bare text in parentheses; quote it or use a number"}},kr="\uFF62",Hr=p("\uFF62",!1),Cr=/^[^\uFF63\n\r]/,Ii=w(["\uFF63",`
16
+ `,"\r"],!0,!1),nn="\uFF63",sn=p("\uFF63",!1),gi=function(c,m){return{unreadable:!0,location:At(),message:"Value is not closed; only a bracketed value may continue on the next configuration line"}},yi=function(c,m){return{value:!c,type:"boolean"}},Gr=function(c,m,k){return k.unreadable?(kl(i,k.message||`cannot read the value of :${m}`,k.location),{name:m,dropped:!0}):{name:m,...k,...c&&k.type!=="boolean"?{isFalse:!0}:{}}},Kr=function(c,m){return m},An=function(c,m,k){return Tu(cn([...c,...m]))},vi=function(){kl(i,"Configuration continuation line could not be read",At())},es=/^[^'"]/,ts=w(["'",'"'],!0,!1),an=function(c){return c},ti=/^[0-9]/,ri=w([["0","9"]],!1,!1),bi=/^[\-+]/,ii=w(["-","+"],!1,!1),Ki="True",$n=p("True",!1),rs=function(){return!0},_r="False",Wr=p("False",!1),Oi=function(){return!1},qi=".",Le=p(".",!1),qt=/^[eE]/,Ie=w(["e","E"],!1,!1),ni=function(c){return parseFloat(c)},Wi=function(c){return parseInt(c,10)},is=function(c,m,k){return m.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Ba(m)},Ue=function(c,m,k,S,q){return c.length===S.length&&m===q},Dt=function(c,m,k,S,q){return Sg(c,`${S}${q}`)},Ri=function(c,m,k,S,q,_){return m===_},xn=function(c,m,k,S,q,_){return{type:"block",content:S===""?[]:[{type:"verbatim",value:S.join("")}],name:m,margin:c}},r=function(c,m,k,S,q,_){return!0},ue=function(c,m,k,S,q,_){return{..._,text:hr(),config:k,location:At()}},on=/^[\-+=_|]/,Ir=w(["-","+","=","_","|"],!1,!1),ns=function(){return{type:"separator",text:hr()}},l=function(){return i.isDelimited},ss=function(){return{type:"separator",text:hr()}},kn=function(c){return{name:"row",type:"text",value:c}},pu=function(){return i.separators=[],!0},mu=function(c,m){return i.separators.push(m.text),m},Ko=function(c,m,k,S){return i.separators.push(S.text),S},Ge=function(c,m,k,S){return[{name:"row",type:"text",value:k},S]},fr=function(c,m,k){return[k]},Wo=function(c,m,k){return i.separators.length>1?!i.separators.every(S=>S===i.separators[0]):!0},Jo=function(c,m,k){return[{name:"head",type:"text",value:c},m,...cn(k)]},Fa=function(c,m){return[{name:"row",type:"text",value:c},m]},Da=function(c){return[...cn(c)]},ln=function(c,m,k){return m==="table"},T=function(c,m,k){return i.isDelimited=!0,!0},Qo=function(c,m,k,S){return S},Ia=function(c,m,k,S){return S.some(q=>q&&(q.name==="row"||q.name==="cell"))},Oa=function(c,m,k,S,q,_){return{type:"block",content:S,name:m,margin:c}},si=function(c,m,k,S,q,_){return{..._,text:hr(),config:k,location:At()}},Zo=function(c,m,k){return i.isDelimited=!0,!0},gu=function(c,m,k,S){return S},qs=function(c,m,k,S,q,_){return{type:"block",content:S,name:m,margin:c}},Wt=function(c,m,k,S,q,_){return{..._,text:hr(),config:k,location:At()}},Rs=function(c,m,k,S){return S},Ns=function(c,m,k,S,q){let _=m.match(/pod|nested|item|code|defn/)&&S.length-c.length>0?"code":"para";return{text:q,margin:S,type:_,content:[{type:_==="code"?"verbatim":"text",value:q}],location:At()}},Xo=function(c,m,k,S,q,_){return{type:"block",content:S,name:m,margin:c}},Yo=function(c,m,k,S,q,_){return{..._,config:k,location:At()}},el=function(){return{text:hr(),type:"para",margin:"",content:[{type:"text",value:hr()}],location:At()}},qa=function(){return{empty:1}},as=/^[s]/,Cn=w(["s"],!1,!1),zt=function(c){return{text:hr(),type:"ambient1"}},Ke=function(c,m){return m.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Ba(m)},_n=function(c,m,k){return{margin:c,type:"block",content:k===""?[]:[{type:"verbatim",value:k}],name:m,config:[],location:At()}},fn=function(c,m){return m==="table"},Er=function(c,m){return i.isDelimited=!1,!0},tl=function(c,m,k){return{margin:c,type:"block",content:k===""?[]:k,name:m,config:[],location:At()}},rl=function(c,m,k,S){let q=(k===`
17
+ `?"":k)+S;return{margin:c,type:"block",content:q===""?[]:[{type:"para",text:q,margin:"",content:[{type:"text",value:q}],location:At()}],name:m,location:At()}},En="= ",Ra=p("= ",!1),Na=function(c,m){return cn([...c,...m])},cr=function(c){return{kind:"attrs",attrs:c}},Sn=function(c,m){return{kind:"alias",name:c,value:m}},os=function(c){return{kind:"value",value:c}},il=function(c){return c},La="=set",nl=p("=set",!1),sl=function(c,m,k){let S=[],q=null,_=()=>{if(!q)return;let B=q.parts.map(W=>W.trim()).filter(W=>W.length).join(" ");S.push({name:q.name,value:B,type:"string"}),q=null};for(let B of[m,...k])B.kind==="attrs"?(_(),S.push(...B.attrs)):B.kind==="alias"?(_(),q={name:B.name,parts:[B.value]}):B.kind==="value"&&q&&q.parts.push(B.value);return _(),{type:"set",config:S,margin:c,location:At()}},al=function(c,m,k,S){return{name:k,type:"alias",replacement:S,margin:c}},ol=/^[A-Z]/,Ma=w([["A","Z"]],!1,!1),Ls="<>",wi=p("<>",!1),Ms=function(c,m,k,S){return{name:k,type:"config",config:S,margin:c}},Se="=boundary",lt=p("=boundary",!1),gt=function(c,m,k){return{name:"boundary",type:"block",content:[],config:k,margin:c,location:At()}},ur=function(c,m,k,S){return k.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Ba(k)},yu=function(c,m,k,S,q){return{type:"block",content:q===""?[]:[{type:"verbatim",value:q}],name:k,margin:c,config:S,location:At()}},We=function(c,m,k,S){return k==="table"},Ni=function(c,m,k,S){return i.isDelimited=!1,!0},ye=function(c,m,k,S,q){return{type:"block",content:q===""?[]:q,name:k,margin:c,config:S,location:At()}},ll=function(c,m,k,S,q){return{type:"block",content:q===""?[]:[{type:"para",content:[{type:"text",value:q}],margin:c,text:q,location:At()}],name:k,margin:c,config:S,location:At()}},fl=/^[a-zA-Z]/,cl=w([["a","z"],["A","Z"]],!1,!1),ul=E("whitespace"),ls=/^[\r\n \t\f]/,fs=w(["\r",`
18
+ `," "," ","\f"],!1,!1),hl=E("space characters"),s=0,oe=0,cs=[{line:1,column:1}],ai=0,zs=[],H=0,us;if("startRule"in i){if(!(i.startRule in n))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');o=n[i.startRule]}function hr(){return t.substring(oe,s)}function At(){return R(oe,s)}function dl(c,m){throw m=m!==void 0?m:R(oe,s),u([E(c)],t.substring(oe,s),m)}function pl(c,m){throw m=m!==void 0?m:R(oe,s),h(c,m)}function p(c,m){return{type:"literal",text:c,ignoreCase:m}}function w(c,m,k){return{type:"class",parts:c,inverted:m,ignoreCase:k}}function D(){return{type:"any"}}function F(){return{type:"end"}}function E(c){return{type:"other",description:c}}function P(c){var m=cs[c],k;if(m)return m;for(k=c-1;!cs[k];)k--;for(m=cs[k],m={line:m.line,column:m.column};k<c;)t.charCodeAt(k)===10?(m.line++,m.column=1):m.column++,k++;return cs[c]=m,m}function R(c,m){var k=P(c),S=P(m);return{start:{offset:c,line:k.line,column:k.column},end:{offset:m,line:S.line,column:S.column}}}function I(c){s<ai||(s>ai&&(ai=s,zs=[]),zs.push(c))}function h(c,m){return new Bn(c,null,null,m)}function u(c,m,k){return new Bn(Bn.buildMessage(c,m),c,m,k)}function y(){var c,m,k;for(c=s,m=[],k=g();k!==e;)m.push(k),k=g();return m!==e&&(oe=c,m=f(m)),c=m,c}function a(){var c,m,k,S;if(c=s,m=x(),m!==e){for(k=[],S=Ai();S!==e;)k.push(S),S=Ai();k!==e?(S=x(),S!==e?(oe=c,m=d(k),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;return c}function g(){var c,m,k,S,q,_,B,W;if(c=Bs(),c===e&&(c=wg(),c===e&&(c=yl(),c===e&&(c=Us(),c===e&&(c=Ks(),c===e&&(c=xl(),c===e&&(c=Ws(),c===e&&(c=bl(),c===e&&(c=wl(),c===e&&(c=Al(),c===e&&(c=$l(),c===e&&(c=Hs(),c===e&&(c=vl(),c===e&&(c=Gs(),c===e&&(c=s,oe=s,m=v(),m?m=void 0:m=e,m!==e?(k=Ag(),k===e&&(k=oi(),k===e&&(k=hg())),k!==e?(oe=c,m=b(k),c=m):(s=c,c=e)):(s=c,c=e),c===e))))))))))))))){if(c=s,m=s,k=[],S=s,q=s,H++,_=s,B=Ji(),B!==e?(W=Qt(),W!==e?(B=[B,W],_=B):(s=_,_=e)):(s=_,_=e),_===e&&(_=Pn()),H--,_===e?q=void 0:(s=q,q=e),q!==e?(t.length>s?(_=t.charAt(s),s++):(_=e,H===0&&I(C)),_!==e?(q=[q,_],S=q):(s=S,S=e)):(s=S,S=e),S!==e)for(;S!==e;)k.push(S),S=s,q=s,H++,_=s,B=Ji(),B!==e?(W=Qt(),W!==e?(B=[B,W],_=B):(s=_,_=e)):(s=_,_=e),_===e&&(_=Pn()),H--,_===e?q=void 0:(s=q,q=e),q!==e?(t.length>s?(_=t.charAt(s),s++):(_=e,H===0&&I(C)),_!==e?(q=[q,_],S=q):(s=S,S=e)):(s=S,S=e);else k=e;k!==e?m=t.substring(m,s):m=k,m!==e&&(oe=c,m=$()),c=m}return c}function A(){var c;return O.test(t.charAt(s))?(c=t.charAt(s),s++):(c=e,H===0&&I(z)),c}function x(){var c,m;for(c=[],M.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(j));m!==e;)c.push(m),M.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(j));return c}function L(){var c,m,k,S;for(c=s,m=s,k=[],S=A();S!==e;)k.push(S),S=A();return k!==e?(G.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(J)),S!==e?(k=[k,S],m=k):(s=m,m=e)):(s=m,m=e),m!==e?c=t.substring(c,s):c=m,c}function K$(){var c,m,k,S;if(c=s,m=s,k=[],S=js(),S!==e)for(;S!==e;)k.push(S),S=js();else k=e;return k!==e?m=t.substring(m,s):m=k,m!==e?(k=Or(),k!==e?(oe=c,m=Q(m),c=m):(s=c,c=e)):(s=c,c=e),c}function js(){var c;return ie.test(t.charAt(s))?(c=t.charAt(s),s++):(c=e,H===0&&I(de)),c}function Jt(){var c,m,k;return t.charCodeAt(s)===10?(c=Ce,s++):(c=e,H===0&&I(we)),c===e&&(c=s,t.charCodeAt(s)===13?(m=ce,s++):(m=e,H===0&&I(me)),m!==e?(t.charCodeAt(s)===10?(k=Ce,s++):(k=e,H===0&&I(we)),k===e&&(k=null),k!==e?(m=[m,k],c=m):(s=c,c=e)):(s=c,c=e)),c}function Or(){var c,m;return c=Jt(),c===e&&(c=s,H++,t.length>s?(m=t.charAt(s),s++):(m=e,H===0&&I(C)),H--,m===e?c=void 0:(s=c,c=e)),c}function Jr(){var c,m,k,S;for(c=s,m=s,k=[],S=A();S!==e;)k.push(S),S=A();return k!==e?(G.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(J)),S!==e?(k=[k,S],m=k):(s=m,m=e)):(s=m,m=e),m!==e?c=t.substring(c,s):c=m,c}function oi(){var c,m,k,S,q;for(c=s,m=s,k=s,S=[],q=A();q!==e;)S.push(q),q=A();return S!==e?(G.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(J)),q!==e?(S=[S,q],k=S):(s=k,k=e)):(s=k,k=e),k!==e?m=t.substring(m,s):m=k,m!==e&&(oe=c,m=Pe()),c=m,c}function Vs(){var c;return t.substr(s,7)===ke?(c=ke,s+=7):(c=e,H===0&&I(Xe)),c}function Tn(){var c;return t.substr(s,5)===Re?(c=Re,s+=5):(c=e,H===0&&I(je)),c}function za(){var c;return t.substr(s,5)===xe?(c=xe,s+=5):(c=e,H===0&&I(Ne)),c}function vu(){var c;return t.substr(s,7)===st?(c=st,s+=7):(c=e,H===0&&I(ae)),c}function bu(){var c;return t.substr(s,6)===kt?(c=kt,s+=6):(c=e,H===0&&I(at)),c}function Qt(){var c,m,k;return c=s,m=Va(),m!==e?(oe=s,k=_t(m),k?k=void 0:k=e,k!==e?(oe=c,m=ht(m),c=m):(s=c,c=e)):(s=c,c=e),c}function Pn(){var c,m,k;return c=s,t.charCodeAt(s)===61?(m=Z,s++):(m=e,H===0&&I(X)),m!==e?(k=Qt(),k!==e?(oe=c,m=ht(k),c=m):(s=c,c=e)):(s=c,c=e),c}function Ji(){var c;return c=Vs(),c===e&&(c=Tn(),c===e&&(c=za(),c===e&&(c=vu(),c===e&&(c=bu())))),c}function li(){var c,m,k;if(H++,c=s,m=[],k=js(),k!==e)for(;k!==e;)m.push(k),k=js();else m=e;return m!==e?c=t.substring(c,s):c=m,H--,c===e&&(m=e,H===0&&I(Ar)),c}function ir(){var c,m,k,S,q,_,B;if(c=s,m=s,H++,k=s,S=x(),S!==e?(q=vu(),q===e&&(q=bu(),q===e&&(q=s,_=Ji(),_!==e?(B=Qt(),B!==e?(_=[_,B],q=_):(s=q,q=e)):(s=q,q=e),q===e&&(q=Pn()))),q!==e?(S=[S,q],k=S):(s=k,k=e)):(s=k,k=e),k===e&&(k=oi()),H--,k===e?m=void 0:(s=m,m=e),m!==e){if(k=s,S=[],q=li(),q!==e)for(;q!==e;)S.push(q),q=li();else S=e;S!==e?k=t.substring(k,s):k=S,k!==e?(S=Or(),S!==e?(oe=c,m=Bt(),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;return c}function ug(){var c,m,k,S;if(c=s,m=s,k=[],S=li(),S!==e)for(;S!==e;)k.push(S),S=li();else k=e;return k!==e?m=t.substring(m,s):m=k,m!==e?(k=Or(),k!==e?(oe=c,m=Bt(),c=m):(s=c,c=e)):(s=c,c=e),c}function hg(){var c,m,k,S,q,_;if(c=s,m=s,k=[],S=s,q=s,H++,_=Or(),H--,_===e?q=void 0:(s=q,q=e),q!==e?(t.length>s?(_=t.charAt(s),s++):(_=e,H===0&&I(C)),_!==e?(q=[q,_],S=q):(s=S,S=e)):(s=S,S=e),S!==e)for(;S!==e;)k.push(S),S=s,q=s,H++,_=Or(),H--,_===e?q=void 0:(s=q,q=e),q!==e?(t.length>s?(_=t.charAt(s),s++):(_=e,H===0&&I(C)),_!==e?(q=[q,_],S=q):(s=S,S=e)):(s=S,S=e);else k=e;return k!==e?m=t.substring(m,s):m=k,m!==e?(k=Or(),k!==e?(oe=c,m=Ft(),c=m):(s=c,c=e)):(s=c,c=e),c}function wu(){var c,m,k,S;if(c=s,m=Au(),m!==e){if(k=[],S=A(),S!==e)for(;S!==e;)k.push(S),S=A();else k=e;k!==e?(S=wu(),S!==e?(oe=c,m=Lt(m,S),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;return c===e&&(c=s,m=Au(),m!==e&&(oe=c,m=Ot(m)),c=m),c}function Au(){var c,m;return c=s,m=js(),m!==e?c=t.substring(c,s):c=m,c}function $u(){var c,m,k,S,q;if(c=s,m=Jt(),m!==e)if(t.charCodeAt(s)===61?(k=Z,s++):(k=e,H===0&&I(X)),k!==e){if(S=[],yt.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I($r)),q!==e)for(;q!==e;)S.push(q),yt.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I($r));else S=e;S!==e?(m=[m,k,S],c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e;return c}function qr(){var c,m;for(c=[],M.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(j)),m===e&&(m=$u());m!==e;)c.push(m),M.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(j)),m===e&&(m=$u());return c}function xu(){var c,m,k,S,q,_;if(c=s,m=Fn(),m!==e){if(k=[],S=A(),S!==e)for(;S!==e;)k.push(S),S=A();else k=e;k===e&&(k=s,S=qr(),S!==e?(t.charCodeAt(s)===44?(q=Ut,s++):(q=e,H===0&&I(or)),q!==e?(_=qr(),_!==e?(S=[S,q,_],k=S):(s=k,k=e)):(s=k,k=e)):(s=k,k=e)),k!==e?(S=xu(),S!==e?(oe=c,m=jr(m,S),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;return c===e&&(c=s,m=Fn(),m!==e&&(oe=c,m=Ot(m)),c=m),c}function dg(){var c,m,k,S,q;if(c=s,m=s,k=[],pi.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(lr)),S!==e)for(;S!==e;)k.push(S),pi.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(lr));else k=e;if(k!==e){for(S=[],mi.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(Yr));q!==e;)S.push(q),mi.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(Yr));S!==e?(k=[k,S],m=k):(s=m,m=e)}else s=m,m=e;return m!==e?c=t.substring(c,s):c=m,c}function ku(){var c,m,k,S,q,_,B;return c=s,m=qr(),m!==e?(k=Ai(),k!==e?(oe=s,S=Pi(k),S?S=void 0:S=e,S!==e?(oe=c,m=Fi(k),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c===e&&(c=s,m=qr(),m!==e?(k=dg(),k!==e?(S=qr(),S!==e?(t.charCodeAt(s)===44?(q=Ut,s++):(q=e,H===0&&I(or)),q===e&&(t.substr(s,2)===Ui?(q=Ui,s+=2):(q=e,H===0&&I(le))),q!==e?(_=qr(),_!==e?(B=Fn(),B!==e?(oe=c,m=Yt(k,B),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)),c}function Cu(){var c,m,k,S,q,_;return c=s,m=ku(),m!==e?(k=qr(),k!==e?(t.charCodeAt(s)===44?(S=Ut,s++):(S=e,H===0&&I(or)),S!==e?(q=qr(),q!==e?(_=Cu(),_!==e?(oe=c,m=Hi(m,_),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c===e&&(c=s,m=ku(),m!==e&&(oe=c,m=Ae(m)),c=m),c}function pg(){var c,m,k,S,q,_,B,W,N,V,U;return c=s,m=x(),m!==e?(t.charCodeAt(s)===58?(k=be,s++):(k=e,H===0&&I(_e)),k!==e?(Ee.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Mt)),S===e&&(S=null),S!==e?(t.substr(s,5)===ee?(q=ee,s+=5):(q=e,H===0&&I(ne)),q!==e?(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e?(W=x(),W!==e?(N=wu(),N!==e?(V=x(),V!==e?(t.charCodeAt(s)===62?(U=vt,s++):(U=e,H===0&&I(Ht)),U!==e?(oe=_,B=dt(S,q,N),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e&&(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e?(W=x(),W!==e?(t.charCodeAt(s)===62?(N=vt,s++):(N=e,H===0&&I(Ht)),N!==e?(oe=_,B=Et(S,q),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)),_!==e?(B=x(),B!==e?(oe=c,m=St(S,q,_),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function mg(){var c,m,k;if(c=s,m=[],xr.test(t.charAt(s))?(k=t.charAt(s),s++):(k=e,H===0&&I(pt)),k!==e)for(;k!==e;)m.push(k),xr.test(t.charAt(s))?(k=t.charAt(s),s++):(k=e,H===0&&I(pt));else m=e;return m!==e?c=t.substring(c,s):c=m,c}function ml(){var c;return c=Fn(),c===e&&(c=mg()),c}function gg(){var c,m,k,S,q,_;if(c=s,m=ml(),m!==e){if(k=[],S=s,q=[],_=A(),_!==e)for(;_!==e;)q.push(_),_=A();else q=e;if(q!==e?(_=ml(),_!==e?(oe=S,q=Vr(m,_),S=q):(s=S,S=e)):(s=S,S=e),S!==e)for(;S!==e;){if(k.push(S),S=s,q=[],_=A(),_!==e)for(;_!==e;)q.push(_),_=A();else q=e;q!==e?(_=ml(),_!==e?(oe=S,q=Vr(m,_),S=q):(s=S,S=e)):(s=S,S=e)}else k=e;k!==e?(oe=c,m=Gt(m,k),c=m):(s=c,c=e)}else s=c,c=e;return c}function W$(){var c,m,k,S,q,_;for(c=s,m=[],k=s,S=x(),S!==e?(q=Fn(),q!==e?(_=x(),_!==e?(oe=k,S=Gi(q),k=S):(s=k,k=e)):(s=k,k=e)):(s=k,k=e);k!==e;)m.push(k),k=s,S=x(),S!==e?(q=Fn(),q!==e?(_=x(),_!==e?(oe=k,S=Gi(q),k=S):(s=k,k=e)):(s=k,k=e)):(s=k,k=e);return m!==e&&(oe=c,m=en(m)),c=m,c===e&&(c=s,m=Fn(),m!==e&&(oe=c,m=Br(m)),c=m,c===e&&(c=s,m=x(),m!==e&&(oe=c,m=tn()),c=m)),c}function Ai(){var c,m,k,S,q,_,B,W,N,V,U,re,ge,Fe,qe;if(c=pg(),c===e)if(c=s,m=x(),m!==e)if(t.charCodeAt(s)===58?(k=be,s++):(k=e,H===0&&I(_e)),k!==e)if(Ee.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Mt)),S===e&&(S=null),S!==e)if(q=Va(),q!==e){if(_=s,t.charCodeAt(s)===123?(B=ei,s++):(B=e,H===0&&I(rn)),B!==e?(W=qr(),W!==e?(N=Cu(),N!==e?(V=qr(),V!==e?(t.charCodeAt(s)===125?(U=Ur,s++):(U=e,H===0&&I(Di)),U!==e?(oe=_,B=Is(S,q,N),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e&&(_=s,t.charCodeAt(s)===123?(B=ei,s++):(B=e,H===0&&I(rn)),B!==e?(W=qr(),W!==e?(t.charCodeAt(s)===125?(N=Ur,s++):(N=e,H===0&&I(Di)),N!==e?(oe=_,B=Yn(S,q),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e)){if(_=s,t.charCodeAt(s)===123?(B=ei,s++):(B=e,H===0&&I(rn)),B!==e){for(W=s,N=[],V=s,U=s,H++,t.charCodeAt(s)===125?(re=Ur,s++):(re=e,H===0&&I(Di)),re===e&&(re=Jt()),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);V!==e;)N.push(V),V=s,U=s,H++,t.charCodeAt(s)===125?(re=Ur,s++):(re=e,H===0&&I(Di)),re===e&&(re=Jt()),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);N!==e?W=t.substring(W,s):W=N,W!==e?(t.charCodeAt(s)===125?(N=Ur,s++):(N=e,H===0&&I(Di)),N!==e?(oe=_,B=Os(S,q),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;if(_===e){if(_=s,t.charCodeAt(s)===91?(B=wn,s++):(B=e,H===0&&I(Y)),B!==e){for(W=s,N=[],V=s,U=s,H++,t.charCodeAt(s)===93?(re=K,s++):(re=e,H===0&&I(te)),re===e&&(re=Jt()),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);V!==e;)N.push(V),V=s,U=s,H++,t.charCodeAt(s)===93?(re=K,s++):(re=e,H===0&&I(te)),re===e&&(re=Jt()),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);N!==e?W=t.substring(W,s):W=N,W!==e?(t.charCodeAt(s)===93?(N=K,s++):(N=e,H===0&&I(te)),N!==e?(oe=_,B=se(S,q),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;if(_===e&&(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e?(W=x(),W!==e?(N=gg(),N!==e?(V=x(),V!==e?(t.charCodeAt(s)===62?(U=vt,s++):(U=e,H===0&&I(Ht)),U!==e?(oe=_,B=fe(S,q,N),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e)){if(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e)if(W=x(),W!==e)if($e.test(t.charAt(s))?(N=t.charAt(s),s++):(N=e,H===0&&I(Oe)),N!==e){for(V=s,U=[],ze.test(t.charAt(s))?(re=t.charAt(s),s++):(re=e,H===0&&I(He));re!==e;)U.push(re),ze.test(t.charAt(s))?(re=t.charAt(s),s++):(re=e,H===0&&I(He));U!==e?V=t.substring(V,s):V=U,V!==e?($e.test(t.charAt(s))?(U=t.charAt(s),s++):(U=e,H===0&&I(Oe)),U!==e?(re=x(),re!==e?(t.charCodeAt(s)===62?(ge=vt,s++):(ge=e,H===0&&I(Ht)),ge!==e?(oe=_,B=mt(S,q,V),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;else s=_,_=e;else s=_,_=e;if(_===e){if(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e)if(W=x(),W!==e)if(Me.test(t.charAt(s))?(N=t.charAt(s),s++):(N=e,H===0&&I(ft)),N!==e){for(V=s,U=[],bt.test(t.charAt(s))?(re=t.charAt(s),s++):(re=e,H===0&&I(ot));re!==e;)U.push(re),bt.test(t.charAt(s))?(re=t.charAt(s),s++):(re=e,H===0&&I(ot));U!==e?V=t.substring(V,s):V=U,V!==e?(Me.test(t.charAt(s))?(U=t.charAt(s),s++):(U=e,H===0&&I(ft)),U!==e?(re=x(),re!==e?(t.charCodeAt(s)===62?(ge=vt,s++):(ge=e,H===0&&I(Ht)),ge!==e?(oe=_,B=mt(S,q,V),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;else s=_,_=e;else s=_,_=e;if(_===e){if(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e)if(W=x(),W!==e){if(N=s,V=[],U=s,re=s,H++,t.charCodeAt(s)===60?(ge=he,s++):(ge=e,H===0&&I(pe)),ge===e&&(t.charCodeAt(s)===62?(ge=vt,s++):(ge=e,H===0&&I(Ht)),ge===e&&(ge=Jt())),H--,ge===e?re=void 0:(s=re,re=e),re!==e?(t.length>s?(ge=t.charAt(s),s++):(ge=e,H===0&&I(C)),ge!==e?(re=[re,ge],U=re):(s=U,U=e)):(s=U,U=e),U!==e)for(;U!==e;)V.push(U),U=s,re=s,H++,t.charCodeAt(s)===60?(ge=he,s++):(ge=e,H===0&&I(pe)),ge===e&&(t.charCodeAt(s)===62?(ge=vt,s++):(ge=e,H===0&&I(Ht)),ge===e&&(ge=Jt())),H--,ge===e?re=void 0:(s=re,re=e),re!==e?(t.length>s?(ge=t.charAt(s),s++):(ge=e,H===0&&I(C)),ge!==e?(re=[re,ge],U=re):(s=U,U=e)):(s=U,U=e);else V=e;V!==e?N=t.substring(N,s):N=V,N!==e?(t.charCodeAt(s)===62?(V=vt,s++):(V=e,H===0&&I(Ht)),V!==e?(oe=_,B=tt(S,q,N),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;else s=_,_=e;if(_===e&&(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B!==e?(W=x(),W!==e?(t.charCodeAt(s)===62?(N=vt,s++):(N=e,H===0&&I(Ht)),N!==e?(oe=_,B=wt(S,q),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e&&(_=s,t.charCodeAt(s)===40?(B=Je,s++):(B=e,H===0&&I(er)),B!==e?(W=qr(),W!==e?(N=s,V=xu(),V!==e&&(oe=N,V=tr(S,q,V)),N=V,N!==e?(V=qr(),V!==e?(t.charCodeAt(s)===41?(U=Tt,s++):(U=e,H===0&&I(Qe)),U!==e?(oe=_,B=Kt(S,q,N),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e&&(_=s,t.charCodeAt(s)===40?(B=Je,s++):(B=e,H===0&&I(er)),B!==e?(W=qr(),W!==e?(t.charCodeAt(s)===41?(N=Tt,s++):(N=e,H===0&&I(Qe)),N!==e?(oe=_,B=wt(S,q),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e),_===e)))){if(_=s,t.charCodeAt(s)===40?(B=Je,s++):(B=e,H===0&&I(er)),B!==e)if(W=x(),W!==e){if(N=s,V=s,t.charCodeAt(s)===58?(U=be,s++):(U=e,H===0&&I(_e)),U!==e){for(re=[],ge=s,Fe=s,H++,t.charCodeAt(s)===41?(qe=Tt,s++):(qe=e,H===0&&I(Qe)),qe===e&&(t.charCodeAt(s)===40?(qe=Je,s++):(qe=e,H===0&&I(er))),H--,qe===e?Fe=void 0:(s=Fe,Fe=e),Fe!==e?(t.length>s?(qe=t.charAt(s),s++):(qe=e,H===0&&I(C)),qe!==e?(Fe=[Fe,qe],ge=Fe):(s=ge,ge=e)):(s=ge,ge=e);ge!==e;)re.push(ge),ge=s,Fe=s,H++,t.charCodeAt(s)===41?(qe=Tt,s++):(qe=e,H===0&&I(Qe)),qe===e&&(t.charCodeAt(s)===40?(qe=Je,s++):(qe=e,H===0&&I(er))),H--,qe===e?Fe=void 0:(s=Fe,Fe=e),Fe!==e?(t.length>s?(qe=t.charAt(s),s++):(qe=e,H===0&&I(C)),qe!==e?(Fe=[Fe,qe],ge=Fe):(s=ge,ge=e)):(s=ge,ge=e);re!==e?(U=[U,re],V=U):(s=V,V=e)}else s=V,V=e;V!==e?N=t.substring(N,s):N=V,N!==e?(t.charCodeAt(s)===41?(V=Tt,s++):(V=e,H===0&&I(Qe)),V!==e?(oe=_,B=mt(S,q,N),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;else s=_,_=e;if(_===e){if(_=s,t.charCodeAt(s)===40?(B=Je,s++):(B=e,H===0&&I(er)),B!==e){for(W=s,N=[],V=s,U=s,H++,t.charCodeAt(s)===41?(re=Tt,s++):(re=e,H===0&&I(Qe)),re===e&&(re=Jt()),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);V!==e;)N.push(V),V=s,U=s,H++,t.charCodeAt(s)===41?(re=Tt,s++):(re=e,H===0&&I(Qe)),re===e&&(re=Jt()),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);N!==e?W=t.substring(W,s):W=N,W!==e?(t.charCodeAt(s)===41?(N=Tt,s++):(N=e,H===0&&I(Qe)),N!==e?(oe=_,B=rr(S,q),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;if(_===e){if(_=s,$e.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(Oe)),B!==e){for(W=s,N=[],ze.test(t.charAt(s))?(V=t.charAt(s),s++):(V=e,H===0&&I(He));V!==e;)N.push(V),ze.test(t.charAt(s))?(V=t.charAt(s),s++):(V=e,H===0&&I(He));N!==e?W=t.substring(W,s):W=N,W!==e?($e.test(t.charAt(s))?(N=t.charAt(s),s++):(N=e,H===0&&I(Oe)),N!==e?(oe=_,B=mt(S,q,W),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;if(_===e){if(_=s,Me.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(ft)),B!==e){for(W=s,N=[],bt.test(t.charAt(s))?(V=t.charAt(s),s++):(V=e,H===0&&I(ot));V!==e;)N.push(V),bt.test(t.charAt(s))?(V=t.charAt(s),s++):(V=e,H===0&&I(ot));N!==e?W=t.substring(W,s):W=N,W!==e?(Me.test(t.charAt(s))?(N=t.charAt(s),s++):(N=e,H===0&&I(ft)),N!==e?(oe=_,B=mt(S,q,W),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;if(_===e){if(_=s,t.charCodeAt(s)===65378?(B=kr,s++):(B=e,H===0&&I(Hr)),B!==e){for(W=s,N=[],Cr.test(t.charAt(s))?(V=t.charAt(s),s++):(V=e,H===0&&I(Ii));V!==e;)N.push(V),Cr.test(t.charAt(s))?(V=t.charAt(s),s++):(V=e,H===0&&I(Ii));N!==e?W=t.substring(W,s):W=N,W!==e?(t.charCodeAt(s)===65379?(N=nn,s++):(N=e,H===0&&I(sn)),N!==e?(oe=_,B=mt(S,q,W),_=B):(s=_,_=e)):(s=_,_=e)}else s=_,_=e;if(_===e){if(_=s,t.charCodeAt(s)===60?(B=he,s++):(B=e,H===0&&I(pe)),B===e&&(t.charCodeAt(s)===40?(B=Je,s++):(B=e,H===0&&I(er)),B===e&&(t.charCodeAt(s)===123?(B=ei,s++):(B=e,H===0&&I(rn)),B===e&&(t.charCodeAt(s)===91?(B=wn,s++):(B=e,H===0&&I(Y)),B===e&&($e.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(Oe)),B===e&&(Me.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(ft)),B===e&&(t.charCodeAt(s)===65378?(B=kr,s++):(B=e,H===0&&I(Hr)))))))),B!==e){for(W=s,N=[],V=s,U=s,H++,re=Jt(),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);V!==e;)N.push(V),V=s,U=s,H++,re=Jt(),H--,re===e?U=void 0:(s=U,U=e),U!==e?(t.length>s?(re=t.charAt(s),s++):(re=e,H===0&&I(C)),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);N!==e?W=t.substring(W,s):W=N,W!==e?(oe=_,B=gi(S,q),_=B):(s=_,_=e)}else s=_,_=e;_===e&&(_=s,B=x(),B!==e&&(oe=_,B=yi(S,q)),_=B)}}}}}}}}}}}_!==e?(B=x(),B!==e?(oe=c,m=Gr(S,q,_),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function Qi(){var c,m,k,S,q,_,B,W,N,V;for(c=s,m=[],k=Ai();k!==e;)m.push(k),k=Ai();if(m!==e)if(k=Jt(),k!==e){if(S=[],q=s,t.charCodeAt(s)===61?(_=Z,s++):(_=e,H===0&&I(X)),_!==e)if(B=x(),B!==e){if(W=[],N=Ai(),N!==e)for(;N!==e;)W.push(N),N=Ai();else W=e;W!==e?(N=x(),N!==e?(V=Jt(),V!==e?(oe=q,_=Kr(m,W),q=_):(s=q,q=e)):(s=q,q=e)):(s=q,q=e)}else s=q,q=e;else s=q,q=e;for(;q!==e;)if(S.push(q),q=s,t.charCodeAt(s)===61?(_=Z,s++):(_=e,H===0&&I(X)),_!==e)if(B=x(),B!==e){if(W=[],N=Ai(),N!==e)for(;N!==e;)W.push(N),N=Ai();else W=e;W!==e?(N=x(),N!==e?(V=Jt(),V!==e?(oe=q,_=Kr(m,W),q=_):(s=q,q=e)):(s=q,q=e)):(s=q,q=e)}else s=q,q=e;else s=q,q=e;S!==e?(q=yg(),q===e&&(q=null),q!==e?(oe=c,m=An(m,S,q),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e;return c}function yg(){var c,m,k,S,q;return c=s,m=s,H++,k=s,t.charCodeAt(s)===61?(S=Z,s++):(S=e,H===0&&I(X)),S!==e?(yt.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I($r)),q!==e?(S=[S,q],k=S):(s=k,k=e)):(s=k,k=e),H--,k!==e?(s=m,m=void 0):m=e,m!==e&&(oe=c,m=vi()),c=m,c}function J$(){var c,m,k,S;if(c=s,m=s,k=[],es.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(ts)),S!==e)for(;S!==e;)k.push(S),es.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(ts));else k=e;return k!==e?m=t.substring(m,s):m=k,m!==e&&(oe=c,m=an(m)),c=m,c}function _u(){var c,m,k;if(c=s,m=[],ti.test(t.charAt(s))?(k=t.charAt(s),s++):(k=e,H===0&&I(ri)),k!==e)for(;k!==e;)m.push(k),ti.test(t.charAt(s))?(k=t.charAt(s),s++):(k=e,H===0&&I(ri));else m=e;return m!==e?c=t.substring(c,s):c=m,c}function ja(){var c,m,k,S,q;if(c=s,m=s,bi.test(t.charAt(s))?(k=t.charAt(s),s++):(k=e,H===0&&I(ii)),k===e&&(k=null),k!==e){if(S=[],ti.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(ri)),q!==e)for(;q!==e;)S.push(q),ti.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(ri));else S=e;S!==e?(k=[k,S],m=k):(s=m,m=e)}else s=m,m=e;return m!==e?c=t.substring(c,s):c=m,c}function vg(){var c,m;return c=s,t.substr(s,4)===Ki?(m=Ki,s+=4):(m=e,H===0&&I($n)),m!==e&&(oe=c,m=rs()),c=m,c===e&&(c=s,t.substr(s,5)===_r?(m=_r,s+=5):(m=e,H===0&&I(Wr)),m!==e&&(oe=c,m=Oi()),c=m),c}function bg(){var c,m,k,S,q,_;return c=s,m=s,k=ja(),k!==e?(S=s,t.charCodeAt(s)===46?(q=qi,s++):(q=e,H===0&&I(Le)),q!==e?(_=_u(),_!==e?(q=[q,_],S=q):(s=S,S=e)):(s=S,S=e),S===e&&(S=null),S!==e?(qt.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(Ie)),q!==e?(_=ja(),_!==e?(k=[k,S,q,_],m=k):(s=m,m=e)):(s=m,m=e)):(s=m,m=e)):(s=m,m=e),m!==e?c=t.substring(c,s):c=m,c===e&&(c=s,m=s,k=ja(),k!==e?(t.charCodeAt(s)===46?(S=qi,s++):(S=e,H===0&&I(Le)),S!==e?(q=_u(),q!==e?(k=[k,S,q],m=k):(s=m,m=e)):(s=m,m=e)):(s=m,m=e),m!==e?c=t.substring(c,s):c=m),c}function Fn(){var c,m,k,S,q;if(c=s,Me.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(ft)),m!==e){for(k=s,S=[],bt.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(ot));q!==e;)S.push(q),bt.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(ot));S!==e?k=t.substring(k,s):k=S,k!==e?(Me.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(ft)),S!==e?(oe=c,m=an(k),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;if(c===e){if(c=s,$e.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(Oe)),m!==e){for(k=s,S=[],ze.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(He));q!==e;)S.push(q),ze.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(He));S!==e?k=t.substring(k,s):k=S,k!==e?($e.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Oe)),S!==e?(oe=c,m=an(k),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;c===e&&(c=vg(),c===e&&(c=s,m=bg(),m!==e&&(oe=c,m=ni(m)),c=m,c===e&&(c=s,m=ja(),m!==e&&(oe=c,m=Wi(m)),c=m)))}return c}function Bs(){var c,m,k,S,q,_,B,W,N,V,U,re,ge,Fe,qe,Qr,ci;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=Vs(),k!==e)if(S=Qt(),S!==e)if(q=x(),q!==e)if(_=Qi(),_!==e)if(oe=s,B=is(m,S,_),B?B=void 0:B=e,B!==e){if(W=[],N=s,V=s,U=x(),U!==e?V=t.substring(V,s):V=U,V!==e?(U=s,re=L(),re===e&&(re=s,ge=s,H++,Fe=Ji(),H--,Fe===e?ge=void 0:(s=ge,ge=e),ge===e&&(ge=s,H++,Fe=s,qe=Tn(),qe!==e?(Qr=Qt(),Qr!==e?(oe=s,ci=Ue(m,S,_,V,Qr),ci?ci=void 0:ci=e,ci!==e?(qe=[qe,Qr,ci],Fe=qe):(s=Fe,Fe=e)):(s=Fe,Fe=e)):(s=Fe,Fe=e),H--,Fe===e?ge=void 0:(s=ge,ge=e)),ge!==e?(Fe=li(),Fe!==e?(qe=L(),qe===e&&(qe=null),qe!==e?(ge=[ge,Fe,qe],re=ge):(s=re,re=e)):(s=re,re=e)):(s=re,re=e)),re!==e?U=t.substring(U,s):U=re,U!==e?(oe=N,V=Dt(m,S,_,V,U),N=V):(s=N,N=e)):(s=N,N=e),N!==e)for(;N!==e;)W.push(N),N=s,V=s,U=x(),U!==e?V=t.substring(V,s):V=U,V!==e?(U=s,re=L(),re===e&&(re=s,ge=s,H++,Fe=Ji(),H--,Fe===e?ge=void 0:(s=ge,ge=e),ge===e&&(ge=s,H++,Fe=s,qe=Tn(),qe!==e?(Qr=Qt(),Qr!==e?(oe=s,ci=Ue(m,S,_,V,Qr),ci?ci=void 0:ci=e,ci!==e?(qe=[qe,Qr,ci],Fe=qe):(s=Fe,Fe=e)):(s=Fe,Fe=e)):(s=Fe,Fe=e),H--,Fe===e?ge=void 0:(s=ge,ge=e)),ge!==e?(Fe=li(),Fe!==e?(qe=L(),qe===e&&(qe=null),qe!==e?(ge=[ge,Fe,qe],re=ge):(s=re,re=e)):(s=re,re=e)):(s=re,re=e)),re!==e?U=t.substring(U,s):U=re,U!==e?(oe=N,V=Dt(m,S,_,V,U),N=V):(s=N,N=e)):(s=N,N=e);else W=e;W!==e?(N=s,V=x(),V!==e?N=t.substring(N,s):N=V,N!==e?(V=s,U=Tn(),U!==e?(re=Qt(),re!==e?(oe=s,ge=Ri(m,S,_,W,N,re),ge?ge=void 0:ge=e,ge!==e?(Fe=L(),Fe===e&&(Fe=null),Fe!==e?(oe=V,U=xn(m,S,_,W,N,re),V=U):(s=V,V=e)):(s=V,V=e)):(s=V,V=e)):(s=V,V=e),V!==e?(oe=s,U=r(m,S,_,W,N,V),U?U=void 0:U=e,U!==e?(oe=c,m=ue(m,S,_,W,N,V),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function hs(){var c,m,k,S,q,_,B,W,N;if(c=s,m=s,H++,k=s,S=x(),S!==e?(q=Ji(),q===e&&(q=Pn()),q!==e?(S=[S,q],k=S):(s=k,k=e)):(s=k,k=e),k===e&&(k=oi()),H--,k===e?m=void 0:(s=m,m=e),m!==e){for(k=[],S=A();S!==e;)k.push(S),S=A();if(k!==e){if(S=s,q=[],_=s,on.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(Ir)),B!==e){for(W=[],N=A();N!==e;)W.push(N),N=A();W!==e?(B=[B,W],_=B):(s=_,_=e)}else s=_,_=e;if(_!==e)for(;_!==e;)if(q.push(_),_=s,on.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(Ir)),B!==e){for(W=[],N=A();N!==e;)W.push(N),N=A();W!==e?(B=[B,W],_=B):(s=_,_=e)}else s=_,_=e;else q=e;q!==e?S=t.substring(S,s):S=q,S!==e?(q=Or(),q!==e?(oe=c,m=ns(),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e}else s=c,c=e;return c}function Rr(){var c,m,k,S,q;return c=s,m=s,k=hs(),k===e&&(k=s,oe=s,S=l(),S?S=void 0:S=e,S!==e?(q=oi(),q!==e?(S=[S,q],k=S):(s=k,k=e)):(s=k,k=e)),k!==e?m=t.substring(m,s):m=k,m!==e&&(oe=c,m=ss()),c=m,c}function fi(){var c,m;return c=s,m=ir(),m!==e&&(oe=c,m=kn(m)),c=m,c}function gl(){var c,m,k,S,q,_,B,W,N,V,U;if(c=s,oe=s,m=pu(),m?m=void 0:m=e,m!==e){if(k=s,S=[],q=s,_=s,H++,B=hs(),H--,B===e?_=void 0:(s=_,_=e),_!==e?(B=fi(),B!==e?(_=[_,B],q=_):(s=q,q=e)):(s=q,q=e),q!==e)for(;q!==e;)S.push(q),q=s,_=s,H++,B=hs(),H--,B===e?_=void 0:(s=_,_=e),_!==e?(B=fi(),B!==e?(_=[_,B],q=_):(s=q,q=e)):(s=q,q=e);else S=e;if(S!==e?k=t.substring(k,s):k=S,k!==e)if(S=s,q=hs(),q!==e&&(oe=S,q=mu(k,q)),S=q,S!==e){if(q=[],_=s,B=s,W=[],N=s,V=s,H++,U=Rr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=fi(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e),N!==e)for(;N!==e;)W.push(N),N=s,V=s,H++,U=Rr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=fi(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e);else W=e;if(W!==e?B=t.substring(B,s):B=W,B!==e?(W=s,N=Rr(),N!==e&&(oe=W,N=Ko(k,S,B,N)),W=N,W!==e?(oe=_,B=Ge(k,S,B,W),_=B):(s=_,_=e)):(s=_,_=e),_===e&&(_=s,B=s,H++,W=hs(),H--,W===e?B=void 0:(s=B,B=e),B!==e?(W=s,H++,N=Rr(),H--,N===e?W=void 0:(s=W,W=e),W!==e?(N=fi(),N!==e?(oe=_,B=fr(k,S,N),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e)),_!==e)for(;_!==e;){if(q.push(_),_=s,B=s,W=[],N=s,V=s,H++,U=Rr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=fi(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e),N!==e)for(;N!==e;)W.push(N),N=s,V=s,H++,U=Rr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=fi(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e);else W=e;W!==e?B=t.substring(B,s):B=W,B!==e?(W=s,N=Rr(),N!==e&&(oe=W,N=Ko(k,S,B,N)),W=N,W!==e?(oe=_,B=Ge(k,S,B,W),_=B):(s=_,_=e)):(s=_,_=e),_===e&&(_=s,B=s,H++,W=hs(),H--,W===e?B=void 0:(s=B,B=e),B!==e?(W=s,H++,N=Rr(),H--,N===e?W=void 0:(s=W,W=e),W!==e?(N=fi(),N!==e?(oe=_,B=fr(k,S,N),_=B):(s=_,_=e)):(s=_,_=e)):(s=_,_=e))}else q=e;q!==e?(oe=s,_=Wo(k,S,q),_?_=void 0:_=e,_!==e?(oe=c,m=Jo(k,S,q),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e}else s=c,c=e;if(c===e){if(c=s,m=[],k=s,S=s,q=s,_=s,H++,B=Rr(),H--,B===e?_=void 0:(s=_,_=e),_!==e?(B=fi(),B!==e?(_=[_,B],q=_):(s=q,q=e)):(s=q,q=e),q!==e?S=t.substring(S,s):S=q,S!==e){for(q=[],_=Rr();_!==e;)q.push(_),_=Rr();q!==e?(oe=k,S=Fa(S,q),k=S):(s=k,k=e)}else s=k,k=e;if(k!==e)for(;k!==e;)if(m.push(k),k=s,S=s,q=s,_=s,H++,B=Rr(),H--,B===e?_=void 0:(s=_,_=e),_!==e?(B=fi(),B!==e?(_=[_,B],q=_):(s=q,q=e)):(s=q,q=e),q!==e?S=t.substring(S,s):S=q,S!==e){for(q=[],_=Rr();_!==e;)q.push(_),_=Rr();q!==e?(oe=k,S=Fa(S,q),k=S):(s=k,k=e)}else s=k,k=e;else m=e;if(m!==e&&(oe=c,m=Da(m)),c=m,c===e)if(c=[],m=fi(),m!==e)for(;m!==e;)c.push(m),m=fi();else c=e}return c}function wg(){var c,m,k,S,q,_,B,W,N,V,U,re,ge,Fe,qe,Qr;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=Vs(),k!==e)if(S=Qt(),S!==e)if(q=x(),q!==e)if(_=Qi(),_!==e)if(oe=s,B=ln(m,S,_),B?B=void 0:B=e,B!==e)if(oe=s,W=T(m,S,_),W?W=void 0:W=e,W!==e){for(N=s,V=[],U=oi(),U===e&&(U=Bs(),U===e&&(U=Us(),U===e&&(U=Ks(),U===e&&(U=Ws(),U===e&&(U=Hs(),U===e&&(U=Gs()))))));U!==e;)V.push(U),U=oi(),U===e&&(U=Bs(),U===e&&(U=Us(),U===e&&(U=Ks(),U===e&&(U=Ws(),U===e&&(U=Hs(),U===e&&(U=Gs()))))));V!==e&&(oe=N,V=Qo(m,S,_,V)),N=V,N!==e?(oe=s,V=Ia(m,S,_,N),V?V=void 0:V=e,V!==e?(U=s,re=x(),re!==e?U=t.substring(U,s):U=re,U!==e?(re=s,ge=Tn(),ge!==e?(Fe=Qt(),Fe!==e?(oe=s,qe=Ri(m,S,_,N,U,Fe),qe?qe=void 0:qe=e,qe!==e?(Qr=L(),Qr===e&&(Qr=null),Qr!==e?(oe=re,ge=Oa(m,S,_,N,U,Fe),re=ge):(s=re,re=e)):(s=re,re=e)):(s=re,re=e)):(s=re,re=e),re!==e?(oe=c,m=si(m,S,_,N,U,re),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function yl(){var c,m,k,S,q,_,B,W,N,V,U,re,ge,Fe,qe;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=Vs(),k!==e)if(S=Qt(),S!==e)if(q=x(),q!==e)if(_=Qi(),_!==e)if(oe=s,B=ln(m,S,_),B?B=void 0:B=e,B!==e)if(oe=s,W=Zo(m,S,_),W?W=void 0:W=e,W!==e){for(N=s,V=[],U=oi();U!==e;)V.push(U),U=oi();if(V!==e)if(U=gl(),U!==e){for(re=[],ge=oi();ge!==e;)re.push(ge),ge=oi();re!==e?(oe=N,V=gu(m,S,_,U),N=V):(s=N,N=e)}else s=N,N=e;else s=N,N=e;N!==e?(V=s,U=x(),U!==e?V=t.substring(V,s):V=U,V!==e?(U=s,re=Tn(),re!==e?(ge=Qt(),ge!==e?(oe=s,Fe=Ri(m,S,_,N,V,ge),Fe?Fe=void 0:Fe=e,Fe!==e?(qe=L(),qe===e&&(qe=null),qe!==e?(oe=U,re=qs(m,S,_,N,V,ge),U=re):(s=U,U=e)):(s=U,U=e)):(s=U,U=e)):(s=U,U=e),U!==e?(oe=s,re=r(m,S,_,N,V,U),re?re=void 0:re=e,re!==e?(oe=c,m=Wt(m,S,_,N,V,U),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function Us(){var c,m,k,S,q,_,B,W,N,V,U,re,ge;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=Vs(),k!==e)if(S=Qt(),S!==e)if(q=x(),q!==e)if(_=Qi(),_!==e){if(B=[],W=s,N=oi(),N===e&&(N=Bs(),N===e&&(N=yl(),N===e&&(N=Us(),N===e&&(N=Ks(),N===e&&(N=xl(),N===e&&(N=Ws(),N===e&&(N=bl(),N===e&&(N=wl(),N===e&&(N=Al(),N===e&&(N=$l(),N===e&&(N=Hs(),N===e&&(N=vl(),N===e&&(N=Gs()))))))))))))),N!==e&&(oe=W,N=Rs(m,S,_,N)),W=N,W===e){for(W=s,N=s,V=[],U=A();U!==e;)V.push(U),U=A();if(V!==e?N=t.substring(N,s):N=V,N!==e){if(V=s,U=[],re=ir(),re!==e)for(;re!==e;)U.push(re),re=ir();else U=e;U!==e?V=t.substring(V,s):V=U,V!==e?(oe=W,N=Ns(m,S,_,N,V),W=N):(s=W,W=e)}else s=W,W=e}for(;W!==e;)if(B.push(W),W=s,N=oi(),N===e&&(N=Bs(),N===e&&(N=yl(),N===e&&(N=Us(),N===e&&(N=Ks(),N===e&&(N=xl(),N===e&&(N=Ws(),N===e&&(N=bl(),N===e&&(N=wl(),N===e&&(N=Al(),N===e&&(N=$l(),N===e&&(N=Hs(),N===e&&(N=vl(),N===e&&(N=Gs()))))))))))))),N!==e&&(oe=W,N=Rs(m,S,_,N)),W=N,W===e){for(W=s,N=s,V=[],U=A();U!==e;)V.push(U),U=A();if(V!==e?N=t.substring(N,s):N=V,N!==e){if(V=s,U=[],re=ir(),re!==e)for(;re!==e;)U.push(re),re=ir();else U=e;U!==e?V=t.substring(V,s):V=U,V!==e?(oe=W,N=Ns(m,S,_,N,V),W=N):(s=W,W=e)}else s=W,W=e}B!==e?(W=s,N=x(),N!==e?W=t.substring(W,s):W=N,W!==e?(N=s,V=Tn(),V!==e?(U=Qt(),U!==e?(oe=s,re=Ri(m,S,_,B,W,U),re?re=void 0:re=e,re!==e?(ge=L(),ge===e&&(ge=null),ge!==e?(oe=N,V=Xo(m,S,_,B,W,U),N=V):(s=N,N=e)):(s=N,N=e)):(s=N,N=e)):(s=N,N=e),N!==e?(oe=s,V=r(m,S,_,B,W,N),V?V=void 0:V=e,V!==e?(oe=c,m=Yo(m,S,_,B,W,N),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function Ag(){var c,m,k;if(c=s,m=[],k=ir(),k!==e)for(;k!==e;)m.push(k),k=ir();else m=e;return m!==e&&(oe=c,m=el()),c=m,c}function Q$(){var c,m,k,S;if(c=s,m=[],k=s,S=Jr(),S!==e&&(oe=k,S=qa()),k=S,k===e){if(k=[],as.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Cn)),S!==e)for(;S!==e;)k.push(S),as.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Cn));else k=e;k===e&&(k=ir())}if(k!==e){for(;k!==e;)if(m.push(k),k=s,S=Jr(),S!==e&&(oe=k,S=qa()),k=S,k===e){if(k=[],as.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Cn)),S!==e)for(;S!==e;)k.push(S),as.test(t.charAt(s))?(S=t.charAt(s),s++):(S=e,H===0&&I(Cn));else k=e;k===e&&(k=ir())}}else m=e;return m!==e&&(oe=c,m=zt(m)),c=m,c}function Hs(){var c,m,k,S,q,_,B,W,N,V,U,re;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=s,H++,S=Ji(),H--,S===e?k=void 0:(s=k,k=e),k!==e)if(S=Pn(),S!==e)if(q=x(),q!==e)if(_=Jr(),_===e&&(_=null),_!==e)if(oe=s,B=Ke(m,S),B?B=void 0:B=e,B!==e){for(W=s,N=[],V=s,U=s,H++,re=Jr(),H--,re===e?U=void 0:(s=U,U=e),U!==e?(re=ir(),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);V!==e;)N.push(V),V=s,U=s,H++,re=Jr(),H--,re===e?U=void 0:(s=U,U=e),U!==e?(re=ir(),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);N!==e?W=t.substring(W,s):W=N,W!==e?(oe=c,m=_n(m,S,W),c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function vl(){var c,m,k,S,q,_,B,W,N;return c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e?(k=s,H++,S=Ji(),H--,S===e?k=void 0:(s=k,k=e),k!==e?(S=Pn(),S!==e?(q=x(),q!==e?(_=Jr(),_===e&&(_=null),_!==e?(oe=s,B=fn(m,S),B?B=void 0:B=e,B!==e?(oe=s,W=Er(m,S),W?W=void 0:W=e,W!==e?(N=gl(),N!==e?(oe=c,m=tl(m,S,N),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function Gs(){var c,m,k,S,q,_,B,W,N,V,U;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=s,H++,S=Ji(),H--,S===e?k=void 0:(s=k,k=e),k!==e)if(S=Pn(),S!==e)if(q=x(),q!==e)if(_=Jr(),_===e&&(_=ug()),_!==e){for(B=s,W=[],N=s,V=s,H++,U=Jr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=ir(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e);N!==e;)W.push(N),N=s,V=s,H++,U=Jr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=ir(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e);W!==e?B=t.substring(B,s):B=W,B!==e?(oe=c,m=rl(m,S,_,B),c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function $g(){var c,m,k,S,q,_,B,W,N,V,U;for(c=s,m=[],k=li();k!==e;)m.push(k),k=li();if(m!==e)if(k=Jt(),k!==e){if(S=[],q=s,_=x(),_!==e)if(t.substr(s,2)===En?(B=En,s+=2):(B=e,H===0&&I(Ra)),B!==e)if(W=x(),W!==e){if(N=[],V=li(),V!==e)for(;V!==e;)N.push(V),V=li();else N=e;N!==e?(V=x(),V!==e?(U=Jt(),U!==e?(oe=q,_=Kr(m,N),q=_):(s=q,q=e)):(s=q,q=e)):(s=q,q=e)}else s=q,q=e;else s=q,q=e;else s=q,q=e;for(;q!==e;)if(S.push(q),q=s,_=x(),_!==e)if(t.substr(s,2)===En?(B=En,s+=2):(B=e,H===0&&I(Ra)),B!==e)if(W=x(),W!==e){if(N=[],V=li(),V!==e)for(;V!==e;)N.push(V),V=li();else N=e;N!==e?(V=x(),V!==e?(U=Jt(),U!==e?(oe=q,_=Kr(m,N),q=_):(s=q,q=e)):(s=q,q=e)):(s=q,q=e)}else s=q,q=e;else s=q,q=e;else s=q,q=e;S!==e?(oe=c,m=Na(m,S),c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e;return c}function Eu(){var c,m,k,S;if(c=s,m=[],k=Ai(),k!==e)for(;k!==e;)m.push(k),k=Ai();else m=e;return m!==e?(k=x(),k!==e?(S=Or(),S!==e?(oe=c,m=cr(m),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function xg(){var c,m,k,S,q,_,B,W,N,V;if(c=s,m=x(),m!==e)if(t.charCodeAt(s)===58?(k=be,s++):(k=e,H===0&&I(_e)),k!==e)if(S=Va(),S!==e){if(q=[],_=A(),_!==e)for(;_!==e;)q.push(_),_=A();else q=e;if(q!==e){if(_=s,B=[],W=s,N=s,H++,V=Or(),H--,V===e?N=void 0:(s=N,N=e),N!==e?(t.length>s?(V=t.charAt(s),s++):(V=e,H===0&&I(C)),V!==e?(N=[N,V],W=N):(s=W,W=e)):(s=W,W=e),W!==e)for(;W!==e;)B.push(W),W=s,N=s,H++,V=Or(),H--,V===e?N=void 0:(s=N,N=e),N!==e?(t.length>s?(V=t.charAt(s),s++):(V=e,H===0&&I(C)),V!==e?(N=[N,V],W=N):(s=W,W=e)):(s=W,W=e);else B=e;B!==e?_=t.substring(_,s):_=B,_!==e?(B=Or(),B!==e?(oe=c,m=Sn(S,_),c=m):(s=c,c=e)):(s=c,c=e)}else s=c,c=e}else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function Su(){var c,m,k,S,q,_,B,W,N;if(c=s,t.charCodeAt(s)===61?(m=Z,s++):(m=e,H===0&&I(X)),m!==e){if(k=[],S=A(),S!==e)for(;S!==e;)k.push(S),S=A();else k=e;if(k!==e){if(S=Eu(),S===e){for(S=s,q=s,_=[],B=s,W=s,H++,N=Or(),H--,N===e?W=void 0:(s=W,W=e),W!==e?(t.length>s?(N=t.charAt(s),s++):(N=e,H===0&&I(C)),N!==e?(W=[W,N],B=W):(s=B,B=e)):(s=B,B=e);B!==e;)_.push(B),B=s,W=s,H++,N=Or(),H--,N===e?W=void 0:(s=W,W=e),W!==e?(t.length>s?(N=t.charAt(s),s++):(N=e,H===0&&I(C)),N!==e?(W=[W,N],B=W):(s=B,B=e)):(s=B,B=e);_!==e?q=t.substring(q,s):q=_,q!==e?(_=Or(),_!==e?(oe=S,q=os(q),S=q):(s=S,S=e)):(s=S,S=e)}S!==e?(oe=c,m=il(S),c=m):(s=c,c=e)}else s=c,c=e}else s=c,c=e;return c}function bl(){var c,m,k,S,q,_,B;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(t.substr(s,4)===La?(k=La,s+=4):(k=e,H===0&&I(nl)),k!==e){if(S=[],q=A(),q!==e)for(;q!==e;)S.push(q),q=A();else S=e;if(S!==e)if(q=Eu(),q===e&&(q=xg()),q!==e){for(_=[],B=Su();B!==e;)_.push(B),B=Su();_!==e?(oe=c,m=sl(m,q,_),c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e}else s=c,c=e;else s=c,c=e;return c}function wl(){var c,m,k,S,q,_,B;return c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e?(t.substr(s,6)===kt?(k=kt,s+=6):(k=e,H===0&&I(at)),k!==e?(S=x(),S!==e?(q=s,_=Va(),_!==e?q=t.substring(q,s):q=_,q!==e?(_=x(),_!==e?(B=$g(),B!==e?(oe=c,m=al(m,k,q,B),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function Al(){var c,m,k,S,q,_,B,W;return c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e?(t.substr(s,7)===st?(k=st,s+=7):(k=e,H===0&&I(ae)),k!==e?(S=x(),S!==e?(q=s,_=s,ol.test(t.charAt(s))?(B=t.charAt(s),s++):(B=e,H===0&&I(Ma)),B!==e?(t.substr(s,2)===Ls?(W=Ls,s+=2):(W=e,H===0&&I(wi)),W!==e?(B=[B,W],_=B):(s=_,_=e)):(s=_,_=e),_===e&&(_=Qt()),_!==e?q=t.substring(q,s):q=_,q!==e?(_=x(),_!==e?(B=Qi(),B!==e?(oe=c,m=Ms(m,k,q,B),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function $l(){var c,m,k,S,q;return c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e?(t.substr(s,9)===Se?(k=Se,s+=9):(k=e,H===0&&I(lt)),k!==e?(S=x(),S!==e?(q=Qi(),q!==e?(oe=c,m=gt(m,k,q),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function Ks(){var c,m,k,S,q,_,B,W,N,V,U,re;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=za(),k!==e)if(S=Qt(),S!==e)if(q=x(),q!==e)if(_=Qi(),_!==e)if(oe=s,B=ur(m,k,S,_),B?B=void 0:B=e,B!==e){for(W=s,N=[],V=s,U=s,H++,re=Jr(),H--,re===e?U=void 0:(s=U,U=e),U!==e?(re=ir(),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);V!==e;)N.push(V),V=s,U=s,H++,re=Jr(),H--,re===e?U=void 0:(s=U,U=e),U!==e?(re=ir(),re!==e?(U=[U,re],V=U):(s=V,V=e)):(s=V,V=e);N!==e?W=t.substring(W,s):W=N,W!==e?(oe=c,m=yu(m,k,S,_,W),c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function xl(){var c,m,k,S,q,_,B,W,N;return c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e?(k=za(),k!==e?(S=Qt(),S!==e?(q=x(),q!==e?(_=Qi(),_!==e?(oe=s,B=We(m,k,S,_),B?B=void 0:B=e,B!==e?(oe=s,W=Ni(m,k,S,_),W?W=void 0:W=e,W!==e?(N=gl(),N!==e?(oe=c,m=ye(m,k,S,_,N),c=m):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e)):(s=c,c=e),c}function Ws(){var c,m,k,S,q,_,B,W,N,V,U;if(c=s,m=s,k=x(),k!==e?m=t.substring(m,s):m=k,m!==e)if(k=za(),k!==e)if(S=Qt(),S!==e)if(q=x(),q!==e)if(_=Qi(),_!==e){for(B=s,W=[],N=s,V=s,H++,U=Jr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=ir(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e);N!==e;)W.push(N),N=s,V=s,H++,U=Jr(),H--,U===e?V=void 0:(s=V,V=e),V!==e?(U=ir(),U!==e?(V=[V,U],N=V):(s=N,N=e)):(s=N,N=e);W!==e?B=t.substring(B,s):B=W,B!==e?(oe=c,m=ll(m,k,S,_,B),c=m):(s=c,c=e)}else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;else s=c,c=e;return c}function Va(){var c,m,k,S,q;if(c=s,m=s,fl.test(t.charAt(s))?(k=t.charAt(s),s++):(k=e,H===0&&I(cl)),k!==e){for(S=[],mi.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(Yr));q!==e;)S.push(q),mi.test(t.charAt(s))?(q=t.charAt(s),s++):(q=e,H===0&&I(Yr));S!==e?(k=[k,S],m=k):(s=m,m=e)}else s=m,m=e;return m!==e?c=t.substring(c,s):c=m,c}function Z$(){var c,m;for(H++,c=[],ls.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(fs));m!==e;)c.push(m),ls.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(fs));return H--,c===e&&(m=e,H===0&&I(ul)),c}function X$(){var c,m;for(H++,c=[],ls.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(fs));m!==e;)c.push(m),ls.test(t.charAt(s))?(m=t.charAt(s),s++):(m=e,H===0&&I(fs));return H--,c===e&&(m=e,H===0&&I(hl)),c}function Ba(c){return c!==c.toLowerCase()&&c!==c.toUpperCase()}function kg(c){return c===c.toUpperCase()}function cn(c){return c.reduce((m,k)=>Array.isArray(k)?m.concat(cn(k)):m.concat(k),[])}function Cg(c){return typeof c=="number"?"number":typeof c=="boolean"?"boolean":"string"}function kl(c,m,k,S){if(!c||!Array.isArray(c.diagnostics))return;c.diagnostics.some(_=>_.message===m&&_.location.start.offset===k.start.offset)||c.diagnostics.push({severity:"warning",code:S||"value-unreadable",message:m,location:k})}function Tu(c){return c.filter(m=>!m.dropped)}function _g(){return i&&i.blockNames||["boundary","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","set","table","toc"]}function Eg(c){return _g().includes(c)||kg(c)||c.match(/^(head|item)\d+$/)||Ba(c)}function Sg(c,m){return c.length==0?m:m.indexOf(c)==0?m.replace(c,""):m.replace(/^\s+/,"")}if(us=o(),us!==e&&s===t.length)return us;throw us!==e&&s<t.length&&I(F()),u(zs,ai<t.length?t.charAt(ai):null,ai<t.length?R(ai,ai+1):R(ai,ai))}sp.exports={SyntaxError:Bn,parse:jb}});var fp=Te((Fk,lp)=>{"use strict";function Ub(t,i){function e(){this.constructor=t}e.prototype=i.prototype,t.prototype=new e}function Un(t,i,e,n){this.message=t,this.expected=i,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Un)}Ub(Un,Error);Un.buildMessage=function(t,i){var e={literal:function(C){return'"'+o(C.text)+'"'},class:function(C){var $="",O;for(O=0;O<C.parts.length;O++)$+=C.parts[O]instanceof Array?f(C.parts[O][0])+"-"+f(C.parts[O][1]):f(C.parts[O]);return"["+(C.inverted?"^":"")+$+"]"},any:function(C){return"any character"},end:function(C){return"end of input"},other:function(C){return C.description}};function n(C){return C.charCodeAt(0).toString(16).toUpperCase()}function o(C){return C.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($){return"\\x0"+n($)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function($){return"\\x"+n($)})}function f(C){return C.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($){return"\\x0"+n($)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function($){return"\\x"+n($)})}function d(C){return e[C.type](C)}function v(C){var $=new Array(C.length),O,z;for(O=0;O<C.length;O++)$[O]=d(C[O]);if($.sort(),$.length>0){for(O=1,z=1;O<$.length;O++)$[O-1]!==$[O]&&($[z]=$[O],z++);$.length=z}switch($.length){case 1:return $[0];case 2:return $[0]+" or "+$[1];default:return $.slice(0,-1).join(", ")+", or "+$[$.length-1]}}function b(C){return C?'"'+o(C)+'"':"end of input"}return"Expected "+v(t)+" but "+b(i)+" found."};function Hb(t,i){i=i!==void 0?i:{};var e={},n={Expression:Oa},o=Oa,f="A",d=Ge("A",!1),v="V",b=Ge("V",!1),C="R",$=Ge("R",!1),O="B",z=Ge("B",!1),M="I",j=Ge("I",!1),G="C",J=Ge("C",!1),Q="D",ie=Ge("D",!1),de="E",Ce=Ge("E",!1),we="F",ce=Ge("F",!1),me="G",Pe=Ge("G",!1),ke="H",Xe=Ge("H",!1),Re="J",je=Ge("J",!1),xe="K",Ne=Ge("K",!1),st="L",ae=Ge("L",!1),kt="O",at=Ge("O",!1),_t="S",ht=Ge("S",!1),Z="T",X=Ge("T",!1),Ar="U",Bt=Ge("U",!1),Ft="W",Lt=Ge("W",!1),Ot="Z",yt=Ge("Z",!1),$r="N",Ut=Ge("N",!1),or="X",jr=Ge("X",!1),pi=/^[a-zA-Z]/,lr=fr([["a","z"],["A","Z"]],!1,!1),mi=/^[a-zA-Z0-9_\-]/,Yr=fr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Pi=/^[ \t\f]/,Fi=fr([" "," ","\f"],!1,!1),Ui=function(p){return!(i.allowed||[]).length||(i.allowed||[]).includes(p)},le=Wo(),Yt=function(p){return{content:p.content,type:"fcode",name:p.name,synonyms:p.items}},Hi=function(p){return{content:p.content,type:"fcode",name:p.name,entry:p.items}},Ae="<",be=Ge("<",!1),_e=">",Ee=Ge(">",!1),Mt=function(){return kn()},ee="\xAB",ne=Ge("\xAB",!1),he="\xBB",pe=Ge("\xBB",!1),vt=function(p){return p},Ht="|",dt=Ge("|",!1),Et=function(p){return p},St=":",xr=Ge(":",!1),pt=/^[']/,Vr=fr(["'"],!1,!1),Gt=/^[^'\n\r]/,Gi=fr(["'",`
19
+ `,"\r"],!0,!1),en=/^["]/,Br=fr(['"'],!1,!1),tn=/^[^"\n\r]/,ei=fr(['"',`
20
+ `,"\r"],!0,!1),rn=function(p){return p},Ur=function(p){return p.code==="L"||p.code==="W"},Di=function(p,w,D,F,E){return E===p.end_tag},Is=function(p,w,D,F,E){return{content:w,type:"fcode",name:p.code,meta:dl(D),config:pl(F,i)}},Yn=function(p,w,D,F){return F===p.end_tag},Os=function(p,w,D,F){return{content:[dl(w)],type:"fcode",name:p.code,meta:null,config:pl(D,i)}},wn=function(p,w,D){return D},Y=function(p,w,D,F){return F===p.end_tag},K=function(p,w,D,F){return{content:w,type:"fcode",name:p.code,meta:D}},te=";",se=Ge(";",!1),fe=/^[ \xA0\u2001\t\f\u2008]/,$e=fr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),Oe=function(p,w){return hr([p,w])},ze=function(p){return[p]},He=/^[0-9]/,mt=fr([["0","9"]],!1,!1),Me="0d",ft=Ge("0d",!1),bt=function(p){return parseInt(p,10)},ot="0o",tt=Ge("0o",!1),wt=function(p){return parseInt(p,8)},Je="0b",er=Ge("0b",!1),tr=function(p){return parseInt(p,2)},Tt="0x",Qe=Ge("0x",!1),Kt=/^[0-9A-Fa-f]/,rr=fr([["0","9"],["A","F"],["a","f"]],!1,!1),kr=function(){return parseInt(kn())},Hr=/^[A-Z ]/,Cr=fr([["A","Z"]," "],!1,!1),Ii=function(){return kn()===kn().toUpperCase()},nn=/^[a-z]/,sn=fr([["a","z"]],!1,!1),gi=/^[a-z0-9]/,yi=fr([["a","z"],["0","9"]],!1,!1),Gr=function(p){return kn()},Kr=function(p){return{type:"number",value:parseInt(p,10)}},An=function(p){return{type:"unicode_name",value:p}},vi=function(p){return{type:"html_named",value:p}},es=function(p){return p==="E"},ts=function(p,w){return hr(w)},an=function(p,w){return{content:w||[],type:"fcode",name:p}},ti=function(p){return p},ri=function(p,w){return{code:p,begin_tag:w,end_tag:At(w)}},bi=function(p){return!(i.allowed||[]).length||(i.allowed||[]).includes(p)},ii=function(p,w,D,F){return F===At(w)},Ki=function(p,w,D,F){return{content:D,type:"fcode",name:p}},$n=function(p,w,D,F){return hr(F)},rs=function(p,w,D,F,E){return E===At(w)},_r=function(p,w,D,F,E){return{name:p,content:D,items:F}},Wr=function(p){return p==="C"},Oi="<<<",qi=Ge("<<<",!1),Le=">>>",qt=Ge(">>>",!1),Ie=function(p,w){return w},ni=function(p,w){return{content:w,type:"fcode",name:p}},Wi="<<",is=Ge("<<",!1),Ue=">>",Dt=Ge(">>",!1),Ri=function(p){return p!=="C"},xn=function(p,w){return{content:w,type:"fcode",name:p}},r=0,ue=0,on=[{line:1,column:1}],Ir=0,ns=[],l=0,ss;if("startRule"in i){if(!(i.startRule in n))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');o=n[i.startRule]}function kn(){return t.substring(ue,r)}function pu(){return ln(ue,r)}function mu(p,w){throw w=w!==void 0?w:ln(ue,r),Ia([Fa(p)],t.substring(ue,r),w)}function Ko(p,w){throw w=w!==void 0?w:ln(ue,r),Qo(p,w)}function Ge(p,w){return{type:"literal",text:p,ignoreCase:w}}function fr(p,w,D){return{type:"class",parts:p,inverted:w,ignoreCase:D}}function Wo(){return{type:"any"}}function Jo(){return{type:"end"}}function Fa(p){return{type:"other",description:p}}function Da(p){var w=on[p],D;if(w)return w;for(D=p-1;!on[D];)D--;for(w=on[D],w={line:w.line,column:w.column};D<p;)t.charCodeAt(D)===10?(w.line++,w.column=1):w.column++,D++;return on[p]=w,w}function ln(p,w){var D=Da(p),F=Da(w);return{start:{offset:p,line:D.line,column:D.column},end:{offset:w,line:F.line,column:F.column}}}function T(p){r<Ir||(r>Ir&&(Ir=r,ns=[]),ns.push(p))}function Qo(p,w){return new Un(p,null,null,w)}function Ia(p,w,D){return new Un(Un.buildMessage(p,w),p,w,D)}function Oa(){var p,w;for(p=[],w=si(),w===e&&(w=ur(),w===e&&(w=We(),w===e&&(w=Rs())));w!==e;)p.push(w),w=si(),w===e&&(w=ur(),w===e&&(w=We(),w===e&&(w=Rs())));return p}function si(){var p;return p=ll(),p===e&&(p=cl(),p===e&&(p=_n(),p===e&&(p=qa(),p===e&&(p=wi(),p===e&&(p=fl(),p===e&&(p=Ra(),p===e&&(p=as(),p===e&&(p=ul())))))))),p}function Zo(){var p;return t.charCodeAt(r)===65?(p=f,r++):(p=e,l===0&&T(d)),p===e&&(t.charCodeAt(r)===86?(p=v,r++):(p=e,l===0&&T(b)),p===e&&(t.charCodeAt(r)===82?(p=C,r++):(p=e,l===0&&T($)),p===e&&(t.charCodeAt(r)===66?(p=O,r++):(p=e,l===0&&T(z)),p===e&&(t.charCodeAt(r)===73?(p=M,r++):(p=e,l===0&&T(j)),p===e&&(t.charCodeAt(r)===67?(p=G,r++):(p=e,l===0&&T(J)),p===e&&(t.charCodeAt(r)===68?(p=Q,r++):(p=e,l===0&&T(ie)),p===e&&(t.charCodeAt(r)===69?(p=de,r++):(p=e,l===0&&T(Ce)),p===e&&(t.charCodeAt(r)===70?(p=we,r++):(p=e,l===0&&T(ce)),p===e&&(t.charCodeAt(r)===71?(p=me,r++):(p=e,l===0&&T(Pe)),p===e&&(t.charCodeAt(r)===72?(p=ke,r++):(p=e,l===0&&T(Xe)),p===e&&(t.charCodeAt(r)===74?(p=Re,r++):(p=e,l===0&&T(je)),p===e&&(t.charCodeAt(r)===75?(p=xe,r++):(p=e,l===0&&T(Ne)),p===e&&(t.charCodeAt(r)===76?(p=st,r++):(p=e,l===0&&T(ae)),p===e&&(t.charCodeAt(r)===79?(p=kt,r++):(p=e,l===0&&T(at)),p===e&&(t.charCodeAt(r)===83?(p=_t,r++):(p=e,l===0&&T(ht)),p===e&&(t.charCodeAt(r)===84?(p=Z,r++):(p=e,l===0&&T(X)),p===e&&(t.charCodeAt(r)===85?(p=Ar,r++):(p=e,l===0&&T(Bt)),p===e&&(t.charCodeAt(r)===87?(p=Ft,r++):(p=e,l===0&&T(Lt)),p===e&&(t.charCodeAt(r)===90?(p=Ot,r++):(p=e,l===0&&T(yt)),p===e&&(t.charCodeAt(r)===78?(p=$r,r++):(p=e,l===0&&T(Ut)),p===e&&(t.charCodeAt(r)===88?(p=or,r++):(p=e,l===0&&T(jr))))))))))))))))))))))),p}function gu(){var p,w,D,F,E;if(p=r,w=r,pi.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&T(lr)),D!==e){for(F=[],mi.test(t.charAt(r))?(E=t.charAt(r),r++):(E=e,l===0&&T(Yr));E!==e;)F.push(E),mi.test(t.charAt(r))?(E=t.charAt(r),r++):(E=e,l===0&&T(Yr));F!==e?(D=[D,F],w=D):(r=w,w=e)}else r=w,w=e;return w!==e?p=t.substring(p,r):p=w,p}function qs(){var p,w;for(p=[],Pi.test(t.charAt(r))?(w=t.charAt(r),r++):(w=e,l===0&&T(Fi));w!==e;)p.push(w),Pi.test(t.charAt(r))?(w=t.charAt(r),r++):(w=e,l===0&&T(Fi));return p}function Wt(){var p,w,D;return p=r,w=Zo(),w!==e?(ue=r,D=Ui(w),D?D=void 0:D=e,D!==e?(w=[w,D],p=w):(r=p,p=e)):(r=p,p=e),p}function Rs(){var p,w;return p=r,t.length>r?(w=t.charAt(r),r++):(w=e,l===0&&T(le)),w!==e?p=t.substring(p,r):p=w,p}function Ns(){var p,w,D,F,E;for(p=r,w=[],D=r,F=r,l++,E=gt(),l--,E===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(E=t.charAt(r),r++):(E=e,l===0&&T(le)),E!==e?(F=[F,E],D=F):(r=D,D=e)):(r=D,D=e);D!==e;)w.push(D),D=r,F=r,l++,E=gt(),l--,E===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(E=t.charAt(r),r++):(E=e,l===0&&T(le)),E!==e?(F=[F,E],D=F):(r=D,D=e)):(r=D,D=e);return w!==e?p=t.substring(p,r):p=w,p}function Xo(){var p,w,D;if(p=r,w=[],D=Ke(),D!==e)for(;D!==e;)w.push(D),D=Ke();else w=e;return w!==e?p=t.substring(p,r):p=w,p}function Yo(){var p,w;if(p=[],w=Er(),w!==e)for(;w!==e;)p.push(w),w=Er();else p=e;return p}function el(){var p,w;for(p=[],w=Er();w!==e;)p.push(w),w=Er();return p}function qa(){var p,w;return p=r,w=ls(),w!==e&&(ue=p,w=Yt(w)),p=w,p}function as(){var p,w;return p=r,w=fs(),w!==e&&(ue=p,w=Hi(w)),p=w,p}function Cn(){var p;return t.charCodeAt(r)===66?(p=O,r++):(p=e,l===0&&T(z)),p}function zt(){var p,w,D,F,E;return p=r,w=r,D=r,l++,F=Cn(),l--,F===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(F=t.charAt(r),r++):(F=e,l===0&&T(le)),F!==e?(D=[D,F],w=D):(r=w,w=e)):(r=w,w=e),w!==e?(t.charCodeAt(r)===60?(D=Ae,r++):(D=e,l===0&&T(be)),D!==e?(F=Ni(),F!==e?(t.charCodeAt(r)===62?(E=_e,r++):(E=e,l===0&&T(Ee)),E!==e?(ue=p,w=Mt(),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p===e&&(p=r,w=r,D=r,l++,F=Cn(),l--,F===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(F=t.charAt(r),r++):(F=e,l===0&&T(le)),F!==e?(D=[D,F],w=D):(r=w,w=e)):(r=w,w=e),w!==e?(t.charCodeAt(r)===171?(D=ee,r++):(D=e,l===0&&T(ne)),D!==e?(F=Ni(),F!==e?(t.charCodeAt(r)===187?(E=he,r++):(E=e,l===0&&T(pe)),E!==e?(ue=p,w=Mt(),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)),p}function Ke(){var p,w,D,F,E,P,R,I;if(p=r,w=r,D=[],F=r,E=r,P=r,l++,t.charCodeAt(r)===60?(R=Ae,r++):(R=e,l===0&&T(be)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(t.length>r?(R=t.charAt(r),r++):(R=e,l===0&&T(le)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),E===e&&(E=null),E!==e?(t.charCodeAt(r)===60?(P=Ae,r++):(P=e,l===0&&T(be)),P!==e?(R=Ke(),R===e&&(R=null),R!==e?(t.charCodeAt(r)===62?(I=_e,r++):(I=e,l===0&&T(Ee)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,E=r,P=r,l++,t.charCodeAt(r)===171?(R=ee,r++):(R=e,l===0&&T(ne)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(t.length>r?(R=t.charAt(r),r++):(R=e,l===0&&T(le)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),E===e&&(E=null),E!==e?(t.charCodeAt(r)===171?(P=ee,r++):(P=e,l===0&&T(ne)),P!==e?(R=Ke(),R===e&&(R=null),R!==e?(t.charCodeAt(r)===187?(I=he,r++):(I=e,l===0&&T(pe)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=zt(),F===e&&(F=Ni()))),F!==e)for(;F!==e;)D.push(F),F=r,E=r,P=r,l++,t.charCodeAt(r)===60?(R=Ae,r++):(R=e,l===0&&T(be)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(t.length>r?(R=t.charAt(r),r++):(R=e,l===0&&T(le)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),E===e&&(E=null),E!==e?(t.charCodeAt(r)===60?(P=Ae,r++):(P=e,l===0&&T(be)),P!==e?(R=Ke(),R===e&&(R=null),R!==e?(t.charCodeAt(r)===62?(I=_e,r++):(I=e,l===0&&T(Ee)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,E=r,P=r,l++,t.charCodeAt(r)===171?(R=ee,r++):(R=e,l===0&&T(ne)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(t.length>r?(R=t.charAt(r),r++):(R=e,l===0&&T(le)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),E===e&&(E=null),E!==e?(t.charCodeAt(r)===171?(P=ee,r++):(P=e,l===0&&T(ne)),P!==e?(R=Ke(),R===e&&(R=null),R!==e?(t.charCodeAt(r)===187?(I=he,r++):(I=e,l===0&&T(pe)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=zt(),F===e&&(F=Ni())));else D=e;return D!==e?w=t.substring(w,r):w=D,w!==e&&(ue=p,w=vt(w)),p=w,p}function _n(){var p;return p=hl(),p===e&&(p=s(),p===e&&(p=oe(),p===e&&(p=cs()))),p}function fn(){var p;return t.charCodeAt(r)===124?(p=Ht,r++):(p=e,l===0&&T(dt)),p}function Er(){var p,w,D,F,E,P,R,I,h;if(p=r,w=r,D=[],F=r,E=r,P=r,l++,t.charCodeAt(r)===60?(R=Ae,r++):(R=e,l===0&&T(be)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=Wt(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(t.length>r?(I=t.charAt(r),r++):(I=e,l===0&&T(le)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)):(r=E,E=e),E!==e?(t.charCodeAt(r)===60?(P=Ae,r++):(P=e,l===0&&T(be)),P!==e?(R=Er(),R!==e?(t.charCodeAt(r)===62?(I=_e,r++):(I=e,l===0&&T(Ee)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,E=r,P=r,l++,t.charCodeAt(r)===171?(R=ee,r++):(R=e,l===0&&T(ne)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=Wt(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(t.length>r?(I=t.charAt(r),r++):(I=e,l===0&&T(le)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)):(r=E,E=e),E===e&&(E=null),E!==e?(t.charCodeAt(r)===171?(P=ee,r++):(P=e,l===0&&T(ne)),P!==e?(R=Er(),R===e&&(R=null),R!==e?(t.charCodeAt(r)===187?(I=he,r++):(I=e,l===0&&T(pe)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,E=r,l++,P=fn(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(P=r,l++,R=gt(),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=Ms(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(I=r,l++,h=ye(),l--,h===e?I=void 0:(r=I,I=e),I!==e?(t.length>r?(h=t.charAt(r),r++):(h=e,l===0&&T(le)),h!==e?(E=[E,P,R,I,h],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e))),F!==e)for(;F!==e;)D.push(F),F=r,E=r,P=r,l++,t.charCodeAt(r)===60?(R=Ae,r++):(R=e,l===0&&T(be)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=Wt(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(t.length>r?(I=t.charAt(r),r++):(I=e,l===0&&T(le)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)):(r=E,E=e),E!==e?(t.charCodeAt(r)===60?(P=Ae,r++):(P=e,l===0&&T(be)),P!==e?(R=Er(),R!==e?(t.charCodeAt(r)===62?(I=_e,r++):(I=e,l===0&&T(Ee)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,E=r,P=r,l++,t.charCodeAt(r)===171?(R=ee,r++):(R=e,l===0&&T(ne)),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=Wt(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(t.length>r?(I=t.charAt(r),r++):(I=e,l===0&&T(le)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)):(r=E,E=e),E===e&&(E=null),E!==e?(t.charCodeAt(r)===171?(P=ee,r++):(P=e,l===0&&T(ne)),P!==e?(R=Er(),R===e&&(R=null),R!==e?(t.charCodeAt(r)===187?(I=he,r++):(I=e,l===0&&T(pe)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,E=r,l++,P=fn(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(P=r,l++,R=gt(),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=Ms(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(I=r,l++,h=ye(),l--,h===e?I=void 0:(r=I,I=e),I!==e?(t.length>r?(h=t.charAt(r),r++):(h=e,l===0&&T(le)),h!==e?(E=[E,P,R,I,h],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)));else D=e;return D!==e?w=t.substring(w,r):w=D,w!==e&&(ue=p,w=Et(w)),p=w,p}function tl(){var p,w,D,F,E,P,R;for(p=r,w=[],D=r,F=r,l++,E=r,P=cr(),P!==e?(t.charCodeAt(r)===58?(R=St,r++):(R=e,l===0&&T(xr)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),l--,E===e?F=void 0:(r=F,F=e),F!==e?(E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(t.length>r?(P=t.charAt(r),r++):(P=e,l===0&&T(le)),P!==e?(F=[F,E,P],D=F):(r=D,D=e)):(r=D,D=e)):(r=D,D=e);D!==e;)w.push(D),D=r,F=r,l++,E=r,P=cr(),P!==e?(t.charCodeAt(r)===58?(R=St,r++):(R=e,l===0&&T(xr)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),l--,E===e?F=void 0:(r=F,F=e),F!==e?(E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(t.length>r?(P=t.charAt(r),r++):(P=e,l===0&&T(le)),P!==e?(F=[F,E,P],D=F):(r=D,D=e)):(r=D,D=e)):(r=D,D=e);return w!==e?p=t.substring(p,r):p=w,p}function rl(){var p,w,D,F,E,P,R;if(p=r,w=[],D=r,F=r,l++,E=r,P=cr(),P!==e?(t.charCodeAt(r)===58?(R=St,r++):(R=e,l===0&&T(xr)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),l--,E===e?F=void 0:(r=F,F=e),F!==e?(E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(t.length>r?(P=t.charAt(r),r++):(P=e,l===0&&T(le)),P!==e?(F=[F,E,P],D=F):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D!==e)for(;D!==e;)w.push(D),D=r,F=r,l++,E=r,P=cr(),P!==e?(t.charCodeAt(r)===58?(R=St,r++):(R=e,l===0&&T(xr)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e),l--,E===e?F=void 0:(r=F,F=e),F!==e?(E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(t.length>r?(P=t.charAt(r),r++):(P=e,l===0&&T(le)),P!==e?(F=[F,E,P],D=F):(r=D,D=e)):(r=D,D=e)):(r=D,D=e);else w=e;return w!==e?p=t.substring(p,r):p=w,p}function En(){var p,w,D,F,E,P,R,I,h,u;if(p=r,w=[],D=cr(),D!==e)for(;D!==e;)w.push(D),D=cr();else w=e;if(w!==e){if(D=r,F=[],E=r,pt.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(Vr)),P!==e){for(R=[],Gt.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Gi));I!==e;)R.push(I),Gt.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Gi));R!==e?(pt.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Vr)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)}else r=E,E=e;if(E===e){if(E=r,en.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(Br)),P!==e){for(R=[],tn.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(ei));I!==e;)R.push(I),tn.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(ei));R!==e?(en.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Br)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)}else r=E,E=e;if(E===e){if(E=r,t.charCodeAt(r)===60?(P=Ae,r++):(P=e,l===0&&T(be)),P!==e){for(R=[],I=r,h=r,l++,t.charCodeAt(r)===62?(u=_e,r++):(u=e,l===0&&T(Ee)),l--,u===e?h=void 0:(r=h,h=e),h!==e?(t.length>r?(u=t.charAt(r),r++):(u=e,l===0&&T(le)),u!==e?(h=[h,u],I=h):(r=I,I=e)):(r=I,I=e);I!==e;)R.push(I),I=r,h=r,l++,t.charCodeAt(r)===62?(u=_e,r++):(u=e,l===0&&T(Ee)),l--,u===e?h=void 0:(r=h,h=e),h!==e?(t.length>r?(u=t.charAt(r),r++):(u=e,l===0&&T(le)),u!==e?(h=[h,u],I=h):(r=I,I=e)):(r=I,I=e);R!==e?(t.charCodeAt(r)===62?(I=_e,r++):(I=e,l===0&&T(Ee)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)}else r=E,E=e;E===e&&(E=r,P=r,l++,R=gt(),l--,R===e?P=void 0:(r=P,P=e),P!==e?(t.length>r?(R=t.charAt(r),r++):(R=e,l===0&&T(le)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e))}}for(;E!==e;){if(F.push(E),E=r,pt.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(Vr)),P!==e){for(R=[],Gt.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Gi));I!==e;)R.push(I),Gt.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Gi));R!==e?(pt.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Vr)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)}else r=E,E=e;if(E===e){if(E=r,en.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(Br)),P!==e){for(R=[],tn.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(ei));I!==e;)R.push(I),tn.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(ei));R!==e?(en.test(t.charAt(r))?(I=t.charAt(r),r++):(I=e,l===0&&T(Br)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)}else r=E,E=e;if(E===e){if(E=r,t.charCodeAt(r)===60?(P=Ae,r++):(P=e,l===0&&T(be)),P!==e){for(R=[],I=r,h=r,l++,t.charCodeAt(r)===62?(u=_e,r++):(u=e,l===0&&T(Ee)),l--,u===e?h=void 0:(r=h,h=e),h!==e?(t.length>r?(u=t.charAt(r),r++):(u=e,l===0&&T(le)),u!==e?(h=[h,u],I=h):(r=I,I=e)):(r=I,I=e);I!==e;)R.push(I),I=r,h=r,l++,t.charCodeAt(r)===62?(u=_e,r++):(u=e,l===0&&T(Ee)),l--,u===e?h=void 0:(r=h,h=e),h!==e?(t.length>r?(u=t.charAt(r),r++):(u=e,l===0&&T(le)),u!==e?(h=[h,u],I=h):(r=I,I=e)):(r=I,I=e);R!==e?(t.charCodeAt(r)===62?(I=_e,r++):(I=e,l===0&&T(Ee)),I!==e?(P=[P,R,I],E=P):(r=E,E=e)):(r=E,E=e)}else r=E,E=e;E===e&&(E=r,P=r,l++,R=gt(),l--,R===e?P=void 0:(r=P,P=e),P!==e?(t.length>r?(R=t.charAt(r),r++):(R=e,l===0&&T(le)),R!==e?(P=[P,R],E=P):(r=E,E=e)):(r=E,E=e))}}}F!==e?D=t.substring(D,r):D=F,D!==e?(ue=p,w=rn(D),p=w):(r=p,p=e)}else r=p,p=e;return p}function Ra(){var p,w,D,F,E,P,R,I,h,u,y;if(p=r,w=Se(),w!==e)if(ue=r,D=Ur(w),D?D=void 0:D=e,D!==e){if(F=[],E=_n(),E===e&&(E=ur(),E===e&&(E=Er())),E!==e)for(;E!==e;)F.push(E),E=_n(),E===e&&(E=ur(),E===e&&(E=Er()));else F=e;F!==e?(E=fn(),E!==e?(P=tl(),P!==e?(R=En(),R!==e?(I=gt(),I!==e?(ue=r,h=Di(w,F,P,R,I),h?h=void 0:h=e,h!==e?(ue=p,w=Is(w,F,P,R,I),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;if(p===e&&(p=r,w=Se(),w!==e?(ue=r,D=Ur(w),D?D=void 0:D=e,D!==e?(F=rl(),F!==e?(E=En(),E!==e?(P=gt(),P!==e?(ue=r,R=Yn(w,F,E,P),R?R=void 0:R=e,R!==e?(ue=p,w=Os(w,F,E,P),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p===e))if(p=r,w=Se(),w!==e)if(ue=r,D=Ur(w),D?D=void 0:D=e,D!==e){if(F=[],E=_n(),E===e&&(E=ur(),E===e&&(E=Er())),E!==e)for(;E!==e;)F.push(E),E=_n(),E===e&&(E=ur(),E===e&&(E=Er()));else F=e;if(F!==e){if(E=r,P=fn(),P!==e){for(R=r,I=[],h=r,u=r,l++,y=gt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(t.length>r?(y=t.charAt(r),r++):(y=e,l===0&&T(le)),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e);h!==e;)I.push(h),h=r,u=r,l++,y=gt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(t.length>r?(y=t.charAt(r),r++):(y=e,l===0&&T(le)),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e);I!==e?R=t.substring(R,r):R=I,R!==e?(ue=E,P=wn(w,F,R),E=P):(r=E,E=e)}else r=E,E=e;E===e&&(E=null),E!==e?(P=gt(),P!==e?(ue=r,R=Y(w,F,E,P),R?R=void 0:R=e,R!==e?(ue=p,w=K(w,F,E,P),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)}else r=p,p=e}else r=p,p=e;else r=p,p=e;return p}function Na(){var p,w,D,F,E,P;if(p=r,w=[],D=r,F=r,l++,t.charCodeAt(r)===59?(E=te,r++):(E=e,l===0&&T(se)),l--,E===e?F=void 0:(r=F,F=e),F!==e?(E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(t.length>r?(P=t.charAt(r),r++):(P=e,l===0&&T(le)),P!==e?(F=[F,E,P],D=F):(r=D,D=e)):(r=D,D=e)):(r=D,D=e),D!==e)for(;D!==e;)w.push(D),D=r,F=r,l++,t.charCodeAt(r)===59?(E=te,r++):(E=e,l===0&&T(se)),l--,E===e?F=void 0:(r=F,F=e),F!==e?(E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(t.length>r?(P=t.charAt(r),r++):(P=e,l===0&&T(le)),P!==e?(F=[F,E,P],D=F):(r=D,D=e)):(r=D,D=e)):(r=D,D=e);else w=e;return w!==e?p=t.substring(p,r):p=w,p}function cr(){var p;return fe.test(t.charAt(r))?(p=t.charAt(r),r++):(p=e,l===0&&T($e)),p}function Sn(){var p,w,D,F,E,P;if(p=r,w=Na(),w!==e){for(D=[],F=cr();F!==e;)D.push(F),F=cr();if(D!==e)if(t.charCodeAt(r)===59?(F=te,r++):(F=e,l===0&&T(se)),F!==e){for(E=[],P=cr();P!==e;)E.push(P),P=cr();E!==e?(P=Sn(),P!==e?(ue=p,w=Oe(w,P),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e}else r=p,p=e;return p===e&&(p=r,w=Na(),w!==e&&(ue=p,w=ze(w)),p=w),p}function os(){var p,w,D;if(p=r,w=[],He.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&T(mt)),D!==e)for(;D!==e;)w.push(D),He.test(t.charAt(r))?(D=t.charAt(r),r++):(D=e,l===0&&T(mt));else w=e;return w!==e?p=t.substring(p,r):p=w,p}function il(){var p,w,D;return p=r,t.substr(r,2)===Me?(w=Me,r+=2):(w=e,l===0&&T(ft)),w!==e?(D=os(),D!==e?(ue=p,w=bt(D),p=w):(r=p,p=e)):(r=p,p=e),p}function La(){var p,w,D;return p=r,t.substr(r,2)===ot?(w=ot,r+=2):(w=e,l===0&&T(tt)),w!==e?(D=os(),D!==e?(ue=p,w=wt(D),p=w):(r=p,p=e)):(r=p,p=e),p}function nl(){var p,w,D;return p=r,t.substr(r,2)===Je?(w=Je,r+=2):(w=e,l===0&&T(er)),w!==e?(D=os(),D!==e?(ue=p,w=tr(D),p=w):(r=p,p=e)):(r=p,p=e),p}function sl(){var p,w,D,F,E,P;if(p=r,w=r,D=r,t.substr(r,2)===Tt?(F=Tt,r+=2):(F=e,l===0&&T(Qe)),F!==e){if(E=[],Kt.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(rr)),P!==e)for(;P!==e;)E.push(P),Kt.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(rr));else E=e;E!==e?(F=[F,E],D=F):(r=D,D=e)}else r=D,D=e;return D!==e?w=t.substring(w,r):w=D,w!==e&&(ue=p,w=kr()),p=w,p}function al(){var p,w,D,F;if(p=r,w=r,D=[],Hr.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&T(Cr)),F!==e)for(;F!==e;)D.push(F),Hr.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&T(Cr));else D=e;return D!==e?w=t.substring(w,r):w=D,w!==e?(ue=r,D=Ii(),D?D=void 0:D=e,D!==e?(ue=p,w=Mt(),p=w):(r=p,p=e)):(r=p,p=e),p}function ol(){var p,w,D,F,E,P;if(p=r,w=r,D=r,nn.test(t.charAt(r))?(F=t.charAt(r),r++):(F=e,l===0&&T(sn)),F!==e){if(E=[],gi.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(yi)),P!==e)for(;P!==e;)E.push(P),gi.test(t.charAt(r))?(P=t.charAt(r),r++):(P=e,l===0&&T(yi));else E=e;E!==e?(F=[F,E],D=F):(r=D,D=e)}else r=D,D=e;return D!==e?w=t.substring(w,r):w=D,w!==e&&(ue=p,w=Gr(w)),p=w,p}function Ma(){var p,w,D;return p=r,w=qs(),w!==e?(D=La(),D===e&&(D=il(),D===e&&(D=nl(),D===e&&(D=sl(),D===e&&(D=os())))),D!==e?(ue=p,w=Kr(D),p=w):(r=p,p=e)):(r=p,p=e),p===e&&(p=r,w=qs(),w!==e?(D=al(),D!==e?(ue=p,w=An(D),p=w):(r=p,p=e)):(r=p,p=e),p===e&&(p=r,w=qs(),w!==e?(D=ol(),D!==e?(ue=p,w=vi(D),p=w):(r=p,p=e)):(r=p,p=e))),p}function Ls(){var p,w,D,F,E,P;if(p=r,w=Ma(),w!==e){for(D=[],F=cr();F!==e;)D.push(F),F=cr();if(D!==e)if(t.charCodeAt(r)===59?(F=te,r++):(F=e,l===0&&T(se)),F!==e){for(E=[],P=cr();P!==e;)E.push(P),P=cr();E!==e?(P=Ls(),P!==e?(ue=p,w=Oe(w,P),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e}else r=p,p=e;return p===e&&(p=r,w=Ma(),w!==e&&(ue=p,w=ze(w)),p=w),p}function wi(){var p,w,D,F,E;return p=r,w=Ms(),w!==e?(ue=r,D=es(w),D?D=void 0:D=e,D!==e?(F=r,E=Ls(),E!==e&&(ue=F,E=ts(w,E)),F=E,F===e&&(F=null),F!==e?(E=gt(),E!==e?(ue=p,w=an(w,F),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p}function Ms(){var p,w,D;return p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e?(t.charCodeAt(r)===60?(D=Ae,r++):(D=e,l===0&&T(be)),D!==e?(ue=p,w=ti(w),p=w):(r=p,p=e)):(r=p,p=e),p}function Se(){var p,w,D,F;return p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e?(D=r,t.charCodeAt(r)===60?(F=Ae,r++):(F=e,l===0&&T(be)),F===e&&(t.charCodeAt(r)===171?(F=ee,r++):(F=e,l===0&&T(ne))),F!==e?D=t.substring(D,r):D=F,D!==e?(ue=p,w=ri(w,D),p=w):(r=p,p=e)):(r=p,p=e),p}function lt(){var p,w,D;return p=r,t.charCodeAt(r)===69?(w=de,r++):(w=e,l===0&&T(Ce)),w!==e?(t.charCodeAt(r)===60?(D=Ae,r++):(D=e,l===0&&T(be)),D===e&&(t.charCodeAt(r)===171?(D=ee,r++):(D=e,l===0&&T(ne))),D!==e?(w=[w,D],p=w):(r=p,p=e)):(r=p,p=e),p}function gt(){var p;return t.charCodeAt(r)===62?(p=_e,r++):(p=e,l===0&&T(Ee)),p===e&&(t.charCodeAt(r)===187?(p=he,r++):(p=e,l===0&&T(pe))),p}function ur(){var p;return p=ai(),p===e&&(p=zs(),p===e&&(p=H(),p===e&&(p=us()))),p}function yu(){var p,w,D,F,E;for(p=r,w=[],D=r,F=r,l++,E=gt(),l--,E===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(E=t.charAt(r),r++):(E=e,l===0&&T(le)),E!==e?(F=[F,E],D=F):(r=D,D=e)):(r=D,D=e);D!==e;)w.push(D),D=r,F=r,l++,E=gt(),l--,E===e?F=void 0:(r=F,F=e),F!==e?(t.length>r?(E=t.charAt(r),r++):(E=e,l===0&&T(le)),E!==e?(F=[F,E],D=F):(r=D,D=e)):(r=D,D=e);return w!==e?p=t.substring(p,r):p=w,p}function We(){var p,w,D,F,E,P,R;if(p=r,w=r,D=[],F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E!==e?(P=We(),P!==e?(t.charCodeAt(r)===62?(R=_e,r++):(R=e,l===0&&T(Ee)),R!==e?(E=[E,P,R],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne)),E!==e?(P=We(),P!==e?(t.charCodeAt(r)===187?(R=he,r++):(R=e,l===0&&T(pe)),R!==e?(E=[E,P,R],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=ye(),F===e&&(F=Ni()))),F!==e)for(;F!==e;)D.push(F),F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E!==e?(P=We(),P!==e?(t.charCodeAt(r)===62?(R=_e,r++):(R=e,l===0&&T(Ee)),R!==e?(E=[E,P,R],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=r,t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne)),E!==e?(P=We(),P!==e?(t.charCodeAt(r)===187?(R=he,r++):(R=e,l===0&&T(pe)),R!==e?(E=[E,P,R],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F===e&&(F=ye(),F===e&&(F=Ni())));else D=e;return D!==e?w=t.substring(w,r):w=D,w!==e&&(ue=p,w=vt(w)),p=w,p}function Ni(){var p,w,D,F,E,P,R,I;if(p=r,w=r,D=[],F=r,E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(P=r,l++,R=Se(),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=ye(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(t.length>r?(I=t.charAt(r),r++):(I=e,l===0&&T(le)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e),F!==e)for(;F!==e;)D.push(F),F=r,E=r,l++,P=gt(),l--,P===e?E=void 0:(r=E,E=e),E!==e?(P=r,l++,R=Se(),l--,R===e?P=void 0:(r=P,P=e),P!==e?(R=r,l++,I=ye(),l--,I===e?R=void 0:(r=R,R=e),R!==e?(t.length>r?(I=t.charAt(r),r++):(I=e,l===0&&T(le)),I!==e?(E=[E,P,R,I],F=E):(r=F,F=e)):(r=F,F=e)):(r=F,F=e)):(r=F,F=e);else D=e;return D!==e?w=t.substring(w,r):w=D,w!==e&&(ue=p,w=vt(w)),p=w,p}function ye(){var p,w,D,F,E;return p=r,w=r,D=r,l++,F=Wt(),l--,F===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(F=t.charAt(r),r++):(F=e,l===0&&T(le)),F!==e?(D=[D,F],w=D):(r=w,w=e)):(r=w,w=e),w!==e?(t.charCodeAt(r)===60?(D=Ae,r++):(D=e,l===0&&T(be)),D!==e?(F=Ni(),F!==e?(t.charCodeAt(r)===62?(E=_e,r++):(E=e,l===0&&T(Ee)),E!==e?(ue=p,w=Mt(),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p===e&&(p=r,w=r,D=r,l++,F=Wt(),l--,F===e?D=void 0:(r=D,D=e),D!==e?(t.length>r?(F=t.charAt(r),r++):(F=e,l===0&&T(le)),F!==e?(D=[D,F],w=D):(r=w,w=e)):(r=w,w=e),w!==e?(t.charCodeAt(r)===171?(D=ee,r++):(D=e,l===0&&T(ne)),D!==e?(F=Ni(),F!==e?(t.charCodeAt(r)===187?(E=he,r++):(E=e,l===0&&T(pe)),E!==e?(ue=p,w=Mt(),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)),p}function ll(){var p,w,D,F,E,P,R;return p=r,w=r,t.charCodeAt(r)===65?(D=f,r++):(D=e,l===0&&T(d)),D!==e?w=t.substring(w,r):w=D,w!==e?(ue=r,D=bi(w),D?D=void 0:D=e,D!==e?(F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E===e&&(t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne))),E!==e?F=t.substring(F,r):F=E,F!==e?(E=Er(),E!==e?(P=gt(),P!==e?(ue=r,R=ii(w,F,E,P),R?R=void 0:R=e,R!==e?(ue=p,w=Ki(w,F,E,P),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p}function fl(){var p,w,D,F,E,P,R;return p=r,w=r,t.charCodeAt(r)===86?(D=v,r++):(D=e,l===0&&T(b)),D!==e?w=t.substring(w,r):w=D,w!==e?(ue=r,D=bi(w),D?D=void 0:D=e,D!==e?(F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E===e&&(t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne))),E!==e?F=t.substring(F,r):F=E,F!==e?(E=Xo(),E!==e?(P=gt(),P!==e?(ue=r,R=ii(w,F,E,P),R?R=void 0:R=e,R!==e?(ue=p,w=Ki(w,F,E,P),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p}function cl(){var p,w,D,F,E,P,R;return p=r,w=r,t.charCodeAt(r)===83?(D=_t,r++):(D=e,l===0&&T(ht)),D!==e?w=t.substring(w,r):w=D,w!==e?(ue=r,D=bi(w),D?D=void 0:D=e,D!==e?(F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E===e&&(t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne))),E!==e?F=t.substring(F,r):F=E,F!==e?(E=Ns(),E!==e?(P=gt(),P!==e?(ue=r,R=ii(w,F,E,P),R?R=void 0:R=e,R!==e?(ue=p,w=Ki(w,F,E,P),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p}function ul(){var p,w,D,F,E,P,R;return p=r,w=r,t.charCodeAt(r)===90?(D=Ot,r++):(D=e,l===0&&T(yt)),D!==e?w=t.substring(w,r):w=D,w!==e?(ue=r,D=bi(w),D?D=void 0:D=e,D!==e?(F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E===e&&(t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne))),E!==e?F=t.substring(F,r):F=E,F!==e?(E=Ns(),E!==e?(P=gt(),P!==e?(ue=r,R=ii(w,F,E,P),R?R=void 0:R=e,R!==e?(ue=p,w=Ki(w,F,E,P),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)):(r=p,p=e),p}function ls(){var p,w,D,F,E,P,R,I,h;if(p=r,w=r,t.charCodeAt(r)===68?(D=Q,r++):(D=e,l===0&&T(ie)),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=bi(w),D?D=void 0:D=e,D!==e)if(F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E===e&&(t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne))),E!==e?F=t.substring(F,r):F=E,F!==e)if(E=Yo(),E!==e){if(P=r,R=fn(),R!==e){for(I=[],h=Sn();h!==e;)I.push(h),h=Sn();I!==e?(ue=P,R=$n(w,F,E,I),P=R):(r=P,P=e)}else r=P,P=e;P===e&&(P=null),P!==e?(R=gt(),R!==e?(ue=r,I=rs(w,F,E,P,R),I?I=void 0:I=e,I!==e?(ue=p,w=_r(w,F,E,P,R),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function fs(){var p,w,D,F,E,P,R,I,h;if(p=r,w=r,t.charCodeAt(r)===88?(D=or,r++):(D=e,l===0&&T(jr)),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=bi(w),D?D=void 0:D=e,D!==e)if(F=r,t.charCodeAt(r)===60?(E=Ae,r++):(E=e,l===0&&T(be)),E===e&&(t.charCodeAt(r)===171?(E=ee,r++):(E=e,l===0&&T(ne))),E!==e?F=t.substring(F,r):F=E,F!==e)if(E=el(),E!==e){if(P=r,R=fn(),R!==e){for(I=[],h=Sn();h!==e;)I.push(h),h=Sn();I!==e?(ue=P,R=$n(w,F,E,I),P=R):(r=P,P=e)}else r=P,P=e;P===e&&(P=null),P!==e?(R=gt(),R!==e?(ue=r,I=rs(w,F,E,P,R),I?I=void 0:I=e,I!==e?(ue=p,w=_r(w,F,E,P,R),p=w):(r=p,p=e)):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function hl(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Wr(w),D?D=void 0:D=e,D!==e)if(t.substr(r,3)===Oi?(F=Oi,r+=3):(F=e,l===0&&T(qi)),F!==e){if(E=[],P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}if(P!==e){for(;P!==e;)if(E.push(P),P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}}else E=e;E!==e?(t.substr(r,3)===Le?(P=Le,r+=3):(P=e,l===0&&T(qt)),P!==e?(ue=p,w=ni(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function s(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Wr(w),D?D=void 0:D=e,D!==e)if(t.substr(r,2)===Wi?(F=Wi,r+=2):(F=e,l===0&&T(is)),F!==e){if(E=[],P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}if(P!==e){for(;P!==e;)if(E.push(P),P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}}else E=e;E!==e?(t.substr(r,2)===Ue?(P=Ue,r+=2):(P=e,l===0&&T(Dt)),P!==e?(ue=p,w=ni(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function oe(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Wr(w),D?D=void 0:D=e,D!==e)if(t.charCodeAt(r)===60?(F=Ae,r++):(F=e,l===0&&T(be)),F!==e){if(E=[],P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}if(P!==e){for(;P!==e;)if(E.push(P),P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}}else E=e;E!==e?(t.charCodeAt(r)===62?(P=_e,r++):(P=e,l===0&&T(Ee)),P!==e?(ue=p,w=ni(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function cs(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Wr(w),D?D=void 0:D=e,D!==e)if(t.charCodeAt(r)===171?(F=ee,r++):(F=e,l===0&&T(ne)),F!==e){if(E=[],P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}if(P!==e){for(;P!==e;)if(E.push(P),P=wi(),P===e){if(P=r,R=r,I=[],h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,u=r,y=r,l++,t.charCodeAt(r)===60?(a=Ae,r++):(a=e,l===0&&T(be)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(a=r,l++,g=lt(),l--,g===e?a=void 0:(r=a,a=e),a!==e?(t.length>r?(g=t.charAt(r),r++):(g=e,l===0&&T(le)),g!==e?(y=[y,a,g],u=y):(r=u,u=e)):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===60?(y=Ae,r++):(y=e,l===0&&T(be)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===62?(g=_e,r++):(g=e,l===0&&T(Ee)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,y=r,l++,t.charCodeAt(r)===171?(a=ee,r++):(a=e,l===0&&T(ne)),l--,a===e?y=void 0:(r=y,y=e),y!==e?(t.length>r?(a=t.charAt(r),r++):(a=e,l===0&&T(le)),a!==e?(y=[y,a],u=y):(r=u,u=e)):(r=u,u=e),u===e&&(u=null),u!==e?(t.charCodeAt(r)===171?(y=ee,r++):(y=e,l===0&&T(ne)),y!==e?(a=Ke(),a===e&&(a=null),a!==e?(t.charCodeAt(r)===187?(g=he,r++):(g=e,l===0&&T(pe)),g!==e?(u=[u,y,a,g],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,u=r,l++,y=lt(),l--,y===e?u=void 0:(r=u,u=e),u!==e?(y=zt(),y!==e?(u=[u,y],h=u):(r=h,h=e)):(r=h,h=e),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}}else E=e;E!==e?(t.charCodeAt(r)===187?(P=he,r++):(P=e,l===0&&T(pe)),P!==e?(ue=p,w=ni(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function ai(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Ri(w),D?D=void 0:D=e,D!==e)if(t.substr(r,3)===Oi?(F=Oi,r+=3):(F=e,l===0&&T(qi)),F!==e){if(E=[],P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}for(;P!==e;)if(E.push(P),P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,3)===Le?(A=Le,r+=3):(A=e,l===0&&T(qt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}E!==e?(t.substr(r,3)===Le?(P=Le,r+=3):(P=e,l===0&&T(qt)),P!==e?(ue=p,w=xn(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function zs(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Ri(w),D?D=void 0:D=e,D!==e)if(t.substr(r,2)===Wi?(F=Wi,r+=2):(F=e,l===0&&T(is)),F!==e){if(E=[],P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}for(;P!==e;)if(E.push(P),P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.substr(r,2)===Ue?(A=Ue,r+=2):(A=e,l===0&&T(Dt)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}E!==e?(t.substr(r,2)===Ue?(P=Ue,r+=2):(P=e,l===0&&T(Dt)),P!==e?(ue=p,w=xn(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function H(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Ri(w),D?D=void 0:D=e,D!==e)if(t.charCodeAt(r)===60?(F=Ae,r++):(F=e,l===0&&T(be)),F!==e){if(E=[],P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}for(;P!==e;)if(E.push(P),P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===62?(A=_e,r++):(A=e,l===0&&T(Ee)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}E!==e?(t.charCodeAt(r)===62?(P=_e,r++):(P=e,l===0&&T(Ee)),P!==e?(ue=p,w=xn(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function us(){var p,w,D,F,E,P,R,I,h,u,y,a,g,A,x,L;if(p=r,w=r,D=Wt(),D!==e?w=t.substring(w,r):w=D,w!==e)if(ue=r,D=Ri(w),D?D=void 0:D=e,D!==e)if(t.charCodeAt(r)===171?(F=ee,r++):(F=e,l===0&&T(ne)),F!==e){if(E=[],P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}for(;P!==e;)if(E.push(P),P=si(),P===e&&(P=ur(),P===e)){if(P=r,R=r,I=[],h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}if(h!==e){for(;h!==e;)if(I.push(h),h=r,t.charCodeAt(r)===60?(u=Ae,r++):(u=e,l===0&&T(be)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===62?(a=_e,r++):(a=e,l===0&&T(Ee)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=r,t.charCodeAt(r)===171?(u=ee,r++):(u=e,l===0&&T(ne)),u!==e?(y=We(),y!==e?(t.charCodeAt(r)===187?(a=he,r++):(a=e,l===0&&T(pe)),a!==e?(u=[u,y,a],h=u):(r=h,h=e)):(r=h,h=e)):(r=h,h=e),h===e&&(h=ye(),h===e))){if(h=r,u=r,y=[],a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e),a!==e)for(;a!==e;)y.push(a),a=r,g=r,l++,t.charCodeAt(r)===187?(A=he,r++):(A=e,l===0&&T(pe)),l--,A===e?g=void 0:(r=g,g=e),g!==e?(A=r,l++,x=Se(),l--,x===e?A=void 0:(r=A,A=e),A!==e?(x=r,l++,L=ye(),l--,L===e?x=void 0:(r=x,x=e),x!==e?(t.length>r?(L=t.charAt(r),r++):(L=e,l===0&&T(le)),L!==e?(g=[g,A,x,L],a=g):(r=a,a=e)):(r=a,a=e)):(r=a,a=e)):(r=a,a=e);else y=e;y!==e?u=t.substring(u,r):u=y,u!==e&&(ue=h,u=Ie(w,u)),h=u}}else I=e;I!==e?R=t.substring(R,r):R=I,R!==e&&(ue=P,R=Ie(w,R)),P=R}E!==e?(t.charCodeAt(r)===187?(P=he,r++):(P=e,l===0&&T(pe)),P!==e?(ue=p,w=xn(w,E),p=w):(r=p,p=e)):(r=p,p=e)}else r=p,p=e;else r=p,p=e;else r=p,p=e;return p}function hr(p){return p.reduce((w,D)=>Array.isArray(D)?w.concat(hr(D)):w.concat(D),[])}function At(p){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[p]}function dl(p){let w=p.replace(/\s+$/,""),D=w[0];return(D==="'"||D==='"')&&w.length>1&&w[w.length-1]===D?w.slice(1,-1):w}function pl(p,w){let D=w&&w.parseAttributes;return typeof D=="function"?D(p):p}if(ss=o(),ss!==e&&r===t.length)return ss;throw ss!==e&&r<t.length&&T(Jo()),Ia(ns,Ir<t.length?t.charAt(Ir):null,Ir<t.length?ln(Ir,Ir+1):ln(Ir,Ir))}lp.exports={SyntaxError:Un,parse:Hb}});var dc=Te(($C,Dp)=>{Dp.exports=function(i){return i!=null&&i.constructor!=null&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}});var jp=Te((xC,zp)=>{"use strict";var Eo=Object.prototype.hasOwnProperty,Mp=Object.prototype.toString,Ip=Object.defineProperty,Op=Object.getOwnPropertyDescriptor,qp=function(i){return typeof Array.isArray=="function"?Array.isArray(i):Mp.call(i)==="[object Array]"},Rp=function(i){if(!i||Mp.call(i)!=="[object Object]")return!1;var e=Eo.call(i,"constructor"),n=i.constructor&&i.constructor.prototype&&Eo.call(i.constructor.prototype,"isPrototypeOf");if(i.constructor&&!e&&!n)return!1;var o;for(o in i);return typeof o>"u"||Eo.call(i,o)},Np=function(i,e){Ip&&e.name==="__proto__"?Ip(i,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):i[e.name]=e.newValue},Lp=function(i,e){if(e==="__proto__")if(Eo.call(i,e)){if(Op)return Op(i,e).value}else return;return i[e]};zp.exports=function t(){var i,e,n,o,f,d,v=arguments[0],b=1,C=arguments.length,$=!1;for(typeof v=="boolean"&&($=v,v=arguments[1]||{},b=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});b<C;++b)if(i=arguments[b],i!=null)for(e in i)n=Lp(v,e),o=Lp(i,e),v!==o&&($&&o&&(Rp(o)||(f=qp(o)))?(f?(f=!1,d=n&&qp(n)?n:[]):d=n&&Rp(n)?n:{},Np(v,{name:e,newValue:t($,d,o)})):typeof o<"u"&&Np(v,{name:e,newValue:o}));return v}});var G$={};Pu(G$,{PluginRegister:()=>U$,default:()=>H$,parseMd:()=>Ho,plugin:()=>Go});module.exports=Og(G$);var Pp=ui(Rd()),ow=ui(zd());var jd=["boundary","cell","code","comment","data","data-table","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","set","table","toc"];var Sb=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[i,e]=t.split(":");if(i&&e)return{name:i,type:e};if(!i)return{type:e};if(!e){let n=i.match(/(.+)\<\>/);return n?{type:"fcode",name:n[1]}:{name:i,type:"block"}}return{name:i,type:e}},$o=t=>{let i=Sb(t),{name:e,type:n}=i;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:i};function Tb(t,i){function e(o){for(var f in o)if(o.hasOwnProperty(f))return!1;return!0}if(e(t))return!0;for(var n in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(n))if(i===void 0&&console.warn("[podlite] undefined node!!!"),i&&i.hasOwnProperty(n)){if(t[n]!==i[n])return!1}else return!1;return!0}var ya=(t,i)=>{return e.rule=t,e.isFor=n,e.fn=i,e;function e(){}function n(o){return typeof o=="string"?!1:Tb(t,o)}};var Yf=ui(require("crypto"),1);var Vd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Pb=128,Vn,Es,Fb=t=>{!Vn||Vn.length<t?(Vn=Buffer.allocUnsafe(t*Pb),Yf.default.randomFillSync(Vn),Es=0):Es+t>Vn.length&&(Yf.default.randomFillSync(Vn),Es=0),Es+=t};var Bd=(t=21)=>{Fb(t);let i="";for(let e=Es-t;e<Es;e++)i+=Vd[Vn[e]&63];return i};var Ss=t=>({...t}),ec=t=>{if(Array.isArray(t))return t.filter(i=>i);console.warn("[podlite-schema] filterNulls got not array as content")},Pr=(t,i)=>{let e="block",n=t.name,o={id:Bd(),margin:"",...t};var f=Ss({type:e,...o,content:ec(i)});return f};var xo=(t,i)=>Ss({type:"fcode",...t,content:i}),tc=(t,i)=>Ss({...t,type:"fcode",name:"L",content:ec(i)}),Ud=t=>Ss({type:"fcode",name:"O",content:ec(t)});var Hd=t=>Ss({type:"fcode",name:"F",content:[{type:"text",value:t}]}),va=t=>Ss({type:"verbatim",value:t});var Gd=t=>({type:"block",name:"caption",content:t}),Kd=(t,i)=>({type:"image",src:t,alt:i}),Wd=({margin:t=""},i)=>Pr({name:"root",margin:t},i);var Jd=({value:t,location:i})=>Pr({name:"formula",location:i},[va(t)]);var Db=(t,i={})=>{let e=t.config instanceof Array?t.config:[],n=[];i.config&&i.config.hasOwnProperty(t.name)&&(n=i.config[t.name]);let o={};[...e,...n].map(d=>{o.hasOwnProperty(d.name)||(o[d.name]=[]),d.type==="array"?o[d.name].push(...d.value):o[d.name].push(d.value)});let f=function(){};return f.exists=d=>o.hasOwnProperty(d),f.getAllValues=d=>f.exists(d)?o[d]:[],f.getFirstValue=d=>f.exists(d)?f.getAllValues(d)[0]:void 0,f.getMapValue=d=>{let v=f.getFirstValue(d);return v&&typeof v=="object"&&!Array.isArray(v)?v:void 0},f.asHash=()=>o,f},Xr=Db;var Ib=(t,i)=>{let e=Xr(t,i);return e.exists("id")?e.getFirstValue("id"):t.id},Ob=t=>t.trim().split(/[\s\-\u2013\u2014]+/).filter(Boolean).join("-").replace(/[^\p{L}\p{N}\-_]/gu,"").replace(/^-+|-+$/g,"");var qb={shape:Ob,firstRepeat:2};var Rb=(t,i,e)=>{if(!t)return t;let n=t;for(;i.has(n);){let o=(i.get(t)||0)+1;i.set(t,o),n=`${t}-${o+e-1}`}return i.set(n,i.get(n)||0),n},rc=(t,i)=>{if(Array.isArray(t)){for(let e of t)rc(e,i);return}!t||typeof t!="object"||(i(t),"content"in t&&rc(t.content,i))},Nb=(t,i)=>{let e=new Map,n=new Map,o=new Map;for(let f of t){let d=Ib(f,{});if(d==null)continue;let v=d.toString(),b=Rb(i.shape(v),o,i.firstRepeat);e.set(f,b),n.has(v)||n.set(v,b)}return{byNode:e,byName:n,shape:i.shape}},Qd=(t,i=qb)=>{let e=[];return rc(t,n=>{n.name==="head"&&e.push(n)}),Nb(e,i)};function Zd(t){return Array.isArray(t)?t.reduce((i,e)=>Array.isArray(e)?i.concat(Zd(e)):i.concat(e),[]):t}function Lb(t){function i(n,o){if(n==null)return n;if(n instanceof Array)return Zd(n.map(f=>i(f,o))).filter(Boolean);if(typeof n=="string")return i({type:"text",value:n},o);if(n.type==="block"&&o){let f={config:o.config,alias:o.alias},d={config:o.hasOwnProperty("config"),alias:o.hasOwnProperty("alias")};o.config={...f.config},o.alias={...f.alias};try{return e(n,o)}finally{for(let v of["config","alias"])d[v]?o[v]=f[v]:delete o[v]}}return e(n,o)}function e(n,o){let f=t.slice();f.reverse();let d=f.findIndex(v=>v.isFor(n));if(d!==-1){let v=f.slice(d+1),b=v.findIndex($=>$.isFor(n)),C=($=n,O=o,z=i)=>{if(b!==-1)return v[b].fn($,O,z,()=>{})};return typeof f[d].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(n,null,2)),f[d].fn(n,o,i,C)}else{let v={...n};if(v.hasOwnProperty("content"))return i(v.content,o)}}return i.rules=t,i}var Xd=Lb;var Yd=(t,i)=>(e,n,o)=>{if(e.content)return o(e.content,n)};function ep(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function tp(t){return t.reduce((i,e)=>Array.isArray(e)?i.concat(tp(e)):i.concat(e),[])}var Mb=t=>{let i=[];function e(o,f){if(o instanceof Array&&console.warn(`[podlite] Unsupported param for ${o}`),o instanceof Object){for(var d in o)o.hasOwnProperty(d)&&e(d,o[d]);return[]}i.push(ya($o(o),f))}function n(o,f={}){if(o==null)return o;if(o instanceof Array)return tp(o.map(b=>n(b,f)));if(typeof o=="string")return o;let d=i.slice();d.reverse();let v=d.findIndex(b=>b.isFor(o));if(v!==-1)return d[v].fn(o,f,n);{let b={...o};return b.hasOwnProperty("content")&&(b.content=n(b.content,f)),b}}return e(t),n.rules=i,n},zr=Mb;var rp=ui(require("events")),ic=class extends rp.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(i){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=i,this.ons=[],this.emit("ready")}escape(i){return i}write(i){return this.writeRaw(this.escape(i))}writeRaw(i){typeof this.output=="function"?this.output(i):console.log(i)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(i){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",i),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...i){return this.ons=this.ons||[],this.ons.unshift([...i]),this}endWrite=()=>{this.emit("end")};_add_nesting(i){}_remove_nesting(i){}addLevel(i){this._add_nesting(i)}removeLevel(i){this._remove_nesting(i)}},ip=ic;var ba=(t={},i=[])=>{let e=i,n=t.processor||np,o=t.writer;return f.use=d,f.run=v,f.getPlugins=()=>e,f;function f(b){}function d(b,C){if(b instanceof Array)return ba(t,[...e,...C]);if(b instanceof Object){for(var $ in b)b.hasOwnProperty($)&&d($,b[$]);return f}return e.push(ya($o(b),C)),f}function v(b,C){let $="",O=C||o||new ip(ie=>{$=$+ie}),z=typeof O=="function"?new O(ie=>{$=$+ie}):O,M=typeof b=="string"?n(b):b,j=e.slice();j.reverse();let G=Xd(j.map(ie=>ya(ie.rule,ie.fn(z,n,M))).reverse()),J={__anchors:Qd(M),...t.context||{}};z.startWrite(M);let Q=G(M,J);return z.endWrite(),{errors:z.errors,toString:()=>$,valueOf:()=>$,indexingTerms:z.INDEXTERMS,annotations:z.FOOTNOTES,defenitions:z.DEFINITIONS,interator:Q}}};var ap=ui(nc());function gn(t){if(!t||!t.trim())return[];try{return ap.parse(t,{startRule:"attributesOnly"})}catch{return[]}}var Vb=(t,i)=>{let e=Array.isArray(t)?t:[],n=new Set(e.map(f=>f&&f.name).filter(Boolean)),o=i.filter(f=>f&&f.name&&!n.has(f.name));return o.length===0?e:[...e,...o]},Bb=t=>{let i=[];return typeof t.name!="string"||(t.name==="head"&&t.level!==void 0&&t.level!==null&&i.push(`head${t.level}`),t.name==="item"&&t.level!==void 0&&t.level!==null&&i.push(`item${t.level}`),i.push(t.name)),i},sc=(t,i)=>{if(Array.isArray(t)){for(let n of t)sc(n,i);return}if(!t||typeof t!="object")return;let e=t;if(e.type==="config"&&typeof e.name=="string"&&Array.isArray(e.config))i[e.name]=e.config;else if(e.type==="block")for(let n of Bb(e)){let o=i[n];o&&o.length&&(e.config=Vb(e.config,o))}e.content!==void 0&&sc(e.content,e.type==="block"?{...i}:i)},op=t=>(sc(t,{}),t);var Fp=ui(nc());var Gb=()=>t=>{let i=(n,o={})=>{if((n.type=="code"||n.type=="text")&&(n.margin&&o.margin&&o.margin.length>0&&o.margin.length==n.margin.length&&(n.type="para"),n.type==="code")){var f=new RegExp(`^[ ]{0,${n.margin.length}}`,"gm");n.text=n.text.replace(f,"")}if(n.type==="block"){o.margin=typeof n.margin!="string"?"":n.margin;let d={...o};d.nest=(d.nest||0)+1,n.content.map(v=>{i(v,o)})}};var e={};return t.forEach(n=>i(n,e)),t},cp=Gb;var wa=ui(fp());var Kb=()=>t=>{let i=zr({":para":(e,n,o)=>zr({":text":(f,d)=>wa.parse(f.value,{parseAttributes:gn}),":verbatim":(f,d)=>wa.parse(f.value,{parseAttributes:gn})})(e,{...n}),":block":(e,n,o)=>{if("name"in e&&e.name==="pod")return{...e,content:o(e.content,n,o)};let f=Xr(e,n),d="name"in e?e.name:"",v=["code","data","markdown","picture","formula"].includes(d),b=f.getAllValues("allow");if(ep(d)||v&&b.length===0||d==="cell"&&f.exists("allow")&&b.length===0)return e;let C=b.sort(),$=zr({":verbatim":(O,z)=>wa.parse(O.value,{allowed:C,parseAttributes:gn}),":text":(O,z)=>wa.parse(O.value,{allowed:C,parseAttributes:gn}),":block":(O,z)=>i(O,{...z})});return{...e,content:$(e.content,{...n})}}});return i(t,{})},up=Kb;var hp=(t,i)=>{if(t.text=t.text.replace(i,""),t.type!=="para")return;if(!Array.isArray(t.content)){t.content=[t.text];return}let e=t.content[0];typeof e=="string"?t.content[0]=e.replace(i,""):e&&typeof e.value=="string"&&(e.value=e.value.replace(i,""))},dp=()=>t=>{let i=e=>{if(Array.isArray(e))e.forEach(n=>{i(n)});else if(e&&e.type==="block"){let n=/^item(\d+)?/.exec(e.name);if(n){e.name="item",e.level=n[1]||1;let o=(e.config||[]).find(f=>f.name==="checked");if(o&&(e.checked=o.value!==!1&&o.value!==0&&o.value!=="0"),e.content[0]){let f=e.content[0];if(f.text){if(!o){let b=/^\[( |x)\]\s*/,C=b.exec(f.text);C&&(e.checked=C[1]==="x",hp(f,b),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let d=/^(\s*#\s*)/;d.exec(f.text)&&(hp(f,d),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}i(e.content)}};return i(t),t};var pp=()=>t=>{let i=e=>{if(Array.isArray(e))e.forEach(n=>{i(n)});else if(e&&e.type==="block"){let n=/^head(\d+)?/.exec(e.name);if(n&&(e.name="head",e.level=n[1]||1,e.content[0])){let o=e.content[0];if(o.text){let f=/(\s*#\s*)/;f.exec(o.text)&&(o.text=o.text.replace(f,""),e.config={...e.config,numbered:!0})}}i(e.content)}};return i(t),t};var mp=()=>t=>{let i=(f,d)=>(f.name==="item"||f.name==="defn")&&d.name===f.name&&f.level===d.level&&e(f)===e(d),e=f=>Boolean(f.config&&f.config.numbered),n=f=>{let d={};return f.reduce((b,C)=>(C.name==="defn"?i(d,C)?b[b.length-1].push(C):b.push([C]):b.push(C),d=C,b),[]).map(b=>b instanceof Array?b[0].name!=="defn"?b:{type:"list",list:b[0].name==="defn"?"variable":e(b[0])?"ordered":"itemized",level:1,content:[...b]}:(b.content&&b.type!=="fcode"&&(b.content=n(b.content)),b))};return t=(f=>Array.isArray(f)?n(f):(f.type==="block"&&f.name!=="table"&&(f.content=n(f.content)),f))(t),t};var gp=()=>t=>{let i=(d,v)=>(d.name==="item"||d.name==="defn")&&v.name===d.name&&d.level===v.level&&e(d)===e(v)&&n(d)===n(v),e=d=>Boolean(Xr(d,{}).exists("numbered")),n=d=>d.checked!==void 0,o=(d,v=1)=>{let b=M=>M.length>0&&M[M.length-1].type==="list",C=M=>{if(b(M))return M[M.length-1]},$=(M,j)=>j.name&&j.name==="item"&&j.type&&j.type==="block"||j.type==="blankline",O={};return d.reduce((M,j)=>j.name==="item"&&j.type==="block"&&j.level<v?[...M,j]:(j.name==="item"&&j.type==="block"&&(!b(M)||Number(j.level)===v&&C(M).list!==(e(j)?"ordered":n(j)?"task":"itemized"))&&M.push({type:"list",level:j.level,content:[],list:e(j)?"ordered":n(j)?"task":"itemized"}),b(M)&&$(C(M),j)?C(M).content.push(j):M.push(j),M),[]).map(M=>(M.content&&M.type!=="fcode"&&(M.content=o(M.content,Number(M.level||0)+1)),M))};return t=(d=>(Array.isArray(d)?d=o(d):d.type==="block"&&d.name!=="table"&&(d.content=o(d.content)),d))(t),t};var yp=()=>t=>zr({defn:e=>{let n=e.content,o=n.length,f=[],d=!1;for(let v=0;v<o;v++){let b=n[v];if(b.type==="para"&&!d){let C=b.content[0],O=C.value.split(`
21
+ `),z=O.shift(),M={type:"para",name:"term",text:z,content:[{type:"text",value:z}]};f.push(M),O.length==1&&O[0]===""||(C.value=O.join(`
22
+ `),b.text=C.value,f.push(b)),d=!0}else f.push(b)}return e.content=f,e}})(t,{});var Wb=t=>!t||typeof t!="object"?!1:t.type==="set"||t.type==="config"||t.type==="alias"||t.type==="blankline"||t.type==="block"&&(t.name==="comment"||t.name==="boundary"||t.name==="include"),vp=t=>t&&typeof t=="object"&&t.type==="block",ac=t=>{let i=[],e=[];for(let n of t){if(n&&typeof n=="object"&&n.type==="set"&&Array.isArray(n.config)){for(let f of n.config)!f||!f.name||(i=i.filter(d=>d.name!==f.name),i.push(f));continue}let o=n;if(vp(n)&&Array.isArray(n.content)&&(o={...n,content:ac(n.content)}),i.length&&vp(o)&&!Wb(o)){let f=new Set((o.config||[]).map(v=>v&&v.name)),d=i.filter(v=>!f.has(v.name));d.length&&(o={...o,config:[...o.config||[],...d]}),i=[]}e.push(o)}return i.length&&console.warn(`[set] =set directive has no target block in scope: ${i.map(n=>n.name).join(", ")}`),e},bp=()=>t=>Array.isArray(t)?ac(t):t&&typeof t=="object"&&Array.isArray(t.content)?{...t,content:ac(t.content)}:t;function Aa(t){return t.reduce((i,e)=>Array.isArray(e)?i.concat(Aa(e)):i.concat(e),[])}function lc(t){let i=[],e="",n=[],o=!1,f=0;for(;f<t.length;){let d=t[f];if(o){if(d==='"'&&t[f+1]==='"'){e+='"',f+=2;continue}if(d==='"'){o=!1,f++;continue}e+=d,f++;continue}if(d==='"'&&e===""){o=!0,f++;continue}if(d===","){n.push(e),e="",f++;continue}if(d==="\r"){f++;continue}if(d===`
23
+ `){n.push(e),i.push(n),n=[],e="",f++;continue}e+=d,f++}return(e!==""||n.length>0)&&(n.push(e),i.push(n)),i.filter(d=>!(d.length===1&&d[0].trim()===""))}function fc(t){return t.split(/\r?\n/).map(n=>n.split(" ")).filter(n=>!(n.length===1&&n[0].trim()===""))}function Co(t){if(!t||typeof t!="string")return{type:"",params:{}};let i=t.split(";").map(o=>o.trim()),e=(i.shift()||"").toLowerCase(),n={};for(let o of i){if(!o)continue;let f=o.indexOf("=");if(f<0)continue;let d=o.slice(0,f).trim().toLowerCase(),v=o.slice(f+1).trim();(v.startsWith('"')&&v.endsWith('"')||v.startsWith("'")&&v.endsWith("'"))&&(v=v.slice(1,-1)),d&&(n[d]=v)}return{type:e,params:n}}function cc(t,i){let e=null,n=o=>{if(!e){if(Array.isArray(o)){o.forEach(n);return}if(!(!o||typeof o!="object")){if(o.type==="block"&&o.name==="data"&&Xr(o,{}).getFirstValue("key")===i){e=o;return}Array.isArray(o.content)&&o.content.forEach(n)}}};return n(t),e}function _o(t){if(!t||!Array.isArray(t.content))return"";let i=t.content.find(e=>e&&e.type==="verbatim");return i&&typeof i.value=="string"?i.value:""}function Jb(t){let i=[];zr({"row:text":d=>(i.push(d.value),d),"head:text":d=>(i.push(d.value),d)})(t,{});let o=i.join(`
24
+ `).trim().split(/\r?\n/).map(d=>d.trim()).filter(d=>d.length>0);if(o.length!==1)return null;let f=o[0].match(/^(data|file):(\S+)$/);return f?{scheme:f[1],target:f[2]}:null}function Ap(t,i){let e={name:"cell",type:"block",margin:"",content:[{type:"text",value:t}]};return i&&(e.config=[{name:"allow",value:[...i],type:"array"}]),e}function Qb(t,i){let e={name:"row",type:"block",margin:"",content:t};return i&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function uc(t,i=!1,e=[]){return t.map((n,o)=>{let f=n.map(d=>Ap(d.trim(),e));return Qb(f,i&&o===0)})}function $a(t,i="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter(O=>O&&O.type==="block"&&O.name==="row");if(e.length===0)return t;let n=O=>Array.isArray(O.content)?O.content.filter(z=>z&&z.name==="cell"):[],o=O=>Array.isArray(O.config)&&O.config.some(z=>z.name==="header"&&z.value===!0),f=O=>Array.isArray(O.config)&&O.config.some(z=>z.name==="colspan"||z.name==="rowspan"),d=O=>n(O).some(f);if(e.some(d))return t;let v=e.find(o),b=v?n(v).length:Math.max(...e.map(O=>n(O).length));if(b===0)return t;let C=!1,$=t.content.map(O=>{if(!O||O.type!=="block"||O.name!=="row")return O;let z=n(O);if(z.length===b)return O;if(z.length<b){let J=[];for(let Q=z.length;Q<b;Q++)J.push(Ap(""));return console.warn(`[${i}] row has ${z.length} cells, expected ${b} \u2014 padded with ${J.length} empty`),C=!0,{...O,content:[...O.content,...J]}}let M=z.length-b;console.warn(`[${i}] row has ${z.length} cells, expected ${b} \u2014 truncated ${M}`),C=!0;let j=b,G=[];for(let J of O.content||[])J&&J.type==="block"&&J.name==="cell"?j>0&&(G.push(J),j--):G.push(J);return{...O,content:G}});return C?{...t,content:$}:t}function Zb(t){let i=new Set;for(let e of t)if(!(!e||typeof e!="string")&&(/\s\|\s/.test(e)?i.add("pipe"):/\s\+\s/.test(e)?i.add("plus"):e.trim().length>0&&i.add("whitespace"),i.size>1))break;i.size>1&&console.warn(`[table] mixed separator types detected: ${Array.from(i).join(", ")} \u2014 recommend a single style`)}function Xb(t,i){return{type:"block",name:"code",margin:t.margin||"",content:Array.isArray(i.content)?i.content:[],config:Array.isArray(t.config)?t.config:[]}}var oc=(t,i,e)=>{let n=[];for(let o=0;t.length>o;o++)n.push(e(parseInt(t[o],10),parseInt(i[o],10)));return n.join("")},Yb=(t,i)=>{let e=Math.max(...[...t,...i].map(f=>f.length));return t.map(f=>{let d=f+" ".repeat(e-f.length),v=[],b=/\s+[+|\s]\s/g,C;for(;(C=b.exec(d))!=null;){let $="1".repeat(C.index)+"0".repeat(C[0].length);v.push($+"1".repeat(e-$.length))}return v.reduce(($,O)=>oc($,O,(z,M)=>z&M),"1".repeat(e))}).map(f=>oc(f,"",d=>d==0?1:0)).reduce((f,d)=>oc(f,d,(v,b)=>v&b),"1".repeat(e))},wp=(t,i)=>{let n=Aa(t.split(/\n/).filter(f=>f.length>0)).map(f=>{let d=/((1+|0+))/g,v=[],b;for(;(b=d.exec(i))!=null;)b[0][0]!="1"&&v.push(f.substring(b.index,b.index+b[0].length));return v}),o=[];return n.reduce((f,d)=>{for(let v=0;v<d.length;v++)f[v]=(f[v]===void 0?"":f[v])+" "+d[v];return f},o),o},ko=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",$p=t=>{let i=0,e=t.length;return t[i]===""&&i++,e>i&&t[e-1]===""&&e--,t.slice(i,e)},xp=t=>$p(t.split(/\s*\|\s*/).map(i=>i.trim())),kp=t=>$p(t.split(/\s*\+\s*/).map(i=>i.trim())),Cp=t=>t.trim().split(/\s{2,}/).filter(i=>i!==""),_p=t=>{if(t.trim()==="")return[];let e=ko(t);return e==="pipe"?xp(t):e==="plus"?kp(t):Cp(t)},ew=t=>{let i=t.split(/\r?\n/).filter(v=>v.trim()!=="");if(i.length===0)return[];if(i.length===1)return _p(i[0]);let e=ko(i[0]),n=e==="pipe"?xp:e==="plus"?kp:Cp,o=i.map(n),f=Math.max(...o.map(v=>v.length)),d=[];for(let v=0;v<f;v++){let b=o.map(C=>C[v]??"").filter(C=>C!=="");d.push(b.join(" "))}return d},tw=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(n=>n&&n.type==="block"&&n.name!=="cell"&&n.name!=="blankline"))return t;let e=t.content.map(n=>!n||n.type!=="block"||n.name==="cell"||n.name==="blankline"?n:{type:"block",name:"cell",content:[n],margin:n.margin||""});return{...t,content:e}},rw=t=>Array.isArray(t.content)&&t.content.some(i=>i&&i.type==="block"&&(i.name==="row"||i.name==="cell")),Ep=()=>t=>zr({table:(e,n,o)=>{let f=Jb(e);if(f&&f.scheme==="data"){let me=cc(t,f.target);if(!me)return console.warn(`[table] no =data block found for data:${f.target} \u2014 rendered as empty`),{...e,content:[]};let Pe=Xr(me,{}).getFirstValue("mime-type"),{type:ke,params:Xe}=Co(Pe),Re=ke==="text/csv";if(Re||ke==="text/tab-separated-values"){let xe=_o(me),Ne=Re?lc(xe):fc(xe);if(Ne.length===0)return console.warn(`[table] ${Re?"CSV":"TSV"} parse produced no rows for data:${f.target} \u2014 rendered as empty`),{...e,content:[]};let st=Xe.header==="present",ae=Xr(e,{}).getAllValues("allow"),kt={...e,content:uc(Ne,st,ae)};return $a(kt,`table data:${f.target}`)}return console.warn(`[table] =data :key<${f.target}> has non-tabular mime-type ${Pe||"(none)"} \u2014 rendered as =code`),Xb(e,me)}if(rw(e)){let me=(e.content||[]).map(ke=>ke&&ke.name==="row"?tw(ke):ke),Pe=o?o(me,n):me;return $a({...e,content:Pe},"table")}let d=[],v=me=>{d.push(me.value)},b=[];if(zr({"row:text":v,"head:text":v,":separator":me=>{b.push(me.text)}})(e),!d.length)return e;let C=me=>me.split(/\n/).filter(Pe=>Pe.length>0),$=Aa(d.map(C)),O=Aa(b.map(C));Zb($);let z=[];zr({"row:text":me=>{z.push(me.value)}})(e);let M=(me,Pe,ke={})=>({...ke,name:me,type:"block",content:Array.isArray(Pe)?Pe:[Pe]}),j=me=>M("row",me),G=me=>M("row",me,{config:[{name:"header",value:!0,type:"boolean"}]}),J=me=>M("cell",{type:"text",value:me}),Q=Yb($,O),ie=new Set($.map(ko)),de=(ie.has("pipe")||ie.has("plus"))&&ie.has("whitespace"),Ce=me=>de||ko(me)==="whitespace",we=me=>me.split(/\r?\n/).filter(ke=>ke.trim()!=="").length<=1&&Ce(me)?ew(me):wp(me,Q),ce=zr({"row:text":me=>z.length==1?Aa([me.value].map(C)).map(ke=>j((Ce(ke)?_p(ke):wp(ke,Q)).map(J))):j(we(me.value).map(J)),"head:text":me=>G(we(me.value).map(J))})(e);return $a(ce,"table")}})(t,{});function iw(t){return!Array.isArray(t)||t.length===0?[]:t.length===1&&typeof t[0]=="string"&&t[0].includes(",")?t[0].split(",").map(i=>i.trim()).filter(i=>i.length>0):t.map(i=>String(i).trim()).filter(i=>i.length>0)}function Sp(t,i,e){let n=t.trim();if(/^\d+$/.test(n)){let f=parseInt(n,10),d=f-1;if(d<0||d>=e)throw new Error(`column index ${f} out of range (1..${e})`);return d}if(!i)throw new Error(`column name "${t}" requires header=present`);let o=i.indexOf(t);if(o===-1)throw new Error(`column name "${t}" not found in header`);return o}function nw(t,i,e){if(t.length===0)return t;let n=t[0].length,o=e?t[0]:null,f=i.map(d=>Sp(d,o,n));return t.map(d=>f.map(v=>d[v]??""))}function sw(t,i,e){if(!e||t.length===0)return t;let n=[...t[0]];for(let[o,f]of Object.entries(i)){let d=Sp(o,n,n.length);n[d]=String(f)}return[n,...t.slice(1)]}function aw(t,i){let e=Xr(t,{}),n=e.getFirstValue("src"),o=e.getFirstValue("mime-type"),f=e.getMapValue("rename"),d=e.exists("columns"),v=d?iw(e.getAllValues("columns")):null,b=_o(t),C=b.trim().length>0;if(n&&C)throw new Error(":src and inline body are mutually exclusive");if(d&&(!v||v.length===0))throw new Error(":columns must have at least one entry; omit the attribute to render all columns");let $,O,z;if(n){let Q=String(n),ie=Q.match(/^(file|data|http|https|doc):(.+)$/),de=ie?ie[1]:"file",Ce=ie?ie[2]:Q;if(de==="data"){let we=cc(i,Ce);if(!we)return console.warn(`[data-table] no =data block found for data:${Ce} \u2014 rendered as empty`),{...t,name:"table",content:[]};if(o)throw new Error(`:mime-type cannot be declared with :src<data:${Ce}> (inherited from referenced block)`);let ce=Xr(we,{}).getFirstValue("mime-type");if(!ce)return console.warn(`[data-table] =data block ${Ce} has no :mime-type \u2014 rendered as empty`),{...t,name:"table",content:[]};let me=Co(ce);O=me.type,z=me.params.header==="present",$=_o(we)}else return t}else{if(!o)throw new Error("inline body requires :mime-type");let Q=Co(o);O=Q.type,z=Q.params.header==="present",$=b}let M=O==="text/csv";if(!M&&!(O==="text/tab-separated-values"))return console.warn(`[data-table] unsupported mime-type ${O} \u2014 rendered as empty`),{...t,name:"table",content:[]};let G=M?lc($):fc($);if(G.length===0)return console.warn(`[data-table] ${M?"CSV":"TSV"} parse produced no rows \u2014 rendered as empty`),{...t,name:"table",content:[]};v&&(G=nw(G,v,z)),f&&(G=sw(G,f,z));let J={...t,name:"table",content:uc(G,z,e.getAllValues("allow"))};return $a(J,"data-table")}var Tp=()=>t=>zr({"data-table":e=>{try{return aw(e,t)}catch(n){return console.warn(`[data-table] ${n.message}`),{...e,name:"table",content:[]}}}})(t);var uC=new Pp.default({strict:!0,allowUnionTypes:!0});var lw=()=>t=>op(t);function fw(){var t=[];return i.use=e,i.parse=n,i.use(cp),i.use(bp),i.use(dp),i.use(pp),i.use(yp),i.use(Ep),i.use(Tp),i.use(lw),i.use(up),i.use(gp),i.use(mp),i;function i(){}function e(o){if(!["function"].includes(typeof o))throw o;return t.push(o),i}function n(o,f={skipChain:0,podMode:1}){let{skipChain:d=0,podMode:v=1,diagnostics:b}=f,C=Fp.parse(o,{podMode:v,diagnostics:b,blockNames:jd});if(!d)for(let $=0;$<t.length;$++){let O=t[$];C=O(f)(C)}return C}}var np=fw().parse;function hc(t){if(t)throw t}var Qp=ui(dc(),1),xc=ui(jp(),1);function xa(t){if(typeof t!="object"||t===null)return!1;let i=Object.getPrototypeOf(t);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vp(){let t=[],i={run:e,use:n};return i;function e(...o){let f=-1,d=o.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);v(null,...o);function v(b,...C){let $=t[++f],O=-1;if(b){d(b);return}for(;++O<o.length;)(C[O]===null||C[O]===void 0)&&(C[O]=o[O]);o=C,$?cw($,v)(...C):d(null,...C)}}function n(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),i}}function cw(t,i){let e;return n;function n(...d){let v=t.length>d.length,b;v&&d.push(o);try{b=t.apply(this,d)}catch(C){let $=C;if(v&&e)throw $;return o($)}v||(b instanceof Promise?b.then(f,o):b instanceof Error?o(b):f(b))}function o(d,...v){e||(e=!0,i(d,...v))}function f(d){o(null,d)}}var Gp=ui(dc(),1);function Hn(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Bp(t.position):"start"in t||"end"in t?Bp(t):"line"in t||"column"in t?pc(t):""}function pc(t){return Up(t&&t.line)+":"+Up(t&&t.column)}function Bp(t){return pc(t&&t.start)+"-"+pc(t&&t.end)}function Up(t){return t&&typeof t=="number"?t:1}var Fr=class extends Error{constructor(i,e,n){let o=[null,null],f={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(n=e,e=void 0),typeof n=="string"){let d=n.indexOf(":");d===-1?o[1]=n:(o[0]=n.slice(0,d),o[1]=n.slice(d+1))}e&&("type"in e||"position"in e?e.position&&(f=e.position):"start"in e||"end"in e?f=e:("line"in e||"column"in e)&&(f.start=e)),this.name=Hn(e)||"1:1",this.message=typeof i=="object"?i.message:i,this.stack=typeof i=="object"?i.stack:"",this.reason=this.message,this.fatal,this.line=f.start.line,this.column=f.start.column,this.source=o[0],this.ruleId=o[1],this.position=f,this.actual,this.expected,this.file,this.url,this.note}};Fr.prototype.file="";Fr.prototype.name="";Fr.prototype.reason="";Fr.prototype.message="";Fr.prototype.stack="";Fr.prototype.fatal=null;Fr.prototype.column=null;Fr.prototype.line=null;Fr.prototype.source=null;Fr.prototype.ruleId=null;Fr.prototype.position=null;var di=ui(require("path"),1);var mc=ui(require("process"),1);var gc=require("url");function So(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var yc=["history","path","basename","stem","extname","dirname"],ka=class{constructor(i){let e;i?typeof i=="string"||(0,Gp.default)(i)?e={value:i}:So(i)?e={path:i}:e=i:e={},this.data={},this.messages=[],this.history=[],this.cwd=mc.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<yc.length;){let f=yc[n];f in e&&e[f]!==void 0&&(this[f]=f==="history"?[...e[f]]:e[f])}let o;for(o in e)yc.includes(o)||(this[o]=e[o])}get path(){return this.history[this.history.length-1]}set path(i){So(i)&&(i=(0,gc.fileURLToPath)(i)),bc(i,"path"),this.path!==i&&this.history.push(i)}get dirname(){return typeof this.path=="string"?di.default.dirname(this.path):void 0}set dirname(i){Hp(this.basename,"dirname"),this.path=di.default.join(i||"",this.basename)}get basename(){return typeof this.path=="string"?di.default.basename(this.path):void 0}set basename(i){bc(i,"basename"),vc(i,"basename"),this.path=di.default.join(this.dirname||"",i)}get extname(){return typeof this.path=="string"?di.default.extname(this.path):void 0}set extname(i){if(vc(i,"extname"),Hp(this.dirname,"extname"),i){if(i.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=di.default.join(this.dirname,this.stem+(i||""))}get stem(){return typeof this.path=="string"?di.default.basename(this.path,this.extname):void 0}set stem(i){bc(i,"stem"),vc(i,"stem"),this.path=di.default.join(this.dirname||"",i+(this.extname||""))}toString(i){return(this.value||"").toString(i)}message(i,e,n){let o=new Fr(i,e,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(i,e,n){let o=this.message(i,e,n);return o.fatal=null,o}fail(i,e,n){let o=this.message(i,e,n);throw o.fatal=!0,o}};function vc(t,i){if(t&&t.includes(di.default.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+di.default.sep+"`")}function bc(t,i){if(!t)throw new Error("`"+i+"` cannot be empty")}function Hp(t,i){if(!t)throw new Error("Setting `"+i+"` requires `path` to be set too")}var kc=Xp().freeze(),Zp={}.hasOwnProperty;function Xp(){let t=Vp(),i=[],e={},n,o=-1;return f.data=d,f.Parser=void 0,f.Compiler=void 0,f.freeze=v,f.attachers=i,f.use=b,f.parse=C,f.stringify=$,f.run=O,f.runSync=z,f.process=M,f.processSync=j,f;function f(){let G=Xp(),J=-1;for(;++J<i.length;)G.use(...i[J]);return G.data((0,xc.default)(!0,{},e)),G}function d(G,J){return typeof G=="string"?arguments.length===2?($c("data",n),e[G]=J,f):Zp.call(e,G)&&e[G]||null:G?($c("data",n),e=G,f):e}function v(){if(n)return f;for(;++o<i.length;){let[G,...J]=i[o];if(J[0]===!1)continue;J[0]===!0&&(J[0]=void 0);let Q=G.call(f,...J);typeof Q=="function"&&t.use(Q)}return n=!0,o=Number.POSITIVE_INFINITY,f}function b(G,...J){let Q;if($c("use",n),G!=null)if(typeof G=="function")we(G,...J);else if(typeof G=="object")Array.isArray(G)?Ce(G):de(G);else throw new TypeError("Expected usable value, not `"+G+"`");return Q&&(e.settings=Object.assign(e.settings||{},Q)),f;function ie(ce){if(typeof ce=="function")we(ce);else if(typeof ce=="object")if(Array.isArray(ce)){let[me,...Pe]=ce;we(me,...Pe)}else de(ce);else throw new TypeError("Expected usable value, not `"+ce+"`")}function de(ce){Ce(ce.plugins),ce.settings&&(Q=Object.assign(Q||{},ce.settings))}function Ce(ce){let me=-1;if(ce!=null)if(Array.isArray(ce))for(;++me<ce.length;){let Pe=ce[me];ie(Pe)}else throw new TypeError("Expected a list of plugins, not `"+ce+"`")}function we(ce,me){let Pe=-1,ke;for(;++Pe<i.length;)if(i[Pe][0]===ce){ke=i[Pe];break}ke?(xa(ke[1])&&xa(me)&&(me=(0,xc.default)(!0,ke[1],me)),ke[1]=me):i.push([...arguments])}}function C(G){f.freeze();let J=Ca(G),Q=f.Parser;return wc("parse",Q),Kp(Q,"parse")?new Q(String(J),J).parse():Q(String(J),J)}function $(G,J){f.freeze();let Q=Ca(J),ie=f.Compiler;return Ac("stringify",ie),Wp(G),Kp(ie,"compile")?new ie(G,Q).compile():ie(G,Q)}function O(G,J,Q){if(Wp(G),f.freeze(),!Q&&typeof J=="function"&&(Q=J,J=void 0),!Q)return new Promise(ie);ie(null,Q);function ie(de,Ce){t.run(G,Ca(J),we);function we(ce,me,Pe){me=me||G,ce?Ce(ce):de?de(me):Q(null,me,Pe)}}}function z(G,J){let Q,ie;return f.run(G,J,de),Jp("runSync","run",ie),Q;function de(Ce,we){hc(Ce),Q=we,ie=!0}}function M(G,J){if(f.freeze(),wc("process",f.Parser),Ac("process",f.Compiler),!J)return new Promise(Q);Q(null,J);function Q(ie,de){let Ce=Ca(G);f.run(f.parse(Ce),Ce,(ce,me,Pe)=>{if(ce||!me||!Pe)we(ce);else{let ke=f.stringify(me,Pe);ke==null||(dw(ke)?Pe.value=ke:Pe.result=ke),we(ce,Pe)}});function we(ce,me){ce||!me?de(ce):ie?ie(me):J(null,me)}}}function j(G){let J;f.freeze(),wc("processSync",f.Parser),Ac("processSync",f.Compiler);let Q=Ca(G);return f.process(Q,ie),Jp("processSync","process",J),Q;function ie(de){J=!0,hc(de)}}}function Kp(t,i){return typeof t=="function"&&t.prototype&&(uw(t.prototype)||i in t.prototype)}function uw(t){let i;for(i in t)if(Zp.call(t,i))return!0;return!1}function wc(t,i){if(typeof i!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Ac(t,i){if(typeof i!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function $c(t,i){if(i)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Wp(t){if(!xa(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Jp(t,i,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+i+"` instead")}function Ca(t){return hw(t)?t:new ka(t)}function hw(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function dw(t){return typeof t=="string"||(0,Qp.default)(t)}function em(t,i){var{includeImageAlt:e=!0}=i||{};return tm(t,e)}function tm(t,i){return t&&typeof t=="object"&&(t.value||(i?t.alt:"")||"children"in t&&Yp(t.children,i)||Array.isArray(t)&&Yp(t,i))||""}function Yp(t,i){for(var e=[],n=-1;++n<t.length;)e[n]=tm(t[n],i);return e.join("")}function Nt(t,i,e,n){let o=t.length,f=0,d;if(i<0?i=-i>o?0:o+i:i=i>o?o:i,e=e>0?e:0,n.length<1e4)d=Array.from(n),d.unshift(i,e),[].splice.apply(t,d);else for(e&&[].splice.apply(t,[i,e]);f<n.length;)d=n.slice(f,f+1e4),d.unshift(i,0),[].splice.apply(t,d),f+=1e4,i+=1e4}function Dr(t,i){return t.length>0?(Nt(t,t.length,0,i),t):i}var rm={}.hasOwnProperty;function To(t){let i={},e=-1;for(;++e<t.length;)pw(i,t[e]);return i}function pw(t,i){let e;for(e in i){let o=(rm.call(t,e)?t[e]:void 0)||(t[e]={}),f=i[e],d;for(d in f){rm.call(o,d)||(o[d]=[]);let v=f[d];mw(o[d],Array.isArray(v)?v:v?[v]:[])}}}function mw(t,i){let e=-1,n=[];for(;++e<i.length;)(i[e].add==="after"?t:n).push(i[e]);Nt(t,0,0,n)}var im=/[!-/:-@[-`{-~\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 yr=vn(/[A-Za-z]/),Gn=vn(/\d/),nm=vn(/[\dA-Fa-f]/),Xt=vn(/[\dA-Za-z]/),sm=vn(/[!-/:-@[-`{-~]/),Cc=vn(/[#-'*+\--9=?A-Z^-~]/);function yn(t){return t!==null&&(t<32||t===127)}function ut(t){return t!==null&&(t<0||t===32)}function ve(t){return t!==null&&t<-2}function et(t){return t===-2||t===-1||t===32}var Kn=vn(/\s/),Wn=vn(im);function vn(t){return i;function i(e){return e!==null&&t.test(String.fromCharCode(e))}}function De(t,i,e,n){let o=n?n-1:Number.POSITIVE_INFINITY,f=0;return d;function d(b){return et(b)?(t.enter(e),v(b)):i(b)}function v(b){return et(b)&&f++<o?(t.consume(b),v):(t.exit(e),i(b))}}var am={tokenize:gw};function gw(t){let i=t.attempt(this.parser.constructs.contentInitial,n,o),e;return i;function n(v){if(v===null){t.consume(v);return}return t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),De(t,i,"linePrefix")}function o(v){return t.enter("paragraph"),f(v)}function f(v){let b=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=b),e=b,d(v)}function d(v){if(v===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(v);return}return ve(v)?(t.consume(v),t.exit("chunkText"),f):(t.consume(v),d)}}var lm={tokenize:yw},om={tokenize:vw};function yw(t){let i=this,e=[],n=0,o,f,d;return v;function v(de){if(n<e.length){let Ce=e[n];return i.containerState=Ce[1],t.attempt(Ce[0].continuation,b,C)(de)}return C(de)}function b(de){if(n++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,o&&ie();let Ce=i.events.length,we=Ce,ce;for(;we--;)if(i.events[we][0]==="exit"&&i.events[we][1].type==="chunkFlow"){ce=i.events[we][1].end;break}Q(n);let me=Ce;for(;me<i.events.length;)i.events[me][1].end=Object.assign({},ce),me++;return Nt(i.events,we+1,0,i.events.slice(Ce)),i.events.length=me,C(de)}return v(de)}function C(de){if(n===e.length){if(!o)return z(de);if(o.currentConstruct&&o.currentConstruct.concrete)return j(de);i.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return i.containerState={},t.check(om,$,O)(de)}function $(de){return o&&ie(),Q(n),z(de)}function O(de){return i.parser.lazy[i.now().line]=n!==e.length,d=i.now().offset,j(de)}function z(de){return i.containerState={},t.attempt(om,M,j)(de)}function M(de){return n++,e.push([i.currentConstruct,i.containerState]),z(de)}function j(de){if(de===null){o&&ie(),Q(0),t.consume(de);return}return o=o||i.parser.flow(i.now()),t.enter("chunkFlow",{contentType:"flow",previous:f,_tokenizer:o}),G(de)}function G(de){if(de===null){J(t.exit("chunkFlow"),!0),Q(0),t.consume(de);return}return ve(de)?(t.consume(de),J(t.exit("chunkFlow")),n=0,i.interrupt=void 0,v):(t.consume(de),G)}function J(de,Ce){let we=i.sliceStream(de);if(Ce&&we.push(null),de.previous=f,f&&(f.next=de),f=de,o.defineSkip(de.start),o.write(we),i.parser.lazy[de.start.line]){let ce=o.events.length;for(;ce--;)if(o.events[ce][1].start.offset<d&&(!o.events[ce][1].end||o.events[ce][1].end.offset>d))return;let me=i.events.length,Pe=me,ke,Xe;for(;Pe--;)if(i.events[Pe][0]==="exit"&&i.events[Pe][1].type==="chunkFlow"){if(ke){Xe=i.events[Pe][1].end;break}ke=!0}for(Q(n),ce=me;ce<i.events.length;)i.events[ce][1].end=Object.assign({},Xe),ce++;Nt(i.events,Pe+1,0,i.events.slice(me)),i.events.length=ce}}function Q(de){let Ce=e.length;for(;Ce-- >de;){let we=e[Ce];i.containerState=we[1],we[0].exit.call(i,t)}e.length=de}function ie(){o.write([null]),f=void 0,o=void 0,i.containerState._closeFlow=void 0}}function vw(t,i,e){return De(t,t.attempt(this.parser.constructs.document,i,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ts(t){if(t===null||ut(t)||Kn(t))return 1;if(Wn(t))return 2}function bn(t,i,e){let n=[],o=-1;for(;++o<t.length;){let f=t[o].resolveAll;f&&!n.includes(f)&&(i=f(i,e),n.push(f))}return i}var _a={name:"attention",tokenize:ww,resolveAll:bw};function bw(t,i){let e=-1,n,o,f,d,v,b,C,$;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(n=e;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&i.sliceSerialize(t[n][1]).charCodeAt(0)===i.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[n][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;b=t[n][1].end.offset-t[n][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let O=Object.assign({},t[n][1].end),z=Object.assign({},t[e][1].start);fm(O,-b),fm(z,b),d={type:b>1?"strongSequence":"emphasisSequence",start:O,end:Object.assign({},t[n][1].end)},v={type:b>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:z},f={type:b>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[e][1].start)},o={type:b>1?"strong":"emphasis",start:Object.assign({},d.start),end:Object.assign({},v.end)},t[n][1].end=Object.assign({},d.start),t[e][1].start=Object.assign({},v.end),C=[],t[n][1].end.offset-t[n][1].start.offset&&(C=Dr(C,[["enter",t[n][1],i],["exit",t[n][1],i]])),C=Dr(C,[["enter",o,i],["enter",d,i],["exit",d,i],["enter",f,i]]),C=Dr(C,bn(i.parser.constructs.insideSpan.null,t.slice(n+1,e),i)),C=Dr(C,[["exit",f,i],["enter",v,i],["exit",v,i],["exit",o,i]]),t[e][1].end.offset-t[e][1].start.offset?($=2,C=Dr(C,[["enter",t[e][1],i],["exit",t[e][1],i]])):$=0,Nt(t,n-1,e-n+3,C),e=n+C.length-$-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function ww(t,i){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,o=Ts(n),f;return d;function d(b){return t.enter("attentionSequence"),f=b,v(b)}function v(b){if(b===f)return t.consume(b),v;let C=t.exit("attentionSequence"),$=Ts(b),O=!$||$===2&&o||e.includes(b),z=!o||o===2&&$||e.includes(n);return C._open=Boolean(f===42?O:O&&(o||!z)),C._close=Boolean(f===42?z:z&&($||!O)),i(b)}}function fm(t,i){t.column+=i,t.offset+=i,t._bufferIndex+=i}var _c={name:"autolink",tokenize:Aw};function Aw(t,i,e){let n=1;return o;function o(j){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(j),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),f}function f(j){return yr(j)?(t.consume(j),d):Cc(j)?C(j):e(j)}function d(j){return j===43||j===45||j===46||Xt(j)?v(j):C(j)}function v(j){return j===58?(t.consume(j),b):(j===43||j===45||j===46||Xt(j))&&n++<32?(t.consume(j),v):C(j)}function b(j){return j===62?(t.exit("autolinkProtocol"),M(j)):j===null||j===32||j===60||yn(j)?e(j):(t.consume(j),b)}function C(j){return j===64?(t.consume(j),n=0,$):Cc(j)?(t.consume(j),C):e(j)}function $(j){return Xt(j)?O(j):e(j)}function O(j){return j===46?(t.consume(j),n=0,$):j===62?(t.exit("autolinkProtocol").type="autolinkEmail",M(j)):z(j)}function z(j){return(j===45||Xt(j))&&n++<63?(t.consume(j),j===45?z:O):e(j)}function M(j){return t.enter("autolinkMarker"),t.consume(j),t.exit("autolinkMarker"),t.exit("autolink"),i}}var Vi={tokenize:$w,partial:!0};function $w(t,i,e){return De(t,n,"linePrefix");function n(o){return o===null||ve(o)?i(o):e(o)}}var Po={name:"blockQuote",tokenize:xw,continuation:{tokenize:kw},exit:Cw};function xw(t,i,e){let n=this;return o;function o(d){if(d===62){let v=n.containerState;return v.open||(t.enter("blockQuote",{_container:!0}),v.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(d),t.exit("blockQuoteMarker"),f}return e(d)}function f(d){return et(d)?(t.enter("blockQuotePrefixWhitespace"),t.consume(d),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),i):(t.exit("blockQuotePrefix"),i(d))}}function kw(t,i,e){return De(t,t.attempt(Po,i,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Cw(t){t.exit("blockQuote")}var Fo={name:"characterEscape",tokenize:_w};function _w(t,i,e){return n;function n(f){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(f),t.exit("escapeMarker"),o}function o(f){return sm(f)?(t.enter("characterEscapeValue"),t.consume(f),t.exit("characterEscapeValue"),t.exit("characterEscape"),i):e(f)}}var Ec={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:`
25
+ `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var Ew={}.hasOwnProperty;function Ps(t){return Ew.call(Ec,t)?Ec[t]:!1}var Do={name:"characterReference",tokenize:Sw};function Sw(t,i,e){let n=this,o=0,f,d;return v;function v(O){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(O),t.exit("characterReferenceMarker"),b}function b(O){return O===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(O),t.exit("characterReferenceMarkerNumeric"),C):(t.enter("characterReferenceValue"),f=31,d=Xt,$(O))}function C(O){return O===88||O===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(O),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),f=6,d=nm,$):(t.enter("characterReferenceValue"),f=7,d=Gn,$(O))}function $(O){let z;return O===59&&o?(z=t.exit("characterReferenceValue"),d===Xt&&!Ps(n.sliceSerialize(z))?e(O):(t.enter("characterReferenceMarker"),t.consume(O),t.exit("characterReferenceMarker"),t.exit("characterReference"),i)):d(O)&&o++<f?(t.consume(O),$):e(O)}}var Io={name:"codeFenced",tokenize:Tw,concrete:!0};function Tw(t,i,e){let n=this,o={tokenize:we,partial:!0},f={tokenize:Ce,partial:!0},d=this.events[this.events.length-1],v=d&&d[1].type==="linePrefix"?d[2].sliceSerialize(d[1],!0).length:0,b=0,C;return $;function $(ce){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),C=ce,O(ce)}function O(ce){return ce===C?(t.consume(ce),b++,O):(t.exit("codeFencedFenceSequence"),b<3?e(ce):De(t,z,"whitespace")(ce))}function z(ce){return ce===null||ve(ce)?J(ce):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),M(ce))}function M(ce){return ce===null||ut(ce)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),De(t,j,"whitespace")(ce)):ce===96&&ce===C?e(ce):(t.consume(ce),M)}function j(ce){return ce===null||ve(ce)?J(ce):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),G(ce))}function G(ce){return ce===null||ve(ce)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),J(ce)):ce===96&&ce===C?e(ce):(t.consume(ce),G)}function J(ce){return t.exit("codeFencedFence"),n.interrupt?i(ce):Q(ce)}function Q(ce){return ce===null?de(ce):ve(ce)?t.attempt(f,t.attempt(o,de,v?De(t,Q,"linePrefix",v+1):Q),de)(ce):(t.enter("codeFlowValue"),ie(ce))}function ie(ce){return ce===null||ve(ce)?(t.exit("codeFlowValue"),Q(ce)):(t.consume(ce),ie)}function de(ce){return t.exit("codeFenced"),i(ce)}function Ce(ce,me,Pe){let ke=this;return Xe;function Xe(je){return ce.enter("lineEnding"),ce.consume(je),ce.exit("lineEnding"),Re}function Re(je){return ke.parser.lazy[ke.now().line]?Pe(je):me(je)}}function we(ce,me,Pe){let ke=0;return De(ce,Xe,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Xe(xe){return ce.enter("codeFencedFence"),ce.enter("codeFencedFenceSequence"),Re(xe)}function Re(xe){return xe===C?(ce.consume(xe),ke++,Re):ke<b?Pe(xe):(ce.exit("codeFencedFenceSequence"),De(ce,je,"whitespace")(xe))}function je(xe){return xe===null||ve(xe)?(ce.exit("codeFencedFence"),me(xe)):Pe(xe)}}}var Ea={name:"codeIndented",tokenize:Fw},Pw={tokenize:Dw,partial:!0};function Fw(t,i,e){let n=this;return o;function o(C){return t.enter("codeIndented"),De(t,f,"linePrefix",4+1)(C)}function f(C){let $=n.events[n.events.length-1];return $&&$[1].type==="linePrefix"&&$[2].sliceSerialize($[1],!0).length>=4?d(C):e(C)}function d(C){return C===null?b(C):ve(C)?t.attempt(Pw,d,b)(C):(t.enter("codeFlowValue"),v(C))}function v(C){return C===null||ve(C)?(t.exit("codeFlowValue"),d(C)):(t.consume(C),v)}function b(C){return t.exit("codeIndented"),i(C)}}function Dw(t,i,e){let n=this;return o;function o(d){return n.parser.lazy[n.now().line]?e(d):ve(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),o):De(t,f,"linePrefix",4+1)(d)}function f(d){let v=n.events[n.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?i(d):ve(d)?o(d):e(d)}}var Sc={name:"codeText",tokenize:qw,resolve:Iw,previous:Ow};function Iw(t){let i=t.length-4,e=3,n,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[i][1].type==="lineEnding"||t[i][1].type==="space")){for(n=e;++n<i;)if(t[n][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[i][1].type="codeTextPadding",e+=2,i-=2;break}}for(n=e-1,i++;++n<=i;)o===void 0?n!==i&&t[n][1].type!=="lineEnding"&&(o=n):(n===i||t[n][1].type==="lineEnding")&&(t[o][1].type="codeTextData",n!==o+2&&(t[o][1].end=t[n-1][1].end,t.splice(o+2,n-o-2),i-=n-o-2,n=o+2),o=void 0);return t}function Ow(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function qw(t,i,e){let n=this,o=0,f,d;return v;function v(z){return t.enter("codeText"),t.enter("codeTextSequence"),b(z)}function b(z){return z===96?(t.consume(z),o++,b):(t.exit("codeTextSequence"),C(z))}function C(z){return z===null?e(z):z===96?(d=t.enter("codeTextSequence"),f=0,O(z)):z===32?(t.enter("space"),t.consume(z),t.exit("space"),C):ve(z)?(t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),C):(t.enter("codeTextData"),$(z))}function $(z){return z===null||z===32||z===96||ve(z)?(t.exit("codeTextData"),C(z)):(t.consume(z),$)}function O(z){return z===96?(t.consume(z),f++,O):f===o?(t.exit("codeTextSequence"),t.exit("codeText"),i(z)):(d.type="codeTextData",$(z))}}function Oo(t){let i={},e=-1,n,o,f,d,v,b,C;for(;++e<t.length;){for(;e in i;)e=i[e];if(n=t[e],e&&n[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(b=n[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type==="lineEndingBlank"&&(f+=2),f<b.length&&b[f][1].type==="content"))for(;++f<b.length&&b[f][1].type!=="content";)b[f][1].type==="chunkText"&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(n[0]==="enter")n[1].contentType&&(Object.assign(i,Rw(t,e)),e=i[e],C=!0);else if(n[1]._container){for(f=e,o=void 0;f--&&(d=t[f],d[1].type==="lineEnding"||d[1].type==="lineEndingBlank");)d[0]==="enter"&&(o&&(t[o][1].type="lineEndingBlank"),d[1].type="lineEnding",o=f);o&&(n[1].end=Object.assign({},t[o][1].start),v=t.slice(o,e),v.unshift(n),Nt(t,o,e-o+1,v))}}return!C}function Rw(t,i){let e=t[i][1],n=t[i][2],o=i-1,f=[],d=e._tokenizer||n.parser[e.contentType](e.start),v=d.events,b=[],C={},$,O,z=-1,M=e,j=0,G=0,J=[G];for(;M;){for(;t[++o][1]!==M;);f.push(o),M._tokenizer||($=n.sliceStream(M),M.next||$.push(null),O&&d.defineSkip(M.start),M._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write($),M._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),O=M,M=M.next}for(M=e;++z<v.length;)v[z][0]==="exit"&&v[z-1][0]==="enter"&&v[z][1].type===v[z-1][1].type&&v[z][1].start.line!==v[z][1].end.line&&(G=z+1,J.push(G),M._tokenizer=void 0,M.previous=void 0,M=M.next);for(d.events=[],M?(M._tokenizer=void 0,M.previous=void 0):J.pop(),z=J.length;z--;){let Q=v.slice(J[z],J[z+1]),ie=f.pop();b.unshift([ie,ie+Q.length-1]),Nt(t,ie,2,Q)}for(z=-1;++z<b.length;)C[j+b[z][0]]=j+b[z][1],j+=b[z][1]-b[z][0]-1;return C}var Tc={tokenize:Mw,resolve:Lw},Nw={tokenize:zw,partial:!0};function Lw(t){return Oo(t),t}function Mw(t,i){let e;return n;function n(v){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),o(v)}function o(v){return v===null?f(v):ve(v)?t.check(Nw,d,f)(v):(t.consume(v),o)}function f(v){return t.exit("chunkContent"),t.exit("content"),i(v)}function d(v){return t.consume(v),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,o}}function zw(t,i,e){let n=this;return o;function o(d){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),De(t,f,"linePrefix")}function f(d){if(d===null||ve(d))return e(d);let v=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?i(d):t.interrupt(n.parser.constructs.flow,e,i)(d)}}function qo(t,i,e,n,o,f,d,v,b){let C=b||Number.POSITIVE_INFINITY,$=0;return O;function O(Q){return Q===60?(t.enter(n),t.enter(o),t.enter(f),t.consume(Q),t.exit(f),z):Q===null||Q===41||yn(Q)?e(Q):(t.enter(n),t.enter(d),t.enter(v),t.enter("chunkString",{contentType:"string"}),G(Q))}function z(Q){return Q===62?(t.enter(f),t.consume(Q),t.exit(f),t.exit(o),t.exit(n),i):(t.enter(v),t.enter("chunkString",{contentType:"string"}),M(Q))}function M(Q){return Q===62?(t.exit("chunkString"),t.exit(v),z(Q)):Q===null||Q===60||ve(Q)?e(Q):(t.consume(Q),Q===92?j:M)}function j(Q){return Q===60||Q===62||Q===92?(t.consume(Q),M):M(Q)}function G(Q){return Q===40?++$>C?e(Q):(t.consume(Q),G):Q===41?$--?(t.consume(Q),G):(t.exit("chunkString"),t.exit(v),t.exit(d),t.exit(n),i(Q)):Q===null||ut(Q)?$?e(Q):(t.exit("chunkString"),t.exit(v),t.exit(d),t.exit(n),i(Q)):yn(Q)?e(Q):(t.consume(Q),Q===92?J:G)}function J(Q){return Q===40||Q===41||Q===92?(t.consume(Q),G):G(Q)}}function Ro(t,i,e,n,o,f){let d=this,v=0,b;return C;function C(M){return t.enter(n),t.enter(o),t.consume(M),t.exit(o),t.enter(f),$}function $(M){return M===null||M===91||M===93&&!b||M===94&&!v&&"_hiddenFootnoteSupport"in d.parser.constructs||v>999?e(M):M===93?(t.exit(f),t.enter(o),t.consume(M),t.exit(o),t.exit(n),i):ve(M)?(t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),$):(t.enter("chunkString",{contentType:"string"}),O(M))}function O(M){return M===null||M===91||M===93||ve(M)||v++>999?(t.exit("chunkString"),$(M)):(t.consume(M),b=b||!et(M),M===92?z:O)}function z(M){return M===91||M===92||M===93?(t.consume(M),v++,O):O(M)}}function No(t,i,e,n,o,f){let d;return v;function v(z){return t.enter(n),t.enter(o),t.consume(z),t.exit(o),d=z===40?41:z,b}function b(z){return z===d?(t.enter(o),t.consume(z),t.exit(o),t.exit(n),i):(t.enter(f),C(z))}function C(z){return z===d?(t.exit(f),b(d)):z===null?e(z):ve(z)?(t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),De(t,C,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),$(z))}function $(z){return z===d||z===null||ve(z)?(t.exit("chunkString"),C(z)):(t.consume(z),z===92?O:$)}function O(z){return z===d||z===92?(t.consume(z),$):$(z)}}function Jn(t,i){let e;return n;function n(o){return ve(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e=!0,n):et(o)?De(t,n,e?"linePrefix":"lineSuffix")(o):i(o)}}function vr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Pc={name:"definition",tokenize:Vw},jw={tokenize:Bw,partial:!0};function Vw(t,i,e){let n=this,o;return f;function f(b){return t.enter("definition"),Ro.call(n,t,d,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function d(b){return o=vr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),b===58?(t.enter("definitionMarker"),t.consume(b),t.exit("definitionMarker"),Jn(t,qo(t,t.attempt(jw,De(t,v,"whitespace"),De(t,v,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(b)}function v(b){return b===null||ve(b)?(t.exit("definition"),n.parser.defined.includes(o)||n.parser.defined.push(o),i(b)):e(b)}}function Bw(t,i,e){return n;function n(d){return ut(d)?Jn(t,o)(d):e(d)}function o(d){return d===34||d===39||d===40?No(t,De(t,f,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(d):e(d)}function f(d){return d===null||ve(d)?i(d):e(d)}}var Fc={name:"hardBreakEscape",tokenize:Uw};function Uw(t,i,e){return n;function n(f){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(f),o}function o(f){return ve(f)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),i(f)):e(f)}}var Dc={name:"headingAtx",tokenize:Gw,resolve:Hw};function Hw(t,i){let e=t.length-2,n=3,o,f;return t[n][1].type==="whitespace"&&(n+=2),e-2>n&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(n===e-1||e-4>n&&t[e-2][1].type==="whitespace")&&(e-=n+1===e?2:4),e>n&&(o={type:"atxHeadingText",start:t[n][1].start,end:t[e][1].end},f={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},Nt(t,n,e-n+1,[["enter",o,i],["enter",f,i],["exit",f,i],["exit",o,i]])),t}function Gw(t,i,e){let n=this,o=0;return f;function f($){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),d($)}function d($){return $===35&&o++<6?(t.consume($),d):$===null||ut($)?(t.exit("atxHeadingSequence"),n.interrupt?i($):v($)):e($)}function v($){return $===35?(t.enter("atxHeadingSequence"),b($)):$===null||ve($)?(t.exit("atxHeading"),i($)):et($)?De(t,v,"whitespace")($):(t.enter("atxHeadingText"),C($))}function b($){return $===35?(t.consume($),b):(t.exit("atxHeadingSequence"),v($))}function C($){return $===null||$===35||ut($)?(t.exit("atxHeadingText"),v($)):(t.consume($),C)}}var cm=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ic=["pre","script","style","textarea"];var Oc={name:"htmlFlow",tokenize:Jw,resolveTo:Ww,concrete:!0},Kw={tokenize:Qw,partial:!0};function Ww(t){let i=t.length;for(;i--&&!(t[i][0]==="enter"&&t[i][1].type==="htmlFlow"););return i>1&&t[i-2][1].type==="linePrefix"&&(t[i][1].start=t[i-2][1].start,t[i+1][1].start=t[i-2][1].start,t.splice(i-2,2)),t}function Jw(t,i,e){let n=this,o,f,d,v,b;return C;function C(X){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(X),$}function $(X){return X===33?(t.consume(X),O):X===47?(t.consume(X),j):X===63?(t.consume(X),o=3,n.interrupt?i:_t):yr(X)?(t.consume(X),d=String.fromCharCode(X),f=!0,G):e(X)}function O(X){return X===45?(t.consume(X),o=2,z):X===91?(t.consume(X),o=5,d="CDATA[",v=0,M):yr(X)?(t.consume(X),o=4,n.interrupt?i:_t):e(X)}function z(X){return X===45?(t.consume(X),n.interrupt?i:_t):e(X)}function M(X){return X===d.charCodeAt(v++)?(t.consume(X),v===d.length?n.interrupt?i:Re:M):e(X)}function j(X){return yr(X)?(t.consume(X),d=String.fromCharCode(X),G):e(X)}function G(X){return X===null||X===47||X===62||ut(X)?X!==47&&f&&Ic.includes(d.toLowerCase())?(o=1,n.interrupt?i(X):Re(X)):cm.includes(d.toLowerCase())?(o=6,X===47?(t.consume(X),J):n.interrupt?i(X):Re(X)):(o=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(X):f?ie(X):Q(X)):X===45||Xt(X)?(t.consume(X),d+=String.fromCharCode(X),G):e(X)}function J(X){return X===62?(t.consume(X),n.interrupt?i:Re):e(X)}function Q(X){return et(X)?(t.consume(X),Q):ke(X)}function ie(X){return X===47?(t.consume(X),ke):X===58||X===95||yr(X)?(t.consume(X),de):et(X)?(t.consume(X),ie):ke(X)}function de(X){return X===45||X===46||X===58||X===95||Xt(X)?(t.consume(X),de):Ce(X)}function Ce(X){return X===61?(t.consume(X),we):et(X)?(t.consume(X),Ce):ie(X)}function we(X){return X===null||X===60||X===61||X===62||X===96?e(X):X===34||X===39?(t.consume(X),b=X,ce):et(X)?(t.consume(X),we):(b=null,me(X))}function ce(X){return X===null||ve(X)?e(X):X===b?(t.consume(X),Pe):(t.consume(X),ce)}function me(X){return X===null||X===34||X===39||X===60||X===61||X===62||X===96||ut(X)?Ce(X):(t.consume(X),me)}function Pe(X){return X===47||X===62||et(X)?ie(X):e(X)}function ke(X){return X===62?(t.consume(X),Xe):e(X)}function Xe(X){return et(X)?(t.consume(X),Xe):X===null||ve(X)?Re(X):e(X)}function Re(X){return X===45&&o===2?(t.consume(X),st):X===60&&o===1?(t.consume(X),ae):X===62&&o===4?(t.consume(X),ht):X===63&&o===3?(t.consume(X),_t):X===93&&o===5?(t.consume(X),at):ve(X)&&(o===6||o===7)?t.check(Kw,ht,je)(X):X===null||ve(X)?je(X):(t.consume(X),Re)}function je(X){return t.exit("htmlFlowData"),xe(X)}function xe(X){return X===null?Z(X):ve(X)?t.attempt({tokenize:Ne,partial:!0},xe,Z)(X):(t.enter("htmlFlowData"),Re(X))}function Ne(X,Ar,Bt){return Ft;function Ft(Ot){return X.enter("lineEnding"),X.consume(Ot),X.exit("lineEnding"),Lt}function Lt(Ot){return n.parser.lazy[n.now().line]?Bt(Ot):Ar(Ot)}}function st(X){return X===45?(t.consume(X),_t):Re(X)}function ae(X){return X===47?(t.consume(X),d="",kt):Re(X)}function kt(X){return X===62&&Ic.includes(d.toLowerCase())?(t.consume(X),ht):yr(X)&&d.length<8?(t.consume(X),d+=String.fromCharCode(X),kt):Re(X)}function at(X){return X===93?(t.consume(X),_t):Re(X)}function _t(X){return X===62?(t.consume(X),ht):X===45&&o===2?(t.consume(X),_t):Re(X)}function ht(X){return X===null||ve(X)?(t.exit("htmlFlowData"),Z(X)):(t.consume(X),ht)}function Z(X){return t.exit("htmlFlow"),i(X)}}function Qw(t,i,e){return n;function n(o){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),t.attempt(Vi,i,e)}}var qc={name:"htmlText",tokenize:Zw};function Zw(t,i,e){let n=this,o,f,d,v;return b;function b(Z){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(Z),C}function C(Z){return Z===33?(t.consume(Z),$):Z===47?(t.consume(Z),me):Z===63?(t.consume(Z),we):yr(Z)?(t.consume(Z),Xe):e(Z)}function $(Z){return Z===45?(t.consume(Z),O):Z===91?(t.consume(Z),f="CDATA[",d=0,J):yr(Z)?(t.consume(Z),Ce):e(Z)}function O(Z){return Z===45?(t.consume(Z),z):e(Z)}function z(Z){return Z===null||Z===62?e(Z):Z===45?(t.consume(Z),M):j(Z)}function M(Z){return Z===null||Z===62?e(Z):j(Z)}function j(Z){return Z===null?e(Z):Z===45?(t.consume(Z),G):ve(Z)?(v=j,at(Z)):(t.consume(Z),j)}function G(Z){return Z===45?(t.consume(Z),ht):j(Z)}function J(Z){return Z===f.charCodeAt(d++)?(t.consume(Z),d===f.length?Q:J):e(Z)}function Q(Z){return Z===null?e(Z):Z===93?(t.consume(Z),ie):ve(Z)?(v=Q,at(Z)):(t.consume(Z),Q)}function ie(Z){return Z===93?(t.consume(Z),de):Q(Z)}function de(Z){return Z===62?ht(Z):Z===93?(t.consume(Z),de):Q(Z)}function Ce(Z){return Z===null||Z===62?ht(Z):ve(Z)?(v=Ce,at(Z)):(t.consume(Z),Ce)}function we(Z){return Z===null?e(Z):Z===63?(t.consume(Z),ce):ve(Z)?(v=we,at(Z)):(t.consume(Z),we)}function ce(Z){return Z===62?ht(Z):we(Z)}function me(Z){return yr(Z)?(t.consume(Z),Pe):e(Z)}function Pe(Z){return Z===45||Xt(Z)?(t.consume(Z),Pe):ke(Z)}function ke(Z){return ve(Z)?(v=ke,at(Z)):et(Z)?(t.consume(Z),ke):ht(Z)}function Xe(Z){return Z===45||Xt(Z)?(t.consume(Z),Xe):Z===47||Z===62||ut(Z)?Re(Z):e(Z)}function Re(Z){return Z===47?(t.consume(Z),ht):Z===58||Z===95||yr(Z)?(t.consume(Z),je):ve(Z)?(v=Re,at(Z)):et(Z)?(t.consume(Z),Re):ht(Z)}function je(Z){return Z===45||Z===46||Z===58||Z===95||Xt(Z)?(t.consume(Z),je):xe(Z)}function xe(Z){return Z===61?(t.consume(Z),Ne):ve(Z)?(v=xe,at(Z)):et(Z)?(t.consume(Z),xe):Re(Z)}function Ne(Z){return Z===null||Z===60||Z===61||Z===62||Z===96?e(Z):Z===34||Z===39?(t.consume(Z),o=Z,st):ve(Z)?(v=Ne,at(Z)):et(Z)?(t.consume(Z),Ne):(t.consume(Z),o=void 0,kt)}function st(Z){return Z===o?(t.consume(Z),ae):Z===null?e(Z):ve(Z)?(v=st,at(Z)):(t.consume(Z),st)}function ae(Z){return Z===62||Z===47||ut(Z)?Re(Z):e(Z)}function kt(Z){return Z===null||Z===34||Z===39||Z===60||Z===61||Z===96?e(Z):Z===62||ut(Z)?Re(Z):(t.consume(Z),kt)}function at(Z){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(Z),t.exit("lineEnding"),De(t,_t,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _t(Z){return t.enter("htmlTextData"),v(Z)}function ht(Z){return Z===62?(t.consume(Z),t.exit("htmlTextData"),t.exit("htmlText"),i):e(Z)}}var Qn={name:"labelEnd",tokenize:iA,resolveTo:rA,resolveAll:tA},Xw={tokenize:nA},Yw={tokenize:sA},eA={tokenize:aA};function tA(t){let i=-1,e;for(;++i<t.length;)e=t[i][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(i+1,e.type==="labelImage"?4:2),e.type="data",i++);return t}function rA(t,i){let e=t.length,n=0,o,f,d,v;for(;e--;)if(o=t[e][1],f){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[e][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(d){if(t[e][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(f=e,o.type!=="labelLink")){n=2;break}}else o.type==="labelEnd"&&(d=e);let b={type:t[f][1].type==="labelLink"?"link":"image",start:Object.assign({},t[f][1].start),end:Object.assign({},t[t.length-1][1].end)},C={type:"label",start:Object.assign({},t[f][1].start),end:Object.assign({},t[d][1].end)},$={type:"labelText",start:Object.assign({},t[f+n+2][1].end),end:Object.assign({},t[d-2][1].start)};return v=[["enter",b,i],["enter",C,i]],v=Dr(v,t.slice(f+1,f+n+3)),v=Dr(v,[["enter",$,i]]),v=Dr(v,bn(i.parser.constructs.insideSpan.null,t.slice(f+n+4,d-3),i)),v=Dr(v,[["exit",$,i],t[d-2],t[d-1],["exit",C,i]]),v=Dr(v,t.slice(d+1)),v=Dr(v,[["exit",b,i]]),Nt(t,f,t.length,v),t}function iA(t,i,e){let n=this,o=n.events.length,f,d;for(;o--;)if((n.events[o][1].type==="labelImage"||n.events[o][1].type==="labelLink")&&!n.events[o][1]._balanced){f=n.events[o][1];break}return v;function v($){return f?f._inactive?C($):(d=n.parser.defined.includes(vr(n.sliceSerialize({start:f.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume($),t.exit("labelMarker"),t.exit("labelEnd"),b):e($)}function b($){return $===40?t.attempt(Xw,i,d?i:C)($):$===91?t.attempt(Yw,i,d?t.attempt(eA,i,C):C)($):d?i($):C($)}function C($){return f._balanced=!0,e($)}}function nA(t,i,e){return n;function n(b){return t.enter("resource"),t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),Jn(t,o)}function o(b){return b===41?v(b):qo(t,f,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function f(b){return ut(b)?Jn(t,d)(b):v(b)}function d(b){return b===34||b===39||b===40?No(t,Jn(t,v),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):v(b)}function v(b){return b===41?(t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),t.exit("resource"),i):e(b)}}function sA(t,i,e){let n=this;return o;function o(d){return Ro.call(n,t,f,e,"reference","referenceMarker","referenceString")(d)}function f(d){return n.parser.defined.includes(vr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?i(d):e(d)}}function aA(t,i,e){return n;function n(f){return t.enter("reference"),t.enter("referenceMarker"),t.consume(f),t.exit("referenceMarker"),o}function o(f){return f===93?(t.enter("referenceMarker"),t.consume(f),t.exit("referenceMarker"),t.exit("reference"),i):e(f)}}var Rc={name:"labelStartImage",tokenize:oA,resolveAll:Qn.resolveAll};function oA(t,i,e){let n=this;return o;function o(v){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(v),t.exit("labelImageMarker"),f}function f(v){return v===91?(t.enter("labelMarker"),t.consume(v),t.exit("labelMarker"),t.exit("labelImage"),d):e(v)}function d(v){return v===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(v):i(v)}}var Nc={name:"labelStartLink",tokenize:lA,resolveAll:Qn.resolveAll};function lA(t,i,e){let n=this;return o;function o(d){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelLink"),f}function f(d){return d===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(d):i(d)}}var Sa={name:"lineEnding",tokenize:fA};function fA(t,i){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),De(t,i,"linePrefix")}}var Zn={name:"thematicBreak",tokenize:cA};function cA(t,i,e){let n=0,o;return f;function f(b){return t.enter("thematicBreak"),o=b,d(b)}function d(b){return b===o?(t.enter("thematicBreakSequence"),v(b)):et(b)?De(t,d,"whitespace")(b):n<3||b!==null&&!ve(b)?e(b):(t.exit("thematicBreak"),i(b))}function v(b){return b===o?(t.consume(b),n++,v):(t.exit("thematicBreakSequence"),d(b))}}var br={name:"list",tokenize:dA,continuation:{tokenize:pA},exit:gA},uA={tokenize:yA,partial:!0},hA={tokenize:mA,partial:!0};function dA(t,i,e){let n=this,o=n.events[n.events.length-1],f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,d=0;return v;function v(M){let j=n.containerState.type||(M===42||M===43||M===45?"listUnordered":"listOrdered");if(j==="listUnordered"?!n.containerState.marker||M===n.containerState.marker:Gn(M)){if(n.containerState.type||(n.containerState.type=j,t.enter(j,{_container:!0})),j==="listUnordered")return t.enter("listItemPrefix"),M===42||M===45?t.check(Zn,e,C)(M):C(M);if(!n.interrupt||M===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),b(M)}return e(M)}function b(M){return Gn(M)&&++d<10?(t.consume(M),b):(!n.interrupt||d<2)&&(n.containerState.marker?M===n.containerState.marker:M===41||M===46)?(t.exit("listItemValue"),C(M)):e(M)}function C(M){return t.enter("listItemMarker"),t.consume(M),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||M,t.check(Vi,n.interrupt?e:$,t.attempt(uA,z,O))}function $(M){return n.containerState.initialBlankLine=!0,f++,z(M)}function O(M){return et(M)?(t.enter("listItemPrefixWhitespace"),t.consume(M),t.exit("listItemPrefixWhitespace"),z):e(M)}function z(M){return n.containerState.size=f+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,i(M)}}function pA(t,i,e){let n=this;return n.containerState._closeFlow=void 0,t.check(Vi,o,f);function o(v){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,De(t,i,"listItemIndent",n.containerState.size+1)(v)}function f(v){return n.containerState.furtherBlankLines||!et(v)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,d(v)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(hA,i,d)(v))}function d(v){return n.containerState._closeFlow=!0,n.interrupt=void 0,De(t,t.attempt(br,i,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v)}}function mA(t,i,e){let n=this;return De(t,o,"listItemIndent",n.containerState.size+1);function o(f){let d=n.events[n.events.length-1];return d&&d[1].type==="listItemIndent"&&d[2].sliceSerialize(d[1],!0).length===n.containerState.size?i(f):e(f)}}function gA(t){t.exit(this.containerState.type)}function yA(t,i,e){let n=this;return De(t,o,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function o(f){let d=n.events[n.events.length-1];return!et(f)&&d&&d[1].type==="listItemPrefixWhitespace"?i(f):e(f)}}var Lo={name:"setextUnderline",tokenize:bA,resolveTo:vA};function vA(t,i){let e=t.length,n,o,f;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){n=e;break}t[e][1].type==="paragraph"&&(o=e)}else t[e][1].type==="content"&&t.splice(e,1),!f&&t[e][1].type==="definition"&&(f=e);let d={type:"setextHeading",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[o][1].type="setextHeadingText",f?(t.splice(o,0,["enter",d,i]),t.splice(f+1,0,["exit",t[n][1],i]),t[n][1].end=Object.assign({},t[f][1].end)):t[n][1]=d,t.push(["exit",d,i]),t}function bA(t,i,e){let n=this,o=n.events.length,f,d;for(;o--;)if(n.events[o][1].type!=="lineEnding"&&n.events[o][1].type!=="linePrefix"&&n.events[o][1].type!=="content"){d=n.events[o][1].type==="paragraph";break}return v;function v($){return!n.parser.lazy[n.now().line]&&(n.interrupt||d)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),f=$,b($)):e($)}function b($){return $===f?(t.consume($),b):(t.exit("setextHeadingLineSequence"),De(t,C,"lineSuffix")($))}function C($){return $===null||ve($)?(t.exit("setextHeadingLine"),i($)):e($)}}var um={tokenize:wA};function wA(t){let i=this,e=t.attempt(Vi,n,t.attempt(this.parser.constructs.flowInitial,o,De(t,t.attempt(this.parser.constructs.flow,o,t.attempt(Tc,o)),"linePrefix")));return e;function n(f){if(f===null){t.consume(f);return}return t.enter("lineEndingBlank"),t.consume(f),t.exit("lineEndingBlank"),i.currentConstruct=void 0,e}function o(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),i.currentConstruct=void 0,e}}var hm={resolveAll:gm()},dm=mm("string"),pm=mm("text");function mm(t){return{tokenize:i,resolveAll:gm(t==="text"?AA:void 0)};function i(e){let n=this,o=this.parser.constructs[t],f=e.attempt(o,d,v);return d;function d($){return C($)?f($):v($)}function v($){if($===null){e.consume($);return}return e.enter("data"),e.consume($),b}function b($){return C($)?(e.exit("data"),f($)):(e.consume($),b)}function C($){if($===null)return!0;let O=o[$],z=-1;if(O)for(;++z<O.length;){let M=O[z];if(!M.previous||M.previous.call(n,n.previous))return!0}return!1}}}function gm(t){return i;function i(e,n){let o=-1,f;for(;++o<=e.length;)f===void 0?e[o]&&e[o][1].type==="data"&&(f=o,o++):(!e[o]||e[o][1].type!=="data")&&(o!==f+2&&(e[f][1].end=e[o-1][1].end,e.splice(f+2,o-f-2),o=f+2),f=void 0);return t?t(e,n):e}}function AA(t,i){let e=0;for(;++e<=t.length;)if((e===t.length||t[e][1].type==="lineEnding")&&t[e-1][1].type==="data"){let n=t[e-1][1],o=i.sliceStream(n),f=o.length,d=-1,v=0,b;for(;f--;){let C=o[f];if(typeof C=="string"){for(d=C.length;C.charCodeAt(d-1)===32;)v++,d--;if(d)break;d=-1}else if(C===-2)b=!0,v++;else if(C!==-1){f++;break}}if(v){let C={type:e===t.length||b||v<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-v,offset:n.end.offset-v,_index:n.start._index+f,_bufferIndex:f?d:n.start._bufferIndex+d},end:Object.assign({},n.end)};n.end=Object.assign({},C.start),n.start.offset===n.end.offset?Object.assign(n,C):(t.splice(e,0,["enter",C,i],["exit",C,i]),e+=2)}e++}return t}function ym(t,i,e){let n=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},f=[],d=[],v=[],b=!0,C={consume:Ce,enter:we,exit:ce,attempt:ke(me),check:ke(Pe),interrupt:ke(Pe,{interrupt:!0})},$={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:G,sliceSerialize:j,now:J,defineSkip:Q,write:M},O=i.tokenize.call($,C),z;return i.resolveAll&&f.push(i),$;function M(xe){return d=Dr(d,xe),ie(),d[d.length-1]!==null?[]:(Xe(i,0),$.events=bn(f,$.events,$),$.events)}function j(xe,Ne){return xA(G(xe),Ne)}function G(xe){return $A(d,xe)}function J(){return Object.assign({},n)}function Q(xe){o[xe.line]=xe.column,je()}function ie(){let xe;for(;n._index<d.length;){let Ne=d[n._index];if(typeof Ne=="string")for(xe=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===xe&&n._bufferIndex<Ne.length;)de(Ne.charCodeAt(n._bufferIndex));else de(Ne)}}function de(xe){b=void 0,z=xe,O=O(xe)}function Ce(xe){ve(xe)?(n.line++,n.column=1,n.offset+=xe===-3?2:1,je()):xe!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===d[n._index].length&&(n._bufferIndex=-1,n._index++)),$.previous=xe,b=!0}function we(xe,Ne){let st=Ne||{};return st.type=xe,st.start=J(),$.events.push(["enter",st,$]),v.push(st),st}function ce(xe){let Ne=v.pop();return Ne.end=J(),$.events.push(["exit",Ne,$]),Ne}function me(xe,Ne){Xe(xe,Ne.from)}function Pe(xe,Ne){Ne.restore()}function ke(xe,Ne){return st;function st(ae,kt,at){let _t,ht,Z,X;return Array.isArray(ae)?Bt(ae):"tokenize"in ae?Bt([ae]):Ar(ae);function Ar(yt){return $r;function $r(Ut){let or=Ut!==null&&yt[Ut],jr=Ut!==null&&yt.null,pi=[...Array.isArray(or)?or:or?[or]:[],...Array.isArray(jr)?jr:jr?[jr]:[]];return Bt(pi)(Ut)}}function Bt(yt){return _t=yt,ht=0,yt.length===0?at:Ft(yt[ht])}function Ft(yt){return $r;function $r(Ut){return X=Re(),Z=yt,yt.partial||($.currentConstruct=yt),yt.name&&$.parser.constructs.disable.null.includes(yt.name)?Ot(Ut):yt.tokenize.call(Ne?Object.assign(Object.create($),Ne):$,C,Lt,Ot)(Ut)}}function Lt(yt){return b=!0,xe(Z,X),kt}function Ot(yt){return b=!0,X.restore(),++ht<_t.length?Ft(_t[ht]):at}}}function Xe(xe,Ne){xe.resolveAll&&!f.includes(xe)&&f.push(xe),xe.resolve&&Nt($.events,Ne,$.events.length-Ne,xe.resolve($.events.slice(Ne),$)),xe.resolveTo&&($.events=xe.resolveTo($.events,$))}function Re(){let xe=J(),Ne=$.previous,st=$.currentConstruct,ae=$.events.length,kt=Array.from(v);return{restore:at,from:ae};function at(){n=xe,$.previous=Ne,$.currentConstruct=st,$.events.length=ae,v=kt,je()}}function je(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}function $A(t,i){let e=i.start._index,n=i.start._bufferIndex,o=i.end._index,f=i.end._bufferIndex,d;return e===o?d=[t[e].slice(n,f)]:(d=t.slice(e,o),n>-1&&(d[0]=d[0].slice(n)),f>0&&d.push(t[o].slice(0,f))),d}function xA(t,i){let e=-1,n=[],o;for(;++e<t.length;){let f=t[e],d;if(typeof f=="string")d=f;else switch(f){case-5:{d="\r";break}case-4:{d=`
26
+ `;break}case-3:{d=`\r
27
+ `;break}case-2:{d=i?" ":" ";break}case-1:{if(!i&&o)continue;d=" ";break}default:d=String.fromCharCode(f)}o=f===-2,n.push(d)}return n.join("")}var Lc={};Pu(Lc,{attentionMarkers:()=>FA,contentInitial:()=>CA,disable:()=>DA,document:()=>kA,flow:()=>EA,flowInitial:()=>_A,insideSpan:()=>PA,string:()=>SA,text:()=>TA});var kA={[42]:br,[43]:br,[45]:br,[48]:br,[49]:br,[50]:br,[51]:br,[52]:br,[53]:br,[54]:br,[55]:br,[56]:br,[57]:br,[62]:Po},CA={[91]:Pc},_A={[-2]:Ea,[-1]:Ea,[32]:Ea},EA={[35]:Dc,[42]:Zn,[45]:[Lo,Zn],[60]:Oc,[61]:Lo,[95]:Zn,[96]:Io,[126]:Io},SA={[38]:Do,[92]:Fo},TA={[-5]:Sa,[-4]:Sa,[-3]:Sa,[33]:Rc,[38]:Do,[42]:_a,[60]:[_c,qc],[91]:Nc,[92]:[Fc,Fo],[93]:Qn,[95]:_a,[96]:Sc},PA={null:[_a,hm]},FA={null:[42,95]},DA={null:[]};function vm(t={}){let i=To([Lc].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:i,content:n(am),document:n(lm),flow:n(um),string:n(dm),text:n(pm)};return e;function n(o){return f;function f(d){return ym(e,o,d)}}}var bm=/[\0\t\n\r]/g;function wm(){let t=1,i="",e=!0,n;return o;function o(f,d,v){let b=[],C,$,O,z,M;for(f=i+f.toString(d),O=0,i="",e&&(f.charCodeAt(0)===65279&&O++,e=void 0);O<f.length;){if(bm.lastIndex=O,C=bm.exec(f),z=C&&C.index!==void 0?C.index:f.length,M=f.charCodeAt(z),!C){i=f.slice(O);break}if(M===10&&O===z&&n)b.push(-3),n=void 0;else switch(n&&(b.push(-5),n=void 0),O<z&&(b.push(f.slice(O,z)),t+=z-O),M){case 0:{b.push(65533),t++;break}case 9:{for($=Math.ceil(t/4)*4,b.push(-2);t++<$;)b.push(-1);break}case 10:{b.push(-4),t=1;break}default:n=!0,t=1}O=z+1}return v&&(n&&b.push(-5),i&&b.push(i),b.push(null)),b}}function Am(t){for(;!Oo(t););return t}function Mo(t,i){let e=Number.parseInt(t,i);return e<9||e===11||e>13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)===65535||(e&65535)===65534||e>1114111?"\uFFFD":String.fromCharCode(e)}var IA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function zo(t){return t.replace(IA,OA)}function OA(t,i,e){if(i)return i;if(e.charCodeAt(0)===35){let o=e.charCodeAt(1),f=o===120||o===88;return Mo(e.slice(f?2:1),f?16:10)}return Ps(e)||t}var Mc={}.hasOwnProperty,zc=function(t,i,e){return typeof i!="string"&&(e=i,i=void 0),qA(e)(Am(vm(e).document().write(wm()(t,i,!0))))};function qA(t={}){let i=xm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:b(Yt),autolinkProtocol:je,autolinkEmail:je,atxHeading:b(Pi),blockQuote:b(jr),characterEscape:je,characterReference:je,codeFenced:b(pi),codeFencedFenceInfo:C,codeFencedFenceMeta:C,codeIndented:b(pi,C),codeText:b(lr,C),codeTextData:je,data:je,codeFlowValue:je,definition:b(mi),definitionDestinationString:C,definitionLabelString:C,definitionTitleString:C,emphasis:b(Yr),hardBreakEscape:b(Fi),hardBreakTrailing:b(Fi),htmlFlow:b(Ui,C),htmlFlowData:je,htmlText:b(Ui,C),htmlTextData:je,image:b(le),label:C,link:b(Yt),listItem:b(Ae),listItemValue:G,listOrdered:b(Hi,j),listUnordered:b(Hi),paragraph:b(be),reference:Lt,referenceString:C,resourceDestinationString:C,resourceTitleString:C,setextHeading:b(Pi),strong:b(_e),thematicBreak:b(Mt)},exit:{atxHeading:O(),atxHeadingSequence:Pe,autolink:O(),autolinkEmail:or,autolinkProtocol:Ut,blockQuote:O(),characterEscapeValue:xe,characterReferenceMarkerHexadecimal:yt,characterReferenceMarkerNumeric:yt,characterReferenceValue:$r,codeFenced:O(de),codeFencedFence:ie,codeFencedFenceInfo:J,codeFencedFenceMeta:Q,codeFlowValue:xe,codeIndented:O(Ce),codeText:O(at),codeTextData:xe,data:xe,definition:O(),definitionDestinationString:me,definitionLabelString:we,definitionTitleString:ce,emphasis:O(),hardBreakEscape:O(st),hardBreakTrailing:O(st),htmlFlow:O(ae),htmlFlowData:xe,htmlText:O(kt),htmlTextData:xe,image:O(ht),label:X,labelText:Z,lineEnding:Ne,link:O(_t),listItem:O(),listOrdered:O(),listUnordered:O(),paragraph:O(),referenceString:Ot,resourceDestinationString:Ar,resourceTitleString:Bt,resource:Ft,setextHeading:O(Re),setextHeadingLineSequence:Xe,setextHeadingText:ke,strong:O(),thematicBreak:O()}},t.mdastExtensions||[]),e={};return n;function n(ee){let ne={type:"root",children:[]},he=[ne],pe=[],vt=[],Ht={stack:he,tokenStack:pe,config:i,enter:$,exit:z,buffer:C,resume:M,setData:f,getData:d},dt=-1;for(;++dt<ee.length;)if(ee[dt][1].type==="listOrdered"||ee[dt][1].type==="listUnordered")if(ee[dt][0]==="enter")vt.push(dt);else{let Et=vt.pop();dt=o(ee,Et,dt)}for(dt=-1;++dt<ee.length;){let Et=i[ee[dt][0]];Mc.call(Et,ee[dt][1].type)&&Et[ee[dt][1].type].call(Object.assign({sliceSerialize:ee[dt][2].sliceSerialize},Ht),ee[dt][1])}if(pe.length>0){let Et=pe[pe.length-1];(Et[1]||$m).call(Ht,void 0,Et[0])}for(ne.position={start:v(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:v(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},dt=-1;++dt<i.transforms.length;)ne=i.transforms[dt](ne)||ne;return ne}function o(ee,ne,he){let pe=ne-1,vt=-1,Ht=!1,dt,Et,St,xr;for(;++pe<=he;){let pt=ee[pe];if(pt[1].type==="listUnordered"||pt[1].type==="listOrdered"||pt[1].type==="blockQuote"?(pt[0]==="enter"?vt++:vt--,xr=void 0):pt[1].type==="lineEndingBlank"?pt[0]==="enter"&&(dt&&!xr&&!vt&&!St&&(St=pe),xr=void 0):pt[1].type==="linePrefix"||pt[1].type==="listItemValue"||pt[1].type==="listItemMarker"||pt[1].type==="listItemPrefix"||pt[1].type==="listItemPrefixWhitespace"||(xr=void 0),!vt&&pt[0]==="enter"&&pt[1].type==="listItemPrefix"||vt===-1&&pt[0]==="exit"&&(pt[1].type==="listUnordered"||pt[1].type==="listOrdered")){if(dt){let Vr=pe;for(Et=void 0;Vr--;){let Gt=ee[Vr];if(Gt[1].type==="lineEnding"||Gt[1].type==="lineEndingBlank"){if(Gt[0]==="exit")continue;Et&&(ee[Et][1].type="lineEndingBlank",Ht=!0),Gt[1].type="lineEnding",Et=Vr}else if(!(Gt[1].type==="linePrefix"||Gt[1].type==="blockQuotePrefix"||Gt[1].type==="blockQuotePrefixWhitespace"||Gt[1].type==="blockQuoteMarker"||Gt[1].type==="listItemIndent"))break}St&&(!Et||St<Et)&&(dt._spread=!0),dt.end=Object.assign({},Et?ee[Et][1].start:pt[1].end),ee.splice(Et||pe,0,["exit",dt,pt[2]]),pe++,he++}pt[1].type==="listItemPrefix"&&(dt={type:"listItem",_spread:!1,start:Object.assign({},pt[1].start)},ee.splice(pe,0,["enter",dt,pt[2]]),pe++,he++,St=void 0,xr=!0)}}return ee[ne][1]._spread=Ht,he}function f(ee,ne){e[ee]=ne}function d(ee){return e[ee]}function v(ee){return{line:ee.line,column:ee.column,offset:ee.offset}}function b(ee,ne){return he;function he(pe){$.call(this,ee(pe),pe),ne&&ne.call(this,pe)}}function C(){this.stack.push({type:"fragment",children:[]})}function $(ee,ne,he){return this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([ne,he]),ee.position={start:v(ne.start)},ee}function O(ee){return ne;function ne(he){ee&&ee.call(this,he),z.call(this,he)}}function z(ee,ne){let he=this.stack.pop(),pe=this.tokenStack.pop();if(pe)pe[0].type!==ee.type&&(ne?ne.call(this,ee,pe[0]):(pe[1]||$m).call(this,ee,pe[0]));else throw new Error("Cannot close `"+ee.type+"` ("+Hn({start:ee.start,end:ee.end})+"): it\u2019s not open");return he.position.end=v(ee.end),he}function M(){return em(this.stack.pop())}function j(){f("expectingFirstListItemValue",!0)}function G(ee){if(d("expectingFirstListItemValue")){let ne=this.stack[this.stack.length-2];ne.start=Number.parseInt(this.sliceSerialize(ee),10),f("expectingFirstListItemValue")}}function J(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.lang=ee}function Q(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.meta=ee}function ie(){d("flowCodeInside")||(this.buffer(),f("flowCodeInside",!0))}function de(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f("flowCodeInside")}function Ce(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.value=ee.replace(/(\r?\n|\r)$/g,"")}function we(ee){let ne=this.resume(),he=this.stack[this.stack.length-1];he.label=ne,he.identifier=vr(this.sliceSerialize(ee)).toLowerCase()}function ce(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.title=ee}function me(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.url=ee}function Pe(ee){let ne=this.stack[this.stack.length-1];if(!ne.depth){let he=this.sliceSerialize(ee).length;ne.depth=he}}function ke(){f("setextHeadingSlurpLineEnding",!0)}function Xe(ee){let ne=this.stack[this.stack.length-1];ne.depth=this.sliceSerialize(ee).charCodeAt(0)===61?1:2}function Re(){f("setextHeadingSlurpLineEnding")}function je(ee){let ne=this.stack[this.stack.length-1],he=ne.children[ne.children.length-1];(!he||he.type!=="text")&&(he=Ee(),he.position={start:v(ee.start)},ne.children.push(he)),this.stack.push(he)}function xe(ee){let ne=this.stack.pop();ne.value+=this.sliceSerialize(ee),ne.position.end=v(ee.end)}function Ne(ee){let ne=this.stack[this.stack.length-1];if(d("atHardBreak")){let he=ne.children[ne.children.length-1];he.position.end=v(ee.end),f("atHardBreak");return}!d("setextHeadingSlurpLineEnding")&&i.canContainEols.includes(ne.type)&&(je.call(this,ee),xe.call(this,ee))}function st(){f("atHardBreak",!0)}function ae(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.value=ee}function kt(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.value=ee}function at(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.value=ee}function _t(){let ee=this.stack[this.stack.length-1];d("inReference")?(ee.type+="Reference",ee.referenceType=d("referenceType")||"shortcut",delete ee.url,delete ee.title):(delete ee.identifier,delete ee.label),f("referenceType")}function ht(){let ee=this.stack[this.stack.length-1];d("inReference")?(ee.type+="Reference",ee.referenceType=d("referenceType")||"shortcut",delete ee.url,delete ee.title):(delete ee.identifier,delete ee.label),f("referenceType")}function Z(ee){let ne=this.stack[this.stack.length-2],he=this.sliceSerialize(ee);ne.label=zo(he),ne.identifier=vr(he).toLowerCase()}function X(){let ee=this.stack[this.stack.length-1],ne=this.resume(),he=this.stack[this.stack.length-1];f("inReference",!0),he.type==="link"?he.children=ee.children:he.alt=ne}function Ar(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.url=ee}function Bt(){let ee=this.resume(),ne=this.stack[this.stack.length-1];ne.title=ee}function Ft(){f("inReference")}function Lt(){f("referenceType","collapsed")}function Ot(ee){let ne=this.resume(),he=this.stack[this.stack.length-1];he.label=ne,he.identifier=vr(this.sliceSerialize(ee)).toLowerCase(),f("referenceType","full")}function yt(ee){f("characterReferenceType",ee.type)}function $r(ee){let ne=this.sliceSerialize(ee),he=d("characterReferenceType"),pe;he?(pe=Mo(ne,he==="characterReferenceMarkerNumeric"?10:16),f("characterReferenceType")):pe=Ps(ne);let vt=this.stack.pop();vt.value+=pe,vt.position.end=v(ee.end)}function Ut(ee){xe.call(this,ee);let ne=this.stack[this.stack.length-1];ne.url=this.sliceSerialize(ee)}function or(ee){xe.call(this,ee);let ne=this.stack[this.stack.length-1];ne.url="mailto:"+this.sliceSerialize(ee)}function jr(){return{type:"blockquote",children:[]}}function pi(){return{type:"code",lang:null,meta:null,value:""}}function lr(){return{type:"inlineCode",value:""}}function mi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yr(){return{type:"emphasis",children:[]}}function Pi(){return{type:"heading",depth:void 0,children:[]}}function Fi(){return{type:"break"}}function Ui(){return{type:"html",value:""}}function le(){return{type:"image",title:null,url:"",alt:null}}function Yt(){return{type:"link",title:null,url:"",children:[]}}function Hi(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function Ae(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function be(){return{type:"paragraph",children:[]}}function _e(){return{type:"strong",children:[]}}function Ee(){return{type:"text",value:""}}function Mt(){return{type:"thematicBreak"}}}function xm(t,i){let e=-1;for(;++e<i.length;){let n=i[e];Array.isArray(n)?xm(t,n):RA(t,n)}return t}function RA(t,i){let e;for(e in i)if(Mc.call(i,e)){let n=e==="canContainEols"||e==="transforms",f=(Mc.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),d=i[e];d&&(n?t[e]=[...f,...d]:Object.assign(f,d))}}function $m(t,i){throw t?new Error("Cannot close `"+t.type+"` ("+Hn({start:t.start,end:t.end})+"): a different token (`"+i.type+"`, "+Hn({start:i.start,end:i.end})+") is open"):new Error("Cannot close document, a token (`"+i.type+"`, "+Hn({start:i.start,end:i.end})+") is still open")}function jc(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return zc(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var km=jc;var NA={tokenize:jA,partial:!0},_m={tokenize:VA,partial:!0},Em={tokenize:BA,partial:!0},Fs={tokenize:HA,partial:!0},Sm={tokenize:UA,partial:!0},Tm={tokenize:MA,previous:Dm},Pm={tokenize:zA,previous:Uc},Yi={tokenize:LA,previous:Im},Bi={},Vc={text:Bi},Xn=48;for(;Xn<123;)Bi[Xn]=Yi,Xn++,Xn===58?Xn=65:Xn===91&&(Xn=97);Bi[43]=Yi;Bi[45]=Yi;Bi[46]=Yi;Bi[95]=Yi;Bi[72]=[Yi,Pm];Bi[104]=[Yi,Pm];Bi[87]=[Yi,Tm];Bi[119]=[Yi,Tm];function LA(t,i,e){let n=this,o,f;return d;function d(M){return!Cm(M)||!Im(n.previous)||Hc(n.events)?e(M):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),v(M))}function v(M){return Cm(M)?(t.consume(M),v):M===64?(t.consume(M),b):e(M)}function b(M){return M===46?t.check(Fs,z,C)(M):M===45||M===95?t.check(Fs,e,$)(M):Xt(M)?(!f&&Gn(M)&&(f=!0),t.consume(M),b):z(M)}function C(M){return t.consume(M),o=!0,f=void 0,b}function $(M){return t.consume(M),O}function O(M){return M===46?t.check(Fs,e,C)(M):b(M)}function z(M){return o&&!f?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),i(M)):e(M)}}function MA(t,i,e){let n=this;return o;function o(d){return d!==87&&d!==119||!Dm(n.previous)||Hc(n.events)?e(d):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(NA,t.attempt(_m,t.attempt(Em,f),e),e)(d))}function f(d){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),i(d)}}function zA(t,i,e){let n=this;return o;function o(j){return j!==72&&j!==104||!Uc(n.previous)||Hc(n.events)?e(j):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(j),f)}function f(j){return j===84||j===116?(t.consume(j),d):e(j)}function d(j){return j===84||j===116?(t.consume(j),v):e(j)}function v(j){return j===80||j===112?(t.consume(j),b):e(j)}function b(j){return j===83||j===115?(t.consume(j),C):C(j)}function C(j){return j===58?(t.consume(j),$):e(j)}function $(j){return j===47?(t.consume(j),O):e(j)}function O(j){return j===47?(t.consume(j),z):e(j)}function z(j){return j===null||yn(j)||Kn(j)||Wn(j)?e(j):t.attempt(_m,t.attempt(Em,M),e)(j)}function M(j){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),i(j)}}function jA(t,i,e){return n;function n(b){return t.consume(b),o}function o(b){return b===87||b===119?(t.consume(b),f):e(b)}function f(b){return b===87||b===119?(t.consume(b),d):e(b)}function d(b){return b===46?(t.consume(b),v):e(b)}function v(b){return b===null||ve(b)?e(b):i(b)}}function VA(t,i,e){let n,o;return f;function f(b){return b===38?t.check(Sm,v,d)(b):b===46||b===95?t.check(Fs,v,d)(b):b===null||yn(b)||Kn(b)||b!==45&&Wn(b)?v(b):(t.consume(b),f)}function d(b){return b===46?(o=n,n=void 0,t.consume(b),f):(b===95&&(n=!0),t.consume(b),f)}function v(b){return!o&&!n?i(b):e(b)}}function BA(t,i){let e=0;return n;function n(d){return d===38?t.check(Sm,i,o)(d):(d===40&&e++,d===41?t.check(Fs,f,o)(d):Bc(d)?i(d):Fm(d)?t.check(Fs,i,o)(d):(t.consume(d),n))}function o(d){return t.consume(d),n}function f(d){return e--,e<0?i(d):o(d)}}function UA(t,i,e){return n;function n(d){return t.consume(d),o}function o(d){return yr(d)?(t.consume(d),o):d===59?(t.consume(d),f):e(d)}function f(d){return Bc(d)?i(d):e(d)}}function HA(t,i,e){return n;function n(f){return t.consume(f),o}function o(f){return Fm(f)?(t.consume(f),o):Bc(f)?i(f):e(f)}}function Fm(t){return t===33||t===34||t===39||t===41||t===42||t===44||t===46||t===58||t===59||t===60||t===63||t===95||t===126}function Bc(t){return t===null||t===60||ut(t)}function Cm(t){return t===43||t===45||t===46||t===95||Xt(t)}function Dm(t){return t===null||t===40||t===42||t===95||t===126||ut(t)}function Uc(t){return t===null||!yr(t)}function Im(t){return t!==47&&Uc(t)}function Hc(t){let i=t.length,e=!1;for(;i--;){let n=t[i][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){e=!0;break}if(n._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var GA={tokenize:YA,partial:!0};function Gc(){return{document:{[91]:{tokenize:QA,continuation:{tokenize:ZA},exit:XA}},text:{[91]:{tokenize:JA},[93]:{add:"after",tokenize:KA,resolveTo:WA}}}}function KA(t,i,e){let n=this,o=n.events.length,f=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),d;for(;o--;){let b=n.events[o][1];if(b.type==="labelImage"){d=b;break}if(b.type==="gfmFootnoteCall"||b.type==="labelLink"||b.type==="label"||b.type==="image"||b.type==="link")break}return v;function v(b){if(!d||!d._balanced)return e(b);let C=vr(n.sliceSerialize({start:d.end,end:n.now()}));return C.charCodeAt(0)!==94||!f.includes(C.slice(1))?e(b):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),i(b))}}function WA(t,i){let e=t.length,n;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){n=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let o={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},f={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};f.end.column++,f.end.offset++,f.end._bufferIndex++;let d={type:"gfmFootnoteCallString",start:Object.assign({},f.end),end:Object.assign({},t[t.length-1][1].start)},v={type:"chunkString",contentType:"string",start:Object.assign({},d.start),end:Object.assign({},d.end)},b=[t[e+1],t[e+2],["enter",o,i],t[e+3],t[e+4],["enter",f,i],["exit",f,i],["enter",d,i],["enter",v,i],["exit",v,i],["exit",d,i],t[t.length-2],t[t.length-1],["exit",o,i]];return t.splice(e,t.length-e+1,...b),t}function JA(t,i,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),f=0,d;return v;function v(z){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(z),t.exit("gfmFootnoteCallLabelMarker"),b}function b(z){return z!==94?e(z):(t.enter("gfmFootnoteCallMarker"),t.consume(z),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",C)}function C(z){let M;return z===null||z===91||f++>999?e(z):z===93?d?(t.exit("chunkString"),M=t.exit("gfmFootnoteCallString"),o.includes(vr(n.sliceSerialize(M)))?O(z):e(z)):e(z):(t.consume(z),ut(z)||(d=!0),z===92?$:C)}function $(z){return z===91||z===92||z===93?(t.consume(z),f++,C):C(z)}function O(z){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(z),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),i}}function QA(t,i,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),f,d=0,v;return b;function b(G){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(G),t.exit("gfmFootnoteDefinitionLabelMarker"),C}function C(G){return G===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(G),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),$):e(G)}function $(G){let J;return G===null||G===91||d>999?e(G):G===93?v?(J=t.exit("gfmFootnoteDefinitionLabelString"),f=vr(n.sliceSerialize(J)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(G),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),M):e(G):ve(G)?(t.enter("lineEnding"),t.consume(G),t.exit("lineEnding"),d++,$):(t.enter("chunkString").contentType="string",O(G))}function O(G){return G===null||ve(G)||G===91||G===93||d>999?(t.exit("chunkString"),$(G)):(ut(G)||(v=!0),d++,t.consume(G),G===92?z:O)}function z(G){return G===91||G===92||G===93?(t.consume(G),d++,O):O(G)}function M(G){return G===58?(t.enter("definitionMarker"),t.consume(G),t.exit("definitionMarker"),De(t,j,"gfmFootnoteDefinitionWhitespace")):e(G)}function j(G){return o.includes(f)||o.push(f),i(G)}}function ZA(t,i,e){return t.check(Vi,i,t.attempt(GA,i,e))}function XA(t){t.exit("gfmFootnoteDefinition")}function YA(t,i,e){let n=this;return De(t,o,"gfmFootnoteDefinitionIndent",4+1);function o(f){let d=n.events[n.events.length-1];return d&&d[1].type==="gfmFootnoteDefinitionIndent"&&d[2].sliceSerialize(d[1],!0).length===4?i(f):e(f)}}function Kc(t={}){let i=t.singleTilde,e={tokenize:o,resolveAll:n};return i==null&&(i=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function n(f,d){let v=-1;for(;++v<f.length;)if(f[v][0]==="enter"&&f[v][1].type==="strikethroughSequenceTemporary"&&f[v][1]._close){let b=v;for(;b--;)if(f[b][0]==="exit"&&f[b][1].type==="strikethroughSequenceTemporary"&&f[b][1]._open&&f[v][1].end.offset-f[v][1].start.offset===f[b][1].end.offset-f[b][1].start.offset){f[v][1].type="strikethroughSequence",f[b][1].type="strikethroughSequence";let C={type:"strikethrough",start:Object.assign({},f[b][1].start),end:Object.assign({},f[v][1].end)},$={type:"strikethroughText",start:Object.assign({},f[b][1].end),end:Object.assign({},f[v][1].start)},O=[["enter",C,d],["enter",f[b][1],d],["exit",f[b][1],d],["enter",$,d]];Nt(O,O.length,0,bn(d.parser.constructs.insideSpan.null,f.slice(b+1,v),d)),Nt(O,O.length,0,[["exit",$,d],["enter",f[v][1],d],["exit",f[v][1],d],["exit",C,d]]),Nt(f,b-1,v-b+3,O),v=b+O.length-2;break}}for(v=-1;++v<f.length;)f[v][1].type==="strikethroughSequenceTemporary"&&(f[v][1].type="data");return f}function o(f,d,v){let b=this.previous,C=this.events,$=0;return O;function O(M){return b===126&&C[C.length-1][1].type!=="characterEscape"?v(M):(f.enter("strikethroughSequenceTemporary"),z(M))}function z(M){let j=Ts(b);if(M===126)return $>1?v(M):(f.consume(M),$++,z);if($<2&&!i)return v(M);let G=f.exit("strikethroughSequenceTemporary"),J=Ts(M);return G._open=!J||J===2&&Boolean(j),G._close=!j||j===2&&Boolean(J),d(M)}}}var Wc={flow:{null:{tokenize:t$,resolve:e$}}},Om={tokenize:r$,partial:!0};function e$(t,i){let e=-1,n,o,f,d,v,b,C;for(;++e<t.length;){let $=t[e][1];if(f&&($.type==="temporaryTableCellContent"&&(d=d||e,v=e),($.type==="tableCellDivider"||$.type==="tableRow")&&v)){let O={type:"tableContent",start:t[d][1].start,end:t[v][1].end},z={type:"chunkText",start:O.start,end:O.end,contentType:"text"};t.splice(d,v-d+1,["enter",O,i],["enter",z,i],["exit",z,i],["exit",O,i]),e-=v-d-3,d=void 0,v=void 0}if(t[e][0]==="exit"&&b!==void 0&&b+(C?0:1)<e&&($.type==="tableCellDivider"||$.type==="tableRow"&&(b+3<e||t[b][1].type!=="whitespace"))){let O={type:o?"tableDelimiter":n?"tableHeader":"tableData",start:t[b][1].start,end:t[e][1].end};t.splice(e+($.type==="tableCellDivider"?1:0),0,["exit",O,i]),t.splice(b,0,["enter",O,i]),e+=2,b=e+1,C=!0}$.type==="tableRow"&&(f=t[e][0]==="enter",f&&(b=e+1,C=!1)),$.type==="tableDelimiterRow"&&(o=t[e][0]==="enter",o&&(b=e+1,C=!1)),$.type==="tableHead"&&(n=t[e][0]==="enter")}return t}function t$(t,i,e){let n=this,o=[],f=0,d,v;return b;function b(ae){return t.enter("table")._align=o,t.enter("tableHead"),t.enter("tableRow"),ae===124?C(ae):(f++,t.enter("temporaryTableCellContent"),z(ae))}function C(ae){return t.enter("tableCellDivider"),t.consume(ae),t.exit("tableCellDivider"),d=!0,$}function $(ae){return ae===null||ve(ae)?j(ae):et(ae)?(t.enter("whitespace"),t.consume(ae),O):(d&&(d=void 0,f++),ae===124?C(ae):(t.enter("temporaryTableCellContent"),z(ae)))}function O(ae){return et(ae)?(t.consume(ae),O):(t.exit("whitespace"),$(ae))}function z(ae){return ae===null||ae===124||ut(ae)?(t.exit("temporaryTableCellContent"),$(ae)):(t.consume(ae),ae===92?M:z)}function M(ae){return ae===92||ae===124?(t.consume(ae),z):z(ae)}function j(ae){if(ae===null)return e(ae);t.exit("tableRow"),t.exit("tableHead");let kt=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:st,partial:!0},function(at){return n.interrupt=kt,t.enter("tableDelimiterRow"),G(at)},function(at){return n.interrupt=kt,e(at)})(ae)}function G(ae){return ae===null||ve(ae)?Ce(ae):et(ae)?(t.enter("whitespace"),t.consume(ae),J):ae===45?(t.enter("tableDelimiterFiller"),t.consume(ae),v=!0,o.push("none"),Q):ae===58?(t.enter("tableDelimiterAlignment"),t.consume(ae),t.exit("tableDelimiterAlignment"),o.push("left"),ie):ae===124?(t.enter("tableCellDivider"),t.consume(ae),t.exit("tableCellDivider"),G):e(ae)}function J(ae){return et(ae)?(t.consume(ae),J):(t.exit("whitespace"),G(ae))}function Q(ae){return ae===45?(t.consume(ae),Q):(t.exit("tableDelimiterFiller"),ae===58?(t.enter("tableDelimiterAlignment"),t.consume(ae),t.exit("tableDelimiterAlignment"),o[o.length-1]=o[o.length-1]==="left"?"center":"right",de):G(ae))}function ie(ae){return ae===45?(t.enter("tableDelimiterFiller"),t.consume(ae),v=!0,Q):e(ae)}function de(ae){return ae===null||ve(ae)?Ce(ae):et(ae)?(t.enter("whitespace"),t.consume(ae),J):ae===124?(t.enter("tableCellDivider"),t.consume(ae),t.exit("tableCellDivider"),G):e(ae)}function Ce(ae){return t.exit("tableDelimiterRow"),!v||f!==o.length?e(ae):ae===null?we(ae):t.check(Om,we,t.attempt({tokenize:st,partial:!0},De(t,ce,"linePrefix",4),we))(ae)}function we(ae){return t.exit("table"),i(ae)}function ce(ae){return t.enter("tableBody"),me(ae)}function me(ae){return t.enter("tableRow"),ae===124?Pe(ae):(t.enter("temporaryTableCellContent"),Re(ae))}function Pe(ae){return t.enter("tableCellDivider"),t.consume(ae),t.exit("tableCellDivider"),ke}function ke(ae){return ae===null||ve(ae)?xe(ae):et(ae)?(t.enter("whitespace"),t.consume(ae),Xe):ae===124?Pe(ae):(t.enter("temporaryTableCellContent"),Re(ae))}function Xe(ae){return et(ae)?(t.consume(ae),Xe):(t.exit("whitespace"),ke(ae))}function Re(ae){return ae===null||ae===124||ut(ae)?(t.exit("temporaryTableCellContent"),ke(ae)):(t.consume(ae),ae===92?je:Re)}function je(ae){return ae===92||ae===124?(t.consume(ae),Re):Re(ae)}function xe(ae){return t.exit("tableRow"),ae===null?Ne(ae):t.check(Om,Ne,t.attempt({tokenize:st,partial:!0},De(t,me,"linePrefix",4),Ne))(ae)}function Ne(ae){return t.exit("tableBody"),we(ae)}function st(ae,kt,at){return _t;function _t(Z){return ae.enter("lineEnding"),ae.consume(Z),ae.exit("lineEnding"),De(ae,ht,"linePrefix")}function ht(Z){if(n.parser.lazy[n.now().line]||Z===null||ve(Z))return at(Z);let X=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&X&&X[1].type==="linePrefix"&&X[2].sliceSerialize(X[1],!0).length>=4?at(Z):(n._gfmTableDynamicInterruptHack=!0,ae.check(n.parser.constructs.flow,function(Ar){return n._gfmTableDynamicInterruptHack=!1,at(Ar)},function(Ar){return n._gfmTableDynamicInterruptHack=!1,kt(Ar)})(Z))}}}function r$(t,i,e){let n=0;return o;function o(d){return t.enter("check"),t.consume(d),f}function f(d){return d===-1||d===32?(t.consume(d),n++,n===4?i:f):d===null||ut(d)?i(d):e(d)}}var i$={tokenize:n$},Jc={text:{[91]:i$}};function n$(t,i,e){let n=this;return o;function o(v){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(v):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(v),t.exit("taskListCheckMarker"),f)}function f(v){return ut(v)?(t.enter("taskListCheckValueUnchecked"),t.consume(v),t.exit("taskListCheckValueUnchecked"),d):v===88||v===120?(t.enter("taskListCheckValueChecked"),t.consume(v),t.exit("taskListCheckValueChecked"),d):e(v)}function d(v){return v===93?(t.enter("taskListCheckMarker"),t.consume(v),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:s$},i,e)):e(v)}}function s$(t,i,e){let n=this;return De(t,o,"whitespace");function o(f){let d=n.events[n.events.length-1];return(d&&d[1].type==="whitespace"||ve(f))&&f!==null?i(f):e(f)}}function qm(t){return To([Vc,Gc(),Kc(t),Wc,Jc])}function Qc(t,i){let e=String(t);if(typeof i!="string")throw new TypeError("Expected character");let n=0,o=e.indexOf(i);for(;o!==-1;)n++,o=e.indexOf(i,o+i.length);return n}function Zc(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Ta=function(t){if(t==null)return f$;if(typeof t=="string")return l$(t);if(typeof t=="object")return Array.isArray(t)?a$(t):o$(t);if(typeof t=="function")return jo(t);throw new Error("Expected function, string, or object as test")};function a$(t){let i=[],e=-1;for(;++e<t.length;)i[e]=Ta(t[e]);return jo(n);function n(...o){let f=-1;for(;++f<i.length;)if(i[f].call(this,...o))return!0;return!1}}function o$(t){return jo(i);function i(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function l$(t){return jo(i);function i(e){return e&&e.type===t}}function jo(t){return i;function i(...e){return Boolean(t.call(this,...e))}}function f$(){return!0}function Rm(t){return"\x1B[33m"+t+"\x1B[39m"}var c$=!0,u$="skip",Nm=!1,Lm=function(t,i,e,n){typeof i=="function"&&typeof e!="function"&&(n=e,e=i,i=null);let o=Ta(i),f=n?-1:1;d(t,null,[])();function d(v,b,C){let $=typeof v=="object"&&v!==null?v:{},O;return typeof $.type=="string"&&(O=typeof $.tagName=="string"?$.tagName:typeof $.name=="string"?$.name:void 0,Object.defineProperty(z,"name",{value:"node ("+Rm($.type+(O?"<"+O+">":""))+")"})),z;function z(){let M=[],j,G,J;if((!i||o(v,b,C[C.length-1]||null))&&(M=h$(e(v,C)),M[0]===Nm))return M;if(v.children&&M[0]!==u$)for(G=(n?v.children.length:-1)+f,J=C.concat(v);G>-1&&G<v.children.length;){if(j=d(v.children[G],G,J)(),j[0]===Nm)return j;G=typeof j[1]=="number"?j[1]:G+f}return M}}};function h$(t){return Array.isArray(t)?t:typeof t=="number"?[c$,t]:[t]}var d$={}.hasOwnProperty,Xc=function(t,i,e,n){let o,f;typeof i=="string"||i instanceof RegExp?(f=[[i,e]],o=n):(f=i,o=e),o||(o={});let d=Ta(o.ignore||[]),v=p$(f),b=-1;for(;++b<v.length;)Lm(t,"text",C);return t;function C(O,z){let M=-1,j;for(;++M<z.length;){let G=z[M];if(d(G,j?j.children.indexOf(G):void 0,j))return;j=G}if(j)return $(O,z)}function $(O,z){let M=z[z.length-1],j=v[b][0],G=v[b][1],J=0,Q=M.children.indexOf(O),ie=!1,de=[],Ce;j.lastIndex=0;let we=j.exec(O.value);for(;we;){Ce=we.index;let ce={index:we.index,input:we.input,stack:[...z,O]},me=G(...we,ce);if(typeof me=="string"&&(me=me.length>0?{type:"text",value:me}:void 0),me!==!1&&(J!==Ce&&de.push({type:"text",value:O.value.slice(J,Ce)}),Array.isArray(me)?de.push(...me):me&&de.push(me),J=Ce+we[0].length,ie=!0),!j.global)break;we=j.exec(O.value)}return ie?(J<O.value.length&&de.push({type:"text",value:O.value.slice(J)}),M.children.splice(Q,1,...de)):de=[O],Q+de.length}};function p$(t){let i=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)i.push([Mm(t[e][0]),zm(t[e][1])])}else{let e;for(e in t)d$.call(t,e)&&i.push([Mm(e),zm(t[e])])}return i}function Mm(t){return typeof t=="string"?new RegExp(Zc(t),"g"):t}function zm(t){return typeof t=="function"?t:()=>t}var Yc="phrasing",eu=["autolink","link","image","label"],jm={transforms:[w$],enter:{literalAutolink:m$,literalAutolinkEmail:tu,literalAutolinkHttp:tu,literalAutolinkWww:tu},exit:{literalAutolink:b$,literalAutolinkEmail:v$,literalAutolinkHttp:g$,literalAutolinkWww:y$}},Vm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Yc,notInConstruct:eu},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Yc,notInConstruct:eu},{character:":",before:"[ps]",after:"\\/",inConstruct:Yc,notInConstruct:eu}]};function m$(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function tu(t){this.config.enter.autolinkProtocol.call(this,t)}function g$(t){this.config.exit.autolinkProtocol.call(this,t)}function y$(t){this.config.exit.data.call(this,t);let i=this.stack[this.stack.length-1];i.url="http://"+this.sliceSerialize(t)}function v$(t){this.config.exit.autolinkEmail.call(this,t)}function b$(t){this.exit(t)}function w$(t){Xc(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,A$],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,$$]],{ignore:["link","linkReference"]})}function A$(t,i,e,n,o){let f="";if(!Bm(o)||(/^w/i.test(i)&&(e=i+e,i="",f="http://"),!x$(e)))return!1;let d=k$(e+n);if(!d[0])return!1;let v={type:"link",title:null,url:f+i+d[0],children:[{type:"text",value:i+d[0]}]};return d[1]?[v,{type:"text",value:d[1]}]:v}function $$(t,i,e,n){return!Bm(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+i+"@"+e,children:[{type:"text",value:i+"@"+e}]}}function x$(t){let i=t.split(".");return!(i.length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))}function k$(t){let i=/[!"&'),.:;<>?\]}]+$/.exec(t),e,n,o,f;if(i)for(t=t.slice(0,i.index),f=i[0],e=f.indexOf(")"),n=Qc(t,"("),o=Qc(t,")");e!==-1&&n>o;)t+=f.slice(0,e+1),f=f.slice(e+1),e=f.indexOf(")"),o++;return[t,f]}function Bm(t,i){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Kn(e)||Wn(e))&&(!i||e!==47)}function ru(t){return t.label||!t.identifier?t.label||"":zo(t.identifier)}function wr(t){let i=t||{},e=i.now||{},n=i.lineShift||0,o=e.line||1,f=e.column||1;return{move:b,current:d,shift:v};function d(){return{now:{line:o,column:f},lineShift:n}}function v(C){n+=C}function b(C=""){let $=C.split(/\r?\n|\r/g),O=$[$.length-1];return o+=$.length-1,f=$.length===1?f+O.length:1+O.length+n,C}}function Vo(t,i,e){let n=i.indexStack,o=t.children||[],f=wr(e),d=[],v=-1;for(n.push(-1);++v<o.length;){let C=o[v];n[n.length-1]=v,d.push(f.move(i.handle(C,t,i,{before:`
26
28
  `,after:`
27
- `,...f.current()}))),A.type!=="list"&&(n.bulletLastUsed=void 0),v<o.length-1&&h.push(f.move(b(A,o[v+1])))}return s.pop(),h.join("");function b(A,w){let T=n.join.length;for(;T--;){let N=n.join[T](A,w,t,n);if(N===!0||N===1)break;if(typeof N=="number")return`
28
- `.repeat(1+N);if(N===!1)return`
29
+ `,...f.current()}))),C.type!=="list"&&(i.bulletLastUsed=void 0),v<o.length-1&&d.push(f.move(b(C,o[v+1])))}return n.pop(),d.join("");function b(C,$){let O=i.join.length;for(;O--;){let z=i.join[O](C,$,t,i);if(z===!0||z===1)break;if(typeof z=="number")return`
30
+ `.repeat(1+z);if(z===!1)return`
29
31
 
30
32
  <!---->
31
33
 
32
34
  `}return`
33
35
 
34
- `}}var vA=/\r?\n|\r/g;function No(t,n){let e=[],s=0,o=0,f;for(;f=vA.exec(t);)h(t.slice(s,f.index)),e.push(f[0]),s=f.index+f[0].length,o++;return h(t.slice(s)),e.join("");function h(v){e.push(n(v,o,!v))}}function ys(t){if(!t._compiled){let n=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Nm(t,n){return Rm(t,n.inConstruct,!0)&&!Rm(t,n.notInConstruct,!1)}function Rm(t,n,e){if(!n)return e;typeof n=="string"&&(n=[n]);let s=-1;for(;++s<n.length;)if(t.includes(n[s]))return!0;return!1}function ga(t,n,e){let s=(e.before||"")+(n||"")+(e.after||""),o=[],f=[],h={},v=-1;for(;++v<t.unsafe.length;){let w=t.unsafe[v];if(!Nm(t.stack,w))continue;let T=ys(w),N;for(;N=T.exec(s);){let R="before"in w||Boolean(w.atBreak),L="after"in w,V=N.index+(R?N[1].length:0);o.includes(V)?(h[V].before&&!R&&(h[V].before=!1),h[V].after&&!L&&(h[V].after=!1)):(o.push(V),h[V]={before:R,after:L})}}o.sort(bA);let b=e.before?e.before.length:0,A=s.length-(e.after?e.after.length:0);for(v=-1;++v<o.length;){let w=o[v];w<b||w>=A||w+1<A&&o[v+1]===w+1&&h[w].after&&!h[w+1].before&&!h[w+1].after||o[v-1]===w-1&&h[w].before&&!h[w-1].before&&!h[w-1].after||(b!==w&&f.push(Lm(s.slice(b,w),"\\")),b=w,/[!-/:-@[-`{-~]/.test(s.charAt(w))&&(!e.encode||!e.encode.includes(s.charAt(w)))?f.push("\\"):(f.push("&#x"+s.charCodeAt(w).toString(16).toUpperCase()+";"),b++))}return f.push(Lm(s.slice(b,A),e.after)),f.join("")}function bA(t,n){return t-n}function Lm(t,n){let e=/\\(?=[!-/:-@[-`{-~])/g,s=[],o=[],f=t+n,h=-1,v=0,b;for(;b=e.exec(f);)s.push(b.index);for(;++h<s.length;)v!==s[h]&&o.push(t.slice(v,s[h])),o.push("\\"),v=s[h];return o.push(t.slice(v)),o.join("")}function Mm(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:n,gfmFootnoteCall:o,gfmFootnoteCallString:f},exit:{gfmFootnoteDefinition:s,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:v,gfmFootnoteCallString:h}};function t(b){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},b)}function n(){this.buffer()}function e(b){let A=this.resume(),w=this.stack[this.stack.length-1];w.label=A,w.identifier=wr(this.sliceSerialize(b)).toLowerCase()}function s(b){this.exit(b)}function o(b){this.enter({type:"footnoteReference",identifier:"",label:""},b)}function f(){this.buffer()}function h(b){let A=this.resume(),w=this.stack[this.stack.length-1];w.label=A,w.identifier=wr(this.sliceSerialize(b)).toLowerCase()}function v(b){this.exit(b)}}function zm(){return t.peek=n,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(s,o,f,h){let v=Ar(h),b=v.move("[^"),A=f.enter("footnoteReference"),w=f.enter("reference");return b+=v.move(ga(f,Ku(s),{...v.current(),before:b,after:"]"})),w(),A(),b+=v.move("]"),b}function n(){return"["}function e(s,o,f,h){let v=Ar(h),b=v.move("[^"),A=f.enter("footnoteDefinition"),w=f.enter("label");return b+=v.move(ga(f,Ku(s),{...v.current(),before:b,after:"]"})),w(),b+=v.move("]:"+(s.children&&s.children.length>0?" ":"")),v.shift(4),b+=v.move(No(Ro(s,f,v.current()),T)),A(),b;function T(N,R,L){return R?(L?"":" ")+N:N}}}function Lo(t,n,e){let s=n.indexStack,o=t.children||[],f=[],h=-1,v=e.before;s.push(-1);let b=Ar(e);for(;++h<o.length;){let A=o[h],w;if(s[s.length-1]=h,h+1<o.length){let T=n.handle.handlers[o[h+1].type];T&&T.peek&&(T=T.peek),w=T?T(o[h+1],t,n,{before:"",after:"",...b.current()}).charAt(0):""}else w=e.after;f.length>0&&(v==="\r"||v===`
35
- `)&&A.type==="html"&&(f[f.length-1]=f[f.length-1].replace(/(\r?\n|\r)$/," "),v=" ",b=Ar(e),b.move(f.join(""))),f.push(b.move(n.handle(A,t,n,{...b.current(),before:v,after:w}))),v=f[f.length-1].slice(-1)}return s.pop(),f.join("")}var jm={canContainEols:["delete"],enter:{strikethrough:wA},exit:{strikethrough:$A}},Bm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Vm}};Vm.peek=AA;function wA(t){this.enter({type:"delete",children:[]},t)}function $A(t){this.exit(t)}function Vm(t,n,e,s){let o=Ar(s),f=e.enter("emphasis"),h=o.move("~~");return h+=Lo(t,e,{...o.current(),before:h,after:"~"}),h+=o.move("~~"),f(),h}function AA(){return"~"}Wu.peek=xA;function Wu(t,n,e){let s=t.value||"",o="`",f=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(s);)o+="`";for(/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^`|`$/.test(s))&&(s=" "+s+" ");++f<e.unsafe.length;){let h=e.unsafe[f],v=ys(h),b;if(!!h.atBreak)for(;b=v.exec(s);){let A=b.index;s.charCodeAt(A)===10&&s.charCodeAt(A-1)===13&&A--,s=s.slice(0,A)+" "+s.slice(b.index+1)}}return o+s+o}function xA(){return"`"}function Hm(t,n={}){let e=(n.align||[]).concat(),s=n.stringLength||CA,o=[],f=[],h=[],v=[],b=0,A=-1;for(;++A<t.length;){let L=[],V=[],G=-1;for(t[A].length>b&&(b=t[A].length);++G<t[A].length;){let K=kA(t[A][G]);if(n.alignDelimiters!==!1){let re=s(K);V[G]=re,(v[G]===void 0||re>v[G])&&(v[G]=re)}L.push(K)}f[A]=L,h[A]=V}let w=-1;if(typeof e=="object"&&"length"in e)for(;++w<b;)o[w]=Um(e[w]);else{let L=Um(e);for(;++w<b;)o[w]=L}w=-1;let T=[],N=[];for(;++w<b;){let L=o[w],V="",G="";L===99?(V=":",G=":"):L===108?V=":":L===114&&(G=":");let K=n.alignDelimiters===!1?1:Math.max(1,v[w]-V.length-G.length),re=V+"-".repeat(K)+G;n.alignDelimiters!==!1&&(K=V.length+K+G.length,K>v[w]&&(v[w]=K),N[w]=K),T[w]=re}f.splice(1,0,T),h.splice(1,0,N),A=-1;let R=[];for(;++A<f.length;){let L=f[A],V=h[A];w=-1;let G=[];for(;++w<b;){let K=L[w]||"",re="",ce="";if(n.alignDelimiters!==!1){let xe=v[w]-(V[w]||0),ye=o[w];ye===114?re=" ".repeat(xe):ye===99?xe%2?(re=" ".repeat(xe/2+.5),ce=" ".repeat(xe/2-.5)):(re=" ".repeat(xe/2),ce=re):ce=" ".repeat(xe)}n.delimiterStart!==!1&&!w&&G.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&K==="")&&(n.delimiterStart!==!1||w)&&G.push(" "),n.alignDelimiters!==!1&&G.push(re),G.push(K),n.alignDelimiters!==!1&&G.push(ce),n.padding!==!1&&G.push(" "),(n.delimiterEnd!==!1||w!==b-1)&&G.push("|")}R.push(n.delimiterEnd===!1?G.join("").replace(/ +$/,""):G.join(""))}return R.join(`
36
- `)}function kA(t){return t==null?"":String(t)}function CA(t){return t.length}function Um(t){let n=typeof t=="string"?t.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}var Qu={enter:{table:_A,tableData:Gm,tableHeader:Gm,tableRow:SA},exit:{codeText:TA,table:EA,tableData:Ju,tableHeader:Ju,tableRow:Ju}};function _A(t){let n=t._align;this.enter({type:"table",align:n.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function EA(t){this.exit(t),this.setData("inTable")}function SA(t){this.enter({type:"tableRow",children:[]},t)}function Ju(t){this.exit(t)}function Gm(t){this.enter({type:"tableCell",children:[]},t)}function TA(t){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,PA));let e=this.stack[this.stack.length-1];e.value=n,this.exit(t)}function PA(t,n){return n==="|"?n:t}function Zu(t){let n=t||{},e=n.tableCellPadding,s=n.tablePipeAlign,o=n.stringLength,f=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
37
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:h,tableRow:v,tableCell:b,inlineCode:N}};function h(R,L,V,G){return A(w(R,V,G),R.align)}function v(R,L,V,G){let K=T(R,V,G),re=A([K]);return re.slice(0,re.indexOf(`
38
- `))}function b(R,L,V,G){let K=V.enter("tableCell"),re=V.enter("phrasing"),ce=Lo(R,V,{...G,before:f,after:f});return re(),K(),ce}function A(R,L){return Hm(R,{align:L,alignDelimiters:s,padding:e,stringLength:o})}function w(R,L,V){let G=R.children,K=-1,re=[],ce=L.enter("table");for(;++K<G.length;)re[K]=T(G[K],L,V);return ce(),re}function T(R,L,V){let G=R.children,K=-1,re=[],ce=L.enter("tableRow");for(;++K<G.length;)re[K]=b(G[K],R,L,V);return ce(),re}function N(R,L,V){let G=Wu(R,L,V);return V.stack.includes("tableCell")&&(G=G.replace(/\|/g,"\\$&")),G}}function Km(t){let n=t.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function Wm(t){let n=t.options.listItemIndent||"tab";if(n===1||n==="1")return"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function Jm(t,n,e,s){let o=Wm(e),f=e.bulletCurrent||Km(e);n&&n.type==="list"&&n.ordered&&(f=(typeof n.start=="number"&&n.start>-1?n.start:1)+(e.options.incrementListMarker===!1?0:n.children.indexOf(t))+f);let h=f.length+1;(o==="tab"||o==="mixed"&&(n&&n.type==="list"&&n.spread||t.spread))&&(h=Math.ceil(h/4)*4);let v=Ar(s);v.move(f+" ".repeat(h-f.length)),v.shift(h);let b=e.enter("listItem"),A=No(Ro(t,e,v.current()),w);return b(),A;function w(T,N,R){return N?(R?"":" ".repeat(h))+T:(R?f:f+" ".repeat(h-f.length))+T}}var Zm={exit:{taskListCheckValueChecked:Qm,taskListCheckValueUnchecked:Qm,paragraph:FA}},Xm={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:DA}};function Qm(t){let n=this.stack[this.stack.length-2];n.checked=t.type==="taskListCheckValueChecked"}function FA(t){let n=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],s=n.children,o=e.children[0],f=-1,h;if(n&&n.type==="listItem"&&typeof n.checked=="boolean"&&o&&o.type==="text"){for(;++f<s.length;){let v=s[f];if(v.type==="paragraph"){h=v;break}}h===e&&(o.value=o.value.slice(1),o.value.length===0?e.children.shift():e.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,e.position.start=Object.assign({},o.position.start)))}this.exit(t)}function DA(t,n,e,s){let o=t.children[0],f=typeof t.checked=="boolean"&&o&&o.type==="paragraph",h="["+(t.checked?"x":" ")+"] ",v=Ar(s);f&&v.move(h);let b=Jm(t,n,e,{...s,...v.current()});return f&&(b=b.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,A)),b;function A(w){return w+h}}function Xu(){return[Im,Mm(),jm,Qu,Zm]}function Yu(t){return{extensions:[Om,zm(),Bm,Zu(t),Xm]}}function ec(t={}){let n=this.data();e("micromarkExtensions",Em(t)),e("fromMarkdownExtensions",Xu()),e("toMarkdownExtensions",Yu(t));function e(s,o){(n[s]?n[s]:n[s]=[]).push(o)}}var eg={tokenize:IA,concrete:!0},Ym={tokenize:OA,partial:!0};function IA(t,n,e){let s=this,o=s.events[s.events.length-1],f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,h=0;return v;function v(re){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),b(re)}function b(re){return re===36?(t.consume(re),h++,b):h<2?e(re):(t.exit("mathFlowFenceSequence"),Fe(t,A,"whitespace")(re))}function A(re){return re===null||ge(re)?T(re):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),w(re))}function w(re){return re===null||ge(re)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),T(re)):re===36?e(re):(t.consume(re),w)}function T(re){return t.exit("mathFlowFence"),s.interrupt?n(re):t.attempt(Ym,N,G)(re)}function N(re){return t.attempt({tokenize:K,partial:!0},G,R)(re)}function R(re){return(f?Fe(t,L,"linePrefix",f+1):L)(re)}function L(re){return re===null?G(re):ge(re)?t.attempt(Ym,N,G)(re):(t.enter("mathFlowValue"),V(re))}function V(re){return re===null||ge(re)?(t.exit("mathFlowValue"),L(re)):(t.consume(re),V)}function G(re){return t.exit("mathFlow"),n(re)}function K(re,ce,xe){let ye=0;return Fe(re,le,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function le(Ae){return re.enter("mathFlowFence"),re.enter("mathFlowFenceSequence"),de(Ae)}function de(Ae){return Ae===36?(ye++,re.consume(Ae),de):ye<h?xe(Ae):(re.exit("mathFlowFenceSequence"),Fe(re,Te,"whitespace")(Ae))}function Te(Ae){return Ae===null||ge(Ae)?(re.exit("mathFlowFence"),ce(Ae)):xe(Ae)}}}function OA(t,n,e){let s=this;return o;function o(h){return h===null?n(h):(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),f)}function f(h){return s.parser.lazy[s.now().line]?e(h):n(h)}}function tg(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:s,resolve:qA,previous:RA};function s(o,f,h){let v=this,b=0,A,w;return T;function T(G){return o.enter("mathText"),o.enter("mathTextSequence"),N(G)}function N(G){return G===36?(o.consume(G),b++,N):b<2&&!e?h(G):(o.exit("mathTextSequence"),R(G))}function R(G){return G===null?h(G):G===36?(w=o.enter("mathTextSequence"),A=0,V(G)):G===32?(o.enter("space"),o.consume(G),o.exit("space"),R):ge(G)?(o.enter("lineEnding"),o.consume(G),o.exit("lineEnding"),R):(o.enter("mathTextData"),L(G))}function L(G){return G===null||G===32||G===36||ge(G)?(o.exit("mathTextData"),R(G)):(o.consume(G),L)}function V(G){return G===36?(o.consume(G),A++,V):A===b?(o.exit("mathTextSequence"),o.exit("mathText"),f(G)):(w.type="mathTextData",L(G))}}}function qA(t){let n=t.length-4,e=3,s,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[n][1].type==="lineEnding"||t[n][1].type==="space")){for(s=e;++s<n;)if(t[s][1].type==="mathTextData"){t[n][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,n-=2;break}}for(s=e-1,n++;++s<=n;)o===void 0?s!==n&&t[s][1].type!=="lineEnding"&&(o=s):(s===n||t[s][1].type==="lineEnding")&&(t[o][1].type="mathTextData",s!==o+2&&(t[o][1].end=t[s-1][1].end,t.splice(o+2,s-o-2),n-=s-o-2,s=o+2),o=void 0);return t}function RA(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function tc(t){return{flow:{[36]:eg},text:{[36]:tg(t)}}}function rg(t,n){let e=String(t),s=e.indexOf(n),o=s,f=0,h=0;if(typeof n!="string"||n.length!==1)throw new Error("Expected character");for(;s!==-1;)s===o?++f>h&&(h=f):f=1,o=s+1,s=e.indexOf(n,o);return h}function rc(){return{enter:{mathFlow:t,mathFlowFenceMeta:n,mathText:f},exit:{mathFlow:o,mathFlowFence:s,mathFlowFenceMeta:e,mathFlowValue:v,mathText:h,mathTextData:v}};function t(b){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},b)}function n(){this.buffer()}function e(){let b=this.resume(),A=this.stack[this.stack.length-1];A.meta=b}function s(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function o(b){let A=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),w=this.exit(b);w.value=A,w.data.hChildren[0].value=A,this.setData("mathFlowInside")}function f(b){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},b),this.buffer()}function h(b){let A=this.resume(),w=this.exit(b);w.value=A,w.data.hChildren[0].value=A}function v(b){this.config.enter.data.call(this,b),this.config.exit.data.call(this,b)}}function ic(t){let n=(t||{}).singleDollarTextMath;return n==null&&(n=!0),s.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
39
- `,inConstruct:"mathFlowMeta"},{character:"$",after:n?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:s}};function e(f,h,v,b){let A=f.value||"",w=Ar(b),T="$".repeat(Math.max(rg(A,"$")+1,2)),N=v.enter("mathFlow"),R=w.move(T);if(f.meta){let L=v.enter("mathFlowMeta");R+=w.move(ga(v,f.meta,{before:R,after:`
40
- `,encode:["$"],...w.current()})),L()}return R+=w.move(`
41
- `),A&&(R+=w.move(A+`
42
- `)),R+=w.move(T),N(),R}function s(f,h,v){let b=f.value||"",A=1;for(n||A++;new RegExp("(^|[^$])"+"\\$".repeat(A)+"([^$]|$)").test(b);)A++;let w="$".repeat(A);/[^ \r\n]/.test(b)&&(/^[ \r\n]/.test(b)&&/[ \r\n]$/.test(b)||/^\$|\$$/.test(b))&&(b=" "+b+" ");let T=-1;for(;++T<v.unsafe.length;){let N=v.unsafe[T],R=ys(N),L;if(!!N.atBreak)for(;L=R.exec(b);){let V=L.index;b.codePointAt(V)===10&&b.codePointAt(V-1)===13&&V--,b=b.slice(0,V)+" "+b.slice(L.index+1)}}return w+b+w}function o(){return"$"}}function nc(t={}){let n=this.data();e("micromarkExtensions",tc(t)),e("fromMarkdownExtensions",rc()),e("toMarkdownExtensions",ic(t));function e(s,o){(n[s]?n[s]:n[s]=[]).push(o)}}var Mo=(t,{lineOffset:n}={lineOffset:0})=>{let e=mu().use(gm).use(ec).use(nc).parse(t),s={},o=(v=>b=>{let{start:A,end:w}=b;return{start:{...A,line:A.line+v},end:{...w,line:w.line+v}}})(n);sa({processor:1}).use({"*:*":(v,b)=>(A,w,T)=>{A.children&&T(A.children,{...w})}}).use({":definition":(v,b)=>(A,w,T)=>{s[A.identifier]=A}}).run(e);let f=[];return sa({processor:1}).use({"*:*":(v,b)=>(A,w,T)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(A,null,2)),A.children&&T(A.children,{...w})}}).use({":root":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return jd({},T(N,w))},":math":(v,b)=>(A,w,T)=>{let{value:N,children:R,position:L,...V}=A;return Bd({value:N,location:o(L)})},":inlineMath":(v,b)=>(A,w,T)=>{let{value:N,children:R,position:L,...V}=A;return Ld(N)},":heading":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({type:"block",level:A.depth,name:"head",location:o(R)},T(N,w))},":text":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return A.value},":list":(v,b)=>(A,w,T)=>{let N=w.listLevel||0,{children:R,position:L,...V}=A;return Pr({type:"list",level:N+1,list:A.ordered?"ordered":"itemized"},T(R,{...w,listLevel:N+1,ordered:A.ordered}))},":listItem":(v,b)=>(A,w,T)=>{let N=w.listLevel||0,{children:R,position:L,checked:V,...G}=A,K={name:"item",type:"block",level:w.listLevel,location:o(L)};return V!=null&&(K.checked=V,K.config=[{name:"checked",value:V,type:"boolean"}]),Pr(K,T(R,{...w,listLevel:N,ordered:A.ordered}))},":paragraph":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({type:"para",location:o(R),text:"text",margin:""},T(N,{...w}))},":linkReference":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A,V=s[L.identifier],G=(V==null?void 0:V.url)||"";return Gf({meta:G},T(N,{...w}))},":definition":(v,b)=>(A,w,T)=>null,":inlineCode":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return yo({name:"C"},[A.value])},":strong":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return yo({name:"B"},T(N,{...w}))},":emphasis":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return yo({name:"I"},T(N,{...w}))},":link":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Gf({meta:A.url},T(N,{...w}))},":html":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({type:"block",name:"Html",location:o(R)},[na(A.value)])},":code":(v,b)=>(A,w,T)=>{let{children:N,position:R,lang:L,meta:V,...G}=A;if(L==="mermaid"||L==="diagram")return Pr({type:"block",name:"Mermaid",config:[],location:o(R)},[na(A.value)]);let K=[];return L&&K.push({name:"lang",value:L,type:"string"}),V&&K.push(...Qf(V)),Pr({type:"block",name:"code",config:K,location:o(R)},[na(A.value)])},":image":(v,b)=>(A,w,T)=>{let{title:N,alt:R,url:L,position:V,...G}=A,K=[],re=[zd(L,R)];return N&&re.push(Md([N])),Pr({type:"block",name:"Image",config:K,location:o(V)},re)},":thematicBreak":(v,b)=>(A,w,T)=>null,":blockquote":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({name:"nested",location:o(R)},T(N,{...w}))},":table":(v,b)=>(A,w,T)=>{let{children:N,position:R,align:L,...V}=A;return Pr({name:"table",location:o(R),align:L},T(N,{...w,isHeaderUsed:0}))},":tableRow":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A,V=w.isHeaderUsed++,G={name:"row",location:o(R)};return V||(G.config=[{name:"header",value:!0,type:"boolean"}]),Pr(G,T(N,{...w}))},":tableCell":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Pr({name:"cell",location:o(R)},T(N,{...w}))},":delete":(v,b)=>(A,w,T)=>{let{children:N,position:R,...L}=A;return Nd(T(N,{...w}))},":break":(v,b)=>(A,w,T)=>null}).run(e).interator};var zo={toAst:(t,n)=>(e,s)=>{if(typeof e!="string"&&"type"in e&&"content"in e&&e.type==="block"){let o=e.content[0];if(o&&typeof o!="string"&&"location"in e&&"value"in o){let f=e.location.start.line;return{...e,content:Mo(o,{lineOffset:f})}}return e}},toJSX:t=>Gd},NA={Markdown:zo,markdown:zo},LA=zo;0&&(module.exports={PluginRegister,parseMd,plugin});
36
+ `}}var C$=/\r?\n|\r/g;function Bo(t,i){let e=[],n=0,o=0,f;for(;f=C$.exec(t);)d(t.slice(n,f.index)),e.push(f[0]),n=f.index+f[0].length,o++;return d(t.slice(n)),e.join("");function d(v){e.push(i(v,o,!v))}}function Ds(t){if(!t._compiled){let i=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((i?"("+i+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Hm(t,i){return Um(t,i.inConstruct,!0)&&!Um(t,i.notInConstruct,!1)}function Um(t,i,e){if(!i)return e;typeof i=="string"&&(i=[i]);let n=-1;for(;++n<i.length;)if(t.includes(i[n]))return!0;return!1}function Pa(t,i,e){let n=(e.before||"")+(i||"")+(e.after||""),o=[],f=[],d={},v=-1;for(;++v<t.unsafe.length;){let $=t.unsafe[v];if(!Hm(t.stack,$))continue;let O=Ds($),z;for(;z=O.exec(n);){let M="before"in $||Boolean($.atBreak),j="after"in $,G=z.index+(M?z[1].length:0);o.includes(G)?(d[G].before&&!M&&(d[G].before=!1),d[G].after&&!j&&(d[G].after=!1)):(o.push(G),d[G]={before:M,after:j})}}o.sort(_$);let b=e.before?e.before.length:0,C=n.length-(e.after?e.after.length:0);for(v=-1;++v<o.length;){let $=o[v];$<b||$>=C||$+1<C&&o[v+1]===$+1&&d[$].after&&!d[$+1].before&&!d[$+1].after||o[v-1]===$-1&&d[$].before&&!d[$-1].before&&!d[$-1].after||(b!==$&&f.push(Gm(n.slice(b,$),"\\")),b=$,/[!-/:-@[-`{-~]/.test(n.charAt($))&&(!e.encode||!e.encode.includes(n.charAt($)))?f.push("\\"):(f.push("&#x"+n.charCodeAt($).toString(16).toUpperCase()+";"),b++))}return f.push(Gm(n.slice(b,C),e.after)),f.join("")}function _$(t,i){return t-i}function Gm(t,i){let e=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],f=t+i,d=-1,v=0,b;for(;b=e.exec(f);)n.push(b.index);for(;++d<n.length;)v!==n[d]&&o.push(t.slice(v,n[d])),o.push("\\"),v=n[d];return o.push(t.slice(v)),o.join("")}function Km(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:i,gfmFootnoteCall:o,gfmFootnoteCallString:f},exit:{gfmFootnoteDefinition:n,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:v,gfmFootnoteCallString:d}};function t(b){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},b)}function i(){this.buffer()}function e(b){let C=this.resume(),$=this.stack[this.stack.length-1];$.label=C,$.identifier=vr(this.sliceSerialize(b)).toLowerCase()}function n(b){this.exit(b)}function o(b){this.enter({type:"footnoteReference",identifier:"",label:""},b)}function f(){this.buffer()}function d(b){let C=this.resume(),$=this.stack[this.stack.length-1];$.label=C,$.identifier=vr(this.sliceSerialize(b)).toLowerCase()}function v(b){this.exit(b)}}function Wm(){return t.peek=i,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,o,f,d){let v=wr(d),b=v.move("[^"),C=f.enter("footnoteReference"),$=f.enter("reference");return b+=v.move(Pa(f,ru(n),{...v.current(),before:b,after:"]"})),$(),C(),b+=v.move("]"),b}function i(){return"["}function e(n,o,f,d){let v=wr(d),b=v.move("[^"),C=f.enter("footnoteDefinition"),$=f.enter("label");return b+=v.move(Pa(f,ru(n),{...v.current(),before:b,after:"]"})),$(),b+=v.move("]:"+(n.children&&n.children.length>0?" ":"")),v.shift(4),b+=v.move(Bo(Vo(n,f,v.current()),O)),C(),b;function O(z,M,j){return M?(j?"":" ")+z:z}}}function Uo(t,i,e){let n=i.indexStack,o=t.children||[],f=[],d=-1,v=e.before;n.push(-1);let b=wr(e);for(;++d<o.length;){let C=o[d],$;if(n[n.length-1]=d,d+1<o.length){let O=i.handle.handlers[o[d+1].type];O&&O.peek&&(O=O.peek),$=O?O(o[d+1],t,i,{before:"",after:"",...b.current()}).charAt(0):""}else $=e.after;f.length>0&&(v==="\r"||v===`
37
+ `)&&C.type==="html"&&(f[f.length-1]=f[f.length-1].replace(/(\r?\n|\r)$/," "),v=" ",b=wr(e),b.move(f.join(""))),f.push(b.move(i.handle(C,t,i,{...b.current(),before:v,after:$}))),v=f[f.length-1].slice(-1)}return n.pop(),f.join("")}var Jm={canContainEols:["delete"],enter:{strikethrough:E$},exit:{strikethrough:S$}},Qm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Zm}};Zm.peek=T$;function E$(t){this.enter({type:"delete",children:[]},t)}function S$(t){this.exit(t)}function Zm(t,i,e,n){let o=wr(n),f=e.enter("emphasis"),d=o.move("~~");return d+=Uo(t,e,{...o.current(),before:d,after:"~"}),d+=o.move("~~"),f(),d}function T$(){return"~"}iu.peek=P$;function iu(t,i,e){let n=t.value||"",o="`",f=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++f<e.unsafe.length;){let d=e.unsafe[f],v=Ds(d),b;if(!!d.atBreak)for(;b=v.exec(n);){let C=b.index;n.charCodeAt(C)===10&&n.charCodeAt(C-1)===13&&C--,n=n.slice(0,C)+" "+n.slice(b.index+1)}}return o+n+o}function P$(){return"`"}function Ym(t,i={}){let e=(i.align||[]).concat(),n=i.stringLength||D$,o=[],f=[],d=[],v=[],b=0,C=-1;for(;++C<t.length;){let j=[],G=[],J=-1;for(t[C].length>b&&(b=t[C].length);++J<t[C].length;){let Q=F$(t[C][J]);if(i.alignDelimiters!==!1){let ie=n(Q);G[J]=ie,(v[J]===void 0||ie>v[J])&&(v[J]=ie)}j.push(Q)}f[C]=j,d[C]=G}let $=-1;if(typeof e=="object"&&"length"in e)for(;++$<b;)o[$]=Xm(e[$]);else{let j=Xm(e);for(;++$<b;)o[$]=j}$=-1;let O=[],z=[];for(;++$<b;){let j=o[$],G="",J="";j===99?(G=":",J=":"):j===108?G=":":j===114&&(J=":");let Q=i.alignDelimiters===!1?1:Math.max(1,v[$]-G.length-J.length),ie=G+"-".repeat(Q)+J;i.alignDelimiters!==!1&&(Q=G.length+Q+J.length,Q>v[$]&&(v[$]=Q),z[$]=Q),O[$]=ie}f.splice(1,0,O),d.splice(1,0,z),C=-1;let M=[];for(;++C<f.length;){let j=f[C],G=d[C];$=-1;let J=[];for(;++$<b;){let Q=j[$]||"",ie="",de="";if(i.alignDelimiters!==!1){let Ce=v[$]-(G[$]||0),we=o[$];we===114?ie=" ".repeat(Ce):we===99?Ce%2?(ie=" ".repeat(Ce/2+.5),de=" ".repeat(Ce/2-.5)):(ie=" ".repeat(Ce/2),de=ie):de=" ".repeat(Ce)}i.delimiterStart!==!1&&!$&&J.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&Q==="")&&(i.delimiterStart!==!1||$)&&J.push(" "),i.alignDelimiters!==!1&&J.push(ie),J.push(Q),i.alignDelimiters!==!1&&J.push(de),i.padding!==!1&&J.push(" "),(i.delimiterEnd!==!1||$!==b-1)&&J.push("|")}M.push(i.delimiterEnd===!1?J.join("").replace(/ +$/,""):J.join(""))}return M.join(`
38
+ `)}function F$(t){return t==null?"":String(t)}function D$(t){return t.length}function Xm(t){let i=typeof t=="string"?t.codePointAt(0):0;return i===67||i===99?99:i===76||i===108?108:i===82||i===114?114:0}var su={enter:{table:I$,tableData:eg,tableHeader:eg,tableRow:q$},exit:{codeText:R$,table:O$,tableData:nu,tableHeader:nu,tableRow:nu}};function I$(t){let i=t._align;this.enter({type:"table",align:i.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function O$(t){this.exit(t),this.setData("inTable")}function q$(t){this.enter({type:"tableRow",children:[]},t)}function nu(t){this.exit(t)}function eg(t){this.enter({type:"tableCell",children:[]},t)}function R$(t){let i=this.resume();this.getData("inTable")&&(i=i.replace(/\\([\\|])/g,N$));let e=this.stack[this.stack.length-1];e.value=i,this.exit(t)}function N$(t,i){return i==="|"?i:t}function au(t){let i=t||{},e=i.tableCellPadding,n=i.tablePipeAlign,o=i.stringLength,f=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
39
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:d,tableRow:v,tableCell:b,inlineCode:z}};function d(M,j,G,J){return C($(M,G,J),M.align)}function v(M,j,G,J){let Q=O(M,G,J),ie=C([Q]);return ie.slice(0,ie.indexOf(`
40
+ `))}function b(M,j,G,J){let Q=G.enter("tableCell"),ie=G.enter("phrasing"),de=Uo(M,G,{...J,before:f,after:f});return ie(),Q(),de}function C(M,j){return Ym(M,{align:j,alignDelimiters:n,padding:e,stringLength:o})}function $(M,j,G){let J=M.children,Q=-1,ie=[],de=j.enter("table");for(;++Q<J.length;)ie[Q]=O(J[Q],j,G);return de(),ie}function O(M,j,G){let J=M.children,Q=-1,ie=[],de=j.enter("tableRow");for(;++Q<J.length;)ie[Q]=b(J[Q],M,j,G);return de(),ie}function z(M,j,G){let J=iu(M,j,G);return G.stack.includes("tableCell")&&(J=J.replace(/\|/g,"\\$&")),J}}function tg(t){let i=t.options.bullet||"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bullet`, expected `*`, `+`, or `-`");return i}function rg(t){let i=t.options.listItemIndent||"tab";if(i===1||i==="1")return"one";if(i!=="tab"&&i!=="one"&&i!=="mixed")throw new Error("Cannot serialize items with `"+i+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return i}function ig(t,i,e,n){let o=rg(e),f=e.bulletCurrent||tg(e);i&&i.type==="list"&&i.ordered&&(f=(typeof i.start=="number"&&i.start>-1?i.start:1)+(e.options.incrementListMarker===!1?0:i.children.indexOf(t))+f);let d=f.length+1;(o==="tab"||o==="mixed"&&(i&&i.type==="list"&&i.spread||t.spread))&&(d=Math.ceil(d/4)*4);let v=wr(n);v.move(f+" ".repeat(d-f.length)),v.shift(d);let b=e.enter("listItem"),C=Bo(Vo(t,e,v.current()),$);return b(),C;function $(O,z,M){return z?(M?"":" ".repeat(d))+O:(M?f:f+" ".repeat(d-f.length))+O}}var sg={exit:{taskListCheckValueChecked:ng,taskListCheckValueUnchecked:ng,paragraph:L$}},ag={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:M$}};function ng(t){let i=this.stack[this.stack.length-2];i.checked=t.type==="taskListCheckValueChecked"}function L$(t){let i=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],n=i.children,o=e.children[0],f=-1,d;if(i&&i.type==="listItem"&&typeof i.checked=="boolean"&&o&&o.type==="text"){for(;++f<n.length;){let v=n[f];if(v.type==="paragraph"){d=v;break}}d===e&&(o.value=o.value.slice(1),o.value.length===0?e.children.shift():e.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,e.position.start=Object.assign({},o.position.start)))}this.exit(t)}function M$(t,i,e,n){let o=t.children[0],f=typeof t.checked=="boolean"&&o&&o.type==="paragraph",d="["+(t.checked?"x":" ")+"] ",v=wr(n);f&&v.move(d);let b=ig(t,i,e,{...n,...v.current()});return f&&(b=b.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,C)),b;function C($){return $+d}}function ou(){return[jm,Km(),Jm,su,sg]}function lu(t){return{extensions:[Vm,Wm(),Qm,au(t),ag]}}function fu(t={}){let i=this.data();e("micromarkExtensions",qm(t)),e("fromMarkdownExtensions",ou()),e("toMarkdownExtensions",lu(t));function e(n,o){(i[n]?i[n]:i[n]=[]).push(o)}}var lg={tokenize:z$,concrete:!0},og={tokenize:j$,partial:!0};function z$(t,i,e){let n=this,o=n.events[n.events.length-1],f=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,d=0;return v;function v(ie){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),b(ie)}function b(ie){return ie===36?(t.consume(ie),d++,b):d<2?e(ie):(t.exit("mathFlowFenceSequence"),De(t,C,"whitespace")(ie))}function C(ie){return ie===null||ve(ie)?O(ie):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),$(ie))}function $(ie){return ie===null||ve(ie)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),O(ie)):ie===36?e(ie):(t.consume(ie),$)}function O(ie){return t.exit("mathFlowFence"),n.interrupt?i(ie):t.attempt(og,z,J)(ie)}function z(ie){return t.attempt({tokenize:Q,partial:!0},J,M)(ie)}function M(ie){return(f?De(t,j,"linePrefix",f+1):j)(ie)}function j(ie){return ie===null?J(ie):ve(ie)?t.attempt(og,z,J)(ie):(t.enter("mathFlowValue"),G(ie))}function G(ie){return ie===null||ve(ie)?(t.exit("mathFlowValue"),j(ie)):(t.consume(ie),G)}function J(ie){return t.exit("mathFlow"),i(ie)}function Q(ie,de,Ce){let we=0;return De(ie,ce,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ce(ke){return ie.enter("mathFlowFence"),ie.enter("mathFlowFenceSequence"),me(ke)}function me(ke){return ke===36?(we++,ie.consume(ke),me):we<d?Ce(ke):(ie.exit("mathFlowFenceSequence"),De(ie,Pe,"whitespace")(ke))}function Pe(ke){return ke===null||ve(ke)?(ie.exit("mathFlowFence"),de(ke)):Ce(ke)}}}function j$(t,i,e){let n=this;return o;function o(d){return d===null?i(d):(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),f)}function f(d){return n.parser.lazy[n.now().line]?e(d):i(d)}}function fg(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:V$,previous:B$};function n(o,f,d){let v=this,b=0,C,$;return O;function O(J){return o.enter("mathText"),o.enter("mathTextSequence"),z(J)}function z(J){return J===36?(o.consume(J),b++,z):b<2&&!e?d(J):(o.exit("mathTextSequence"),M(J))}function M(J){return J===null?d(J):J===36?($=o.enter("mathTextSequence"),C=0,G(J)):J===32?(o.enter("space"),o.consume(J),o.exit("space"),M):ve(J)?(o.enter("lineEnding"),o.consume(J),o.exit("lineEnding"),M):(o.enter("mathTextData"),j(J))}function j(J){return J===null||J===32||J===36||ve(J)?(o.exit("mathTextData"),M(J)):(o.consume(J),j)}function G(J){return J===36?(o.consume(J),C++,G):C===b?(o.exit("mathTextSequence"),o.exit("mathText"),f(J)):($.type="mathTextData",j(J))}}}function V$(t){let i=t.length-4,e=3,n,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[i][1].type==="lineEnding"||t[i][1].type==="space")){for(n=e;++n<i;)if(t[n][1].type==="mathTextData"){t[i][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,i-=2;break}}for(n=e-1,i++;++n<=i;)o===void 0?n!==i&&t[n][1].type!=="lineEnding"&&(o=n):(n===i||t[n][1].type==="lineEnding")&&(t[o][1].type="mathTextData",n!==o+2&&(t[o][1].end=t[n-1][1].end,t.splice(o+2,n-o-2),i-=n-o-2,n=o+2),o=void 0);return t}function B$(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function cu(t){return{flow:{[36]:lg},text:{[36]:fg(t)}}}function cg(t,i){let e=String(t),n=e.indexOf(i),o=n,f=0,d=0;if(typeof i!="string"||i.length!==1)throw new Error("Expected character");for(;n!==-1;)n===o?++f>d&&(d=f):f=1,o=n+1,n=e.indexOf(i,o);return d}function uu(){return{enter:{mathFlow:t,mathFlowFenceMeta:i,mathText:f},exit:{mathFlow:o,mathFlowFence:n,mathFlowFenceMeta:e,mathFlowValue:v,mathText:d,mathTextData:v}};function t(b){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},b)}function i(){this.buffer()}function e(){let b=this.resume(),C=this.stack[this.stack.length-1];C.meta=b}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function o(b){let C=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),$=this.exit(b);$.value=C,$.data.hChildren[0].value=C,this.setData("mathFlowInside")}function f(b){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},b),this.buffer()}function d(b){let C=this.resume(),$=this.exit(b);$.value=C,$.data.hChildren[0].value=C}function v(b){this.config.enter.data.call(this,b),this.config.exit.data.call(this,b)}}function hu(t){let i=(t||{}).singleDollarTextMath;return i==null&&(i=!0),n.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
41
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:i?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(f,d,v,b){let C=f.value||"",$=wr(b),O="$".repeat(Math.max(cg(C,"$")+1,2)),z=v.enter("mathFlow"),M=$.move(O);if(f.meta){let j=v.enter("mathFlowMeta");M+=$.move(Pa(v,f.meta,{before:M,after:`
42
+ `,encode:["$"],...$.current()})),j()}return M+=$.move(`
43
+ `),C&&(M+=$.move(C+`
44
+ `)),M+=$.move(O),z(),M}function n(f,d,v){let b=f.value||"",C=1;for(i||C++;new RegExp("(^|[^$])"+"\\$".repeat(C)+"([^$]|$)").test(b);)C++;let $="$".repeat(C);/[^ \r\n]/.test(b)&&(/^[ \r\n]/.test(b)&&/[ \r\n]$/.test(b)||/^\$|\$$/.test(b))&&(b=" "+b+" ");let O=-1;for(;++O<v.unsafe.length;){let z=v.unsafe[O],M=Ds(z),j;if(!!z.atBreak)for(;j=M.exec(b);){let G=j.index;b.codePointAt(G)===10&&b.codePointAt(G-1)===13&&G--,b=b.slice(0,G)+" "+b.slice(j.index+1)}}return $+b+$}function o(){return"$"}}function du(t={}){let i=this.data();e("micromarkExtensions",cu(t)),e("fromMarkdownExtensions",uu()),e("toMarkdownExtensions",hu(t));function e(n,o){(i[n]?i[n]:i[n]=[]).push(o)}}var Ho=(t,{lineOffset:i}={lineOffset:0})=>{let e=kc().use(km).use(fu).use(du).parse(t),n={},o=(v=>b=>{let{start:C,end:$}=b;return{start:{...C,line:C.line+v},end:{...$,line:$.line+v}}})(i);ba({processor:1}).use({"*:*":(v,b)=>(C,$,O)=>{C.children&&O(C.children,{...$})}}).use({":definition":(v,b)=>(C,$,O)=>{n[C.identifier]=C}}).run(e);let f=[];return ba({processor:1}).use({"*:*":(v,b)=>(C,$,O)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(C,null,2)),C.children&&O(C.children,{...$})}}).use({":root":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Wd({},O(z,$))},":math":(v,b)=>(C,$,O)=>{let{value:z,children:M,position:j,...G}=C;return Jd({value:z,location:o(j)})},":inlineMath":(v,b)=>(C,$,O)=>{let{value:z,children:M,position:j,...G}=C;return Hd(z)},":heading":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Pr({type:"block",level:C.depth,name:"head",location:o(M)},O(z,$))},":text":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return C.value},":list":(v,b)=>(C,$,O)=>{let z=$.listLevel||0,{children:M,position:j,...G}=C;return Pr({type:"list",level:z+1,list:C.ordered?"ordered":"itemized"},O(M,{...$,listLevel:z+1,ordered:C.ordered}))},":listItem":(v,b)=>(C,$,O)=>{let z=$.listLevel||0,{children:M,position:j,checked:G,...J}=C,Q={name:"item",type:"block",level:$.listLevel,location:o(j)};return G!=null&&(Q.checked=G,Q.config=[{name:"checked",value:G,type:"boolean"}]),Pr(Q,O(M,{...$,listLevel:z,ordered:C.ordered}))},":paragraph":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Pr({type:"para",location:o(M),text:"text",margin:""},O(z,{...$}))},":linkReference":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C,G=n[j.identifier],J=(G==null?void 0:G.url)||"";return tc({meta:J},O(z,{...$}))},":definition":(v,b)=>(C,$,O)=>null,":inlineCode":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return xo({name:"C"},[C.value])},":strong":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return xo({name:"B"},O(z,{...$}))},":emphasis":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return xo({name:"I"},O(z,{...$}))},":link":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return tc({meta:C.url},O(z,{...$}))},":html":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Pr({type:"block",name:"Html",location:o(M)},[va(C.value)])},":code":(v,b)=>(C,$,O)=>{let{children:z,position:M,lang:j,meta:G,...J}=C;if(j==="mermaid"||j==="diagram")return Pr({type:"block",name:"Mermaid",config:[],location:o(M)},[va(C.value)]);let Q=[];return j&&Q.push({name:"lang",value:j,type:"string"}),G&&Q.push(...gn(G)),Pr({type:"block",name:"code",config:Q,location:o(M)},[va(C.value)])},":image":(v,b)=>(C,$,O)=>{let{title:z,alt:M,url:j,position:G,...J}=C,Q=[],ie=[Kd(j,M)];return z&&ie.push(Gd([z])),Pr({type:"block",name:"Image",config:Q,location:o(G)},ie)},":thematicBreak":(v,b)=>(C,$,O)=>null,":blockquote":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Pr({name:"nested",location:o(M)},O(z,{...$}))},":table":(v,b)=>(C,$,O)=>{let{children:z,position:M,align:j,...G}=C;return Pr({name:"table",location:o(M),align:j},O(z,{...$,isHeaderUsed:0}))},":tableRow":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C,G=$.isHeaderUsed++,J={name:"row",location:o(M)};return G||(J.config=[{name:"header",value:!0,type:"boolean"}]),Pr(J,O(z,{...$}))},":tableCell":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Pr({name:"cell",location:o(M)},O(z,{...$}))},":delete":(v,b)=>(C,$,O)=>{let{children:z,position:M,...j}=C;return Ud(O(z,{...$}))},":break":(v,b)=>(C,$,O)=>null}).run(e).interator};var Go={toAst:(t,i)=>(e,n)=>{if(typeof e!="string"&&"type"in e&&"content"in e&&e.type==="block"){let o=e.content[0];if(o&&typeof o!="string"&&"location"in e&&"value"in o){let f=e.location.start.line;return{...e,content:Ho(o,{lineOffset:f})}}return e}},toJSX:t=>Yd},U$={Markdown:Go,markdown:Go},H$=Go;0&&(module.exports={PluginRegister,parseMd,plugin});
43
45
  /*!
44
46
  * Determine if an object is a Buffer
45
47
  *