@podlite/markdown 0.0.21 → 0.0.23

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,40 +1,40 @@
1
- var Eh=Object.create;var ys=Object.defineProperty;var _h=Object.getOwnPropertyDescriptor;var Sh=Object.getOwnPropertyNames;var Ph=Object.getPrototypeOf,Fh=Object.prototype.hasOwnProperty;var ge=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jf=(t,r)=>{for(var e in r)ys(t,e,{get:r[e],enumerable:!0})},Bf=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of Sh(r))!Fh.call(t,o)&&o!==e&&ys(t,o,{get:()=>r[o],enumerable:!(n=_h(r,o))||n.enumerable});return t};var Fr=(t,r,e)=>(e=t!=null?Eh(Ph(t)):{},Bf(r||!t||!t.__esModule?ys(e,"default",{value:t,enumerable:!0}):e,t)),Th=t=>Bf(ys({},"__esModule",{value:!0}),t);var Ma=ge(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.getRules=Zi.isJSONType=void 0;var Ih=["string","number","integer","boolean","null","object","array"],Oh=new Set(Ih);function qh(t){return typeof t=="string"&&Oh.has(t)}Zi.isJSONType=qh;function Nh(){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:{}}}Zi.getRules=Nh});var Va=ge(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.shouldUseRule=Gn.shouldUseGroup=Gn.schemaHasRulesForType=void 0;function Dh({schema:t,self:r},e){let n=r.RULES.types[e];return n&&n!==!0&&zf(t,n)}Gn.schemaHasRulesForType=Dh;function zf(t,r){return r.rules.some(e=>Mf(t,e))}Gn.shouldUseGroup=zf;function Mf(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(n=>t[n]!==void 0))}Gn.shouldUseRule=Mf});var $s=ge(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.getProperty=ct.safeStringify=ct.stringify=ct.strConcat=ct.addCodeArg=ct.str=ct._=ct.nil=ct._Code=ct.Name=ct.IDENTIFIER=ct._CodeOrName=void 0;var Ao=class{};ct._CodeOrName=Ao;ct.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var hi=class extends Ao{constructor(r){if(super(),!ct.IDENTIFIER.test(r))throw new Error("CodeGen: name must be a valid identifier");this.str=r}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};ct.Name=hi;var dn=class extends Ao{constructor(r){super(),this._items=typeof r=="string"?[r]:r}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let r=this._items[0];return r===""||r==='""'}get str(){var r;return(r=this._str)!==null&&r!==void 0?r:this._str=this._items.reduce((e,n)=>`${e}${n}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,n)=>(n instanceof hi&&(e[n.str]=(e[n.str]||0)+1),e),{})}};ct._Code=dn;ct.nil=new dn("");function Vf(t,...r){let e=[t[0]],n=0;for(;n<r.length;)Ha(e,r[n]),e.push(t[++n]);return new dn(e)}ct._=Vf;var Ua=new dn("+");function Uf(t,...r){let e=[Eo(t[0])],n=0;for(;n<r.length;)e.push(Ua),Ha(e,r[n]),e.push(Ua,Eo(t[++n]));return Rh(e),new dn(e)}ct.str=Uf;function Ha(t,r){r instanceof dn?t.push(...r._items):r instanceof hi?t.push(r):t.push(Bh(r))}ct.addCodeArg=Ha;function Rh(t){let r=1;for(;r<t.length-1;){if(t[r]===Ua){let e=Lh(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Lh(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof hi||t[t.length-1]!=='"'?void 0:typeof r!="string"?`${t.slice(0,-1)}${r}"`:r[0]==='"'?t.slice(0,-1)+r.slice(1):void 0;if(typeof r=="string"&&r[0]==='"'&&!(t instanceof hi))return`"${t}${r.slice(1)}`}function jh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Uf`${t}${r}`}ct.strConcat=jh;function Bh(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Eo(Array.isArray(t)?t.join(","):t)}function zh(t){return new dn(Eo(t))}ct.stringify=zh;function Eo(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}ct.safeStringify=Eo;function Mh(t){return typeof t=="string"&&ct.IDENTIFIER.test(t)?new dn(`.${t}`):Vf`[${t}]`}ct.getProperty=Mh});var Za=ge(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.ValueScope=dr.ValueScopeName=dr.Scope=dr.varKinds=dr.UsedValueState=void 0;var Cr=$s(),Ga=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},Ka;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Ka=dr.UsedValueState||(dr.UsedValueState={}));dr.varKinds={const:new Cr.Name("const"),let:new Cr.Name("let"),var:new Cr.Name("var")};var bs=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Cr.Name?r:this.name(r)}name(r){return new Cr.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,n;if(((n=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||n===void 0?void 0:n.has(r))||this._prefixes&&!this._prefixes.has(r))throw new Error(`CodeGen: prefix "${r}" is not allowed in this scope`);return this._names[r]={prefix:r,index:0}}};dr.Scope=bs;var vs=class extends Cr.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:n}){this.value=r,this.scopePath=Cr._`.${new Cr.Name(e)}[${n}]`}};dr.ValueScopeName=vs;var Vh=Cr._`\n`,Wa=class extends bs{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Vh:Cr.nil}}get(){return this._scope}name(r){return new vs(r,this._newName(r))}value(r,e){var n;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let o=this.toName(r),{prefix:s}=o,l=(n=e.key)!==null&&n!==void 0?n:e.ref,f=this._values[s];if(f){let h=f.get(l);if(h)return h}else f=this._values[s]=new Map;f.set(l,o);let c=this._scope[s]||(this._scope[s]=[]),g=c.length;return c[g]=e.ref,o.setValue(e,{property:s,itemIndex:g}),o}getValue(r,e){let n=this._values[r];if(!!n)return n.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return Cr._`${r}${n.scopePath}`})}scopeCode(r=this._values,e,n){return this._reduceValues(r,o=>{if(o.value===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return o.value.code},e,n)}_reduceValues(r,e,n={},o){let s=Cr.nil;for(let l in r){let f=r[l];if(!f)continue;let c=n[l]=n[l]||new Map;f.forEach(g=>{if(c.has(g))return;c.set(g,Ka.Started);let h=e(g);if(h){let v=this.opts.es5?dr.varKinds.var:dr.varKinds.const;s=Cr._`${s}${v} ${g} = ${h};${this.opts._n}`}else if(h=o==null?void 0:o(g))s=Cr._`${s}${h}${this.opts._n}`;else throw new Ga(g);c.set(g,Ka.Completed)})}return s}};dr.ValueScope=Wa});var Le=ge(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.or=je.and=je.not=je.CodeGen=je.operators=je.varKinds=je.ValueScopeName=je.ValueScope=je.Scope=je.Name=je.stringify=je.getProperty=je.nil=je.strConcat=je.str=je._=void 0;var Ge=$s(),Zr=Za(),$i=$s();Object.defineProperty(je,"_",{enumerable:!0,get:function(){return $i._}});Object.defineProperty(je,"str",{enumerable:!0,get:function(){return $i.str}});Object.defineProperty(je,"strConcat",{enumerable:!0,get:function(){return $i.strConcat}});Object.defineProperty(je,"nil",{enumerable:!0,get:function(){return $i.nil}});Object.defineProperty(je,"getProperty",{enumerable:!0,get:function(){return $i.getProperty}});Object.defineProperty(je,"stringify",{enumerable:!0,get:function(){return $i.stringify}});Object.defineProperty(je,"Name",{enumerable:!0,get:function(){return $i.Name}});var Cs=Za();Object.defineProperty(je,"Scope",{enumerable:!0,get:function(){return Cs.Scope}});Object.defineProperty(je,"ValueScope",{enumerable:!0,get:function(){return Cs.ValueScope}});Object.defineProperty(je,"ValueScopeName",{enumerable:!0,get:function(){return Cs.ValueScopeName}});Object.defineProperty(je,"varKinds",{enumerable:!0,get:function(){return Cs.varKinds}});je.operators={GT:new Ge._Code(">"),GTE:new Ge._Code(">="),LT:new Ge._Code("<"),LTE:new Ge._Code("<="),EQ:new Ge._Code("==="),NEQ:new Ge._Code("!=="),NOT:new Ge._Code("!"),OR:new Ge._Code("||"),AND:new Ge._Code("&&"),ADD:new Ge._Code("+")};var In=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},Ja=class extends In{constructor(r,e,n){super(),this.varKind=r,this.name=e,this.rhs=n}render({es5:r,_n:e}){let n=r?Zr.varKinds.var:this.varKind,o=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${o};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=Qi(this.rhs,r,e)),this}get names(){return this.rhs instanceof Ge._CodeOrName?this.rhs.names:{}}},ks=class extends In{constructor(r,e,n){super(),this.lhs=r,this.rhs=e,this.sideEffects=n}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Ge.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=Qi(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Ge.Name?{}:{...this.lhs.names};return xs(r,this.rhs)}},Qa=class extends ks{constructor(r,e,n,o){super(r,n,o),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},Ya=class extends In{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},Xa=class extends In{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},el=class extends In{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},tl=class extends In{constructor(r){super(),this.code=r}render({_n:r}){return`${this.code};`+r}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(r,e){return this.code=Qi(this.code,r,e),this}get names(){return this.code instanceof Ge._CodeOrName?this.code.names:{}}},_o=class extends In{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,n)=>e+n.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let n=r[e].optimizeNodes();Array.isArray(n)?r.splice(e,1,...n):n?r[e]=n:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:n}=this,o=n.length;for(;o--;){let s=n[o];s.optimizeNames(r,e)||(Uh(r,s.names),n.splice(o,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>yi(r,e.names),{})}},On=class extends _o{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},rl=class extends _o{},Ji=class extends On{};Ji.kind="else";var Jr=class extends On{constructor(r,e){super(e),this.condition=r}render(r){let e=`if(${this.condition})`+super.render(r);return this.else&&(e+="else "+this.else.render(r)),e}optimizeNodes(){super.optimizeNodes();let r=this.condition;if(r===!0)return this.nodes;let e=this.else;if(e){let n=e.optimizeNodes();e=this.else=Array.isArray(n)?new Ji(n):n}if(e)return r===!1?e instanceof Jr?e:e.nodes:this.nodes.length?this:new Jr(Hf(r),e instanceof Jr?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=Qi(this.condition,r,e),this}get names(){let r=super.names;return xs(r,this.condition),this.else&&yi(r,this.else.names),r}};Jr.kind="if";var gi=class extends On{};gi.kind="for";var nl=class extends gi{constructor(r){super(),this.iteration=r}render(r){return`for(${this.iteration})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iteration=Qi(this.iteration,r,e),this}get names(){return yi(super.names,this.iteration.names)}},il=class extends gi{constructor(r,e,n,o){super(),this.varKind=r,this.name=e,this.from=n,this.to=o}render(r){let e=r.es5?Zr.varKinds.var:this.varKind,{name:n,from:o,to:s}=this;return`for(${e} ${n}=${o}; ${n}<${s}; ${n}++)`+super.render(r)}get names(){let r=xs(super.names,this.from);return xs(r,this.to)}},ws=class extends gi{constructor(r,e,n,o){super(),this.loop=r,this.varKind=e,this.name=n,this.iterable=o}render(r){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iterable=Qi(this.iterable,r,e),this}get names(){return yi(super.names,this.iterable.names)}},So=class extends On{constructor(r,e,n){super(),this.name=r,this.args=e,this.async=n}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};So.kind="func";var Po=class extends _o{render(r){return"return "+super.render(r)}};Po.kind="return";var ol=class extends On{render(r){let e="try"+super.render(r);return this.catch&&(e+=this.catch.render(r)),this.finally&&(e+=this.finally.render(r)),e}optimizeNodes(){var r,e;return super.optimizeNodes(),(r=this.catch)===null||r===void 0||r.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(r,e){var n,o;return super.optimizeNames(r,e),(n=this.catch)===null||n===void 0||n.optimizeNames(r,e),(o=this.finally)===null||o===void 0||o.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&yi(r,this.catch.names),this.finally&&yi(r,this.finally.names),r}},Fo=class extends On{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};Fo.kind="catch";var To=class extends On{render(r){return"finally"+super.render(r)}};To.kind="finally";var sl=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
- `:""},this._extScope=r,this._scope=new Zr.Scope({parent:r}),this._nodes=[new rl]}toString(){return this._root.render(this.opts)}name(r){return this._scope.name(r)}scopeName(r){return this._extScope.name(r)}scopeValue(r,e){let n=this._extScope.value(r,e);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(r,e){return this._extScope.getValue(r,e)}scopeRefs(r){return this._extScope.scopeRefs(r,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(r,e,n,o){let s=this._scope.toName(e);return n!==void 0&&o&&(this._constants[s.str]=n),this._leafNode(new Ja(r,s,n)),s}const(r,e,n){return this._def(Zr.varKinds.const,r,e,n)}let(r,e,n){return this._def(Zr.varKinds.let,r,e,n)}var(r,e,n){return this._def(Zr.varKinds.var,r,e,n)}assign(r,e,n){return this._leafNode(new ks(r,e,n))}add(r,e){return this._leafNode(new Qa(r,je.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Ge.nil&&this._leafNode(new tl(r)),this}object(...r){let e=["{"];for(let[n,o]of r)e.length>1&&e.push(","),e.push(n),(n!==o||this.opts.es5)&&(e.push(":"),Ge.addCodeArg(e,o));return e.push("}"),new Ge._Code(e)}if(r,e,n){if(this._blockNode(new Jr(r)),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(r){return this._elseNode(new Jr(r))}else(){return this._elseNode(new Ji)}endIf(){return this._endBlockNode(Jr,Ji)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new nl(r),e)}forRange(r,e,n,o,s=this.opts.es5?Zr.varKinds.var:Zr.varKinds.let){let l=this._scope.toName(r);return this._for(new il(s,l,e,n),()=>o(l))}forOf(r,e,n,o=Zr.varKinds.const){let s=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Ge.Name?e:this.var("_arr",e);return this.forRange("_i",0,Ge._`${l}.length`,f=>{this.var(s,Ge._`${l}[${f}]`),n(s)})}return this._for(new ws("of",o,s,e),()=>n(s))}forIn(r,e,n,o=this.opts.es5?Zr.varKinds.var:Zr.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Ge._`Object.keys(${e})`,n);let s=this._scope.toName(r);return this._for(new ws("in",o,s,e),()=>n(s))}endFor(){return this._endBlockNode(gi)}label(r){return this._leafNode(new Ya(r))}break(r){return this._leafNode(new Xa(r))}return(r){let e=new Po;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Po)}try(r,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let o=new ol;if(this._blockNode(o),this.code(r),e){let s=this.name("e");this._currNode=o.catch=new Fo(s),e(s)}return n&&(this._currNode=o.finally=new To,this.code(n)),this._endBlockNode(Fo,To)}throw(r){return this._leafNode(new el(r))}block(r,e){return this._blockStarts.push(this._nodes.length),r&&this.code(r).endBlock(e),this}endBlock(r){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||r!==void 0&&n!==r)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Ge.nil,n,o){return this._blockNode(new So(r,e,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(So)}optimize(r=1){for(;r-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(r){return this._currNode.nodes.push(r),this}_blockNode(r){this._currNode.nodes.push(r),this._nodes.push(r)}_endBlockNode(r,e){let n=this._currNode;if(n instanceof r||e&&n instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${r.kind}/${e.kind}`:r.kind}"`)}_elseNode(r){let e=this._currNode;if(!(e instanceof Jr))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=r,this}get _root(){return this._nodes[0]}get _currNode(){let r=this._nodes;return r[r.length-1]}set _currNode(r){let e=this._nodes;e[e.length-1]=r}};je.CodeGen=sl;function yi(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function xs(t,r){return r instanceof Ge._CodeOrName?yi(t,r.names):t}function Qi(t,r,e){if(t instanceof Ge.Name)return n(t);if(!o(t))return t;return new Ge._Code(t._items.reduce((s,l)=>(l instanceof Ge.Name&&(l=n(l)),l instanceof Ge._Code?s.push(...l._items):s.push(l),s),[]));function n(s){let l=e[s.str];return l===void 0||r[s.str]!==1?s:(delete r[s.str],l)}function o(s){return s instanceof Ge._Code&&s._items.some(l=>l instanceof Ge.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function Uh(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function Hf(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Ge._`!${al(t)}`}je.not=Hf;var Hh=Gf(je.operators.AND);function Gh(...t){return t.reduce(Hh)}je.and=Gh;var Kh=Gf(je.operators.OR);function Wh(...t){return t.reduce(Kh)}je.or=Wh;function Gf(t){return(r,e)=>r===Ge.nil?e:e===Ge.nil?r:Ge._`${al(r)} ${t} ${al(e)}`}function al(t){return t instanceof Ge.Name?t:Ge._`(${t})`}});var Qr=ge(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var tr=Le(),Zh={data:new tr.Name("data"),valCxt:new tr.Name("valCxt"),dataPath:new tr.Name("dataPath"),parentData:new tr.Name("parentData"),parentDataProperty:new tr.Name("parentDataProperty"),rootData:new tr.Name("rootData"),dynamicAnchors:new tr.Name("dynamicAnchors"),vErrors:new tr.Name("vErrors"),errors:new tr.Name("errors"),this:new tr.Name("this"),self:new tr.Name("self"),scope:new tr.Name("scope"),json:new tr.Name("json"),jsonPos:new tr.Name("jsonPos"),jsonLen:new tr.Name("jsonLen"),jsonPart:new tr.Name("jsonPart")};ll.default=Zh});var Io=ge(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.extendErrors=rr.resetErrorsCount=rr.reportExtraError=rr.reportError=rr.keyword$DataError=rr.keywordError=void 0;var Ke=Le(),nr=Qr();rr.keywordError={message:({keyword:t})=>Ke.str`should pass "${t}" keyword validation`};rr.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Ke.str`"${t}" keyword must be ${r} ($data)`:Ke.str`"${t}" keyword is invalid ($data)`};function Jh(t,r=rr.keywordError,e){let{it:n}=t,{gen:o,compositeRule:s,allErrors:l}=n,f=Zf(t,r);e??(s||l)?Kf(o,f):Wf(n,Ke._`[${f}]`)}rr.reportError=Jh;function Qh(t,r=rr.keywordError){let{it:e}=t,{gen:n,compositeRule:o,allErrors:s}=e,l=Zf(t,r);Kf(n,l),o||s||Wf(e,nr.default.vErrors)}rr.reportExtraError=Qh;function Yh(t,r){t.assign(nr.default.errors,r),t.if(Ke._`${nr.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Ke._`${nr.default.vErrors}.length`,r),()=>t.assign(nr.default.vErrors,null)))}rr.resetErrorsCount=Yh;function Xh({gen:t,keyword:r,schemaValue:e,data:n,errsCount:o,it:s}){if(o===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",o,nr.default.errors,f=>{t.const(l,Ke._`${nr.default.vErrors}[${f}]`),t.if(Ke._`${l}.dataPath === undefined`,()=>t.assign(Ke._`${l}.dataPath`,Ke.strConcat(nr.default.dataPath,s.errorPath))),t.assign(Ke._`${l}.schemaPath`,Ke.str`${s.errSchemaPath}/${r}`),s.opts.verbose&&(t.assign(Ke._`${l}.schema`,e),t.assign(Ke._`${l}.data`,n))})}rr.extendErrors=Xh;function Kf(t,r){let e=t.const("err",r);t.if(Ke._`${nr.default.vErrors} === null`,()=>t.assign(nr.default.vErrors,Ke._`[${e}]`),Ke._`${nr.default.vErrors}.push(${e})`),t.code(Ke._`${nr.default.errors}++`)}function Wf(t,r){let{gen:e,validateName:n,schemaEnv:o}=t;o.$async?e.throw(Ke._`new ${t.ValidationError}(${r})`):(e.assign(Ke._`${n}.errors`,r),e.return(!1))}var mn={keyword:new Ke.Name("keyword"),schemaPath:new Ke.Name("schemaPath"),params:new Ke.Name("params"),propertyName:new Ke.Name("propertyName"),message:new Ke.Name("message"),schema:new Ke.Name("schema"),parentSchema:new Ke.Name("parentSchema"),instancePath:new Ke.Name("instancePath")};function Zf(t,r){let{createErrors:e,opts:n}=t.it;return e===!1?Ke._`{}`:(n.jtd&&!n.ajvErrors?eg:tg)(t,r)}function eg(t,{message:r}){let{gen:e,keyword:n,it:o}=t,{errorPath:s,errSchemaPath:l,opts:f}=o,c=[[mn.instancePath,Ke.strConcat(nr.default.dataPath,s)],[mn.schemaPath,Ke.str`${l}/${n}`]];return f.messages&&c.push([mn.message,typeof r=="function"?r(t):r]),e.object(...c)}function tg(t,r){let{gen:e,keyword:n,data:o,schemaValue:s,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:g,errSchemaPath:h,propertyName:v,opts:x}=l,{params:k,message:_}=r,O=[[mn.keyword,n],[nr.default.dataPath,Ke.strConcat(nr.default.dataPath,g)],[mn.schemaPath,Ke.str`${h}/${n}`],[mn.params,typeof k=="function"?k(t):k||Ke._`{}`]];return v&&O.push([mn.propertyName,v]),x.messages&&O.push([mn.message,typeof _=="function"?_(t):_]),x.verbose&&O.push([mn.schema,s],[mn.parentSchema,Ke._`${f}${c}`],[nr.default.data,o]),e.object(...O)}});var Qf=ge(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.boolOrEmptySchema=Yi.topBoolOrEmptySchema=void 0;var rg=Io(),ng=Le(),ig=Qr(),og={message:"boolean schema is false"};function sg(t){let{gen:r,schema:e,validateName:n}=t;e===!1?Jf(t,!1):typeof e=="object"&&e.$async===!0?r.return(ig.default.data):(r.assign(ng._`${n}.errors`,null),r.return(!0))}Yi.topBoolOrEmptySchema=sg;function ag(t,r){let{gen:e,schema:n}=t;n===!1?(e.var(r,!1),Jf(t)):e.var(r,!0)}Yi.boolOrEmptySchema=ag;function Jf(t,r){let{gen:e,data:n}=t,o={gen:e,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};rg.reportError(o,og,r)}});var Xf=ge(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.assignDefaults=void 0;var Xi=Le(),lg=Tr();function ug(t,r){let{properties:e,items:n}=t.schema;if(r==="object"&&e)for(let o in e)Yf(t,o,e[o].default);else r==="array"&&Array.isArray(n)&&n.forEach((o,s)=>Yf(t,s,o.default))}As.assignDefaults=ug;function Yf(t,r,e){let{gen:n,compositeRule:o,data:s,opts:l}=t;if(e===void 0)return;let f=Xi._`${s}${Xi.getProperty(r)}`;if(o){lg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=Xi._`${f} === undefined`;l.useDefaults==="empty"&&(c=Xi._`${c} || ${f} === null || ${f} === ""`),n.if(c,Xi._`${f} = ${Xi.stringify(e)}`)}});var vi=ge(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.applySubschema=bi.Type=void 0;var fg=Tr(),ec=St(),ir=Le(),tc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(tc=bi.Type||(bi.Type={}));function cg(t,r,e){let n=pg(t,r);dg(n,t,r),mg(n,r);let o={...t,...n,items:void 0,props:void 0};return fg.subschemaCode(o,e),o}bi.applySubschema=cg;function pg(t,{keyword:r,schemaProp:e,schema:n,schemaPath:o,errSchemaPath:s,topSchemaRef:l}){if(r!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(r!==void 0){let f=t.schema[r];return e===void 0?{schema:f,schemaPath:ir._`${t.schemaPath}${ir.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:ir._`${t.schemaPath}${ir.getProperty(r)}${ir.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${ec.escapeFragment(e)}`}}if(n!==void 0){if(o===void 0||s===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:o,topSchemaRef:l,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')}function dg(t,r,{dataProp:e,dataPropType:n,data:o,dataTypes:s,propertyName:l}){if(o!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:f}=r;if(e!==void 0){let{errorPath:g,dataPathArr:h,opts:v}=r,x=f.let("data",ir._`${r.data}${ir.getProperty(e)}`,!0);c(x),t.errorPath=ir.str`${g}${hg(e,n,v.jsPropertySyntax)}`,t.parentDataProperty=ir._`${e}`,t.dataPathArr=[...h,t.parentDataProperty]}if(o!==void 0){let g=o instanceof ir.Name?o:f.let("data",o,!0);c(g),l!==void 0&&(t.propertyName=l)}s&&(t.dataTypes=s);function c(g){t.data=g,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,g]}}function mg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:n,createErrors:o,allErrors:s}){n!==void 0&&(t.compositeRule=n),o!==void 0&&(t.createErrors=o),s!==void 0&&(t.allErrors=s),t.jtdDiscriminator=r,t.jtdMetadata=e}function hg(t,r,e){if(t instanceof ir.Name){let n=r===tc.Num;return e?n?ir._`"[" + ${t} + "]"`:ir._`"['" + ${t} + "']"`:n?ir._`"/" + ${t}`:ir._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ir.getProperty(t).toString():"/"+ec.escapeJsonPointer(t)}});var Yr=ge(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.validateUnion=pt.validateArray=pt.usePattern=pt.callValidateCode=pt.schemaProperties=pt.allSchemaProperties=pt.noPropertyInData=pt.propertyInData=pt.isOwnProperty=pt.hasPropFunc=pt.reportMissingProp=pt.checkMissingProp=pt.checkReportMissingProp=void 0;var Ct=Le(),rc=St(),gg=vi(),Kn=Qr();function yg(t,r){let{gen:e,data:n,it:o}=t;e.if(fl(e,n,r,o.opts.ownProperties),()=>{t.setParams({missingProperty:Ct._`${r}`},!0),t.error()})}pt.checkReportMissingProp=yg;function $g({gen:t,data:r,it:{opts:e}},n,o){return Ct.or(...n.map(s=>Ct.and(fl(t,r,s,e.ownProperties),Ct._`${o} = ${s}`)))}pt.checkMissingProp=$g;function bg(t,r){t.setParams({missingProperty:r},!0),t.error()}pt.reportMissingProp=bg;function nc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Ct._`Object.prototype.hasOwnProperty`})}pt.hasPropFunc=nc;function ul(t,r,e){return Ct._`${nc(t)}.call(${r}, ${e})`}pt.isOwnProperty=ul;function vg(t,r,e,n){let o=Ct._`${r}${Ct.getProperty(e)} !== undefined`;return n?Ct._`${o} && ${ul(t,r,e)}`:o}pt.propertyInData=vg;function fl(t,r,e,n){let o=Ct._`${r}${Ct.getProperty(e)} === undefined`;return n?Ct.or(o,Ct.not(ul(t,r,e))):o}pt.noPropertyInData=fl;function ic(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}pt.allSchemaProperties=ic;function kg(t,r){return ic(r).filter(e=>!rc.alwaysValidSchema(t,r[e]))}pt.schemaProperties=kg;function wg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:n,schemaPath:o,errorPath:s},it:l},f,c,g){let h=g?Ct._`${t}, ${r}, ${n}${o}`:r,v=[[Kn.default.dataPath,Ct.strConcat(Kn.default.dataPath,s)],[Kn.default.parentData,l.parentData],[Kn.default.parentDataProperty,l.parentDataProperty],[Kn.default.rootData,Kn.default.rootData]];l.opts.dynamicRef&&v.push([Kn.default.dynamicAnchors,Kn.default.dynamicAnchors]);let x=Ct._`${h}, ${e.object(...v)}`;return c!==Ct.nil?Ct._`${f}.call(${c}, ${x})`:Ct._`${f}(${x})`}pt.callValidateCode=wg;function xg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:Ct._`new RegExp(${r}, "u")`})}pt.usePattern=xg;function Cg(t){let{gen:r,data:e,keyword:n,it:o}=t,s=r.name("valid");if(o.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(s,!0),l(()=>r.break()),s;function l(f){let c=r.const("len",Ct._`${e}.length`);r.forRange("i",0,c,g=>{t.subschema({keyword:n,dataProp:g,dataPropType:gg.Type.Num},s),r.if(Ct.not(s),f)})}}pt.validateArray=Cg;function Ag(t){let{gen:r,schema:e,keyword:n,it:o}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>rc.alwaysValidSchema(o,c))&&!o.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,g)=>{let h=t.subschema({keyword:n,schemaProp:g,compositeRule:!0},f);r.assign(l,Ct._`${l} || ${f}`),t.mergeValidEvaluated(h,f)||r.if(Ct.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}pt.validateUnion=Ag});var lc=ge(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.keywordCode=void 0;var Eg=Oo(),_g=Io(),Sg=Yr(),mr=Le(),ki=Qr();function Pg(t,r,e,n){let o=new Eg.default(t,e,r);"code"in e?e.code(o,n):o.$data&&e.validate?oc(o,e):"macro"in e?Fg(o,e):(e.compile||e.validate)&&oc(o,e)}Es.keywordCode=Pg;function Fg(t,r){let{gen:e,keyword:n,schema:o,parentSchema:s,it:l}=t,f=r.macro.call(l.self,o,s,l),c=ac(e,n,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let g=e.name("valid");t.subschema({schema:f,schemaPath:mr.nil,errSchemaPath:`${l.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:!0},g),t.pass(g,()=>t.error(!0))}function oc(t,r){var e;let{gen:n,keyword:o,schema:s,parentSchema:l,$data:f,it:c}=t;Ig(c,r);let g=!f&&r.compile?r.compile.call(c.self,s,l,c):r.validate,h=ac(n,o,g),v=n.let("valid");t.block$data(v,x),t.ok((e=r.valid)!==null&&e!==void 0?e:v);function x(){if(r.errors===!1)O(),r.modifying&&sc(t),D(()=>t.error());else{let M=r.async?k():_();r.modifying&&sc(t),D(()=>Tg(t,M))}}function k(){let M=n.let("ruleErrs",null);return n.try(()=>O(mr._`await `),X=>n.assign(v,!1).if(mr._`${X} instanceof ${c.ValidationError}`,()=>n.assign(M,mr._`${X}.errors`),()=>n.throw(X))),M}function _(){let M=mr._`${h}.errors`;return n.assign(M,null),O(mr.nil),M}function O(M=r.async?mr._`await `:mr.nil){let X=c.opts.passContext?ki.default.this:ki.default.self,le=!("compile"in r&&!f||r.schema===!1);n.assign(v,mr._`${M}${Sg.callValidateCode(t,h,X,le)}`,r.modifying)}function D(M){var X;n.if(mr.not((X=r.valid)!==null&&X!==void 0?X:v),M)}}function sc(t){let{gen:r,data:e,it:n}=t;r.if(n.parentData,()=>r.assign(e,mr._`${n.parentData}[${n.parentDataProperty}]`))}function Tg(t,r){let{gen:e}=t;e.if(mr._`Array.isArray(${r})`,()=>{e.assign(ki.default.vErrors,mr._`${ki.default.vErrors} === null ? ${r} : ${ki.default.vErrors}.concat(${r})`).assign(ki.default.errors,mr._`${ki.default.vErrors}.length`),_g.extendErrors(t)},()=>t.error())}function Ig({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function ac(t,r,e){if(e===void 0)throw new Error(`keyword "${r}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:mr.stringify(e)})}});var dc=ge(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.schemaKeywords=void 0;var cl=Va(),uc=eo(),Og=Xf(),pc=lc(),qg=St(),Ng=Tr(),Dg=Le(),Rg=Qr();function Lg(t,r,e,n){let{gen:o,schema:s,data:l,allErrors:f,opts:c,self:g}=t,{RULES:h}=g;if(s.$ref&&(c.ignoreKeywordsWithRef||!qg.schemaHasRulesButRef(s,h))){o.block(()=>pc.keywordCode(t,"$ref",h.all.$ref.definition));return}c.jtd||jg(t,r),o.block(()=>{for(let x of h.rules)v(x);v(h.post)});function v(x){!cl.shouldUseGroup(s,x)||(x.type?(o.if(uc.checkDataType(x.type,l,c.strict)),fc(t,x),r.length===1&&r[0]===x.type&&e&&(o.else(),uc.reportTypeError(t)),o.endIf()):fc(t,x),f||o.if(Dg._`${Rg.default.errors} === ${n||0}`))}}_s.schemaKeywords=Lg;function fc(t,r){let{gen:e,schema:n,opts:{useDefaults:o}}=t;o&&Og.assignDefaults(t,r.type),e.block(()=>{for(let s of r.rules)cl.shouldUseRule(n,s)&&pc.keywordCode(t,s.keyword,s.definition,r.type)})}function jg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(Bg(t,r),t.opts.allowUnionTypes||zg(t,r),Mg(t,t.dataTypes))}function Bg(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{cc(t.dataTypes,e)||pl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>cc(r,e))}}function zg(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&pl(t,"use allowUnionTypes to allow union type keyword")}function Mg(t,r){let e=t.self.RULES.all;for(let n in e){let o=e[n];if(typeof o=="object"&&cl.shouldUseRule(t.schema,o)){let{type:s}=o.definition;s.length&&!s.some(l=>Vg(r,l))&&pl(t,`missing type "${s.join(",")}" for keyword "${n}"`)}}}function Vg(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function cc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function pl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Ng.checkStrictMode(t,r,t.opts.strictTypes)}});var qo=ge((Q0,mc)=>{"use strict";mc.exports=function t(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var n,o,s;if(Array.isArray(r)){if(n=r.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!t(r[o],e[o]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===e.toString();if(s=Object.keys(r),n=s.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=n;o--!==0;){var l=s[o];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var gc=ge((Y0,hc)=>{"use strict";var Wn=hc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var n=typeof e=="function"?e:e.pre||function(){},o=e.post||function(){};Ss(r,n,o,t,"",t)};Wn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Wn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Wn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Wn.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 Ss(t,r,e,n,o,s,l,f,c,g){if(n&&typeof n=="object"&&!Array.isArray(n)){r(n,o,s,l,f,c,g);for(var h in n){var v=n[h];if(Array.isArray(v)){if(h in Wn.arrayKeywords)for(var x=0;x<v.length;x++)Ss(t,r,e,v[x],o+"/"+h+"/"+x,s,o,h,n,x)}else if(h in Wn.propsKeywords){if(v&&typeof v=="object")for(var k in v)Ss(t,r,e,v[k],o+"/"+h+"/"+Ug(k),s,o,h,n,k)}else(h in Wn.keywords||t.allKeys&&!(h in Wn.skipKeywords))&&Ss(t,r,e,v,o+"/"+h,s,o,h,n)}e(n,o,s,l,f,c,g)}}function Ug(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var dl=ge((Ps,yc)=>{(function(t,r){typeof Ps=="object"&&typeof yc<"u"?r(Ps):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(Ps,function(t){"use strict";function r(){for(var B=arguments.length,q=Array(B),Z=0;Z<B;Z++)q[Z]=arguments[Z];if(q.length>1){q[0]=q[0].slice(0,-1);for(var ee=q.length-1,re=1;re<ee;++re)q[re]=q[re].slice(1,-1);return q[ee]=q[ee].slice(1),q.join("")}else return q[0]}function e(B){return"(?:"+B+")"}function n(B){return B===void 0?"undefined":B===null?"null":Object.prototype.toString.call(B).split(" ").pop().split("]").shift().toLowerCase()}function o(B){return B.toUpperCase()}function s(B){return B!=null?B instanceof Array?B:typeof B.length!="number"||B.split||B.setInterval||B.call?[B]:Array.prototype.slice.call(B):[]}function l(B,q){var Z=B;if(q)for(var ee in q)Z[ee]=q[ee];return Z}function f(B){var q="[A-Za-z]",Z="[\\x0D]",ee="[0-9]",re="[\\x22]",me=r(ee,"[A-Fa-f]"),Se="[\\x0A]",De="[\\x20]",He=e(e("%[EFef]"+me+"%"+me+me+"%"+me+me)+"|"+e("%[89A-Fa-f]"+me+"%"+me+me)+"|"+e("%"+me+me)),ht="[\\:\\/\\?\\#\\[\\]\\@]",qe="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",it=r(ht,qe),vt=B?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=B?"[\\uE000-\\uF8FF]":"[]",Re=r(q,ee,"[\\-\\.\\_\\~]",vt),ut=e(q+r(q,ee,"[\\+\\-\\.]")+"*"),Ye=e(e(He+"|"+r(Re,qe,"[\\:]"))+"*"),qr=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("[1-9]"+ee)+"|"+ee),Ht=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("0?[1-9]"+ee)+"|0?0?"+ee),Gt=e(Ht+"\\."+Ht+"\\."+Ht+"\\."+Ht),Qe=e(me+"{1,4}"),zt=e(e(Qe+"\\:"+Qe)+"|"+Gt),Xt=e(e(Qe+"\\:")+"{6}"+zt),br=e("\\:\\:"+e(Qe+"\\:")+"{5}"+zt),Nr=e(e(Qe)+"?\\:\\:"+e(Qe+"\\:")+"{4}"+zt),vr=e(e(e(Qe+"\\:")+"{0,1}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{3}"+zt),sn=e(e(e(Qe+"\\:")+"{0,2}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{2}"+zt),Cn=e(e(e(Qe+"\\:")+"{0,3}"+Qe)+"?\\:\\:"+Qe+"\\:"+zt),An=e(e(e(Qe+"\\:")+"{0,4}"+Qe)+"?\\:\\:"+zt),Hr=e(e(e(Qe+"\\:")+"{0,5}"+Qe)+"?\\:\\:"+Qe),Gr=e(e(e(Qe+"\\:")+"{0,6}"+Qe)+"?\\:\\:"),kr=e([Xt,br,Nr,vr,sn,Cn,An,Hr,Gr].join("|")),an=e(e(Re+"|"+He)+"+"),i=e(kr+"\\%25"+an),fe=e(kr+e("\\%25|\\%(?!"+me+"{2})")+an),En=e("[vV]"+me+"+\\."+r(Re,qe,"[\\:]")+"+"),pr=e("\\["+e(fe+"|"+kr+"|"+En)+"\\]"),ln=e(e(He+"|"+r(Re,qe))+"*"),w=e(pr+"|"+Gt+"(?!"+ln+")|"+ln),wr=e(ee+"*"),un=e(e(Ye+"@")+"?"+w+e("\\:"+wr)+"?"),_n=e(He+"|"+r(Re,qe,"[\\:\\@]")),yo=e(_n+"*"),$o=e(_n+"+"),ot=e(e(He+"|"+r(Re,qe,"[\\@]"))+"+"),Tt=e(e("\\/"+yo)+"*"),fn=e("\\/"+e($o+Tt)+"?"),oi=e(ot+Tt),zn=e($o+Tt),Dr="(?!"+_n+")",Sn=e(Tt+"|"+fn+"|"+oi+"|"+zn+"|"+Dr),J=e(e(_n+"|"+r("[\\/\\?]",lt))+"*"),Pn=e(e(_n+"|[\\/\\?]")+"*"),si=e(e("\\/\\/"+un+Tt)+"|"+fn+"|"+zn+"|"+Dr),ai=e(ut+"\\:"+si+e("\\?"+J)+"?"+e("\\#"+Pn)+"?"),Mn=e(e("\\/\\/"+un+Tt)+"|"+fn+"|"+oi+"|"+Dr),bo=e(Mn+e("\\?"+J)+"?"+e("\\#"+Pn)+"?"),is=e(ai+"|"+bo),Vn=e(ut+"\\:"+si+e("\\?"+J)+"?"),Kr="^("+ut+")\\:"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?)")+"?("+Tt+"|"+fn+"|"+zn+"|"+Dr+")")+e("\\?("+J+")")+"?"+e("\\#("+Pn+")")+"?$",vo="^(){0}"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?)")+"?("+Tt+"|"+fn+"|"+oi+"|"+Dr+")")+e("\\?("+J+")")+"?"+e("\\#("+Pn+")")+"?$",ko="^("+ut+")\\:"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?)")+"?("+Tt+"|"+fn+"|"+zn+"|"+Dr+")")+e("\\?("+J+")")+"?$",wo="^"+e("\\#("+Pn+")")+"?$",os="^"+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",q,ee,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",Re,qe),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",Re,qe),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",Re,qe),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",Re,qe),"g"),NOT_QUERY:new RegExp(r("[^\\%]",Re,qe,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",Re,qe,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",Re,qe),"g"),UNRESERVED:new RegExp(Re,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",Re,it),"g"),PCT_ENCODED:new RegExp(He,"g"),IPV4ADDRESS:new RegExp("^("+Gt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+kr+")"+e(e("\\%25|\\%(?!"+me+"{2})")+"("+an+")")+"?\\]?$")}}var c=f(!1),g=f(!0),h=function(){function B(q,Z){var ee=[],re=!0,me=!1,Se=void 0;try{for(var De=q[Symbol.iterator](),He;!(re=(He=De.next()).done)&&(ee.push(He.value),!(Z&&ee.length===Z));re=!0);}catch(ht){me=!0,Se=ht}finally{try{!re&&De.return&&De.return()}finally{if(me)throw Se}}return ee}return function(q,Z){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return B(q,Z);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=function(B){if(Array.isArray(B)){for(var q=0,Z=Array(B.length);q<B.length;q++)Z[q]=B[q];return Z}else return Array.from(B)},x=2147483647,k=36,_=1,O=26,D=38,M=700,X=72,le=128,ve="-",ye=/^xn--/,ie=/[^\0-\x7E]/,ke=/[\x2E\u3002\uFF0E\uFF61]/g,Ee={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xe=k-_,ze=Math.floor,Fe=String.fromCharCode;function Te(B){throw new RangeError(Ee[B])}function he(B,q){for(var Z=[],ee=B.length;ee--;)Z[ee]=q(B[ee]);return Z}function _e(B,q){var Z=B.split("@"),ee="";Z.length>1&&(ee=Z[0]+"@",B=Z[1]),B=B.replace(ke,".");var re=B.split("."),me=he(re,q).join(".");return ee+me}function st(B){for(var q=[],Z=0,ee=B.length;Z<ee;){var re=B.charCodeAt(Z++);if(re>=55296&&re<=56319&&Z<ee){var me=B.charCodeAt(Z++);(me&64512)==56320?q.push(((re&1023)<<10)+(me&1023)+65536):(q.push(re),Z--)}else q.push(re)}return q}var te=function(q){return String.fromCodePoint.apply(String,v(q))},At=function(q){return q-48<10?q-22:q-65<26?q-65:q-97<26?q-97:k},Je=function(q,Z){return q+22+75*(q<26)-((Z!=0)<<5)},$t=function(q,Z,ee){var re=0;for(q=ee?ze(q/M):q>>1,q+=ze(q/Z);q>xe*O>>1;re+=k)q=ze(q/xe);return ze(re+(xe+1)*q/(q+D))},tt=function(q){var Z=[],ee=q.length,re=0,me=le,Se=X,De=q.lastIndexOf(ve);De<0&&(De=0);for(var He=0;He<De;++He)q.charCodeAt(He)>=128&&Te("not-basic"),Z.push(q.charCodeAt(He));for(var ht=De>0?De+1:0;ht<ee;){for(var qe=re,it=1,vt=k;;vt+=k){ht>=ee&&Te("invalid-input");var lt=At(q.charCodeAt(ht++));(lt>=k||lt>ze((x-re)/it))&&Te("overflow"),re+=lt*it;var Re=vt<=Se?_:vt>=Se+O?O:vt-Se;if(lt<Re)break;var ut=k-Re;it>ze(x/ut)&&Te("overflow"),it*=ut}var Ye=Z.length+1;Se=$t(re-qe,Ye,qe==0),ze(re/Ye)>x-me&&Te("overflow"),me+=ze(re/Ye),re%=Ye,Z.splice(re++,0,me)}return String.fromCodePoint.apply(String,Z)},z=function(q){var Z=[];q=st(q);var ee=q.length,re=le,me=0,Se=X,De=!0,He=!1,ht=void 0;try{for(var qe=q[Symbol.iterator](),it;!(De=(it=qe.next()).done);De=!0){var vt=it.value;vt<128&&Z.push(Fe(vt))}}catch(fe){He=!0,ht=fe}finally{try{!De&&qe.return&&qe.return()}finally{if(He)throw ht}}var lt=Z.length,Re=lt;for(lt&&Z.push(ve);Re<ee;){var ut=x,Ye=!0,qr=!1,Ht=void 0;try{for(var Gt=q[Symbol.iterator](),Qe;!(Ye=(Qe=Gt.next()).done);Ye=!0){var zt=Qe.value;zt>=re&&zt<ut&&(ut=zt)}}catch(fe){qr=!0,Ht=fe}finally{try{!Ye&&Gt.return&&Gt.return()}finally{if(qr)throw Ht}}var Xt=Re+1;ut-re>ze((x-me)/Xt)&&Te("overflow"),me+=(ut-re)*Xt,re=ut;var br=!0,Nr=!1,vr=void 0;try{for(var sn=q[Symbol.iterator](),Cn;!(br=(Cn=sn.next()).done);br=!0){var An=Cn.value;if(An<re&&++me>x&&Te("overflow"),An==re){for(var Hr=me,Gr=k;;Gr+=k){var kr=Gr<=Se?_:Gr>=Se+O?O:Gr-Se;if(Hr<kr)break;var an=Hr-kr,i=k-kr;Z.push(Fe(Je(kr+an%i,0))),Hr=ze(an/i)}Z.push(Fe(Je(Hr,0))),Se=$t(me,Xt,Re==lt),me=0,++Re}}}catch(fe){Nr=!0,vr=fe}finally{try{!br&&sn.return&&sn.return()}finally{if(Nr)throw vr}}++me,++re}return Z.join("")},V=function(q){return _e(q,function(Z){return ye.test(Z)?tt(Z.slice(4).toLowerCase()):Z})},Qt=function(q){return _e(q,function(Z){return ie.test(Z)?"xn--"+z(Z):Z})},Bt={version:"2.1.0",ucs2:{decode:st,encode:te},decode:tt,encode:z,toASCII:Qt,toUnicode:V},wt={};function Pt(B){var q=B.charCodeAt(0),Z=void 0;return q<16?Z="%0"+q.toString(16).toUpperCase():q<128?Z="%"+q.toString(16).toUpperCase():q<2048?Z="%"+(q>>6|192).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase():Z="%"+(q>>12|224).toString(16).toUpperCase()+"%"+(q>>6&63|128).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase(),Z}function Et(B){for(var q="",Z=0,ee=B.length;Z<ee;){var re=parseInt(B.substr(Z+1,2),16);if(re<128)q+=String.fromCharCode(re),Z+=3;else if(re>=194&&re<224){if(ee-Z>=6){var me=parseInt(B.substr(Z+4,2),16);q+=String.fromCharCode((re&31)<<6|me&63)}else q+=B.substr(Z,6);Z+=6}else if(re>=224){if(ee-Z>=9){var Se=parseInt(B.substr(Z+4,2),16),De=parseInt(B.substr(Z+7,2),16);q+=String.fromCharCode((re&15)<<12|(Se&63)<<6|De&63)}else q+=B.substr(Z,9);Z+=9}else q+=B.substr(Z,3),Z+=3}return q}function at(B,q){function Z(ee){var re=Et(ee);return re.match(q.UNRESERVED)?re:ee}return B.scheme&&(B.scheme=String(B.scheme).replace(q.PCT_ENCODED,Z).toLowerCase().replace(q.NOT_SCHEME,"")),B.userinfo!==void 0&&(B.userinfo=String(B.userinfo).replace(q.PCT_ENCODED,Z).replace(q.NOT_USERINFO,Pt).replace(q.PCT_ENCODED,o)),B.host!==void 0&&(B.host=String(B.host).replace(q.PCT_ENCODED,Z).toLowerCase().replace(q.NOT_HOST,Pt).replace(q.PCT_ENCODED,o)),B.path!==void 0&&(B.path=String(B.path).replace(q.PCT_ENCODED,Z).replace(B.scheme?q.NOT_PATH:q.NOT_PATH_NOSCHEME,Pt).replace(q.PCT_ENCODED,o)),B.query!==void 0&&(B.query=String(B.query).replace(q.PCT_ENCODED,Z).replace(q.NOT_QUERY,Pt).replace(q.PCT_ENCODED,o)),B.fragment!==void 0&&(B.fragment=String(B.fragment).replace(q.PCT_ENCODED,Z).replace(q.NOT_FRAGMENT,Pt).replace(q.PCT_ENCODED,o)),B}function _r(B){return B.replace(/^0*(.*)/,"$1")||"0"}function be(B,q){var Z=B.match(q.IPV4ADDRESS)||[],ee=h(Z,2),re=ee[1];return re?re.split(".").map(_r).join("."):B}function $r(B,q){var Z=B.match(q.IPV6ADDRESS)||[],ee=h(Z,3),re=ee[1],me=ee[2];if(re){for(var Se=re.toLowerCase().split("::").reverse(),De=h(Se,2),He=De[0],ht=De[1],qe=ht?ht.split(":").map(_r):[],it=He.split(":").map(_r),vt=q.IPV4ADDRESS.test(it[it.length-1]),lt=vt?7:8,Re=it.length-lt,ut=Array(lt),Ye=0;Ye<lt;++Ye)ut[Ye]=qe[Ye]||it[Re+Ye]||"";vt&&(ut[lt-1]=be(ut[lt-1],q));var qr=ut.reduce(function(Xt,br,Nr){if(!br||br==="0"){var vr=Xt[Xt.length-1];vr&&vr.index+vr.length===Nr?vr.length++:Xt.push({index:Nr,length:1})}return Xt},[]),Ht=qr.sort(function(Xt,br){return br.length-Xt.length})[0],Gt=void 0;if(Ht&&Ht.length>1){var Qe=ut.slice(0,Ht.index),zt=ut.slice(Ht.index+Ht.length);Gt=Qe.join(":")+"::"+zt.join(":")}else Gt=ut.join(":");return me&&(Gt+="%"+me),Gt}else return B}var ur=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fr="".match(/(){0}/)[1]===void 0;function Yt(B){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z={},ee=q.iri!==!1?g:c;q.reference==="suffix"&&(B=(q.scheme?q.scheme+":":"")+"//"+B);var re=B.match(ur);if(re){fr?(Z.scheme=re[1],Z.userinfo=re[3],Z.host=re[4],Z.port=parseInt(re[5],10),Z.path=re[6]||"",Z.query=re[7],Z.fragment=re[8],isNaN(Z.port)&&(Z.port=re[5])):(Z.scheme=re[1]||void 0,Z.userinfo=B.indexOf("@")!==-1?re[3]:void 0,Z.host=B.indexOf("//")!==-1?re[4]:void 0,Z.port=parseInt(re[5],10),Z.path=re[6]||"",Z.query=B.indexOf("?")!==-1?re[7]:void 0,Z.fragment=B.indexOf("#")!==-1?re[8]:void 0,isNaN(Z.port)&&(Z.port=B.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?re[4]:void 0)),Z.host&&(Z.host=$r(be(Z.host,ee),ee)),Z.scheme===void 0&&Z.userinfo===void 0&&Z.host===void 0&&Z.port===void 0&&!Z.path&&Z.query===void 0?Z.reference="same-document":Z.scheme===void 0?Z.reference="relative":Z.fragment===void 0?Z.reference="absolute":Z.reference="uri",q.reference&&q.reference!=="suffix"&&q.reference!==Z.reference&&(Z.error=Z.error||"URI is not a "+q.reference+" reference.");var me=wt[(q.scheme||Z.scheme||"").toLowerCase()];if(!q.unicodeSupport&&(!me||!me.unicodeSupport)){if(Z.host&&(q.domainHost||me&&me.domainHost))try{Z.host=Bt.toASCII(Z.host.replace(ee.PCT_ENCODED,Et).toLowerCase())}catch(Se){Z.error=Z.error||"Host's domain name can not be converted to ASCII via punycode: "+Se}at(Z,c)}else at(Z,ee);me&&me.parse&&me.parse(Z,q)}else Z.error=Z.error||"URI can not be parsed.";return Z}function Rn(B,q){var Z=q.iri!==!1?g:c,ee=[];return B.userinfo!==void 0&&(ee.push(B.userinfo),ee.push("@")),B.host!==void 0&&ee.push($r(be(String(B.host),Z),Z).replace(Z.IPV6ADDRESS,function(re,me,Se){return"["+me+(Se?"%25"+Se:"")+"]"})),(typeof B.port=="number"||typeof B.port=="string")&&(ee.push(":"),ee.push(String(B.port))),ee.length?ee.join(""):void 0}var Ln=/^\.\.?\//,vn=/^\/\.(\/|$)/,kn=/^\/\.\.(\/|$)/,We=/^\/?(?:.|\n)*?(?=\/|$)/;function Ne(B){for(var q=[];B.length;)if(B.match(Ln))B=B.replace(Ln,"");else if(B.match(vn))B=B.replace(vn,"/");else if(B.match(kn))B=B.replace(kn,"/"),q.pop();else if(B==="."||B==="..")B="";else{var Z=B.match(We);if(Z){var ee=Z[0];B=B.slice(ee.length),q.push(ee)}else throw new Error("Unexpected dot segment condition")}return q.join("")}function Ze(B){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=q.iri?g:c,ee=[],re=wt[(q.scheme||B.scheme||"").toLowerCase()];if(re&&re.serialize&&re.serialize(B,q),B.host&&!Z.IPV6ADDRESS.test(B.host)){if(q.domainHost||re&&re.domainHost)try{B.host=q.iri?Bt.toUnicode(B.host):Bt.toASCII(B.host.replace(Z.PCT_ENCODED,Et).toLowerCase())}catch(De){B.error=B.error||"Host's domain name can not be converted to "+(q.iri?"Unicode":"ASCII")+" via punycode: "+De}}at(B,Z),q.reference!=="suffix"&&B.scheme&&(ee.push(B.scheme),ee.push(":"));var me=Rn(B,q);if(me!==void 0&&(q.reference!=="suffix"&&ee.push("//"),ee.push(me),B.path&&B.path.charAt(0)!=="/"&&ee.push("/")),B.path!==void 0){var Se=B.path;!q.absolutePath&&(!re||!re.absolutePath)&&(Se=Ne(Se)),me===void 0&&(Se=Se.replace(/^\/\//,"/%2F")),ee.push(Se)}return B.query!==void 0&&(ee.push("?"),ee.push(B.query)),B.fragment!==void 0&&(ee.push("#"),ee.push(B.fragment)),ee.join("")}function bt(B,q){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=arguments[3],re={};return ee||(B=Yt(Ze(B,Z),Z),q=Yt(Ze(q,Z),Z)),Z=Z||{},!Z.tolerant&&q.scheme?(re.scheme=q.scheme,re.userinfo=q.userinfo,re.host=q.host,re.port=q.port,re.path=Ne(q.path||""),re.query=q.query):(q.userinfo!==void 0||q.host!==void 0||q.port!==void 0?(re.userinfo=q.userinfo,re.host=q.host,re.port=q.port,re.path=Ne(q.path||""),re.query=q.query):(q.path?(q.path.charAt(0)==="/"?re.path=Ne(q.path):((B.userinfo!==void 0||B.host!==void 0||B.port!==void 0)&&!B.path?re.path="/"+q.path:B.path?re.path=B.path.slice(0,B.path.lastIndexOf("/")+1)+q.path:re.path=q.path,re.path=Ne(re.path)),re.query=q.query):(re.path=B.path,q.query!==void 0?re.query=q.query:re.query=B.query),re.userinfo=B.userinfo,re.host=B.host,re.port=B.port),re.scheme=B.scheme),re.fragment=q.fragment,re}function cr(B,q,Z){var ee=l({scheme:"null"},Z);return Ze(bt(Yt(B,ee),Yt(q,ee),ee,!0),ee)}function Ve(B,q){return typeof B=="string"?B=Ze(Yt(B,q),q):n(B)==="object"&&(B=Yt(Ze(B,q),q)),B}function Ue(B,q,Z){return typeof B=="string"?B=Ze(Yt(B,Z),Z):n(B)==="object"&&(B=Ze(B,Z)),typeof q=="string"?q=Ze(Yt(q,Z),Z):n(q)==="object"&&(q=Ze(q,Z)),B===q}function dt(B,q){return B&&B.toString().replace(!q||!q.iri?c.ESCAPE:g.ESCAPE,Pt)}function rt(B,q){return B&&B.toString().replace(!q||!q.iri?c.PCT_ENCODED:g.PCT_ENCODED,Et)}var ne={scheme:"http",domainHost:!0,parse:function(q,Z){return q.host||(q.error=q.error||"HTTP URIs must have a host."),q},serialize:function(q,Z){var ee=String(q.scheme).toLowerCase()==="https";return(q.port===(ee?443:80)||q.port==="")&&(q.port=void 0),q.path||(q.path="/"),q}},ce={scheme:"https",domainHost:ne.domainHost,parse:ne.parse,serialize:ne.serialize};function we(B){return typeof B.secure=="boolean"?B.secure:String(B.scheme).toLowerCase()==="wss"}var Ae={scheme:"ws",domainHost:!0,parse:function(q,Z){var ee=q;return ee.secure=we(ee),ee.resourceName=(ee.path||"/")+(ee.query?"?"+ee.query:""),ee.path=void 0,ee.query=void 0,ee},serialize:function(q,Z){if((q.port===(we(q)?443:80)||q.port==="")&&(q.port=void 0),typeof q.secure=="boolean"&&(q.scheme=q.secure?"wss":"ws",q.secure=void 0),q.resourceName){var ee=q.resourceName.split("?"),re=h(ee,2),me=re[0],Se=re[1];q.path=me&&me!=="/"?me:void 0,q.query=Se,q.resourceName=void 0}return q.fragment=void 0,q}},Rt={scheme:"wss",domainHost:Ae.domainHost,parse:Ae.parse,serialize:Ae.serialize},Vr={},nt=!0,xt="[A-Za-z0-9\\-\\.\\_\\~"+(nt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ft="[0-9A-Fa-f]",Ur=e(e("%[EFef]"+Ft+"%"+Ft+Ft+"%"+Ft+Ft)+"|"+e("%[89A-Fa-f]"+Ft+"%"+Ft+Ft)+"|"+e("%"+Ft+Ft)),mt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",wn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Ut=r(wn,'[\\"\\\\]'),on="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",jn=new RegExp(xt,"g"),Or=new RegExp(Ur,"g"),ti=new RegExp(r("[^]",mt,"[\\.]",'[\\"]',Ut),"g"),ri=new RegExp(r("[^]",xt,on),"g"),Li=ri;function ni(B){var q=Et(B);return q.match(jn)?q:B}var ji={scheme:"mailto",parse:function(q,Z){var ee=q,re=ee.to=ee.path?ee.path.split(","):[];if(ee.path=void 0,ee.query){for(var me=!1,Se={},De=ee.query.split("&"),He=0,ht=De.length;He<ht;++He){var qe=De[He].split("=");switch(qe[0]){case"to":for(var it=qe[1].split(","),vt=0,lt=it.length;vt<lt;++vt)re.push(it[vt]);break;case"subject":ee.subject=rt(qe[1],Z);break;case"body":ee.body=rt(qe[1],Z);break;default:me=!0,Se[rt(qe[0],Z)]=rt(qe[1],Z);break}}me&&(ee.headers=Se)}ee.query=void 0;for(var Re=0,ut=re.length;Re<ut;++Re){var Ye=re[Re].split("@");if(Ye[0]=rt(Ye[0]),Z.unicodeSupport)Ye[1]=rt(Ye[1],Z).toLowerCase();else try{Ye[1]=Bt.toASCII(rt(Ye[1],Z).toLowerCase())}catch(qr){ee.error=ee.error||"Email address's domain name can not be converted to ASCII via punycode: "+qr}re[Re]=Ye.join("@")}return ee},serialize:function(q,Z){var ee=q,re=s(q.to);if(re){for(var me=0,Se=re.length;me<Se;++me){var De=String(re[me]),He=De.lastIndexOf("@"),ht=De.slice(0,He).replace(Or,ni).replace(Or,o).replace(ti,Pt),qe=De.slice(He+1);try{qe=Z.iri?Bt.toUnicode(qe):Bt.toASCII(rt(qe,Z).toLowerCase())}catch(Re){ee.error=ee.error||"Email address's domain name can not be converted to "+(Z.iri?"Unicode":"ASCII")+" via punycode: "+Re}re[me]=ht+"@"+qe}ee.path=re.join(",")}var it=q.headers=q.headers||{};q.subject&&(it.subject=q.subject),q.body&&(it.body=q.body);var vt=[];for(var lt in it)it[lt]!==Vr[lt]&&vt.push(lt.replace(Or,ni).replace(Or,o).replace(ri,Pt)+"="+it[lt].replace(Or,ni).replace(Or,o).replace(Li,Pt));return vt.length&&(ee.query=vt.join("&")),ee}},ii=/^([^\:]+)\:(.*)/,Bn={scheme:"urn",parse:function(q,Z){var ee=q.path&&q.path.match(ii),re=q;if(ee){var me=Z.scheme||re.scheme||"urn",Se=ee[1].toLowerCase(),De=ee[2],He=me+":"+(Z.nid||Se),ht=wt[He];re.nid=Se,re.nss=De,re.path=void 0,ht&&(re=ht.parse(re,Z))}else re.error=re.error||"URN can not be parsed.";return re},serialize:function(q,Z){var ee=Z.scheme||q.scheme||"urn",re=q.nid,me=ee+":"+(Z.nid||re),Se=wt[me];Se&&(q=Se.serialize(q,Z));var De=q,He=q.nss;return De.path=(re||Z.nid)+":"+He,De}},Bi=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,xn={scheme:"urn:uuid",parse:function(q,Z){var ee=q;return ee.uuid=ee.nss,ee.nss=void 0,!Z.tolerant&&(!ee.uuid||!ee.uuid.match(Bi))&&(ee.error=ee.error||"UUID is not valid."),ee},serialize:function(q,Z){var ee=q;return ee.nss=(q.uuid||"").toLowerCase(),ee}};wt[ne.scheme]=ne,wt[ce.scheme]=ce,wt[Ae.scheme]=Ae,wt[Rt.scheme]=Rt,wt[ji.scheme]=ji,wt[Bn.scheme]=Bn,wt[xn.scheme]=xn,t.SCHEMES=wt,t.pctEncChar=Pt,t.pctDecChars=Et,t.parse=Yt,t.removeDotSegments=Ne,t.serialize=Ze,t.resolveComponents=bt,t.resolve=cr,t.normalize=Ve,t.equal=Ue,t.escapeComponent=dt,t.unescapeComponent=rt,Object.defineProperty(t,"__esModule",{value:!0})})});var No=ge(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.getSchemaRefs=Ar.resolveUrl=Ar.normalizeId=Ar._getFullPath=Ar.getFullPath=Ar.inlineRef=void 0;var Hg=St(),Gg=qo(),Kg=gc(),Fs=dl(),Wg=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Zg(t,r=!0){return typeof t=="boolean"?!0:r===!0?!ml(t):r?$c(t)<=r:!1}Ar.inlineRef=Zg;var Jg=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function ml(t){for(let r in t){if(Jg.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(ml)||typeof e=="object"&&ml(e))return!0}return!1}function $c(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!Wg.has(e)&&(typeof t[e]=="object"&&Hg.eachItem(t[e],n=>r+=$c(n)),r===1/0))return 1/0}return r}function bc(t="",r){r!==!1&&(t=to(t));let e=Fs.parse(t);return vc(e)}Ar.getFullPath=bc;function vc(t){return Fs.serialize(t).split("#")[0]+"#"}Ar._getFullPath=vc;var Qg=/#\/?$/;function to(t){return t?t.replace(Qg,""):""}Ar.normalizeId=to;function Yg(t,r){return r=to(r),Fs.resolve(t,r)}Ar.resolveUrl=Yg;var Xg=/^[a-z_][-a-z0-9._]*$/i;function ey(t){if(typeof t=="boolean")return{};let r=to(t.$id),e={"":r},n=bc(r,!1),o={},s=new Set;return Kg(t,{allKeys:!0},(c,g,h,v)=>{if(v===void 0)return;let x=n+g,k=e[v];typeof c.$id=="string"&&(k=_.call(this,c.$id)),O.call(this,c.$anchor),O.call(this,c.$dynamicAnchor),e[g]=k;function _(D){if(D=to(k?Fs.resolve(k,D):D),s.has(D))throw f(D);s.add(D);let M=this.refs[D];return typeof M=="string"&&(M=this.refs[M]),typeof M=="object"?l(c,M.schema,D):D!==to(x)&&(D[0]==="#"?(l(c,o[D],D),o[D]=c):this.refs[D]=x),D}function O(D){if(typeof D=="string"){if(!Xg.test(D))throw new Error(`invalid anchor "${D}"`);_.call(this,`#${D}`)}}}),o;function l(c,g,h){if(g!==void 0&&!Gg(c,g))throw f(h)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Ar.getSchemaRefs=ey});var Tr=ge(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.checkStrictMode=hn.schemaCxtHasRules=hn.subschemaCode=hn.validateFunctionCode=void 0;var Cc=Qf(),kc=eo(),wc=dc(),Me=Le(),Ie=Qr(),ty=No(),Ac=St();function ry(t){if(_c(t)&&(Sc(t),hl(t))){oy(t);return}Ec(t,()=>Cc.topBoolOrEmptySchema(t))}hn.validateFunctionCode=ry;function Ec({gen:t,validateName:r,schema:e,schemaEnv:n,opts:o},s){o.code.es5?t.func(r,Me._`${Ie.default.data}, ${Ie.default.valCxt}`,n.$async,()=>{t.code(Me._`"use strict"; ${xc(e,o)}`),iy(t,o),t.code(s)}):t.func(r,Me._`${Ie.default.data}, ${ny(o)}`,n.$async,()=>t.code(xc(e,o)).code(s))}function ny(t){return Me._`{${Ie.default.dataPath}="", ${Ie.default.parentData}, ${Ie.default.parentDataProperty}, ${Ie.default.rootData}=${Ie.default.data}${t.dynamicRef?Me._`, ${Ie.default.dynamicAnchors}={}`:Me.nil}}={}`}function iy(t,r){t.if(Ie.default.valCxt,()=>{t.var(Ie.default.dataPath,Me._`${Ie.default.valCxt}.${Ie.default.dataPath}`),t.var(Ie.default.parentData,Me._`${Ie.default.valCxt}.${Ie.default.parentData}`),t.var(Ie.default.parentDataProperty,Me._`${Ie.default.valCxt}.${Ie.default.parentDataProperty}`),t.var(Ie.default.rootData,Me._`${Ie.default.valCxt}.${Ie.default.rootData}`),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Me._`${Ie.default.valCxt}.${Ie.default.dynamicAnchors}`)},()=>{t.var(Ie.default.dataPath,Me._`""`),t.var(Ie.default.parentData,Me._`undefined`),t.var(Ie.default.parentDataProperty,Me._`undefined`),t.var(Ie.default.rootData,Ie.default.data),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Me._`{}`)})}function oy(t){let{schema:r,opts:e,gen:n}=t;Ec(t,()=>{e.$comment&&r.$comment&&Fc(t),fy(t),n.let(Ie.default.vErrors,null),n.let(Ie.default.errors,0),e.unevaluated&&sy(t),Pc(t),dy(t)})}function sy(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Me._`${e}.evaluated`),r.if(Me._`${t.evaluated}.dynamicProps`,()=>r.assign(Me._`${t.evaluated}.props`,Me._`undefined`)),r.if(Me._`${t.evaluated}.dynamicItems`,()=>r.assign(Me._`${t.evaluated}.items`,Me._`undefined`))}function xc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Me._`/*# sourceURL=${t.$id} */`:Me.nil}function ay(t,r){if(_c(t)&&(Sc(t),hl(t))){ly(t,r);return}Cc.boolOrEmptySchema(t,r)}hn.subschemaCode=ay;function hl({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}hn.schemaCxtHasRules=hl;function _c(t){return typeof t.schema!="boolean"}function ly(t,r){let{schema:e,gen:n,opts:o}=t;o.$comment&&e.$comment&&Fc(t),cy(t),py(t);let s=n.const("_errs",Ie.default.errors);Pc(t,s),n.var(r,Me._`${s} === ${Ie.default.errors}`)}function Sc(t){Ac.checkUnknownRules(t),uy(t)}function Pc(t,r){if(t.opts.jtd)return wc.schemaKeywords(t,[],!1,r);let e=kc.getSchemaTypes(t.schema),n=kc.coerceAndCheckDataType(t,e);wc.schemaKeywords(t,e,!n,r)}function uy(t){let{schema:r,errSchemaPath:e,opts:n,self:o}=t;r.$ref&&n.ignoreKeywordsWithRef&&Ac.schemaHasRulesButRef(r,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function fy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Tc(t,"default is ignored in the schema root")}function cy(t){t.schema.$id&&(t.baseId=ty.resolveUrl(t.baseId,t.schema.$id))}function py(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Fc({gen:t,schemaEnv:r,schema:e,errSchemaPath:n,opts:o}){let s=e.$comment;if(o.$comment===!0)t.code(Me._`${Ie.default.self}.logger.log(${s})`);else if(typeof o.$comment=="function"){let l=Me.str`${n}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Me._`${Ie.default.self}.opts.$comment(${s}, ${l}, ${f}.schema)`)}}function dy(t){let{gen:r,schemaEnv:e,validateName:n,ValidationError:o,opts:s}=t;e.$async?r.if(Me._`${Ie.default.errors} === 0`,()=>r.return(Ie.default.data),()=>r.throw(Me._`new ${o}(${Ie.default.vErrors})`)):(r.assign(Me._`${n}.errors`,Ie.default.vErrors),s.unevaluated&&my(t),r.return(Me._`${Ie.default.errors} === 0`))}function my({gen:t,evaluated:r,props:e,items:n}){e instanceof Me.Name&&t.assign(Me._`${r}.props`,e),n instanceof Me.Name&&t.assign(Me._`${r}.items`,n)}function Tc(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}hn.checkStrictMode=Tc});var St=ge(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.func=Xe.setEvaluated=Xe.evaluatedPropsToName=Xe.mergeEvaluated=Xe.eachItem=Xe.unescapeJsonPointer=Xe.escapeJsonPointer=Xe.escapeFragment=Xe.unescapeFragment=Xe.schemaRefOrVal=Xe.schemaHasRulesButRef=Xe.schemaHasRules=Xe.checkUnknownRules=Xe.alwaysValidSchema=Xe.toHash=void 0;var It=Le(),hy=Tr();function gy(t){let r={};for(let e of t)r[e]=!0;return r}Xe.toHash=gy;function yy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(Oc(t,r),!qc(r,t.self.RULES.all))}Xe.alwaysValidSchema=yy;function Oc(t,r=t.schema){let{opts:e,self:n}=t;if(!e.strict||typeof r=="boolean")return;let o=n.RULES.keywords;for(let s in r)o[s]||hy.checkStrictMode(t,`unknown keyword: "${s}"`)}Xe.checkUnknownRules=Oc;function qc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}Xe.schemaHasRules=qc;function $y(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}Xe.schemaHasRulesButRef=$y;function by({topSchemaRef:t,schemaPath:r},e,n,o){if(!o){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return It._`${e}`}return It._`${t}${r}${It.getProperty(n)}`}Xe.schemaRefOrVal=by;function vy(t){return Dc(decodeURIComponent(t))}Xe.unescapeFragment=vy;function ky(t){return encodeURIComponent(Nc(t))}Xe.escapeFragment=ky;function Nc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}Xe.escapeJsonPointer=Nc;function Dc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}Xe.unescapeJsonPointer=Dc;function wy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}Xe.eachItem=wy;function Ic({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:n}){return(o,s,l,f)=>{let c=l===void 0?s:l instanceof It.Name?(s instanceof It.Name?t(o,s,l):r(o,s,l),l):s instanceof It.Name?(r(o,l,s),s):e(s,l);return f===It.Name&&!(c instanceof It.Name)?n(o,c):c}}Xe.mergeEvaluated={props:Ic({mergeNames:(t,r,e)=>t.if(It._`${e} !== true && ${r} !== undefined`,()=>{t.if(It._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,It._`${e} || {}`).code(It._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(It._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,It._`${e} || {}`),gl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Rc}),items:Ic({mergeNames:(t,r,e)=>t.if(It._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,It._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(It._`${e} !== true`,()=>t.assign(e,r===!0?!0:It._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Rc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",It._`{}`);return r!==void 0&&gl(t,e,r),e}Xe.evaluatedPropsToName=Rc;function gl(t,r,e){Object.keys(e).forEach(n=>t.assign(It._`${r}${It.getProperty(n)}`,!0))}Xe.setEvaluated=gl;function xy(t,r){return t.scopeValue("func",{ref:r,code:r.code})}Xe.func=xy});var eo=ge(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.reportTypeError=Wt.checkDataTypes=Wt.checkDataType=Wt.coerceAndCheckDataType=Wt.getJSONTypes=Wt.getSchemaTypes=Wt.DataType=void 0;var Cy=Ma(),Ay=Va(),Ey=Io(),Oe=Le(),Lc=St(),Do;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Do=Wt.DataType||(Wt.DataType={}));function _y(t){let r=jc(t.type);if(r.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!r.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&r.push("null")}return r}Wt.getSchemaTypes=_y;function jc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(Cy.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Wt.getJSONTypes=jc;function Sy(t,r){let{gen:e,data:n,opts:o}=t,s=Py(r,o.coerceTypes),l=r.length>0&&!(s.length===0&&r.length===1&&Ay.schemaHasRulesForType(t,r[0]));if(l){let f=$l(r,n,o.strict,Do.Wrong);e.if(f,()=>{s.length?Fy(t,r,s):bl(t)})}return l}Wt.coerceAndCheckDataType=Sy;var Bc=new Set(["string","number","integer","boolean","null"]);function Py(t,r){return r?t.filter(e=>Bc.has(e)||r==="array"&&e==="array"):[]}function Fy(t,r,e){let{gen:n,data:o,opts:s}=t,l=n.let("dataType",Oe._`typeof ${o}`),f=n.let("coerced",Oe._`undefined`);s.coerceTypes==="array"&&n.if(Oe._`${l} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>n.assign(o,Oe._`${o}[0]`).assign(l,Oe._`typeof ${o}`).if($l(r,o,s.strict),()=>n.assign(f,o))),n.if(Oe._`${f} !== undefined`);for(let g of e)(Bc.has(g)||g==="array"&&s.coerceTypes==="array")&&c(g);n.else(),bl(t),n.endIf(),n.if(Oe._`${f} !== undefined`,()=>{n.assign(o,f),Ty(t,f)});function c(g){switch(g){case"string":n.elseIf(Oe._`${l} == "number" || ${l} == "boolean"`).assign(f,Oe._`"" + ${o}`).elseIf(Oe._`${o} === null`).assign(f,Oe._`""`);return;case"number":n.elseIf(Oe._`${l} == "boolean" || ${o} === null
1
+ var Eh=Object.create;var ys=Object.defineProperty;var _h=Object.getOwnPropertyDescriptor;var Sh=Object.getOwnPropertyNames;var Ph=Object.getPrototypeOf,Fh=Object.prototype.hasOwnProperty;var ge=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jf=(t,r)=>{for(var e in r)ys(t,e,{get:r[e],enumerable:!0})},Bf=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of Sh(r))!Fh.call(t,o)&&o!==e&&ys(t,o,{get:()=>r[o],enumerable:!(n=_h(r,o))||n.enumerable});return t};var Fr=(t,r,e)=>(e=t!=null?Eh(Ph(t)):{},Bf(r||!t||!t.__esModule?ys(e,"default",{value:t,enumerable:!0}):e,t)),Th=t=>Bf(ys({},"__esModule",{value:!0}),t);var Ma=ge(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.getRules=Zi.isJSONType=void 0;var Ih=["string","number","integer","boolean","null","object","array"],Oh=new Set(Ih);function qh(t){return typeof t=="string"&&Oh.has(t)}Zi.isJSONType=qh;function Nh(){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:{}}}Zi.getRules=Nh});var Va=ge(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.shouldUseRule=Gn.shouldUseGroup=Gn.schemaHasRulesForType=void 0;function Dh({schema:t,self:r},e){let n=r.RULES.types[e];return n&&n!==!0&&zf(t,n)}Gn.schemaHasRulesForType=Dh;function zf(t,r){return r.rules.some(e=>Mf(t,e))}Gn.shouldUseGroup=zf;function Mf(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(n=>t[n]!==void 0))}Gn.shouldUseRule=Mf});var $s=ge(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.getProperty=ct.safeStringify=ct.stringify=ct.strConcat=ct.addCodeArg=ct.str=ct._=ct.nil=ct._Code=ct.Name=ct.IDENTIFIER=ct._CodeOrName=void 0;var Ao=class{};ct._CodeOrName=Ao;ct.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var hi=class extends Ao{constructor(r){if(super(),!ct.IDENTIFIER.test(r))throw new Error("CodeGen: name must be a valid identifier");this.str=r}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};ct.Name=hi;var dn=class extends Ao{constructor(r){super(),this._items=typeof r=="string"?[r]:r}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let r=this._items[0];return r===""||r==='""'}get str(){var r;return(r=this._str)!==null&&r!==void 0?r:this._str=this._items.reduce((e,n)=>`${e}${n}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,n)=>(n instanceof hi&&(e[n.str]=(e[n.str]||0)+1),e),{})}};ct._Code=dn;ct.nil=new dn("");function Vf(t,...r){let e=[t[0]],n=0;for(;n<r.length;)Ha(e,r[n]),e.push(t[++n]);return new dn(e)}ct._=Vf;var Ua=new dn("+");function Uf(t,...r){let e=[Eo(t[0])],n=0;for(;n<r.length;)e.push(Ua),Ha(e,r[n]),e.push(Ua,Eo(t[++n]));return Rh(e),new dn(e)}ct.str=Uf;function Ha(t,r){r instanceof dn?t.push(...r._items):r instanceof hi?t.push(r):t.push(Bh(r))}ct.addCodeArg=Ha;function Rh(t){let r=1;for(;r<t.length-1;){if(t[r]===Ua){let e=Lh(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Lh(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof hi||t[t.length-1]!=='"'?void 0:typeof r!="string"?`${t.slice(0,-1)}${r}"`:r[0]==='"'?t.slice(0,-1)+r.slice(1):void 0;if(typeof r=="string"&&r[0]==='"'&&!(t instanceof hi))return`"${t}${r.slice(1)}`}function jh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Uf`${t}${r}`}ct.strConcat=jh;function Bh(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Eo(Array.isArray(t)?t.join(","):t)}function zh(t){return new dn(Eo(t))}ct.stringify=zh;function Eo(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}ct.safeStringify=Eo;function Mh(t){return typeof t=="string"&&ct.IDENTIFIER.test(t)?new dn(`.${t}`):Vf`[${t}]`}ct.getProperty=Mh});var Za=ge(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.ValueScope=dr.ValueScopeName=dr.Scope=dr.varKinds=dr.UsedValueState=void 0;var Cr=$s(),Ga=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},Ka;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Ka=dr.UsedValueState||(dr.UsedValueState={}));dr.varKinds={const:new Cr.Name("const"),let:new Cr.Name("let"),var:new Cr.Name("var")};var bs=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Cr.Name?r:this.name(r)}name(r){return new Cr.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,n;if(((n=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||n===void 0?void 0:n.has(r))||this._prefixes&&!this._prefixes.has(r))throw new Error(`CodeGen: prefix "${r}" is not allowed in this scope`);return this._names[r]={prefix:r,index:0}}};dr.Scope=bs;var vs=class extends Cr.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:n}){this.value=r,this.scopePath=Cr._`.${new Cr.Name(e)}[${n}]`}};dr.ValueScopeName=vs;var Vh=Cr._`\n`,Wa=class extends bs{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Vh:Cr.nil}}get(){return this._scope}name(r){return new vs(r,this._newName(r))}value(r,e){var n;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let o=this.toName(r),{prefix:s}=o,l=(n=e.key)!==null&&n!==void 0?n:e.ref,f=this._values[s];if(f){let m=f.get(l);if(m)return m}else f=this._values[s]=new Map;f.set(l,o);let c=this._scope[s]||(this._scope[s]=[]),g=c.length;return c[g]=e.ref,o.setValue(e,{property:s,itemIndex:g}),o}getValue(r,e){let n=this._values[r];if(!!n)return n.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return Cr._`${r}${n.scopePath}`})}scopeCode(r=this._values,e,n){return this._reduceValues(r,o=>{if(o.value===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return o.value.code},e,n)}_reduceValues(r,e,n={},o){let s=Cr.nil;for(let l in r){let f=r[l];if(!f)continue;let c=n[l]=n[l]||new Map;f.forEach(g=>{if(c.has(g))return;c.set(g,Ka.Started);let m=e(g);if(m){let v=this.opts.es5?dr.varKinds.var:dr.varKinds.const;s=Cr._`${s}${v} ${g} = ${m};${this.opts._n}`}else if(m=o==null?void 0:o(g))s=Cr._`${s}${m}${this.opts._n}`;else throw new Ga(g);c.set(g,Ka.Completed)})}return s}};dr.ValueScope=Wa});var Le=ge(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.or=je.and=je.not=je.CodeGen=je.operators=je.varKinds=je.ValueScopeName=je.ValueScope=je.Scope=je.Name=je.stringify=je.getProperty=je.nil=je.strConcat=je.str=je._=void 0;var Ge=$s(),Zr=Za(),$i=$s();Object.defineProperty(je,"_",{enumerable:!0,get:function(){return $i._}});Object.defineProperty(je,"str",{enumerable:!0,get:function(){return $i.str}});Object.defineProperty(je,"strConcat",{enumerable:!0,get:function(){return $i.strConcat}});Object.defineProperty(je,"nil",{enumerable:!0,get:function(){return $i.nil}});Object.defineProperty(je,"getProperty",{enumerable:!0,get:function(){return $i.getProperty}});Object.defineProperty(je,"stringify",{enumerable:!0,get:function(){return $i.stringify}});Object.defineProperty(je,"Name",{enumerable:!0,get:function(){return $i.Name}});var Cs=Za();Object.defineProperty(je,"Scope",{enumerable:!0,get:function(){return Cs.Scope}});Object.defineProperty(je,"ValueScope",{enumerable:!0,get:function(){return Cs.ValueScope}});Object.defineProperty(je,"ValueScopeName",{enumerable:!0,get:function(){return Cs.ValueScopeName}});Object.defineProperty(je,"varKinds",{enumerable:!0,get:function(){return Cs.varKinds}});je.operators={GT:new Ge._Code(">"),GTE:new Ge._Code(">="),LT:new Ge._Code("<"),LTE:new Ge._Code("<="),EQ:new Ge._Code("==="),NEQ:new Ge._Code("!=="),NOT:new Ge._Code("!"),OR:new Ge._Code("||"),AND:new Ge._Code("&&"),ADD:new Ge._Code("+")};var In=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},Ja=class extends In{constructor(r,e,n){super(),this.varKind=r,this.name=e,this.rhs=n}render({es5:r,_n:e}){let n=r?Zr.varKinds.var:this.varKind,o=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${o};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=Qi(this.rhs,r,e)),this}get names(){return this.rhs instanceof Ge._CodeOrName?this.rhs.names:{}}},ks=class extends In{constructor(r,e,n){super(),this.lhs=r,this.rhs=e,this.sideEffects=n}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Ge.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=Qi(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Ge.Name?{}:{...this.lhs.names};return xs(r,this.rhs)}},Qa=class extends ks{constructor(r,e,n,o){super(r,n,o),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},Ya=class extends In{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},Xa=class extends In{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},el=class extends In{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},tl=class extends In{constructor(r){super(),this.code=r}render({_n:r}){return`${this.code};`+r}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(r,e){return this.code=Qi(this.code,r,e),this}get names(){return this.code instanceof Ge._CodeOrName?this.code.names:{}}},_o=class extends In{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,n)=>e+n.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let n=r[e].optimizeNodes();Array.isArray(n)?r.splice(e,1,...n):n?r[e]=n:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:n}=this,o=n.length;for(;o--;){let s=n[o];s.optimizeNames(r,e)||(Uh(r,s.names),n.splice(o,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>yi(r,e.names),{})}},On=class extends _o{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},rl=class extends _o{},Ji=class extends On{};Ji.kind="else";var Jr=class extends On{constructor(r,e){super(e),this.condition=r}render(r){let e=`if(${this.condition})`+super.render(r);return this.else&&(e+="else "+this.else.render(r)),e}optimizeNodes(){super.optimizeNodes();let r=this.condition;if(r===!0)return this.nodes;let e=this.else;if(e){let n=e.optimizeNodes();e=this.else=Array.isArray(n)?new Ji(n):n}if(e)return r===!1?e instanceof Jr?e:e.nodes:this.nodes.length?this:new Jr(Hf(r),e instanceof Jr?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=Qi(this.condition,r,e),this}get names(){let r=super.names;return xs(r,this.condition),this.else&&yi(r,this.else.names),r}};Jr.kind="if";var gi=class extends On{};gi.kind="for";var nl=class extends gi{constructor(r){super(),this.iteration=r}render(r){return`for(${this.iteration})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iteration=Qi(this.iteration,r,e),this}get names(){return yi(super.names,this.iteration.names)}},il=class extends gi{constructor(r,e,n,o){super(),this.varKind=r,this.name=e,this.from=n,this.to=o}render(r){let e=r.es5?Zr.varKinds.var:this.varKind,{name:n,from:o,to:s}=this;return`for(${e} ${n}=${o}; ${n}<${s}; ${n}++)`+super.render(r)}get names(){let r=xs(super.names,this.from);return xs(r,this.to)}},ws=class extends gi{constructor(r,e,n,o){super(),this.loop=r,this.varKind=e,this.name=n,this.iterable=o}render(r){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(r)}optimizeNames(r,e){if(!!super.optimizeNames(r,e))return this.iterable=Qi(this.iterable,r,e),this}get names(){return yi(super.names,this.iterable.names)}},So=class extends On{constructor(r,e,n){super(),this.name=r,this.args=e,this.async=n}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};So.kind="func";var Po=class extends _o{render(r){return"return "+super.render(r)}};Po.kind="return";var ol=class extends On{render(r){let e="try"+super.render(r);return this.catch&&(e+=this.catch.render(r)),this.finally&&(e+=this.finally.render(r)),e}optimizeNodes(){var r,e;return super.optimizeNodes(),(r=this.catch)===null||r===void 0||r.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(r,e){var n,o;return super.optimizeNames(r,e),(n=this.catch)===null||n===void 0||n.optimizeNames(r,e),(o=this.finally)===null||o===void 0||o.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&yi(r,this.catch.names),this.finally&&yi(r,this.finally.names),r}},Fo=class extends On{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};Fo.kind="catch";var To=class extends On{render(r){return"finally"+super.render(r)}};To.kind="finally";var sl=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
2
+ `:""},this._extScope=r,this._scope=new Zr.Scope({parent:r}),this._nodes=[new rl]}toString(){return this._root.render(this.opts)}name(r){return this._scope.name(r)}scopeName(r){return this._extScope.name(r)}scopeValue(r,e){let n=this._extScope.value(r,e);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(r,e){return this._extScope.getValue(r,e)}scopeRefs(r){return this._extScope.scopeRefs(r,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(r,e,n,o){let s=this._scope.toName(e);return n!==void 0&&o&&(this._constants[s.str]=n),this._leafNode(new Ja(r,s,n)),s}const(r,e,n){return this._def(Zr.varKinds.const,r,e,n)}let(r,e,n){return this._def(Zr.varKinds.let,r,e,n)}var(r,e,n){return this._def(Zr.varKinds.var,r,e,n)}assign(r,e,n){return this._leafNode(new ks(r,e,n))}add(r,e){return this._leafNode(new Qa(r,je.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Ge.nil&&this._leafNode(new tl(r)),this}object(...r){let e=["{"];for(let[n,o]of r)e.length>1&&e.push(","),e.push(n),(n!==o||this.opts.es5)&&(e.push(":"),Ge.addCodeArg(e,o));return e.push("}"),new Ge._Code(e)}if(r,e,n){if(this._blockNode(new Jr(r)),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(r){return this._elseNode(new Jr(r))}else(){return this._elseNode(new Ji)}endIf(){return this._endBlockNode(Jr,Ji)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new nl(r),e)}forRange(r,e,n,o,s=this.opts.es5?Zr.varKinds.var:Zr.varKinds.let){let l=this._scope.toName(r);return this._for(new il(s,l,e,n),()=>o(l))}forOf(r,e,n,o=Zr.varKinds.const){let s=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Ge.Name?e:this.var("_arr",e);return this.forRange("_i",0,Ge._`${l}.length`,f=>{this.var(s,Ge._`${l}[${f}]`),n(s)})}return this._for(new ws("of",o,s,e),()=>n(s))}forIn(r,e,n,o=this.opts.es5?Zr.varKinds.var:Zr.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Ge._`Object.keys(${e})`,n);let s=this._scope.toName(r);return this._for(new ws("in",o,s,e),()=>n(s))}endFor(){return this._endBlockNode(gi)}label(r){return this._leafNode(new Ya(r))}break(r){return this._leafNode(new Xa(r))}return(r){let e=new Po;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Po)}try(r,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let o=new ol;if(this._blockNode(o),this.code(r),e){let s=this.name("e");this._currNode=o.catch=new Fo(s),e(s)}return n&&(this._currNode=o.finally=new To,this.code(n)),this._endBlockNode(Fo,To)}throw(r){return this._leafNode(new el(r))}block(r,e){return this._blockStarts.push(this._nodes.length),r&&this.code(r).endBlock(e),this}endBlock(r){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||r!==void 0&&n!==r)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Ge.nil,n,o){return this._blockNode(new So(r,e,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(So)}optimize(r=1){for(;r-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(r){return this._currNode.nodes.push(r),this}_blockNode(r){this._currNode.nodes.push(r),this._nodes.push(r)}_endBlockNode(r,e){let n=this._currNode;if(n instanceof r||e&&n instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${r.kind}/${e.kind}`:r.kind}"`)}_elseNode(r){let e=this._currNode;if(!(e instanceof Jr))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=r,this}get _root(){return this._nodes[0]}get _currNode(){let r=this._nodes;return r[r.length-1]}set _currNode(r){let e=this._nodes;e[e.length-1]=r}};je.CodeGen=sl;function yi(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function xs(t,r){return r instanceof Ge._CodeOrName?yi(t,r.names):t}function Qi(t,r,e){if(t instanceof Ge.Name)return n(t);if(!o(t))return t;return new Ge._Code(t._items.reduce((s,l)=>(l instanceof Ge.Name&&(l=n(l)),l instanceof Ge._Code?s.push(...l._items):s.push(l),s),[]));function n(s){let l=e[s.str];return l===void 0||r[s.str]!==1?s:(delete r[s.str],l)}function o(s){return s instanceof Ge._Code&&s._items.some(l=>l instanceof Ge.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function Uh(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function Hf(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Ge._`!${al(t)}`}je.not=Hf;var Hh=Gf(je.operators.AND);function Gh(...t){return t.reduce(Hh)}je.and=Gh;var Kh=Gf(je.operators.OR);function Wh(...t){return t.reduce(Kh)}je.or=Wh;function Gf(t){return(r,e)=>r===Ge.nil?e:e===Ge.nil?r:Ge._`${al(r)} ${t} ${al(e)}`}function al(t){return t instanceof Ge.Name?t:Ge._`(${t})`}});var Qr=ge(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var tr=Le(),Zh={data:new tr.Name("data"),valCxt:new tr.Name("valCxt"),dataPath:new tr.Name("dataPath"),parentData:new tr.Name("parentData"),parentDataProperty:new tr.Name("parentDataProperty"),rootData:new tr.Name("rootData"),dynamicAnchors:new tr.Name("dynamicAnchors"),vErrors:new tr.Name("vErrors"),errors:new tr.Name("errors"),this:new tr.Name("this"),self:new tr.Name("self"),scope:new tr.Name("scope"),json:new tr.Name("json"),jsonPos:new tr.Name("jsonPos"),jsonLen:new tr.Name("jsonLen"),jsonPart:new tr.Name("jsonPart")};ll.default=Zh});var Io=ge(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.extendErrors=rr.resetErrorsCount=rr.reportExtraError=rr.reportError=rr.keyword$DataError=rr.keywordError=void 0;var Ke=Le(),nr=Qr();rr.keywordError={message:({keyword:t})=>Ke.str`should pass "${t}" keyword validation`};rr.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Ke.str`"${t}" keyword must be ${r} ($data)`:Ke.str`"${t}" keyword is invalid ($data)`};function Jh(t,r=rr.keywordError,e){let{it:n}=t,{gen:o,compositeRule:s,allErrors:l}=n,f=Zf(t,r);e??(s||l)?Kf(o,f):Wf(n,Ke._`[${f}]`)}rr.reportError=Jh;function Qh(t,r=rr.keywordError){let{it:e}=t,{gen:n,compositeRule:o,allErrors:s}=e,l=Zf(t,r);Kf(n,l),o||s||Wf(e,nr.default.vErrors)}rr.reportExtraError=Qh;function Yh(t,r){t.assign(nr.default.errors,r),t.if(Ke._`${nr.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Ke._`${nr.default.vErrors}.length`,r),()=>t.assign(nr.default.vErrors,null)))}rr.resetErrorsCount=Yh;function Xh({gen:t,keyword:r,schemaValue:e,data:n,errsCount:o,it:s}){if(o===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",o,nr.default.errors,f=>{t.const(l,Ke._`${nr.default.vErrors}[${f}]`),t.if(Ke._`${l}.dataPath === undefined`,()=>t.assign(Ke._`${l}.dataPath`,Ke.strConcat(nr.default.dataPath,s.errorPath))),t.assign(Ke._`${l}.schemaPath`,Ke.str`${s.errSchemaPath}/${r}`),s.opts.verbose&&(t.assign(Ke._`${l}.schema`,e),t.assign(Ke._`${l}.data`,n))})}rr.extendErrors=Xh;function Kf(t,r){let e=t.const("err",r);t.if(Ke._`${nr.default.vErrors} === null`,()=>t.assign(nr.default.vErrors,Ke._`[${e}]`),Ke._`${nr.default.vErrors}.push(${e})`),t.code(Ke._`${nr.default.errors}++`)}function Wf(t,r){let{gen:e,validateName:n,schemaEnv:o}=t;o.$async?e.throw(Ke._`new ${t.ValidationError}(${r})`):(e.assign(Ke._`${n}.errors`,r),e.return(!1))}var mn={keyword:new Ke.Name("keyword"),schemaPath:new Ke.Name("schemaPath"),params:new Ke.Name("params"),propertyName:new Ke.Name("propertyName"),message:new Ke.Name("message"),schema:new Ke.Name("schema"),parentSchema:new Ke.Name("parentSchema"),instancePath:new Ke.Name("instancePath")};function Zf(t,r){let{createErrors:e,opts:n}=t.it;return e===!1?Ke._`{}`:(n.jtd&&!n.ajvErrors?eg:tg)(t,r)}function eg(t,{message:r}){let{gen:e,keyword:n,it:o}=t,{errorPath:s,errSchemaPath:l,opts:f}=o,c=[[mn.instancePath,Ke.strConcat(nr.default.dataPath,s)],[mn.schemaPath,Ke.str`${l}/${n}`]];return f.messages&&c.push([mn.message,typeof r=="function"?r(t):r]),e.object(...c)}function tg(t,r){let{gen:e,keyword:n,data:o,schemaValue:s,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:g,errSchemaPath:m,propertyName:v,opts:x}=l,{params:k,message:_}=r,O=[[mn.keyword,n],[nr.default.dataPath,Ke.strConcat(nr.default.dataPath,g)],[mn.schemaPath,Ke.str`${m}/${n}`],[mn.params,typeof k=="function"?k(t):k||Ke._`{}`]];return v&&O.push([mn.propertyName,v]),x.messages&&O.push([mn.message,typeof _=="function"?_(t):_]),x.verbose&&O.push([mn.schema,s],[mn.parentSchema,Ke._`${f}${c}`],[nr.default.data,o]),e.object(...O)}});var Qf=ge(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.boolOrEmptySchema=Yi.topBoolOrEmptySchema=void 0;var rg=Io(),ng=Le(),ig=Qr(),og={message:"boolean schema is false"};function sg(t){let{gen:r,schema:e,validateName:n}=t;e===!1?Jf(t,!1):typeof e=="object"&&e.$async===!0?r.return(ig.default.data):(r.assign(ng._`${n}.errors`,null),r.return(!0))}Yi.topBoolOrEmptySchema=sg;function ag(t,r){let{gen:e,schema:n}=t;n===!1?(e.var(r,!1),Jf(t)):e.var(r,!0)}Yi.boolOrEmptySchema=ag;function Jf(t,r){let{gen:e,data:n}=t,o={gen:e,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};rg.reportError(o,og,r)}});var Xf=ge(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.assignDefaults=void 0;var Xi=Le(),lg=Tr();function ug(t,r){let{properties:e,items:n}=t.schema;if(r==="object"&&e)for(let o in e)Yf(t,o,e[o].default);else r==="array"&&Array.isArray(n)&&n.forEach((o,s)=>Yf(t,s,o.default))}As.assignDefaults=ug;function Yf(t,r,e){let{gen:n,compositeRule:o,data:s,opts:l}=t;if(e===void 0)return;let f=Xi._`${s}${Xi.getProperty(r)}`;if(o){lg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=Xi._`${f} === undefined`;l.useDefaults==="empty"&&(c=Xi._`${c} || ${f} === null || ${f} === ""`),n.if(c,Xi._`${f} = ${Xi.stringify(e)}`)}});var vi=ge(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.applySubschema=bi.Type=void 0;var fg=Tr(),ec=St(),ir=Le(),tc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(tc=bi.Type||(bi.Type={}));function cg(t,r,e){let n=pg(t,r);dg(n,t,r),mg(n,r);let o={...t,...n,items:void 0,props:void 0};return fg.subschemaCode(o,e),o}bi.applySubschema=cg;function pg(t,{keyword:r,schemaProp:e,schema:n,schemaPath:o,errSchemaPath:s,topSchemaRef:l}){if(r!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(r!==void 0){let f=t.schema[r];return e===void 0?{schema:f,schemaPath:ir._`${t.schemaPath}${ir.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:ir._`${t.schemaPath}${ir.getProperty(r)}${ir.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${ec.escapeFragment(e)}`}}if(n!==void 0){if(o===void 0||s===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:o,topSchemaRef:l,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')}function dg(t,r,{dataProp:e,dataPropType:n,data:o,dataTypes:s,propertyName:l}){if(o!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:f}=r;if(e!==void 0){let{errorPath:g,dataPathArr:m,opts:v}=r,x=f.let("data",ir._`${r.data}${ir.getProperty(e)}`,!0);c(x),t.errorPath=ir.str`${g}${hg(e,n,v.jsPropertySyntax)}`,t.parentDataProperty=ir._`${e}`,t.dataPathArr=[...m,t.parentDataProperty]}if(o!==void 0){let g=o instanceof ir.Name?o:f.let("data",o,!0);c(g),l!==void 0&&(t.propertyName=l)}s&&(t.dataTypes=s);function c(g){t.data=g,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,g]}}function mg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:n,createErrors:o,allErrors:s}){n!==void 0&&(t.compositeRule=n),o!==void 0&&(t.createErrors=o),s!==void 0&&(t.allErrors=s),t.jtdDiscriminator=r,t.jtdMetadata=e}function hg(t,r,e){if(t instanceof ir.Name){let n=r===tc.Num;return e?n?ir._`"[" + ${t} + "]"`:ir._`"['" + ${t} + "']"`:n?ir._`"/" + ${t}`:ir._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ir.getProperty(t).toString():"/"+ec.escapeJsonPointer(t)}});var Yr=ge(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.validateUnion=pt.validateArray=pt.usePattern=pt.callValidateCode=pt.schemaProperties=pt.allSchemaProperties=pt.noPropertyInData=pt.propertyInData=pt.isOwnProperty=pt.hasPropFunc=pt.reportMissingProp=pt.checkMissingProp=pt.checkReportMissingProp=void 0;var Ct=Le(),rc=St(),gg=vi(),Kn=Qr();function yg(t,r){let{gen:e,data:n,it:o}=t;e.if(fl(e,n,r,o.opts.ownProperties),()=>{t.setParams({missingProperty:Ct._`${r}`},!0),t.error()})}pt.checkReportMissingProp=yg;function $g({gen:t,data:r,it:{opts:e}},n,o){return Ct.or(...n.map(s=>Ct.and(fl(t,r,s,e.ownProperties),Ct._`${o} = ${s}`)))}pt.checkMissingProp=$g;function bg(t,r){t.setParams({missingProperty:r},!0),t.error()}pt.reportMissingProp=bg;function nc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Ct._`Object.prototype.hasOwnProperty`})}pt.hasPropFunc=nc;function ul(t,r,e){return Ct._`${nc(t)}.call(${r}, ${e})`}pt.isOwnProperty=ul;function vg(t,r,e,n){let o=Ct._`${r}${Ct.getProperty(e)} !== undefined`;return n?Ct._`${o} && ${ul(t,r,e)}`:o}pt.propertyInData=vg;function fl(t,r,e,n){let o=Ct._`${r}${Ct.getProperty(e)} === undefined`;return n?Ct.or(o,Ct.not(ul(t,r,e))):o}pt.noPropertyInData=fl;function ic(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}pt.allSchemaProperties=ic;function kg(t,r){return ic(r).filter(e=>!rc.alwaysValidSchema(t,r[e]))}pt.schemaProperties=kg;function wg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:n,schemaPath:o,errorPath:s},it:l},f,c,g){let m=g?Ct._`${t}, ${r}, ${n}${o}`:r,v=[[Kn.default.dataPath,Ct.strConcat(Kn.default.dataPath,s)],[Kn.default.parentData,l.parentData],[Kn.default.parentDataProperty,l.parentDataProperty],[Kn.default.rootData,Kn.default.rootData]];l.opts.dynamicRef&&v.push([Kn.default.dynamicAnchors,Kn.default.dynamicAnchors]);let x=Ct._`${m}, ${e.object(...v)}`;return c!==Ct.nil?Ct._`${f}.call(${c}, ${x})`:Ct._`${f}(${x})`}pt.callValidateCode=wg;function xg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:Ct._`new RegExp(${r}, "u")`})}pt.usePattern=xg;function Cg(t){let{gen:r,data:e,keyword:n,it:o}=t,s=r.name("valid");if(o.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(s,!0),l(()=>r.break()),s;function l(f){let c=r.const("len",Ct._`${e}.length`);r.forRange("i",0,c,g=>{t.subschema({keyword:n,dataProp:g,dataPropType:gg.Type.Num},s),r.if(Ct.not(s),f)})}}pt.validateArray=Cg;function Ag(t){let{gen:r,schema:e,keyword:n,it:o}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>rc.alwaysValidSchema(o,c))&&!o.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,g)=>{let m=t.subschema({keyword:n,schemaProp:g,compositeRule:!0},f);r.assign(l,Ct._`${l} || ${f}`),t.mergeValidEvaluated(m,f)||r.if(Ct.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}pt.validateUnion=Ag});var lc=ge(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.keywordCode=void 0;var Eg=Oo(),_g=Io(),Sg=Yr(),mr=Le(),ki=Qr();function Pg(t,r,e,n){let o=new Eg.default(t,e,r);"code"in e?e.code(o,n):o.$data&&e.validate?oc(o,e):"macro"in e?Fg(o,e):(e.compile||e.validate)&&oc(o,e)}Es.keywordCode=Pg;function Fg(t,r){let{gen:e,keyword:n,schema:o,parentSchema:s,it:l}=t,f=r.macro.call(l.self,o,s,l),c=ac(e,n,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let g=e.name("valid");t.subschema({schema:f,schemaPath:mr.nil,errSchemaPath:`${l.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:!0},g),t.pass(g,()=>t.error(!0))}function oc(t,r){var e;let{gen:n,keyword:o,schema:s,parentSchema:l,$data:f,it:c}=t;Ig(c,r);let g=!f&&r.compile?r.compile.call(c.self,s,l,c):r.validate,m=ac(n,o,g),v=n.let("valid");t.block$data(v,x),t.ok((e=r.valid)!==null&&e!==void 0?e:v);function x(){if(r.errors===!1)O(),r.modifying&&sc(t),D(()=>t.error());else{let M=r.async?k():_();r.modifying&&sc(t),D(()=>Tg(t,M))}}function k(){let M=n.let("ruleErrs",null);return n.try(()=>O(mr._`await `),X=>n.assign(v,!1).if(mr._`${X} instanceof ${c.ValidationError}`,()=>n.assign(M,mr._`${X}.errors`),()=>n.throw(X))),M}function _(){let M=mr._`${m}.errors`;return n.assign(M,null),O(mr.nil),M}function O(M=r.async?mr._`await `:mr.nil){let X=c.opts.passContext?ki.default.this:ki.default.self,le=!("compile"in r&&!f||r.schema===!1);n.assign(v,mr._`${M}${Sg.callValidateCode(t,m,X,le)}`,r.modifying)}function D(M){var X;n.if(mr.not((X=r.valid)!==null&&X!==void 0?X:v),M)}}function sc(t){let{gen:r,data:e,it:n}=t;r.if(n.parentData,()=>r.assign(e,mr._`${n.parentData}[${n.parentDataProperty}]`))}function Tg(t,r){let{gen:e}=t;e.if(mr._`Array.isArray(${r})`,()=>{e.assign(ki.default.vErrors,mr._`${ki.default.vErrors} === null ? ${r} : ${ki.default.vErrors}.concat(${r})`).assign(ki.default.errors,mr._`${ki.default.vErrors}.length`),_g.extendErrors(t)},()=>t.error())}function Ig({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function ac(t,r,e){if(e===void 0)throw new Error(`keyword "${r}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:mr.stringify(e)})}});var dc=ge(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.schemaKeywords=void 0;var cl=Va(),uc=eo(),Og=Xf(),pc=lc(),qg=St(),Ng=Tr(),Dg=Le(),Rg=Qr();function Lg(t,r,e,n){let{gen:o,schema:s,data:l,allErrors:f,opts:c,self:g}=t,{RULES:m}=g;if(s.$ref&&(c.ignoreKeywordsWithRef||!qg.schemaHasRulesButRef(s,m))){o.block(()=>pc.keywordCode(t,"$ref",m.all.$ref.definition));return}c.jtd||jg(t,r),o.block(()=>{for(let x of m.rules)v(x);v(m.post)});function v(x){!cl.shouldUseGroup(s,x)||(x.type?(o.if(uc.checkDataType(x.type,l,c.strict)),fc(t,x),r.length===1&&r[0]===x.type&&e&&(o.else(),uc.reportTypeError(t)),o.endIf()):fc(t,x),f||o.if(Dg._`${Rg.default.errors} === ${n||0}`))}}_s.schemaKeywords=Lg;function fc(t,r){let{gen:e,schema:n,opts:{useDefaults:o}}=t;o&&Og.assignDefaults(t,r.type),e.block(()=>{for(let s of r.rules)cl.shouldUseRule(n,s)&&pc.keywordCode(t,s.keyword,s.definition,r.type)})}function jg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(Bg(t,r),t.opts.allowUnionTypes||zg(t,r),Mg(t,t.dataTypes))}function Bg(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{cc(t.dataTypes,e)||pl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>cc(r,e))}}function zg(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&pl(t,"use allowUnionTypes to allow union type keyword")}function Mg(t,r){let e=t.self.RULES.all;for(let n in e){let o=e[n];if(typeof o=="object"&&cl.shouldUseRule(t.schema,o)){let{type:s}=o.definition;s.length&&!s.some(l=>Vg(r,l))&&pl(t,`missing type "${s.join(",")}" for keyword "${n}"`)}}}function Vg(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function cc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function pl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Ng.checkStrictMode(t,r,t.opts.strictTypes)}});var qo=ge((Q0,mc)=>{"use strict";mc.exports=function t(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var n,o,s;if(Array.isArray(r)){if(n=r.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!t(r[o],e[o]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===e.toString();if(s=Object.keys(r),n=s.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=n;o--!==0;){var l=s[o];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var gc=ge((Y0,hc)=>{"use strict";var Wn=hc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var n=typeof e=="function"?e:e.pre||function(){},o=e.post||function(){};Ss(r,n,o,t,"",t)};Wn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Wn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Wn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Wn.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 Ss(t,r,e,n,o,s,l,f,c,g){if(n&&typeof n=="object"&&!Array.isArray(n)){r(n,o,s,l,f,c,g);for(var m in n){var v=n[m];if(Array.isArray(v)){if(m in Wn.arrayKeywords)for(var x=0;x<v.length;x++)Ss(t,r,e,v[x],o+"/"+m+"/"+x,s,o,m,n,x)}else if(m in Wn.propsKeywords){if(v&&typeof v=="object")for(var k in v)Ss(t,r,e,v[k],o+"/"+m+"/"+Ug(k),s,o,m,n,k)}else(m in Wn.keywords||t.allKeys&&!(m in Wn.skipKeywords))&&Ss(t,r,e,v,o+"/"+m,s,o,m,n)}e(n,o,s,l,f,c,g)}}function Ug(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var dl=ge((Ps,yc)=>{(function(t,r){typeof Ps=="object"&&typeof yc<"u"?r(Ps):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(Ps,function(t){"use strict";function r(){for(var B=arguments.length,q=Array(B),Z=0;Z<B;Z++)q[Z]=arguments[Z];if(q.length>1){q[0]=q[0].slice(0,-1);for(var ee=q.length-1,re=1;re<ee;++re)q[re]=q[re].slice(1,-1);return q[ee]=q[ee].slice(1),q.join("")}else return q[0]}function e(B){return"(?:"+B+")"}function n(B){return B===void 0?"undefined":B===null?"null":Object.prototype.toString.call(B).split(" ").pop().split("]").shift().toLowerCase()}function o(B){return B.toUpperCase()}function s(B){return B!=null?B instanceof Array?B:typeof B.length!="number"||B.split||B.setInterval||B.call?[B]:Array.prototype.slice.call(B):[]}function l(B,q){var Z=B;if(q)for(var ee in q)Z[ee]=q[ee];return Z}function f(B){var q="[A-Za-z]",Z="[\\x0D]",ee="[0-9]",re="[\\x22]",me=r(ee,"[A-Fa-f]"),Se="[\\x0A]",De="[\\x20]",He=e(e("%[EFef]"+me+"%"+me+me+"%"+me+me)+"|"+e("%[89A-Fa-f]"+me+"%"+me+me)+"|"+e("%"+me+me)),ht="[\\:\\/\\?\\#\\[\\]\\@]",qe="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",it=r(ht,qe),vt=B?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=B?"[\\uE000-\\uF8FF]":"[]",Re=r(q,ee,"[\\-\\.\\_\\~]",vt),ut=e(q+r(q,ee,"[\\+\\-\\.]")+"*"),Ye=e(e(He+"|"+r(Re,qe,"[\\:]"))+"*"),qr=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("[1-9]"+ee)+"|"+ee),Ht=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("0?[1-9]"+ee)+"|0?0?"+ee),Gt=e(Ht+"\\."+Ht+"\\."+Ht+"\\."+Ht),Qe=e(me+"{1,4}"),zt=e(e(Qe+"\\:"+Qe)+"|"+Gt),Xt=e(e(Qe+"\\:")+"{6}"+zt),br=e("\\:\\:"+e(Qe+"\\:")+"{5}"+zt),Nr=e(e(Qe)+"?\\:\\:"+e(Qe+"\\:")+"{4}"+zt),vr=e(e(e(Qe+"\\:")+"{0,1}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{3}"+zt),sn=e(e(e(Qe+"\\:")+"{0,2}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{2}"+zt),Cn=e(e(e(Qe+"\\:")+"{0,3}"+Qe)+"?\\:\\:"+Qe+"\\:"+zt),An=e(e(e(Qe+"\\:")+"{0,4}"+Qe)+"?\\:\\:"+zt),Hr=e(e(e(Qe+"\\:")+"{0,5}"+Qe)+"?\\:\\:"+Qe),Gr=e(e(e(Qe+"\\:")+"{0,6}"+Qe)+"?\\:\\:"),kr=e([Xt,br,Nr,vr,sn,Cn,An,Hr,Gr].join("|")),an=e(e(Re+"|"+He)+"+"),i=e(kr+"\\%25"+an),fe=e(kr+e("\\%25|\\%(?!"+me+"{2})")+an),En=e("[vV]"+me+"+\\."+r(Re,qe,"[\\:]")+"+"),pr=e("\\["+e(fe+"|"+kr+"|"+En)+"\\]"),ln=e(e(He+"|"+r(Re,qe))+"*"),w=e(pr+"|"+Gt+"(?!"+ln+")|"+ln),wr=e(ee+"*"),un=e(e(Ye+"@")+"?"+w+e("\\:"+wr)+"?"),_n=e(He+"|"+r(Re,qe,"[\\:\\@]")),yo=e(_n+"*"),$o=e(_n+"+"),ot=e(e(He+"|"+r(Re,qe,"[\\@]"))+"+"),Tt=e(e("\\/"+yo)+"*"),fn=e("\\/"+e($o+Tt)+"?"),oi=e(ot+Tt),zn=e($o+Tt),Dr="(?!"+_n+")",Sn=e(Tt+"|"+fn+"|"+oi+"|"+zn+"|"+Dr),J=e(e(_n+"|"+r("[\\/\\?]",lt))+"*"),Pn=e(e(_n+"|[\\/\\?]")+"*"),si=e(e("\\/\\/"+un+Tt)+"|"+fn+"|"+zn+"|"+Dr),ai=e(ut+"\\:"+si+e("\\?"+J)+"?"+e("\\#"+Pn)+"?"),Mn=e(e("\\/\\/"+un+Tt)+"|"+fn+"|"+oi+"|"+Dr),bo=e(Mn+e("\\?"+J)+"?"+e("\\#"+Pn)+"?"),is=e(ai+"|"+bo),Vn=e(ut+"\\:"+si+e("\\?"+J)+"?"),Kr="^("+ut+")\\:"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?)")+"?("+Tt+"|"+fn+"|"+zn+"|"+Dr+")")+e("\\?("+J+")")+"?"+e("\\#("+Pn+")")+"?$",vo="^(){0}"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?)")+"?("+Tt+"|"+fn+"|"+oi+"|"+Dr+")")+e("\\?("+J+")")+"?"+e("\\#("+Pn+")")+"?$",ko="^("+ut+")\\:"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?)")+"?("+Tt+"|"+fn+"|"+zn+"|"+Dr+")")+e("\\?("+J+")")+"?$",wo="^"+e("\\#("+Pn+")")+"?$",os="^"+e("("+Ye+")@")+"?("+w+")"+e("\\:("+wr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",q,ee,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",Re,qe),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",Re,qe),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",Re,qe),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",Re,qe),"g"),NOT_QUERY:new RegExp(r("[^\\%]",Re,qe,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",Re,qe,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",Re,qe),"g"),UNRESERVED:new RegExp(Re,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",Re,it),"g"),PCT_ENCODED:new RegExp(He,"g"),IPV4ADDRESS:new RegExp("^("+Gt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+kr+")"+e(e("\\%25|\\%(?!"+me+"{2})")+"("+an+")")+"?\\]?$")}}var c=f(!1),g=f(!0),m=function(){function B(q,Z){var ee=[],re=!0,me=!1,Se=void 0;try{for(var De=q[Symbol.iterator](),He;!(re=(He=De.next()).done)&&(ee.push(He.value),!(Z&&ee.length===Z));re=!0);}catch(ht){me=!0,Se=ht}finally{try{!re&&De.return&&De.return()}finally{if(me)throw Se}}return ee}return function(q,Z){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return B(q,Z);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=function(B){if(Array.isArray(B)){for(var q=0,Z=Array(B.length);q<B.length;q++)Z[q]=B[q];return Z}else return Array.from(B)},x=2147483647,k=36,_=1,O=26,D=38,M=700,X=72,le=128,ve="-",ye=/^xn--/,ie=/[^\0-\x7E]/,ke=/[\x2E\u3002\uFF0E\uFF61]/g,Ee={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xe=k-_,ze=Math.floor,Fe=String.fromCharCode;function Te(B){throw new RangeError(Ee[B])}function he(B,q){for(var Z=[],ee=B.length;ee--;)Z[ee]=q(B[ee]);return Z}function _e(B,q){var Z=B.split("@"),ee="";Z.length>1&&(ee=Z[0]+"@",B=Z[1]),B=B.replace(ke,".");var re=B.split("."),me=he(re,q).join(".");return ee+me}function st(B){for(var q=[],Z=0,ee=B.length;Z<ee;){var re=B.charCodeAt(Z++);if(re>=55296&&re<=56319&&Z<ee){var me=B.charCodeAt(Z++);(me&64512)==56320?q.push(((re&1023)<<10)+(me&1023)+65536):(q.push(re),Z--)}else q.push(re)}return q}var te=function(q){return String.fromCodePoint.apply(String,v(q))},At=function(q){return q-48<10?q-22:q-65<26?q-65:q-97<26?q-97:k},Je=function(q,Z){return q+22+75*(q<26)-((Z!=0)<<5)},$t=function(q,Z,ee){var re=0;for(q=ee?ze(q/M):q>>1,q+=ze(q/Z);q>xe*O>>1;re+=k)q=ze(q/xe);return ze(re+(xe+1)*q/(q+D))},tt=function(q){var Z=[],ee=q.length,re=0,me=le,Se=X,De=q.lastIndexOf(ve);De<0&&(De=0);for(var He=0;He<De;++He)q.charCodeAt(He)>=128&&Te("not-basic"),Z.push(q.charCodeAt(He));for(var ht=De>0?De+1:0;ht<ee;){for(var qe=re,it=1,vt=k;;vt+=k){ht>=ee&&Te("invalid-input");var lt=At(q.charCodeAt(ht++));(lt>=k||lt>ze((x-re)/it))&&Te("overflow"),re+=lt*it;var Re=vt<=Se?_:vt>=Se+O?O:vt-Se;if(lt<Re)break;var ut=k-Re;it>ze(x/ut)&&Te("overflow"),it*=ut}var Ye=Z.length+1;Se=$t(re-qe,Ye,qe==0),ze(re/Ye)>x-me&&Te("overflow"),me+=ze(re/Ye),re%=Ye,Z.splice(re++,0,me)}return String.fromCodePoint.apply(String,Z)},z=function(q){var Z=[];q=st(q);var ee=q.length,re=le,me=0,Se=X,De=!0,He=!1,ht=void 0;try{for(var qe=q[Symbol.iterator](),it;!(De=(it=qe.next()).done);De=!0){var vt=it.value;vt<128&&Z.push(Fe(vt))}}catch(fe){He=!0,ht=fe}finally{try{!De&&qe.return&&qe.return()}finally{if(He)throw ht}}var lt=Z.length,Re=lt;for(lt&&Z.push(ve);Re<ee;){var ut=x,Ye=!0,qr=!1,Ht=void 0;try{for(var Gt=q[Symbol.iterator](),Qe;!(Ye=(Qe=Gt.next()).done);Ye=!0){var zt=Qe.value;zt>=re&&zt<ut&&(ut=zt)}}catch(fe){qr=!0,Ht=fe}finally{try{!Ye&&Gt.return&&Gt.return()}finally{if(qr)throw Ht}}var Xt=Re+1;ut-re>ze((x-me)/Xt)&&Te("overflow"),me+=(ut-re)*Xt,re=ut;var br=!0,Nr=!1,vr=void 0;try{for(var sn=q[Symbol.iterator](),Cn;!(br=(Cn=sn.next()).done);br=!0){var An=Cn.value;if(An<re&&++me>x&&Te("overflow"),An==re){for(var Hr=me,Gr=k;;Gr+=k){var kr=Gr<=Se?_:Gr>=Se+O?O:Gr-Se;if(Hr<kr)break;var an=Hr-kr,i=k-kr;Z.push(Fe(Je(kr+an%i,0))),Hr=ze(an/i)}Z.push(Fe(Je(Hr,0))),Se=$t(me,Xt,Re==lt),me=0,++Re}}}catch(fe){Nr=!0,vr=fe}finally{try{!br&&sn.return&&sn.return()}finally{if(Nr)throw vr}}++me,++re}return Z.join("")},V=function(q){return _e(q,function(Z){return ye.test(Z)?tt(Z.slice(4).toLowerCase()):Z})},Qt=function(q){return _e(q,function(Z){return ie.test(Z)?"xn--"+z(Z):Z})},Bt={version:"2.1.0",ucs2:{decode:st,encode:te},decode:tt,encode:z,toASCII:Qt,toUnicode:V},wt={};function Pt(B){var q=B.charCodeAt(0),Z=void 0;return q<16?Z="%0"+q.toString(16).toUpperCase():q<128?Z="%"+q.toString(16).toUpperCase():q<2048?Z="%"+(q>>6|192).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase():Z="%"+(q>>12|224).toString(16).toUpperCase()+"%"+(q>>6&63|128).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase(),Z}function Et(B){for(var q="",Z=0,ee=B.length;Z<ee;){var re=parseInt(B.substr(Z+1,2),16);if(re<128)q+=String.fromCharCode(re),Z+=3;else if(re>=194&&re<224){if(ee-Z>=6){var me=parseInt(B.substr(Z+4,2),16);q+=String.fromCharCode((re&31)<<6|me&63)}else q+=B.substr(Z,6);Z+=6}else if(re>=224){if(ee-Z>=9){var Se=parseInt(B.substr(Z+4,2),16),De=parseInt(B.substr(Z+7,2),16);q+=String.fromCharCode((re&15)<<12|(Se&63)<<6|De&63)}else q+=B.substr(Z,9);Z+=9}else q+=B.substr(Z,3),Z+=3}return q}function at(B,q){function Z(ee){var re=Et(ee);return re.match(q.UNRESERVED)?re:ee}return B.scheme&&(B.scheme=String(B.scheme).replace(q.PCT_ENCODED,Z).toLowerCase().replace(q.NOT_SCHEME,"")),B.userinfo!==void 0&&(B.userinfo=String(B.userinfo).replace(q.PCT_ENCODED,Z).replace(q.NOT_USERINFO,Pt).replace(q.PCT_ENCODED,o)),B.host!==void 0&&(B.host=String(B.host).replace(q.PCT_ENCODED,Z).toLowerCase().replace(q.NOT_HOST,Pt).replace(q.PCT_ENCODED,o)),B.path!==void 0&&(B.path=String(B.path).replace(q.PCT_ENCODED,Z).replace(B.scheme?q.NOT_PATH:q.NOT_PATH_NOSCHEME,Pt).replace(q.PCT_ENCODED,o)),B.query!==void 0&&(B.query=String(B.query).replace(q.PCT_ENCODED,Z).replace(q.NOT_QUERY,Pt).replace(q.PCT_ENCODED,o)),B.fragment!==void 0&&(B.fragment=String(B.fragment).replace(q.PCT_ENCODED,Z).replace(q.NOT_FRAGMENT,Pt).replace(q.PCT_ENCODED,o)),B}function _r(B){return B.replace(/^0*(.*)/,"$1")||"0"}function be(B,q){var Z=B.match(q.IPV4ADDRESS)||[],ee=m(Z,2),re=ee[1];return re?re.split(".").map(_r).join("."):B}function $r(B,q){var Z=B.match(q.IPV6ADDRESS)||[],ee=m(Z,3),re=ee[1],me=ee[2];if(re){for(var Se=re.toLowerCase().split("::").reverse(),De=m(Se,2),He=De[0],ht=De[1],qe=ht?ht.split(":").map(_r):[],it=He.split(":").map(_r),vt=q.IPV4ADDRESS.test(it[it.length-1]),lt=vt?7:8,Re=it.length-lt,ut=Array(lt),Ye=0;Ye<lt;++Ye)ut[Ye]=qe[Ye]||it[Re+Ye]||"";vt&&(ut[lt-1]=be(ut[lt-1],q));var qr=ut.reduce(function(Xt,br,Nr){if(!br||br==="0"){var vr=Xt[Xt.length-1];vr&&vr.index+vr.length===Nr?vr.length++:Xt.push({index:Nr,length:1})}return Xt},[]),Ht=qr.sort(function(Xt,br){return br.length-Xt.length})[0],Gt=void 0;if(Ht&&Ht.length>1){var Qe=ut.slice(0,Ht.index),zt=ut.slice(Ht.index+Ht.length);Gt=Qe.join(":")+"::"+zt.join(":")}else Gt=ut.join(":");return me&&(Gt+="%"+me),Gt}else return B}var ur=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,fr="".match(/(){0}/)[1]===void 0;function Yt(B){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z={},ee=q.iri!==!1?g:c;q.reference==="suffix"&&(B=(q.scheme?q.scheme+":":"")+"//"+B);var re=B.match(ur);if(re){fr?(Z.scheme=re[1],Z.userinfo=re[3],Z.host=re[4],Z.port=parseInt(re[5],10),Z.path=re[6]||"",Z.query=re[7],Z.fragment=re[8],isNaN(Z.port)&&(Z.port=re[5])):(Z.scheme=re[1]||void 0,Z.userinfo=B.indexOf("@")!==-1?re[3]:void 0,Z.host=B.indexOf("//")!==-1?re[4]:void 0,Z.port=parseInt(re[5],10),Z.path=re[6]||"",Z.query=B.indexOf("?")!==-1?re[7]:void 0,Z.fragment=B.indexOf("#")!==-1?re[8]:void 0,isNaN(Z.port)&&(Z.port=B.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?re[4]:void 0)),Z.host&&(Z.host=$r(be(Z.host,ee),ee)),Z.scheme===void 0&&Z.userinfo===void 0&&Z.host===void 0&&Z.port===void 0&&!Z.path&&Z.query===void 0?Z.reference="same-document":Z.scheme===void 0?Z.reference="relative":Z.fragment===void 0?Z.reference="absolute":Z.reference="uri",q.reference&&q.reference!=="suffix"&&q.reference!==Z.reference&&(Z.error=Z.error||"URI is not a "+q.reference+" reference.");var me=wt[(q.scheme||Z.scheme||"").toLowerCase()];if(!q.unicodeSupport&&(!me||!me.unicodeSupport)){if(Z.host&&(q.domainHost||me&&me.domainHost))try{Z.host=Bt.toASCII(Z.host.replace(ee.PCT_ENCODED,Et).toLowerCase())}catch(Se){Z.error=Z.error||"Host's domain name can not be converted to ASCII via punycode: "+Se}at(Z,c)}else at(Z,ee);me&&me.parse&&me.parse(Z,q)}else Z.error=Z.error||"URI can not be parsed.";return Z}function Rn(B,q){var Z=q.iri!==!1?g:c,ee=[];return B.userinfo!==void 0&&(ee.push(B.userinfo),ee.push("@")),B.host!==void 0&&ee.push($r(be(String(B.host),Z),Z).replace(Z.IPV6ADDRESS,function(re,me,Se){return"["+me+(Se?"%25"+Se:"")+"]"})),(typeof B.port=="number"||typeof B.port=="string")&&(ee.push(":"),ee.push(String(B.port))),ee.length?ee.join(""):void 0}var Ln=/^\.\.?\//,vn=/^\/\.(\/|$)/,kn=/^\/\.\.(\/|$)/,We=/^\/?(?:.|\n)*?(?=\/|$)/;function Ne(B){for(var q=[];B.length;)if(B.match(Ln))B=B.replace(Ln,"");else if(B.match(vn))B=B.replace(vn,"/");else if(B.match(kn))B=B.replace(kn,"/"),q.pop();else if(B==="."||B==="..")B="";else{var Z=B.match(We);if(Z){var ee=Z[0];B=B.slice(ee.length),q.push(ee)}else throw new Error("Unexpected dot segment condition")}return q.join("")}function Ze(B){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=q.iri?g:c,ee=[],re=wt[(q.scheme||B.scheme||"").toLowerCase()];if(re&&re.serialize&&re.serialize(B,q),B.host&&!Z.IPV6ADDRESS.test(B.host)){if(q.domainHost||re&&re.domainHost)try{B.host=q.iri?Bt.toUnicode(B.host):Bt.toASCII(B.host.replace(Z.PCT_ENCODED,Et).toLowerCase())}catch(De){B.error=B.error||"Host's domain name can not be converted to "+(q.iri?"Unicode":"ASCII")+" via punycode: "+De}}at(B,Z),q.reference!=="suffix"&&B.scheme&&(ee.push(B.scheme),ee.push(":"));var me=Rn(B,q);if(me!==void 0&&(q.reference!=="suffix"&&ee.push("//"),ee.push(me),B.path&&B.path.charAt(0)!=="/"&&ee.push("/")),B.path!==void 0){var Se=B.path;!q.absolutePath&&(!re||!re.absolutePath)&&(Se=Ne(Se)),me===void 0&&(Se=Se.replace(/^\/\//,"/%2F")),ee.push(Se)}return B.query!==void 0&&(ee.push("?"),ee.push(B.query)),B.fragment!==void 0&&(ee.push("#"),ee.push(B.fragment)),ee.join("")}function bt(B,q){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=arguments[3],re={};return ee||(B=Yt(Ze(B,Z),Z),q=Yt(Ze(q,Z),Z)),Z=Z||{},!Z.tolerant&&q.scheme?(re.scheme=q.scheme,re.userinfo=q.userinfo,re.host=q.host,re.port=q.port,re.path=Ne(q.path||""),re.query=q.query):(q.userinfo!==void 0||q.host!==void 0||q.port!==void 0?(re.userinfo=q.userinfo,re.host=q.host,re.port=q.port,re.path=Ne(q.path||""),re.query=q.query):(q.path?(q.path.charAt(0)==="/"?re.path=Ne(q.path):((B.userinfo!==void 0||B.host!==void 0||B.port!==void 0)&&!B.path?re.path="/"+q.path:B.path?re.path=B.path.slice(0,B.path.lastIndexOf("/")+1)+q.path:re.path=q.path,re.path=Ne(re.path)),re.query=q.query):(re.path=B.path,q.query!==void 0?re.query=q.query:re.query=B.query),re.userinfo=B.userinfo,re.host=B.host,re.port=B.port),re.scheme=B.scheme),re.fragment=q.fragment,re}function cr(B,q,Z){var ee=l({scheme:"null"},Z);return Ze(bt(Yt(B,ee),Yt(q,ee),ee,!0),ee)}function Ve(B,q){return typeof B=="string"?B=Ze(Yt(B,q),q):n(B)==="object"&&(B=Yt(Ze(B,q),q)),B}function Ue(B,q,Z){return typeof B=="string"?B=Ze(Yt(B,Z),Z):n(B)==="object"&&(B=Ze(B,Z)),typeof q=="string"?q=Ze(Yt(q,Z),Z):n(q)==="object"&&(q=Ze(q,Z)),B===q}function dt(B,q){return B&&B.toString().replace(!q||!q.iri?c.ESCAPE:g.ESCAPE,Pt)}function rt(B,q){return B&&B.toString().replace(!q||!q.iri?c.PCT_ENCODED:g.PCT_ENCODED,Et)}var ne={scheme:"http",domainHost:!0,parse:function(q,Z){return q.host||(q.error=q.error||"HTTP URIs must have a host."),q},serialize:function(q,Z){var ee=String(q.scheme).toLowerCase()==="https";return(q.port===(ee?443:80)||q.port==="")&&(q.port=void 0),q.path||(q.path="/"),q}},ce={scheme:"https",domainHost:ne.domainHost,parse:ne.parse,serialize:ne.serialize};function we(B){return typeof B.secure=="boolean"?B.secure:String(B.scheme).toLowerCase()==="wss"}var Ae={scheme:"ws",domainHost:!0,parse:function(q,Z){var ee=q;return ee.secure=we(ee),ee.resourceName=(ee.path||"/")+(ee.query?"?"+ee.query:""),ee.path=void 0,ee.query=void 0,ee},serialize:function(q,Z){if((q.port===(we(q)?443:80)||q.port==="")&&(q.port=void 0),typeof q.secure=="boolean"&&(q.scheme=q.secure?"wss":"ws",q.secure=void 0),q.resourceName){var ee=q.resourceName.split("?"),re=m(ee,2),me=re[0],Se=re[1];q.path=me&&me!=="/"?me:void 0,q.query=Se,q.resourceName=void 0}return q.fragment=void 0,q}},Rt={scheme:"wss",domainHost:Ae.domainHost,parse:Ae.parse,serialize:Ae.serialize},Vr={},nt=!0,xt="[A-Za-z0-9\\-\\.\\_\\~"+(nt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ft="[0-9A-Fa-f]",Ur=e(e("%[EFef]"+Ft+"%"+Ft+Ft+"%"+Ft+Ft)+"|"+e("%[89A-Fa-f]"+Ft+"%"+Ft+Ft)+"|"+e("%"+Ft+Ft)),mt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",wn="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Ut=r(wn,'[\\"\\\\]'),on="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",jn=new RegExp(xt,"g"),Or=new RegExp(Ur,"g"),ti=new RegExp(r("[^]",mt,"[\\.]",'[\\"]',Ut),"g"),ri=new RegExp(r("[^]",xt,on),"g"),Li=ri;function ni(B){var q=Et(B);return q.match(jn)?q:B}var ji={scheme:"mailto",parse:function(q,Z){var ee=q,re=ee.to=ee.path?ee.path.split(","):[];if(ee.path=void 0,ee.query){for(var me=!1,Se={},De=ee.query.split("&"),He=0,ht=De.length;He<ht;++He){var qe=De[He].split("=");switch(qe[0]){case"to":for(var it=qe[1].split(","),vt=0,lt=it.length;vt<lt;++vt)re.push(it[vt]);break;case"subject":ee.subject=rt(qe[1],Z);break;case"body":ee.body=rt(qe[1],Z);break;default:me=!0,Se[rt(qe[0],Z)]=rt(qe[1],Z);break}}me&&(ee.headers=Se)}ee.query=void 0;for(var Re=0,ut=re.length;Re<ut;++Re){var Ye=re[Re].split("@");if(Ye[0]=rt(Ye[0]),Z.unicodeSupport)Ye[1]=rt(Ye[1],Z).toLowerCase();else try{Ye[1]=Bt.toASCII(rt(Ye[1],Z).toLowerCase())}catch(qr){ee.error=ee.error||"Email address's domain name can not be converted to ASCII via punycode: "+qr}re[Re]=Ye.join("@")}return ee},serialize:function(q,Z){var ee=q,re=s(q.to);if(re){for(var me=0,Se=re.length;me<Se;++me){var De=String(re[me]),He=De.lastIndexOf("@"),ht=De.slice(0,He).replace(Or,ni).replace(Or,o).replace(ti,Pt),qe=De.slice(He+1);try{qe=Z.iri?Bt.toUnicode(qe):Bt.toASCII(rt(qe,Z).toLowerCase())}catch(Re){ee.error=ee.error||"Email address's domain name can not be converted to "+(Z.iri?"Unicode":"ASCII")+" via punycode: "+Re}re[me]=ht+"@"+qe}ee.path=re.join(",")}var it=q.headers=q.headers||{};q.subject&&(it.subject=q.subject),q.body&&(it.body=q.body);var vt=[];for(var lt in it)it[lt]!==Vr[lt]&&vt.push(lt.replace(Or,ni).replace(Or,o).replace(ri,Pt)+"="+it[lt].replace(Or,ni).replace(Or,o).replace(Li,Pt));return vt.length&&(ee.query=vt.join("&")),ee}},ii=/^([^\:]+)\:(.*)/,Bn={scheme:"urn",parse:function(q,Z){var ee=q.path&&q.path.match(ii),re=q;if(ee){var me=Z.scheme||re.scheme||"urn",Se=ee[1].toLowerCase(),De=ee[2],He=me+":"+(Z.nid||Se),ht=wt[He];re.nid=Se,re.nss=De,re.path=void 0,ht&&(re=ht.parse(re,Z))}else re.error=re.error||"URN can not be parsed.";return re},serialize:function(q,Z){var ee=Z.scheme||q.scheme||"urn",re=q.nid,me=ee+":"+(Z.nid||re),Se=wt[me];Se&&(q=Se.serialize(q,Z));var De=q,He=q.nss;return De.path=(re||Z.nid)+":"+He,De}},Bi=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,xn={scheme:"urn:uuid",parse:function(q,Z){var ee=q;return ee.uuid=ee.nss,ee.nss=void 0,!Z.tolerant&&(!ee.uuid||!ee.uuid.match(Bi))&&(ee.error=ee.error||"UUID is not valid."),ee},serialize:function(q,Z){var ee=q;return ee.nss=(q.uuid||"").toLowerCase(),ee}};wt[ne.scheme]=ne,wt[ce.scheme]=ce,wt[Ae.scheme]=Ae,wt[Rt.scheme]=Rt,wt[ji.scheme]=ji,wt[Bn.scheme]=Bn,wt[xn.scheme]=xn,t.SCHEMES=wt,t.pctEncChar=Pt,t.pctDecChars=Et,t.parse=Yt,t.removeDotSegments=Ne,t.serialize=Ze,t.resolveComponents=bt,t.resolve=cr,t.normalize=Ve,t.equal=Ue,t.escapeComponent=dt,t.unescapeComponent=rt,Object.defineProperty(t,"__esModule",{value:!0})})});var No=ge(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.getSchemaRefs=Ar.resolveUrl=Ar.normalizeId=Ar._getFullPath=Ar.getFullPath=Ar.inlineRef=void 0;var Hg=St(),Gg=qo(),Kg=gc(),Fs=dl(),Wg=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Zg(t,r=!0){return typeof t=="boolean"?!0:r===!0?!ml(t):r?$c(t)<=r:!1}Ar.inlineRef=Zg;var Jg=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function ml(t){for(let r in t){if(Jg.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(ml)||typeof e=="object"&&ml(e))return!0}return!1}function $c(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!Wg.has(e)&&(typeof t[e]=="object"&&Hg.eachItem(t[e],n=>r+=$c(n)),r===1/0))return 1/0}return r}function bc(t="",r){r!==!1&&(t=to(t));let e=Fs.parse(t);return vc(e)}Ar.getFullPath=bc;function vc(t){return Fs.serialize(t).split("#")[0]+"#"}Ar._getFullPath=vc;var Qg=/#\/?$/;function to(t){return t?t.replace(Qg,""):""}Ar.normalizeId=to;function Yg(t,r){return r=to(r),Fs.resolve(t,r)}Ar.resolveUrl=Yg;var Xg=/^[a-z_][-a-z0-9._]*$/i;function ey(t){if(typeof t=="boolean")return{};let r=to(t.$id),e={"":r},n=bc(r,!1),o={},s=new Set;return Kg(t,{allKeys:!0},(c,g,m,v)=>{if(v===void 0)return;let x=n+g,k=e[v];typeof c.$id=="string"&&(k=_.call(this,c.$id)),O.call(this,c.$anchor),O.call(this,c.$dynamicAnchor),e[g]=k;function _(D){if(D=to(k?Fs.resolve(k,D):D),s.has(D))throw f(D);s.add(D);let M=this.refs[D];return typeof M=="string"&&(M=this.refs[M]),typeof M=="object"?l(c,M.schema,D):D!==to(x)&&(D[0]==="#"?(l(c,o[D],D),o[D]=c):this.refs[D]=x),D}function O(D){if(typeof D=="string"){if(!Xg.test(D))throw new Error(`invalid anchor "${D}"`);_.call(this,`#${D}`)}}}),o;function l(c,g,m){if(g!==void 0&&!Gg(c,g))throw f(m)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Ar.getSchemaRefs=ey});var Tr=ge(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.checkStrictMode=hn.schemaCxtHasRules=hn.subschemaCode=hn.validateFunctionCode=void 0;var Cc=Qf(),kc=eo(),wc=dc(),Me=Le(),Ie=Qr(),ty=No(),Ac=St();function ry(t){if(_c(t)&&(Sc(t),hl(t))){oy(t);return}Ec(t,()=>Cc.topBoolOrEmptySchema(t))}hn.validateFunctionCode=ry;function Ec({gen:t,validateName:r,schema:e,schemaEnv:n,opts:o},s){o.code.es5?t.func(r,Me._`${Ie.default.data}, ${Ie.default.valCxt}`,n.$async,()=>{t.code(Me._`"use strict"; ${xc(e,o)}`),iy(t,o),t.code(s)}):t.func(r,Me._`${Ie.default.data}, ${ny(o)}`,n.$async,()=>t.code(xc(e,o)).code(s))}function ny(t){return Me._`{${Ie.default.dataPath}="", ${Ie.default.parentData}, ${Ie.default.parentDataProperty}, ${Ie.default.rootData}=${Ie.default.data}${t.dynamicRef?Me._`, ${Ie.default.dynamicAnchors}={}`:Me.nil}}={}`}function iy(t,r){t.if(Ie.default.valCxt,()=>{t.var(Ie.default.dataPath,Me._`${Ie.default.valCxt}.${Ie.default.dataPath}`),t.var(Ie.default.parentData,Me._`${Ie.default.valCxt}.${Ie.default.parentData}`),t.var(Ie.default.parentDataProperty,Me._`${Ie.default.valCxt}.${Ie.default.parentDataProperty}`),t.var(Ie.default.rootData,Me._`${Ie.default.valCxt}.${Ie.default.rootData}`),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Me._`${Ie.default.valCxt}.${Ie.default.dynamicAnchors}`)},()=>{t.var(Ie.default.dataPath,Me._`""`),t.var(Ie.default.parentData,Me._`undefined`),t.var(Ie.default.parentDataProperty,Me._`undefined`),t.var(Ie.default.rootData,Ie.default.data),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Me._`{}`)})}function oy(t){let{schema:r,opts:e,gen:n}=t;Ec(t,()=>{e.$comment&&r.$comment&&Fc(t),fy(t),n.let(Ie.default.vErrors,null),n.let(Ie.default.errors,0),e.unevaluated&&sy(t),Pc(t),dy(t)})}function sy(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Me._`${e}.evaluated`),r.if(Me._`${t.evaluated}.dynamicProps`,()=>r.assign(Me._`${t.evaluated}.props`,Me._`undefined`)),r.if(Me._`${t.evaluated}.dynamicItems`,()=>r.assign(Me._`${t.evaluated}.items`,Me._`undefined`))}function xc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Me._`/*# sourceURL=${t.$id} */`:Me.nil}function ay(t,r){if(_c(t)&&(Sc(t),hl(t))){ly(t,r);return}Cc.boolOrEmptySchema(t,r)}hn.subschemaCode=ay;function hl({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}hn.schemaCxtHasRules=hl;function _c(t){return typeof t.schema!="boolean"}function ly(t,r){let{schema:e,gen:n,opts:o}=t;o.$comment&&e.$comment&&Fc(t),cy(t),py(t);let s=n.const("_errs",Ie.default.errors);Pc(t,s),n.var(r,Me._`${s} === ${Ie.default.errors}`)}function Sc(t){Ac.checkUnknownRules(t),uy(t)}function Pc(t,r){if(t.opts.jtd)return wc.schemaKeywords(t,[],!1,r);let e=kc.getSchemaTypes(t.schema),n=kc.coerceAndCheckDataType(t,e);wc.schemaKeywords(t,e,!n,r)}function uy(t){let{schema:r,errSchemaPath:e,opts:n,self:o}=t;r.$ref&&n.ignoreKeywordsWithRef&&Ac.schemaHasRulesButRef(r,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function fy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Tc(t,"default is ignored in the schema root")}function cy(t){t.schema.$id&&(t.baseId=ty.resolveUrl(t.baseId,t.schema.$id))}function py(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Fc({gen:t,schemaEnv:r,schema:e,errSchemaPath:n,opts:o}){let s=e.$comment;if(o.$comment===!0)t.code(Me._`${Ie.default.self}.logger.log(${s})`);else if(typeof o.$comment=="function"){let l=Me.str`${n}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Me._`${Ie.default.self}.opts.$comment(${s}, ${l}, ${f}.schema)`)}}function dy(t){let{gen:r,schemaEnv:e,validateName:n,ValidationError:o,opts:s}=t;e.$async?r.if(Me._`${Ie.default.errors} === 0`,()=>r.return(Ie.default.data),()=>r.throw(Me._`new ${o}(${Ie.default.vErrors})`)):(r.assign(Me._`${n}.errors`,Ie.default.vErrors),s.unevaluated&&my(t),r.return(Me._`${Ie.default.errors} === 0`))}function my({gen:t,evaluated:r,props:e,items:n}){e instanceof Me.Name&&t.assign(Me._`${r}.props`,e),n instanceof Me.Name&&t.assign(Me._`${r}.items`,n)}function Tc(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}hn.checkStrictMode=Tc});var St=ge(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.func=Xe.setEvaluated=Xe.evaluatedPropsToName=Xe.mergeEvaluated=Xe.eachItem=Xe.unescapeJsonPointer=Xe.escapeJsonPointer=Xe.escapeFragment=Xe.unescapeFragment=Xe.schemaRefOrVal=Xe.schemaHasRulesButRef=Xe.schemaHasRules=Xe.checkUnknownRules=Xe.alwaysValidSchema=Xe.toHash=void 0;var It=Le(),hy=Tr();function gy(t){let r={};for(let e of t)r[e]=!0;return r}Xe.toHash=gy;function yy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(Oc(t,r),!qc(r,t.self.RULES.all))}Xe.alwaysValidSchema=yy;function Oc(t,r=t.schema){let{opts:e,self:n}=t;if(!e.strict||typeof r=="boolean")return;let o=n.RULES.keywords;for(let s in r)o[s]||hy.checkStrictMode(t,`unknown keyword: "${s}"`)}Xe.checkUnknownRules=Oc;function qc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}Xe.schemaHasRules=qc;function $y(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}Xe.schemaHasRulesButRef=$y;function by({topSchemaRef:t,schemaPath:r},e,n,o){if(!o){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return It._`${e}`}return It._`${t}${r}${It.getProperty(n)}`}Xe.schemaRefOrVal=by;function vy(t){return Dc(decodeURIComponent(t))}Xe.unescapeFragment=vy;function ky(t){return encodeURIComponent(Nc(t))}Xe.escapeFragment=ky;function Nc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}Xe.escapeJsonPointer=Nc;function Dc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}Xe.unescapeJsonPointer=Dc;function wy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}Xe.eachItem=wy;function Ic({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:n}){return(o,s,l,f)=>{let c=l===void 0?s:l instanceof It.Name?(s instanceof It.Name?t(o,s,l):r(o,s,l),l):s instanceof It.Name?(r(o,l,s),s):e(s,l);return f===It.Name&&!(c instanceof It.Name)?n(o,c):c}}Xe.mergeEvaluated={props:Ic({mergeNames:(t,r,e)=>t.if(It._`${e} !== true && ${r} !== undefined`,()=>{t.if(It._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,It._`${e} || {}`).code(It._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(It._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,It._`${e} || {}`),gl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Rc}),items:Ic({mergeNames:(t,r,e)=>t.if(It._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,It._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(It._`${e} !== true`,()=>t.assign(e,r===!0?!0:It._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Rc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",It._`{}`);return r!==void 0&&gl(t,e,r),e}Xe.evaluatedPropsToName=Rc;function gl(t,r,e){Object.keys(e).forEach(n=>t.assign(It._`${r}${It.getProperty(n)}`,!0))}Xe.setEvaluated=gl;function xy(t,r){return t.scopeValue("func",{ref:r,code:r.code})}Xe.func=xy});var eo=ge(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.reportTypeError=Wt.checkDataTypes=Wt.checkDataType=Wt.coerceAndCheckDataType=Wt.getJSONTypes=Wt.getSchemaTypes=Wt.DataType=void 0;var Cy=Ma(),Ay=Va(),Ey=Io(),Oe=Le(),Lc=St(),Do;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Do=Wt.DataType||(Wt.DataType={}));function _y(t){let r=jc(t.type);if(r.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!r.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&r.push("null")}return r}Wt.getSchemaTypes=_y;function jc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(Cy.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Wt.getJSONTypes=jc;function Sy(t,r){let{gen:e,data:n,opts:o}=t,s=Py(r,o.coerceTypes),l=r.length>0&&!(s.length===0&&r.length===1&&Ay.schemaHasRulesForType(t,r[0]));if(l){let f=$l(r,n,o.strict,Do.Wrong);e.if(f,()=>{s.length?Fy(t,r,s):bl(t)})}return l}Wt.coerceAndCheckDataType=Sy;var Bc=new Set(["string","number","integer","boolean","null"]);function Py(t,r){return r?t.filter(e=>Bc.has(e)||r==="array"&&e==="array"):[]}function Fy(t,r,e){let{gen:n,data:o,opts:s}=t,l=n.let("dataType",Oe._`typeof ${o}`),f=n.let("coerced",Oe._`undefined`);s.coerceTypes==="array"&&n.if(Oe._`${l} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>n.assign(o,Oe._`${o}[0]`).assign(l,Oe._`typeof ${o}`).if($l(r,o,s.strict),()=>n.assign(f,o))),n.if(Oe._`${f} !== undefined`);for(let g of e)(Bc.has(g)||g==="array"&&s.coerceTypes==="array")&&c(g);n.else(),bl(t),n.endIf(),n.if(Oe._`${f} !== undefined`,()=>{n.assign(o,f),Ty(t,f)});function c(g){switch(g){case"string":n.elseIf(Oe._`${l} == "number" || ${l} == "boolean"`).assign(f,Oe._`"" + ${o}`).elseIf(Oe._`${o} === null`).assign(f,Oe._`""`);return;case"number":n.elseIf(Oe._`${l} == "boolean" || ${o} === null
3
3
  || (${l} == "string" && ${o} && ${o} == +${o})`).assign(f,Oe._`+${o}`);return;case"integer":n.elseIf(Oe._`${l} === "boolean" || ${o} === null
4
4
  || (${l} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(f,Oe._`+${o}`);return;case"boolean":n.elseIf(Oe._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(f,!1).elseIf(Oe._`${o} === "true" || ${o} === 1`).assign(f,!0);return;case"null":n.elseIf(Oe._`${o} === "" || ${o} === 0 || ${o} === false`),n.assign(f,null);return;case"array":n.elseIf(Oe._`${l} === "string" || ${l} === "number"
5
- || ${l} === "boolean" || ${o} === null`).assign(f,Oe._`[${o}]`)}}}function Ty({gen:t,parentData:r,parentDataProperty:e},n){t.if(Oe._`${r} !== undefined`,()=>t.assign(Oe._`${r}[${e}]`,n))}function yl(t,r,e,n=Do.Correct){let o=n===Do.Correct?Oe.operators.EQ:Oe.operators.NEQ,s;switch(t){case"null":return Oe._`${r} ${o} null`;case"array":s=Oe._`Array.isArray(${r})`;break;case"object":s=Oe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":s=l(Oe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":s=l();break;default:return Oe._`typeof ${r} ${o} ${t}`}return n===Do.Correct?s:Oe.not(s);function l(f=Oe.nil){return Oe.and(Oe._`typeof ${r} == "number"`,f,e?Oe._`isFinite(${r})`:Oe.nil)}}Wt.checkDataType=yl;function $l(t,r,e,n){if(t.length===1)return yl(t[0],r,e,n);let o,s=Lc.toHash(t);if(s.array&&s.object){let l=Oe._`typeof ${r} != "object"`;o=s.null?l:Oe._`!${r} || ${l}`,delete s.null,delete s.array,delete s.object}else o=Oe.nil;s.number&&delete s.integer;for(let l in s)o=Oe.and(o,yl(l,r,e,n));return o}Wt.checkDataTypes=$l;var Iy={message:({schema:t})=>Oe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Oe._`{type: ${t}}`:Oe._`{type: ${r}}`};function bl(t){let r=Oy(t);Ey.reportError(r,Iy)}Wt.reportTypeError=bl;function Oy(t){let{gen:r,data:e,schema:n}=t,o=Lc.schemaRefOrVal(t,n,"type");return{gen:r,keyword:"type",data:e,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:t}}});var Oo=ge(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.getData=void 0;var zc=eo(),Ts=St(),Ro=Io(),Nt=Le(),vl=Qr(),qy=vi(),kl=class{constructor(r,e,n){if(Dy(r,e,n),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=n,this.data=r.data,this.schema=r.schema[n],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Ts.schemaRefOrVal(r,this.schema,n,this.$data),this.schemaType=e.schemaType,this.parentSchema=r.schema,this.params={},this.it=r,this.def=e,this.$data)this.schemaCode=r.gen.const("vSchema",Mc(this.$data,r));else if(this.schemaCode=this.schemaValue,!Ny(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=r.gen.const("_errs",vl.default.errors))}result(r,e,n){this.gen.if(Nt.not(r)),n?n():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(r,e){this.result(r,void 0,e)}fail(r){if(r===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(r),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(r){if(!this.$data)return this.fail(r);let{schemaCode:e}=this;this.fail(Nt._`${e} !== undefined && (${Nt.or(this.invalid$data(),r)})`)}error(r){(r?Ro.reportExtraError:Ro.reportError)(this,this.def.error)}$dataError(){Ro.reportError(this,this.def.$dataError||Ro.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Ro.resetErrorsCount(this.gen,this.errsCount)}ok(r){this.allErrors||this.gen.if(r)}setParams(r,e){e?Object.assign(this.params,r):this.params=r}block$data(r,e,n=Nt.nil){this.gen.block(()=>{this.check$data(r,n),e()})}check$data(r=Nt.nil,e=Nt.nil){if(!this.$data)return;let{gen:n,schemaCode:o,schemaType:s,def:l}=this;n.if(Nt.or(Nt._`${o} === undefined`,e)),r!==Nt.nil&&n.assign(r,!0),(s.length||l.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),r!==Nt.nil&&n.assign(r,!1)),n.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:n,def:o,it:s}=this;return Nt.or(l(),f());function l(){if(n.length){if(!(e instanceof Nt.Name))throw new Error("ajv implementation error");let c=Array.isArray(n)?n:[n];return Nt._`${zc.checkDataTypes(c,e,s.opts.strict,zc.DataType.Wrong)}`}return Nt.nil}function f(){if(o.validateSchema){let c=r.scopeValue("validate$data",{ref:o.validateSchema});return Nt._`!${c}(${e})`}return Nt.nil}}subschema(r,e){return qy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:n,gen:o}=this;!n.opts.unevaluated||(n.props!==!0&&r.props!==void 0&&(n.props=Ts.mergeEvaluated.props(o,r.props,n.props,e)),n.items!==!0&&r.items!==void 0&&(n.items=Ts.mergeEvaluated.items(o,r.items,n.items,e)))}mergeValidEvaluated(r,e){let{it:n,gen:o}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return o.if(e,()=>this.mergeEvaluated(r,Nt.Name)),!0}};Lo.default=kl;function Ny(t,r,e=!1){return!r.length||r.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||e&&typeof t>"u")}function Dy({schema:t,opts:r,self:e},n,o){if(Array.isArray(n.keyword)?!n.keyword.includes(o):n.keyword!==o)throw new Error("ajv implementation error");let s=n.dependencies;if(s!=null&&s.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${o}: ${s.join(",")}`);if(n.validateSchema&&!n.validateSchema(t[o])){let f="keyword value is invalid: "+e.errorsText(n.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var Ry=/^\/(?:[^~]|~0|~1)*$/,Ly=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Mc(t,{dataLevel:r,dataNames:e,dataPathArr:n}){let o,s;if(t==="")return vl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);o=t,s=vl.default.rootData}else{let g=Ly.exec(t);if(!g)throw new Error(`Invalid JSON-pointer: ${t}`);let h=+g[1];if(o=g[2],o==="#"){if(h>=r)throw new Error(c("property/index",h));return n[r-h]}if(h>r)throw new Error(c("data",h));if(s=e[r-h],!o)return s}let l=s,f=o.split("/");for(let g of f)g&&(s=Nt._`${s}${Nt.getProperty(Ts.unescapeJsonPointer(g))}`,l=Nt._`${l} && ${s}`);return l;function c(g,h){return`Cannot access ${g} ${h} levels up, current level is ${r}`}}Lo.getData=Mc});var qs=ge((ro,Vc)=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.MissingRefError=ro.ValidationError=void 0;var wl=No(),Is=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};ro.ValidationError=Is;var Os=class extends Error{constructor(r,e,n){super(n||`can't resolve reference ${e} from id ${r}`),this.missingRef=wl.resolveUrl(r,e),this.missingSchema=wl.normalizeId(wl.getFullPath(this.missingRef))}};ro.MissingRefError=Os;Vc.exports={ValidationError:Is,MissingRefError:Os}});var Al=ge(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.resolveSchema=zr.getCompilingSchema=zr.resolveRef=zr.compileSchema=zr.SchemaEnv=void 0;var Xr=Le(),jy=qs(),wi=Qr(),en=No(),Uc=St(),By=Tr(),zy=dl(),no=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let n;typeof r.schema=="object"&&(n=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:en.normalizeId(n==null?void 0:n.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};zr.SchemaEnv=no;function Cl(t){let r=Hc.call(this,t);if(r)return r;let e=en.getFullPath(t.root.baseId),{es5:n,lines:o}=this.opts.code,{ownProperties:s}=this.opts,l=new Xr.CodeGen(this.scope,{es5:n,lines:o,ownProperties:s}),f;t.$async&&(f=l.scopeValue("Error",{ref:jy.ValidationError,code:Xr._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let g={gen:l,allErrors:this.opts.allErrors,data:wi.default.data,parentData:wi.default.parentData,parentDataProperty:wi.default.parentDataProperty,dataNames:[wi.default.data],dataPathArr:[Xr.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:Xr.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:Xr.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:Xr._`""`,opts:this.opts,self:this},h;try{this._compilations.add(t),By.validateFunctionCode(g),l.optimize(this.opts.code.optimize);let v=l.toString();h=`${l.scopeRefs(wi.default.scope)}return ${v}`,this.opts.code.process&&(h=this.opts.code.process(h,t));let k=new Function(`${wi.default.self}`,`${wi.default.scope}`,h)(this,this.scope.get());if(this.scope.value(c,{ref:k}),k.errors=null,k.schema=t.schema,k.schemaEnv=t,t.$async&&(k.$async=!0),this.opts.code.source===!0&&(k.source={validateName:c,validateCode:v,scopeValues:l._values}),this.opts.unevaluated){let{props:_,items:O}=g;k.evaluated={props:_ instanceof Xr.Name?void 0:_,items:O instanceof Xr.Name?void 0:O,dynamicProps:_ instanceof Xr.Name,dynamicItems:O instanceof Xr.Name},k.source&&(k.source.evaluated=Xr.stringify(k.evaluated))}return t.validate=k,t}catch(v){throw delete t.validate,delete t.validateName,h&&this.logger.error("Error compiling schema, function code:",h),v}finally{this._compilations.delete(t)}}zr.compileSchema=Cl;function My(t,r,e){var n;e=en.resolveUrl(r,e);let o=t.refs[e];if(o)return o;let s=Hy.call(this,t,e);if(s===void 0){let l=(n=t.localRefs)===null||n===void 0?void 0:n[e];l&&(s=new no({schema:l,root:t,baseId:r}))}if(s!==void 0)return t.refs[e]=Vy.call(this,s)}zr.resolveRef=My;function Vy(t){return en.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Cl.call(this,t)}function Hc(t){for(let r of this._compilations)if(Uy(r,t))return r}zr.getCompilingSchema=Hc;function Uy(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function Hy(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Ns.call(this,t,r)}function Ns(t,r){let e=zy.parse(r),n=en._getFullPath(e),o=en.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===o)return xl.call(this,e,t);let s=en.normalizeId(n),l=this.refs[s]||this.schemas[s];if(typeof l=="string"){let f=Ns.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:xl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Cl.call(this,l),s===en.normalizeId(r)){let{schema:f}=l;return f.$id&&(o=en.resolveUrl(o,f.$id)),new no({schema:f,root:t,baseId:o})}return xl.call(this,e,l)}}zr.resolveSchema=Ns;var Gy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function xl(t,{baseId:r,schema:e,root:n}){var o;if(((o=t.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(let l of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Uc.unescapeFragment(l)],e===void 0))return;!Gy.has(l)&&typeof e=="object"&&e.$id&&(r=en.resolveUrl(r,e.$id))}let s;if(typeof e!="boolean"&&e.$ref&&!Uc.schemaHasRulesButRef(e,this.RULES)){let l=en.resolveUrl(r,e.$ref);s=Ns.call(this,n,l)}if(s=s||new no({schema:e,root:n,baseId:r}),s.schema!==s.root.schema)return s}});var Gc=ge((o1,Ky)=>{Ky.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 Qc=ge(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.CodeGen=Zt.Name=Zt.nil=Zt.stringify=Zt.str=Zt._=Zt.KeywordCxt=void 0;var Wy=Oo();Zt.KeywordCxt=Wy.default;var io=Le();Object.defineProperty(Zt,"_",{enumerable:!0,get:function(){return io._}});Object.defineProperty(Zt,"str",{enumerable:!0,get:function(){return io.str}});Object.defineProperty(Zt,"stringify",{enumerable:!0,get:function(){return io.stringify}});Object.defineProperty(Zt,"nil",{enumerable:!0,get:function(){return io.nil}});Object.defineProperty(Zt,"Name",{enumerable:!0,get:function(){return io.Name}});Object.defineProperty(Zt,"CodeGen",{enumerable:!0,get:function(){return io.CodeGen}});var Sl=qs(),Zy=Ma(),jo=Al(),Jy=Le(),Ds=No(),Rs=eo(),_l=St(),Kc=Gc(),Qy=["removeAdditional","useDefaults","coerceTypes"],Yy=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."},e$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function t$(t){var r,e,n,o,s,l,f,c,g,h,v,x;let k=(r=t.strict)!==null&&r!==void 0?r:!0,_=k?"log":!1,O=(e=t.code)===null||e===void 0?void 0:e.optimize,D=O===!0||O===void 0?1:O||0;return{strict:k,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:_,strictTuples:(o=t.strictTuples)!==null&&o!==void 0?o:_,code:t.code?{...t.code,optimize:D}:{optimize:D},loopRequired:(s=t.loopRequired)!==null&&s!==void 0?s:1/0,loopEnum:(l=t.loopEnum)!==null&&l!==void 0?l:1/0,meta:(f=t.meta)!==null&&f!==void 0?f:!0,messages:(c=t.messages)!==null&&c!==void 0?c:!0,inlineRefs:(g=t.inlineRefs)!==null&&g!==void 0?g:!0,addUsedSchema:(h=t.addUsedSchema)!==null&&h!==void 0?h:!0,validateSchema:(v=t.validateSchema)!==null&&v!==void 0?v:!0,validateFormats:(x=t.validateFormats)!==null&&x!==void 0?x:!0}}var Bo=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...t$(r)};let{es5:e,lines:n}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Yy,es5:e,lines:n}),this.logger=a$(r.logger);let o=r.validateFormats;r.validateFormats=!1,this.RULES=Zy.getRules(),Wc.call(this,Xy,r,"NOT SUPPORTED"),Wc.call(this,e$,r,"DEPRECATED","warn"),this._metaOpts=o$.call(this),r.formats&&n$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&i$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),r$.call(this),r.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Kc,Kc.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let n;if(typeof r=="string"){if(n=this.getSchema(r),!n)throw new Error(`no schema with key or ref "${r}"`)}else n=this.compile(r);let o=n(e);return"$async"in n||(this.errors=n.errors),o}compile(r,e){let n=this._addSchema(r,e);return n.validate||this._compileSchemaEnv(n)}compileAsync(r,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,r,e);async function o(h,v){await s.call(this,h.$schema);let x=this._addSchema(h,v);return x.validate||l.call(this,x)}async function s(h){h&&!this.getSchema(h)&&await o.call(this,{$ref:h},!0)}async function l(h){try{return this._compileSchemaEnv(h)}catch(v){if(!(v instanceof Sl.MissingRefError))throw v;return f.call(this,v),await c.call(this,v.missingSchema),l.call(this,h)}}function f({missingSchema:h,missingRef:v}){if(this.refs[h])throw new Error(`AnySchema ${h} is loaded but ${v} cannot be resolved`)}async function c(h){let v=await g.call(this,h);this.refs[h]||await s.call(this,v.$schema),this.refs[h]||this.addSchema(v,h,e)}async function g(h){let v=this._loading[h];if(v)return v;try{return await(this._loading[h]=n(h))}finally{delete this._loading[h]}}}addSchema(r,e,n,o=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,n,o);return this}let s;if(typeof r=="object"&&(s=r.$id,s!==void 0&&typeof s!="string"))throw new Error("schema id must be string");return e=Ds.normalizeId(e||s),this._checkUnique(e),this.schemas[e]=this._addSchema(r,n,o,!0),this}addMetaSchema(r,e,n=this.opts.validateSchema){return this.addSchema(r,e,!0,n),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let n;if(n=r.$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,r);if(!o&&e){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw new Error(s)}return o}getSchema(r){let e;for(;typeof(e=Zc.call(this,r))=="string";)r=e;if(e===void 0){let n=new jo.SchemaEnv({schema:{}});if(e=jo.resolveSchema.call(this,n,r),!e)return;this.refs[r]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(r){if(r instanceof RegExp)return this._removeAllSchemas(this.schemas,r),this._removeAllSchemas(this.refs,r),this;switch(typeof r){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=Zc.call(this,r);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[r],delete this.refs[r],this}case"object":{let e=r;this._cache.delete(e);let n=r.$id;return n&&(n=Ds.normalizeId(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(r){for(let e of r)this.addKeyword(e);return this}addKeyword(r,e){let n;if(typeof r=="string")n=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=n);else if(typeof r=="object"&&e===void 0){if(e=r,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(u$.call(this,n,e),!e)return _l.eachItem(n,s=>El.call(this,s)),this;c$.call(this,e);let o={...e,type:Rs.getJSONTypes(e.type),schemaType:Rs.getJSONTypes(e.schemaType)};return _l.eachItem(n,o.type.length===0?s=>El.call(this,s,o):s=>o.type.forEach(l=>El.call(this,s,o,l))),this}getKeyword(r){let e=this.RULES.all[r];return typeof e=="object"?e.definition:!!e}removeKeyword(r){let{RULES:e}=this;delete e.keywords[r],delete e.all[r];for(let n of e.rules){let o=n.rules.findIndex(s=>s.keyword===r);o>=0&&n.rules.splice(o,1)}return this}addFormat(r,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[r]=e,this}errorsText(r=this.errors,{separator:e=", ",dataVar:n="data"}={}){return!r||r.length===0?"No errors":r.map(o=>`${n}${o.dataPath} ${o.message}`).reduce((o,s)=>o+e+s)}$dataMetaSchema(r,e){let n=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let o of e){let s=o.split("/").slice(1),l=r;for(let f of s)l=l[f];for(let f in n){let c=n[f];if(typeof c!="object")continue;let{$data:g}=c.definition,h=l[f];g&&h&&(l[f]=Jc(h))}}return r}_removeAllSchemas(r,e){for(let n in r){let o=r[n];(!e||e.test(n))&&(typeof o=="string"?delete r[n]:o&&!o.meta&&(this._cache.delete(o.schema),delete r[n]))}}_addSchema(r,e,n=this.opts.validateSchema,o=this.opts.addUsedSchema){if(typeof r!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof r!="boolean")throw new Error("schema must be object or boolean")}let s=this._cache.get(r);if(s!==void 0)return s;let l=Ds.getSchemaRefs.call(this,r);s=new jo.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(s.schema,s);let f=s.baseId;return o&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=s),n&&this.validateSchema(r,!0),s}_checkUnique(r){if(this.schemas[r]||this.refs[r])throw new Error(`schema with key or id "${r}" already exists`)}_compileSchemaEnv(r){if(r.meta?this._compileMetaSchema(r):jo.compileSchema.call(this,r),!r.validate)throw new Error("ajv implementation error");return r.validate}_compileMetaSchema(r){let e=this.opts;this.opts=this._metaOpts;try{jo.compileSchema.call(this,r)}finally{this.opts=e}}};Zt.default=Bo;Bo.ValidationError=Sl.ValidationError;Bo.MissingRefError=Sl.MissingRefError;function Wc(t,r,e,n="error"){for(let o in t){let s=o;s in r&&this.logger[n](`${e}: option ${o}. ${t[s]}`)}}function Zc(t){return t=Ds.normalizeId(t),this.schemas[t]||this.refs[t]}function r$(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let r in t)this.addSchema(t[r],r)}function n$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function i$(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let r in t){let e=t[r];e.keyword||(e.keyword=r),this.addKeyword(e)}}function o$(){let t={...this.opts};for(let r of Qy)delete t[r];return t}var s$={log(){},warn(){},error(){}};function a$(t){if(t===!1)return s$;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 l$=/^[a-z_$][a-z0-9_$:-]*$/i;function u$(t,r){let{RULES:e}=this;if(_l.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!l$.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function El(t,r,e){var n;let o=r==null?void 0:r.post;if(e&&o)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:s}=this,l=o?s.post:s.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},s.rules.push(l)),s.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Rs.getJSONTypes(r.type),schemaType:Rs.getJSONTypes(r.schemaType)}};r.before?f$.call(this,l,f,r.before):l.rules.push(f),s.all[t]=f,(n=r.implements)===null||n===void 0||n.forEach(c=>this.addKeyword(c))}function f$(t,r,e){let n=t.rules.findIndex(o=>o.keyword===e);n>=0?t.rules.splice(n,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function c$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=Jc(r)),t.validateSchema=this.compile(r,!0))}var p$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Jc(t){return{anyOf:[t,p$]}}});var Yc=ge(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});var d$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Pl.default=d$});var rp=ge(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.callRef=xi.getValidate=void 0;var m$=qs(),Xc=Yr(),Er=Le(),oo=Qr(),ep=Al(),Ls=St(),h$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:n}=t,{baseId:o,schemaEnv:s,validateName:l,opts:f,self:c}=n;if(e==="#"||e==="#/")return h();let g=ep.resolveRef.call(c,s.root,o,e);if(g===void 0)throw new m$.MissingRefError(o,e);if(g instanceof ep.SchemaEnv)return v(g);return x(g);function h(){if(s===s.root)return js(t,l,s,s.$async);let k=r.scopeValue("root",{ref:s.root});return js(t,Er._`${k}.validate`,s.root,s.root.$async)}function v(k){let _=tp(t,k);js(t,_,k,k.$async)}function x(k){let _=r.scopeValue("schema",f.code.source===!0?{ref:k,code:Er.stringify(k)}:{ref:k}),O=r.name("valid"),D=t.subschema({schema:k,dataTypes:[],schemaPath:Er.nil,topSchemaRef:_,errSchemaPath:e},O);t.mergeEvaluated(D),t.ok(O)}}};function tp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Er._`${e.scopeValue("wrapper",{ref:r})}.validate`}xi.getValidate=tp;function js(t,r,e,n){let{gen:o,it:s}=t,{allErrors:l,schemaEnv:f,opts:c}=s,g=c.passContext?oo.default.this:Er.nil;n?h():v();function h(){if(!f.$async)throw new Error("async schema referenced by sync schema");let _=o.let("valid");o.try(()=>{o.code(Er._`await ${Xc.callValidateCode(t,r,g)}`),k(r),l||o.assign(_,!0)},O=>{o.if(Er._`!(${O} instanceof ${s.ValidationError})`,()=>o.throw(O)),x(O),l||o.assign(_,!1)}),t.ok(_)}function v(){t.result(Xc.callValidateCode(t,r,g),()=>k(r),()=>x(r))}function x(_){let O=Er._`${_}.errors`;o.assign(oo.default.vErrors,Er._`${oo.default.vErrors} === null ? ${O} : ${oo.default.vErrors}.concat(${O})`),o.assign(oo.default.errors,Er._`${oo.default.vErrors}.length`)}function k(_){var O;if(!s.opts.unevaluated)return;let D=(O=e==null?void 0:e.validate)===null||O===void 0?void 0:O.evaluated;if(s.props!==!0)if(D&&!D.dynamicProps)D.props!==void 0&&(s.props=Ls.mergeEvaluated.props(o,D.props,s.props));else{let M=o.var("props",Er._`${_}.evaluated.props`);s.props=Ls.mergeEvaluated.props(o,M,s.props,Er.Name)}if(s.items!==!0)if(D&&!D.dynamicItems)D.items!==void 0&&(s.items=Ls.mergeEvaluated.items(o,D.items,s.items));else{let M=o.var("items",Er._`${_}.evaluated.items`);s.items=Ls.mergeEvaluated.items(o,M,s.items,Er.Name)}}}xi.callRef=js;xi.default=h$});var np=ge(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});var g$=Yc(),y$=rp(),$$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",g$.default,y$.default];Fl.default=$$});var ip=ge(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});var Bs=Le(),Zn=Bs.operators,zs={maximum:{okStr:"<=",ok:Zn.LTE,fail:Zn.GT},minimum:{okStr:">=",ok:Zn.GTE,fail:Zn.LT},exclusiveMaximum:{okStr:"<",ok:Zn.LT,fail:Zn.GTE},exclusiveMinimum:{okStr:">",ok:Zn.GT,fail:Zn.LTE}},b$={message:({keyword:t,schemaCode:r})=>Bs.str`should be ${zs[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Bs._`{comparison: ${zs[t].okStr}, limit: ${r}}`},v$={keyword:Object.keys(zs),type:"number",schemaType:"number",$data:!0,error:b$,code(t){let{keyword:r,data:e,schemaCode:n}=t;t.fail$data(Bs._`${e} ${zs[r].fail} ${n} || isNaN(${e})`)}};Tl.default=v$});var op=ge(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var zo=Le(),k$={message:({schemaCode:t})=>zo.str`should be multiple of ${t}`,params:({schemaCode:t})=>zo._`{multipleOf: ${t}}`},w$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:k$,code(t){let{gen:r,data:e,schemaCode:n,it:o}=t,s=o.opts.multipleOfPrecision,l=r.let("res"),f=s?zo._`Math.abs(Math.round(${l}) - ${l}) > 1e-${s}`:zo._`${l} !== parseInt(${l})`;t.fail$data(zo._`(${n} === 0 || (${l} = ${e}/${n}, ${f}))`)}};Il.default=w$});var sp=ge(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});function x$(t){let r=t.length,e=0,n=0,o;for(;n<r;)e++,o=t.charCodeAt(n++),o>=55296&&o<=56319&&n<r&&(o=t.charCodeAt(n),(o&64512)===56320&&n++);return e}Ol.default=x$});var ap=ge(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});var Jn=Le(),C$=sp(),A$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return Jn.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>Jn._`{limit: ${t}}`},E$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:A$,code(t){let{keyword:r,data:e,schemaCode:n,it:o}=t,s=r==="maxLength"?Jn.operators.GT:Jn.operators.LT,l;if(o.opts.unicode===!1)l=Jn._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:C$.default,code:Jn._`require("ajv/dist/compile/ucs2length").default`});l=Jn._`${f}(${e})`}t.fail$data(Jn._`${l} ${s} ${n}`)}};ql.default=E$});var lp=ge(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var _$=Yr(),Ms=Le(),S$={message:({schemaCode:t})=>Ms.str`should match pattern "${t}"`,params:({schemaCode:t})=>Ms._`{pattern: ${t}}`},P$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:S$,code(t){let{gen:r,data:e,$data:n,schema:o,schemaCode:s}=t,l=n?Ms._`(new RegExp(${s}, "u"))`:_$.usePattern(r,o);t.fail$data(Ms._`!${l}.test(${e})`)}};Nl.default=P$});var up=ge(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var Mo=Le(),F$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Mo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Mo._`{limit: ${t}}`},T$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:F$,code(t){let{keyword:r,data:e,schemaCode:n}=t,o=r==="maxProperties"?Mo.operators.GT:Mo.operators.LT;t.fail$data(Mo._`Object.keys(${e}).length ${o} ${n}`)}};Dl.default=T$});var fp=ge(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var Vo=Yr(),Uo=Le(),I$=Tr(),O$={message:({params:{missingProperty:t}})=>Uo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>Uo._`{missingProperty: ${t}}`},q$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:O$,code(t){let{gen:r,schema:e,schemaCode:n,data:o,$data:s,it:l}=t,{opts:f}=l;if(!s&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?g():h(),f.strictRequired){let k=t.parentSchema.properties,{definedProperties:_}=t.it;for(let O of e)if((k==null?void 0:k[O])===void 0&&!_.has(O)){let D=l.schemaEnv.baseId+l.errSchemaPath,M=`required property "${O}" is not defined at "${D}" (strictRequired)`;I$.checkStrictMode(l,M,l.opts.strictRequired)}}function g(){if(c||s)t.block$data(Uo.nil,v);else for(let k of e)Vo.checkReportMissingProp(t,k)}function h(){let k=r.let("missing");if(c||s){let _=r.let("valid",!0);t.block$data(_,()=>x(k,_)),t.ok(_)}else r.if(Vo.checkMissingProp(t,e,k)),Vo.reportMissingProp(t,k),r.else()}function v(){r.forOf("prop",n,k=>{t.setParams({missingProperty:k}),r.if(Vo.noPropertyInData(r,o,k,f.ownProperties),()=>t.error())})}function x(k,_){t.setParams({missingProperty:k}),r.forOf(k,n,()=>{r.assign(_,Vo.propertyInData(r,o,k,f.ownProperties)),r.if(Uo.not(_),()=>{t.error(),r.break()})},Uo.nil)}}};Rl.default=q$});var cp=ge(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var Ho=Le(),N$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Ho.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Ho._`{limit: ${t}}`},D$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:n}=t,o=r==="maxItems"?Ho.operators.GT:Ho.operators.LT;t.fail$data(Ho._`${e}.length ${o} ${n}`)}};Ll.default=D$});var pp=ge(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});var jl=eo(),Mt=Le(),R$=qo(),L$={message:({params:{i:t,j:r}})=>Mt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Mt._`{i: ${t}, j: ${r}}`},j$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:L$,code(t){let{gen:r,data:e,$data:n,schema:o,parentSchema:s,schemaCode:l,it:f}=t;if(!n&&!o)return;let c=r.let("valid"),g=s.items?jl.getSchemaTypes(s.items):[];t.block$data(c,h,Mt._`${l} === false`),t.ok(c);function h(){let _=r.let("i",Mt._`${e}.length`),O=r.let("j");t.setParams({i:_,j:O}),r.assign(c,!0),r.if(Mt._`${_} > 1`,()=>(v()?x:k)(_,O))}function v(){return g.length>0&&!g.some(_=>_==="object"||_==="array")}function x(_,O){let D=r.name("item"),M=jl.checkDataTypes(g,D,f.opts.strict,jl.DataType.Wrong),X=r.const("indices",Mt._`{}`);r.for(Mt._`;${_}--;`,()=>{r.let(D,Mt._`${e}[${_}]`),r.if(M,Mt._`continue`),g.length>1&&r.if(Mt._`typeof ${D} == "string"`,Mt._`${D} += "_"`),r.if(Mt._`typeof ${X}[${D}] == "number"`,()=>{r.assign(O,Mt._`${X}[${D}]`),t.error(),r.assign(c,!1).break()}).code(Mt._`${X}[${D}] = ${_}`)})}function k(_,O){let D=t.gen.scopeValue("func",{ref:R$,code:Mt._`require("ajv/dist/compile/equal")`}),M=r.name("outer");r.label(M).for(Mt._`;${_}--;`,()=>r.for(Mt._`${O} = ${_}; ${O}--;`,()=>r.if(Mt._`${D}(${e}[${_}], ${e}[${O}])`,()=>{t.error(),r.assign(c,!1).break(M)})))}}};Bl.default=j$});var dp=ge(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var zl=Le(),B$=qo(),z$={message:"should be equal to constant",params:({schemaCode:t})=>zl._`{allowedValue: ${t}}`},M$={keyword:"const",$data:!0,error:z$,code(t){let r=t.gen.scopeValue("func",{ref:B$,code:zl._`require("ajv/dist/compile/equal")`});t.fail$data(zl._`!${r}(${t.data}, ${t.schemaCode})`)}};Ml.default=M$});var mp=ge(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var so=Le(),V$=qo(),U$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>so._`{allowedValues: ${t}}`},H$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(t){let{gen:r,data:e,$data:n,schema:o,schemaCode:s,it:l}=t;if(!n&&o.length===0)throw new Error("enum must have non-empty array");let f=o.length>=l.opts.loopEnum,c=t.gen.scopeValue("func",{ref:V$,code:so._`require("ajv/dist/compile/equal")`}),g;if(f||n)g=r.let("valid"),t.block$data(g,h);else{if(!Array.isArray(o))throw new Error("ajv implementation error");let x=r.const("vSchema",s);g=so.or(...o.map((k,_)=>v(x,_)))}t.pass(g);function h(){r.assign(g,!1),r.forOf("v",s,x=>r.if(so._`${c}(${e}, ${x})`,()=>r.assign(g,!0).break()))}function v(x,k){let _=o[k];return _&&typeof _=="object"?so._`${c}(${e}, ${x}[${k}])`:so._`${e} === ${_}`}}};Vl.default=H$});var hp=ge(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var G$=ip(),K$=op(),W$=ap(),Z$=lp(),J$=up(),Q$=fp(),Y$=cp(),X$=pp(),eb=dp(),tb=mp(),rb=[G$.default,K$.default,W$.default,Z$.default,J$.default,Q$.default,Y$.default,X$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},eb.default,tb.default];Ul.default=rb});var gp=ge(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var Ci=Le(),nb=vi(),ib=St(),ob=Tr(),sb={message:({params:{len:t}})=>Ci.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ci._`{limit: ${t}}`},ab={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t,{items:l}=n;if(!Array.isArray(l)){ob.checkStrictMode(s,'"additionalItems" is ignored when "items" is not an array of schemas');return}s.items=!0;let f=r.const("len",Ci._`${o}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(Ci._`${f} <= ${l.length}`);else if(typeof e=="object"&&!ib.alwaysValidSchema(s,e)){let g=r.var("valid",Ci._`${f} <= ${l.length}`);r.if(Ci.not(g),()=>c(g)),t.ok(g)}function c(g){r.forRange("i",l.length,f,h=>{t.subschema({keyword:"additionalItems",dataProp:h,dataPropType:nb.Type.Num},g),s.allErrors||r.if(Ci.not(g),()=>r.break())})}}};Hl.default=ab});var $p=ge(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var yp=Le(),Gl=St(),lb=Tr(),ub=Yr(),fb={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:n}=t;if(Array.isArray(e))n.opts.unevaluated&&e.length&&n.items!==!0&&(n.items=Gl.mergeEvaluated.items(r,e.length,n.items)),o(e);else{if(n.items=!0,Gl.alwaysValidSchema(n,e))return;t.ok(ub.validateArray(t))}function o(s){let{parentSchema:l,data:f}=t;if(n.opts.strictTuples&&!cb(s.length,l)){let h=`"items" is ${s.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;lb.checkStrictMode(n,h,n.opts.strictTuples)}let c=r.name("valid"),g=r.const("len",yp._`${f}.length`);s.forEach((h,v)=>{Gl.alwaysValidSchema(n,h)||(r.if(yp._`${g} > ${v}`,()=>t.subschema({keyword:"items",schemaProp:v,dataProp:v},c)),t.ok(c))})}}};function cb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}Kl.default=fb});var vp=ge(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var tn=Le(),pb=vi(),db=St(),bp=Tr(),mb={message:({params:{min:t,max:r}})=>r===void 0?tn.str`should contain at least ${t} valid item(s)`:tn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?tn._`{minContains: ${t}}`:tn._`{minContains: ${t}, maxContains: ${r}}`},hb={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:mb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t,l,f,{minContains:c,maxContains:g}=n;s.opts.next?(l=c===void 0?1:c,f=g):l=1;let h=r.const("len",tn._`${o}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){bp.checkStrictMode(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){bp.checkStrictMode(s,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(db.alwaysValidSchema(s,e)){let _=tn._`${h} >= ${l}`;f!==void 0&&(_=tn._`${_} && ${h} <= ${f}`),t.pass(_);return}s.items=!0;let v=r.name("valid");if(f===void 0&&l===1)x(v,()=>r.if(v,()=>r.break()));else{r.let(v,!1);let _=r.name("_valid"),O=r.let("count",0);x(_,()=>r.if(_,()=>k(O)))}t.result(v,()=>t.reset());function x(_,O){r.forRange("i",0,h,D=>{t.subschema({keyword:"contains",dataProp:D,dataPropType:pb.Type.Num,compositeRule:!0},_),O()})}function k(_){r.code(tn._`${_}++`),f===void 0?r.if(tn._`${_} >= ${l}`,()=>r.assign(v,!0).break()):(r.if(tn._`${_} > ${f}`,()=>r.assign(v,!1).break()),l===1?r.assign(v,!0):r.if(tn._`${_} >= ${l}`,()=>r.assign(v,!0)))}}};Wl.default=hb});var xp=ge(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.validateSchemaDeps=gn.validatePropertyDeps=gn.error=void 0;var Zl=Le(),gb=St(),Go=Yr();gn.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let n=r===1?"property":"properties";return Zl.str`should have ${n} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:n}})=>Zl._`{property: ${t},
5
+ || ${l} === "boolean" || ${o} === null`).assign(f,Oe._`[${o}]`)}}}function Ty({gen:t,parentData:r,parentDataProperty:e},n){t.if(Oe._`${r} !== undefined`,()=>t.assign(Oe._`${r}[${e}]`,n))}function yl(t,r,e,n=Do.Correct){let o=n===Do.Correct?Oe.operators.EQ:Oe.operators.NEQ,s;switch(t){case"null":return Oe._`${r} ${o} null`;case"array":s=Oe._`Array.isArray(${r})`;break;case"object":s=Oe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":s=l(Oe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":s=l();break;default:return Oe._`typeof ${r} ${o} ${t}`}return n===Do.Correct?s:Oe.not(s);function l(f=Oe.nil){return Oe.and(Oe._`typeof ${r} == "number"`,f,e?Oe._`isFinite(${r})`:Oe.nil)}}Wt.checkDataType=yl;function $l(t,r,e,n){if(t.length===1)return yl(t[0],r,e,n);let o,s=Lc.toHash(t);if(s.array&&s.object){let l=Oe._`typeof ${r} != "object"`;o=s.null?l:Oe._`!${r} || ${l}`,delete s.null,delete s.array,delete s.object}else o=Oe.nil;s.number&&delete s.integer;for(let l in s)o=Oe.and(o,yl(l,r,e,n));return o}Wt.checkDataTypes=$l;var Iy={message:({schema:t})=>Oe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Oe._`{type: ${t}}`:Oe._`{type: ${r}}`};function bl(t){let r=Oy(t);Ey.reportError(r,Iy)}Wt.reportTypeError=bl;function Oy(t){let{gen:r,data:e,schema:n}=t,o=Lc.schemaRefOrVal(t,n,"type");return{gen:r,keyword:"type",data:e,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:t}}});var Oo=ge(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.getData=void 0;var zc=eo(),Ts=St(),Ro=Io(),Nt=Le(),vl=Qr(),qy=vi(),kl=class{constructor(r,e,n){if(Dy(r,e,n),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=n,this.data=r.data,this.schema=r.schema[n],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Ts.schemaRefOrVal(r,this.schema,n,this.$data),this.schemaType=e.schemaType,this.parentSchema=r.schema,this.params={},this.it=r,this.def=e,this.$data)this.schemaCode=r.gen.const("vSchema",Mc(this.$data,r));else if(this.schemaCode=this.schemaValue,!Ny(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=r.gen.const("_errs",vl.default.errors))}result(r,e,n){this.gen.if(Nt.not(r)),n?n():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(r,e){this.result(r,void 0,e)}fail(r){if(r===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(r),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(r){if(!this.$data)return this.fail(r);let{schemaCode:e}=this;this.fail(Nt._`${e} !== undefined && (${Nt.or(this.invalid$data(),r)})`)}error(r){(r?Ro.reportExtraError:Ro.reportError)(this,this.def.error)}$dataError(){Ro.reportError(this,this.def.$dataError||Ro.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Ro.resetErrorsCount(this.gen,this.errsCount)}ok(r){this.allErrors||this.gen.if(r)}setParams(r,e){e?Object.assign(this.params,r):this.params=r}block$data(r,e,n=Nt.nil){this.gen.block(()=>{this.check$data(r,n),e()})}check$data(r=Nt.nil,e=Nt.nil){if(!this.$data)return;let{gen:n,schemaCode:o,schemaType:s,def:l}=this;n.if(Nt.or(Nt._`${o} === undefined`,e)),r!==Nt.nil&&n.assign(r,!0),(s.length||l.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),r!==Nt.nil&&n.assign(r,!1)),n.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:n,def:o,it:s}=this;return Nt.or(l(),f());function l(){if(n.length){if(!(e instanceof Nt.Name))throw new Error("ajv implementation error");let c=Array.isArray(n)?n:[n];return Nt._`${zc.checkDataTypes(c,e,s.opts.strict,zc.DataType.Wrong)}`}return Nt.nil}function f(){if(o.validateSchema){let c=r.scopeValue("validate$data",{ref:o.validateSchema});return Nt._`!${c}(${e})`}return Nt.nil}}subschema(r,e){return qy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:n,gen:o}=this;!n.opts.unevaluated||(n.props!==!0&&r.props!==void 0&&(n.props=Ts.mergeEvaluated.props(o,r.props,n.props,e)),n.items!==!0&&r.items!==void 0&&(n.items=Ts.mergeEvaluated.items(o,r.items,n.items,e)))}mergeValidEvaluated(r,e){let{it:n,gen:o}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return o.if(e,()=>this.mergeEvaluated(r,Nt.Name)),!0}};Lo.default=kl;function Ny(t,r,e=!1){return!r.length||r.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||e&&typeof t>"u")}function Dy({schema:t,opts:r,self:e},n,o){if(Array.isArray(n.keyword)?!n.keyword.includes(o):n.keyword!==o)throw new Error("ajv implementation error");let s=n.dependencies;if(s!=null&&s.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${o}: ${s.join(",")}`);if(n.validateSchema&&!n.validateSchema(t[o])){let f="keyword value is invalid: "+e.errorsText(n.validateSchema.errors);if(r.validateSchema==="log")e.logger.error(f);else throw new Error(f)}}var Ry=/^\/(?:[^~]|~0|~1)*$/,Ly=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Mc(t,{dataLevel:r,dataNames:e,dataPathArr:n}){let o,s;if(t==="")return vl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);o=t,s=vl.default.rootData}else{let g=Ly.exec(t);if(!g)throw new Error(`Invalid JSON-pointer: ${t}`);let m=+g[1];if(o=g[2],o==="#"){if(m>=r)throw new Error(c("property/index",m));return n[r-m]}if(m>r)throw new Error(c("data",m));if(s=e[r-m],!o)return s}let l=s,f=o.split("/");for(let g of f)g&&(s=Nt._`${s}${Nt.getProperty(Ts.unescapeJsonPointer(g))}`,l=Nt._`${l} && ${s}`);return l;function c(g,m){return`Cannot access ${g} ${m} levels up, current level is ${r}`}}Lo.getData=Mc});var qs=ge((ro,Vc)=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.MissingRefError=ro.ValidationError=void 0;var wl=No(),Is=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};ro.ValidationError=Is;var Os=class extends Error{constructor(r,e,n){super(n||`can't resolve reference ${e} from id ${r}`),this.missingRef=wl.resolveUrl(r,e),this.missingSchema=wl.normalizeId(wl.getFullPath(this.missingRef))}};ro.MissingRefError=Os;Vc.exports={ValidationError:Is,MissingRefError:Os}});var Al=ge(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.resolveSchema=zr.getCompilingSchema=zr.resolveRef=zr.compileSchema=zr.SchemaEnv=void 0;var Xr=Le(),jy=qs(),wi=Qr(),en=No(),Uc=St(),By=Tr(),zy=dl(),no=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let n;typeof r.schema=="object"&&(n=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:en.normalizeId(n==null?void 0:n.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=n==null?void 0:n.$async,this.refs={}}};zr.SchemaEnv=no;function Cl(t){let r=Hc.call(this,t);if(r)return r;let e=en.getFullPath(t.root.baseId),{es5:n,lines:o}=this.opts.code,{ownProperties:s}=this.opts,l=new Xr.CodeGen(this.scope,{es5:n,lines:o,ownProperties:s}),f;t.$async&&(f=l.scopeValue("Error",{ref:jy.ValidationError,code:Xr._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let g={gen:l,allErrors:this.opts.allErrors,data:wi.default.data,parentData:wi.default.parentData,parentDataProperty:wi.default.parentDataProperty,dataNames:[wi.default.data],dataPathArr:[Xr.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:Xr.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:Xr.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:Xr._`""`,opts:this.opts,self:this},m;try{this._compilations.add(t),By.validateFunctionCode(g),l.optimize(this.opts.code.optimize);let v=l.toString();m=`${l.scopeRefs(wi.default.scope)}return ${v}`,this.opts.code.process&&(m=this.opts.code.process(m,t));let k=new Function(`${wi.default.self}`,`${wi.default.scope}`,m)(this,this.scope.get());if(this.scope.value(c,{ref:k}),k.errors=null,k.schema=t.schema,k.schemaEnv=t,t.$async&&(k.$async=!0),this.opts.code.source===!0&&(k.source={validateName:c,validateCode:v,scopeValues:l._values}),this.opts.unevaluated){let{props:_,items:O}=g;k.evaluated={props:_ instanceof Xr.Name?void 0:_,items:O instanceof Xr.Name?void 0:O,dynamicProps:_ instanceof Xr.Name,dynamicItems:O instanceof Xr.Name},k.source&&(k.source.evaluated=Xr.stringify(k.evaluated))}return t.validate=k,t}catch(v){throw delete t.validate,delete t.validateName,m&&this.logger.error("Error compiling schema, function code:",m),v}finally{this._compilations.delete(t)}}zr.compileSchema=Cl;function My(t,r,e){var n;e=en.resolveUrl(r,e);let o=t.refs[e];if(o)return o;let s=Hy.call(this,t,e);if(s===void 0){let l=(n=t.localRefs)===null||n===void 0?void 0:n[e];l&&(s=new no({schema:l,root:t,baseId:r}))}if(s!==void 0)return t.refs[e]=Vy.call(this,s)}zr.resolveRef=My;function Vy(t){return en.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Cl.call(this,t)}function Hc(t){for(let r of this._compilations)if(Uy(r,t))return r}zr.getCompilingSchema=Hc;function Uy(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function Hy(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Ns.call(this,t,r)}function Ns(t,r){let e=zy.parse(r),n=en._getFullPath(e),o=en.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===o)return xl.call(this,e,t);let s=en.normalizeId(n),l=this.refs[s]||this.schemas[s];if(typeof l=="string"){let f=Ns.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:xl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Cl.call(this,l),s===en.normalizeId(r)){let{schema:f}=l;return f.$id&&(o=en.resolveUrl(o,f.$id)),new no({schema:f,root:t,baseId:o})}return xl.call(this,e,l)}}zr.resolveSchema=Ns;var Gy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function xl(t,{baseId:r,schema:e,root:n}){var o;if(((o=t.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(let l of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Uc.unescapeFragment(l)],e===void 0))return;!Gy.has(l)&&typeof e=="object"&&e.$id&&(r=en.resolveUrl(r,e.$id))}let s;if(typeof e!="boolean"&&e.$ref&&!Uc.schemaHasRulesButRef(e,this.RULES)){let l=en.resolveUrl(r,e.$ref);s=Ns.call(this,n,l)}if(s=s||new no({schema:e,root:n,baseId:r}),s.schema!==s.root.schema)return s}});var Gc=ge((o1,Ky)=>{Ky.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 Qc=ge(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.CodeGen=Zt.Name=Zt.nil=Zt.stringify=Zt.str=Zt._=Zt.KeywordCxt=void 0;var Wy=Oo();Zt.KeywordCxt=Wy.default;var io=Le();Object.defineProperty(Zt,"_",{enumerable:!0,get:function(){return io._}});Object.defineProperty(Zt,"str",{enumerable:!0,get:function(){return io.str}});Object.defineProperty(Zt,"stringify",{enumerable:!0,get:function(){return io.stringify}});Object.defineProperty(Zt,"nil",{enumerable:!0,get:function(){return io.nil}});Object.defineProperty(Zt,"Name",{enumerable:!0,get:function(){return io.Name}});Object.defineProperty(Zt,"CodeGen",{enumerable:!0,get:function(){return io.CodeGen}});var Sl=qs(),Zy=Ma(),jo=Al(),Jy=Le(),Ds=No(),Rs=eo(),_l=St(),Kc=Gc(),Qy=["removeAdditional","useDefaults","coerceTypes"],Yy=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."},e$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function t$(t){var r,e,n,o,s,l,f,c,g,m,v,x;let k=(r=t.strict)!==null&&r!==void 0?r:!0,_=k?"log":!1,O=(e=t.code)===null||e===void 0?void 0:e.optimize,D=O===!0||O===void 0?1:O||0;return{strict:k,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:_,strictTuples:(o=t.strictTuples)!==null&&o!==void 0?o:_,code:t.code?{...t.code,optimize:D}:{optimize:D},loopRequired:(s=t.loopRequired)!==null&&s!==void 0?s:1/0,loopEnum:(l=t.loopEnum)!==null&&l!==void 0?l:1/0,meta:(f=t.meta)!==null&&f!==void 0?f:!0,messages:(c=t.messages)!==null&&c!==void 0?c:!0,inlineRefs:(g=t.inlineRefs)!==null&&g!==void 0?g:!0,addUsedSchema:(m=t.addUsedSchema)!==null&&m!==void 0?m:!0,validateSchema:(v=t.validateSchema)!==null&&v!==void 0?v:!0,validateFormats:(x=t.validateFormats)!==null&&x!==void 0?x:!0}}var Bo=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...t$(r)};let{es5:e,lines:n}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Yy,es5:e,lines:n}),this.logger=a$(r.logger);let o=r.validateFormats;r.validateFormats=!1,this.RULES=Zy.getRules(),Wc.call(this,Xy,r,"NOT SUPPORTED"),Wc.call(this,e$,r,"DEPRECATED","warn"),this._metaOpts=o$.call(this),r.formats&&n$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&i$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),r$.call(this),r.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Kc,Kc.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let n;if(typeof r=="string"){if(n=this.getSchema(r),!n)throw new Error(`no schema with key or ref "${r}"`)}else n=this.compile(r);let o=n(e);return"$async"in n||(this.errors=n.errors),o}compile(r,e){let n=this._addSchema(r,e);return n.validate||this._compileSchemaEnv(n)}compileAsync(r,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,r,e);async function o(m,v){await s.call(this,m.$schema);let x=this._addSchema(m,v);return x.validate||l.call(this,x)}async function s(m){m&&!this.getSchema(m)&&await o.call(this,{$ref:m},!0)}async function l(m){try{return this._compileSchemaEnv(m)}catch(v){if(!(v instanceof Sl.MissingRefError))throw v;return f.call(this,v),await c.call(this,v.missingSchema),l.call(this,m)}}function f({missingSchema:m,missingRef:v}){if(this.refs[m])throw new Error(`AnySchema ${m} is loaded but ${v} cannot be resolved`)}async function c(m){let v=await g.call(this,m);this.refs[m]||await s.call(this,v.$schema),this.refs[m]||this.addSchema(v,m,e)}async function g(m){let v=this._loading[m];if(v)return v;try{return await(this._loading[m]=n(m))}finally{delete this._loading[m]}}}addSchema(r,e,n,o=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,n,o);return this}let s;if(typeof r=="object"&&(s=r.$id,s!==void 0&&typeof s!="string"))throw new Error("schema id must be string");return e=Ds.normalizeId(e||s),this._checkUnique(e),this.schemas[e]=this._addSchema(r,n,o,!0),this}addMetaSchema(r,e,n=this.opts.validateSchema){return this.addSchema(r,e,!0,n),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let n;if(n=r.$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,r);if(!o&&e){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw new Error(s)}return o}getSchema(r){let e;for(;typeof(e=Zc.call(this,r))=="string";)r=e;if(e===void 0){let n=new jo.SchemaEnv({schema:{}});if(e=jo.resolveSchema.call(this,n,r),!e)return;this.refs[r]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(r){if(r instanceof RegExp)return this._removeAllSchemas(this.schemas,r),this._removeAllSchemas(this.refs,r),this;switch(typeof r){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=Zc.call(this,r);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[r],delete this.refs[r],this}case"object":{let e=r;this._cache.delete(e);let n=r.$id;return n&&(n=Ds.normalizeId(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(r){for(let e of r)this.addKeyword(e);return this}addKeyword(r,e){let n;if(typeof r=="string")n=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=n);else if(typeof r=="object"&&e===void 0){if(e=r,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(u$.call(this,n,e),!e)return _l.eachItem(n,s=>El.call(this,s)),this;c$.call(this,e);let o={...e,type:Rs.getJSONTypes(e.type),schemaType:Rs.getJSONTypes(e.schemaType)};return _l.eachItem(n,o.type.length===0?s=>El.call(this,s,o):s=>o.type.forEach(l=>El.call(this,s,o,l))),this}getKeyword(r){let e=this.RULES.all[r];return typeof e=="object"?e.definition:!!e}removeKeyword(r){let{RULES:e}=this;delete e.keywords[r],delete e.all[r];for(let n of e.rules){let o=n.rules.findIndex(s=>s.keyword===r);o>=0&&n.rules.splice(o,1)}return this}addFormat(r,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[r]=e,this}errorsText(r=this.errors,{separator:e=", ",dataVar:n="data"}={}){return!r||r.length===0?"No errors":r.map(o=>`${n}${o.dataPath} ${o.message}`).reduce((o,s)=>o+e+s)}$dataMetaSchema(r,e){let n=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let o of e){let s=o.split("/").slice(1),l=r;for(let f of s)l=l[f];for(let f in n){let c=n[f];if(typeof c!="object")continue;let{$data:g}=c.definition,m=l[f];g&&m&&(l[f]=Jc(m))}}return r}_removeAllSchemas(r,e){for(let n in r){let o=r[n];(!e||e.test(n))&&(typeof o=="string"?delete r[n]:o&&!o.meta&&(this._cache.delete(o.schema),delete r[n]))}}_addSchema(r,e,n=this.opts.validateSchema,o=this.opts.addUsedSchema){if(typeof r!="object"){if(this.opts.jtd)throw new Error("schema must be object");if(typeof r!="boolean")throw new Error("schema must be object or boolean")}let s=this._cache.get(r);if(s!==void 0)return s;let l=Ds.getSchemaRefs.call(this,r);s=new jo.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(s.schema,s);let f=s.baseId;return o&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=s),n&&this.validateSchema(r,!0),s}_checkUnique(r){if(this.schemas[r]||this.refs[r])throw new Error(`schema with key or id "${r}" already exists`)}_compileSchemaEnv(r){if(r.meta?this._compileMetaSchema(r):jo.compileSchema.call(this,r),!r.validate)throw new Error("ajv implementation error");return r.validate}_compileMetaSchema(r){let e=this.opts;this.opts=this._metaOpts;try{jo.compileSchema.call(this,r)}finally{this.opts=e}}};Zt.default=Bo;Bo.ValidationError=Sl.ValidationError;Bo.MissingRefError=Sl.MissingRefError;function Wc(t,r,e,n="error"){for(let o in t){let s=o;s in r&&this.logger[n](`${e}: option ${o}. ${t[s]}`)}}function Zc(t){return t=Ds.normalizeId(t),this.schemas[t]||this.refs[t]}function r$(){let t=this.opts.schemas;if(!!t)if(Array.isArray(t))this.addSchema(t);else for(let r in t)this.addSchema(t[r],r)}function n$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function i$(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let r in t){let e=t[r];e.keyword||(e.keyword=r),this.addKeyword(e)}}function o$(){let t={...this.opts};for(let r of Qy)delete t[r];return t}var s$={log(){},warn(){},error(){}};function a$(t){if(t===!1)return s$;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 l$=/^[a-z_$][a-z0-9_$:-]*$/i;function u$(t,r){let{RULES:e}=this;if(_l.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!l$.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function El(t,r,e){var n;let o=r==null?void 0:r.post;if(e&&o)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:s}=this,l=o?s.post:s.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},s.rules.push(l)),s.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Rs.getJSONTypes(r.type),schemaType:Rs.getJSONTypes(r.schemaType)}};r.before?f$.call(this,l,f,r.before):l.rules.push(f),s.all[t]=f,(n=r.implements)===null||n===void 0||n.forEach(c=>this.addKeyword(c))}function f$(t,r,e){let n=t.rules.findIndex(o=>o.keyword===e);n>=0?t.rules.splice(n,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function c$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=Jc(r)),t.validateSchema=this.compile(r,!0))}var p$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Jc(t){return{anyOf:[t,p$]}}});var Yc=ge(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});var d$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Pl.default=d$});var rp=ge(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.callRef=xi.getValidate=void 0;var m$=qs(),Xc=Yr(),Er=Le(),oo=Qr(),ep=Al(),Ls=St(),h$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:n}=t,{baseId:o,schemaEnv:s,validateName:l,opts:f,self:c}=n;if(e==="#"||e==="#/")return m();let g=ep.resolveRef.call(c,s.root,o,e);if(g===void 0)throw new m$.MissingRefError(o,e);if(g instanceof ep.SchemaEnv)return v(g);return x(g);function m(){if(s===s.root)return js(t,l,s,s.$async);let k=r.scopeValue("root",{ref:s.root});return js(t,Er._`${k}.validate`,s.root,s.root.$async)}function v(k){let _=tp(t,k);js(t,_,k,k.$async)}function x(k){let _=r.scopeValue("schema",f.code.source===!0?{ref:k,code:Er.stringify(k)}:{ref:k}),O=r.name("valid"),D=t.subschema({schema:k,dataTypes:[],schemaPath:Er.nil,topSchemaRef:_,errSchemaPath:e},O);t.mergeEvaluated(D),t.ok(O)}}};function tp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Er._`${e.scopeValue("wrapper",{ref:r})}.validate`}xi.getValidate=tp;function js(t,r,e,n){let{gen:o,it:s}=t,{allErrors:l,schemaEnv:f,opts:c}=s,g=c.passContext?oo.default.this:Er.nil;n?m():v();function m(){if(!f.$async)throw new Error("async schema referenced by sync schema");let _=o.let("valid");o.try(()=>{o.code(Er._`await ${Xc.callValidateCode(t,r,g)}`),k(r),l||o.assign(_,!0)},O=>{o.if(Er._`!(${O} instanceof ${s.ValidationError})`,()=>o.throw(O)),x(O),l||o.assign(_,!1)}),t.ok(_)}function v(){t.result(Xc.callValidateCode(t,r,g),()=>k(r),()=>x(r))}function x(_){let O=Er._`${_}.errors`;o.assign(oo.default.vErrors,Er._`${oo.default.vErrors} === null ? ${O} : ${oo.default.vErrors}.concat(${O})`),o.assign(oo.default.errors,Er._`${oo.default.vErrors}.length`)}function k(_){var O;if(!s.opts.unevaluated)return;let D=(O=e==null?void 0:e.validate)===null||O===void 0?void 0:O.evaluated;if(s.props!==!0)if(D&&!D.dynamicProps)D.props!==void 0&&(s.props=Ls.mergeEvaluated.props(o,D.props,s.props));else{let M=o.var("props",Er._`${_}.evaluated.props`);s.props=Ls.mergeEvaluated.props(o,M,s.props,Er.Name)}if(s.items!==!0)if(D&&!D.dynamicItems)D.items!==void 0&&(s.items=Ls.mergeEvaluated.items(o,D.items,s.items));else{let M=o.var("items",Er._`${_}.evaluated.items`);s.items=Ls.mergeEvaluated.items(o,M,s.items,Er.Name)}}}xi.callRef=js;xi.default=h$});var np=ge(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});var g$=Yc(),y$=rp(),$$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",g$.default,y$.default];Fl.default=$$});var ip=ge(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});var Bs=Le(),Zn=Bs.operators,zs={maximum:{okStr:"<=",ok:Zn.LTE,fail:Zn.GT},minimum:{okStr:">=",ok:Zn.GTE,fail:Zn.LT},exclusiveMaximum:{okStr:"<",ok:Zn.LT,fail:Zn.GTE},exclusiveMinimum:{okStr:">",ok:Zn.GT,fail:Zn.LTE}},b$={message:({keyword:t,schemaCode:r})=>Bs.str`should be ${zs[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Bs._`{comparison: ${zs[t].okStr}, limit: ${r}}`},v$={keyword:Object.keys(zs),type:"number",schemaType:"number",$data:!0,error:b$,code(t){let{keyword:r,data:e,schemaCode:n}=t;t.fail$data(Bs._`${e} ${zs[r].fail} ${n} || isNaN(${e})`)}};Tl.default=v$});var op=ge(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var zo=Le(),k$={message:({schemaCode:t})=>zo.str`should be multiple of ${t}`,params:({schemaCode:t})=>zo._`{multipleOf: ${t}}`},w$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:k$,code(t){let{gen:r,data:e,schemaCode:n,it:o}=t,s=o.opts.multipleOfPrecision,l=r.let("res"),f=s?zo._`Math.abs(Math.round(${l}) - ${l}) > 1e-${s}`:zo._`${l} !== parseInt(${l})`;t.fail$data(zo._`(${n} === 0 || (${l} = ${e}/${n}, ${f}))`)}};Il.default=w$});var sp=ge(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});function x$(t){let r=t.length,e=0,n=0,o;for(;n<r;)e++,o=t.charCodeAt(n++),o>=55296&&o<=56319&&n<r&&(o=t.charCodeAt(n),(o&64512)===56320&&n++);return e}Ol.default=x$});var ap=ge(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});var Jn=Le(),C$=sp(),A$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return Jn.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>Jn._`{limit: ${t}}`},E$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:A$,code(t){let{keyword:r,data:e,schemaCode:n,it:o}=t,s=r==="maxLength"?Jn.operators.GT:Jn.operators.LT,l;if(o.opts.unicode===!1)l=Jn._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:C$.default,code:Jn._`require("ajv/dist/compile/ucs2length").default`});l=Jn._`${f}(${e})`}t.fail$data(Jn._`${l} ${s} ${n}`)}};ql.default=E$});var lp=ge(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var _$=Yr(),Ms=Le(),S$={message:({schemaCode:t})=>Ms.str`should match pattern "${t}"`,params:({schemaCode:t})=>Ms._`{pattern: ${t}}`},P$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:S$,code(t){let{gen:r,data:e,$data:n,schema:o,schemaCode:s}=t,l=n?Ms._`(new RegExp(${s}, "u"))`:_$.usePattern(r,o);t.fail$data(Ms._`!${l}.test(${e})`)}};Nl.default=P$});var up=ge(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var Mo=Le(),F$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Mo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Mo._`{limit: ${t}}`},T$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:F$,code(t){let{keyword:r,data:e,schemaCode:n}=t,o=r==="maxProperties"?Mo.operators.GT:Mo.operators.LT;t.fail$data(Mo._`Object.keys(${e}).length ${o} ${n}`)}};Dl.default=T$});var fp=ge(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var Vo=Yr(),Uo=Le(),I$=Tr(),O$={message:({params:{missingProperty:t}})=>Uo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>Uo._`{missingProperty: ${t}}`},q$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:O$,code(t){let{gen:r,schema:e,schemaCode:n,data:o,$data:s,it:l}=t,{opts:f}=l;if(!s&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?g():m(),f.strictRequired){let k=t.parentSchema.properties,{definedProperties:_}=t.it;for(let O of e)if((k==null?void 0:k[O])===void 0&&!_.has(O)){let D=l.schemaEnv.baseId+l.errSchemaPath,M=`required property "${O}" is not defined at "${D}" (strictRequired)`;I$.checkStrictMode(l,M,l.opts.strictRequired)}}function g(){if(c||s)t.block$data(Uo.nil,v);else for(let k of e)Vo.checkReportMissingProp(t,k)}function m(){let k=r.let("missing");if(c||s){let _=r.let("valid",!0);t.block$data(_,()=>x(k,_)),t.ok(_)}else r.if(Vo.checkMissingProp(t,e,k)),Vo.reportMissingProp(t,k),r.else()}function v(){r.forOf("prop",n,k=>{t.setParams({missingProperty:k}),r.if(Vo.noPropertyInData(r,o,k,f.ownProperties),()=>t.error())})}function x(k,_){t.setParams({missingProperty:k}),r.forOf(k,n,()=>{r.assign(_,Vo.propertyInData(r,o,k,f.ownProperties)),r.if(Uo.not(_),()=>{t.error(),r.break()})},Uo.nil)}}};Rl.default=q$});var cp=ge(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var Ho=Le(),N$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Ho.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Ho._`{limit: ${t}}`},D$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:n}=t,o=r==="maxItems"?Ho.operators.GT:Ho.operators.LT;t.fail$data(Ho._`${e}.length ${o} ${n}`)}};Ll.default=D$});var pp=ge(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});var jl=eo(),Mt=Le(),R$=qo(),L$={message:({params:{i:t,j:r}})=>Mt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Mt._`{i: ${t}, j: ${r}}`},j$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:L$,code(t){let{gen:r,data:e,$data:n,schema:o,parentSchema:s,schemaCode:l,it:f}=t;if(!n&&!o)return;let c=r.let("valid"),g=s.items?jl.getSchemaTypes(s.items):[];t.block$data(c,m,Mt._`${l} === false`),t.ok(c);function m(){let _=r.let("i",Mt._`${e}.length`),O=r.let("j");t.setParams({i:_,j:O}),r.assign(c,!0),r.if(Mt._`${_} > 1`,()=>(v()?x:k)(_,O))}function v(){return g.length>0&&!g.some(_=>_==="object"||_==="array")}function x(_,O){let D=r.name("item"),M=jl.checkDataTypes(g,D,f.opts.strict,jl.DataType.Wrong),X=r.const("indices",Mt._`{}`);r.for(Mt._`;${_}--;`,()=>{r.let(D,Mt._`${e}[${_}]`),r.if(M,Mt._`continue`),g.length>1&&r.if(Mt._`typeof ${D} == "string"`,Mt._`${D} += "_"`),r.if(Mt._`typeof ${X}[${D}] == "number"`,()=>{r.assign(O,Mt._`${X}[${D}]`),t.error(),r.assign(c,!1).break()}).code(Mt._`${X}[${D}] = ${_}`)})}function k(_,O){let D=t.gen.scopeValue("func",{ref:R$,code:Mt._`require("ajv/dist/compile/equal")`}),M=r.name("outer");r.label(M).for(Mt._`;${_}--;`,()=>r.for(Mt._`${O} = ${_}; ${O}--;`,()=>r.if(Mt._`${D}(${e}[${_}], ${e}[${O}])`,()=>{t.error(),r.assign(c,!1).break(M)})))}}};Bl.default=j$});var dp=ge(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var zl=Le(),B$=qo(),z$={message:"should be equal to constant",params:({schemaCode:t})=>zl._`{allowedValue: ${t}}`},M$={keyword:"const",$data:!0,error:z$,code(t){let r=t.gen.scopeValue("func",{ref:B$,code:zl._`require("ajv/dist/compile/equal")`});t.fail$data(zl._`!${r}(${t.data}, ${t.schemaCode})`)}};Ml.default=M$});var mp=ge(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var so=Le(),V$=qo(),U$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>so._`{allowedValues: ${t}}`},H$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(t){let{gen:r,data:e,$data:n,schema:o,schemaCode:s,it:l}=t;if(!n&&o.length===0)throw new Error("enum must have non-empty array");let f=o.length>=l.opts.loopEnum,c=t.gen.scopeValue("func",{ref:V$,code:so._`require("ajv/dist/compile/equal")`}),g;if(f||n)g=r.let("valid"),t.block$data(g,m);else{if(!Array.isArray(o))throw new Error("ajv implementation error");let x=r.const("vSchema",s);g=so.or(...o.map((k,_)=>v(x,_)))}t.pass(g);function m(){r.assign(g,!1),r.forOf("v",s,x=>r.if(so._`${c}(${e}, ${x})`,()=>r.assign(g,!0).break()))}function v(x,k){let _=o[k];return _&&typeof _=="object"?so._`${c}(${e}, ${x}[${k}])`:so._`${e} === ${_}`}}};Vl.default=H$});var hp=ge(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var G$=ip(),K$=op(),W$=ap(),Z$=lp(),J$=up(),Q$=fp(),Y$=cp(),X$=pp(),eb=dp(),tb=mp(),rb=[G$.default,K$.default,W$.default,Z$.default,J$.default,Q$.default,Y$.default,X$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},eb.default,tb.default];Ul.default=rb});var gp=ge(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var Ci=Le(),nb=vi(),ib=St(),ob=Tr(),sb={message:({params:{len:t}})=>Ci.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ci._`{limit: ${t}}`},ab={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t,{items:l}=n;if(!Array.isArray(l)){ob.checkStrictMode(s,'"additionalItems" is ignored when "items" is not an array of schemas');return}s.items=!0;let f=r.const("len",Ci._`${o}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(Ci._`${f} <= ${l.length}`);else if(typeof e=="object"&&!ib.alwaysValidSchema(s,e)){let g=r.var("valid",Ci._`${f} <= ${l.length}`);r.if(Ci.not(g),()=>c(g)),t.ok(g)}function c(g){r.forRange("i",l.length,f,m=>{t.subschema({keyword:"additionalItems",dataProp:m,dataPropType:nb.Type.Num},g),s.allErrors||r.if(Ci.not(g),()=>r.break())})}}};Hl.default=ab});var $p=ge(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var yp=Le(),Gl=St(),lb=Tr(),ub=Yr(),fb={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:n}=t;if(Array.isArray(e))n.opts.unevaluated&&e.length&&n.items!==!0&&(n.items=Gl.mergeEvaluated.items(r,e.length,n.items)),o(e);else{if(n.items=!0,Gl.alwaysValidSchema(n,e))return;t.ok(ub.validateArray(t))}function o(s){let{parentSchema:l,data:f}=t;if(n.opts.strictTuples&&!cb(s.length,l)){let m=`"items" is ${s.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;lb.checkStrictMode(n,m,n.opts.strictTuples)}let c=r.name("valid"),g=r.const("len",yp._`${f}.length`);s.forEach((m,v)=>{Gl.alwaysValidSchema(n,m)||(r.if(yp._`${g} > ${v}`,()=>t.subschema({keyword:"items",schemaProp:v,dataProp:v},c)),t.ok(c))})}}};function cb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}Kl.default=fb});var vp=ge(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var tn=Le(),pb=vi(),db=St(),bp=Tr(),mb={message:({params:{min:t,max:r}})=>r===void 0?tn.str`should contain at least ${t} valid item(s)`:tn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?tn._`{minContains: ${t}}`:tn._`{minContains: ${t}, maxContains: ${r}}`},hb={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:mb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t,l,f,{minContains:c,maxContains:g}=n;s.opts.next?(l=c===void 0?1:c,f=g):l=1;let m=r.const("len",tn._`${o}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){bp.checkStrictMode(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){bp.checkStrictMode(s,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(db.alwaysValidSchema(s,e)){let _=tn._`${m} >= ${l}`;f!==void 0&&(_=tn._`${_} && ${m} <= ${f}`),t.pass(_);return}s.items=!0;let v=r.name("valid");if(f===void 0&&l===1)x(v,()=>r.if(v,()=>r.break()));else{r.let(v,!1);let _=r.name("_valid"),O=r.let("count",0);x(_,()=>r.if(_,()=>k(O)))}t.result(v,()=>t.reset());function x(_,O){r.forRange("i",0,m,D=>{t.subschema({keyword:"contains",dataProp:D,dataPropType:pb.Type.Num,compositeRule:!0},_),O()})}function k(_){r.code(tn._`${_}++`),f===void 0?r.if(tn._`${_} >= ${l}`,()=>r.assign(v,!0).break()):(r.if(tn._`${_} > ${f}`,()=>r.assign(v,!1).break()),l===1?r.assign(v,!0):r.if(tn._`${_} >= ${l}`,()=>r.assign(v,!0)))}}};Wl.default=hb});var xp=ge(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.validateSchemaDeps=gn.validatePropertyDeps=gn.error=void 0;var Zl=Le(),gb=St(),Go=Yr();gn.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let n=r===1?"property":"properties";return Zl.str`should have ${n} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:n}})=>Zl._`{property: ${t},
6
6
  missingProperty: ${n},
7
7
  depsCount: ${r},
8
- deps: ${e}}`};var yb={keyword:"dependencies",type:"object",schemaType:"object",error:gn.error,code(t){let[r,e]=$b(t);kp(t,r),wp(t,e)}};function $b({schema:t}){let r={},e={};for(let n in t){if(n==="__proto__")continue;let o=Array.isArray(t[n])?r:e;o[n]=t[n]}return[r,e]}function kp(t,r=t.schema){let{gen:e,data:n,it:o}=t;if(Object.keys(r).length===0)return;let s=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=Go.propertyInData(e,n,l,o.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),o.allErrors?e.if(c,()=>{for(let g of f)Go.checkReportMissingProp(t,g)}):(e.if(Zl._`${c} && (${Go.checkMissingProp(t,f,s)})`),Go.reportMissingProp(t,s),e.else())}}gn.validatePropertyDeps=kp;function wp(t,r=t.schema){let{gen:e,data:n,keyword:o,it:s}=t,l=e.name("valid");for(let f in r)gb.alwaysValidSchema(s,r[f])||(e.if(Go.propertyInData(e,n,f,s.opts.ownProperties),()=>{let c=t.subschema({keyword:o,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}gn.validateSchemaDeps=wp;gn.default=yb});var Cp=ge(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var Jl=Le(),bb=St(),vb={message:({params:t})=>Jl.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Jl._`{propertyName: ${t.propertyName}}`},kb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:vb,code(t){let{gen:r,schema:e,data:n,it:o}=t;if(bb.alwaysValidSchema(o,e))return;let s=r.name("valid");r.forIn("key",n,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},s),r.if(Jl.not(s),()=>{t.error(!0),o.allErrors||r.break()})}),t.ok(s)}};Ql.default=kb});var eu=ge(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var Vs=Yr(),rn=Le(),wb=Qr(),xb=vi(),Yl=St(),Cb={message:"should NOT have additional properties",params:({params:t})=>rn._`{additionalProperty: ${t.additionalProperty}}`},Ab={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Cb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,errsCount:s,it:l}=t;if(!s)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&Yl.alwaysValidSchema(l,e))return;let g=Vs.allSchemaProperties(n.properties),h=Vs.allSchemaProperties(n.patternProperties);v(),t.ok(rn._`${s} === ${wb.default.errors}`);function v(){r.forIn("key",o,D=>{!g.length&&!h.length?_(D):r.if(x(D),()=>_(D))})}function x(D){let M;if(g.length>8){let X=Yl.schemaRefOrVal(l,n.properties,"properties");M=Vs.isOwnProperty(r,X,D)}else g.length?M=rn.or(...g.map(X=>rn._`${D} === ${X}`)):M=rn.nil;return h.length&&(M=rn.or(M,...h.map(X=>rn._`${Vs.usePattern(r,X)}.test(${D})`))),rn.not(M)}function k(D){r.code(rn._`delete ${o}[${D}]`)}function _(D){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){k(D);return}if(e===!1){t.setParams({additionalProperty:D}),t.error(),f||r.break();return}if(typeof e=="object"&&!Yl.alwaysValidSchema(l,e)){let M=r.name("valid");c.removeAdditional==="failing"?(O(D,M,!1),r.if(rn.not(M),()=>{t.reset(),k(D)})):(O(D,M),f||r.if(rn.not(M),()=>r.break()))}}function O(D,M,X){let le={keyword:"additionalProperties",dataProp:D,dataPropType:xb.Type.Str};X===!1&&Object.assign(le,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(le,M)}}};Xl.default=Ab});var _p=ge(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});var Eb=Oo(),Ap=Yr(),tu=St(),Ep=eu(),_b={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t;s.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&Ep.default.code(new Eb.default(s,Ep.default,"additionalProperties"));let l=Ap.allSchemaProperties(e);for(let v of l)s.definedProperties.add(v);s.opts.unevaluated&&l.length&&s.props!==!0&&(s.props=tu.mergeEvaluated.props(r,tu.toHash(l),s.props));let f=l.filter(v=>!tu.alwaysValidSchema(s,e[v]));if(f.length===0)return;let c=r.name("valid");for(let v of f)g(v)?h(v):(r.if(Ap.propertyInData(r,o,v,s.opts.ownProperties)),h(v),s.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add(v),t.ok(c);function g(v){return s.opts.useDefaults&&!s.compositeRule&&e[v].default!==void 0}function h(v){t.subschema({keyword:"properties",schemaProp:v,dataProp:v},c)}}};ru.default=_b});var Pp=ge(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});var Sp=Yr(),Us=Le(),Sb=vi(),Pb=Tr(),Fb=St(),Tb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:n,parentSchema:o,it:s}=t,{opts:l}=s,f=Sp.schemaProperties(s,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&o.properties,g=r.name("valid");s.props!==!0&&!(s.props instanceof Us.Name)&&(s.props=Fb.evaluatedPropsToName(r,s.props));let{props:h}=s;v();function v(){for(let _ of f)c&&x(_),s.allErrors?k(_):(r.var(g,!0),k(_),r.if(g))}function x(_){for(let O in c)new RegExp(_).test(O)&&Pb.checkStrictMode(s,`property ${O} matches pattern ${_} (use allowMatchingProperties)`)}function k(_){r.forIn("key",n,O=>{r.if(Us._`${Sp.usePattern(r,_)}.test(${O})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:_,dataProp:O,dataPropType:Sb.Type.Str},g),s.opts.unevaluated&&h!==!0?r.assign(Us._`${h}[${O}]`,!0):s.allErrors||r.if(Us.not(g),()=>r.break())})})}}};nu.default=Tb});var Fp=ge(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var Ib=St(),Ob={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:n}=t;if(Ib.alwaysValidSchema(n,e)){t.fail();return}let o=r.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"}};iu.default=Ob});var Tp=ge(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var qb=Yr(),Nb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:qb.validateUnion,error:{message:"should match some schema in anyOf"}};ou.default=Nb});var Ip=ge(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var Hs=Le(),Db=St(),Rb={message:"should match exactly one schema in oneOf",params:({params:t})=>Hs._`{passingSchemas: ${t.passing}}`},Lb={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rb,code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=e,s=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(s,()=>t.reset(),()=>t.error(!0));function c(){o.forEach((g,h)=>{let v;Db.alwaysValidSchema(n,g)?r.var(f,!0):v=t.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},f),h>0&&r.if(Hs._`${f} && ${s}`).assign(s,!1).assign(l,Hs._`[${l}, ${h}]`).else(),r.if(f,()=>{r.assign(s,!0),r.assign(l,h),v&&t.mergeEvaluated(v,Hs.Name)})})}}};su.default=Lb});var Op=ge(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var jb=St(),Bb={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=r.name("valid");e.forEach((s,l)=>{if(jb.alwaysValidSchema(n,s))return;let f=t.subschema({keyword:"allOf",schemaProp:l},o);t.ok(o),t.mergeEvaluated(f)})}};au.default=Bb});var Np=ge(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var Gs=Le(),zb=St(),Mb=Tr(),Vb={message:({params:t})=>Gs.str`should match "${t.ifClause}" schema`,params:({params:t})=>Gs._`{failingKeyword: ${t.ifClause}}`},Ub={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Vb,code(t){let{gen:r,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&Mb.checkStrictMode(n,'"if" without "then" and "else" is ignored');let o=qp(n,"then"),s=qp(n,"else");if(!o&&!s)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),o&&s){let h=r.let("ifClause");t.setParams({ifClause:h}),r.if(f,g("then",h),g("else",h))}else o?r.if(f,g("then")):r.if(Gs.not(f),g("else"));t.pass(l,()=>t.error(!0));function c(){let h=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(h)}function g(h,v){return()=>{let x=t.subschema({keyword:h},f);r.assign(l,f),t.mergeValidEvaluated(x,l),v?r.assign(v,Gs._`${h}`):t.setParams({ifClause:h})}}}};function qp(t,r){let e=t.schema[r];return e!==void 0&&!zb.alwaysValidSchema(t,e)}lu.default=Ub});var Dp=ge(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Hb=Tr(),Gb={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&Hb.checkStrictMode(e,`"${t}" without "if" is ignored`)}};uu.default=Gb});var Rp=ge(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Kb=gp(),Wb=$p(),Zb=vp(),Jb=xp(),Qb=Cp(),Yb=eu(),Xb=_p(),ev=Pp(),tv=Fp(),rv=Tp(),nv=Ip(),iv=Op(),ov=Np(),sv=Dp(),av=[tv.default,rv.default,nv.default,iv.default,ov.default,sv.default,Kb.default,Wb.default,Zb.default,Qb.default,Yb.default,Jb.default,Xb.default,ev.default];fu.default=av});var Lp=ge(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Dt=Le(),lv={message:({schemaCode:t})=>Dt.str`should match format "${t}"`,params:({schemaCode:t})=>Dt._`{format: ${t}}`},uv={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:lv,code(t,r){let{gen:e,data:n,$data:o,schema:s,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:g,schemaEnv:h,self:v}=f;if(!c.validateFormats)return;o?x():k();function x(){let _=e.scopeValue("formats",{ref:v.formats,code:c.code.formats}),O=e.const("fDef",Dt._`${_}[${l}]`),D=e.let("fType"),M=e.let("format");e.if(Dt._`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>e.assign(D,Dt._`${O}.type || "string"`).assign(M,Dt._`${O}.validate`),()=>e.assign(D,Dt._`"string"`).assign(M,O)),t.fail$data(Dt.or(X(),le()));function X(){return c.strict===!1?Dt.nil:Dt._`${l} && !${M}`}function le(){let ve=h.$async?Dt._`(${O}.async ? await ${M}(${n}) : ${M}(${n}))`:Dt._`${M}(${n})`,ye=Dt._`(typeof ${M} == "function" ? ${ve} : ${M}.test(${n}))`;return Dt._`${M} && ${M} !== true && ${D} === ${r} && !${ye}`}}function k(){let _=v.formats[s];if(!_){X();return}if(_===!0)return;let[O,D,M]=le(_);O===r&&t.pass(ve());function X(){if(c.strict===!1){v.logger.warn(ye());return}throw new Error(ye());function ye(){return`unknown format "${s}" ignored in schema at path "${g}"`}}function le(ye){let ie=e.scopeValue("formats",{key:s,ref:ye,code:c.code.formats?Dt._`${c.code.formats}${Dt.getProperty(s)}`:void 0});return typeof ye=="object"&&!(ye instanceof RegExp)?[ye.type||"string",ye.validate,Dt._`${ie}.validate`]:["string",ye,ie]}function ve(){if(typeof _=="object"&&!(_ instanceof RegExp)&&_.async){if(!h.$async)throw new Error("async format in sync schema");return Dt._`await ${M}(${n})`}return typeof D=="function"?Dt._`${M}(${n})`:Dt._`${M}.test(${n})`}}}};cu.default=uv});var jp=ge(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var fv=Lp(),cv=[fv.default];pu.default=cv});var Bp=ge(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.contentVocabulary=ao.metadataVocabulary=void 0;ao.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];ao.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Mp=ge(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var pv=np(),dv=hp(),mv=Rp(),hv=jp(),zp=Bp(),gv=[pv.default,dv.default,mv.default,hv.default,zp.metadataVocabulary,zp.contentVocabulary];du.default=gv});var Vp=ge((z1,yv)=>{yv.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 Hp=ge(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.CodeGen=Jt.Name=Jt.nil=Jt.stringify=Jt.str=Jt._=Jt.KeywordCxt=void 0;var $v=Oo();Jt.KeywordCxt=$v.default;var lo=Le();Object.defineProperty(Jt,"_",{enumerable:!0,get:function(){return lo._}});Object.defineProperty(Jt,"str",{enumerable:!0,get:function(){return lo.str}});Object.defineProperty(Jt,"stringify",{enumerable:!0,get:function(){return lo.stringify}});Object.defineProperty(Jt,"nil",{enumerable:!0,get:function(){return lo.nil}});Object.defineProperty(Jt,"Name",{enumerable:!0,get:function(){return lo.Name}});Object.defineProperty(Jt,"CodeGen",{enumerable:!0,get:function(){return lo.CodeGen}});var bv=Qc(),vv=Mp(),Up=Vp(),kv=["/properties"],Ks="http://json-schema.org/draft-07/schema",mu=class extends bv.default{_addVocabularies(){super._addVocabularies(),vv.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Up,kv):Up;this.addMetaSchema(r,Ks,!1),this.refs["http://json-schema.org/schema"]=Ks}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Ks)?Ks:void 0)}};Jt.default=mu});var Kp=ge((V1,Gp)=>{var wv=Object.prototype.hasOwnProperty,xv=Object.prototype.toString;Gp.exports=function(r,e,n){if(xv.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var o=r.length;if(o===+o)for(var s=0;s<o;s++)e.call(n,r[s],s,r);else for(var l in r)wv.call(r,l)&&e.call(n,r[l],l,r)}});var Zp=ge((U1,Wp)=>{"use strict";var Cv=Kp();Wp.exports=gt;function gt(t,r,e){if(arguments.length===3)return gt.set(t,r,e);if(arguments.length===2)return gt.get(t,r);var n=gt.bind(gt,t);for(var o in gt)gt.hasOwnProperty(o)&&(n[o]=gt[o].bind(n,t));return n}gt.get=function(r,e){for(var n=Array.isArray(e)?e:gt.parse(e),o=0;o<n.length;++o){var s=n[o];if(!(typeof r=="object"&&s in r))throw new Error("Invalid reference token: "+s);r=r[s]}return r};gt.set=function(r,e,n){var o=Array.isArray(e)?e:gt.parse(e),s=o[0];if(o.length===0)throw Error("Can not set the root object");for(var l=0;l<o.length-1;++l){var f=o[l];f==="__proto__"||f==="constructor"||f==="prototype"||(f==="-"&&Array.isArray(r)&&(f=r.length),s=o[l+1],f in r||(s.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return s==="-"&&Array.isArray(r)&&(s=r.length),r[s]=n,this};gt.remove=function(t,r){var e=Array.isArray(r)?r:gt.parse(r),n=e[e.length-1];if(n===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var o=gt.get(t,e.slice(0,-1));if(Array.isArray(o)){var s=+n;if(n===""&&isNaN(s))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,s,1)}else delete o[n]};gt.dict=function(r,e){var n={};return gt.walk(r,function(o,s){n[s]=o},e),n};gt.walk=function(r,e,n){var o=[];n=n||function(s){var l=Object.prototype.toString.call(s);return l==="[object Object]"||l==="[object Array]"},function s(l){Cv(l,function(f,c){o.push(String(c)),n(f)?s(f):e(f,gt.compile(o)),o.pop()})}(r)};gt.has=function(r,e){try{gt.get(r,e)}catch{return!1}return!0};gt.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};gt.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};gt.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(gt.unescape)};gt.compile=function(r){return r.length===0?"":"/"+r.map(gt.escape).join("/")}});var Jp=ge((H1,Av)=>{Av.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var Qp=ge((G1,Ev)=>{Ev.exports={$ref:"#/definitions/AstTree",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Yp=ge((K1,_v)=>{_v.exports={$ref:"#/definitions/RootBlock",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Xp=ge(Ws=>{Ws.Test=Jp();Ws.AstTree=Qp();Ws.PodliteDocument=Yp()});var hd=ge((wu,xu)=>{(function(t,r,e){typeof wu=="object"?(xu.exports=e(),xu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",wu,function(){var t=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`),r=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');function e(n,o){if(typeof n!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var s=r[o.locale]||{},l=o.replacement===void 0?"-":o.replacement,f=o.trim===void 0?!0:o.trim,c=n.normalize().split("").reduce(function(g,h){var v=s[h];return v===void 0&&(v=t[h]),v===void 0&&(v=h),v===l&&(v=" "),g+v.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,"")),f&&(c=c.trim()),c=c.replace(/\s+/g,l),o.lower&&(c=c.toLowerCase()),c}return e.extend=function(n){Object.assign(t,n)},e})});var $d=ge((zx,yd)=>{"use strict";function Lv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Si(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Si)}Lv(Si,Error);Si.buildMessage=function(t,r){var e={literal:function(g){return'"'+o(g.text)+'"'},class:function(g){var h="",v;for(v=0;v<g.parts.length;v++)h+=g.parts[v]instanceof Array?s(g.parts[v][0])+"-"+s(g.parts[v][1]):s(g.parts[v]);return"["+(g.inverted?"^":"")+h+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function n(g){return g.charCodeAt(0).toString(16).toUpperCase()}function o(g){return 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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function s(g){return g.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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function l(g){return e[g.type](g)}function f(g){var h=new Array(g.length),v,x;for(v=0;v<g.length;v++)h[v]=l(g[v]);if(h.sort(),h.length>0){for(v=1,x=1;v<h.length;v++)h[v-1]!==h[v]&&(h[x]=h[v],x++);h.length=x}switch(h.length){case 1:return h[0];case 2:return h[0]+" or "+h[1];default:return h.slice(0,-1).join(", ")+", or "+h[h.length-1]}}function c(g){return g?'"'+o(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function jv(t,r){r=r!==void 0?r:{};var e={},n={Document:Ff},o=Ff,s=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=Y(),g=function(){return{text:T(),type:"ambient",location:N()}},h=/^[ \xA0\u2001\t\f\u2008]/,v=S([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),x=/^[ \t\f]/,k=S([" "," ","\f"],!1,!1),_=/^[\n\r]/,O=S([`
8
+ deps: ${e}}`};var yb={keyword:"dependencies",type:"object",schemaType:"object",error:gn.error,code(t){let[r,e]=$b(t);kp(t,r),wp(t,e)}};function $b({schema:t}){let r={},e={};for(let n in t){if(n==="__proto__")continue;let o=Array.isArray(t[n])?r:e;o[n]=t[n]}return[r,e]}function kp(t,r=t.schema){let{gen:e,data:n,it:o}=t;if(Object.keys(r).length===0)return;let s=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=Go.propertyInData(e,n,l,o.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),o.allErrors?e.if(c,()=>{for(let g of f)Go.checkReportMissingProp(t,g)}):(e.if(Zl._`${c} && (${Go.checkMissingProp(t,f,s)})`),Go.reportMissingProp(t,s),e.else())}}gn.validatePropertyDeps=kp;function wp(t,r=t.schema){let{gen:e,data:n,keyword:o,it:s}=t,l=e.name("valid");for(let f in r)gb.alwaysValidSchema(s,r[f])||(e.if(Go.propertyInData(e,n,f,s.opts.ownProperties),()=>{let c=t.subschema({keyword:o,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}gn.validateSchemaDeps=wp;gn.default=yb});var Cp=ge(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var Jl=Le(),bb=St(),vb={message:({params:t})=>Jl.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Jl._`{propertyName: ${t.propertyName}}`},kb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:vb,code(t){let{gen:r,schema:e,data:n,it:o}=t;if(bb.alwaysValidSchema(o,e))return;let s=r.name("valid");r.forIn("key",n,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},s),r.if(Jl.not(s),()=>{t.error(!0),o.allErrors||r.break()})}),t.ok(s)}};Ql.default=kb});var eu=ge(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var Vs=Yr(),rn=Le(),wb=Qr(),xb=vi(),Yl=St(),Cb={message:"should NOT have additional properties",params:({params:t})=>rn._`{additionalProperty: ${t.additionalProperty}}`},Ab={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Cb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,errsCount:s,it:l}=t;if(!s)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&Yl.alwaysValidSchema(l,e))return;let g=Vs.allSchemaProperties(n.properties),m=Vs.allSchemaProperties(n.patternProperties);v(),t.ok(rn._`${s} === ${wb.default.errors}`);function v(){r.forIn("key",o,D=>{!g.length&&!m.length?_(D):r.if(x(D),()=>_(D))})}function x(D){let M;if(g.length>8){let X=Yl.schemaRefOrVal(l,n.properties,"properties");M=Vs.isOwnProperty(r,X,D)}else g.length?M=rn.or(...g.map(X=>rn._`${D} === ${X}`)):M=rn.nil;return m.length&&(M=rn.or(M,...m.map(X=>rn._`${Vs.usePattern(r,X)}.test(${D})`))),rn.not(M)}function k(D){r.code(rn._`delete ${o}[${D}]`)}function _(D){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){k(D);return}if(e===!1){t.setParams({additionalProperty:D}),t.error(),f||r.break();return}if(typeof e=="object"&&!Yl.alwaysValidSchema(l,e)){let M=r.name("valid");c.removeAdditional==="failing"?(O(D,M,!1),r.if(rn.not(M),()=>{t.reset(),k(D)})):(O(D,M),f||r.if(rn.not(M),()=>r.break()))}}function O(D,M,X){let le={keyword:"additionalProperties",dataProp:D,dataPropType:xb.Type.Str};X===!1&&Object.assign(le,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(le,M)}}};Xl.default=Ab});var _p=ge(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});var Eb=Oo(),Ap=Yr(),tu=St(),Ep=eu(),_b={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t;s.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&Ep.default.code(new Eb.default(s,Ep.default,"additionalProperties"));let l=Ap.allSchemaProperties(e);for(let v of l)s.definedProperties.add(v);s.opts.unevaluated&&l.length&&s.props!==!0&&(s.props=tu.mergeEvaluated.props(r,tu.toHash(l),s.props));let f=l.filter(v=>!tu.alwaysValidSchema(s,e[v]));if(f.length===0)return;let c=r.name("valid");for(let v of f)g(v)?m(v):(r.if(Ap.propertyInData(r,o,v,s.opts.ownProperties)),m(v),s.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add(v),t.ok(c);function g(v){return s.opts.useDefaults&&!s.compositeRule&&e[v].default!==void 0}function m(v){t.subschema({keyword:"properties",schemaProp:v,dataProp:v},c)}}};ru.default=_b});var Pp=ge(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});var Sp=Yr(),Us=Le(),Sb=vi(),Pb=Tr(),Fb=St(),Tb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:n,parentSchema:o,it:s}=t,{opts:l}=s,f=Sp.schemaProperties(s,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&o.properties,g=r.name("valid");s.props!==!0&&!(s.props instanceof Us.Name)&&(s.props=Fb.evaluatedPropsToName(r,s.props));let{props:m}=s;v();function v(){for(let _ of f)c&&x(_),s.allErrors?k(_):(r.var(g,!0),k(_),r.if(g))}function x(_){for(let O in c)new RegExp(_).test(O)&&Pb.checkStrictMode(s,`property ${O} matches pattern ${_} (use allowMatchingProperties)`)}function k(_){r.forIn("key",n,O=>{r.if(Us._`${Sp.usePattern(r,_)}.test(${O})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:_,dataProp:O,dataPropType:Sb.Type.Str},g),s.opts.unevaluated&&m!==!0?r.assign(Us._`${m}[${O}]`,!0):s.allErrors||r.if(Us.not(g),()=>r.break())})})}}};nu.default=Tb});var Fp=ge(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var Ib=St(),Ob={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:n}=t;if(Ib.alwaysValidSchema(n,e)){t.fail();return}let o=r.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"}};iu.default=Ob});var Tp=ge(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var qb=Yr(),Nb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:qb.validateUnion,error:{message:"should match some schema in anyOf"}};ou.default=Nb});var Ip=ge(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var Hs=Le(),Db=St(),Rb={message:"should match exactly one schema in oneOf",params:({params:t})=>Hs._`{passingSchemas: ${t.passing}}`},Lb={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rb,code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=e,s=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(s,()=>t.reset(),()=>t.error(!0));function c(){o.forEach((g,m)=>{let v;Db.alwaysValidSchema(n,g)?r.var(f,!0):v=t.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},f),m>0&&r.if(Hs._`${f} && ${s}`).assign(s,!1).assign(l,Hs._`[${l}, ${m}]`).else(),r.if(f,()=>{r.assign(s,!0),r.assign(l,m),v&&t.mergeEvaluated(v,Hs.Name)})})}}};su.default=Lb});var Op=ge(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var jb=St(),Bb={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let o=r.name("valid");e.forEach((s,l)=>{if(jb.alwaysValidSchema(n,s))return;let f=t.subschema({keyword:"allOf",schemaProp:l},o);t.ok(o),t.mergeEvaluated(f)})}};au.default=Bb});var Np=ge(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var Gs=Le(),zb=St(),Mb=Tr(),Vb={message:({params:t})=>Gs.str`should match "${t.ifClause}" schema`,params:({params:t})=>Gs._`{failingKeyword: ${t.ifClause}}`},Ub={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Vb,code(t){let{gen:r,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&Mb.checkStrictMode(n,'"if" without "then" and "else" is ignored');let o=qp(n,"then"),s=qp(n,"else");if(!o&&!s)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),o&&s){let m=r.let("ifClause");t.setParams({ifClause:m}),r.if(f,g("then",m),g("else",m))}else o?r.if(f,g("then")):r.if(Gs.not(f),g("else"));t.pass(l,()=>t.error(!0));function c(){let m=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(m)}function g(m,v){return()=>{let x=t.subschema({keyword:m},f);r.assign(l,f),t.mergeValidEvaluated(x,l),v?r.assign(v,Gs._`${m}`):t.setParams({ifClause:m})}}}};function qp(t,r){let e=t.schema[r];return e!==void 0&&!zb.alwaysValidSchema(t,e)}lu.default=Ub});var Dp=ge(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Hb=Tr(),Gb={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&Hb.checkStrictMode(e,`"${t}" without "if" is ignored`)}};uu.default=Gb});var Rp=ge(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Kb=gp(),Wb=$p(),Zb=vp(),Jb=xp(),Qb=Cp(),Yb=eu(),Xb=_p(),ev=Pp(),tv=Fp(),rv=Tp(),nv=Ip(),iv=Op(),ov=Np(),sv=Dp(),av=[tv.default,rv.default,nv.default,iv.default,ov.default,sv.default,Kb.default,Wb.default,Zb.default,Qb.default,Yb.default,Jb.default,Xb.default,ev.default];fu.default=av});var Lp=ge(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Dt=Le(),lv={message:({schemaCode:t})=>Dt.str`should match format "${t}"`,params:({schemaCode:t})=>Dt._`{format: ${t}}`},uv={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:lv,code(t,r){let{gen:e,data:n,$data:o,schema:s,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:g,schemaEnv:m,self:v}=f;if(!c.validateFormats)return;o?x():k();function x(){let _=e.scopeValue("formats",{ref:v.formats,code:c.code.formats}),O=e.const("fDef",Dt._`${_}[${l}]`),D=e.let("fType"),M=e.let("format");e.if(Dt._`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>e.assign(D,Dt._`${O}.type || "string"`).assign(M,Dt._`${O}.validate`),()=>e.assign(D,Dt._`"string"`).assign(M,O)),t.fail$data(Dt.or(X(),le()));function X(){return c.strict===!1?Dt.nil:Dt._`${l} && !${M}`}function le(){let ve=m.$async?Dt._`(${O}.async ? await ${M}(${n}) : ${M}(${n}))`:Dt._`${M}(${n})`,ye=Dt._`(typeof ${M} == "function" ? ${ve} : ${M}.test(${n}))`;return Dt._`${M} && ${M} !== true && ${D} === ${r} && !${ye}`}}function k(){let _=v.formats[s];if(!_){X();return}if(_===!0)return;let[O,D,M]=le(_);O===r&&t.pass(ve());function X(){if(c.strict===!1){v.logger.warn(ye());return}throw new Error(ye());function ye(){return`unknown format "${s}" ignored in schema at path "${g}"`}}function le(ye){let ie=e.scopeValue("formats",{key:s,ref:ye,code:c.code.formats?Dt._`${c.code.formats}${Dt.getProperty(s)}`:void 0});return typeof ye=="object"&&!(ye instanceof RegExp)?[ye.type||"string",ye.validate,Dt._`${ie}.validate`]:["string",ye,ie]}function ve(){if(typeof _=="object"&&!(_ instanceof RegExp)&&_.async){if(!m.$async)throw new Error("async format in sync schema");return Dt._`await ${M}(${n})`}return typeof D=="function"?Dt._`${M}(${n})`:Dt._`${M}.test(${n})`}}}};cu.default=uv});var jp=ge(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var fv=Lp(),cv=[fv.default];pu.default=cv});var Bp=ge(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.contentVocabulary=ao.metadataVocabulary=void 0;ao.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];ao.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Mp=ge(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var pv=np(),dv=hp(),mv=Rp(),hv=jp(),zp=Bp(),gv=[pv.default,dv.default,mv.default,hv.default,zp.metadataVocabulary,zp.contentVocabulary];du.default=gv});var Vp=ge((z1,yv)=>{yv.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 Hp=ge(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.CodeGen=Jt.Name=Jt.nil=Jt.stringify=Jt.str=Jt._=Jt.KeywordCxt=void 0;var $v=Oo();Jt.KeywordCxt=$v.default;var lo=Le();Object.defineProperty(Jt,"_",{enumerable:!0,get:function(){return lo._}});Object.defineProperty(Jt,"str",{enumerable:!0,get:function(){return lo.str}});Object.defineProperty(Jt,"stringify",{enumerable:!0,get:function(){return lo.stringify}});Object.defineProperty(Jt,"nil",{enumerable:!0,get:function(){return lo.nil}});Object.defineProperty(Jt,"Name",{enumerable:!0,get:function(){return lo.Name}});Object.defineProperty(Jt,"CodeGen",{enumerable:!0,get:function(){return lo.CodeGen}});var bv=Qc(),vv=Mp(),Up=Vp(),kv=["/properties"],Ks="http://json-schema.org/draft-07/schema",mu=class extends bv.default{_addVocabularies(){super._addVocabularies(),vv.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Up,kv):Up;this.addMetaSchema(r,Ks,!1),this.refs["http://json-schema.org/schema"]=Ks}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Ks)?Ks:void 0)}};Jt.default=mu});var Kp=ge((V1,Gp)=>{var wv=Object.prototype.hasOwnProperty,xv=Object.prototype.toString;Gp.exports=function(r,e,n){if(xv.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var o=r.length;if(o===+o)for(var s=0;s<o;s++)e.call(n,r[s],s,r);else for(var l in r)wv.call(r,l)&&e.call(n,r[l],l,r)}});var Zp=ge((U1,Wp)=>{"use strict";var Cv=Kp();Wp.exports=gt;function gt(t,r,e){if(arguments.length===3)return gt.set(t,r,e);if(arguments.length===2)return gt.get(t,r);var n=gt.bind(gt,t);for(var o in gt)gt.hasOwnProperty(o)&&(n[o]=gt[o].bind(n,t));return n}gt.get=function(r,e){for(var n=Array.isArray(e)?e:gt.parse(e),o=0;o<n.length;++o){var s=n[o];if(!(typeof r=="object"&&s in r))throw new Error("Invalid reference token: "+s);r=r[s]}return r};gt.set=function(r,e,n){var o=Array.isArray(e)?e:gt.parse(e),s=o[0];if(o.length===0)throw Error("Can not set the root object");for(var l=0;l<o.length-1;++l){var f=o[l];f==="__proto__"||f==="constructor"||f==="prototype"||(f==="-"&&Array.isArray(r)&&(f=r.length),s=o[l+1],f in r||(s.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return s==="-"&&Array.isArray(r)&&(s=r.length),r[s]=n,this};gt.remove=function(t,r){var e=Array.isArray(r)?r:gt.parse(r),n=e[e.length-1];if(n===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var o=gt.get(t,e.slice(0,-1));if(Array.isArray(o)){var s=+n;if(n===""&&isNaN(s))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,s,1)}else delete o[n]};gt.dict=function(r,e){var n={};return gt.walk(r,function(o,s){n[s]=o},e),n};gt.walk=function(r,e,n){var o=[];n=n||function(s){var l=Object.prototype.toString.call(s);return l==="[object Object]"||l==="[object Array]"},function s(l){Cv(l,function(f,c){o.push(String(c)),n(f)?s(f):e(f,gt.compile(o)),o.pop()})}(r)};gt.has=function(r,e){try{gt.get(r,e)}catch{return!1}return!0};gt.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};gt.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};gt.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(gt.unescape)};gt.compile=function(r){return r.length===0?"":"/"+r.map(gt.escape).join("/")}});var Jp=ge((H1,Av)=>{Av.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var Qp=ge((G1,Ev)=>{Ev.exports={$ref:"#/definitions/AstTree",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Yp=ge((K1,_v)=>{_v.exports={$ref:"#/definitions/RootBlock",definitions:{Ambient:{type:"object",properties:{type:{type:"string",enum:["ambient"]},text:{type:"string"},location:{$ref:"#/definitions/Location"}},required:["location","text","type"]},Location:{type:"object",properties:{start:{$ref:"#/definitions/Position"},end:{$ref:"#/definitions/Position"}},required:["end","start"]},Position:{type:"object",properties:{line:{type:"number"},column:{type:"number"},offset:{type:"number"}},required:["column","line","offset"]},BlockPod:{type:"object",properties:{name:{type:"string",enum:["pod"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},PodNode:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]},BlockData:{type:"object",properties:{name:{type:"string",enum:["data"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BrokenConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]}},required:["name","value"]},ConfigItemKV:{type:"object",additionalProperties:{type:["string","number","boolean"]}},ConfigItem:{type:"object",properties:{name:{type:"string"},value:{anyOf:[{$ref:"#/definitions/ConfigItemKV"},{type:"array",items:{type:["string","number","boolean"]}},{type:["string","number","boolean"]}]},type:{type:"string"}},required:["name","type","value"]},BlockFormula:{type:"object",properties:{name:{type:"string",enum:["formula"]},content:{type:"array",items:[{$ref:"#/definitions/Verbatim"}],minItems:1,maxItems:1},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Verbatim:{type:"object",properties:{type:{type:"string",enum:["verbatim"]},value:{type:"string"}},required:["type","value"]},BlockCode:{type:"object",properties:{name:{type:"string",enum:["code"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlankLine:{type:"object",properties:{type:{type:"string",enum:["blankline"]}},required:["type"]},BlockNested:{type:"object",properties:{name:{type:"string",enum:["nested"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockMarkdown:{type:"object",properties:{name:{type:"string",enum:["markdown"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockOutput:{type:"object",properties:{name:{type:"string",enum:["output"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInput:{type:"object",properties:{name:{type:"string",enum:["input"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockInclude:{type:"object",properties:{name:{type:"string",enum:["include"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPara:{type:"object",properties:{name:{type:"string",enum:["para"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockHead:{type:"object",properties:{name:{type:"string",enum:["head"]},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockComment:{type:"object",properties:{name:{type:"string",enum:["comment"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockDefn:{type:"object",properties:{name:{type:"string",enum:["defn"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Para:{type:"object",properties:{type:{type:"string",enum:["para"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Ambient"},{$ref:"#/definitions/BlockPod"},{$ref:"#/definitions/BlockData"},{$ref:"#/definitions/BlockFormula"},{$ref:"#/definitions/BlockCode"},{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/BlockNested"},{$ref:"#/definitions/BlockMarkdown"},{$ref:"#/definitions/BlockOutput"},{$ref:"#/definitions/BlockInput"},{$ref:"#/definitions/BlockInclude"},{$ref:"#/definitions/BlockPara"},{$ref:"#/definitions/BlockHead"},{$ref:"#/definitions/BlockComment"},{$ref:"#/definitions/BlockDefn"},{$ref:"#/definitions/Para"},{$ref:"#/definitions/Text"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/BlockNamed"},{$ref:"#/definitions/Verbatim"},{$ref:"#/definitions/BlockTable"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockConfig"},{$ref:"#/definitions/BlockItem"},{$ref:"#/definitions/Alias"},{$ref:"#/definitions/BlockToc"},{$ref:"#/definitions/BlockPicture"},{$ref:"#/definitions/BlockImage"},{$ref:"#/definitions/Image"},{$ref:"#/definitions/RootBlock"},{$ref:"#/definitions/Separator"},{$ref:"#/definitions/BlockCaption"},{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{$ref:"#/definitions/Toc"},{type:"string"}]}}},required:["content","location","margin","text","type"]},Text:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]},Code:{type:"object",properties:{type:{type:"string",enum:["code"]},text:{type:"string"},margin:{type:"string"},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/Verbatim"},{type:"string"}]}}},required:["content","location","margin","text","type"]},BlockNamed:{type:"object",properties:{name:{type:"string"},content:{anyOf:[{$ref:"#/definitions/RootBlock"},{type:"array",items:[{anyOf:[{$ref:"#/definitions/Para"},{$ref:"#/definitions/Code"},{$ref:"#/definitions/Verbatim"}]}],minItems:0,maxItems:1},{type:"array",items:{anyOf:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}]}}]},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},RootBlock:{type:"object",properties:{name:{type:"string",enum:["root"]},content:{$ref:"#/definitions/AstTree"},margin:{type:"string"},type:{type:"string",enum:["block"]},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","margin","name","type"]},AstTree:{type:"array",items:{$ref:"#/definitions/PodNode"}},Image:{type:"object",properties:{type:{type:"string",enum:["image"]},src:{type:"string"},alt:{type:"string"}},required:["src","type"]},BlockCaption:{type:"object",properties:{name:{type:"string",enum:["caption"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},type:{type:"string",enum:["block"]}},required:["content","name","type"]},BlockTable:{type:"object",properties:{name:{type:"string",enum:["table"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/TableRow"},{$ref:"#/definitions/TableHead"},{$ref:"#/definitions/TableSeparator"}]}},align:{type:"array",items:{anyOf:[{enum:["center","left","right"],type:"string"},{type:"null"}]}},text:{type:"string"},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},TableRow:{type:"object",properties:{name:{type:"string",enum:["table_row"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableCell:{type:"object",properties:{name:{type:"string",enum:["table_cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["table_head"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{$ref:"#/definitions/TableCell"}}},required:["content","name","type"]},TableSeparator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},List:{type:"object",properties:{type:{type:"string",enum:["list"]},level:{type:["string","number"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/BlankLine"},{$ref:"#/definitions/List"},{$ref:"#/definitions/BlockItem"}]}},list:{type:"string",enum:["itemized"]}},required:["content","level","list","type"]},BlockItem:{type:"object",properties:{name:{type:"string",enum:["item"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},level:{type:["string","number"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","level","location","margin","name","type"]},BlockConfig:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["config"]},config:{type:"array",items:{$ref:"#/definitions/ConfigItem"}},margin:{type:"string"}},required:["config","margin","name","type"]},Alias:{type:"object",properties:{name:{type:"string"},type:{type:"string",enum:["alias"]},replacement:{type:"array",items:{type:"string"}},margin:{type:"string"}},required:["margin","name","replacement","type"]},BlockToc:{type:"object",properties:{name:{type:"string",enum:["toc"]},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}},margin:{type:"string"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockPicture:{type:"object",properties:{name:{type:"string",enum:["picture"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},BlockImage:{type:"object",properties:{name:{type:"string",enum:["image"]},caption:{type:"string"},link:{type:"string"},content:{type:"array",items:[{$ref:"#/definitions/Image"},{$ref:"#/definitions/BlockCaption"}],minItems:1,maxItems:2},margin:{type:"string"},type:{type:"string",enum:["block"]},location:{$ref:"#/definitions/Location"},config:{type:"array",items:{anyOf:[{$ref:"#/definitions/BrokenConfigItem"},{$ref:"#/definitions/ConfigItem"}]}},id:{type:"string"}},required:["content","location","margin","name","type"]},Separator:{type:"object",properties:{type:{type:"string",enum:["separator"]},text:{type:"string"}},required:["text","type"]},FormattingCodeA:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["A"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","name","type"]},FormattingCodeC:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["C"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeB:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["B"]},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["name","type"]},FormattingCodeD:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["D"]},synonyms:{type:"array",items:{type:"string"}},content:{type:"string"}},required:["content","name","synonyms","type"]},FormattingCodeE:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["E"]},content:{type:"array",items:{anyOf:[{type:"object",properties:{type:{type:"string",enum:["number"]},value:{type:"number"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["unicode_name"]},value:{type:"string"}},required:["type","value"]},{type:"object",properties:{type:{type:"string",enum:["html_named"]},value:{type:"string"}},required:["type","value"]}]}}},required:["content","name","type"]},FormattingCodeF:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["F"]},content:{type:"array",items:{type:"object",properties:{type:{type:"string",enum:["text"]},value:{type:"string"}},required:["type","value"]}}},required:["content","name","type"]},FormattingCodeI:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["I"]},meta:{type:"string"},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeL:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["L"]},meta:{type:["null","string"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{type:"string"}]}},required:["content","meta","name","type"]},FormattingCodeN:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["N"]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},FormattingCodeX:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["X"]},entry:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["entry","name","type"]},FormattingCodeZ:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["Z"]},content:{type:"string"}},required:["name","type"]},FormattingCodeV:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["V"]},content:{type:"string"}},required:["name","type"]},FormattingCodeS:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string",enum:["S"]},content:{anyOf:[{$ref:"#/definitions/Text"},{type:"string"}]}},required:["name","type"]},FormattingCodeAny:{type:"object",properties:{type:{type:"string",enum:["fcode"]},name:{type:"string"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/FormattingCodeA"},{$ref:"#/definitions/FormattingCodeC"},{$ref:"#/definitions/FormattingCodeB"},{$ref:"#/definitions/FormattingCodeD"},{$ref:"#/definitions/FormattingCodeE"},{$ref:"#/definitions/FormattingCodeF"},{$ref:"#/definitions/FormattingCodeI"},{$ref:"#/definitions/FormattingCodeL"},{$ref:"#/definitions/FormattingCodeN"},{$ref:"#/definitions/FormattingCodeX"},{$ref:"#/definitions/FormattingCodeZ"},{$ref:"#/definitions/FormattingCodeV"},{$ref:"#/definitions/FormattingCodeS"},{$ref:"#/definitions/FormattingCodeAny"},{type:"string"}]}}},required:["name","type"]},Toc:{type:"object",properties:{type:{type:"string",enum:["toc"]},title:{type:"string"},content:{$ref:"#/definitions/TocList"}},required:["content","type"]},TocList:{type:"object",properties:{type:{type:"string",enum:["toc-list"]},level:{type:"number"},content:{type:"array",items:{anyOf:[{$ref:"#/definitions/TocList"},{$ref:"#/definitions/TocItem"}]}}},required:["content","level","type"]},TocItem:{type:"object",properties:{type:{type:"string",enum:["toc-item"]},node:{$ref:"#/definitions/PodNode"},content:{type:"array",items:{$ref:"#/definitions/PodNode"}}},required:["content","node","type"]}},$schema:"http://json-schema.org/draft-07/schema#"}});var Xp=ge(Ws=>{Ws.Test=Jp();Ws.AstTree=Qp();Ws.PodliteDocument=Yp()});var hd=ge((wu,xu)=>{(function(t,r,e){typeof wu=="object"?(xu.exports=e(),xu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",wu,function(){var t=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`),r=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');function e(n,o){if(typeof n!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var s=r[o.locale]||{},l=o.replacement===void 0?"-":o.replacement,f=o.trim===void 0?!0:o.trim,c=n.normalize().split("").reduce(function(g,m){var v=s[m];return v===void 0&&(v=t[m]),v===void 0&&(v=m),v===l&&(v=" "),g+v.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,"")),f&&(c=c.trim()),c=c.replace(/\s+/g,l),o.lower&&(c=c.toLowerCase()),c}return e.extend=function(n){Object.assign(t,n)},e})});var $d=ge((Mx,yd)=>{"use strict";function Lv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Si(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Si)}Lv(Si,Error);Si.buildMessage=function(t,r){var e={literal:function(g){return'"'+o(g.text)+'"'},class:function(g){var m="",v;for(v=0;v<g.parts.length;v++)m+=g.parts[v]instanceof Array?s(g.parts[v][0])+"-"+s(g.parts[v][1]):s(g.parts[v]);return"["+(g.inverted?"^":"")+m+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function n(g){return g.charCodeAt(0).toString(16).toUpperCase()}function o(g){return 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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function s(g){return g.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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function l(g){return e[g.type](g)}function f(g){var m=new Array(g.length),v,x;for(v=0;v<g.length;v++)m[v]=l(g[v]);if(m.sort(),m.length>0){for(v=1,x=1;v<m.length;v++)m[v-1]!==m[v]&&(m[x]=m[v],x++);m.length=x}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function c(g){return g?'"'+o(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function jv(t,r){r=r!==void 0?r:{};var e={},n={Document:Ff},o=Ff,s=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=Y(),g=function(){return{text:T(),type:"ambient",location:N()}},m=/^[ \xA0\u2001\t\f\u2008]/,v=S([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),x=/^[ \t\f]/,k=S([" "," ","\f"],!1,!1),_=/^[\n\r]/,O=S([`
9
9
  `,"\r"],!1,!1),D=function(u){return u},M=/^[^\n\r]/,X=S([`
10
10
  `,"\r"],!0,!1),le=`
11
11
  `,ve=H(`
12
12
  `,!1),ye="\r",ie=H("\r",!1),ke=function(){return{type:"blankline"}},Ee="=begin ",xe=H("=begin ",!1),ze="=end ",Fe=H("=end ",!1),Te="=for ",he=H("=for ",!1),_e="=config",st=H("=config",!1),te="=alias",At=H("=alias",!1),Je=function(u){return Ch(u)},$t=function(u){return u},tt="=",z=H("=",!1),V=j("text"),Qt=function(){return T()},Bt=function(){return{type:"para",value:T(),error:!0,location:N()}},wt=function(u,p){return Wi([u,p])},Pt=function(u){return[u]},Et=",",at=H(",",!1),_r=function(u,p){return Wi([u,p])},be=/^[a-zA-Z0-9]/,$r=S([["a","z"],["A","Z"],["0","9"]],!1,!1),ur=/^[a-zA-Z0-9_\-]/,fr=S([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Yt="=>",Rn=H("=>",!1),Ln=function(u,p){return{[u]:p}},vn=function(u,p){return{...u,...p}},kn=function(u){return u},We=":",Ne=H(":",!1),Ze="allow",bt=H("allow",!1),cr="<",Ve=H("<",!1),Ue=">",dt=H(">",!1),rt=function(u,p){return{value:p,type:"array"}},ne=function(u,p){return{name:"allow",...p}},ce=function(u){return u},we=function(u){return u},Ae=function(u){return[u]},Rt=function(){return[]},Vr=/^[!]/,nt=S(["!"],!1,!1),xt="{",Ft=H("{",!1),Ur="}",mt=H("}",!1),wn=function(u,p,y){return{value:y}},Ut="[",on=H("[",!1),jn=function(u,p,y){return y},Or="]",ti=H("]",!1),ri=function(u,p){return[T()]},Li=function(u,p,y){return{value:y,type:"array"}},ni=function(u,p,y){return{value:y,type:"array"}},ji=function(u,p,y){return{value:y,type:"string"}},ii="(",Bn=H("(",!1),Bi=function(u,p,y){return y.length>1?{type:"array",value:y}:{type:"value",value:y[0]}},xn=")",B=H(")",!1),q=function(u,p){return{value:T()}},Z=function(u,p,y){return{type:"value",...y}},ee=function(u,p){return{value:!u,type:"boolean"}},re=function(u,p,y){return{name:p,...y}},me=function(u,p){return p},Se=function(u,p){return Wi([...u,...p])},De=/^[^'"]/,He=S(["'",'"'],!0,!1),ht=function(u){return u},qe=/^[0-9]/,it=S([["0","9"]],!1,!1),vt=/^[\-+]/,lt=S(["-","+"],!1,!1),Re="True",ut=H("True",!1),Ye=function(){return!0},qr="False",Ht=H("False",!1),Gt=function(){return!1},Qe=".",zt=H(".",!1),Xt=/^[eE]/,br=S(["e","E"],!1,!1),Nr=/^["]/,vr=S(['"'],!1,!1),sn=/^[^"]/,Cn=S(['"'],!0,!1),An=/^[']/,Hr=S(["'"],!1,!1),Gr=/^[^']/,kr=S(["'"],!0,!1),an=function(u){return parseFloat(u)},i=function(u){return parseInt(u,10)},fe=function(u,p,y){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||gs(p)},En=function(u,p,y,b,E){return u.length===b.length&&p===E},pr=function(u,p,y,b,E){return Ah(u,`${b}${E}`)},ln=function(u,p,y,b,E,C){return p===C},w=function(u,p,y,b,E,C){return{type:"block",content:b===""?[]:[{type:"verbatim",value:b.join("")}],name:p,margin:u}},wr=function(u,p,y,b,E,C){return!0},un=function(u,p,y,b,E,C){return{...C,text:T(),config:y,location:N()}},_n=/^[+-=_|]/,yo=S([["+","="],"_","|"],!1,!1),$o=function(){return{type:"separator",text:T()}},ot=function(){return r.isDelimited},Tt=function(){return{type:"separator",text:T()}},fn=function(u){return{name:"row",type:"text",value:u}},oi=function(){return r.separators=[],!0},zn=function(u,p){return r.separators.push(p.text),p},Dr=function(u,p,y,b){return r.separators.push(b.text),b},Sn=function(u,p,y,b){return[{name:"row",type:"text",value:y},b]},J=function(u,p,y){return[y]},Pn=function(u,p,y){return r.separators.length>1?!r.separators.every(b=>b===r.separators[0]):!0},si=function(u,p,y){return[{name:"head",type:"text",value:u},p,...Wi(y)]},ai=function(u,p){return[{name:"row",type:"text",value:u},p]},Mn=function(u){return[...Wi(u)]},bo=function(u,p,y){return p==="table"},is=function(u,p,y){return r.isDelimited=!0,!0},Vn=function(u,p,y,b){return b},Kr=function(u,p,y,b,E,C){return{type:"block",content:b,name:p,margin:u}},vo=function(u,p,y,b,E,C){return{...C,text:T(),config:y,location:N()}},ko=function(u,p,y,b){return b},wo=function(u,p,y,b,E){let C=p.match(/pod|nested|item|code|defn/)&&b.length-u.length>0?"code":"para";return{text:E,margin:b,type:C,content:[{type:C==="code"?"verbatim":"text",value:E}],location:N()}},os=function(u,p,y,b,E,C){return{type:"block",content:b,name:p,margin:u}},va=function(u,p,y,b,E,C){return{...C,config:y,location:N()}},ss=function(){return{text:T(),type:"para",margin:"",content:[{type:"text",value:T()}],location:N()}},Fn=function(){return{empty:1}},Lt=/^[s]/,Un=S(["s"],!1,!1),li=function(u){return{text:T(),type:"ambient1"}},Rr=function(u,p){return p.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||gs(p)},ka=function(u,p,y){return{margin:u,type:"block",content:y===""?[]:[{type:"verbatim",value:y}],name:p,config:[],location:N()}},as=function(u,p){return p==="table"},cn=function(u,p){return r.isDelimited=!1,!0},ui=function(u,p,y){return{margin:u,type:"block",content:y===""?[]:y,name:p,config:[],location:N()}},wa=function(u,p,y,b){let E=(y===`
13
13
  `?"":y)+b;return{margin:u,type:"block",content:E===""?[]:[{type:"para",text:E,margin:"",content:[{type:"text",value:E}],location:N()}],name:p,location:N()}},zi="= ",ls=H("= ",!1),Mi=function(u,p,y,b){return{name:y,type:"alias",replacement:b,margin:u}},xa=/^[A-Z]/,Ca=S([["A","Z"]],!1,!1),us="<>",Aa=H("<>",!1),Ea=function(u,p,y,b){return{name:y,type:"config",config:b,margin:u}},_a=function(u,p,y,b){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||gs(y)},fs=function(u,p,y,b,E){return{type:"block",content:E===""?[]:[{type:"verbatim",value:E}],name:y,margin:u,config:b,location:N()}},cs=function(u,p,y,b){return y==="table"},Sa=function(u,p,y,b){return r.isDelimited=!1,!0},Wr=function(u,p,y,b,E){return{type:"block",content:E===""?[]:E,name:y,margin:u,config:b,location:N()}},_t=function(u,p,y,b,E){return{type:"block",content:E===""?[]:[{type:"para",content:[{type:"text",value:E}],margin:u,text:E,location:N()}],name:y,margin:u,config:b,location:N()}},Pe=/^[a-zA-Z]/,Vi=S([["a","z"],["A","Z"]],!1,!1),Sf=j("whitespace"),jt=/^[\r\n \t\f]/,Sr=S(["\r",`
14
- `," "," ","\f"],!1,!1),ft=j("space characters"),a=0,se=0,d=[{line:1,column:1}],$=0,F=[],m=0,A;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');o=n[r.startRule]}function T(){return t.substring(se,a)}function N(){return xo(se,a)}function P(u,p){throw p=p!==void 0?p:xo(se,a),Pf([j(u)],t.substring(se,a),p)}function L(u,p){throw p=p!==void 0?p:xo(se,a),mh(u,p)}function H(u,p){return{type:"literal",text:u,ignoreCase:p}}function S(u,p,y){return{type:"class",parts:u,inverted:p,ignoreCase:y}}function Y(){return{type:"any"}}function U(){return{type:"end"}}function j(u){return{type:"other",description:u}}function W(u){var p=d[u],y;if(p)return p;for(y=u-1;!d[y];)y--;for(p=d[y],p={line:p.line,column:p.column};y<u;)t.charCodeAt(y)===10?(p.line++,p.column=1):p.column++,y++;return d[u]=p,p}function xo(u,p){var y=W(u),b=W(p);return{start:{offset:u,line:y.line,column:y.column},end:{offset:p,line:b.line,column:b.column}}}function ae(u){a<$||(a>$&&($=a,F=[]),F.push(u))}function mh(u,p){return new Si(u,null,null,p)}function Pf(u,p,y){return new Si(Si.buildMessage(u,p),u,p,y)}function Ff(){var u,p,y;for(u=a,p=[],y=Tf();y!==e;)p.push(y),y=Tf();return p!==e&&(se=u,p=s(p)),u=p,u}function Tf(){var u,p,y,b,E,C,G,Q;if(u=Pa(),u===e&&(u=Ta(),u===e&&(u=Ia(),u===e&&(u=La(),u===e&&(u=ja(),u===e&&(u=Ba(),u===e&&(u=Da(),u===e&&(u=Ra(),u===e&&(u=Oa(),u===e&&(u=qa(),u===e&&(u=Na(),u===e&&(u=a,se=a,p=l(),p?p=void 0:p=e,p!==e?(y=kh(),y===e&&(y=pn(),y===e&&(y=gh())),y!==e?(se=u,p=f(y),u=p):(a=u,u=e)):(a=u,u=e),u===e)))))))))))){if(u=a,p=a,y=[],b=a,E=a,m++,C=a,G=Tn(),G!==e?(Q=er(),Q!==e?(G=[G,Q],C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=di()),m--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,m===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e),b!==e)for(;b!==e;)y.push(b),b=a,E=a,m++,C=a,G=Tn(),G!==e?(Q=er(),Q!==e?(G=[G,Q],C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=di()),m--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,m===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e);else y=e;y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=g()),u=p}return u}function qt(){var u;return h.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,m===0&&ae(v)),u}function $e(){var u,p;for(u=[],x.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(k));p!==e;)u.push(p),x.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(k));return u}function fi(){var u,p,y,b;for(u=a,p=a,y=[],b=qt();b!==e;)y.push(b),b=qt();return y!==e?(_.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(O)),b!==e?(y=[y,b],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function T0(){var u,p,y,b;if(u=a,p=a,y=[],b=Co(),b!==e)for(;b!==e;)y.push(b),b=Co();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=pi(),y!==e?(se=u,p=D(p),u=p):(a=u,u=e)):(a=u,u=e),u}function Co(){var u;return M.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,m===0&&ae(X)),u}function ci(){var u,p,y;return t.charCodeAt(a)===10?(u=le,a++):(u=e,m===0&&ae(ve)),u===e&&(u=a,t.charCodeAt(a)===13?(p=ye,a++):(p=e,m===0&&ae(ie)),p!==e?(t.charCodeAt(a)===10?(y=le,a++):(y=e,m===0&&ae(ve)),y===e&&(y=null),y!==e?(p=[p,y],u=p):(a=u,u=e)):(a=u,u=e)),u}function pi(){var u,p;return u=ci(),u===e&&(u=a,m++,t.length>a?(p=t.charAt(a),a++):(p=e,m===0&&ae(c)),m--,p===e?u=void 0:(a=u,u=e)),u}function Pr(){var u,p,y,b;for(u=a,p=a,y=[],b=qt();b!==e;)y.push(b),b=qt();return y!==e?(_.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(O)),b!==e?(y=[y,b],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function pn(){var u,p,y,b,E;for(u=a,p=a,y=a,b=[],E=qt();E!==e;)b.push(E),E=qt();return b!==e?(_.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(O)),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e),y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=ke()),u=p,u}function ps(){var u;return t.substr(a,7)===Ee?(u=Ee,a+=7):(u=e,m===0&&ae(xe)),u}function Ui(){var u;return t.substr(a,5)===ze?(u=ze,a+=5):(u=e,m===0&&ae(Fe)),u}function ds(){var u;return t.substr(a,5)===Te?(u=Te,a+=5):(u=e,m===0&&ae(he)),u}function If(){var u;return t.substr(a,7)===_e?(u=_e,a+=7):(u=e,m===0&&ae(st)),u}function Of(){var u;return t.substr(a,6)===te?(u=te,a+=6):(u=e,m===0&&ae(At)),u}function er(){var u,p,y;return u=a,p=za(),p!==e?(se=a,y=Je(p),y?y=void 0:y=e,y!==e?(se=u,p=$t(p),u=p):(a=u,u=e)):(a=u,u=e),u}function di(){var u,p,y;return u=a,t.charCodeAt(a)===61?(p=tt,a++):(p=e,m===0&&ae(z)),p!==e?(y=er(),y!==e?(se=u,p=$t(y),u=p):(a=u,u=e)):(a=u,u=e),u}function Tn(){var u;return u=ps(),u===e&&(u=Ui(),u===e&&(u=ds(),u===e&&(u=If(),u===e&&(u=Of())))),u}function Lr(){var u,p,y;if(m++,u=a,p=[],y=Co(),y!==e)for(;y!==e;)p.push(y),y=Co();else p=e;return p!==e?u=t.substring(u,a):u=p,m--,u===e&&(p=e,m===0&&ae(V)),u}function Kt(){var u,p,y,b,E,C,G;if(u=a,p=a,m++,y=a,b=$e(),b!==e?(E=If(),E===e&&(E=Of(),E===e&&(E=a,C=Tn(),C!==e?(G=er(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E===e&&(E=di()))),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e),y===e&&(y=pn()),m--,y===e?p=void 0:(a=p,p=e),p!==e){if(y=a,b=[],E=Lr(),E!==e)for(;E!==e;)b.push(E),E=Lr();else b=e;b!==e?y=t.substring(y,a):y=b,y!==e?(b=pi(),b!==e?(se=u,p=Qt(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function hh(){var u,p,y,b;if(u=a,p=a,y=[],b=Lr(),b!==e)for(;b!==e;)y.push(b),b=Lr();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=pi(),y!==e?(se=u,p=Qt(),u=p):(a=u,u=e)):(a=u,u=e),u}function gh(){var u,p,y,b,E,C;if(u=a,p=a,y=[],b=a,E=a,m++,C=pi(),m--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,m===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e),b!==e)for(;b!==e;)y.push(b),b=a,E=a,m++,C=pi(),m--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,m===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e);else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=pi(),y!==e?(se=u,p=Bt(),u=p):(a=u,u=e)):(a=u,u=e),u}function qf(){var u,p,y,b;if(u=a,p=Nf(),p!==e){if(y=[],b=qt(),b!==e)for(;b!==e;)y.push(b),b=qt();else y=e;y!==e?(b=qf(),b!==e?(se=u,p=wt(p,b),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Nf(),p!==e&&(se=u,p=Pt(p)),u=p),u}function Nf(){var u,p;return u=a,p=Co(),p!==e?u=t.substring(u,a):u=p,u}function ms(){var u,p,y,b,E,C;if(u=a,p=Gi(),p!==e){if(y=[],b=qt(),b!==e)for(;b!==e;)y.push(b),b=qt();else y=e;y===e&&(y=a,b=$e(),b!==e?(t.charCodeAt(a)===44?(E=Et,a++):(E=e,m===0&&ae(at)),E!==e?(C=$e(),C!==e?(b=[b,E,C],y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e)),y!==e?(b=ms(),b!==e?(se=u,p=_r(p,b),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Gi(),p!==e&&(se=u,p=Pt(p)),u=p),u}function yh(){var u,p,y,b,E;if(u=a,p=a,y=[],be.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae($r)),b!==e)for(;b!==e;)y.push(b),be.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae($r));else y=e;if(y!==e){for(b=[],ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(fr));E!==e;)b.push(E),ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(fr));b!==e?(y=[y,b],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function Df(){var u,p,y,b,E,C;return u=a,p=yh(),p!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(b=Et,a++):(b=e,m===0&&ae(at)),b===e&&(t.substr(a,2)===Yt?(b=Yt,a+=2):(b=e,m===0&&ae(Rn))),b!==e?(E=$e(),E!==e?(C=Gi(),C!==e?(se=u,p=Ln(p,C),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Rf(){var u,p,y,b,E,C;return u=a,p=Df(),p!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(b=Et,a++):(b=e,m===0&&ae(at)),b!==e?(E=$e(),E!==e?(C=Rf(),C!==e?(se=u,p=vn(p,C),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u===e&&(u=a,p=Df(),p!==e&&(se=u,p=kn(p)),u=p),u}function $h(){var u,p,y,b,E,C,G,Q,I,R;return u=a,p=$e(),p!==e?(t.charCodeAt(a)===58?(y=We,a++):(y=e,m===0&&ae(Ne)),y!==e?(t.substr(a,5)===Ze?(b=Ze,a+=5):(b=e,m===0&&ae(bt)),b!==e?(E=a,t.charCodeAt(a)===60?(C=cr,a++):(C=e,m===0&&ae(Ve)),C!==e?(G=$e(),G!==e?(Q=qf(),Q!==e?(I=$e(),I!==e?(t.charCodeAt(a)===62?(R=Ue,a++):(R=e,m===0&&ae(dt)),R!==e?(se=E,C=rt(b,Q),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e),E!==e?(C=$e(),C!==e?(se=u,p=ne(b,E),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function I0(){var u,p,y,b,E,C;for(u=a,p=[],y=a,b=$e(),b!==e?(E=Gi(),E!==e?(C=$e(),C!==e?(se=y,b=ce(E),y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);y!==e;)p.push(y),y=a,b=$e(),b!==e?(E=Gi(),E!==e?(C=$e(),C!==e?(se=y,b=ce(E),y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);return p!==e&&(se=u,p=we(p)),u=p,u===e&&(u=a,p=Gi(),p!==e&&(se=u,p=Ae(p)),u=p,u===e&&(u=a,p=$e(),p!==e&&(se=u,p=Rt()),u=p)),u}function Hi(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue,de;if(u=$h(),u===e)if(u=a,p=$e(),p!==e)if(t.charCodeAt(a)===58?(y=We,a++):(y=e,m===0&&ae(Ne)),y!==e)if(Vr.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(nt)),b===e&&(b=null),b!==e)if(E=za(),E!==e){if(C=a,t.charCodeAt(a)===123?(G=xt,a++):(G=e,m===0&&ae(Ft)),G!==e?(Q=$e(),Q!==e?(I=Rf(),I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===125?(K=Ur,a++):(K=e,m===0&&ae(mt)),K!==e?(se=C,G=wn(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e),C===e){if(C=a,t.charCodeAt(a)===91?(G=Ut,a++):(G=e,m===0&&ae(on)),G!==e)if(Q=$e(),Q!==e){if(I=a,R=ms(),R!==e&&(se=I,R=jn(b,E,R)),I=R,I===e){if(I=a,R=a,K=[],oe=a,ue=a,m++,t.charCodeAt(a)===93?(de=Or,a++):(de=e,m===0&&ae(ti)),de===e&&(t.charCodeAt(a)===91?(de=Ut,a++):(de=e,m===0&&ae(on))),m--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,m===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e),oe!==e)for(;oe!==e;)K.push(oe),oe=a,ue=a,m++,t.charCodeAt(a)===93?(de=Or,a++):(de=e,m===0&&ae(ti)),de===e&&(t.charCodeAt(a)===91?(de=Ut,a++):(de=e,m===0&&ae(on))),m--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,m===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e);else K=e;K!==e?R=t.substring(R,a):R=K,R!==e&&(se=I,R=ri(b,E)),I=R}I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===93?(K=Or,a++):(K=e,m===0&&ae(ti)),K!==e?(se=C,G=Li(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)}else a=C,C=e;else a=C,C=e;if(C===e&&(C=a,t.charCodeAt(a)===60?(G=cr,a++):(G=e,m===0&&ae(Ve)),G!==e?(Q=$e(),Q!==e?(I=ms(),I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===62?(K=Ue,a++):(K=e,m===0&&ae(dt)),K!==e?(se=C,G=ni(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e),C===e)){if(C=a,t.charCodeAt(a)===60?(G=cr,a++):(G=e,m===0&&ae(Ve)),G!==e)if(Q=$e(),Q!==e){if(I=a,R=[],K=a,oe=a,m++,t.charCodeAt(a)===60?(ue=cr,a++):(ue=e,m===0&&ae(Ve)),ue===e&&(t.charCodeAt(a)===62?(ue=Ue,a++):(ue=e,m===0&&ae(dt))),m--,ue===e?oe=void 0:(a=oe,oe=e),oe!==e?(t.length>a?(ue=t.charAt(a),a++):(ue=e,m===0&&ae(c)),ue!==e?(oe=[oe,ue],K=oe):(a=K,K=e)):(a=K,K=e),K!==e)for(;K!==e;)R.push(K),K=a,oe=a,m++,t.charCodeAt(a)===60?(ue=cr,a++):(ue=e,m===0&&ae(Ve)),ue===e&&(t.charCodeAt(a)===62?(ue=Ue,a++):(ue=e,m===0&&ae(dt))),m--,ue===e?oe=void 0:(a=oe,oe=e),oe!==e?(t.length>a?(ue=t.charAt(a),a++):(ue=e,m===0&&ae(c)),ue!==e?(oe=[oe,ue],K=oe):(a=K,K=e)):(a=K,K=e);else R=e;R!==e?I=t.substring(I,a):I=R,I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===62?(K=Ue,a++):(K=e,m===0&&ae(dt)),K!==e?(se=C,G=ji(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)}else a=C,C=e;else a=C,C=e;if(C===e){if(C=a,t.charCodeAt(a)===40?(G=ii,a++):(G=e,m===0&&ae(Bn)),G!==e)if(Q=$e(),Q!==e){if(I=a,R=ms(),R!==e&&(se=I,R=Bi(b,E,R)),I=R,I===e){if(I=a,R=a,K=[],oe=a,ue=a,m++,t.charCodeAt(a)===41?(de=xn,a++):(de=e,m===0&&ae(B)),de===e&&(t.charCodeAt(a)===40?(de=ii,a++):(de=e,m===0&&ae(Bn))),m--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,m===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e),oe!==e)for(;oe!==e;)K.push(oe),oe=a,ue=a,m++,t.charCodeAt(a)===41?(de=xn,a++):(de=e,m===0&&ae(B)),de===e&&(t.charCodeAt(a)===40?(de=ii,a++):(de=e,m===0&&ae(Bn))),m--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,m===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e);else K=e;K!==e?R=t.substring(R,a):R=K,R!==e&&(se=I,R=q(b,E)),I=R}I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===41?(K=xn,a++):(K=e,m===0&&ae(B)),K!==e?(se=C,G=Z(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)}else a=C,C=e;else a=C,C=e;C===e&&(C=a,G=$e(),G!==e&&(se=C,G=ee(b,E)),C=G)}}}C!==e?(G=$e(),G!==e?(se=u,p=re(b,E,C),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function mi(){var u,p,y,b,E,C,G,Q,I,R;for(u=a,p=[],y=Hi();y!==e;)p.push(y),y=Hi();if(p!==e)if(y=ci(),y!==e){if(b=[],E=a,t.charCodeAt(a)===61?(C=tt,a++):(C=e,m===0&&ae(z)),C!==e)if(G=$e(),G!==e){if(Q=[],I=Hi(),I!==e)for(;I!==e;)Q.push(I),I=Hi();else Q=e;Q!==e?(I=$e(),I!==e?(R=ci(),R!==e?(se=E,C=me(p,Q),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;for(;E!==e;)if(b.push(E),E=a,t.charCodeAt(a)===61?(C=tt,a++):(C=e,m===0&&ae(z)),C!==e)if(G=$e(),G!==e){if(Q=[],I=Hi(),I!==e)for(;I!==e;)Q.push(I),I=Hi();else Q=e;Q!==e?(I=$e(),I!==e?(R=ci(),R!==e?(se=E,C=me(p,Q),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;b!==e?(se=u,p=Se(p,b),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function O0(){var u,p,y,b;if(u=a,p=a,y=[],De.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(He)),b!==e)for(;b!==e;)y.push(b),De.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(He));else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=ht(p)),u=p,u}function Lf(){var u,p,y;if(u=a,p=[],qe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(it)),y!==e)for(;y!==e;)p.push(y),qe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(it));else p=e;return p!==e?u=t.substring(u,a):u=p,u}function hs(){var u,p,y,b,E;if(u=a,p=a,vt.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(lt)),y===e&&(y=null),y!==e){if(b=[],qe.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(it)),E!==e)for(;E!==e;)b.push(E),qe.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(it));else b=e;b!==e?(y=[y,b],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function bh(){var u,p;return u=a,t.substr(a,4)===Re?(p=Re,a+=4):(p=e,m===0&&ae(ut)),p!==e&&(se=u,p=Ye()),u=p,u===e&&(u=a,t.substr(a,5)===qr?(p=qr,a+=5):(p=e,m===0&&ae(Ht)),p!==e&&(se=u,p=Gt()),u=p),u}function vh(){var u,p,y,b,E,C;return u=a,p=a,y=hs(),y!==e?(b=a,t.charCodeAt(a)===46?(E=Qe,a++):(E=e,m===0&&ae(zt)),E!==e?(C=Lf(),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e),b===e&&(b=null),b!==e?(Xt.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(br)),E!==e?(C=hs(),C!==e?(y=[y,b,E,C],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u===e&&(u=a,p=a,y=hs(),y!==e?(t.charCodeAt(a)===46?(b=Qe,a++):(b=e,m===0&&ae(zt)),b!==e?(E=Lf(),E!==e?(y=[y,b,E],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p),u}function Gi(){var u,p,y,b,E;if(u=a,Nr.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(vr)),p!==e){for(y=a,b=[],sn.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(Cn));E!==e;)b.push(E),sn.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(Cn));b!==e?y=t.substring(y,a):y=b,y!==e?(Nr.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(vr)),b!==e?(se=u,p=ht(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;if(u===e){if(u=a,An.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Hr)),p!==e){for(y=a,b=[],Gr.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(kr));E!==e;)b.push(E),Gr.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(kr));b!==e?y=t.substring(y,a):y=b,y!==e?(An.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(Hr)),b!==e?(se=u,p=ht(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;u===e&&(u=bh(),u===e&&(u=a,p=vh(),p!==e&&(se=u,p=an(p)),u=p,u===e&&(u=a,p=hs(),p!==e&&(se=u,p=i(p)),u=p)))}return u}function Pa(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue,de,kt,Hn,Br;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ps(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e)if(se=a,G=fe(p,b,C),G?G=void 0:G=e,G!==e){if(Q=[],I=a,R=a,K=$e(),K!==e?R=t.substring(R,a):R=K,R!==e?(K=a,oe=fi(),oe===e&&(oe=a,ue=a,m++,de=Tn(),m--,de===e?ue=void 0:(a=ue,ue=e),ue===e&&(ue=a,m++,de=a,kt=Ui(),kt!==e?(Hn=er(),Hn!==e?(se=a,Br=En(p,b,C,R,Hn),Br?Br=void 0:Br=e,Br!==e?(kt=[kt,Hn,Br],de=kt):(a=de,de=e)):(a=de,de=e)):(a=de,de=e),m--,de===e?ue=void 0:(a=ue,ue=e)),ue!==e?(de=Lr(),de!==e?(kt=fi(),kt===e&&(kt=null),kt!==e?(ue=[ue,de,kt],oe=ue):(a=oe,oe=e)):(a=oe,oe=e)):(a=oe,oe=e)),oe!==e?K=t.substring(K,a):K=oe,K!==e?(se=I,R=pr(p,b,C,R,K),I=R):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,R=a,K=$e(),K!==e?R=t.substring(R,a):R=K,R!==e?(K=a,oe=fi(),oe===e&&(oe=a,ue=a,m++,de=Tn(),m--,de===e?ue=void 0:(a=ue,ue=e),ue===e&&(ue=a,m++,de=a,kt=Ui(),kt!==e?(Hn=er(),Hn!==e?(se=a,Br=En(p,b,C,R,Hn),Br?Br=void 0:Br=e,Br!==e?(kt=[kt,Hn,Br],de=kt):(a=de,de=e)):(a=de,de=e)):(a=de,de=e),m--,de===e?ue=void 0:(a=ue,ue=e)),ue!==e?(de=Lr(),de!==e?(kt=fi(),kt===e&&(kt=null),kt!==e?(ue=[ue,de,kt],oe=ue):(a=oe,oe=e)):(a=oe,oe=e)):(a=oe,oe=e)),oe!==e?K=t.substring(K,a):K=oe,K!==e?(se=I,R=pr(p,b,C,R,K),I=R):(a=I,I=e)):(a=I,I=e);else Q=e;Q!==e?(I=a,R=$e(),R!==e?I=t.substring(I,a):I=R,I!==e?(R=a,K=Ui(),K!==e?(oe=er(),oe!==e?(se=a,ue=ln(p,b,C,Q,I,oe),ue?ue=void 0:ue=e,ue!==e?(de=fi(),de===e&&(de=null),de!==e?(se=R,K=w(p,b,C,Q,I,oe),R=K):(a=R,R=e)):(a=R,R=e)):(a=R,R=e)):(a=R,R=e),R!==e?(se=a,K=wr(p,b,C,Q,I,R),K?K=void 0:K=e,K!==e?(se=u,p=un(p,b,C,Q,I,R),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ki(){var u,p,y,b,E,C,G,Q,I;if(u=a,p=a,m++,y=a,b=$e(),b!==e?(E=Tn(),E===e&&(E=di()),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e),y===e&&(y=pn()),m--,y===e?p=void 0:(a=p,p=e),p!==e){for(y=[],b=qt();b!==e;)y.push(b),b=qt();if(y!==e){if(b=a,E=[],C=a,_n.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,m===0&&ae(yo)),G!==e){for(Q=[],I=qt();I!==e;)Q.push(I),I=qt();Q!==e?(G=[G,Q],C=G):(a=C,C=e)}else a=C,C=e;if(C!==e)for(;C!==e;)if(E.push(C),C=a,_n.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,m===0&&ae(yo)),G!==e){for(Q=[],I=qt();I!==e;)Q.push(I),I=qt();Q!==e?(G=[G,Q],C=G):(a=C,C=e)}else a=C,C=e;else E=e;E!==e?b=t.substring(b,a):b=E,b!==e?(E=pi(),E!==e?(se=u,p=$o(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e}else a=u,u=e;return u}function xr(){var u,p,y,b,E;return u=a,p=a,y=Ki(),y===e&&(y=a,se=a,b=ot(),b?b=void 0:b=e,b!==e?(E=pn(),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e)),y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=Tt()),u=p,u}function jr(){var u,p;return u=a,p=Kt(),p!==e&&(se=u,p=fn(p)),u=p,u}function Fa(){var u,p,y,b,E,C,G,Q,I,R,K;if(u=a,se=a,p=oi(),p?p=void 0:p=e,p!==e){if(y=a,b=[],E=a,C=a,m++,G=Ki(),m--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E!==e)for(;E!==e;)b.push(E),E=a,C=a,m++,G=Ki(),m--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e);else b=e;if(b!==e?y=t.substring(y,a):y=b,y!==e)if(b=a,E=Ki(),E!==e&&(se=b,E=zn(y,E)),b=E,b!==e){if(E=[],C=a,G=a,Q=[],I=a,R=a,m++,K=xr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,R=a,m++,K=xr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);else Q=e;if(Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,I=xr(),I!==e&&(se=Q,I=Dr(y,b,G,I)),Q=I,Q!==e?(se=C,G=Sn(y,b,G,Q),C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=a,G=a,m++,Q=Ki(),m--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,m++,I=xr(),m--,I===e?Q=void 0:(a=Q,Q=e),Q!==e?(I=jr(),I!==e?(se=C,G=J(y,b,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)),C!==e)for(;C!==e;){if(E.push(C),C=a,G=a,Q=[],I=a,R=a,m++,K=xr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,R=a,m++,K=xr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);else Q=e;Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,I=xr(),I!==e&&(se=Q,I=Dr(y,b,G,I)),Q=I,Q!==e?(se=C,G=Sn(y,b,G,Q),C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=a,G=a,m++,Q=Ki(),m--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,m++,I=xr(),m--,I===e?Q=void 0:(a=Q,Q=e),Q!==e?(I=jr(),I!==e?(se=C,G=J(y,b,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e))}else E=e;E!==e?(se=a,C=Pn(y,b,E),C?C=void 0:C=e,C!==e?(se=u,p=si(y,b,E),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e}else a=u,u=e;if(u===e){if(u=a,p=[],y=a,b=a,E=a,C=a,m++,G=xr(),m--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E!==e?b=t.substring(b,a):b=E,b!==e){for(E=[],C=xr();C!==e;)E.push(C),C=xr();E!==e?(se=y,b=ai(b,E),y=b):(a=y,y=e)}else a=y,y=e;if(y!==e)for(;y!==e;)if(p.push(y),y=a,b=a,E=a,C=a,m++,G=xr(),m--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E!==e?b=t.substring(b,a):b=E,b!==e){for(E=[],C=xr();C!==e;)E.push(C),C=xr();E!==e?(se=y,b=ai(b,E),y=b):(a=y,y=e)}else a=y,y=e;else p=e;if(p!==e&&(se=u,p=Mn(p)),u=p,u===e)if(u=[],p=jr(),p!==e)for(;p!==e;)u.push(p),p=jr();else u=e}return u}function Ta(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue,de,kt;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ps(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e)if(se=a,G=bo(p,b,C),G?G=void 0:G=e,G!==e)if(se=a,Q=is(p,b,C),Q?Q=void 0:Q=e,Q!==e){for(I=a,R=[],K=pn();K!==e;)R.push(K),K=pn();if(R!==e)if(K=Fa(),K!==e){for(oe=[],ue=pn();ue!==e;)oe.push(ue),ue=pn();oe!==e?(se=I,R=Vn(p,b,C,K),I=R):(a=I,I=e)}else a=I,I=e;else a=I,I=e;I!==e?(R=a,K=$e(),K!==e?R=t.substring(R,a):R=K,R!==e?(K=a,oe=Ui(),oe!==e?(ue=er(),ue!==e?(se=a,de=ln(p,b,C,I,R,ue),de?de=void 0:de=e,de!==e?(kt=fi(),kt===e&&(kt=null),kt!==e?(se=K,oe=Kr(p,b,C,I,R,ue),K=oe):(a=K,K=e)):(a=K,K=e)):(a=K,K=e)):(a=K,K=e),K!==e?(se=a,oe=wr(p,b,C,I,R,K),oe?oe=void 0:oe=e,oe!==e?(se=u,p=vo(p,b,C,I,R,K),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ia(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ps(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e){if(G=[],Q=a,I=pn(),I===e&&(I=Pa(),I===e&&(I=Ta(),I===e&&(I=Ia(),I===e&&(I=La(),I===e&&(I=ja(),I===e&&(I=Ba(),I===e&&(I=Da(),I===e&&(I=Ra(),I===e&&(I=Oa(),I===e&&(I=qa(),I===e&&(I=Na()))))))))))),I!==e&&(se=Q,I=ko(p,b,C,I)),Q=I,Q===e){for(Q=a,I=a,R=[],K=qt();K!==e;)R.push(K),K=qt();if(R!==e?I=t.substring(I,a):I=R,I!==e){if(R=a,K=[],oe=Kt(),oe!==e)for(;oe!==e;)K.push(oe),oe=Kt();else K=e;K!==e?R=t.substring(R,a):R=K,R!==e?(se=Q,I=wo(p,b,C,I,R),Q=I):(a=Q,Q=e)}else a=Q,Q=e}for(;Q!==e;)if(G.push(Q),Q=a,I=pn(),I===e&&(I=Pa(),I===e&&(I=Ta(),I===e&&(I=Ia(),I===e&&(I=La(),I===e&&(I=ja(),I===e&&(I=Ba(),I===e&&(I=Da(),I===e&&(I=Ra(),I===e&&(I=Oa(),I===e&&(I=qa(),I===e&&(I=Na()))))))))))),I!==e&&(se=Q,I=ko(p,b,C,I)),Q=I,Q===e){for(Q=a,I=a,R=[],K=qt();K!==e;)R.push(K),K=qt();if(R!==e?I=t.substring(I,a):I=R,I!==e){if(R=a,K=[],oe=Kt(),oe!==e)for(;oe!==e;)K.push(oe),oe=Kt();else K=e;K!==e?R=t.substring(R,a):R=K,R!==e?(se=Q,I=wo(p,b,C,I,R),Q=I):(a=Q,Q=e)}else a=Q,Q=e}G!==e?(Q=a,I=$e(),I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(I=a,R=Ui(),R!==e?(K=er(),K!==e?(se=a,oe=ln(p,b,C,G,Q,K),oe?oe=void 0:oe=e,oe!==e?(ue=fi(),ue===e&&(ue=null),ue!==e?(se=I,R=os(p,b,C,G,Q,K),I=R):(a=I,I=e)):(a=I,I=e)):(a=I,I=e)):(a=I,I=e),I!==e?(se=a,R=wr(p,b,C,G,Q,I),R?R=void 0:R=e,R!==e?(se=u,p=va(p,b,C,G,Q,I),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function kh(){var u,p,y;if(u=a,p=[],y=Kt(),y!==e)for(;y!==e;)p.push(y),y=Kt();else p=e;return p!==e&&(se=u,p=ss()),u=p,u}function q0(){var u,p,y,b;if(u=a,p=[],y=a,b=Pr(),b!==e&&(se=y,b=Fn()),y=b,y===e){if(y=[],Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(Un)),b!==e)for(;b!==e;)y.push(b),Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(Un));else y=e;y===e&&(y=Kt())}if(y!==e){for(;y!==e;)if(p.push(y),y=a,b=Pr(),b!==e&&(se=y,b=Fn()),y=b,y===e){if(y=[],Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(Un)),b!==e)for(;b!==e;)y.push(b),Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,m===0&&ae(Un));else y=e;y===e&&(y=Kt())}}else p=e;return p!==e&&(se=u,p=li(p)),u=p,u}function Oa(){var u,p,y,b,E,C,G,Q,I,R,K,oe;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,m++,b=Tn(),m--,b===e?y=void 0:(a=y,y=e),y!==e)if(b=di(),b!==e)if(E=$e(),E!==e)if(C=Pr(),C===e&&(C=null),C!==e)if(se=a,G=Rr(p,b),G?G=void 0:G=e,G!==e){for(Q=a,I=[],R=a,K=a,m++,oe=Pr(),m--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);R!==e;)I.push(R),R=a,K=a,m++,oe=Pr(),m--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(se=u,p=ka(p,b,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function qa(){var u,p,y,b,E,C,G,Q,I;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=a,m++,b=Tn(),m--,b===e?y=void 0:(a=y,y=e),y!==e?(b=di(),b!==e?(E=$e(),E!==e?(C=Pr(),C===e&&(C=null),C!==e?(se=a,G=as(p,b),G?G=void 0:G=e,G!==e?(se=a,Q=cn(p,b),Q?Q=void 0:Q=e,Q!==e?(I=Fa(),I!==e?(se=u,p=ui(p,b,I),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Na(){var u,p,y,b,E,C,G,Q,I,R,K;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,m++,b=Tn(),m--,b===e?y=void 0:(a=y,y=e),y!==e)if(b=di(),b!==e)if(E=$e(),E!==e)if(C=Pr(),C===e&&(C=hh()),C!==e){for(G=a,Q=[],I=a,R=a,m++,K=Pr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);I!==e;)Q.push(I),I=a,R=a,m++,K=Pr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(se=u,p=wa(p,b,C,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function wh(){var u,p,y,b,E,C,G,Q,I,R,K;for(u=a,p=[],y=Lr();y!==e;)p.push(y),y=Lr();if(p!==e)if(y=ci(),y!==e){if(b=[],E=a,C=$e(),C!==e)if(t.substr(a,2)===zi?(G=zi,a+=2):(G=e,m===0&&ae(ls)),G!==e)if(Q=$e(),Q!==e){if(I=[],R=Lr(),R!==e)for(;R!==e;)I.push(R),R=Lr();else I=e;I!==e?(R=$e(),R!==e?(K=ci(),K!==e?(se=E,C=me(p,I),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;else a=E,E=e;for(;E!==e;)if(b.push(E),E=a,C=$e(),C!==e)if(t.substr(a,2)===zi?(G=zi,a+=2):(G=e,m===0&&ae(ls)),G!==e)if(Q=$e(),Q!==e){if(I=[],R=Lr(),R!==e)for(;R!==e;)I.push(R),R=Lr();else I=e;I!==e?(R=$e(),R!==e?(K=ci(),K!==e?(se=E,C=me(p,I),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;else a=E,E=e;b!==e?(se=u,p=Se(p,b),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function Da(){var u,p,y,b,E,C,G;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,6)===te?(y=te,a+=6):(y=e,m===0&&ae(At)),y!==e?(b=$e(),b!==e?(E=a,C=za(),C!==e?E=t.substring(E,a):E=C,E!==e?(C=$e(),C!==e?(G=wh(),G!==e?(se=u,p=Mi(p,y,E,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Ra(){var u,p,y,b,E,C,G,Q;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,7)===_e?(y=_e,a+=7):(y=e,m===0&&ae(st)),y!==e?(b=$e(),b!==e?(E=a,C=er(),C===e&&(C=a,xa.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,m===0&&ae(Ca)),G!==e?(t.substr(a,2)===us?(Q=us,a+=2):(Q=e,m===0&&ae(Aa)),Q!==e?(G=[G,Q],C=G):(a=C,C=e)):(a=C,C=e)),C!==e?E=t.substring(E,a):E=C,E!==e?(C=$e(),C!==e?(G=mi(),G!==e?(se=u,p=Ea(p,y,E,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function La(){var u,p,y,b,E,C,G,Q,I,R,K,oe;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ds(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e)if(se=a,G=_a(p,y,b,C),G?G=void 0:G=e,G!==e){for(Q=a,I=[],R=a,K=a,m++,oe=Pr(),m--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);R!==e;)I.push(R),R=a,K=a,m++,oe=Pr(),m--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(se=u,p=fs(p,y,b,C,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function ja(){var u,p,y,b,E,C,G,Q,I;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=ds(),y!==e?(b=er(),b!==e?(E=$e(),E!==e?(C=mi(),C!==e?(se=a,G=cs(p,y,b,C),G?G=void 0:G=e,G!==e?(se=a,Q=Sa(p,y,b,C),Q?Q=void 0:Q=e,Q!==e?(I=Fa(),I!==e?(se=u,p=Wr(p,y,b,C,I),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Ba(){var u,p,y,b,E,C,G,Q,I,R,K;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ds(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e){for(G=a,Q=[],I=a,R=a,m++,K=Pr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);I!==e;)Q.push(I),I=a,R=a,m++,K=Pr(),m--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(se=u,p=_t(p,y,b,C,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function za(){var u,p,y,b,E;if(u=a,p=a,Pe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,m===0&&ae(Vi)),y!==e){if(b=[],ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(fr)),E!==e)for(;E!==e;)b.push(E),ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,m===0&&ae(fr));else b=e;b!==e?(y=[y,b],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function N0(){var u,p;for(m++,u=[],jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Sr));p!==e;)u.push(p),jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Sr));return m--,u===e&&(p=e,m===0&&ae(Sf)),u}function D0(){var u,p;for(m++,u=[],jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Sr));p!==e;)u.push(p),jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,m===0&&ae(Sr));return m--,u===e&&(p=e,m===0&&ae(ft)),u}function gs(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Wi(u){return u.reduce((p,y)=>Array.isArray(y)?p.concat(Wi(y)):p.concat(y),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||gs(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(A=o(),A!==e&&a===t.length)return A;throw A!==e&&a<t.length&&ae(U()),Pf(F,$<t.length?t.charAt($):null,$<t.length?xo($,$+1):xo($,$))}yd.exports={SyntaxError:Si,parse:jv}});var kd=ge((Vx,vd)=>{"use strict";function zv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Pi(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Pi)}zv(Pi,Error);Pi.buildMessage=function(t,r){var e={literal:function(g){return'"'+o(g.text)+'"'},class:function(g){var h="",v;for(v=0;v<g.parts.length;v++)h+=g.parts[v]instanceof Array?s(g.parts[v][0])+"-"+s(g.parts[v][1]):s(g.parts[v]);return"["+(g.inverted?"^":"")+h+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function n(g){return g.charCodeAt(0).toString(16).toUpperCase()}function o(g){return 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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function s(g){return g.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(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function l(g){return e[g.type](g)}function f(g){var h=new Array(g.length),v,x;for(v=0;v<g.length;v++)h[v]=l(g[v]);if(h.sort(),h.length>0){for(v=1,x=1;v<h.length;v++)h[v-1]!==h[v]&&(h[x]=h[v],x++);h.length=x}switch(h.length){case 1:return h[0];case 2:return h[0]+" or "+h[1];default:return h.slice(0,-1).join(", ")+", or "+h[h.length-1]}}function c(g){return g?'"'+o(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mv(t,r){r=r!==void 0?r:{};var e={},n={Expression:ai},o=ai,s="A",l=ot("A",!1),f="V",c=ot("V",!1),g="R",h=ot("R",!1),v="B",x=ot("B",!1),k="I",_=ot("I",!1),O="C",D=ot("C",!1),M="D",X=ot("D",!1),le="E",ve=ot("E",!1),ye="K",ie=ot("K",!1),ke="L",Ee=ot("L",!1),xe="S",ze=ot("S",!1),Fe="T",Te=ot("T",!1),he="F",_e=ot("F",!1),st="U",te=ot("U",!1),At="Z",Je=ot("Z",!1),$t="N",tt=ot("N",!1),z="X",V=ot("X",!1),Qt=/^[a-zA-Z]/,Bt=Tt([["a","z"],["A","Z"]],!1,!1),wt=/^[a-zA-Z0-9_\-]/,Pt=Tt([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Et=/^[ \t\f]/,at=Tt([" "," ","\f"],!1,!1),_r=function(d){return!(r.allowed||[]).length||(r.allowed||[]).includes(d)},be=fn(),$r=function(d){return d},ur=function(d){return d==="A"},fr=function(d,$){return{content:$,type:"fcode",name:d}},Yt=function(d){return d==="D"},Rn=function(d,$,F){return a(F)},Ln=function(d,$,F){return{content:$,type:"fcode",name:d,synonyms:F}},vn=function(d){return d==="V"},kn=function(d,$){return{content:$,type:"fcode",name:d}},We="<",Ne=ot("<",!1),Ze=">",bt=ot(">",!1),cr=function(){return un()},Ve="\xAB",Ue=ot("\xAB",!1),dt="\xBB",rt=ot("\xBB",!1),ne=function(d){return d},ce=function(d){return d.code==="C"},we=function(d,$){return $===d.end_tag},Ae=function(d,$){return $},Rt=function(d,$,F){return F===d.end_tag},Vr=function(d,$,F){return{content:$,type:"fcode",name:d.code}},nt="|",xt=ot("|",!1),Ft=function(d){return d},Ur=function(d){return d.code==="L"},mt=function(d,$,F){return F},wn=function(d,$,F,m){return m===d.end_tag},Ut=function(d,$,F,m){return{content:$,type:"fcode",name:d.code,meta:F}},on=";",jn=ot(";",!1),Or=/^[ \xA0\u2001\t\f\u2008]/,ti=Tt([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),ri=function(d,$){return a([d,$])},Li=function(d){return[d]},ni=function(d){return d==="X"},ji=function(d,$,F){return{content:$,type:"fcode",name:d,entry:F}},ii=function(d){return d==="S"},Bn=function(d){return d==="Z"},Bi=/^[0-9]/,xn=Tt([["0","9"]],!1,!1),B="0d",q=ot("0d",!1),Z=function(d){return parseInt(d,10)},ee="0o",re=ot("0o",!1),me=function(d){return parseInt(d,8)},Se="0b",De=ot("0b",!1),He=function(d){return parseInt(d,2)},ht="0x",qe=ot("0x",!1),it=/^[0-9A-Fa-f]/,vt=Tt([["0","9"],["A","F"],["a","f"]],!1,!1),lt=function(){return parseInt(un())},Re=/^[A-Z ]/,ut=Tt([["A","Z"]," "],!1,!1),Ye=function(){return un()===un().toUpperCase()},qr=/^[a-z]/,Ht=Tt([["a","z"]],!1,!1),Gt=/^[a-z0-9]/,Qe=Tt([["a","z"],["0","9"]],!1,!1),zt=function(d){return un()},Xt=function(d){return{type:"number",value:parseInt(d,10)}},br=function(d){return{type:"unicode_name",value:d}},Nr=function(d){return{type:"html_named",value:d}},vr=function(d){return d==="E"},sn=function(d,$){return a($)},Cn=function(d,$){return{content:$||[],type:"fcode",name:d}},An=function(d){return d},Hr=function(d,$){return{code:d,begin_tag:$,end_tag:se($)}},Gr=function(d){return d.code!=="C"},kr=function(d,$,F){return F===d.end_tag},an=function(d,$,F){return{content:$,type:"fcode",name:d.code}},i=0,fe=0,En=[{line:1,column:1}],pr=0,ln=[],w=0,wr;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');o=n[r.startRule]}function un(){return t.substring(fe,i)}function _n(){return Sn(fe,i)}function yo(d,$){throw $=$!==void 0?$:Sn(fe,i),si([zn(d)],t.substring(fe,i),$)}function $o(d,$){throw $=$!==void 0?$:Sn(fe,i),Pn(d,$)}function ot(d,$){return{type:"literal",text:d,ignoreCase:$}}function Tt(d,$,F){return{type:"class",parts:d,inverted:$,ignoreCase:F}}function fn(){return{type:"any"}}function oi(){return{type:"end"}}function zn(d){return{type:"other",description:d}}function Dr(d){var $=En[d],F;if($)return $;for(F=d-1;!En[F];)F--;for($=En[F],$={line:$.line,column:$.column};F<d;)t.charCodeAt(F)===10?($.line++,$.column=1):$.column++,F++;return En[d]=$,$}function Sn(d,$){var F=Dr(d),m=Dr($);return{start:{offset:d,line:F.line,column:F.column},end:{offset:$,line:m.line,column:m.column}}}function J(d){i<pr||(i>pr&&(pr=i,ln=[]),ln.push(d))}function Pn(d,$){return new Pi(d,null,null,$)}function si(d,$,F){return new Pi(Pi.buildMessage(d,$),d,$,F)}function ai(){var d,$;for(d=[],$=Mn(),$===e&&($=Vi(),$===e&&($=jt(),$===e&&($=vo())));$!==e;)d.push($),$=Mn(),$===e&&($=Vi(),$===e&&($=jt(),$===e&&($=vo())));return d}function Mn(){var d;return d=wo(),d===e&&(d=zi(),d===e&&(d=Un(),d===e&&(d=os(),d===e&&(d=Sa(),d===e&&(d=va(),d===e&&(d=ka(),d===e&&(d=wa(),d===e&&(d=ls())))))))),d}function bo(){var d;return t.charCodeAt(i)===65?(d=s,i++):(d=e,w===0&&J(l)),d===e&&(t.charCodeAt(i)===86?(d=f,i++):(d=e,w===0&&J(c)),d===e&&(t.charCodeAt(i)===82?(d=g,i++):(d=e,w===0&&J(h)),d===e&&(t.charCodeAt(i)===66?(d=v,i++):(d=e,w===0&&J(x)),d===e&&(t.charCodeAt(i)===73?(d=k,i++):(d=e,w===0&&J(_)),d===e&&(t.charCodeAt(i)===67?(d=O,i++):(d=e,w===0&&J(D)),d===e&&(t.charCodeAt(i)===68?(d=M,i++):(d=e,w===0&&J(X)),d===e&&(t.charCodeAt(i)===69?(d=le,i++):(d=e,w===0&&J(ve)),d===e&&(t.charCodeAt(i)===75?(d=ye,i++):(d=e,w===0&&J(ie)),d===e&&(t.charCodeAt(i)===76?(d=ke,i++):(d=e,w===0&&J(Ee)),d===e&&(t.charCodeAt(i)===83?(d=xe,i++):(d=e,w===0&&J(ze)),d===e&&(t.charCodeAt(i)===84?(d=Fe,i++):(d=e,w===0&&J(Te)),d===e&&(t.charCodeAt(i)===70?(d=he,i++):(d=e,w===0&&J(_e)),d===e&&(t.charCodeAt(i)===85?(d=st,i++):(d=e,w===0&&J(te)),d===e&&(t.charCodeAt(i)===90?(d=At,i++):(d=e,w===0&&J(Je)),d===e&&(t.charCodeAt(i)===78?(d=$t,i++):(d=e,w===0&&J(tt)),d===e&&(t.charCodeAt(i)===88?(d=z,i++):(d=e,w===0&&J(V)))))))))))))))))),d}function is(){var d,$,F,m,A;if(d=i,$=i,Qt.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,w===0&&J(Bt)),F!==e){if(m=[],wt.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,w===0&&J(Pt)),A!==e)for(;A!==e;)m.push(A),wt.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,w===0&&J(Pt));else m=e;m!==e?(F=[F,m],$=F):(i=$,$=e)}else i=$,$=e;return $!==e?d=t.substring(d,i):d=$,d}function Vn(){var d,$;for(d=[],Et.test(t.charAt(i))?($=t.charAt(i),i++):($=e,w===0&&J(at));$!==e;)d.push($),Et.test(t.charAt(i))?($=t.charAt(i),i++):($=e,w===0&&J(at));return d}function Kr(){var d,$,F;return d=i,$=bo(),$!==e?(fe=i,F=_r($),F?F=void 0:F=e,F!==e?($=[$,F],d=$):(i=d,d=e)):(i=d,d=e),d}function vo(){var d,$;return d=i,t.length>i?($=t.charAt(i),i++):($=e,w===0&&J(be)),$!==e?d=t.substring(d,i):d=$,d}function ko(){var d,$,F,m,A;return d=i,$=i,w++,F=Pe(),w--,F===e?$=void 0:(i=$,$=e),$!==e?(F=Vn(),F!==e?(m=i,A=is(),A===e&&(A=null),A!==e?m=t.substring(m,i):m=A,m!==e?(A=Vn(),A!==e?(fe=d,$=$r(m),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=null),d}function wo(){var d,$,F,m,A;return d=i,$=Wr(),$!==e?(fe=i,F=ur($),F?F=void 0:F=e,F!==e?(m=ko(),m!==e?(A=Pe(),A!==e?(fe=d,$=fr($,m),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function os(){var d,$,F,m,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=Yt($),F?F=void 0:F=e,F!==e){if(m=[],A=Rr(),A!==e)for(;A!==e;)m.push(A),A=Rr();else m=e;if(m!==e){if(A=i,T=li(),T!==e){for(N=[],P=ui();P!==e;)N.push(P),P=ui();N!==e?(fe=A,T=Rn($,m,N),A=T):(i=A,A=e)}else i=A,A=e;A===e&&(A=null),A!==e?(T=Pe(),T!==e?(fe=d,$=Ln($,m,A),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function va(){var d,$,F,m,A,T;if(d=i,$=Wr(),$!==e)if(fe=i,F=vn($),F?F=void 0:F=e,F!==e){if(m=i,A=[],T=Lt(),T!==e)for(;T!==e;)A.push(T),T=Lt();else A=e;A!==e?m=t.substring(m,i):m=A,m!==e?(A=Pe(),A!==e?(fe=d,$=kn($,m),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function ss(){var d;return t.charCodeAt(i)===66?(d=v,i++):(d=e,w===0&&J(x)),d}function Fn(){var d,$,F,m,A;return d=i,$=i,F=i,w++,m=ss(),w--,m===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,w===0&&J(be)),m!==e?(F=[F,m],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===60?(F=We,i++):(F=e,w===0&&J(Ne)),F!==e?(m=Sr(),m!==e?(t.charCodeAt(i)===62?(A=Ze,i++):(A=e,w===0&&J(bt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=i,F=i,w++,m=ss(),w--,m===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,w===0&&J(be)),m!==e?(F=[F,m],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===171?(F=Ve,i++):(F=e,w===0&&J(Ue)),F!==e?(m=Sr(),m!==e?(t.charCodeAt(i)===187?(A=dt,i++):(A=e,w===0&&J(rt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function Lt(){var d,$,F,m,A,T,N,P;if(d=i,$=i,F=[],m=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=Fn(),m===e&&(m=Sr()))),m!==e)for(;m!==e;)F.push(m),m=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=Fn(),m===e&&(m=Sr())));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=ne($)),d=$,d}function Un(){var d,$,F,m,A,T,N,P,L,H,S,Y,U,j,W;if(d=i,$=_t(),$!==e)if(fe=i,F=ce($),F?F=void 0:F=e,F!==e){if(m=[],A=i,T=i,N=[],P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;if(N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T,A!==e)for(;A!==e;){if(m.push(A),A=i,T=i,N=[],P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T}else m=e;m!==e?(A=Pe(),A!==e?(fe=i,T=Rt($,m,A),T?T=void 0:T=e,T!==e?(fe=d,$=Vr($,m,A),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function li(){var d;return t.charCodeAt(i)===124?(d=nt,i++):(d=e,w===0&&J(xt)),d}function Rr(){var d,$,F,m,A,T,N,P,L;if(d=i,$=i,F=[],m=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Rr(),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Rr(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,A=i,w++,T=li(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=Pe(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Wr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(P=i,w++,L=ft(),w--,L===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,w===0&&J(be)),L!==e?(A=[A,T,N,P,L],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e))),m!==e)for(;m!==e;)F.push(m),m=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Rr(),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Rr(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,A=i,w++,T=li(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=Pe(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Wr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(P=i,w++,L=ft(),w--,L===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,w===0&&J(be)),L!==e?(A=[A,T,N,P,L],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=Ft($)),d=$,d}function ka(){var d,$,F,m,A,T,N,P,L,H,S;if(d=i,$=_t(),$!==e)if(fe=i,F=Ur($),F?F=void 0:F=e,F!==e){if(m=[],A=Un(),A===e&&(A=Rr()),A!==e)for(;A!==e;)m.push(A),A=Un(),A===e&&(A=Rr());else m=e;if(m!==e){if(A=i,T=li(),T!==e){for(N=i,P=[],L=i,H=i,w++,S=Pe(),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e);L!==e;)P.push(L),L=i,H=i,w++,S=Pe(),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e);P!==e?N=t.substring(N,i):N=P,N!==e?(fe=A,T=mt($,m,N),A=T):(i=A,A=e)}else i=A,A=e;A===e&&(A=null),A!==e?(T=Pe(),T!==e?(fe=i,N=wn($,m,A,T),N?N=void 0:N=e,N!==e?(fe=d,$=Ut($,m,A,T),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function as(){var d,$,F,m,A,T;if(d=i,$=[],F=i,m=i,w++,t.charCodeAt(i)===59?(A=on,i++):(A=e,w===0&&J(jn)),w--,A===e?m=void 0:(i=m,m=e),m!==e?(A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,w===0&&J(be)),T!==e?(m=[m,A,T],F=m):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)$.push(F),F=i,m=i,w++,t.charCodeAt(i)===59?(A=on,i++):(A=e,w===0&&J(jn)),w--,A===e?m=void 0:(i=m,m=e),m!==e?(A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,w===0&&J(be)),T!==e?(m=[m,A,T],F=m):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else $=e;return $!==e?d=t.substring(d,i):d=$,d}function cn(){var d;return Or.test(t.charAt(i))?(d=t.charAt(i),i++):(d=e,w===0&&J(ti)),d}function ui(){var d,$,F,m,A,T;if(d=i,$=as(),$!==e){for(F=[],m=cn();m!==e;)F.push(m),m=cn();if(F!==e)if(t.charCodeAt(i)===59?(m=on,i++):(m=e,w===0&&J(jn)),m!==e){for(A=[],T=cn();T!==e;)A.push(T),T=cn();A!==e?(T=ui(),T!==e?(fe=d,$=ri($,T),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,$=as(),$!==e&&(fe=d,$=Li($)),d=$),d}function wa(){var d,$,F,m,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=ni($),F?F=void 0:F=e,F!==e){for(m=[],A=Rr();A!==e;)m.push(A),A=Rr();if(m!==e){if(A=i,T=li(),T!==e){for(N=[],P=ui();P!==e;)N.push(P),P=ui();N!==e?(fe=A,T=Rn($,m,N),A=T):(i=A,A=e)}else i=A,A=e;A===e&&(A=null),A!==e?(T=Pe(),T!==e?(fe=d,$=ji($,m,A),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function zi(){var d,$,F,m,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=ii($),F?F=void 0:F=e,F!==e){for(m=i,A=[],T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);T!==e;)A.push(T),T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);A!==e?m=t.substring(m,i):m=A,m!==e?(A=Pe(),A!==e?(fe=d,$=fr($,m),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function ls(){var d,$,F,m,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=Bn($),F?F=void 0:F=e,F!==e){for(m=i,A=[],T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);T!==e;)A.push(T),T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);A!==e?m=t.substring(m,i):m=A,m!==e?(A=Pe(),A!==e?(fe=d,$=fr($,m),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function Mi(){var d,$,F;if(d=i,$=[],Bi.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,w===0&&J(xn)),F!==e)for(;F!==e;)$.push(F),Bi.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,w===0&&J(xn));else $=e;return $!==e?d=t.substring(d,i):d=$,d}function xa(){var d,$,F;return d=i,t.substr(i,2)===B?($=B,i+=2):($=e,w===0&&J(q)),$!==e?(F=Mi(),F!==e?(fe=d,$=Z(F),d=$):(i=d,d=e)):(i=d,d=e),d}function Ca(){var d,$,F;return d=i,t.substr(i,2)===ee?($=ee,i+=2):($=e,w===0&&J(re)),$!==e?(F=Mi(),F!==e?(fe=d,$=me(F),d=$):(i=d,d=e)):(i=d,d=e),d}function us(){var d,$,F;return d=i,t.substr(i,2)===Se?($=Se,i+=2):($=e,w===0&&J(De)),$!==e?(F=Mi(),F!==e?(fe=d,$=He(F),d=$):(i=d,d=e)):(i=d,d=e),d}function Aa(){var d,$,F,m,A,T;if(d=i,$=i,F=i,t.substr(i,2)===ht?(m=ht,i+=2):(m=e,w===0&&J(qe)),m!==e){if(A=[],it.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(vt)),T!==e)for(;T!==e;)A.push(T),it.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(vt));else A=e;A!==e?(m=[m,A],F=m):(i=F,F=e)}else i=F,F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=lt()),d=$,d}function Ea(){var d,$,F,m;if(d=i,$=i,F=[],Re.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,w===0&&J(ut)),m!==e)for(;m!==e;)F.push(m),Re.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,w===0&&J(ut));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e?(fe=i,F=Ye(),F?F=void 0:F=e,F!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e),d}function _a(){var d,$,F,m,A,T;if(d=i,$=i,F=i,qr.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,w===0&&J(Ht)),m!==e){if(A=[],Gt.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(Qe)),T!==e)for(;T!==e;)A.push(T),Gt.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(Qe));else A=e;A!==e?(m=[m,A],F=m):(i=F,F=e)}else i=F,F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=zt($)),d=$,d}function fs(){var d,$,F;return d=i,$=Vn(),$!==e?(F=Ca(),F===e&&(F=xa(),F===e&&(F=us(),F===e&&(F=Aa(),F===e&&(F=Mi())))),F!==e?(fe=d,$=Xt(F),d=$):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=Vn(),$!==e?(F=Ea(),F!==e?(fe=d,$=br(F),d=$):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=Vn(),$!==e?(F=_a(),F!==e?(fe=d,$=Nr(F),d=$):(i=d,d=e)):(i=d,d=e))),d}function cs(){var d,$,F,m,A,T;if(d=i,$=fs(),$!==e){for(F=[],m=cn();m!==e;)F.push(m),m=cn();if(F!==e)if(t.charCodeAt(i)===59?(m=on,i++):(m=e,w===0&&J(jn)),m!==e){for(A=[],T=cn();T!==e;)A.push(T),T=cn();A!==e?(T=cs(),T!==e?(fe=d,$=ri($,T),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,$=fs(),$!==e&&(fe=d,$=Li($)),d=$),d}function Sa(){var d,$,F,m,A;return d=i,$=Wr(),$!==e?(fe=i,F=vr($),F?F=void 0:F=e,F!==e?(m=i,A=cs(),A!==e&&(fe=m,A=sn($,A)),m=A,m===e&&(m=null),m!==e?(A=Pe(),A!==e?(fe=d,$=Cn($,m),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Wr(){var d,$,F;return d=i,$=i,F=Kr(),F!==e?$=t.substring($,i):$=F,$!==e?(t.charCodeAt(i)===60?(F=We,i++):(F=e,w===0&&J(Ne)),F!==e?(fe=d,$=An($),d=$):(i=d,d=e)):(i=d,d=e),d}function _t(){var d,$,F,m;return d=i,$=i,F=Kr(),F!==e?$=t.substring($,i):$=F,$!==e?(F=i,t.charCodeAt(i)===60?(m=We,i++):(m=e,w===0&&J(Ne)),m===e&&(t.charCodeAt(i)===171?(m=Ve,i++):(m=e,w===0&&J(Ue))),m!==e?F=t.substring(F,i):F=m,F!==e?(fe=d,$=Hr($,F),d=$):(i=d,d=e)):(i=d,d=e),d}function Pe(){var d;return t.charCodeAt(i)===62?(d=Ze,i++):(d=e,w===0&&J(bt)),d===e&&(t.charCodeAt(i)===187?(d=dt,i++):(d=e,w===0&&J(rt))),d}function Vi(){var d,$,F,m,A,T,N,P,L,H,S,Y,U,j,W;if(d=i,$=_t(),$!==e)if(fe=i,F=Gr($),F?F=void 0:F=e,F!==e){if(m=[],A=Mn(),A===e&&(A=Vi(),A===e)){if(A=i,T=i,N=[],P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T}for(;A!==e;)if(m.push(A),A=Mn(),A===e&&(A=Vi(),A===e)){if(A=i,T=i,N=[],P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T}m!==e?(A=Pe(),A!==e?(fe=i,T=kr($,m,A),T?T=void 0:T=e,T!==e?(fe=d,$=an($,m,A),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function Sf(){var d,$,F,m,A;for(d=i,$=[],F=i,m=i,w++,A=Pe(),w--,A===e?m=void 0:(i=m,m=e),m!==e?(t.length>i?(A=t.charAt(i),i++):(A=e,w===0&&J(be)),A!==e?(m=[m,A],F=m):(i=F,F=e)):(i=F,F=e);F!==e;)$.push(F),F=i,m=i,w++,A=Pe(),w--,A===e?m=void 0:(i=m,m=e),m!==e?(t.length>i?(A=t.charAt(i),i++):(A=e,w===0&&J(be)),A!==e?(m=[m,A],F=m):(i=F,F=e)):(i=F,F=e);return $!==e?d=t.substring(d,i):d=$,d}function jt(){var d,$,F,m,A,T,N;if(d=i,$=i,F=[],m=i,t.charCodeAt(i)===60?(A=We,i++):(A=e,w===0&&J(Ne)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===62?(N=Ze,i++):(N=e,w===0&&J(bt)),N!==e?(A=[A,T,N],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,t.charCodeAt(i)===171?(A=Ve,i++):(A=e,w===0&&J(Ue)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===187?(N=dt,i++):(N=e,w===0&&J(rt)),N!==e?(A=[A,T,N],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=ft(),m===e&&(m=Sr()))),m!==e)for(;m!==e;)F.push(m),m=i,t.charCodeAt(i)===60?(A=We,i++):(A=e,w===0&&J(Ne)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===62?(N=Ze,i++):(N=e,w===0&&J(bt)),N!==e?(A=[A,T,N],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,t.charCodeAt(i)===171?(A=Ve,i++):(A=e,w===0&&J(Ue)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===187?(N=dt,i++):(N=e,w===0&&J(rt)),N!==e?(A=[A,T,N],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=ft(),m===e&&(m=Sr())));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=ne($)),d=$,d}function Sr(){var d,$,F,m,A,T,N,P;if(d=i,$=i,F=[],m=i,A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=_t(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=ft(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m!==e)for(;m!==e;)F.push(m),m=i,A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=_t(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=ft(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(A=[A,T,N,P],m=A):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e);else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=ne($)),d=$,d}function ft(){var d,$,F,m,A;return d=i,$=i,F=i,w++,m=Kr(),w--,m===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,w===0&&J(be)),m!==e?(F=[F,m],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===60?(F=We,i++):(F=e,w===0&&J(Ne)),F!==e?(m=Sr(),m!==e?(t.charCodeAt(i)===62?(A=Ze,i++):(A=e,w===0&&J(bt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=i,F=i,w++,m=Kr(),w--,m===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(m=t.charAt(i),i++):(m=e,w===0&&J(be)),m!==e?(F=[F,m],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===171?(F=Ve,i++):(F=e,w===0&&J(Ue)),F!==e?(m=Sr(),m!==e?(t.charCodeAt(i)===187?(A=dt,i++):(A=e,w===0&&J(rt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function a(d){return d.reduce(($,F)=>Array.isArray(F)?$.concat(a(F)):$.concat(F),[])}function se(d){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[d]}if(wr=o(),wr!==e&&i===t.length)return wr;throw wr!==e&&i<t.length&&J(oi()),si(ln,pr<t.length?t.charAt(pr):null,pr<t.length?Sn(pr,pr+1):Sn(pr,pr))}vd.exports={SyntaxError:Pi,parse:Mv}});var Pd=ge((gC,Hv)=>{Hv.exports={name:"@podlite/schema",version:"0.0.28",description:"AST tools for Podlite markup language",main:"./src/index.ts",license:"MIT",funding:{type:"opencollective",url:"https://opencollective.com/podlite"},files:["lib/**/*.js","lib/**/*.d.ts","esm","schema/*","README.md","CHANGELOG.md"],engines:{node:">=14"},engineStrict:!0,publishConfig:{access:"public",main:"lib/index.js",types:"./lib/index.d.ts",module:"./esm/index.js"},scripts:{clean:"rm -rf lib esm *.tsbuildinfo",build:"run-s build:pegjs build_lib build:ast ",build_lib:"yarn g:build","build:ast":"ts-node scripts/make-ast-scheme.ts","build:pegjs":"pegjs -o src/grammar.js src/grammar.pegjs && pegjs -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegjs --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["markdown","podlite","markup","markup-language"],dependencies:{ajv:"^7.2.3",events:"^3.1.0","json-pointer":"^0.6.1",nanoid:"3.1.30",slugify:"^1.6.6"},devDependencies:{"@types/node":"^17.0.7",glob:"^7.2.0","npm-run-all":"^4.1.5",pegjs:"^0.10.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=ge((QC,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Md=ge((YC,zd)=>{"use strict";var ea=Object.prototype.hasOwnProperty,Bd=Object.prototype.toString,qd=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Dd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Bd.call(r)==="[object Array]"},Rd=function(r){if(!r||Bd.call(r)!=="[object Object]")return!1;var e=ea.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&ea.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!n)return!1;var o;for(o in r);return typeof o>"u"||ea.call(r,o)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(ea.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};zd.exports=function t(){var r,e,n,o,s,l,f=arguments[0],c=1,g=arguments.length,h=!1;for(typeof f=="boolean"&&(h=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<g;++c)if(r=arguments[c],r!=null)for(e in r)n=jd(f,e),o=jd(r,e),f!==o&&(h&&o&&(Rd(o)||(s=Dd(o)))?(s?(s=!1,l=n&&Dd(n)?n:[]):l=n&&Rd(n)?n:{},Ld(f,{name:e,newValue:t(h,l,o)})):typeof o<"u"&&Ld(f,{name:e,newValue:o}));return f}});var Hd=ge((tA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var F0={};jf(F0,{PluginRegister:()=>S0,default:()=>P0,parseMd:()=>$a,plugin:()=>ba});module.exports=Th(F0);var Fd=Fr(Hp()),Kv=Fr(Zp());var kC=Fr(Xp());var Sv=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let n=r.match(/(.+)\<\>/);return n?{type:"fcode",name:n[1]}:{name:r,type:"block"}}return{name:r,type:e}},Ai=t=>{let r=Sv(t),{name:e,type:n}=r;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:r};function Pv(t,r){function e(o){for(var s in o)if(o.hasOwnProperty(s))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(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(n)){if(t[n]!==r[n])return!1}else return!1;return!0}var yn=(t,r)=>{return e.rule=t,e.isFor=n,e.fn=r,e;function e(){}function n(o){return typeof o=="string"?!1:Pv(t,o)}},hu=(t,r)=>{if(t instanceof Array)return t.reduce((n,o)=>(n.push(...hu(o)),n),[]);if(t instanceof Object){let n=[];for(var e in t)t.hasOwnProperty(e)&&n.push(yn(Ai(e),t[e]));return n}return[yn(Ai(t),r)]};var gu=Fr(require("crypto"),1);var ed="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Fv=128,Ei,uo,Tv=t=>{!Ei||Ei.length<t?(Ei=Buffer.allocUnsafe(t*Fv),gu.default.randomFillSync(Ei),uo=0):uo+t>Ei.length&&(gu.default.randomFillSync(Ei),uo=0),uo+=t};var td=(t=21)=>{Tv(t);let r="";for(let e=uo-t;e<uo;e++)r+=ed[Ei[e]&63];return r};var fo=t=>({...t}),yu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},hr=(t,r)=>{let e="block",n=t.name,o={id:td(),margin:"",...t};var s=fo({type:e,...o,content:yu(r)});return s};var Zs=(t,r)=>fo({type:"fcode",...t,content:r}),$u=(t,r)=>fo({...t,type:"fcode",name:"L",content:yu(r)}),rd=t=>fo({type:"fcode",name:"Delete",content:yu(t)}),nd=t=>fo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ko=t=>fo({type:"verbatim",value:t});var id=t=>({type:"block",name:"caption",content:t}),od=(t,r)=>({type:"image",src:t,alt:r}),bu=({margin:t=""},r)=>hr({name:"root",margin:t},r);var sd=({value:t,location:r})=>hr({name:"formula",location:r},[Ko(t)]);var ad=(t,r={})=>{let e=t.config instanceof Array?t.config:[],n=[];r.config&&r.config.hasOwnProperty(t.name)&&(n=r.config[t.name]);let o={};[...e,...n].map(l=>{o.hasOwnProperty(l.name)||(o[l.name]=[]),l.type==="array"?o[l.name].push(...l.value):o[l.name].push(l.value)});let s=function(){};return s.exists=l=>o.hasOwnProperty(l),s.getAllValues=l=>s.exists(l)?o[l]:[],s.getFirstValue=l=>s.exists(l)?s.getAllValues(l)[0]:void 0,s.asHash=()=>o,s},nn=ad;var ld=(t,r)=>{let e=nn(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function ud(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(ud(e)):r.concat(e),[]):t}function Iv(t){function r(e,n){if(e instanceof Array)return ud(e.map(l=>r(l,n))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},n);let o=t.slice();o.reverse();let s=o.findIndex(l=>l.isFor(e));if(s!==-1){let l=o.slice(s+1),f=l.findIndex(g=>g.isFor(e)),c=(g=e,h=n,v=r)=>{if(f!==-1)l[f].fn(g,h,v,()=>{});else return};return typeof o[s].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),o[s].fn(e,n,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,n)}}return r.rules=t,r}var Qs=Iv;var yt=(t,r)=>(e,n)=>(o,s,l)=>{e.writeRaw(t),o.content&&l(o.content,s),e.writeRaw(r)},qn=()=>()=>()=>{},Nn=(t,r)=>(e,n,o)=>{if(e.content)return o(e.content,n)},Qn=t=>(r,e)=>(n,o,s)=>t(n,o)(r,e)(n,o,s);var vu=(t,r)=>{let e=hu(t).reverse();return(n,o)=>{let s=e.map(c=>yn(c.rule,c.fn(n,o))).reverse(),l=r(n,o),f;return(c,g,h)=>(f||(f=Qs([...h.rules,...s])),l(c,g,f))}},_i=(t,r)=>(e,n)=>{let o=t(e,n);return(s,l,f)=>{let c=nn(s,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),o(s,l,f),c!==void 0&&e.removeLevel(c)}};function Ys(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function fd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[])}var Js=t=>{let r=[];function e(o,s){if(o instanceof Array&&console.warn(`[podlite] Unsupported param for ${o}`),o instanceof Object){for(var l in o)o.hasOwnProperty(l)&&e(l,o[l]);return[]}r.push(yn(Ai(o),s))}function n(o,s={}){if(o instanceof Array)return fd(o.map(c=>n(c,s)));if(typeof o=="string")return o;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(o));if(f!==-1)return l[f].fn(o,s,n);{let c={...o};return c.hasOwnProperty("content")&&(c.content=n(c.content,s)),c}}return e(t),n.rules=r,n},Ir=Js;var cd=Fr(require("events")),ku=class extends cd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(r){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=r,this.ons=[],this.emit("ready")}escape(r){return r}write(r){return this.writeRaw(this.escape(r))}writeRaw(r){typeof this.output=="function"?this.output(r):console.log(r)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(r){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",r),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...r){return this.ons=this.ons||[],this.ons.unshift([...r]),this}endWrite=()=>{this.emit("end")};_add_nesting(r){}_remove_nesting(r){}addLevel(r){this._add_nesting(r)}removeLevel(r){this._remove_nesting(r)}},Xs=ku;var co=(t={},r=[])=>{let e=r,n=t.processor||pd,o=t.writer;return s.use=l,s.run=f,s.getPlugins=()=>e,s;function s(c){}function l(c,g){if(c instanceof Array)return co(t,[...e,...g]);if(c instanceof Object){for(var h in c)c.hasOwnProperty(h)&&l(h,c[h]);return s}return e.push(yn(Ai(c),g)),s}function f(c,g){let h="",v=g||o||new Xs(X=>{h=h+X}),x=typeof v=="function"?new v(X=>{h=h+X}):v,k=typeof c=="string"?n(c):c,_=e.slice();_.reverse();let O=Qs(_.map(X=>yn(X.rule,X.fn(x,n,k))).reverse()),D={};x.startWrite(k);let M=O(k,D);return x.endWrite(),{errors:x.errors,toString:()=>h,valueOf:()=>h,indexingTerms:x.INDEXTERMS,annotations:x.FOOTNOTES,defenitions:x.DEFINITIONS,interator:M}}};var dd=()=>t=>Ir({"*":(e,n,o)=>(e.content&&(e.content=o(e.content,n,o)),delete e.location,e)})(t,{}),md=dd;var Ov=Fr(hd());var Td=Fr($d());var Bv=()=>t=>{let r=(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 s=new RegExp(`^[ ]{0,${n.margin.length}}`,"gm");n.text=n.text.replace(s,"")}if(n.type==="block"){o.margin=typeof n.margin!="string"?"":n.margin;let l={...o};l.nest=(l.nest||0)+1,n.content.map(f=>{r(f,o)})}};var e={};return t.forEach(n=>r(n,e)),t},bd=Bv;var Wo=Fr(kd());var Vv=()=>t=>{let r=Ir({":para":(e,n,o)=>Ir({":text":(s,l)=>Wo.parse(s.value),":verbatim":(s,l)=>Wo.parse(s.value)})(e,{...n}),":block":(e,n,o)=>{if("name"in e&&e.name==="pod")return{...e,content:o(e.content,n,o)};let s=nn(e,n),l="name"in e&&e.name==="code",f="name"in e&&e.name==="data",c="name"in e&&e.name==="markdown",g="name"in e&&e.name==="picture",h="name"in e&&e.name==="formula",v=[...s.getAllValues("allow"),...l?["NONE"]:[]];if(Ys(e.name)||(l||f||c||g||h)&&v.length==0)return e;let x=v.sort(),k=Ir({":verbatim":(_,O)=>x.length==1&&x.includes("NONE")?_:Wo.parse(_.value,{allowed:x}),":text":(_,O)=>Wo.parse(_.value,{allowed:x}),":block":(_,O)=>r(_,{...O})});return{...e,content:k(e.content,{...n})}}});return r(t,{})},wd=Vv;var xd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(n)});else if(e&&e.type==="block"){let n=/^item(\d+)?/.exec(e.name);if(n&&(e.name="item",e.level=n[1]||1,e.content[0])){let o=e.content[0];if(o.text){let s=/^(\s*#\s*)/;s.exec(o.text)&&(o.text=o.text.replace(s,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}r(e.content)}};return r(t),t};var Cd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(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 s=/(\s*#\s*)/;s.exec(o.text)&&(o.text=o.text.replace(s,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Ad=()=>t=>{let r=(s,l)=>(s.name==="item"||s.name==="defn")&&l.name===s.name&&s.level===l.level&&e(s)===e(l),e=s=>Boolean(s.config&&s.config.numbered),n=s=>{let l={};return s.reduce((c,g)=>(g.name==="defn"?r(l,g)?c[c.length-1].push(g):c.push([g]):c.push(g),l=g,c),[]).map(c=>c instanceof Array?c[0].name!=="defn"?c:{type:"list",list:c[0].name==="defn"?"variable":e(c[0])?"ordered":"itemized",level:1,content:[...c]}:(c.content&&c.type!=="fcode"&&(c.content=n(c.content)),c))};return t=(s=>Array.isArray(s)?n(s):(s.type==="block"&&s.name!=="table"&&(s.content=n(s.content)),s))(t),t};var Ed=()=>t=>{let r=(s,l)=>(s.name==="item"||s.name==="defn")&&l.name===s.name&&s.level===l.level&&e(s)===e(l),e=s=>Boolean(nn(s,{}).exists("numbered")),n=(s,l=1)=>{let f=x=>x.length>0&&x[x.length-1].type==="list",c=x=>{if(f(x))return x[x.length-1]},g=(x,k)=>k.name&&k.name==="item"&&k.type&&k.type==="block"||k.type==="blankline",h={};return s.reduce((x,k)=>k.name==="item"&&k.type==="block"&&k.level<l?[...x,k]:(k.name==="item"&&k.type==="block"&&(!f(x)||k.level===l&&c(x).list!==(e(k)?"ordered":"itemized"))&&x.push({type:"list",level:k.level,content:[],list:e(k)?"ordered":"itemized"}),f(x)&&g(c(x),k)?c(x).content.push(k):x.push(k),x),[]).map(x=>(x.content&&x.type!=="fcode"&&(x.content=n(x.content,x.level+1)),x))};return t=(s=>(Array.isArray(s)?s=n(s):s.type==="block"&&s.name!=="table"&&(s.content=n(s.content)),s))(t),t};var _d=()=>t=>Ir({defn:e=>{let n=e.content,o=n.length,s=[],l=!1;for(let f=0;f<o;f++){let c=n[f];if(c.type==="para"&&!l){let g=c.content[0],v=g.value.split(`
14
+ `," "," ","\f"],!1,!1),ft=j("space characters"),a=0,se=0,d=[{line:1,column:1}],$=0,F=[],h=0,A;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');o=n[r.startRule]}function T(){return t.substring(se,a)}function N(){return xo(se,a)}function P(u,p){throw p=p!==void 0?p:xo(se,a),Pf([j(u)],t.substring(se,a),p)}function L(u,p){throw p=p!==void 0?p:xo(se,a),mh(u,p)}function H(u,p){return{type:"literal",text:u,ignoreCase:p}}function S(u,p,y){return{type:"class",parts:u,inverted:p,ignoreCase:y}}function Y(){return{type:"any"}}function U(){return{type:"end"}}function j(u){return{type:"other",description:u}}function W(u){var p=d[u],y;if(p)return p;for(y=u-1;!d[y];)y--;for(p=d[y],p={line:p.line,column:p.column};y<u;)t.charCodeAt(y)===10?(p.line++,p.column=1):p.column++,y++;return d[u]=p,p}function xo(u,p){var y=W(u),b=W(p);return{start:{offset:u,line:y.line,column:y.column},end:{offset:p,line:b.line,column:b.column}}}function ae(u){a<$||(a>$&&($=a,F=[]),F.push(u))}function mh(u,p){return new Si(u,null,null,p)}function Pf(u,p,y){return new Si(Si.buildMessage(u,p),u,p,y)}function Ff(){var u,p,y;for(u=a,p=[],y=Tf();y!==e;)p.push(y),y=Tf();return p!==e&&(se=u,p=s(p)),u=p,u}function Tf(){var u,p,y,b,E,C,G,Q;if(u=Pa(),u===e&&(u=Ta(),u===e&&(u=Ia(),u===e&&(u=La(),u===e&&(u=ja(),u===e&&(u=Ba(),u===e&&(u=Da(),u===e&&(u=Ra(),u===e&&(u=Oa(),u===e&&(u=qa(),u===e&&(u=Na(),u===e&&(u=a,se=a,p=l(),p?p=void 0:p=e,p!==e?(y=kh(),y===e&&(y=pn(),y===e&&(y=gh())),y!==e?(se=u,p=f(y),u=p):(a=u,u=e)):(a=u,u=e),u===e)))))))))))){if(u=a,p=a,y=[],b=a,E=a,h++,C=a,G=Tn(),G!==e?(Q=er(),Q!==e?(G=[G,Q],C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=di()),h--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,h===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e),b!==e)for(;b!==e;)y.push(b),b=a,E=a,h++,C=a,G=Tn(),G!==e?(Q=er(),Q!==e?(G=[G,Q],C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=di()),h--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,h===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e);else y=e;y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=g()),u=p}return u}function qt(){var u;return m.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,h===0&&ae(v)),u}function $e(){var u,p;for(u=[],x.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(k));p!==e;)u.push(p),x.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(k));return u}function fi(){var u,p,y,b;for(u=a,p=a,y=[],b=qt();b!==e;)y.push(b),b=qt();return y!==e?(_.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(O)),b!==e?(y=[y,b],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function T0(){var u,p,y,b;if(u=a,p=a,y=[],b=Co(),b!==e)for(;b!==e;)y.push(b),b=Co();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=pi(),y!==e?(se=u,p=D(p),u=p):(a=u,u=e)):(a=u,u=e),u}function Co(){var u;return M.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,h===0&&ae(X)),u}function ci(){var u,p,y;return t.charCodeAt(a)===10?(u=le,a++):(u=e,h===0&&ae(ve)),u===e&&(u=a,t.charCodeAt(a)===13?(p=ye,a++):(p=e,h===0&&ae(ie)),p!==e?(t.charCodeAt(a)===10?(y=le,a++):(y=e,h===0&&ae(ve)),y===e&&(y=null),y!==e?(p=[p,y],u=p):(a=u,u=e)):(a=u,u=e)),u}function pi(){var u,p;return u=ci(),u===e&&(u=a,h++,t.length>a?(p=t.charAt(a),a++):(p=e,h===0&&ae(c)),h--,p===e?u=void 0:(a=u,u=e)),u}function Pr(){var u,p,y,b;for(u=a,p=a,y=[],b=qt();b!==e;)y.push(b),b=qt();return y!==e?(_.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(O)),b!==e?(y=[y,b],p=y):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u}function pn(){var u,p,y,b,E;for(u=a,p=a,y=a,b=[],E=qt();E!==e;)b.push(E),E=qt();return b!==e?(_.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(O)),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e),y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=ke()),u=p,u}function ps(){var u;return t.substr(a,7)===Ee?(u=Ee,a+=7):(u=e,h===0&&ae(xe)),u}function Ui(){var u;return t.substr(a,5)===ze?(u=ze,a+=5):(u=e,h===0&&ae(Fe)),u}function ds(){var u;return t.substr(a,5)===Te?(u=Te,a+=5):(u=e,h===0&&ae(he)),u}function If(){var u;return t.substr(a,7)===_e?(u=_e,a+=7):(u=e,h===0&&ae(st)),u}function Of(){var u;return t.substr(a,6)===te?(u=te,a+=6):(u=e,h===0&&ae(At)),u}function er(){var u,p,y;return u=a,p=za(),p!==e?(se=a,y=Je(p),y?y=void 0:y=e,y!==e?(se=u,p=$t(p),u=p):(a=u,u=e)):(a=u,u=e),u}function di(){var u,p,y;return u=a,t.charCodeAt(a)===61?(p=tt,a++):(p=e,h===0&&ae(z)),p!==e?(y=er(),y!==e?(se=u,p=$t(y),u=p):(a=u,u=e)):(a=u,u=e),u}function Tn(){var u;return u=ps(),u===e&&(u=Ui(),u===e&&(u=ds(),u===e&&(u=If(),u===e&&(u=Of())))),u}function Lr(){var u,p,y;if(h++,u=a,p=[],y=Co(),y!==e)for(;y!==e;)p.push(y),y=Co();else p=e;return p!==e?u=t.substring(u,a):u=p,h--,u===e&&(p=e,h===0&&ae(V)),u}function Kt(){var u,p,y,b,E,C,G;if(u=a,p=a,h++,y=a,b=$e(),b!==e?(E=If(),E===e&&(E=Of(),E===e&&(E=a,C=Tn(),C!==e?(G=er(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E===e&&(E=di()))),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e),y===e&&(y=pn()),h--,y===e?p=void 0:(a=p,p=e),p!==e){if(y=a,b=[],E=Lr(),E!==e)for(;E!==e;)b.push(E),E=Lr();else b=e;b!==e?y=t.substring(y,a):y=b,y!==e?(b=pi(),b!==e?(se=u,p=Qt(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function hh(){var u,p,y,b;if(u=a,p=a,y=[],b=Lr(),b!==e)for(;b!==e;)y.push(b),b=Lr();else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=pi(),y!==e?(se=u,p=Qt(),u=p):(a=u,u=e)):(a=u,u=e),u}function gh(){var u,p,y,b,E,C;if(u=a,p=a,y=[],b=a,E=a,h++,C=pi(),h--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,h===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e),b!==e)for(;b!==e;)y.push(b),b=a,E=a,h++,C=pi(),h--,C===e?E=void 0:(a=E,E=e),E!==e?(t.length>a?(C=t.charAt(a),a++):(C=e,h===0&&ae(c)),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e);else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e?(y=pi(),y!==e?(se=u,p=Bt(),u=p):(a=u,u=e)):(a=u,u=e),u}function qf(){var u,p,y,b;if(u=a,p=Nf(),p!==e){if(y=[],b=qt(),b!==e)for(;b!==e;)y.push(b),b=qt();else y=e;y!==e?(b=qf(),b!==e?(se=u,p=wt(p,b),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Nf(),p!==e&&(se=u,p=Pt(p)),u=p),u}function Nf(){var u,p;return u=a,p=Co(),p!==e?u=t.substring(u,a):u=p,u}function ms(){var u,p,y,b,E,C;if(u=a,p=Gi(),p!==e){if(y=[],b=qt(),b!==e)for(;b!==e;)y.push(b),b=qt();else y=e;y===e&&(y=a,b=$e(),b!==e?(t.charCodeAt(a)===44?(E=Et,a++):(E=e,h===0&&ae(at)),E!==e?(C=$e(),C!==e?(b=[b,E,C],y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e)),y!==e?(b=ms(),b!==e?(se=u,p=_r(p,b),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,p=Gi(),p!==e&&(se=u,p=Pt(p)),u=p),u}function yh(){var u,p,y,b,E;if(u=a,p=a,y=[],be.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae($r)),b!==e)for(;b!==e;)y.push(b),be.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae($r));else y=e;if(y!==e){for(b=[],ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(fr));E!==e;)b.push(E),ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(fr));b!==e?(y=[y,b],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function Df(){var u,p,y,b,E,C;return u=a,p=yh(),p!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(b=Et,a++):(b=e,h===0&&ae(at)),b===e&&(t.substr(a,2)===Yt?(b=Yt,a+=2):(b=e,h===0&&ae(Rn))),b!==e?(E=$e(),E!==e?(C=Gi(),C!==e?(se=u,p=Ln(p,C),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Rf(){var u,p,y,b,E,C;return u=a,p=Df(),p!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(b=Et,a++):(b=e,h===0&&ae(at)),b!==e?(E=$e(),E!==e?(C=Rf(),C!==e?(se=u,p=vn(p,C),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u===e&&(u=a,p=Df(),p!==e&&(se=u,p=kn(p)),u=p),u}function $h(){var u,p,y,b,E,C,G,Q,I,R;return u=a,p=$e(),p!==e?(t.charCodeAt(a)===58?(y=We,a++):(y=e,h===0&&ae(Ne)),y!==e?(t.substr(a,5)===Ze?(b=Ze,a+=5):(b=e,h===0&&ae(bt)),b!==e?(E=a,t.charCodeAt(a)===60?(C=cr,a++):(C=e,h===0&&ae(Ve)),C!==e?(G=$e(),G!==e?(Q=qf(),Q!==e?(I=$e(),I!==e?(t.charCodeAt(a)===62?(R=Ue,a++):(R=e,h===0&&ae(dt)),R!==e?(se=E,C=rt(b,Q),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e),E!==e?(C=$e(),C!==e?(se=u,p=ne(b,E),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function I0(){var u,p,y,b,E,C;for(u=a,p=[],y=a,b=$e(),b!==e?(E=Gi(),E!==e?(C=$e(),C!==e?(se=y,b=ce(E),y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);y!==e;)p.push(y),y=a,b=$e(),b!==e?(E=Gi(),E!==e?(C=$e(),C!==e?(se=y,b=ce(E),y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);return p!==e&&(se=u,p=we(p)),u=p,u===e&&(u=a,p=Gi(),p!==e&&(se=u,p=Ae(p)),u=p,u===e&&(u=a,p=$e(),p!==e&&(se=u,p=Rt()),u=p)),u}function Hi(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue,de;if(u=$h(),u===e)if(u=a,p=$e(),p!==e)if(t.charCodeAt(a)===58?(y=We,a++):(y=e,h===0&&ae(Ne)),y!==e)if(Vr.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(nt)),b===e&&(b=null),b!==e)if(E=za(),E!==e){if(C=a,t.charCodeAt(a)===123?(G=xt,a++):(G=e,h===0&&ae(Ft)),G!==e?(Q=$e(),Q!==e?(I=Rf(),I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===125?(K=Ur,a++):(K=e,h===0&&ae(mt)),K!==e?(se=C,G=wn(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e),C===e){if(C=a,t.charCodeAt(a)===91?(G=Ut,a++):(G=e,h===0&&ae(on)),G!==e)if(Q=$e(),Q!==e){if(I=a,R=ms(),R!==e&&(se=I,R=jn(b,E,R)),I=R,I===e){if(I=a,R=a,K=[],oe=a,ue=a,h++,t.charCodeAt(a)===93?(de=Or,a++):(de=e,h===0&&ae(ti)),de===e&&(t.charCodeAt(a)===91?(de=Ut,a++):(de=e,h===0&&ae(on))),h--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,h===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e),oe!==e)for(;oe!==e;)K.push(oe),oe=a,ue=a,h++,t.charCodeAt(a)===93?(de=Or,a++):(de=e,h===0&&ae(ti)),de===e&&(t.charCodeAt(a)===91?(de=Ut,a++):(de=e,h===0&&ae(on))),h--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,h===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e);else K=e;K!==e?R=t.substring(R,a):R=K,R!==e&&(se=I,R=ri(b,E)),I=R}I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===93?(K=Or,a++):(K=e,h===0&&ae(ti)),K!==e?(se=C,G=Li(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)}else a=C,C=e;else a=C,C=e;if(C===e&&(C=a,t.charCodeAt(a)===60?(G=cr,a++):(G=e,h===0&&ae(Ve)),G!==e?(Q=$e(),Q!==e?(I=ms(),I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===62?(K=Ue,a++):(K=e,h===0&&ae(dt)),K!==e?(se=C,G=ni(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)):(a=C,C=e),C===e)){if(C=a,t.charCodeAt(a)===60?(G=cr,a++):(G=e,h===0&&ae(Ve)),G!==e)if(Q=$e(),Q!==e){if(I=a,R=[],K=a,oe=a,h++,t.charCodeAt(a)===60?(ue=cr,a++):(ue=e,h===0&&ae(Ve)),ue===e&&(t.charCodeAt(a)===62?(ue=Ue,a++):(ue=e,h===0&&ae(dt))),h--,ue===e?oe=void 0:(a=oe,oe=e),oe!==e?(t.length>a?(ue=t.charAt(a),a++):(ue=e,h===0&&ae(c)),ue!==e?(oe=[oe,ue],K=oe):(a=K,K=e)):(a=K,K=e),K!==e)for(;K!==e;)R.push(K),K=a,oe=a,h++,t.charCodeAt(a)===60?(ue=cr,a++):(ue=e,h===0&&ae(Ve)),ue===e&&(t.charCodeAt(a)===62?(ue=Ue,a++):(ue=e,h===0&&ae(dt))),h--,ue===e?oe=void 0:(a=oe,oe=e),oe!==e?(t.length>a?(ue=t.charAt(a),a++):(ue=e,h===0&&ae(c)),ue!==e?(oe=[oe,ue],K=oe):(a=K,K=e)):(a=K,K=e);else R=e;R!==e?I=t.substring(I,a):I=R,I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===62?(K=Ue,a++):(K=e,h===0&&ae(dt)),K!==e?(se=C,G=ji(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)}else a=C,C=e;else a=C,C=e;if(C===e){if(C=a,t.charCodeAt(a)===40?(G=ii,a++):(G=e,h===0&&ae(Bn)),G!==e)if(Q=$e(),Q!==e){if(I=a,R=ms(),R!==e&&(se=I,R=Bi(b,E,R)),I=R,I===e){if(I=a,R=a,K=[],oe=a,ue=a,h++,t.charCodeAt(a)===41?(de=xn,a++):(de=e,h===0&&ae(B)),de===e&&(t.charCodeAt(a)===40?(de=ii,a++):(de=e,h===0&&ae(Bn))),h--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,h===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e),oe!==e)for(;oe!==e;)K.push(oe),oe=a,ue=a,h++,t.charCodeAt(a)===41?(de=xn,a++):(de=e,h===0&&ae(B)),de===e&&(t.charCodeAt(a)===40?(de=ii,a++):(de=e,h===0&&ae(Bn))),h--,de===e?ue=void 0:(a=ue,ue=e),ue!==e?(t.length>a?(de=t.charAt(a),a++):(de=e,h===0&&ae(c)),de!==e?(ue=[ue,de],oe=ue):(a=oe,oe=e)):(a=oe,oe=e);else K=e;K!==e?R=t.substring(R,a):R=K,R!==e&&(se=I,R=q(b,E)),I=R}I!==e?(R=$e(),R!==e?(t.charCodeAt(a)===41?(K=xn,a++):(K=e,h===0&&ae(B)),K!==e?(se=C,G=Z(b,E,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)}else a=C,C=e;else a=C,C=e;C===e&&(C=a,G=$e(),G!==e&&(se=C,G=ee(b,E)),C=G)}}}C!==e?(G=$e(),G!==e?(se=u,p=re(b,E,C),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function mi(){var u,p,y,b,E,C,G,Q,I,R;for(u=a,p=[],y=Hi();y!==e;)p.push(y),y=Hi();if(p!==e)if(y=ci(),y!==e){if(b=[],E=a,t.charCodeAt(a)===61?(C=tt,a++):(C=e,h===0&&ae(z)),C!==e)if(G=$e(),G!==e){if(Q=[],I=Hi(),I!==e)for(;I!==e;)Q.push(I),I=Hi();else Q=e;Q!==e?(I=$e(),I!==e?(R=ci(),R!==e?(se=E,C=me(p,Q),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;for(;E!==e;)if(b.push(E),E=a,t.charCodeAt(a)===61?(C=tt,a++):(C=e,h===0&&ae(z)),C!==e)if(G=$e(),G!==e){if(Q=[],I=Hi(),I!==e)for(;I!==e;)Q.push(I),I=Hi();else Q=e;Q!==e?(I=$e(),I!==e?(R=ci(),R!==e?(se=E,C=me(p,Q),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;b!==e?(se=u,p=Se(p,b),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function O0(){var u,p,y,b;if(u=a,p=a,y=[],De.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(He)),b!==e)for(;b!==e;)y.push(b),De.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(He));else y=e;return y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=ht(p)),u=p,u}function Lf(){var u,p,y;if(u=a,p=[],qe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,h===0&&ae(it)),y!==e)for(;y!==e;)p.push(y),qe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,h===0&&ae(it));else p=e;return p!==e?u=t.substring(u,a):u=p,u}function hs(){var u,p,y,b,E;if(u=a,p=a,vt.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,h===0&&ae(lt)),y===e&&(y=null),y!==e){if(b=[],qe.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(it)),E!==e)for(;E!==e;)b.push(E),qe.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(it));else b=e;b!==e?(y=[y,b],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function bh(){var u,p;return u=a,t.substr(a,4)===Re?(p=Re,a+=4):(p=e,h===0&&ae(ut)),p!==e&&(se=u,p=Ye()),u=p,u===e&&(u=a,t.substr(a,5)===qr?(p=qr,a+=5):(p=e,h===0&&ae(Ht)),p!==e&&(se=u,p=Gt()),u=p),u}function vh(){var u,p,y,b,E,C;return u=a,p=a,y=hs(),y!==e?(b=a,t.charCodeAt(a)===46?(E=Qe,a++):(E=e,h===0&&ae(zt)),E!==e?(C=Lf(),C!==e?(E=[E,C],b=E):(a=b,b=e)):(a=b,b=e),b===e&&(b=null),b!==e?(Xt.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(br)),E!==e?(C=hs(),C!==e?(y=[y,b,E,C],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p,u===e&&(u=a,p=a,y=hs(),y!==e?(t.charCodeAt(a)===46?(b=Qe,a++):(b=e,h===0&&ae(zt)),b!==e?(E=Lf(),E!==e?(y=[y,b,E],p=y):(a=p,p=e)):(a=p,p=e)):(a=p,p=e),p!==e?u=t.substring(u,a):u=p),u}function Gi(){var u,p,y,b,E;if(u=a,Nr.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(vr)),p!==e){for(y=a,b=[],sn.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(Cn));E!==e;)b.push(E),sn.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(Cn));b!==e?y=t.substring(y,a):y=b,y!==e?(Nr.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(vr)),b!==e?(se=u,p=ht(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;if(u===e){if(u=a,An.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(Hr)),p!==e){for(y=a,b=[],Gr.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(kr));E!==e;)b.push(E),Gr.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(kr));b!==e?y=t.substring(y,a):y=b,y!==e?(An.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(Hr)),b!==e?(se=u,p=ht(y),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;u===e&&(u=bh(),u===e&&(u=a,p=vh(),p!==e&&(se=u,p=an(p)),u=p,u===e&&(u=a,p=hs(),p!==e&&(se=u,p=i(p)),u=p)))}return u}function Pa(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue,de,kt,Hn,Br;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ps(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e)if(se=a,G=fe(p,b,C),G?G=void 0:G=e,G!==e){if(Q=[],I=a,R=a,K=$e(),K!==e?R=t.substring(R,a):R=K,R!==e?(K=a,oe=fi(),oe===e&&(oe=a,ue=a,h++,de=Tn(),h--,de===e?ue=void 0:(a=ue,ue=e),ue===e&&(ue=a,h++,de=a,kt=Ui(),kt!==e?(Hn=er(),Hn!==e?(se=a,Br=En(p,b,C,R,Hn),Br?Br=void 0:Br=e,Br!==e?(kt=[kt,Hn,Br],de=kt):(a=de,de=e)):(a=de,de=e)):(a=de,de=e),h--,de===e?ue=void 0:(a=ue,ue=e)),ue!==e?(de=Lr(),de!==e?(kt=fi(),kt===e&&(kt=null),kt!==e?(ue=[ue,de,kt],oe=ue):(a=oe,oe=e)):(a=oe,oe=e)):(a=oe,oe=e)),oe!==e?K=t.substring(K,a):K=oe,K!==e?(se=I,R=pr(p,b,C,R,K),I=R):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,R=a,K=$e(),K!==e?R=t.substring(R,a):R=K,R!==e?(K=a,oe=fi(),oe===e&&(oe=a,ue=a,h++,de=Tn(),h--,de===e?ue=void 0:(a=ue,ue=e),ue===e&&(ue=a,h++,de=a,kt=Ui(),kt!==e?(Hn=er(),Hn!==e?(se=a,Br=En(p,b,C,R,Hn),Br?Br=void 0:Br=e,Br!==e?(kt=[kt,Hn,Br],de=kt):(a=de,de=e)):(a=de,de=e)):(a=de,de=e),h--,de===e?ue=void 0:(a=ue,ue=e)),ue!==e?(de=Lr(),de!==e?(kt=fi(),kt===e&&(kt=null),kt!==e?(ue=[ue,de,kt],oe=ue):(a=oe,oe=e)):(a=oe,oe=e)):(a=oe,oe=e)),oe!==e?K=t.substring(K,a):K=oe,K!==e?(se=I,R=pr(p,b,C,R,K),I=R):(a=I,I=e)):(a=I,I=e);else Q=e;Q!==e?(I=a,R=$e(),R!==e?I=t.substring(I,a):I=R,I!==e?(R=a,K=Ui(),K!==e?(oe=er(),oe!==e?(se=a,ue=ln(p,b,C,Q,I,oe),ue?ue=void 0:ue=e,ue!==e?(de=fi(),de===e&&(de=null),de!==e?(se=R,K=w(p,b,C,Q,I,oe),R=K):(a=R,R=e)):(a=R,R=e)):(a=R,R=e)):(a=R,R=e),R!==e?(se=a,K=wr(p,b,C,Q,I,R),K?K=void 0:K=e,K!==e?(se=u,p=un(p,b,C,Q,I,R),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ki(){var u,p,y,b,E,C,G,Q,I;if(u=a,p=a,h++,y=a,b=$e(),b!==e?(E=Tn(),E===e&&(E=di()),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e),y===e&&(y=pn()),h--,y===e?p=void 0:(a=p,p=e),p!==e){for(y=[],b=qt();b!==e;)y.push(b),b=qt();if(y!==e){if(b=a,E=[],C=a,_n.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,h===0&&ae(yo)),G!==e){for(Q=[],I=qt();I!==e;)Q.push(I),I=qt();Q!==e?(G=[G,Q],C=G):(a=C,C=e)}else a=C,C=e;if(C!==e)for(;C!==e;)if(E.push(C),C=a,_n.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,h===0&&ae(yo)),G!==e){for(Q=[],I=qt();I!==e;)Q.push(I),I=qt();Q!==e?(G=[G,Q],C=G):(a=C,C=e)}else a=C,C=e;else E=e;E!==e?b=t.substring(b,a):b=E,b!==e?(E=pi(),E!==e?(se=u,p=$o(),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e}else a=u,u=e;return u}function xr(){var u,p,y,b,E;return u=a,p=a,y=Ki(),y===e&&(y=a,se=a,b=ot(),b?b=void 0:b=e,b!==e?(E=pn(),E!==e?(b=[b,E],y=b):(a=y,y=e)):(a=y,y=e)),y!==e?p=t.substring(p,a):p=y,p!==e&&(se=u,p=Tt()),u=p,u}function jr(){var u,p;return u=a,p=Kt(),p!==e&&(se=u,p=fn(p)),u=p,u}function Fa(){var u,p,y,b,E,C,G,Q,I,R,K;if(u=a,se=a,p=oi(),p?p=void 0:p=e,p!==e){if(y=a,b=[],E=a,C=a,h++,G=Ki(),h--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E!==e)for(;E!==e;)b.push(E),E=a,C=a,h++,G=Ki(),h--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e);else b=e;if(b!==e?y=t.substring(y,a):y=b,y!==e)if(b=a,E=Ki(),E!==e&&(se=b,E=zn(y,E)),b=E,b!==e){if(E=[],C=a,G=a,Q=[],I=a,R=a,h++,K=xr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,R=a,h++,K=xr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);else Q=e;if(Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,I=xr(),I!==e&&(se=Q,I=Dr(y,b,G,I)),Q=I,Q!==e?(se=C,G=Sn(y,b,G,Q),C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=a,G=a,h++,Q=Ki(),h--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,h++,I=xr(),h--,I===e?Q=void 0:(a=Q,Q=e),Q!==e?(I=jr(),I!==e?(se=C,G=J(y,b,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e)),C!==e)for(;C!==e;){if(E.push(C),C=a,G=a,Q=[],I=a,R=a,h++,K=xr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,R=a,h++,K=xr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=jr(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);else Q=e;Q!==e?G=t.substring(G,a):G=Q,G!==e?(Q=a,I=xr(),I!==e&&(se=Q,I=Dr(y,b,G,I)),Q=I,Q!==e?(se=C,G=Sn(y,b,G,Q),C=G):(a=C,C=e)):(a=C,C=e),C===e&&(C=a,G=a,h++,Q=Ki(),h--,Q===e?G=void 0:(a=G,G=e),G!==e?(Q=a,h++,I=xr(),h--,I===e?Q=void 0:(a=Q,Q=e),Q!==e?(I=jr(),I!==e?(se=C,G=J(y,b,I),C=G):(a=C,C=e)):(a=C,C=e)):(a=C,C=e))}else E=e;E!==e?(se=a,C=Pn(y,b,E),C?C=void 0:C=e,C!==e?(se=u,p=si(y,b,E),u=p):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e}else a=u,u=e;if(u===e){if(u=a,p=[],y=a,b=a,E=a,C=a,h++,G=xr(),h--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E!==e?b=t.substring(b,a):b=E,b!==e){for(E=[],C=xr();C!==e;)E.push(C),C=xr();E!==e?(se=y,b=ai(b,E),y=b):(a=y,y=e)}else a=y,y=e;if(y!==e)for(;y!==e;)if(p.push(y),y=a,b=a,E=a,C=a,h++,G=xr(),h--,G===e?C=void 0:(a=C,C=e),C!==e?(G=jr(),G!==e?(C=[C,G],E=C):(a=E,E=e)):(a=E,E=e),E!==e?b=t.substring(b,a):b=E,b!==e){for(E=[],C=xr();C!==e;)E.push(C),C=xr();E!==e?(se=y,b=ai(b,E),y=b):(a=y,y=e)}else a=y,y=e;else p=e;if(p!==e&&(se=u,p=Mn(p)),u=p,u===e)if(u=[],p=jr(),p!==e)for(;p!==e;)u.push(p),p=jr();else u=e}return u}function Ta(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue,de,kt;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ps(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e)if(se=a,G=bo(p,b,C),G?G=void 0:G=e,G!==e)if(se=a,Q=is(p,b,C),Q?Q=void 0:Q=e,Q!==e){for(I=a,R=[],K=pn();K!==e;)R.push(K),K=pn();if(R!==e)if(K=Fa(),K!==e){for(oe=[],ue=pn();ue!==e;)oe.push(ue),ue=pn();oe!==e?(se=I,R=Vn(p,b,C,K),I=R):(a=I,I=e)}else a=I,I=e;else a=I,I=e;I!==e?(R=a,K=$e(),K!==e?R=t.substring(R,a):R=K,R!==e?(K=a,oe=Ui(),oe!==e?(ue=er(),ue!==e?(se=a,de=ln(p,b,C,I,R,ue),de?de=void 0:de=e,de!==e?(kt=fi(),kt===e&&(kt=null),kt!==e?(se=K,oe=Kr(p,b,C,I,R,ue),K=oe):(a=K,K=e)):(a=K,K=e)):(a=K,K=e)):(a=K,K=e),K!==e?(se=a,oe=wr(p,b,C,I,R,K),oe?oe=void 0:oe=e,oe!==e?(se=u,p=vo(p,b,C,I,R,K),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function Ia(){var u,p,y,b,E,C,G,Q,I,R,K,oe,ue;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ps(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e){if(G=[],Q=a,I=pn(),I===e&&(I=Pa(),I===e&&(I=Ta(),I===e&&(I=Ia(),I===e&&(I=La(),I===e&&(I=ja(),I===e&&(I=Ba(),I===e&&(I=Da(),I===e&&(I=Ra(),I===e&&(I=Oa(),I===e&&(I=qa(),I===e&&(I=Na()))))))))))),I!==e&&(se=Q,I=ko(p,b,C,I)),Q=I,Q===e){for(Q=a,I=a,R=[],K=qt();K!==e;)R.push(K),K=qt();if(R!==e?I=t.substring(I,a):I=R,I!==e){if(R=a,K=[],oe=Kt(),oe!==e)for(;oe!==e;)K.push(oe),oe=Kt();else K=e;K!==e?R=t.substring(R,a):R=K,R!==e?(se=Q,I=wo(p,b,C,I,R),Q=I):(a=Q,Q=e)}else a=Q,Q=e}for(;Q!==e;)if(G.push(Q),Q=a,I=pn(),I===e&&(I=Pa(),I===e&&(I=Ta(),I===e&&(I=Ia(),I===e&&(I=La(),I===e&&(I=ja(),I===e&&(I=Ba(),I===e&&(I=Da(),I===e&&(I=Ra(),I===e&&(I=Oa(),I===e&&(I=qa(),I===e&&(I=Na()))))))))))),I!==e&&(se=Q,I=ko(p,b,C,I)),Q=I,Q===e){for(Q=a,I=a,R=[],K=qt();K!==e;)R.push(K),K=qt();if(R!==e?I=t.substring(I,a):I=R,I!==e){if(R=a,K=[],oe=Kt(),oe!==e)for(;oe!==e;)K.push(oe),oe=Kt();else K=e;K!==e?R=t.substring(R,a):R=K,R!==e?(se=Q,I=wo(p,b,C,I,R),Q=I):(a=Q,Q=e)}else a=Q,Q=e}G!==e?(Q=a,I=$e(),I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(I=a,R=Ui(),R!==e?(K=er(),K!==e?(se=a,oe=ln(p,b,C,G,Q,K),oe?oe=void 0:oe=e,oe!==e?(ue=fi(),ue===e&&(ue=null),ue!==e?(se=I,R=os(p,b,C,G,Q,K),I=R):(a=I,I=e)):(a=I,I=e)):(a=I,I=e)):(a=I,I=e),I!==e?(se=a,R=wr(p,b,C,G,Q,I),R?R=void 0:R=e,R!==e?(se=u,p=va(p,b,C,G,Q,I),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function kh(){var u,p,y;if(u=a,p=[],y=Kt(),y!==e)for(;y!==e;)p.push(y),y=Kt();else p=e;return p!==e&&(se=u,p=ss()),u=p,u}function q0(){var u,p,y,b;if(u=a,p=[],y=a,b=Pr(),b!==e&&(se=y,b=Fn()),y=b,y===e){if(y=[],Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(Un)),b!==e)for(;b!==e;)y.push(b),Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(Un));else y=e;y===e&&(y=Kt())}if(y!==e){for(;y!==e;)if(p.push(y),y=a,b=Pr(),b!==e&&(se=y,b=Fn()),y=b,y===e){if(y=[],Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(Un)),b!==e)for(;b!==e;)y.push(b),Lt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,h===0&&ae(Un));else y=e;y===e&&(y=Kt())}}else p=e;return p!==e&&(se=u,p=li(p)),u=p,u}function Oa(){var u,p,y,b,E,C,G,Q,I,R,K,oe;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,h++,b=Tn(),h--,b===e?y=void 0:(a=y,y=e),y!==e)if(b=di(),b!==e)if(E=$e(),E!==e)if(C=Pr(),C===e&&(C=null),C!==e)if(se=a,G=Rr(p,b),G?G=void 0:G=e,G!==e){for(Q=a,I=[],R=a,K=a,h++,oe=Pr(),h--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);R!==e;)I.push(R),R=a,K=a,h++,oe=Pr(),h--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(se=u,p=ka(p,b,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function qa(){var u,p,y,b,E,C,G,Q,I;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=a,h++,b=Tn(),h--,b===e?y=void 0:(a=y,y=e),y!==e?(b=di(),b!==e?(E=$e(),E!==e?(C=Pr(),C===e&&(C=null),C!==e?(se=a,G=as(p,b),G?G=void 0:G=e,G!==e?(se=a,Q=cn(p,b),Q?Q=void 0:Q=e,Q!==e?(I=Fa(),I!==e?(se=u,p=ui(p,b,I),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Na(){var u,p,y,b,E,C,G,Q,I,R,K;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=a,h++,b=Tn(),h--,b===e?y=void 0:(a=y,y=e),y!==e)if(b=di(),b!==e)if(E=$e(),E!==e)if(C=Pr(),C===e&&(C=hh()),C!==e){for(G=a,Q=[],I=a,R=a,h++,K=Pr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);I!==e;)Q.push(I),I=a,R=a,h++,K=Pr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(se=u,p=wa(p,b,C,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function wh(){var u,p,y,b,E,C,G,Q,I,R,K;for(u=a,p=[],y=Lr();y!==e;)p.push(y),y=Lr();if(p!==e)if(y=ci(),y!==e){if(b=[],E=a,C=$e(),C!==e)if(t.substr(a,2)===zi?(G=zi,a+=2):(G=e,h===0&&ae(ls)),G!==e)if(Q=$e(),Q!==e){if(I=[],R=Lr(),R!==e)for(;R!==e;)I.push(R),R=Lr();else I=e;I!==e?(R=$e(),R!==e?(K=ci(),K!==e?(se=E,C=me(p,I),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;else a=E,E=e;for(;E!==e;)if(b.push(E),E=a,C=$e(),C!==e)if(t.substr(a,2)===zi?(G=zi,a+=2):(G=e,h===0&&ae(ls)),G!==e)if(Q=$e(),Q!==e){if(I=[],R=Lr(),R!==e)for(;R!==e;)I.push(R),R=Lr();else I=e;I!==e?(R=$e(),R!==e?(K=ci(),K!==e?(se=E,C=me(p,I),E=C):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;else a=E,E=e;b!==e?(se=u,p=Se(p,b),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function Da(){var u,p,y,b,E,C,G;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,6)===te?(y=te,a+=6):(y=e,h===0&&ae(At)),y!==e?(b=$e(),b!==e?(E=a,C=za(),C!==e?E=t.substring(E,a):E=C,E!==e?(C=$e(),C!==e?(G=wh(),G!==e?(se=u,p=Mi(p,y,E,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Ra(){var u,p,y,b,E,C,G,Q;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(t.substr(a,7)===_e?(y=_e,a+=7):(y=e,h===0&&ae(st)),y!==e?(b=$e(),b!==e?(E=a,C=er(),C===e&&(C=a,xa.test(t.charAt(a))?(G=t.charAt(a),a++):(G=e,h===0&&ae(Ca)),G!==e?(t.substr(a,2)===us?(Q=us,a+=2):(Q=e,h===0&&ae(Aa)),Q!==e?(G=[G,Q],C=G):(a=C,C=e)):(a=C,C=e)),C!==e?E=t.substring(E,a):E=C,E!==e?(C=$e(),C!==e?(G=mi(),G!==e?(se=u,p=Ea(p,y,E,G),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function La(){var u,p,y,b,E,C,G,Q,I,R,K,oe;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ds(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e)if(se=a,G=_a(p,y,b,C),G?G=void 0:G=e,G!==e){for(Q=a,I=[],R=a,K=a,h++,oe=Pr(),h--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);R!==e;)I.push(R),R=a,K=a,h++,oe=Pr(),h--,oe===e?K=void 0:(a=K,K=e),K!==e?(oe=Kt(),oe!==e?(K=[K,oe],R=K):(a=R,R=e)):(a=R,R=e);I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(se=u,p=fs(p,y,b,C,Q),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function ja(){var u,p,y,b,E,C,G,Q,I;return u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e?(y=ds(),y!==e?(b=er(),b!==e?(E=$e(),E!==e?(C=mi(),C!==e?(se=a,G=cs(p,y,b,C),G?G=void 0:G=e,G!==e?(se=a,Q=Sa(p,y,b,C),Q?Q=void 0:Q=e,Q!==e?(I=Fa(),I!==e?(se=u,p=Wr(p,y,b,C,I),u=p):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Ba(){var u,p,y,b,E,C,G,Q,I,R,K;if(u=a,p=a,y=$e(),y!==e?p=t.substring(p,a):p=y,p!==e)if(y=ds(),y!==e)if(b=er(),b!==e)if(E=$e(),E!==e)if(C=mi(),C!==e){for(G=a,Q=[],I=a,R=a,h++,K=Pr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);I!==e;)Q.push(I),I=a,R=a,h++,K=Pr(),h--,K===e?R=void 0:(a=R,R=e),R!==e?(K=Kt(),K!==e?(R=[R,K],I=R):(a=I,I=e)):(a=I,I=e);Q!==e?G=t.substring(G,a):G=Q,G!==e?(se=u,p=_t(p,y,b,C,G),u=p):(a=u,u=e)}else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;else a=u,u=e;return u}function za(){var u,p,y,b,E;if(u=a,p=a,Pe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,h===0&&ae(Vi)),y!==e){if(b=[],ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(fr)),E!==e)for(;E!==e;)b.push(E),ur.test(t.charAt(a))?(E=t.charAt(a),a++):(E=e,h===0&&ae(fr));else b=e;b!==e?(y=[y,b],p=y):(a=p,p=e)}else a=p,p=e;return p!==e?u=t.substring(u,a):u=p,u}function N0(){var u,p;for(h++,u=[],jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(Sr));p!==e;)u.push(p),jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(Sr));return h--,u===e&&(p=e,h===0&&ae(Sf)),u}function D0(){var u,p;for(h++,u=[],jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(Sr));p!==e;)u.push(p),jt.test(t.charAt(a))?(p=t.charAt(a),a++):(p=e,h===0&&ae(Sr));return h--,u===e&&(p=e,h===0&&ae(ft)),u}function gs(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Wi(u){return u.reduce((p,y)=>Array.isArray(y)?p.concat(Wi(y)):p.concat(y),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||gs(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(A=o(),A!==e&&a===t.length)return A;throw A!==e&&a<t.length&&ae(U()),Pf(F,$<t.length?t.charAt($):null,$<t.length?xo($,$+1):xo($,$))}yd.exports={SyntaxError:Si,parse:jv}});var kd=ge((Ux,vd)=>{"use strict";function zv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Pi(t,r,e,n){this.message=t,this.expected=r,this.found=e,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Pi)}zv(Pi,Error);Pi.buildMessage=function(t,r){var e={literal:function(g){return'"'+o(g.text)+'"'},class:function(g){var m="",v;for(v=0;v<g.parts.length;v++)m+=g.parts[v]instanceof Array?s(g.parts[v][0])+"-"+s(g.parts[v][1]):s(g.parts[v]);return"["+(g.inverted?"^":"")+m+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function n(g){return g.charCodeAt(0).toString(16).toUpperCase()}function o(g){return 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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function s(g){return g.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(m){return"\\x0"+n(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+n(m)})}function l(g){return e[g.type](g)}function f(g){var m=new Array(g.length),v,x;for(v=0;v<g.length;v++)m[v]=l(g[v]);if(m.sort(),m.length>0){for(v=1,x=1;v<m.length;v++)m[v-1]!==m[v]&&(m[x]=m[v],x++);m.length=x}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function c(g){return g?'"'+o(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mv(t,r){r=r!==void 0?r:{};var e={},n={Expression:ai},o=ai,s="A",l=ot("A",!1),f="V",c=ot("V",!1),g="R",m=ot("R",!1),v="B",x=ot("B",!1),k="I",_=ot("I",!1),O="C",D=ot("C",!1),M="D",X=ot("D",!1),le="E",ve=ot("E",!1),ye="K",ie=ot("K",!1),ke="L",Ee=ot("L",!1),xe="S",ze=ot("S",!1),Fe="T",Te=ot("T",!1),he="F",_e=ot("F",!1),st="U",te=ot("U",!1),At="Z",Je=ot("Z",!1),$t="N",tt=ot("N",!1),z="X",V=ot("X",!1),Qt=/^[a-zA-Z]/,Bt=Tt([["a","z"],["A","Z"]],!1,!1),wt=/^[a-zA-Z0-9_\-]/,Pt=Tt([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Et=/^[ \t\f]/,at=Tt([" "," ","\f"],!1,!1),_r=function(d){return!(r.allowed||[]).length||(r.allowed||[]).includes(d)},be=fn(),$r=function(d){return d},ur=function(d){return d==="A"},fr=function(d,$){return{content:$,type:"fcode",name:d}},Yt=function(d){return d==="D"},Rn=function(d,$,F){return a(F)},Ln=function(d,$,F){return{content:$,type:"fcode",name:d,synonyms:F}},vn=function(d){return d==="V"},kn=function(d,$){return{content:$,type:"fcode",name:d}},We="<",Ne=ot("<",!1),Ze=">",bt=ot(">",!1),cr=function(){return un()},Ve="\xAB",Ue=ot("\xAB",!1),dt="\xBB",rt=ot("\xBB",!1),ne=function(d){return d},ce=function(d){return d.code==="C"},we=function(d,$){return $===d.end_tag},Ae=function(d,$){return $},Rt=function(d,$,F){return F===d.end_tag},Vr=function(d,$,F){return{content:$,type:"fcode",name:d.code}},nt="|",xt=ot("|",!1),Ft=function(d){return d},Ur=function(d){return d.code==="L"},mt=function(d,$,F){return F},wn=function(d,$,F,h){return h===d.end_tag},Ut=function(d,$,F,h){return{content:$,type:"fcode",name:d.code,meta:F}},on=";",jn=ot(";",!1),Or=/^[ \xA0\u2001\t\f\u2008]/,ti=Tt([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),ri=function(d,$){return a([d,$])},Li=function(d){return[d]},ni=function(d){return d==="X"},ji=function(d,$,F){return{content:$,type:"fcode",name:d,entry:F}},ii=function(d){return d==="S"},Bn=function(d){return d==="Z"},Bi=/^[0-9]/,xn=Tt([["0","9"]],!1,!1),B="0d",q=ot("0d",!1),Z=function(d){return parseInt(d,10)},ee="0o",re=ot("0o",!1),me=function(d){return parseInt(d,8)},Se="0b",De=ot("0b",!1),He=function(d){return parseInt(d,2)},ht="0x",qe=ot("0x",!1),it=/^[0-9A-Fa-f]/,vt=Tt([["0","9"],["A","F"],["a","f"]],!1,!1),lt=function(){return parseInt(un())},Re=/^[A-Z ]/,ut=Tt([["A","Z"]," "],!1,!1),Ye=function(){return un()===un().toUpperCase()},qr=/^[a-z]/,Ht=Tt([["a","z"]],!1,!1),Gt=/^[a-z0-9]/,Qe=Tt([["a","z"],["0","9"]],!1,!1),zt=function(d){return un()},Xt=function(d){return{type:"number",value:parseInt(d,10)}},br=function(d){return{type:"unicode_name",value:d}},Nr=function(d){return{type:"html_named",value:d}},vr=function(d){return d==="E"},sn=function(d,$){return a($)},Cn=function(d,$){return{content:$||[],type:"fcode",name:d}},An=function(d){return d},Hr=function(d,$){return{code:d,begin_tag:$,end_tag:se($)}},Gr=function(d){return d.code!=="C"},kr=function(d,$,F){return F===d.end_tag},an=function(d,$,F){return{content:$,type:"fcode",name:d.code}},i=0,fe=0,En=[{line:1,column:1}],pr=0,ln=[],w=0,wr;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');o=n[r.startRule]}function un(){return t.substring(fe,i)}function _n(){return Sn(fe,i)}function yo(d,$){throw $=$!==void 0?$:Sn(fe,i),si([zn(d)],t.substring(fe,i),$)}function $o(d,$){throw $=$!==void 0?$:Sn(fe,i),Pn(d,$)}function ot(d,$){return{type:"literal",text:d,ignoreCase:$}}function Tt(d,$,F){return{type:"class",parts:d,inverted:$,ignoreCase:F}}function fn(){return{type:"any"}}function oi(){return{type:"end"}}function zn(d){return{type:"other",description:d}}function Dr(d){var $=En[d],F;if($)return $;for(F=d-1;!En[F];)F--;for($=En[F],$={line:$.line,column:$.column};F<d;)t.charCodeAt(F)===10?($.line++,$.column=1):$.column++,F++;return En[d]=$,$}function Sn(d,$){var F=Dr(d),h=Dr($);return{start:{offset:d,line:F.line,column:F.column},end:{offset:$,line:h.line,column:h.column}}}function J(d){i<pr||(i>pr&&(pr=i,ln=[]),ln.push(d))}function Pn(d,$){return new Pi(d,null,null,$)}function si(d,$,F){return new Pi(Pi.buildMessage(d,$),d,$,F)}function ai(){var d,$;for(d=[],$=Mn(),$===e&&($=Vi(),$===e&&($=jt(),$===e&&($=vo())));$!==e;)d.push($),$=Mn(),$===e&&($=Vi(),$===e&&($=jt(),$===e&&($=vo())));return d}function Mn(){var d;return d=wo(),d===e&&(d=zi(),d===e&&(d=Un(),d===e&&(d=os(),d===e&&(d=Sa(),d===e&&(d=va(),d===e&&(d=ka(),d===e&&(d=wa(),d===e&&(d=ls())))))))),d}function bo(){var d;return t.charCodeAt(i)===65?(d=s,i++):(d=e,w===0&&J(l)),d===e&&(t.charCodeAt(i)===86?(d=f,i++):(d=e,w===0&&J(c)),d===e&&(t.charCodeAt(i)===82?(d=g,i++):(d=e,w===0&&J(m)),d===e&&(t.charCodeAt(i)===66?(d=v,i++):(d=e,w===0&&J(x)),d===e&&(t.charCodeAt(i)===73?(d=k,i++):(d=e,w===0&&J(_)),d===e&&(t.charCodeAt(i)===67?(d=O,i++):(d=e,w===0&&J(D)),d===e&&(t.charCodeAt(i)===68?(d=M,i++):(d=e,w===0&&J(X)),d===e&&(t.charCodeAt(i)===69?(d=le,i++):(d=e,w===0&&J(ve)),d===e&&(t.charCodeAt(i)===75?(d=ye,i++):(d=e,w===0&&J(ie)),d===e&&(t.charCodeAt(i)===76?(d=ke,i++):(d=e,w===0&&J(Ee)),d===e&&(t.charCodeAt(i)===83?(d=xe,i++):(d=e,w===0&&J(ze)),d===e&&(t.charCodeAt(i)===84?(d=Fe,i++):(d=e,w===0&&J(Te)),d===e&&(t.charCodeAt(i)===70?(d=he,i++):(d=e,w===0&&J(_e)),d===e&&(t.charCodeAt(i)===85?(d=st,i++):(d=e,w===0&&J(te)),d===e&&(t.charCodeAt(i)===90?(d=At,i++):(d=e,w===0&&J(Je)),d===e&&(t.charCodeAt(i)===78?(d=$t,i++):(d=e,w===0&&J(tt)),d===e&&(t.charCodeAt(i)===88?(d=z,i++):(d=e,w===0&&J(V)))))))))))))))))),d}function is(){var d,$,F,h,A;if(d=i,$=i,Qt.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,w===0&&J(Bt)),F!==e){if(h=[],wt.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,w===0&&J(Pt)),A!==e)for(;A!==e;)h.push(A),wt.test(t.charAt(i))?(A=t.charAt(i),i++):(A=e,w===0&&J(Pt));else h=e;h!==e?(F=[F,h],$=F):(i=$,$=e)}else i=$,$=e;return $!==e?d=t.substring(d,i):d=$,d}function Vn(){var d,$;for(d=[],Et.test(t.charAt(i))?($=t.charAt(i),i++):($=e,w===0&&J(at));$!==e;)d.push($),Et.test(t.charAt(i))?($=t.charAt(i),i++):($=e,w===0&&J(at));return d}function Kr(){var d,$,F;return d=i,$=bo(),$!==e?(fe=i,F=_r($),F?F=void 0:F=e,F!==e?($=[$,F],d=$):(i=d,d=e)):(i=d,d=e),d}function vo(){var d,$;return d=i,t.length>i?($=t.charAt(i),i++):($=e,w===0&&J(be)),$!==e?d=t.substring(d,i):d=$,d}function ko(){var d,$,F,h,A;return d=i,$=i,w++,F=Pe(),w--,F===e?$=void 0:(i=$,$=e),$!==e?(F=Vn(),F!==e?(h=i,A=is(),A===e&&(A=null),A!==e?h=t.substring(h,i):h=A,h!==e?(A=Vn(),A!==e?(fe=d,$=$r(h),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=null),d}function wo(){var d,$,F,h,A;return d=i,$=Wr(),$!==e?(fe=i,F=ur($),F?F=void 0:F=e,F!==e?(h=ko(),h!==e?(A=Pe(),A!==e?(fe=d,$=fr($,h),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function os(){var d,$,F,h,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=Yt($),F?F=void 0:F=e,F!==e){if(h=[],A=Rr(),A!==e)for(;A!==e;)h.push(A),A=Rr();else h=e;if(h!==e){if(A=i,T=li(),T!==e){for(N=[],P=ui();P!==e;)N.push(P),P=ui();N!==e?(fe=A,T=Rn($,h,N),A=T):(i=A,A=e)}else i=A,A=e;A===e&&(A=null),A!==e?(T=Pe(),T!==e?(fe=d,$=Ln($,h,A),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function va(){var d,$,F,h,A,T;if(d=i,$=Wr(),$!==e)if(fe=i,F=vn($),F?F=void 0:F=e,F!==e){if(h=i,A=[],T=Lt(),T!==e)for(;T!==e;)A.push(T),T=Lt();else A=e;A!==e?h=t.substring(h,i):h=A,h!==e?(A=Pe(),A!==e?(fe=d,$=kn($,h),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function ss(){var d;return t.charCodeAt(i)===66?(d=v,i++):(d=e,w===0&&J(x)),d}function Fn(){var d,$,F,h,A;return d=i,$=i,F=i,w++,h=ss(),w--,h===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(h=t.charAt(i),i++):(h=e,w===0&&J(be)),h!==e?(F=[F,h],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===60?(F=We,i++):(F=e,w===0&&J(Ne)),F!==e?(h=Sr(),h!==e?(t.charCodeAt(i)===62?(A=Ze,i++):(A=e,w===0&&J(bt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=i,F=i,w++,h=ss(),w--,h===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(h=t.charAt(i),i++):(h=e,w===0&&J(be)),h!==e?(F=[F,h],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===171?(F=Ve,i++):(F=e,w===0&&J(Ue)),F!==e?(h=Sr(),h!==e?(t.charCodeAt(i)===187?(A=dt,i++):(A=e,w===0&&J(rt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function Lt(){var d,$,F,h,A,T,N,P;if(d=i,$=i,F=[],h=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=Fn(),h===e&&(h=Sr()))),h!==e)for(;h!==e;)F.push(h),h=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(t.length>i?(N=t.charAt(i),i++):(N=e,w===0&&J(be)),N!==e?(T=[T,N],A=T):(i=A,A=e)):(i=A,A=e),A===e&&(A=null),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Lt(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=Fn(),h===e&&(h=Sr())));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=ne($)),d=$,d}function Un(){var d,$,F,h,A,T,N,P,L,H,S,Y,U,j,W;if(d=i,$=_t(),$!==e)if(fe=i,F=ce($),F?F=void 0:F=e,F!==e){if(h=[],A=i,T=i,N=[],P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;if(N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T,A!==e)for(;A!==e;){if(h.push(A),A=i,T=i,N=[],P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,L=i,H=i,w++,t.charCodeAt(i)===60?(S=We,i++):(S=e,w===0&&J(Ne)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===60?(H=We,i++):(H=e,w===0&&J(Ne)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===62?(Y=Ze,i++):(Y=e,w===0&&J(bt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,L=i,H=i,w++,t.charCodeAt(i)===171?(S=Ve,i++):(S=e,w===0&&J(Ue)),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e),L===e&&(L=null),L!==e?(t.charCodeAt(i)===171?(H=Ve,i++):(H=e,w===0&&J(Ue)),H!==e?(S=Lt(),S===e&&(S=null),S!==e?(t.charCodeAt(i)===187?(Y=dt,i++):(Y=e,w===0&&J(rt)),Y!==e?(L=[L,H,S,Y],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Fn(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T}else h=e;h!==e?(A=Pe(),A!==e?(fe=i,T=Rt($,h,A),T?T=void 0:T=e,T!==e?(fe=d,$=Vr($,h,A),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function li(){var d;return t.charCodeAt(i)===124?(d=nt,i++):(d=e,w===0&&J(xt)),d}function Rr(){var d,$,F,h,A,T,N,P,L;if(d=i,$=i,F=[],h=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Rr(),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Rr(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,A=i,w++,T=li(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=Pe(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Wr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(P=i,w++,L=ft(),w--,L===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,w===0&&J(be)),L!==e?(A=[A,T,N,P,L],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e))),h!==e)for(;h!==e;)F.push(h),h=i,A=i,T=i,w++,t.charCodeAt(i)===60?(N=We,i++):(N=e,w===0&&J(Ne)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===60?(T=We,i++):(T=e,w===0&&J(Ne)),T!==e?(N=Rr(),N!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,w===0&&J(bt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,A=i,T=i,w++,t.charCodeAt(i)===171?(N=Ve,i++):(N=e,w===0&&J(Ue)),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Kr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(T=[T,N,P],A=T):(i=A,A=e)):(i=A,A=e)):(i=A,A=e),A!==e?(t.charCodeAt(i)===171?(T=Ve,i++):(T=e,w===0&&J(Ue)),T!==e?(N=Rr(),N===e&&(N=null),N!==e?(t.charCodeAt(i)===187?(P=dt,i++):(P=e,w===0&&J(rt)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,A=i,w++,T=li(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=Pe(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=Wr(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(P=i,w++,L=ft(),w--,L===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(L=t.charAt(i),i++):(L=e,w===0&&J(be)),L!==e?(A=[A,T,N,P,L],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=Ft($)),d=$,d}function ka(){var d,$,F,h,A,T,N,P,L,H,S;if(d=i,$=_t(),$!==e)if(fe=i,F=Ur($),F?F=void 0:F=e,F!==e){if(h=[],A=Un(),A===e&&(A=Rr()),A!==e)for(;A!==e;)h.push(A),A=Un(),A===e&&(A=Rr());else h=e;if(h!==e){if(A=i,T=li(),T!==e){for(N=i,P=[],L=i,H=i,w++,S=Pe(),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e);L!==e;)P.push(L),L=i,H=i,w++,S=Pe(),w--,S===e?H=void 0:(i=H,H=e),H!==e?(t.length>i?(S=t.charAt(i),i++):(S=e,w===0&&J(be)),S!==e?(H=[H,S],L=H):(i=L,L=e)):(i=L,L=e);P!==e?N=t.substring(N,i):N=P,N!==e?(fe=A,T=mt($,h,N),A=T):(i=A,A=e)}else i=A,A=e;A===e&&(A=null),A!==e?(T=Pe(),T!==e?(fe=i,N=wn($,h,A,T),N?N=void 0:N=e,N!==e?(fe=d,$=Ut($,h,A,T),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function as(){var d,$,F,h,A,T;if(d=i,$=[],F=i,h=i,w++,t.charCodeAt(i)===59?(A=on,i++):(A=e,w===0&&J(jn)),w--,A===e?h=void 0:(i=h,h=e),h!==e?(A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,w===0&&J(be)),T!==e?(h=[h,A,T],F=h):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)$.push(F),F=i,h=i,w++,t.charCodeAt(i)===59?(A=on,i++):(A=e,w===0&&J(jn)),w--,A===e?h=void 0:(i=h,h=e),h!==e?(A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,w===0&&J(be)),T!==e?(h=[h,A,T],F=h):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else $=e;return $!==e?d=t.substring(d,i):d=$,d}function cn(){var d;return Or.test(t.charAt(i))?(d=t.charAt(i),i++):(d=e,w===0&&J(ti)),d}function ui(){var d,$,F,h,A,T;if(d=i,$=as(),$!==e){for(F=[],h=cn();h!==e;)F.push(h),h=cn();if(F!==e)if(t.charCodeAt(i)===59?(h=on,i++):(h=e,w===0&&J(jn)),h!==e){for(A=[],T=cn();T!==e;)A.push(T),T=cn();A!==e?(T=ui(),T!==e?(fe=d,$=ri($,T),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,$=as(),$!==e&&(fe=d,$=Li($)),d=$),d}function wa(){var d,$,F,h,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=ni($),F?F=void 0:F=e,F!==e){for(h=[],A=Rr();A!==e;)h.push(A),A=Rr();if(h!==e){if(A=i,T=li(),T!==e){for(N=[],P=ui();P!==e;)N.push(P),P=ui();N!==e?(fe=A,T=Rn($,h,N),A=T):(i=A,A=e)}else i=A,A=e;A===e&&(A=null),A!==e?(T=Pe(),T!==e?(fe=d,$=ji($,h,A),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e}else i=d,d=e;else i=d,d=e;return d}function zi(){var d,$,F,h,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=ii($),F?F=void 0:F=e,F!==e){for(h=i,A=[],T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);T!==e;)A.push(T),T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);A!==e?h=t.substring(h,i):h=A,h!==e?(A=Pe(),A!==e?(fe=d,$=fr($,h),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function ls(){var d,$,F,h,A,T,N,P;if(d=i,$=Wr(),$!==e)if(fe=i,F=Bn($),F?F=void 0:F=e,F!==e){for(h=i,A=[],T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);T!==e;)A.push(T),T=i,N=i,w++,P=Pe(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(N=[N,P],T=N):(i=T,T=e)):(i=T,T=e);A!==e?h=t.substring(h,i):h=A,h!==e?(A=Pe(),A!==e?(fe=d,$=fr($,h),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function Mi(){var d,$,F;if(d=i,$=[],Bi.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,w===0&&J(xn)),F!==e)for(;F!==e;)$.push(F),Bi.test(t.charAt(i))?(F=t.charAt(i),i++):(F=e,w===0&&J(xn));else $=e;return $!==e?d=t.substring(d,i):d=$,d}function xa(){var d,$,F;return d=i,t.substr(i,2)===B?($=B,i+=2):($=e,w===0&&J(q)),$!==e?(F=Mi(),F!==e?(fe=d,$=Z(F),d=$):(i=d,d=e)):(i=d,d=e),d}function Ca(){var d,$,F;return d=i,t.substr(i,2)===ee?($=ee,i+=2):($=e,w===0&&J(re)),$!==e?(F=Mi(),F!==e?(fe=d,$=me(F),d=$):(i=d,d=e)):(i=d,d=e),d}function us(){var d,$,F;return d=i,t.substr(i,2)===Se?($=Se,i+=2):($=e,w===0&&J(De)),$!==e?(F=Mi(),F!==e?(fe=d,$=He(F),d=$):(i=d,d=e)):(i=d,d=e),d}function Aa(){var d,$,F,h,A,T;if(d=i,$=i,F=i,t.substr(i,2)===ht?(h=ht,i+=2):(h=e,w===0&&J(qe)),h!==e){if(A=[],it.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(vt)),T!==e)for(;T!==e;)A.push(T),it.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(vt));else A=e;A!==e?(h=[h,A],F=h):(i=F,F=e)}else i=F,F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=lt()),d=$,d}function Ea(){var d,$,F,h;if(d=i,$=i,F=[],Re.test(t.charAt(i))?(h=t.charAt(i),i++):(h=e,w===0&&J(ut)),h!==e)for(;h!==e;)F.push(h),Re.test(t.charAt(i))?(h=t.charAt(i),i++):(h=e,w===0&&J(ut));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e?(fe=i,F=Ye(),F?F=void 0:F=e,F!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e),d}function _a(){var d,$,F,h,A,T;if(d=i,$=i,F=i,qr.test(t.charAt(i))?(h=t.charAt(i),i++):(h=e,w===0&&J(Ht)),h!==e){if(A=[],Gt.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(Qe)),T!==e)for(;T!==e;)A.push(T),Gt.test(t.charAt(i))?(T=t.charAt(i),i++):(T=e,w===0&&J(Qe));else A=e;A!==e?(h=[h,A],F=h):(i=F,F=e)}else i=F,F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=zt($)),d=$,d}function fs(){var d,$,F;return d=i,$=Vn(),$!==e?(F=Ca(),F===e&&(F=xa(),F===e&&(F=us(),F===e&&(F=Aa(),F===e&&(F=Mi())))),F!==e?(fe=d,$=Xt(F),d=$):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=Vn(),$!==e?(F=Ea(),F!==e?(fe=d,$=br(F),d=$):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=Vn(),$!==e?(F=_a(),F!==e?(fe=d,$=Nr(F),d=$):(i=d,d=e)):(i=d,d=e))),d}function cs(){var d,$,F,h,A,T;if(d=i,$=fs(),$!==e){for(F=[],h=cn();h!==e;)F.push(h),h=cn();if(F!==e)if(t.charCodeAt(i)===59?(h=on,i++):(h=e,w===0&&J(jn)),h!==e){for(A=[],T=cn();T!==e;)A.push(T),T=cn();A!==e?(T=cs(),T!==e?(fe=d,$=ri($,T),d=$):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e}else i=d,d=e;return d===e&&(d=i,$=fs(),$!==e&&(fe=d,$=Li($)),d=$),d}function Sa(){var d,$,F,h,A;return d=i,$=Wr(),$!==e?(fe=i,F=vr($),F?F=void 0:F=e,F!==e?(h=i,A=cs(),A!==e&&(fe=h,A=sn($,A)),h=A,h===e&&(h=null),h!==e?(A=Pe(),A!==e?(fe=d,$=Cn($,h),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d}function Wr(){var d,$,F;return d=i,$=i,F=Kr(),F!==e?$=t.substring($,i):$=F,$!==e?(t.charCodeAt(i)===60?(F=We,i++):(F=e,w===0&&J(Ne)),F!==e?(fe=d,$=An($),d=$):(i=d,d=e)):(i=d,d=e),d}function _t(){var d,$,F,h;return d=i,$=i,F=Kr(),F!==e?$=t.substring($,i):$=F,$!==e?(F=i,t.charCodeAt(i)===60?(h=We,i++):(h=e,w===0&&J(Ne)),h===e&&(t.charCodeAt(i)===171?(h=Ve,i++):(h=e,w===0&&J(Ue))),h!==e?F=t.substring(F,i):F=h,F!==e?(fe=d,$=Hr($,F),d=$):(i=d,d=e)):(i=d,d=e),d}function Pe(){var d;return t.charCodeAt(i)===62?(d=Ze,i++):(d=e,w===0&&J(bt)),d===e&&(t.charCodeAt(i)===187?(d=dt,i++):(d=e,w===0&&J(rt))),d}function Vi(){var d,$,F,h,A,T,N,P,L,H,S,Y,U,j,W;if(d=i,$=_t(),$!==e)if(fe=i,F=Gr($),F?F=void 0:F=e,F!==e){if(h=[],A=Mn(),A===e&&(A=Vi(),A===e)){if(A=i,T=i,N=[],P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T}for(;A!==e;)if(h.push(A),A=Mn(),A===e&&(A=Vi(),A===e)){if(A=i,T=i,N=[],P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}if(P!==e){for(;P!==e;)if(N.push(P),P=i,t.charCodeAt(i)===60?(L=We,i++):(L=e,w===0&&J(Ne)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===62?(S=Ze,i++):(S=e,w===0&&J(bt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(L=Ve,i++):(L=e,w===0&&J(Ue)),L!==e?(H=jt(),H!==e?(t.charCodeAt(i)===187?(S=dt,i++):(S=e,w===0&&J(rt)),S!==e?(L=[L,H,S],P=L):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ft(),P===e))){if(P=i,L=i,H=[],S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)H.push(S),S=i,Y=i,w++,U=i,j=Pe(),j!==e?(fe=i,W=we($,j),W?W=void 0:W=e,W!==e?(j=[j,W],U=j):(i=U,U=e)):(i=U,U=e),w--,U===e?Y=void 0:(i=Y,Y=e),Y!==e?(U=i,w++,j=_t(),w--,j===e?U=void 0:(i=U,U=e),U!==e?(j=i,w++,W=ft(),w--,W===e?j=void 0:(i=j,j=e),j!==e?(t.length>i?(W=t.charAt(i),i++):(W=e,w===0&&J(be)),W!==e?(Y=[Y,U,j,W],S=Y):(i=S,S=e)):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else H=e;H!==e?L=t.substring(L,i):L=H,L!==e&&(fe=P,L=Ae($,L)),P=L}}else N=e;N!==e?T=t.substring(T,i):T=N,T!==e&&(fe=A,T=Ae($,T)),A=T}h!==e?(A=Pe(),A!==e?(fe=i,T=kr($,h,A),T?T=void 0:T=e,T!==e?(fe=d,$=an($,h,A),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)}else i=d,d=e;else i=d,d=e;return d}function Sf(){var d,$,F,h,A;for(d=i,$=[],F=i,h=i,w++,A=Pe(),w--,A===e?h=void 0:(i=h,h=e),h!==e?(t.length>i?(A=t.charAt(i),i++):(A=e,w===0&&J(be)),A!==e?(h=[h,A],F=h):(i=F,F=e)):(i=F,F=e);F!==e;)$.push(F),F=i,h=i,w++,A=Pe(),w--,A===e?h=void 0:(i=h,h=e),h!==e?(t.length>i?(A=t.charAt(i),i++):(A=e,w===0&&J(be)),A!==e?(h=[h,A],F=h):(i=F,F=e)):(i=F,F=e);return $!==e?d=t.substring(d,i):d=$,d}function jt(){var d,$,F,h,A,T,N;if(d=i,$=i,F=[],h=i,t.charCodeAt(i)===60?(A=We,i++):(A=e,w===0&&J(Ne)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===62?(N=Ze,i++):(N=e,w===0&&J(bt)),N!==e?(A=[A,T,N],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,t.charCodeAt(i)===171?(A=Ve,i++):(A=e,w===0&&J(Ue)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===187?(N=dt,i++):(N=e,w===0&&J(rt)),N!==e?(A=[A,T,N],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=ft(),h===e&&(h=Sr()))),h!==e)for(;h!==e;)F.push(h),h=i,t.charCodeAt(i)===60?(A=We,i++):(A=e,w===0&&J(Ne)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===62?(N=Ze,i++):(N=e,w===0&&J(bt)),N!==e?(A=[A,T,N],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=i,t.charCodeAt(i)===171?(A=Ve,i++):(A=e,w===0&&J(Ue)),A!==e?(T=jt(),T!==e?(t.charCodeAt(i)===187?(N=dt,i++):(N=e,w===0&&J(rt)),N!==e?(A=[A,T,N],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h===e&&(h=ft(),h===e&&(h=Sr())));else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=ne($)),d=$,d}function Sr(){var d,$,F,h,A,T,N,P;if(d=i,$=i,F=[],h=i,A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=_t(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=ft(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e),h!==e)for(;h!==e;)F.push(h),h=i,A=i,w++,T=Pe(),w--,T===e?A=void 0:(i=A,A=e),A!==e?(T=i,w++,N=_t(),w--,N===e?T=void 0:(i=T,T=e),T!==e?(N=i,w++,P=ft(),w--,P===e?N=void 0:(i=N,N=e),N!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,w===0&&J(be)),P!==e?(A=[A,T,N,P],h=A):(i=h,h=e)):(i=h,h=e)):(i=h,h=e)):(i=h,h=e);else F=e;return F!==e?$=t.substring($,i):$=F,$!==e&&(fe=d,$=ne($)),d=$,d}function ft(){var d,$,F,h,A;return d=i,$=i,F=i,w++,h=Kr(),w--,h===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(h=t.charAt(i),i++):(h=e,w===0&&J(be)),h!==e?(F=[F,h],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===60?(F=We,i++):(F=e,w===0&&J(Ne)),F!==e?(h=Sr(),h!==e?(t.charCodeAt(i)===62?(A=Ze,i++):(A=e,w===0&&J(bt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e),d===e&&(d=i,$=i,F=i,w++,h=Kr(),w--,h===e?F=void 0:(i=F,F=e),F!==e?(t.length>i?(h=t.charAt(i),i++):(h=e,w===0&&J(be)),h!==e?(F=[F,h],$=F):(i=$,$=e)):(i=$,$=e),$!==e?(t.charCodeAt(i)===171?(F=Ve,i++):(F=e,w===0&&J(Ue)),F!==e?(h=Sr(),h!==e?(t.charCodeAt(i)===187?(A=dt,i++):(A=e,w===0&&J(rt)),A!==e?(fe=d,$=cr(),d=$):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)):(i=d,d=e)),d}function a(d){return d.reduce(($,F)=>Array.isArray(F)?$.concat(a(F)):$.concat(F),[])}function se(d){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[d]}if(wr=o(),wr!==e&&i===t.length)return wr;throw wr!==e&&i<t.length&&J(oi()),si(ln,pr<t.length?t.charAt(pr):null,pr<t.length?Sn(pr,pr+1):Sn(pr,pr))}vd.exports={SyntaxError:Pi,parse:Mv}});var Pd=ge((yC,Hv)=>{Hv.exports={name:"@podlite/schema",version:"0.0.30",description:"AST tools for Podlite markup language",main:"./src/index.ts",license:"MIT",funding:{type:"opencollective",url:"https://opencollective.com/podlite"},files:["lib/**/*.js","lib/**/*.d.ts","esm","schema/*","README.md","CHANGELOG.md"],engines:{node:">=14"},engineStrict:!0,publishConfig:{access:"public",main:"lib/index.js",types:"./lib/index.d.ts",module:"./esm/index.js"},scripts:{clean:"rm -rf lib esm *.tsbuildinfo",build:"run-s build:pegjs build_lib build:ast ",build_lib:"yarn g:build","build:ast":"ts-node scripts/make-ast-scheme.ts","build:pegjs":"pegjs -o src/grammar.js src/grammar.pegjs && pegjs -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegjs --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["markdown","podlite","markup","markup-language"],dependencies:{ajv:"^7.2.3",events:"^3.1.0","json-pointer":"^0.6.1",nanoid:"3.1.30",slugify:"^1.6.6"},devDependencies:{"@types/node":"^17.0.7",glob:"^7.2.0","npm-run-all":"^4.1.5",pegjs:"^0.10.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=ge((YC,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Md=ge((XC,zd)=>{"use strict";var ea=Object.prototype.hasOwnProperty,Bd=Object.prototype.toString,qd=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Dd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Bd.call(r)==="[object Array]"},Rd=function(r){if(!r||Bd.call(r)!=="[object Object]")return!1;var e=ea.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&ea.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!n)return!1;var o;for(o in r);return typeof o>"u"||ea.call(r,o)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(ea.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};zd.exports=function t(){var r,e,n,o,s,l,f=arguments[0],c=1,g=arguments.length,m=!1;for(typeof f=="boolean"&&(m=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<g;++c)if(r=arguments[c],r!=null)for(e in r)n=jd(f,e),o=jd(r,e),f!==o&&(m&&o&&(Rd(o)||(s=Dd(o)))?(s?(s=!1,l=n&&Dd(n)?n:[]):l=n&&Rd(n)?n:{},Ld(f,{name:e,newValue:t(m,l,o)})):typeof o<"u"&&Ld(f,{name:e,newValue:o}));return f}});var Hd=ge((rA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var F0={};jf(F0,{PluginRegister:()=>S0,default:()=>P0,parseMd:()=>$a,plugin:()=>ba});module.exports=Th(F0);var Fd=Fr(Hp()),Kv=Fr(Zp());var wC=Fr(Xp());var Sv=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let n=r.match(/(.+)\<\>/);return n?{type:"fcode",name:n[1]}:{name:r,type:"block"}}return{name:r,type:e}},Ai=t=>{let r=Sv(t),{name:e,type:n}=r;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:r};function Pv(t,r){function e(o){for(var s in o)if(o.hasOwnProperty(s))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(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(n)){if(t[n]!==r[n])return!1}else return!1;return!0}var yn=(t,r)=>{return e.rule=t,e.isFor=n,e.fn=r,e;function e(){}function n(o){return typeof o=="string"?!1:Pv(t,o)}},hu=(t,r)=>{if(t instanceof Array)return t.reduce((n,o)=>(n.push(...hu(o)),n),[]);if(t instanceof Object){let n=[];for(var e in t)t.hasOwnProperty(e)&&n.push(yn(Ai(e),t[e]));return n}return[yn(Ai(t),r)]};var gu=Fr(require("crypto"),1);var ed="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Fv=128,Ei,uo,Tv=t=>{!Ei||Ei.length<t?(Ei=Buffer.allocUnsafe(t*Fv),gu.default.randomFillSync(Ei),uo=0):uo+t>Ei.length&&(gu.default.randomFillSync(Ei),uo=0),uo+=t};var td=(t=21)=>{Tv(t);let r="";for(let e=uo-t;e<uo;e++)r+=ed[Ei[e]&63];return r};var fo=t=>({...t}),yu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},hr=(t,r)=>{let e="block",n=t.name,o={id:td(),margin:"",...t};var s=fo({type:e,...o,content:yu(r)});return s};var Zs=(t,r)=>fo({type:"fcode",...t,content:r}),$u=(t,r)=>fo({...t,type:"fcode",name:"L",content:yu(r)}),rd=t=>fo({type:"fcode",name:"Delete",content:yu(t)}),nd=t=>fo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ko=t=>fo({type:"verbatim",value:t});var id=t=>({type:"block",name:"caption",content:t}),od=(t,r)=>({type:"image",src:t,alt:r}),bu=({margin:t=""},r)=>hr({name:"root",margin:t},r);var sd=({value:t,location:r})=>hr({name:"formula",location:r},[Ko(t)]);var ad=(t,r={})=>{let e=t.config instanceof Array?t.config:[],n=[];r.config&&r.config.hasOwnProperty(t.name)&&(n=r.config[t.name]);let o={};[...e,...n].map(l=>{o.hasOwnProperty(l.name)||(o[l.name]=[]),l.type==="array"?o[l.name].push(...l.value):o[l.name].push(l.value)});let s=function(){};return s.exists=l=>o.hasOwnProperty(l),s.getAllValues=l=>s.exists(l)?o[l]:[],s.getFirstValue=l=>s.exists(l)?s.getAllValues(l)[0]:void 0,s.asHash=()=>o,s},nn=ad;var ld=(t,r)=>{let e=nn(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function ud(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(ud(e)):r.concat(e),[]):t}function Iv(t){function r(e,n){if(e instanceof Array)return ud(e.map(l=>r(l,n))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},n);let o=t.slice();o.reverse();let s=o.findIndex(l=>l.isFor(e));if(s!==-1){let l=o.slice(s+1),f=l.findIndex(g=>g.isFor(e)),c=(g=e,m=n,v=r)=>{if(f!==-1)l[f].fn(g,m,v,()=>{});else return};return typeof o[s].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),o[s].fn(e,n,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,n)}}return r.rules=t,r}var Qs=Iv;var yt=(t,r)=>(e,n)=>(o,s,l)=>{e.writeRaw(t),o.content&&l(o.content,s),e.writeRaw(r)},qn=()=>()=>()=>{},Nn=(t,r)=>(e,n,o)=>{if(e.content)return o(e.content,n)},Qn=t=>(r,e)=>(n,o,s)=>t(n,o)(r,e)(n,o,s);var vu=(t,r)=>{let e=hu(t).reverse();return(n,o)=>{let s=e.map(c=>yn(c.rule,c.fn(n,o))).reverse(),l=r(n,o),f;return(c,g,m)=>(f||(f=Qs([...m.rules,...s])),l(c,g,f))}},_i=(t,r)=>(e,n)=>{let o=t(e,n);return(s,l,f)=>{let c=nn(s,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),o(s,l,f),c!==void 0&&e.removeLevel(c)}};function Ys(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function fd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[])}var Js=t=>{let r=[];function e(o,s){if(o instanceof Array&&console.warn(`[podlite] Unsupported param for ${o}`),o instanceof Object){for(var l in o)o.hasOwnProperty(l)&&e(l,o[l]);return[]}r.push(yn(Ai(o),s))}function n(o,s={}){if(o instanceof Array)return fd(o.map(c=>n(c,s)));if(typeof o=="string")return o;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(o));if(f!==-1)return l[f].fn(o,s,n);{let c={...o};return c.hasOwnProperty("content")&&(c.content=n(c.content,s)),c}}return e(t),n.rules=r,n},Ir=Js;var cd=Fr(require("events")),ku=class extends cd.EventEmitter{INDEXTERMS;FOOTNOTES;output;errors;out;ons;constructor(r){super(),this.INDEXTERMS=[],this.FOOTNOTES=[],this.output=r,this.ons=[],this.emit("ready")}escape(r){return r}write(r){return this.writeRaw(this.escape(r))}writeRaw(r){typeof this.output=="function"?this.output(r):console.log(r)}getStr(){return{errors:this.errors,toString:()=>this.out,valueOf:()=>this.out}}startWrite(r){(this.ons||[]).map(e=>super.on(...e)),this.emit("start",r),this.addListener("errors",e=>{this.errors=this.errors||[],this.errors.push(e)})}on(...r){return this.ons=this.ons||[],this.ons.unshift([...r]),this}endWrite=()=>{this.emit("end")};_add_nesting(r){}_remove_nesting(r){}addLevel(r){this._add_nesting(r)}removeLevel(r){this._remove_nesting(r)}},Xs=ku;var co=(t={},r=[])=>{let e=r,n=t.processor||pd,o=t.writer;return s.use=l,s.run=f,s.getPlugins=()=>e,s;function s(c){}function l(c,g){if(c instanceof Array)return co(t,[...e,...g]);if(c instanceof Object){for(var m in c)c.hasOwnProperty(m)&&l(m,c[m]);return s}return e.push(yn(Ai(c),g)),s}function f(c,g){let m="",v=g||o||new Xs(X=>{m=m+X}),x=typeof v=="function"?new v(X=>{m=m+X}):v,k=typeof c=="string"?n(c):c,_=e.slice();_.reverse();let O=Qs(_.map(X=>yn(X.rule,X.fn(x,n,k))).reverse()),D={};x.startWrite(k);let M=O(k,D);return x.endWrite(),{errors:x.errors,toString:()=>m,valueOf:()=>m,indexingTerms:x.INDEXTERMS,annotations:x.FOOTNOTES,defenitions:x.DEFINITIONS,interator:M}}};var dd=()=>t=>Ir({"*":(e,n,o)=>(e.content&&(e.content=o(e.content,n,o)),delete e.location,e)})(t,{}),md=dd;var Ov=Fr(hd());var Td=Fr($d());var Bv=()=>t=>{let r=(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 s=new RegExp(`^[ ]{0,${n.margin.length}}`,"gm");n.text=n.text.replace(s,"")}if(n.type==="block"){o.margin=typeof n.margin!="string"?"":n.margin;let l={...o};l.nest=(l.nest||0)+1,n.content.map(f=>{r(f,o)})}};var e={};return t.forEach(n=>r(n,e)),t},bd=Bv;var Wo=Fr(kd());var Vv=()=>t=>{let r=Ir({":para":(e,n,o)=>Ir({":text":(s,l)=>Wo.parse(s.value),":verbatim":(s,l)=>Wo.parse(s.value)})(e,{...n}),":block":(e,n,o)=>{if("name"in e&&e.name==="pod")return{...e,content:o(e.content,n,o)};let s=nn(e,n),l="name"in e&&e.name==="code",f="name"in e&&e.name==="data",c="name"in e&&e.name==="markdown",g="name"in e&&e.name==="picture",m="name"in e&&e.name==="formula",v=[...s.getAllValues("allow"),...l?["NONE"]:[]];if(Ys(e.name)||(l||f||c||g||m)&&v.length==0)return e;let x=v.sort(),k=Ir({":verbatim":(_,O)=>x.length==1&&x.includes("NONE")?_:Wo.parse(_.value,{allowed:x}),":text":(_,O)=>Wo.parse(_.value,{allowed:x}),":block":(_,O)=>r(_,{...O})});return{...e,content:k(e.content,{...n})}}});return r(t,{})},wd=Vv;var xd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(n)});else if(e&&e.type==="block"){let n=/^item(\d+)?/.exec(e.name);if(n&&(e.name="item",e.level=n[1]||1,e.content[0])){let o=e.content[0];if(o.text){let s=/^(\s*#\s*)/;s.exec(o.text)&&(o.text=o.text.replace(s,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}r(e.content)}};return r(t),t};var Cd=()=>t=>{let r=e=>{if(Array.isArray(e))e.forEach(n=>{r(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 s=/(\s*#\s*)/;s.exec(o.text)&&(o.text=o.text.replace(s,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Ad=()=>t=>{let r=(s,l)=>(s.name==="item"||s.name==="defn")&&l.name===s.name&&s.level===l.level&&e(s)===e(l),e=s=>Boolean(s.config&&s.config.numbered),n=s=>{let l={};return s.reduce((c,g)=>(g.name==="defn"?r(l,g)?c[c.length-1].push(g):c.push([g]):c.push(g),l=g,c),[]).map(c=>c instanceof Array?c[0].name!=="defn"?c:{type:"list",list:c[0].name==="defn"?"variable":e(c[0])?"ordered":"itemized",level:1,content:[...c]}:(c.content&&c.type!=="fcode"&&(c.content=n(c.content)),c))};return t=(s=>Array.isArray(s)?n(s):(s.type==="block"&&s.name!=="table"&&(s.content=n(s.content)),s))(t),t};var Ed=()=>t=>{let r=(s,l)=>(s.name==="item"||s.name==="defn")&&l.name===s.name&&s.level===l.level&&e(s)===e(l),e=s=>Boolean(nn(s,{}).exists("numbered")),n=(s,l=1)=>{let f=x=>x.length>0&&x[x.length-1].type==="list",c=x=>{if(f(x))return x[x.length-1]},g=(x,k)=>k.name&&k.name==="item"&&k.type&&k.type==="block"||k.type==="blankline",m={};return s.reduce((x,k)=>k.name==="item"&&k.type==="block"&&k.level<l?[...x,k]:(k.name==="item"&&k.type==="block"&&(!f(x)||k.level===l&&c(x).list!==(e(k)?"ordered":"itemized"))&&x.push({type:"list",level:k.level,content:[],list:e(k)?"ordered":"itemized"}),f(x)&&g(c(x),k)?c(x).content.push(k):x.push(k),x),[]).map(x=>(x.content&&x.type!=="fcode"&&(x.content=n(x.content,x.level+1)),x))};return t=(s=>(Array.isArray(s)?s=n(s):s.type==="block"&&s.name!=="table"&&(s.content=n(s.content)),s))(t),t};var _d=()=>t=>Ir({defn:e=>{let n=e.content,o=n.length,s=[],l=!1;for(let f=0;f<o;f++){let c=n[f];if(c.type==="para"&&!l){let g=c.content[0],v=g.value.split(`
15
15
  `),x=v.shift(),k={type:"para",name:"term",text:x,content:[{type:"text",value:x}]};s.push(k),v.length==1&&v[0]===""||(g.value=v.join(`
16
- `),c.text=g.value,s.push(c)),l=!0}else s.push(c)}return e.content=s,e}})(t,{});function Zo(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Zo(e)):r.concat(e),[])}var Cu=(t,r,e)=>{let n=[];for(let o=0;t.length>o;o++)n.push(e(parseInt(t[o],10),parseInt(r[o],10)));return n.join("")},Uv=(t,r)=>{let e=Math.max(...[...t,...r].map(l=>l.length));return t.map(l=>{let f=l+" ".repeat(e-l.length),c=[],g=/\s+[+|\s]\s/g,h;for(;(h=g.exec(f))!=null;){let v="1".repeat(h.index)+"0".repeat(h[0].length);c.push(v+"1".repeat(e-v.length))}return c.reduce((v,x)=>Cu(v,x,(k,_)=>k&_),"1".repeat(e))}).map(l=>Cu(l,"",f=>f==0?1:0)).reduce((l,f)=>Cu(l,f,(c,g)=>c&g),"1".repeat(e))},Au=(t,r)=>{let n=Zo(t.split(/\n/).filter(s=>s.length>0)).map(s=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;){if(c[0][0]==1)continue;let g=s.substring(c.index,c.index+c[0].length);f.push(g)}return f}),o=[];return o=n.reduce((s,l)=>{for(let f=0;f<l.length;f++)s[f]=(s[f]===void 0?"":s[f])+" "+l[f];return s},[]),o},Sd=()=>t=>Ir({table:e=>{let n=[],o=k=>{n.push(k.value)},s=[];if(Ir({"row:text":o,"head:text":o,":separator":k=>{s.push(k.text)}})(e),!n.length)return e;let l=k=>k.split(/\n/).filter(_=>_.length>0),f=Zo(n.map(l)),c=Zo(s.map(l)),g=[];Ir({"row:text":k=>{g.push(k.value)}})(e);let h=Uv(f,c),v=(k,_,...O)=>({...O,name:k,type:"block",content:Array.isArray(_)?_:[_]});return Ir({"row:text":k=>{if(g.length==1)return Zo([k.value].map(l)).map(D=>{let M=Au(D,h);return v("table_row",M.map(X=>v("table_cell",{type:"text",value:X})))});let _=Au(k.value,h);return v("table_row",_.map(O=>v("table_cell",{type:"text",value:O})))},"head:text":k=>{let _=Au(k.value,h);return v("table_head",_.map(O=>v("table_cell",{type:"text",value:O})))}})(e)}})(t,{});var mC={":text":(t,r)=>(e,n,o)=>{e.value?t.write(e.value):o(e.content,n)},"A<>":(t,r)=>(e,n,o)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let s=n.alias[e.content].join(`
17
- `),l=r(s),f=md()(l);f[0].type==="para"?o(f[0].content,n):o(f,n)}},"C<>":yt("<code>","</code>"),"D<>":(t,r)=>(e,n,o)=>{let s={node:e},l=[e.content[0]];s&&(l=s),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),o(e.content,n),t.writeRaw("</dfn>")},"B<>":yt("<strong>","</strong>"),"I<>":yt("<em>","</em>"),"R<>":yt("<var>","</var>"),"K<>":yt("<kbd>","</kbd>"),"L<>":Qn((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),yt(`<a href="${e}">`,"</a>")}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw('<div class="footnotes">'),e.map(n=>{t.writeRaw(`<p><sup id="${n.fnId}" class="footnote"><a href="#${n.fnRefId}">[${n.gid}]</a></sup> `),n.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,n,o)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let s=t.gid++,l=`fnref:${s}`,f=`fn:${s}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${s}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:s,fnRefId:l,fnId:f,make:()=>{o(e.content,n)}})}),"S<>":(t,r)=>(e,n,o)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":yt("<samp>","</samp>"),"U<>":yt("<u>","</u>"),"V<>":Nn,"X<>":(t,r)=>(e,n,o)=>{o(e.content,n);let{entry:s}=e;if(s===null&&e.content.length>0)s=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:s})},"Z<>":qn,pod:Nn,":code":yt("<pre><code>","</code></pre>"),code:_i(yt("<pre><code>","</code></pre>")),data:qn,":verbatim":(t,r)=>(e,n,o)=>{e.error&&t.emit("errors",e.location),o(e.value)},":blankline":qn,":ambient":qn,":config":Qn((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,qn)),":alias":Qn((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,qn)),para:_i(Nn),":para":yt("<p>","</p>"),"head:block":vu({":para":Nn},Qn((t,r)=>{let{level:e}=t,n=ld(t,r);return yt(`<h${e}${n?` id="${n}"`:""}>`,`</h${e}>`)})),":list":Qn((t,r)=>t.list==="ordered"?yt("<ol>","</ol>"):t.list==="variable"?yt("<dl>","</dl>"):yt("<ul>","</ul>")),"item:block":(t,r)=>(e,n,o)=>{e.content instanceof Array||console.error("[pod6] item:block : Error in content of "+JSON.stringify(e));let[s,...l]=e.content;t.writeRaw("<li>"),o(e.content,n),t.writeRaw("</li>")},"comment:block":qn,defn:yt("","</dd>"),"term:para":yt("<dt>","</dt><dd>"),nested:_i(Nn,1),output:_i(yt("<pre><samp>","</samp></pre>"),1),input:_i(yt("<pre><kbd>","</kbd></pre>"),1),"table:block":_i((t,r)=>(e,n,o)=>{let s=nn(e,n);t.writeRaw("<table>"),s.exists("caption")&&(t.writeRaw("<caption>"),t.write(s.getFirstValue("caption")),t.writeRaw("</caption>")),o(e.content,n),t.writeRaw("</table>")}),":separator":qn,table_row:yt("<tr>","</tr>"),table_cell:yt("<td>","</td>"),table_head:vu({table_cell:yt("<th>","</th>")},yt("<tr>","</tr>")),":toc":(t,r)=>(e,n,o)=>{t.writeRaw('<div className="toc">');let s=nn(e,n);if(s.exists("title")){let l=s.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}o(e.content,n),t.writeRaw("</div>")},":toc-list":Qn((t,r)=>yt(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Qn((t,r)=>yt('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,n,o)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var TC=new Fd.default({strict:!0,allowUnionTypes:!0});function gd(){var t=[];return r.use=e,r.parse=n,r.use(bd),r.use(xd),r.use(Cd),r.use(_d),r.use(Sd),r.use(wd),r.use(Ed),r.use(Ad),r;function r(){}function e(o){if(!["function"].includes(typeof o))throw o;return t.push(o),r}function n(o,s={skipChain:0,podMode:1}){let l=Td.parse(o,{podMode:s.podMode});if(!s.skipChain)for(let f=0;f<t.length;f++){let c=t[f];l=c(s)(l)}return l}}var pd=gd().parse;var{version:IC}=Pd();function Eu(t){if(t)throw t}var Xd=Fr(Od(),1),Du=Fr(Md(),1);function Jo(t){if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vd(){let t=[],r={run:e,use:n};return r;function e(...o){let s=-1,l=o.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...o);function f(c,...g){let h=t[++s],v=-1;if(c){l(c);return}for(;++v<o.length;)(g[v]===null||g[v]===void 0)&&(g[v]=o[v]);o=g,h?Wv(h,f)(...g):l(null,...g)}}function n(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),r}}function Wv(t,r){let e;return n;function n(...l){let f=t.length>l.length,c;f&&l.push(o);try{c=t.apply(this,l)}catch(g){let h=g;if(f&&e)throw h;return o(h)}f||(c instanceof Promise?c.then(s,o):c instanceof Error?o(c):s(c))}function o(l,...f){e||(e=!0,r(l,...f))}function s(l){o(null,l)}}var Zd=Fr(Hd(),1);function Fi(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Gd(t.position):"start"in t||"end"in t?Gd(t):"line"in t||"column"in t?_u(t):""}function _u(t){return Kd(t&&t.line)+":"+Kd(t&&t.column)}function Gd(t){return _u(t&&t.start)+"-"+_u(t&&t.end)}function Kd(t){return t&&typeof t=="number"?t:1}var gr=class extends Error{constructor(r,e,n){let o=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(n=e,e=void 0),typeof n=="string"){let l=n.indexOf(":");l===-1?o[1]=n:(o[0]=n.slice(0,l),o[1]=n.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(s=e.position):"start"in e||"end"in e?s=e:("line"in e||"column"in e)&&(s.start=e)),this.name=Fi(e)||"1:1",this.message=typeof r=="object"?r.message:r,this.stack=typeof r=="object"?r.stack:"",this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.source=o[0],this.ruleId=o[1],this.position=s,this.actual,this.expected,this.file,this.url,this.note}};gr.prototype.file="";gr.prototype.name="";gr.prototype.reason="";gr.prototype.message="";gr.prototype.stack="";gr.prototype.fatal=null;gr.prototype.column=null;gr.prototype.line=null;gr.prototype.source=null;gr.prototype.ruleId=null;gr.prototype.position=null;var Mr=Fr(require("path"),1);var Su=Fr(require("process"),1);var Pu=require("url");function ta(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Fu=["history","path","basename","stem","extname","dirname"],Qo=class{constructor(r){let e;r?typeof r=="string"||(0,Zd.default)(r)?e={value:r}:ta(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=Su.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<Fu.length;){let s=Fu[n];s in e&&e[s]!==void 0&&(this[s]=s==="history"?[...e[s]]:e[s])}let o;for(o in e)Fu.includes(o)||(this[o]=e[o])}get path(){return this.history[this.history.length-1]}set path(r){ta(r)&&(r=(0,Pu.fileURLToPath)(r)),Iu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Mr.default.dirname(this.path):void 0}set dirname(r){Wd(this.basename,"dirname"),this.path=Mr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Mr.default.basename(this.path):void 0}set basename(r){Iu(r,"basename"),Tu(r,"basename"),this.path=Mr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Mr.default.extname(this.path):void 0}set extname(r){if(Tu(r,"extname"),Wd(this.dirname,"extname"),r){if(r.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Mr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Mr.default.basename(this.path,this.extname):void 0}set stem(r){Iu(r,"stem"),Tu(r,"stem"),this.path=Mr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,n){let o=new gr(r,e,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(r,e,n){let o=this.message(r,e,n);return o.fatal=null,o}fail(r,e,n){let o=this.message(r,e,n);throw o.fatal=!0,o}};function Tu(t,r){if(t&&t.includes(Mr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Mr.default.sep+"`")}function Iu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Wd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Ru=tm().freeze(),em={}.hasOwnProperty;function tm(){let t=Vd(),r=[],e={},n,o=-1;return s.data=l,s.Parser=void 0,s.Compiler=void 0,s.freeze=f,s.attachers=r,s.use=c,s.parse=g,s.stringify=h,s.run=v,s.runSync=x,s.process=k,s.processSync=_,s;function s(){let O=tm(),D=-1;for(;++D<r.length;)O.use(...r[D]);return O.data((0,Du.default)(!0,{},e)),O}function l(O,D){return typeof O=="string"?arguments.length===2?(Nu("data",n),e[O]=D,s):em.call(e,O)&&e[O]||null:O?(Nu("data",n),e=O,s):e}function f(){if(n)return s;for(;++o<r.length;){let[O,...D]=r[o];if(D[0]===!1)continue;D[0]===!0&&(D[0]=void 0);let M=O.call(s,...D);typeof M=="function"&&t.use(M)}return n=!0,o=Number.POSITIVE_INFINITY,s}function c(O,...D){let M;if(Nu("use",n),O!=null)if(typeof O=="function")ye(O,...D);else if(typeof O=="object")Array.isArray(O)?ve(O):le(O);else throw new TypeError("Expected usable value, not `"+O+"`");return M&&(e.settings=Object.assign(e.settings||{},M)),s;function X(ie){if(typeof ie=="function")ye(ie);else if(typeof ie=="object")if(Array.isArray(ie)){let[ke,...Ee]=ie;ye(ke,...Ee)}else le(ie);else throw new TypeError("Expected usable value, not `"+ie+"`")}function le(ie){ve(ie.plugins),ie.settings&&(M=Object.assign(M||{},ie.settings))}function ve(ie){let ke=-1;if(ie!=null)if(Array.isArray(ie))for(;++ke<ie.length;){let Ee=ie[ke];X(Ee)}else throw new TypeError("Expected a list of plugins, not `"+ie+"`")}function ye(ie,ke){let Ee=-1,xe;for(;++Ee<r.length;)if(r[Ee][0]===ie){xe=r[Ee];break}xe?(Jo(xe[1])&&Jo(ke)&&(ke=(0,Du.default)(!0,xe[1],ke)),xe[1]=ke):r.push([...arguments])}}function g(O){s.freeze();let D=Yo(O),M=s.Parser;return Ou("parse",M),Jd(M,"parse")?new M(String(D),D).parse():M(String(D),D)}function h(O,D){s.freeze();let M=Yo(D),X=s.Compiler;return qu("stringify",X),Qd(O),Jd(X,"compile")?new X(O,M).compile():X(O,M)}function v(O,D,M){if(Qd(O),s.freeze(),!M&&typeof D=="function"&&(M=D,D=void 0),!M)return new Promise(X);X(null,M);function X(le,ve){t.run(O,Yo(D),ye);function ye(ie,ke,Ee){ke=ke||O,ie?ve(ie):le?le(ke):M(null,ke,Ee)}}}function x(O,D){let M,X;return s.run(O,D,le),Yd("runSync","run",X),M;function le(ve,ye){Eu(ve),M=ye,X=!0}}function k(O,D){if(s.freeze(),Ou("process",s.Parser),qu("process",s.Compiler),!D)return new Promise(M);M(null,D);function M(X,le){let ve=Yo(O);s.run(s.parse(ve),ve,(ie,ke,Ee)=>{if(ie||!ke||!Ee)ye(ie);else{let xe=s.stringify(ke,Ee);xe==null||(Qv(xe)?Ee.value=xe:Ee.result=xe),ye(ie,Ee)}});function ye(ie,ke){ie||!ke?le(ie):X?X(ke):D(null,ke)}}}function _(O){let D;s.freeze(),Ou("processSync",s.Parser),qu("processSync",s.Compiler);let M=Yo(O);return s.process(M,X),Yd("processSync","process",D),M;function X(le){D=!0,Eu(le)}}}function Jd(t,r){return typeof t=="function"&&t.prototype&&(Zv(t.prototype)||r in t.prototype)}function Zv(t){let r;for(r in t)if(em.call(t,r))return!0;return!1}function Ou(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function qu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Nu(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qd(t){if(!Jo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Yd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Yo(t){return Jv(t)?t:new Qo(t)}function Jv(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Qv(t){return typeof t=="string"||(0,Xd.default)(t)}function nm(t,r){var{includeImageAlt:e=!0}=r||{};return im(t,e)}function im(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&rm(t.children,r)||Array.isArray(t)&&rm(t,r))||""}function rm(t,r){for(var e=[],n=-1;++n<t.length;)e[n]=im(t[n],r);return e.join("")}function Ot(t,r,e,n){let o=t.length,s=0,l;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,e=e>0?e:0,n.length<1e4)l=Array.from(n),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);s<n.length;)l=n.slice(s,s+1e4),l.unshift(r,0),[].splice.apply(t,l),s+=1e4,r+=1e4}function yr(t,r){return t.length>0?(Ot(t,t.length,0,r),t):r}var om={}.hasOwnProperty;function ra(t){let r={},e=-1;for(;++e<t.length;)Yv(r,t[e]);return r}function Yv(t,r){let e;for(e in r){let o=(om.call(t,e)?t[e]:void 0)||(t[e]={}),s=r[e],l;for(l in s){om.call(o,l)||(o[l]=[]);let f=s[l];Xv(o[l],Array.isArray(f)?f:f?[f]:[])}}}function Xv(t,r){let e=-1,n=[];for(;++e<r.length;)(r[e].add==="after"?t:n).push(r[e]);Ot(t,0,0,n)}var sm=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var or=Xn(/[A-Za-z]/),Ti=Xn(/\d/),am=Xn(/[\dA-Fa-f]/),Vt=Xn(/[\dA-Za-z]/),lm=Xn(/[!-/:-@[-`{-~]/),Lu=Xn(/[#-'*+\--9=?A-Z^-~]/);function Yn(t){return t!==null&&(t<32||t===127)}function et(t){return t!==null&&(t<0||t===32)}function pe(t){return t!==null&&t<-2}function Be(t){return t===-2||t===-1||t===32}var Ii=Xn(/\s/),Oi=Xn(sm);function Xn(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function Ce(t,r,e,n){let o=n?n-1:Number.POSITIVE_INFINITY,s=0;return l;function l(c){return Be(c)?(t.enter(e),f(c)):r(c)}function f(c){return Be(c)&&s++<o?(t.consume(c),f):(t.exit(e),r(c))}}var um={tokenize:ek};function ek(t){let r=t.attempt(this.parser.constructs.contentInitial,n,o),e;return r;function n(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Ce(t,r,"linePrefix")}function o(f){return t.enter("paragraph"),s(f)}function s(f){let c=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=c),e=c,l(f)}function l(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return pe(f)?(t.consume(f),t.exit("chunkText"),s):(t.consume(f),l)}}var cm={tokenize:tk},fm={tokenize:rk};function tk(t){let r=this,e=[],n=0,o,s,l;return f;function f(le){if(n<e.length){let ve=e[n];return r.containerState=ve[1],t.attempt(ve[0].continuation,c,g)(le)}return g(le)}function c(le){if(n++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&X();let ve=r.events.length,ye=ve,ie;for(;ye--;)if(r.events[ye][0]==="exit"&&r.events[ye][1].type==="chunkFlow"){ie=r.events[ye][1].end;break}M(n);let ke=ve;for(;ke<r.events.length;)r.events[ke][1].end=Object.assign({},ie),ke++;return Ot(r.events,ye+1,0,r.events.slice(ve)),r.events.length=ke,g(le)}return f(le)}function g(le){if(n===e.length){if(!o)return x(le);if(o.currentConstruct&&o.currentConstruct.concrete)return _(le);r.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(fm,h,v)(le)}function h(le){return o&&X(),M(n),x(le)}function v(le){return r.parser.lazy[r.now().line]=n!==e.length,l=r.now().offset,_(le)}function x(le){return r.containerState={},t.attempt(fm,k,_)(le)}function k(le){return n++,e.push([r.currentConstruct,r.containerState]),x(le)}function _(le){if(le===null){o&&X(),M(0),t.consume(le);return}return o=o||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:o}),O(le)}function O(le){if(le===null){D(t.exit("chunkFlow"),!0),M(0),t.consume(le);return}return pe(le)?(t.consume(le),D(t.exit("chunkFlow")),n=0,r.interrupt=void 0,f):(t.consume(le),O)}function D(le,ve){let ye=r.sliceStream(le);if(ve&&ye.push(null),le.previous=s,s&&(s.next=le),s=le,o.defineSkip(le.start),o.write(ye),r.parser.lazy[le.start.line]){let ie=o.events.length;for(;ie--;)if(o.events[ie][1].start.offset<l&&(!o.events[ie][1].end||o.events[ie][1].end.offset>l))return;let ke=r.events.length,Ee=ke,xe,ze;for(;Ee--;)if(r.events[Ee][0]==="exit"&&r.events[Ee][1].type==="chunkFlow"){if(xe){ze=r.events[Ee][1].end;break}xe=!0}for(M(n),ie=ke;ie<r.events.length;)r.events[ie][1].end=Object.assign({},ze),ie++;Ot(r.events,Ee+1,0,r.events.slice(ke)),r.events.length=ie}}function M(le){let ve=e.length;for(;ve-- >le;){let ye=e[ve];r.containerState=ye[1],ye[0].exit.call(r,t)}e.length=le}function X(){o.write([null]),s=void 0,o=void 0,r.containerState._closeFlow=void 0}}function rk(t,r,e){return Ce(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function po(t){if(t===null||et(t)||Ii(t))return 1;if(Oi(t))return 2}function ei(t,r,e){let n=[],o=-1;for(;++o<t.length;){let s=t[o].resolveAll;s&&!n.includes(s)&&(r=s(r,e),n.push(s))}return r}var Xo={name:"attention",tokenize:ik,resolveAll:nk};function nk(t,r){let e=-1,n,o,s,l,f,c,g,h;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&&r.sliceSerialize(t[n][1]).charCodeAt(0)===r.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;c=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 v=Object.assign({},t[n][1].end),x=Object.assign({},t[e][1].start);pm(v,-c),pm(x,c),l={type:c>1?"strongSequence":"emphasisSequence",start:v,end:Object.assign({},t[n][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:x},s={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[e][1].start)},o={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},f.end)},t[n][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),g=[],t[n][1].end.offset-t[n][1].start.offset&&(g=yr(g,[["enter",t[n][1],r],["exit",t[n][1],r]])),g=yr(g,[["enter",o,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=yr(g,ei(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),g=yr(g,[["exit",s,r],["enter",f,r],["exit",f,r],["exit",o,r]]),t[e][1].end.offset-t[e][1].start.offset?(h=2,g=yr(g,[["enter",t[e][1],r],["exit",t[e][1],r]])):h=0,Ot(t,n-1,e-n+3,g),e=n+g.length-h-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function ik(t,r){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,o=po(n),s;return l;function l(c){return t.enter("attentionSequence"),s=c,f(c)}function f(c){if(c===s)return t.consume(c),f;let g=t.exit("attentionSequence"),h=po(c),v=!h||h===2&&o||e.includes(c),x=!o||o===2&&h||e.includes(n);return g._open=Boolean(s===42?v:v&&(o||!x)),g._close=Boolean(s===42?x:x&&(h||!v)),r(c)}}function pm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var ju={name:"autolink",tokenize:ok};function ok(t,r,e){let n=1;return o;function o(_){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(_),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(_){return or(_)?(t.consume(_),l):Lu(_)?g(_):e(_)}function l(_){return _===43||_===45||_===46||Vt(_)?f(_):g(_)}function f(_){return _===58?(t.consume(_),c):(_===43||_===45||_===46||Vt(_))&&n++<32?(t.consume(_),f):g(_)}function c(_){return _===62?(t.exit("autolinkProtocol"),k(_)):_===null||_===32||_===60||Yn(_)?e(_):(t.consume(_),c)}function g(_){return _===64?(t.consume(_),n=0,h):Lu(_)?(t.consume(_),g):e(_)}function h(_){return Vt(_)?v(_):e(_)}function v(_){return _===46?(t.consume(_),n=0,h):_===62?(t.exit("autolinkProtocol").type="autolinkEmail",k(_)):x(_)}function x(_){return(_===45||Vt(_))&&n++<63?(t.consume(_),_===45?x:v):e(_)}function k(_){return t.enter("autolinkMarker"),t.consume(_),t.exit("autolinkMarker"),t.exit("autolink"),r}}var $n={tokenize:sk,partial:!0};function sk(t,r,e){return Ce(t,n,"linePrefix");function n(o){return o===null||pe(o)?r(o):e(o)}}var na={name:"blockQuote",tokenize:ak,continuation:{tokenize:lk},exit:uk};function ak(t,r,e){let n=this;return o;function o(l){if(l===62){let f=n.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),s}return e(l)}function s(l){return Be(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function lk(t,r,e){return Ce(t,t.attempt(na,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function uk(t){t.exit("blockQuote")}var ia={name:"characterEscape",tokenize:fk};function fk(t,r,e){return n;function n(s){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(s),t.exit("escapeMarker"),o}function o(s){return lm(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(s)}}var Bu={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:`
18
- `,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 ck={}.hasOwnProperty;function mo(t){return ck.call(Bu,t)?Bu[t]:!1}var oa={name:"characterReference",tokenize:pk};function pk(t,r,e){let n=this,o=0,s,l;return f;function f(v){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(v),t.exit("characterReferenceMarker"),c}function c(v){return v===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(v),t.exit("characterReferenceMarkerNumeric"),g):(t.enter("characterReferenceValue"),s=31,l=Vt,h(v))}function g(v){return v===88||v===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(v),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,l=am,h):(t.enter("characterReferenceValue"),s=7,l=Ti,h(v))}function h(v){let x;return v===59&&o?(x=t.exit("characterReferenceValue"),l===Vt&&!mo(n.sliceSerialize(x))?e(v):(t.enter("characterReferenceMarker"),t.consume(v),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l(v)&&o++<s?(t.consume(v),h):e(v)}}var sa={name:"codeFenced",tokenize:dk,concrete:!0};function dk(t,r,e){let n=this,o={tokenize:ye,partial:!0},s={tokenize:ve,partial:!0},l=this.events[this.events.length-1],f=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0,g;return h;function h(ie){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g=ie,v(ie)}function v(ie){return ie===g?(t.consume(ie),c++,v):(t.exit("codeFencedFenceSequence"),c<3?e(ie):Ce(t,x,"whitespace")(ie))}function x(ie){return ie===null||pe(ie)?D(ie):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),k(ie))}function k(ie){return ie===null||et(ie)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Ce(t,_,"whitespace")(ie)):ie===96&&ie===g?e(ie):(t.consume(ie),k)}function _(ie){return ie===null||pe(ie)?D(ie):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),O(ie))}function O(ie){return ie===null||pe(ie)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),D(ie)):ie===96&&ie===g?e(ie):(t.consume(ie),O)}function D(ie){return t.exit("codeFencedFence"),n.interrupt?r(ie):M(ie)}function M(ie){return ie===null?le(ie):pe(ie)?t.attempt(s,t.attempt(o,le,f?Ce(t,M,"linePrefix",f+1):M),le)(ie):(t.enter("codeFlowValue"),X(ie))}function X(ie){return ie===null||pe(ie)?(t.exit("codeFlowValue"),M(ie)):(t.consume(ie),X)}function le(ie){return t.exit("codeFenced"),r(ie)}function ve(ie,ke,Ee){let xe=this;return ze;function ze(Te){return ie.enter("lineEnding"),ie.consume(Te),ie.exit("lineEnding"),Fe}function Fe(Te){return xe.parser.lazy[xe.now().line]?Ee(Te):ke(Te)}}function ye(ie,ke,Ee){let xe=0;return Ce(ie,ze,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ze(he){return ie.enter("codeFencedFence"),ie.enter("codeFencedFenceSequence"),Fe(he)}function Fe(he){return he===g?(ie.consume(he),xe++,Fe):xe<c?Ee(he):(ie.exit("codeFencedFenceSequence"),Ce(ie,Te,"whitespace")(he))}function Te(he){return he===null||pe(he)?(ie.exit("codeFencedFence"),ke(he)):Ee(he)}}}var es={name:"codeIndented",tokenize:hk},mk={tokenize:gk,partial:!0};function hk(t,r,e){let n=this;return o;function o(g){return t.enter("codeIndented"),Ce(t,s,"linePrefix",4+1)(g)}function s(g){let h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?l(g):e(g)}function l(g){return g===null?c(g):pe(g)?t.attempt(mk,l,c)(g):(t.enter("codeFlowValue"),f(g))}function f(g){return g===null||pe(g)?(t.exit("codeFlowValue"),l(g)):(t.consume(g),f)}function c(g){return t.exit("codeIndented"),r(g)}}function gk(t,r,e){let n=this;return o;function o(l){return n.parser.lazy[n.now().line]?e(l):pe(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o):Ce(t,s,"linePrefix",4+1)(l)}function s(l){let f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):pe(l)?o(l):e(l)}}var zu={name:"codeText",tokenize:bk,resolve:yk,previous:$k};function yk(t){let r=t.length-4,e=3,n,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)o===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(o=n):(n===r||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),r-=n-o-2,n=o+2),o=void 0);return t}function $k(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function bk(t,r,e){let n=this,o=0,s,l;return f;function f(x){return t.enter("codeText"),t.enter("codeTextSequence"),c(x)}function c(x){return x===96?(t.consume(x),o++,c):(t.exit("codeTextSequence"),g(x))}function g(x){return x===null?e(x):x===96?(l=t.enter("codeTextSequence"),s=0,v(x)):x===32?(t.enter("space"),t.consume(x),t.exit("space"),g):pe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),g):(t.enter("codeTextData"),h(x))}function h(x){return x===null||x===32||x===96||pe(x)?(t.exit("codeTextData"),g(x)):(t.consume(x),h)}function v(x){return x===96?(t.consume(x),s++,v):s===o?(t.exit("codeTextSequence"),t.exit("codeText"),r(x)):(l.type="codeTextData",h(x))}}function aa(t){let r={},e=-1,n,o,s,l,f,c,g;for(;++e<t.length;){for(;e in r;)e=r[e];if(n=t[e],e&&n[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=n[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(n[0]==="enter")n[1].contentType&&(Object.assign(r,vk(t,e)),e=r[e],g=!0);else if(n[1]._container){for(s=e,o=void 0;s--&&(l=t[s],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(o&&(t[o][1].type="lineEndingBlank"),l[1].type="lineEnding",o=s);o&&(n[1].end=Object.assign({},t[o][1].start),f=t.slice(o,e),f.unshift(n),Ot(t,o,e-o+1,f))}}return!g}function vk(t,r){let e=t[r][1],n=t[r][2],o=r-1,s=[],l=e._tokenizer||n.parser[e.contentType](e.start),f=l.events,c=[],g={},h,v,x=-1,k=e,_=0,O=0,D=[O];for(;k;){for(;t[++o][1]!==k;);s.push(o),k._tokenizer||(h=n.sliceStream(k),k.next||h.push(null),v&&l.defineSkip(k.start),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(h),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),v=k,k=k.next}for(k=e;++x<f.length;)f[x][0]==="exit"&&f[x-1][0]==="enter"&&f[x][1].type===f[x-1][1].type&&f[x][1].start.line!==f[x][1].end.line&&(O=x+1,D.push(O),k._tokenizer=void 0,k.previous=void 0,k=k.next);for(l.events=[],k?(k._tokenizer=void 0,k.previous=void 0):D.pop(),x=D.length;x--;){let M=f.slice(D[x],D[x+1]),X=s.pop();c.unshift([X,X+M.length-1]),Ot(t,X,2,M)}for(x=-1;++x<c.length;)g[_+c[x][0]]=_+c[x][1],_+=c[x][1]-c[x][0]-1;return g}var Mu={tokenize:xk,resolve:wk},kk={tokenize:Ck,partial:!0};function wk(t){return aa(t),t}function xk(t,r){let e;return n;function n(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),o(f)}function o(f){return f===null?s(f):pe(f)?t.check(kk,l,s)(f):(t.consume(f),o)}function s(f){return t.exit("chunkContent"),t.exit("content"),r(f)}function l(f){return t.consume(f),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,o}}function Ck(t,r,e){let n=this;return o;function o(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),Ce(t,s,"linePrefix")}function s(l){if(l===null||pe(l))return e(l);let f=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(n.parser.constructs.flow,e,r)(l)}}function la(t,r,e,n,o,s,l,f,c){let g=c||Number.POSITIVE_INFINITY,h=0;return v;function v(M){return M===60?(t.enter(n),t.enter(o),t.enter(s),t.consume(M),t.exit(s),x):M===null||M===41||Yn(M)?e(M):(t.enter(n),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),O(M))}function x(M){return M===62?(t.enter(s),t.consume(M),t.exit(s),t.exit(o),t.exit(n),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),k(M))}function k(M){return M===62?(t.exit("chunkString"),t.exit(f),x(M)):M===null||M===60||pe(M)?e(M):(t.consume(M),M===92?_:k)}function _(M){return M===60||M===62||M===92?(t.consume(M),k):k(M)}function O(M){return M===40?++h>g?e(M):(t.consume(M),O):M===41?h--?(t.consume(M),O):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(M)):M===null||et(M)?h?e(M):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(M)):Yn(M)?e(M):(t.consume(M),M===92?D:O)}function D(M){return M===40||M===41||M===92?(t.consume(M),O):O(M)}}function ua(t,r,e,n,o,s){let l=this,f=0,c;return g;function g(k){return t.enter(n),t.enter(o),t.consume(k),t.exit(o),t.enter(s),h}function h(k){return k===null||k===91||k===93&&!c||k===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(k):k===93?(t.exit(s),t.enter(o),t.consume(k),t.exit(o),t.exit(n),r):pe(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),h):(t.enter("chunkString",{contentType:"string"}),v(k))}function v(k){return k===null||k===91||k===93||pe(k)||f++>999?(t.exit("chunkString"),h(k)):(t.consume(k),c=c||!Be(k),k===92?x:v)}function x(k){return k===91||k===92||k===93?(t.consume(k),f++,v):v(k)}}function fa(t,r,e,n,o,s){let l;return f;function f(x){return t.enter(n),t.enter(o),t.consume(x),t.exit(o),l=x===40?41:x,c}function c(x){return x===l?(t.enter(o),t.consume(x),t.exit(o),t.exit(n),r):(t.enter(s),g(x))}function g(x){return x===l?(t.exit(s),c(l)):x===null?e(x):pe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),Ce(t,g,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),h(x))}function h(x){return x===l||x===null||pe(x)?(t.exit("chunkString"),g(x)):(t.consume(x),x===92?v:h)}function v(x){return x===l||x===92?(t.consume(x),h):h(x)}}function qi(t,r){let e;return n;function n(o){return pe(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e=!0,n):Be(o)?Ce(t,n,e?"linePrefix":"lineSuffix")(o):r(o)}}function sr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Vu={name:"definition",tokenize:Ek},Ak={tokenize:_k,partial:!0};function Ek(t,r,e){let n=this,o;return s;function s(c){return t.enter("definition"),ua.call(n,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return o=sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),qi(t,la(t,t.attempt(Ak,Ce(t,f,"whitespace"),Ce(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||pe(c)?(t.exit("definition"),n.parser.defined.includes(o)||n.parser.defined.push(o),r(c)):e(c)}}function _k(t,r,e){return n;function n(l){return et(l)?qi(t,o)(l):e(l)}function o(l){return l===34||l===39||l===40?fa(t,Ce(t,s,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function s(l){return l===null||pe(l)?r(l):e(l)}}var Uu={name:"hardBreakEscape",tokenize:Sk};function Sk(t,r,e){return n;function n(s){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(s),o}function o(s){return pe(s)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(s)):e(s)}}var Hu={name:"headingAtx",tokenize:Fk,resolve:Pk};function Pk(t,r){let e=t.length-2,n=3,o,s;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},s={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},Ot(t,n,e-n+1,[["enter",o,r],["enter",s,r],["exit",s,r],["exit",o,r]])),t}function Fk(t,r,e){let n=this,o=0;return s;function s(h){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(h)}function l(h){return h===35&&o++<6?(t.consume(h),l):h===null||et(h)?(t.exit("atxHeadingSequence"),n.interrupt?r(h):f(h)):e(h)}function f(h){return h===35?(t.enter("atxHeadingSequence"),c(h)):h===null||pe(h)?(t.exit("atxHeading"),r(h)):Be(h)?Ce(t,f,"whitespace")(h):(t.enter("atxHeadingText"),g(h))}function c(h){return h===35?(t.consume(h),c):(t.exit("atxHeadingSequence"),f(h))}function g(h){return h===null||h===35||et(h)?(t.exit("atxHeadingText"),f(h)):(t.consume(h),g)}}var dm=["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"],Gu=["pre","script","style","textarea"];var Ku={name:"htmlFlow",tokenize:Ok,resolveTo:Ik,concrete:!0},Tk={tokenize:qk,partial:!0};function Ik(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function Ok(t,r,e){let n=this,o,s,l,f,c;return g;function g(V){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(V),h}function h(V){return V===33?(t.consume(V),v):V===47?(t.consume(V),_):V===63?(t.consume(V),o=3,n.interrupt?r:$t):or(V)?(t.consume(V),l=String.fromCharCode(V),s=!0,O):e(V)}function v(V){return V===45?(t.consume(V),o=2,x):V===91?(t.consume(V),o=5,l="CDATA[",f=0,k):or(V)?(t.consume(V),o=4,n.interrupt?r:$t):e(V)}function x(V){return V===45?(t.consume(V),n.interrupt?r:$t):e(V)}function k(V){return V===l.charCodeAt(f++)?(t.consume(V),f===l.length?n.interrupt?r:Fe:k):e(V)}function _(V){return or(V)?(t.consume(V),l=String.fromCharCode(V),O):e(V)}function O(V){return V===null||V===47||V===62||et(V)?V!==47&&s&&Gu.includes(l.toLowerCase())?(o=1,n.interrupt?r(V):Fe(V)):dm.includes(l.toLowerCase())?(o=6,V===47?(t.consume(V),D):n.interrupt?r(V):Fe(V)):(o=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(V):s?X(V):M(V)):V===45||Vt(V)?(t.consume(V),l+=String.fromCharCode(V),O):e(V)}function D(V){return V===62?(t.consume(V),n.interrupt?r:Fe):e(V)}function M(V){return Be(V)?(t.consume(V),M):xe(V)}function X(V){return V===47?(t.consume(V),xe):V===58||V===95||or(V)?(t.consume(V),le):Be(V)?(t.consume(V),X):xe(V)}function le(V){return V===45||V===46||V===58||V===95||Vt(V)?(t.consume(V),le):ve(V)}function ve(V){return V===61?(t.consume(V),ye):Be(V)?(t.consume(V),ve):X(V)}function ye(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),c=V,ie):Be(V)?(t.consume(V),ye):(c=null,ke(V))}function ie(V){return V===null||pe(V)?e(V):V===c?(t.consume(V),Ee):(t.consume(V),ie)}function ke(V){return V===null||V===34||V===39||V===60||V===61||V===62||V===96||et(V)?ve(V):(t.consume(V),ke)}function Ee(V){return V===47||V===62||Be(V)?X(V):e(V)}function xe(V){return V===62?(t.consume(V),ze):e(V)}function ze(V){return Be(V)?(t.consume(V),ze):V===null||pe(V)?Fe(V):e(V)}function Fe(V){return V===45&&o===2?(t.consume(V),st):V===60&&o===1?(t.consume(V),te):V===62&&o===4?(t.consume(V),tt):V===63&&o===3?(t.consume(V),$t):V===93&&o===5?(t.consume(V),Je):pe(V)&&(o===6||o===7)?t.check(Tk,tt,Te)(V):V===null||pe(V)?Te(V):(t.consume(V),Fe)}function Te(V){return t.exit("htmlFlowData"),he(V)}function he(V){return V===null?z(V):pe(V)?t.attempt({tokenize:_e,partial:!0},he,z)(V):(t.enter("htmlFlowData"),Fe(V))}function _e(V,Qt,Bt){return wt;function wt(Et){return V.enter("lineEnding"),V.consume(Et),V.exit("lineEnding"),Pt}function Pt(Et){return n.parser.lazy[n.now().line]?Bt(Et):Qt(Et)}}function st(V){return V===45?(t.consume(V),$t):Fe(V)}function te(V){return V===47?(t.consume(V),l="",At):Fe(V)}function At(V){return V===62&&Gu.includes(l.toLowerCase())?(t.consume(V),tt):or(V)&&l.length<8?(t.consume(V),l+=String.fromCharCode(V),At):Fe(V)}function Je(V){return V===93?(t.consume(V),$t):Fe(V)}function $t(V){return V===62?(t.consume(V),tt):V===45&&o===2?(t.consume(V),$t):Fe(V)}function tt(V){return V===null||pe(V)?(t.exit("htmlFlowData"),z(V)):(t.consume(V),tt)}function z(V){return t.exit("htmlFlow"),r(V)}}function qk(t,r,e){return n;function n(o){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),t.attempt($n,r,e)}}var Wu={name:"htmlText",tokenize:Nk};function Nk(t,r,e){let n=this,o,s,l,f;return c;function c(z){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(z),g}function g(z){return z===33?(t.consume(z),h):z===47?(t.consume(z),ke):z===63?(t.consume(z),ye):or(z)?(t.consume(z),ze):e(z)}function h(z){return z===45?(t.consume(z),v):z===91?(t.consume(z),s="CDATA[",l=0,D):or(z)?(t.consume(z),ve):e(z)}function v(z){return z===45?(t.consume(z),x):e(z)}function x(z){return z===null||z===62?e(z):z===45?(t.consume(z),k):_(z)}function k(z){return z===null||z===62?e(z):_(z)}function _(z){return z===null?e(z):z===45?(t.consume(z),O):pe(z)?(f=_,Je(z)):(t.consume(z),_)}function O(z){return z===45?(t.consume(z),tt):_(z)}function D(z){return z===s.charCodeAt(l++)?(t.consume(z),l===s.length?M:D):e(z)}function M(z){return z===null?e(z):z===93?(t.consume(z),X):pe(z)?(f=M,Je(z)):(t.consume(z),M)}function X(z){return z===93?(t.consume(z),le):M(z)}function le(z){return z===62?tt(z):z===93?(t.consume(z),le):M(z)}function ve(z){return z===null||z===62?tt(z):pe(z)?(f=ve,Je(z)):(t.consume(z),ve)}function ye(z){return z===null?e(z):z===63?(t.consume(z),ie):pe(z)?(f=ye,Je(z)):(t.consume(z),ye)}function ie(z){return z===62?tt(z):ye(z)}function ke(z){return or(z)?(t.consume(z),Ee):e(z)}function Ee(z){return z===45||Vt(z)?(t.consume(z),Ee):xe(z)}function xe(z){return pe(z)?(f=xe,Je(z)):Be(z)?(t.consume(z),xe):tt(z)}function ze(z){return z===45||Vt(z)?(t.consume(z),ze):z===47||z===62||et(z)?Fe(z):e(z)}function Fe(z){return z===47?(t.consume(z),tt):z===58||z===95||or(z)?(t.consume(z),Te):pe(z)?(f=Fe,Je(z)):Be(z)?(t.consume(z),Fe):tt(z)}function Te(z){return z===45||z===46||z===58||z===95||Vt(z)?(t.consume(z),Te):he(z)}function he(z){return z===61?(t.consume(z),_e):pe(z)?(f=he,Je(z)):Be(z)?(t.consume(z),he):Fe(z)}function _e(z){return z===null||z===60||z===61||z===62||z===96?e(z):z===34||z===39?(t.consume(z),o=z,st):pe(z)?(f=_e,Je(z)):Be(z)?(t.consume(z),_e):(t.consume(z),o=void 0,At)}function st(z){return z===o?(t.consume(z),te):z===null?e(z):pe(z)?(f=st,Je(z)):(t.consume(z),st)}function te(z){return z===62||z===47||et(z)?Fe(z):e(z)}function At(z){return z===null||z===34||z===39||z===60||z===61||z===96?e(z):z===62||et(z)?Fe(z):(t.consume(z),At)}function Je(z){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),Ce(t,$t,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $t(z){return t.enter("htmlTextData"),f(z)}function tt(z){return z===62?(t.consume(z),t.exit("htmlTextData"),t.exit("htmlText"),r):e(z)}}var Ni={name:"labelEnd",tokenize:zk,resolveTo:Bk,resolveAll:jk},Dk={tokenize:Mk},Rk={tokenize:Vk},Lk={tokenize:Uk};function jk(t){let r=-1,e;for(;++r<t.length;)e=t[r][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(r+1,e.type==="labelImage"?4:2),e.type="data",r++);return t}function Bk(t,r){let e=t.length,n=0,o,s,l,f;for(;e--;)if(o=t[e][1],s){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[e][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(l){if(t[e][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(s=e,o.type!=="labelLink")){n=2;break}}else o.type==="labelEnd"&&(l=e);let c={type:t[s][1].type==="labelLink"?"link":"image",start:Object.assign({},t[s][1].start),end:Object.assign({},t[t.length-1][1].end)},g={type:"label",start:Object.assign({},t[s][1].start),end:Object.assign({},t[l][1].end)},h={type:"labelText",start:Object.assign({},t[s+n+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",g,r]],f=yr(f,t.slice(s+1,s+n+3)),f=yr(f,[["enter",h,r]]),f=yr(f,ei(r.parser.constructs.insideSpan.null,t.slice(s+n+4,l-3),r)),f=yr(f,[["exit",h,r],t[l-2],t[l-1],["exit",g,r]]),f=yr(f,t.slice(l+1)),f=yr(f,[["exit",c,r]]),Ot(t,s,t.length,f),t}function zk(t,r,e){let n=this,o=n.events.length,s,l;for(;o--;)if((n.events[o][1].type==="labelImage"||n.events[o][1].type==="labelLink")&&!n.events[o][1]._balanced){s=n.events[o][1];break}return f;function f(h){return s?s._inactive?g(h):(l=n.parser.defined.includes(sr(n.sliceSerialize({start:s.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelEnd"),c):e(h)}function c(h){return h===40?t.attempt(Dk,r,l?r:g)(h):h===91?t.attempt(Rk,r,l?t.attempt(Lk,r,g):g)(h):l?r(h):g(h)}function g(h){return s._balanced=!0,e(h)}}function Mk(t,r,e){return n;function n(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),qi(t,o)}function o(c){return c===41?f(c):la(t,s,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function s(c){return et(c)?qi(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?fa(t,qi(t,f),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function f(c){return c===41?(t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),t.exit("resource"),r):e(c)}}function Vk(t,r,e){let n=this;return o;function o(l){return ua.call(n,t,s,e,"reference","referenceMarker","referenceString")(l)}function s(l){return n.parser.defined.includes(sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Uk(t,r,e){return n;function n(s){return t.enter("reference"),t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),o}function o(s){return s===93?(t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),t.exit("reference"),r):e(s)}}var Zu={name:"labelStartImage",tokenize:Hk,resolveAll:Ni.resolveAll};function Hk(t,r,e){let n=this;return o;function o(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),s}function s(f){return f===91?(t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelImage"),l):e(f)}function l(f){return f===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(f):r(f)}}var Ju={name:"labelStartLink",tokenize:Gk,resolveAll:Ni.resolveAll};function Gk(t,r,e){let n=this;return o;function o(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(l):r(l)}}var ts={name:"lineEnding",tokenize:Kk};function Kk(t,r){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Ce(t,r,"linePrefix")}}var Di={name:"thematicBreak",tokenize:Wk};function Wk(t,r,e){let n=0,o;return s;function s(c){return t.enter("thematicBreak"),o=c,l(c)}function l(c){return c===o?(t.enter("thematicBreakSequence"),f(c)):Be(c)?Ce(t,l,"whitespace")(c):n<3||c!==null&&!pe(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===o?(t.consume(c),n++,f):(t.exit("thematicBreakSequence"),l(c))}}var ar={name:"list",tokenize:Qk,continuation:{tokenize:Yk},exit:ew},Zk={tokenize:tw,partial:!0},Jk={tokenize:Xk,partial:!0};function Qk(t,r,e){let n=this,o=n.events[n.events.length-1],s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,l=0;return f;function f(k){let _=n.containerState.type||(k===42||k===43||k===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!n.containerState.marker||k===n.containerState.marker:Ti(k)){if(n.containerState.type||(n.containerState.type=_,t.enter(_,{_container:!0})),_==="listUnordered")return t.enter("listItemPrefix"),k===42||k===45?t.check(Di,e,g)(k):g(k);if(!n.interrupt||k===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(k)}return e(k)}function c(k){return Ti(k)&&++l<10?(t.consume(k),c):(!n.interrupt||l<2)&&(n.containerState.marker?k===n.containerState.marker:k===41||k===46)?(t.exit("listItemValue"),g(k)):e(k)}function g(k){return t.enter("listItemMarker"),t.consume(k),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||k,t.check($n,n.interrupt?e:h,t.attempt(Zk,x,v))}function h(k){return n.containerState.initialBlankLine=!0,s++,x(k)}function v(k){return Be(k)?(t.enter("listItemPrefixWhitespace"),t.consume(k),t.exit("listItemPrefixWhitespace"),x):e(k)}function x(k){return n.containerState.size=s+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(k)}}function Yk(t,r,e){let n=this;return n.containerState._closeFlow=void 0,t.check($n,o,s);function o(f){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ce(t,r,"listItemIndent",n.containerState.size+1)(f)}function s(f){return n.containerState.furtherBlankLines||!Be(f)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(f)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(Jk,r,l)(f))}function l(f){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ce(t,t.attempt(ar,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function Xk(t,r,e){let n=this;return Ce(t,o,"listItemIndent",n.containerState.size+1);function o(s){let l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?r(s):e(s)}}function ew(t){t.exit(this.containerState.type)}function tw(t,r,e){let n=this;return Ce(t,o,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function o(s){let l=n.events[n.events.length-1];return!Be(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):e(s)}}var ca={name:"setextUnderline",tokenize:nw,resolveTo:rw};function rw(t,r){let e=t.length,n,o,s;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),!s&&t[e][1].type==="definition"&&(s=e);let l={type:"setextHeading",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[o][1].type="setextHeadingText",s?(t.splice(o,0,["enter",l,r]),t.splice(s+1,0,["exit",t[n][1],r]),t[n][1].end=Object.assign({},t[s][1].end)):t[n][1]=l,t.push(["exit",l,r]),t}function nw(t,r,e){let n=this,o=n.events.length,s,l;for(;o--;)if(n.events[o][1].type!=="lineEnding"&&n.events[o][1].type!=="linePrefix"&&n.events[o][1].type!=="content"){l=n.events[o][1].type==="paragraph";break}return f;function f(h){return!n.parser.lazy[n.now().line]&&(n.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),s=h,c(h)):e(h)}function c(h){return h===s?(t.consume(h),c):(t.exit("setextHeadingLineSequence"),Ce(t,g,"lineSuffix")(h))}function g(h){return h===null||pe(h)?(t.exit("setextHeadingLine"),r(h)):e(h)}}var mm={tokenize:iw};function iw(t){let r=this,e=t.attempt($n,n,t.attempt(this.parser.constructs.flowInitial,o,Ce(t,t.attempt(this.parser.constructs.flow,o,t.attempt(Mu,o)),"linePrefix")));return e;function n(s){if(s===null){t.consume(s);return}return t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function o(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var hm={resolveAll:bm()},gm=$m("string"),ym=$m("text");function $m(t){return{tokenize:r,resolveAll:bm(t==="text"?ow:void 0)};function r(e){let n=this,o=this.parser.constructs[t],s=e.attempt(o,l,f);return l;function l(h){return g(h)?s(h):f(h)}function f(h){if(h===null){e.consume(h);return}return e.enter("data"),e.consume(h),c}function c(h){return g(h)?(e.exit("data"),s(h)):(e.consume(h),c)}function g(h){if(h===null)return!0;let v=o[h],x=-1;if(v)for(;++x<v.length;){let k=v[x];if(!k.previous||k.previous.call(n,n.previous))return!0}return!1}}}function bm(t){return r;function r(e,n){let o=-1,s;for(;++o<=e.length;)s===void 0?e[o]&&e[o][1].type==="data"&&(s=o,o++):(!e[o]||e[o][1].type!=="data")&&(o!==s+2&&(e[s][1].end=e[o-1][1].end,e.splice(s+2,o-s-2),o=s+2),s=void 0);return t?t(e,n):e}}function ow(t,r){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=r.sliceStream(n),s=o.length,l=-1,f=0,c;for(;s--;){let g=o[s];if(typeof g=="string"){for(l=g.length;g.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(g===-2)c=!0,f++;else if(g!==-1){s++;break}}if(f){let g={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-f,offset:n.end.offset-f,_index:n.start._index+s,_bufferIndex:s?l:n.start._bufferIndex+l},end:Object.assign({},n.end)};n.end=Object.assign({},g.start),n.start.offset===n.end.offset?Object.assign(n,g):(t.splice(e,0,["enter",g,r],["exit",g,r]),e+=2)}e++}return t}function vm(t,r,e){let n=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},s=[],l=[],f=[],c=!0,g={consume:ve,enter:ye,exit:ie,attempt:xe(ke),check:xe(Ee),interrupt:xe(Ee,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:O,sliceSerialize:_,now:D,defineSkip:M,write:k},v=r.tokenize.call(h,g),x;return r.resolveAll&&s.push(r),h;function k(he){return l=yr(l,he),X(),l[l.length-1]!==null?[]:(ze(r,0),h.events=ei(s,h.events,h),h.events)}function _(he,_e){return aw(O(he),_e)}function O(he){return sw(l,he)}function D(){return Object.assign({},n)}function M(he){o[he.line]=he.column,Te()}function X(){let he;for(;n._index<l.length;){let _e=l[n._index];if(typeof _e=="string")for(he=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===he&&n._bufferIndex<_e.length;)le(_e.charCodeAt(n._bufferIndex));else le(_e)}}function le(he){c=void 0,x=he,v=v(he)}function ve(he){pe(he)?(n.line++,n.column=1,n.offset+=he===-3?2:1,Te()):he!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=he,c=!0}function ye(he,_e){let st=_e||{};return st.type=he,st.start=D(),h.events.push(["enter",st,h]),f.push(st),st}function ie(he){let _e=f.pop();return _e.end=D(),h.events.push(["exit",_e,h]),_e}function ke(he,_e){ze(he,_e.from)}function Ee(he,_e){_e.restore()}function xe(he,_e){return st;function st(te,At,Je){let $t,tt,z,V;return Array.isArray(te)?Bt(te):"tokenize"in te?Bt([te]):Qt(te);function Qt(at){return _r;function _r(be){let $r=be!==null&&at[be],ur=be!==null&&at.null,fr=[...Array.isArray($r)?$r:$r?[$r]:[],...Array.isArray(ur)?ur:ur?[ur]:[]];return Bt(fr)(be)}}function Bt(at){return $t=at,tt=0,at.length===0?Je:wt(at[tt])}function wt(at){return _r;function _r(be){return V=Fe(),z=at,at.partial||(h.currentConstruct=at),at.name&&h.parser.constructs.disable.null.includes(at.name)?Et(be):at.tokenize.call(_e?Object.assign(Object.create(h),_e):h,g,Pt,Et)(be)}}function Pt(at){return c=!0,he(z,V),At}function Et(at){return c=!0,V.restore(),++tt<$t.length?wt($t[tt]):Je}}}function ze(he,_e){he.resolveAll&&!s.includes(he)&&s.push(he),he.resolve&&Ot(h.events,_e,h.events.length-_e,he.resolve(h.events.slice(_e),h)),he.resolveTo&&(h.events=he.resolveTo(h.events,h))}function Fe(){let he=D(),_e=h.previous,st=h.currentConstruct,te=h.events.length,At=Array.from(f);return{restore:Je,from:te};function Je(){n=he,h.previous=_e,h.currentConstruct=st,h.events.length=te,f=At,Te()}}function Te(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}function sw(t,r){let e=r.start._index,n=r.start._bufferIndex,o=r.end._index,s=r.end._bufferIndex,l;return e===o?l=[t[e].slice(n,s)]:(l=t.slice(e,o),n>-1&&(l[0]=l[0].slice(n)),s>0&&l.push(t[o].slice(0,s))),l}function aw(t,r){let e=-1,n=[],o;for(;++e<t.length;){let s=t[e],l;if(typeof s=="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
16
+ `),c.text=g.value,s.push(c)),l=!0}else s.push(c)}return e.content=s,e}})(t,{});function Zo(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(Zo(e)):r.concat(e),[])}var Cu=(t,r,e)=>{let n=[];for(let o=0;t.length>o;o++)n.push(e(parseInt(t[o],10),parseInt(r[o],10)));return n.join("")},Uv=(t,r)=>{let e=Math.max(...[...t,...r].map(l=>l.length));return t.map(l=>{let f=l+" ".repeat(e-l.length),c=[],g=/\s+[+|\s]\s/g,m;for(;(m=g.exec(f))!=null;){let v="1".repeat(m.index)+"0".repeat(m[0].length);c.push(v+"1".repeat(e-v.length))}return c.reduce((v,x)=>Cu(v,x,(k,_)=>k&_),"1".repeat(e))}).map(l=>Cu(l,"",f=>f==0?1:0)).reduce((l,f)=>Cu(l,f,(c,g)=>c&g),"1".repeat(e))},Au=(t,r)=>{let n=Zo(t.split(/\n/).filter(s=>s.length>0)).map(s=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;){if(c[0][0]==1)continue;let g=s.substring(c.index,c.index+c[0].length);f.push(g)}return f}),o=[];return o=n.reduce((s,l)=>{for(let f=0;f<l.length;f++)s[f]=(s[f]===void 0?"":s[f])+" "+l[f];return s},[]),o},Sd=()=>t=>Ir({table:e=>{let n=[],o=k=>{n.push(k.value)},s=[];if(Ir({"row:text":o,"head:text":o,":separator":k=>{s.push(k.text)}})(e),!n.length)return e;let l=k=>k.split(/\n/).filter(_=>_.length>0),f=Zo(n.map(l)),c=Zo(s.map(l)),g=[];Ir({"row:text":k=>{g.push(k.value)}})(e);let m=Uv(f,c),v=(k,_,...O)=>({...O,name:k,type:"block",content:Array.isArray(_)?_:[_]});return Ir({"row:text":k=>{if(g.length==1)return Zo([k.value].map(l)).map(D=>{let M=Au(D,m);return v("table_row",M.map(X=>v("table_cell",{type:"text",value:X})))});let _=Au(k.value,m);return v("table_row",_.map(O=>v("table_cell",{type:"text",value:O})))},"head:text":k=>{let _=Au(k.value,m);return v("table_head",_.map(O=>v("table_cell",{type:"text",value:O})))}})(e)}})(t,{});var hC={":text":(t,r)=>(e,n,o)=>{e.value?t.write(e.value):o(e.content,n)},"A<>":(t,r)=>(e,n,o)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let s=n.alias[e.content].join(`
17
+ `),l=r(s),f=md()(l);f[0].type==="para"?o(f[0].content,n):o(f,n)}},"C<>":yt("<code>","</code>"),"D<>":(t,r)=>(e,n,o)=>{let s={node:e},l=[e.content[0]];s&&(l=s),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),o(e.content,n),t.writeRaw("</dfn>")},"B<>":yt("<strong>","</strong>"),"I<>":yt("<em>","</em>"),"R<>":yt("<var>","</var>"),"K<>":yt("<kbd>","</kbd>"),"L<>":Qn((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),yt(`<a href="${e}">`,"</a>")}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw('<div class="footnotes">'),e.map(n=>{t.writeRaw(`<p><sup id="${n.fnId}" class="footnote"><a href="#${n.fnRefId}">[${n.gid}]</a></sup> `),n.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,n,o)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let s=t.gid++,l=`fnref:${s}`,f=`fn:${s}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${s}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:s,fnRefId:l,fnId:f,make:()=>{o(e.content,n)}})}),"S<>":(t,r)=>(e,n,o)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":yt("<samp>","</samp>"),"U<>":yt("<u>","</u>"),"V<>":Nn,"X<>":(t,r)=>(e,n,o)=>{o(e.content,n);let{entry:s}=e;if(s===null&&e.content.length>0)s=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:s})},"Z<>":qn,pod:Nn,":code":yt("<pre><code>","</code></pre>"),code:_i(yt("<pre><code>","</code></pre>")),data:qn,":verbatim":(t,r)=>(e,n,o)=>{e.error&&t.emit("errors",e.location),o(e.value)},":blankline":qn,":ambient":qn,":config":Qn((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,qn)),":alias":Qn((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,qn)),para:_i(Nn),":para":yt("<p>","</p>"),"head:block":vu({":para":Nn},Qn((t,r)=>{let{level:e}=t,n=ld(t,r);return yt(`<h${e}${n?` id="${n}"`:""}>`,`</h${e}>`)})),":list":Qn((t,r)=>t.list==="ordered"?yt("<ol>","</ol>"):t.list==="variable"?yt("<dl>","</dl>"):yt("<ul>","</ul>")),"item:block":(t,r)=>(e,n,o)=>{e.content instanceof Array||console.error("[pod6] item:block : Error in content of "+JSON.stringify(e));let[s,...l]=e.content;t.writeRaw("<li>"),o(e.content,n),t.writeRaw("</li>")},"comment:block":qn,defn:yt("","</dd>"),"term:para":yt("<dt>","</dt><dd>"),nested:_i(Nn,1),output:_i(yt("<pre><samp>","</samp></pre>"),1),input:_i(yt("<pre><kbd>","</kbd></pre>"),1),"table:block":_i((t,r)=>(e,n,o)=>{let s=nn(e,n);t.writeRaw("<table>"),s.exists("caption")&&(t.writeRaw("<caption>"),t.write(s.getFirstValue("caption")),t.writeRaw("</caption>")),o(e.content,n),t.writeRaw("</table>")}),":separator":qn,table_row:yt("<tr>","</tr>"),table_cell:yt("<td>","</td>"),table_head:vu({table_cell:yt("<th>","</th>")},yt("<tr>","</tr>")),":toc":(t,r)=>(e,n,o)=>{t.writeRaw('<div className="toc">');let s=nn(e,n);if(s.exists("title")){let l=s.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}o(e.content,n),t.writeRaw("</div>")},":toc-list":Qn((t,r)=>yt(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Qn((t,r)=>yt('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,n,o)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var IC=new Fd.default({strict:!0,allowUnionTypes:!0});function gd(){var t=[];return r.use=e,r.parse=n,r.use(bd),r.use(xd),r.use(Cd),r.use(_d),r.use(Sd),r.use(wd),r.use(Ed),r.use(Ad),r;function r(){}function e(o){if(!["function"].includes(typeof o))throw o;return t.push(o),r}function n(o,s={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=s,c=Td.parse(o,{podMode:f});if(!l)for(let g=0;g<t.length;g++){let m=t[g];c=m(s)(c)}return c}}var pd=gd().parse;var{version:OC}=Pd();function Eu(t){if(t)throw t}var Xd=Fr(Od(),1),Du=Fr(Md(),1);function Jo(t){if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vd(){let t=[],r={run:e,use:n};return r;function e(...o){let s=-1,l=o.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...o);function f(c,...g){let m=t[++s],v=-1;if(c){l(c);return}for(;++v<o.length;)(g[v]===null||g[v]===void 0)&&(g[v]=o[v]);o=g,m?Wv(m,f)(...g):l(null,...g)}}function n(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),r}}function Wv(t,r){let e;return n;function n(...l){let f=t.length>l.length,c;f&&l.push(o);try{c=t.apply(this,l)}catch(g){let m=g;if(f&&e)throw m;return o(m)}f||(c instanceof Promise?c.then(s,o):c instanceof Error?o(c):s(c))}function o(l,...f){e||(e=!0,r(l,...f))}function s(l){o(null,l)}}var Zd=Fr(Hd(),1);function Fi(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Gd(t.position):"start"in t||"end"in t?Gd(t):"line"in t||"column"in t?_u(t):""}function _u(t){return Kd(t&&t.line)+":"+Kd(t&&t.column)}function Gd(t){return _u(t&&t.start)+"-"+_u(t&&t.end)}function Kd(t){return t&&typeof t=="number"?t:1}var gr=class extends Error{constructor(r,e,n){let o=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(n=e,e=void 0),typeof n=="string"){let l=n.indexOf(":");l===-1?o[1]=n:(o[0]=n.slice(0,l),o[1]=n.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(s=e.position):"start"in e||"end"in e?s=e:("line"in e||"column"in e)&&(s.start=e)),this.name=Fi(e)||"1:1",this.message=typeof r=="object"?r.message:r,this.stack=typeof r=="object"?r.stack:"",this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.source=o[0],this.ruleId=o[1],this.position=s,this.actual,this.expected,this.file,this.url,this.note}};gr.prototype.file="";gr.prototype.name="";gr.prototype.reason="";gr.prototype.message="";gr.prototype.stack="";gr.prototype.fatal=null;gr.prototype.column=null;gr.prototype.line=null;gr.prototype.source=null;gr.prototype.ruleId=null;gr.prototype.position=null;var Mr=Fr(require("path"),1);var Su=Fr(require("process"),1);var Pu=require("url");function ta(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Fu=["history","path","basename","stem","extname","dirname"],Qo=class{constructor(r){let e;r?typeof r=="string"||(0,Zd.default)(r)?e={value:r}:ta(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=Su.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<Fu.length;){let s=Fu[n];s in e&&e[s]!==void 0&&(this[s]=s==="history"?[...e[s]]:e[s])}let o;for(o in e)Fu.includes(o)||(this[o]=e[o])}get path(){return this.history[this.history.length-1]}set path(r){ta(r)&&(r=(0,Pu.fileURLToPath)(r)),Iu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?Mr.default.dirname(this.path):void 0}set dirname(r){Wd(this.basename,"dirname"),this.path=Mr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Mr.default.basename(this.path):void 0}set basename(r){Iu(r,"basename"),Tu(r,"basename"),this.path=Mr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Mr.default.extname(this.path):void 0}set extname(r){if(Tu(r,"extname"),Wd(this.dirname,"extname"),r){if(r.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Mr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Mr.default.basename(this.path,this.extname):void 0}set stem(r){Iu(r,"stem"),Tu(r,"stem"),this.path=Mr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,n){let o=new gr(r,e,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(r,e,n){let o=this.message(r,e,n);return o.fatal=null,o}fail(r,e,n){let o=this.message(r,e,n);throw o.fatal=!0,o}};function Tu(t,r){if(t&&t.includes(Mr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Mr.default.sep+"`")}function Iu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Wd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Ru=tm().freeze(),em={}.hasOwnProperty;function tm(){let t=Vd(),r=[],e={},n,o=-1;return s.data=l,s.Parser=void 0,s.Compiler=void 0,s.freeze=f,s.attachers=r,s.use=c,s.parse=g,s.stringify=m,s.run=v,s.runSync=x,s.process=k,s.processSync=_,s;function s(){let O=tm(),D=-1;for(;++D<r.length;)O.use(...r[D]);return O.data((0,Du.default)(!0,{},e)),O}function l(O,D){return typeof O=="string"?arguments.length===2?(Nu("data",n),e[O]=D,s):em.call(e,O)&&e[O]||null:O?(Nu("data",n),e=O,s):e}function f(){if(n)return s;for(;++o<r.length;){let[O,...D]=r[o];if(D[0]===!1)continue;D[0]===!0&&(D[0]=void 0);let M=O.call(s,...D);typeof M=="function"&&t.use(M)}return n=!0,o=Number.POSITIVE_INFINITY,s}function c(O,...D){let M;if(Nu("use",n),O!=null)if(typeof O=="function")ye(O,...D);else if(typeof O=="object")Array.isArray(O)?ve(O):le(O);else throw new TypeError("Expected usable value, not `"+O+"`");return M&&(e.settings=Object.assign(e.settings||{},M)),s;function X(ie){if(typeof ie=="function")ye(ie);else if(typeof ie=="object")if(Array.isArray(ie)){let[ke,...Ee]=ie;ye(ke,...Ee)}else le(ie);else throw new TypeError("Expected usable value, not `"+ie+"`")}function le(ie){ve(ie.plugins),ie.settings&&(M=Object.assign(M||{},ie.settings))}function ve(ie){let ke=-1;if(ie!=null)if(Array.isArray(ie))for(;++ke<ie.length;){let Ee=ie[ke];X(Ee)}else throw new TypeError("Expected a list of plugins, not `"+ie+"`")}function ye(ie,ke){let Ee=-1,xe;for(;++Ee<r.length;)if(r[Ee][0]===ie){xe=r[Ee];break}xe?(Jo(xe[1])&&Jo(ke)&&(ke=(0,Du.default)(!0,xe[1],ke)),xe[1]=ke):r.push([...arguments])}}function g(O){s.freeze();let D=Yo(O),M=s.Parser;return Ou("parse",M),Jd(M,"parse")?new M(String(D),D).parse():M(String(D),D)}function m(O,D){s.freeze();let M=Yo(D),X=s.Compiler;return qu("stringify",X),Qd(O),Jd(X,"compile")?new X(O,M).compile():X(O,M)}function v(O,D,M){if(Qd(O),s.freeze(),!M&&typeof D=="function"&&(M=D,D=void 0),!M)return new Promise(X);X(null,M);function X(le,ve){t.run(O,Yo(D),ye);function ye(ie,ke,Ee){ke=ke||O,ie?ve(ie):le?le(ke):M(null,ke,Ee)}}}function x(O,D){let M,X;return s.run(O,D,le),Yd("runSync","run",X),M;function le(ve,ye){Eu(ve),M=ye,X=!0}}function k(O,D){if(s.freeze(),Ou("process",s.Parser),qu("process",s.Compiler),!D)return new Promise(M);M(null,D);function M(X,le){let ve=Yo(O);s.run(s.parse(ve),ve,(ie,ke,Ee)=>{if(ie||!ke||!Ee)ye(ie);else{let xe=s.stringify(ke,Ee);xe==null||(Qv(xe)?Ee.value=xe:Ee.result=xe),ye(ie,Ee)}});function ye(ie,ke){ie||!ke?le(ie):X?X(ke):D(null,ke)}}}function _(O){let D;s.freeze(),Ou("processSync",s.Parser),qu("processSync",s.Compiler);let M=Yo(O);return s.process(M,X),Yd("processSync","process",D),M;function X(le){D=!0,Eu(le)}}}function Jd(t,r){return typeof t=="function"&&t.prototype&&(Zv(t.prototype)||r in t.prototype)}function Zv(t){let r;for(r in t)if(em.call(t,r))return!0;return!1}function Ou(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function qu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Nu(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Qd(t){if(!Jo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Yd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Yo(t){return Jv(t)?t:new Qo(t)}function Jv(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Qv(t){return typeof t=="string"||(0,Xd.default)(t)}function nm(t,r){var{includeImageAlt:e=!0}=r||{};return im(t,e)}function im(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&rm(t.children,r)||Array.isArray(t)&&rm(t,r))||""}function rm(t,r){for(var e=[],n=-1;++n<t.length;)e[n]=im(t[n],r);return e.join("")}function Ot(t,r,e,n){let o=t.length,s=0,l;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,e=e>0?e:0,n.length<1e4)l=Array.from(n),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);s<n.length;)l=n.slice(s,s+1e4),l.unshift(r,0),[].splice.apply(t,l),s+=1e4,r+=1e4}function yr(t,r){return t.length>0?(Ot(t,t.length,0,r),t):r}var om={}.hasOwnProperty;function ra(t){let r={},e=-1;for(;++e<t.length;)Yv(r,t[e]);return r}function Yv(t,r){let e;for(e in r){let o=(om.call(t,e)?t[e]:void 0)||(t[e]={}),s=r[e],l;for(l in s){om.call(o,l)||(o[l]=[]);let f=s[l];Xv(o[l],Array.isArray(f)?f:f?[f]:[])}}}function Xv(t,r){let e=-1,n=[];for(;++e<r.length;)(r[e].add==="after"?t:n).push(r[e]);Ot(t,0,0,n)}var sm=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var or=Xn(/[A-Za-z]/),Ti=Xn(/\d/),am=Xn(/[\dA-Fa-f]/),Vt=Xn(/[\dA-Za-z]/),lm=Xn(/[!-/:-@[-`{-~]/),Lu=Xn(/[#-'*+\--9=?A-Z^-~]/);function Yn(t){return t!==null&&(t<32||t===127)}function et(t){return t!==null&&(t<0||t===32)}function pe(t){return t!==null&&t<-2}function Be(t){return t===-2||t===-1||t===32}var Ii=Xn(/\s/),Oi=Xn(sm);function Xn(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function Ce(t,r,e,n){let o=n?n-1:Number.POSITIVE_INFINITY,s=0;return l;function l(c){return Be(c)?(t.enter(e),f(c)):r(c)}function f(c){return Be(c)&&s++<o?(t.consume(c),f):(t.exit(e),r(c))}}var um={tokenize:ek};function ek(t){let r=t.attempt(this.parser.constructs.contentInitial,n,o),e;return r;function n(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Ce(t,r,"linePrefix")}function o(f){return t.enter("paragraph"),s(f)}function s(f){let c=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=c),e=c,l(f)}function l(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return pe(f)?(t.consume(f),t.exit("chunkText"),s):(t.consume(f),l)}}var cm={tokenize:tk},fm={tokenize:rk};function tk(t){let r=this,e=[],n=0,o,s,l;return f;function f(le){if(n<e.length){let ve=e[n];return r.containerState=ve[1],t.attempt(ve[0].continuation,c,g)(le)}return g(le)}function c(le){if(n++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&X();let ve=r.events.length,ye=ve,ie;for(;ye--;)if(r.events[ye][0]==="exit"&&r.events[ye][1].type==="chunkFlow"){ie=r.events[ye][1].end;break}M(n);let ke=ve;for(;ke<r.events.length;)r.events[ke][1].end=Object.assign({},ie),ke++;return Ot(r.events,ye+1,0,r.events.slice(ve)),r.events.length=ke,g(le)}return f(le)}function g(le){if(n===e.length){if(!o)return x(le);if(o.currentConstruct&&o.currentConstruct.concrete)return _(le);r.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(fm,m,v)(le)}function m(le){return o&&X(),M(n),x(le)}function v(le){return r.parser.lazy[r.now().line]=n!==e.length,l=r.now().offset,_(le)}function x(le){return r.containerState={},t.attempt(fm,k,_)(le)}function k(le){return n++,e.push([r.currentConstruct,r.containerState]),x(le)}function _(le){if(le===null){o&&X(),M(0),t.consume(le);return}return o=o||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:o}),O(le)}function O(le){if(le===null){D(t.exit("chunkFlow"),!0),M(0),t.consume(le);return}return pe(le)?(t.consume(le),D(t.exit("chunkFlow")),n=0,r.interrupt=void 0,f):(t.consume(le),O)}function D(le,ve){let ye=r.sliceStream(le);if(ve&&ye.push(null),le.previous=s,s&&(s.next=le),s=le,o.defineSkip(le.start),o.write(ye),r.parser.lazy[le.start.line]){let ie=o.events.length;for(;ie--;)if(o.events[ie][1].start.offset<l&&(!o.events[ie][1].end||o.events[ie][1].end.offset>l))return;let ke=r.events.length,Ee=ke,xe,ze;for(;Ee--;)if(r.events[Ee][0]==="exit"&&r.events[Ee][1].type==="chunkFlow"){if(xe){ze=r.events[Ee][1].end;break}xe=!0}for(M(n),ie=ke;ie<r.events.length;)r.events[ie][1].end=Object.assign({},ze),ie++;Ot(r.events,Ee+1,0,r.events.slice(ke)),r.events.length=ie}}function M(le){let ve=e.length;for(;ve-- >le;){let ye=e[ve];r.containerState=ye[1],ye[0].exit.call(r,t)}e.length=le}function X(){o.write([null]),s=void 0,o=void 0,r.containerState._closeFlow=void 0}}function rk(t,r,e){return Ce(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function po(t){if(t===null||et(t)||Ii(t))return 1;if(Oi(t))return 2}function ei(t,r,e){let n=[],o=-1;for(;++o<t.length;){let s=t[o].resolveAll;s&&!n.includes(s)&&(r=s(r,e),n.push(s))}return r}var Xo={name:"attention",tokenize:ik,resolveAll:nk};function nk(t,r){let e=-1,n,o,s,l,f,c,g,m;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&&r.sliceSerialize(t[n][1]).charCodeAt(0)===r.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;c=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 v=Object.assign({},t[n][1].end),x=Object.assign({},t[e][1].start);pm(v,-c),pm(x,c),l={type:c>1?"strongSequence":"emphasisSequence",start:v,end:Object.assign({},t[n][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:x},s={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[e][1].start)},o={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},f.end)},t[n][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),g=[],t[n][1].end.offset-t[n][1].start.offset&&(g=yr(g,[["enter",t[n][1],r],["exit",t[n][1],r]])),g=yr(g,[["enter",o,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=yr(g,ei(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),g=yr(g,[["exit",s,r],["enter",f,r],["exit",f,r],["exit",o,r]]),t[e][1].end.offset-t[e][1].start.offset?(m=2,g=yr(g,[["enter",t[e][1],r],["exit",t[e][1],r]])):m=0,Ot(t,n-1,e-n+3,g),e=n+g.length-m-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function ik(t,r){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,o=po(n),s;return l;function l(c){return t.enter("attentionSequence"),s=c,f(c)}function f(c){if(c===s)return t.consume(c),f;let g=t.exit("attentionSequence"),m=po(c),v=!m||m===2&&o||e.includes(c),x=!o||o===2&&m||e.includes(n);return g._open=Boolean(s===42?v:v&&(o||!x)),g._close=Boolean(s===42?x:x&&(m||!v)),r(c)}}function pm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var ju={name:"autolink",tokenize:ok};function ok(t,r,e){let n=1;return o;function o(_){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(_),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(_){return or(_)?(t.consume(_),l):Lu(_)?g(_):e(_)}function l(_){return _===43||_===45||_===46||Vt(_)?f(_):g(_)}function f(_){return _===58?(t.consume(_),c):(_===43||_===45||_===46||Vt(_))&&n++<32?(t.consume(_),f):g(_)}function c(_){return _===62?(t.exit("autolinkProtocol"),k(_)):_===null||_===32||_===60||Yn(_)?e(_):(t.consume(_),c)}function g(_){return _===64?(t.consume(_),n=0,m):Lu(_)?(t.consume(_),g):e(_)}function m(_){return Vt(_)?v(_):e(_)}function v(_){return _===46?(t.consume(_),n=0,m):_===62?(t.exit("autolinkProtocol").type="autolinkEmail",k(_)):x(_)}function x(_){return(_===45||Vt(_))&&n++<63?(t.consume(_),_===45?x:v):e(_)}function k(_){return t.enter("autolinkMarker"),t.consume(_),t.exit("autolinkMarker"),t.exit("autolink"),r}}var $n={tokenize:sk,partial:!0};function sk(t,r,e){return Ce(t,n,"linePrefix");function n(o){return o===null||pe(o)?r(o):e(o)}}var na={name:"blockQuote",tokenize:ak,continuation:{tokenize:lk},exit:uk};function ak(t,r,e){let n=this;return o;function o(l){if(l===62){let f=n.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),s}return e(l)}function s(l){return Be(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function lk(t,r,e){return Ce(t,t.attempt(na,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function uk(t){t.exit("blockQuote")}var ia={name:"characterEscape",tokenize:fk};function fk(t,r,e){return n;function n(s){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(s),t.exit("escapeMarker"),o}function o(s){return lm(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(s)}}var Bu={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:`
18
+ `,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 ck={}.hasOwnProperty;function mo(t){return ck.call(Bu,t)?Bu[t]:!1}var oa={name:"characterReference",tokenize:pk};function pk(t,r,e){let n=this,o=0,s,l;return f;function f(v){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(v),t.exit("characterReferenceMarker"),c}function c(v){return v===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(v),t.exit("characterReferenceMarkerNumeric"),g):(t.enter("characterReferenceValue"),s=31,l=Vt,m(v))}function g(v){return v===88||v===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(v),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,l=am,m):(t.enter("characterReferenceValue"),s=7,l=Ti,m(v))}function m(v){let x;return v===59&&o?(x=t.exit("characterReferenceValue"),l===Vt&&!mo(n.sliceSerialize(x))?e(v):(t.enter("characterReferenceMarker"),t.consume(v),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l(v)&&o++<s?(t.consume(v),m):e(v)}}var sa={name:"codeFenced",tokenize:dk,concrete:!0};function dk(t,r,e){let n=this,o={tokenize:ye,partial:!0},s={tokenize:ve,partial:!0},l=this.events[this.events.length-1],f=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0,g;return m;function m(ie){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g=ie,v(ie)}function v(ie){return ie===g?(t.consume(ie),c++,v):(t.exit("codeFencedFenceSequence"),c<3?e(ie):Ce(t,x,"whitespace")(ie))}function x(ie){return ie===null||pe(ie)?D(ie):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),k(ie))}function k(ie){return ie===null||et(ie)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Ce(t,_,"whitespace")(ie)):ie===96&&ie===g?e(ie):(t.consume(ie),k)}function _(ie){return ie===null||pe(ie)?D(ie):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),O(ie))}function O(ie){return ie===null||pe(ie)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),D(ie)):ie===96&&ie===g?e(ie):(t.consume(ie),O)}function D(ie){return t.exit("codeFencedFence"),n.interrupt?r(ie):M(ie)}function M(ie){return ie===null?le(ie):pe(ie)?t.attempt(s,t.attempt(o,le,f?Ce(t,M,"linePrefix",f+1):M),le)(ie):(t.enter("codeFlowValue"),X(ie))}function X(ie){return ie===null||pe(ie)?(t.exit("codeFlowValue"),M(ie)):(t.consume(ie),X)}function le(ie){return t.exit("codeFenced"),r(ie)}function ve(ie,ke,Ee){let xe=this;return ze;function ze(Te){return ie.enter("lineEnding"),ie.consume(Te),ie.exit("lineEnding"),Fe}function Fe(Te){return xe.parser.lazy[xe.now().line]?Ee(Te):ke(Te)}}function ye(ie,ke,Ee){let xe=0;return Ce(ie,ze,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ze(he){return ie.enter("codeFencedFence"),ie.enter("codeFencedFenceSequence"),Fe(he)}function Fe(he){return he===g?(ie.consume(he),xe++,Fe):xe<c?Ee(he):(ie.exit("codeFencedFenceSequence"),Ce(ie,Te,"whitespace")(he))}function Te(he){return he===null||pe(he)?(ie.exit("codeFencedFence"),ke(he)):Ee(he)}}}var es={name:"codeIndented",tokenize:hk},mk={tokenize:gk,partial:!0};function hk(t,r,e){let n=this;return o;function o(g){return t.enter("codeIndented"),Ce(t,s,"linePrefix",4+1)(g)}function s(g){let m=n.events[n.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?l(g):e(g)}function l(g){return g===null?c(g):pe(g)?t.attempt(mk,l,c)(g):(t.enter("codeFlowValue"),f(g))}function f(g){return g===null||pe(g)?(t.exit("codeFlowValue"),l(g)):(t.consume(g),f)}function c(g){return t.exit("codeIndented"),r(g)}}function gk(t,r,e){let n=this;return o;function o(l){return n.parser.lazy[n.now().line]?e(l):pe(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o):Ce(t,s,"linePrefix",4+1)(l)}function s(l){let f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):pe(l)?o(l):e(l)}}var zu={name:"codeText",tokenize:bk,resolve:yk,previous:$k};function yk(t){let r=t.length-4,e=3,n,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)o===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(o=n):(n===r||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),r-=n-o-2,n=o+2),o=void 0);return t}function $k(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function bk(t,r,e){let n=this,o=0,s,l;return f;function f(x){return t.enter("codeText"),t.enter("codeTextSequence"),c(x)}function c(x){return x===96?(t.consume(x),o++,c):(t.exit("codeTextSequence"),g(x))}function g(x){return x===null?e(x):x===96?(l=t.enter("codeTextSequence"),s=0,v(x)):x===32?(t.enter("space"),t.consume(x),t.exit("space"),g):pe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),g):(t.enter("codeTextData"),m(x))}function m(x){return x===null||x===32||x===96||pe(x)?(t.exit("codeTextData"),g(x)):(t.consume(x),m)}function v(x){return x===96?(t.consume(x),s++,v):s===o?(t.exit("codeTextSequence"),t.exit("codeText"),r(x)):(l.type="codeTextData",m(x))}}function aa(t){let r={},e=-1,n,o,s,l,f,c,g;for(;++e<t.length;){for(;e in r;)e=r[e];if(n=t[e],e&&n[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=n[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(n[0]==="enter")n[1].contentType&&(Object.assign(r,vk(t,e)),e=r[e],g=!0);else if(n[1]._container){for(s=e,o=void 0;s--&&(l=t[s],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(o&&(t[o][1].type="lineEndingBlank"),l[1].type="lineEnding",o=s);o&&(n[1].end=Object.assign({},t[o][1].start),f=t.slice(o,e),f.unshift(n),Ot(t,o,e-o+1,f))}}return!g}function vk(t,r){let e=t[r][1],n=t[r][2],o=r-1,s=[],l=e._tokenizer||n.parser[e.contentType](e.start),f=l.events,c=[],g={},m,v,x=-1,k=e,_=0,O=0,D=[O];for(;k;){for(;t[++o][1]!==k;);s.push(o),k._tokenizer||(m=n.sliceStream(k),k.next||m.push(null),v&&l.defineSkip(k.start),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(m),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),v=k,k=k.next}for(k=e;++x<f.length;)f[x][0]==="exit"&&f[x-1][0]==="enter"&&f[x][1].type===f[x-1][1].type&&f[x][1].start.line!==f[x][1].end.line&&(O=x+1,D.push(O),k._tokenizer=void 0,k.previous=void 0,k=k.next);for(l.events=[],k?(k._tokenizer=void 0,k.previous=void 0):D.pop(),x=D.length;x--;){let M=f.slice(D[x],D[x+1]),X=s.pop();c.unshift([X,X+M.length-1]),Ot(t,X,2,M)}for(x=-1;++x<c.length;)g[_+c[x][0]]=_+c[x][1],_+=c[x][1]-c[x][0]-1;return g}var Mu={tokenize:xk,resolve:wk},kk={tokenize:Ck,partial:!0};function wk(t){return aa(t),t}function xk(t,r){let e;return n;function n(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),o(f)}function o(f){return f===null?s(f):pe(f)?t.check(kk,l,s)(f):(t.consume(f),o)}function s(f){return t.exit("chunkContent"),t.exit("content"),r(f)}function l(f){return t.consume(f),t.exit("chunkContent"),e.next=t.enter("chunkContent",{contentType:"content",previous:e}),e=e.next,o}}function Ck(t,r,e){let n=this;return o;function o(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),Ce(t,s,"linePrefix")}function s(l){if(l===null||pe(l))return e(l);let f=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(n.parser.constructs.flow,e,r)(l)}}function la(t,r,e,n,o,s,l,f,c){let g=c||Number.POSITIVE_INFINITY,m=0;return v;function v(M){return M===60?(t.enter(n),t.enter(o),t.enter(s),t.consume(M),t.exit(s),x):M===null||M===41||Yn(M)?e(M):(t.enter(n),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),O(M))}function x(M){return M===62?(t.enter(s),t.consume(M),t.exit(s),t.exit(o),t.exit(n),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),k(M))}function k(M){return M===62?(t.exit("chunkString"),t.exit(f),x(M)):M===null||M===60||pe(M)?e(M):(t.consume(M),M===92?_:k)}function _(M){return M===60||M===62||M===92?(t.consume(M),k):k(M)}function O(M){return M===40?++m>g?e(M):(t.consume(M),O):M===41?m--?(t.consume(M),O):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(M)):M===null||et(M)?m?e(M):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(M)):Yn(M)?e(M):(t.consume(M),M===92?D:O)}function D(M){return M===40||M===41||M===92?(t.consume(M),O):O(M)}}function ua(t,r,e,n,o,s){let l=this,f=0,c;return g;function g(k){return t.enter(n),t.enter(o),t.consume(k),t.exit(o),t.enter(s),m}function m(k){return k===null||k===91||k===93&&!c||k===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(k):k===93?(t.exit(s),t.enter(o),t.consume(k),t.exit(o),t.exit(n),r):pe(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),m):(t.enter("chunkString",{contentType:"string"}),v(k))}function v(k){return k===null||k===91||k===93||pe(k)||f++>999?(t.exit("chunkString"),m(k)):(t.consume(k),c=c||!Be(k),k===92?x:v)}function x(k){return k===91||k===92||k===93?(t.consume(k),f++,v):v(k)}}function fa(t,r,e,n,o,s){let l;return f;function f(x){return t.enter(n),t.enter(o),t.consume(x),t.exit(o),l=x===40?41:x,c}function c(x){return x===l?(t.enter(o),t.consume(x),t.exit(o),t.exit(n),r):(t.enter(s),g(x))}function g(x){return x===l?(t.exit(s),c(l)):x===null?e(x):pe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),Ce(t,g,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===l||x===null||pe(x)?(t.exit("chunkString"),g(x)):(t.consume(x),x===92?v:m)}function v(x){return x===l||x===92?(t.consume(x),m):m(x)}}function qi(t,r){let e;return n;function n(o){return pe(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e=!0,n):Be(o)?Ce(t,n,e?"linePrefix":"lineSuffix")(o):r(o)}}function sr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Vu={name:"definition",tokenize:Ek},Ak={tokenize:_k,partial:!0};function Ek(t,r,e){let n=this,o;return s;function s(c){return t.enter("definition"),ua.call(n,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return o=sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),qi(t,la(t,t.attempt(Ak,Ce(t,f,"whitespace"),Ce(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||pe(c)?(t.exit("definition"),n.parser.defined.includes(o)||n.parser.defined.push(o),r(c)):e(c)}}function _k(t,r,e){return n;function n(l){return et(l)?qi(t,o)(l):e(l)}function o(l){return l===34||l===39||l===40?fa(t,Ce(t,s,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function s(l){return l===null||pe(l)?r(l):e(l)}}var Uu={name:"hardBreakEscape",tokenize:Sk};function Sk(t,r,e){return n;function n(s){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(s),o}function o(s){return pe(s)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(s)):e(s)}}var Hu={name:"headingAtx",tokenize:Fk,resolve:Pk};function Pk(t,r){let e=t.length-2,n=3,o,s;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},s={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},Ot(t,n,e-n+1,[["enter",o,r],["enter",s,r],["exit",s,r],["exit",o,r]])),t}function Fk(t,r,e){let n=this,o=0;return s;function s(m){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(m)}function l(m){return m===35&&o++<6?(t.consume(m),l):m===null||et(m)?(t.exit("atxHeadingSequence"),n.interrupt?r(m):f(m)):e(m)}function f(m){return m===35?(t.enter("atxHeadingSequence"),c(m)):m===null||pe(m)?(t.exit("atxHeading"),r(m)):Be(m)?Ce(t,f,"whitespace")(m):(t.enter("atxHeadingText"),g(m))}function c(m){return m===35?(t.consume(m),c):(t.exit("atxHeadingSequence"),f(m))}function g(m){return m===null||m===35||et(m)?(t.exit("atxHeadingText"),f(m)):(t.consume(m),g)}}var dm=["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"],Gu=["pre","script","style","textarea"];var Ku={name:"htmlFlow",tokenize:Ok,resolveTo:Ik,concrete:!0},Tk={tokenize:qk,partial:!0};function Ik(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function Ok(t,r,e){let n=this,o,s,l,f,c;return g;function g(V){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(V),m}function m(V){return V===33?(t.consume(V),v):V===47?(t.consume(V),_):V===63?(t.consume(V),o=3,n.interrupt?r:$t):or(V)?(t.consume(V),l=String.fromCharCode(V),s=!0,O):e(V)}function v(V){return V===45?(t.consume(V),o=2,x):V===91?(t.consume(V),o=5,l="CDATA[",f=0,k):or(V)?(t.consume(V),o=4,n.interrupt?r:$t):e(V)}function x(V){return V===45?(t.consume(V),n.interrupt?r:$t):e(V)}function k(V){return V===l.charCodeAt(f++)?(t.consume(V),f===l.length?n.interrupt?r:Fe:k):e(V)}function _(V){return or(V)?(t.consume(V),l=String.fromCharCode(V),O):e(V)}function O(V){return V===null||V===47||V===62||et(V)?V!==47&&s&&Gu.includes(l.toLowerCase())?(o=1,n.interrupt?r(V):Fe(V)):dm.includes(l.toLowerCase())?(o=6,V===47?(t.consume(V),D):n.interrupt?r(V):Fe(V)):(o=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(V):s?X(V):M(V)):V===45||Vt(V)?(t.consume(V),l+=String.fromCharCode(V),O):e(V)}function D(V){return V===62?(t.consume(V),n.interrupt?r:Fe):e(V)}function M(V){return Be(V)?(t.consume(V),M):xe(V)}function X(V){return V===47?(t.consume(V),xe):V===58||V===95||or(V)?(t.consume(V),le):Be(V)?(t.consume(V),X):xe(V)}function le(V){return V===45||V===46||V===58||V===95||Vt(V)?(t.consume(V),le):ve(V)}function ve(V){return V===61?(t.consume(V),ye):Be(V)?(t.consume(V),ve):X(V)}function ye(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),c=V,ie):Be(V)?(t.consume(V),ye):(c=null,ke(V))}function ie(V){return V===null||pe(V)?e(V):V===c?(t.consume(V),Ee):(t.consume(V),ie)}function ke(V){return V===null||V===34||V===39||V===60||V===61||V===62||V===96||et(V)?ve(V):(t.consume(V),ke)}function Ee(V){return V===47||V===62||Be(V)?X(V):e(V)}function xe(V){return V===62?(t.consume(V),ze):e(V)}function ze(V){return Be(V)?(t.consume(V),ze):V===null||pe(V)?Fe(V):e(V)}function Fe(V){return V===45&&o===2?(t.consume(V),st):V===60&&o===1?(t.consume(V),te):V===62&&o===4?(t.consume(V),tt):V===63&&o===3?(t.consume(V),$t):V===93&&o===5?(t.consume(V),Je):pe(V)&&(o===6||o===7)?t.check(Tk,tt,Te)(V):V===null||pe(V)?Te(V):(t.consume(V),Fe)}function Te(V){return t.exit("htmlFlowData"),he(V)}function he(V){return V===null?z(V):pe(V)?t.attempt({tokenize:_e,partial:!0},he,z)(V):(t.enter("htmlFlowData"),Fe(V))}function _e(V,Qt,Bt){return wt;function wt(Et){return V.enter("lineEnding"),V.consume(Et),V.exit("lineEnding"),Pt}function Pt(Et){return n.parser.lazy[n.now().line]?Bt(Et):Qt(Et)}}function st(V){return V===45?(t.consume(V),$t):Fe(V)}function te(V){return V===47?(t.consume(V),l="",At):Fe(V)}function At(V){return V===62&&Gu.includes(l.toLowerCase())?(t.consume(V),tt):or(V)&&l.length<8?(t.consume(V),l+=String.fromCharCode(V),At):Fe(V)}function Je(V){return V===93?(t.consume(V),$t):Fe(V)}function $t(V){return V===62?(t.consume(V),tt):V===45&&o===2?(t.consume(V),$t):Fe(V)}function tt(V){return V===null||pe(V)?(t.exit("htmlFlowData"),z(V)):(t.consume(V),tt)}function z(V){return t.exit("htmlFlow"),r(V)}}function qk(t,r,e){return n;function n(o){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),t.attempt($n,r,e)}}var Wu={name:"htmlText",tokenize:Nk};function Nk(t,r,e){let n=this,o,s,l,f;return c;function c(z){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(z),g}function g(z){return z===33?(t.consume(z),m):z===47?(t.consume(z),ke):z===63?(t.consume(z),ye):or(z)?(t.consume(z),ze):e(z)}function m(z){return z===45?(t.consume(z),v):z===91?(t.consume(z),s="CDATA[",l=0,D):or(z)?(t.consume(z),ve):e(z)}function v(z){return z===45?(t.consume(z),x):e(z)}function x(z){return z===null||z===62?e(z):z===45?(t.consume(z),k):_(z)}function k(z){return z===null||z===62?e(z):_(z)}function _(z){return z===null?e(z):z===45?(t.consume(z),O):pe(z)?(f=_,Je(z)):(t.consume(z),_)}function O(z){return z===45?(t.consume(z),tt):_(z)}function D(z){return z===s.charCodeAt(l++)?(t.consume(z),l===s.length?M:D):e(z)}function M(z){return z===null?e(z):z===93?(t.consume(z),X):pe(z)?(f=M,Je(z)):(t.consume(z),M)}function X(z){return z===93?(t.consume(z),le):M(z)}function le(z){return z===62?tt(z):z===93?(t.consume(z),le):M(z)}function ve(z){return z===null||z===62?tt(z):pe(z)?(f=ve,Je(z)):(t.consume(z),ve)}function ye(z){return z===null?e(z):z===63?(t.consume(z),ie):pe(z)?(f=ye,Je(z)):(t.consume(z),ye)}function ie(z){return z===62?tt(z):ye(z)}function ke(z){return or(z)?(t.consume(z),Ee):e(z)}function Ee(z){return z===45||Vt(z)?(t.consume(z),Ee):xe(z)}function xe(z){return pe(z)?(f=xe,Je(z)):Be(z)?(t.consume(z),xe):tt(z)}function ze(z){return z===45||Vt(z)?(t.consume(z),ze):z===47||z===62||et(z)?Fe(z):e(z)}function Fe(z){return z===47?(t.consume(z),tt):z===58||z===95||or(z)?(t.consume(z),Te):pe(z)?(f=Fe,Je(z)):Be(z)?(t.consume(z),Fe):tt(z)}function Te(z){return z===45||z===46||z===58||z===95||Vt(z)?(t.consume(z),Te):he(z)}function he(z){return z===61?(t.consume(z),_e):pe(z)?(f=he,Je(z)):Be(z)?(t.consume(z),he):Fe(z)}function _e(z){return z===null||z===60||z===61||z===62||z===96?e(z):z===34||z===39?(t.consume(z),o=z,st):pe(z)?(f=_e,Je(z)):Be(z)?(t.consume(z),_e):(t.consume(z),o=void 0,At)}function st(z){return z===o?(t.consume(z),te):z===null?e(z):pe(z)?(f=st,Je(z)):(t.consume(z),st)}function te(z){return z===62||z===47||et(z)?Fe(z):e(z)}function At(z){return z===null||z===34||z===39||z===60||z===61||z===96?e(z):z===62||et(z)?Fe(z):(t.consume(z),At)}function Je(z){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),Ce(t,$t,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $t(z){return t.enter("htmlTextData"),f(z)}function tt(z){return z===62?(t.consume(z),t.exit("htmlTextData"),t.exit("htmlText"),r):e(z)}}var Ni={name:"labelEnd",tokenize:zk,resolveTo:Bk,resolveAll:jk},Dk={tokenize:Mk},Rk={tokenize:Vk},Lk={tokenize:Uk};function jk(t){let r=-1,e;for(;++r<t.length;)e=t[r][1],(e.type==="labelImage"||e.type==="labelLink"||e.type==="labelEnd")&&(t.splice(r+1,e.type==="labelImage"?4:2),e.type="data",r++);return t}function Bk(t,r){let e=t.length,n=0,o,s,l,f;for(;e--;)if(o=t[e][1],s){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[e][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(l){if(t[e][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(s=e,o.type!=="labelLink")){n=2;break}}else o.type==="labelEnd"&&(l=e);let c={type:t[s][1].type==="labelLink"?"link":"image",start:Object.assign({},t[s][1].start),end:Object.assign({},t[t.length-1][1].end)},g={type:"label",start:Object.assign({},t[s][1].start),end:Object.assign({},t[l][1].end)},m={type:"labelText",start:Object.assign({},t[s+n+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",g,r]],f=yr(f,t.slice(s+1,s+n+3)),f=yr(f,[["enter",m,r]]),f=yr(f,ei(r.parser.constructs.insideSpan.null,t.slice(s+n+4,l-3),r)),f=yr(f,[["exit",m,r],t[l-2],t[l-1],["exit",g,r]]),f=yr(f,t.slice(l+1)),f=yr(f,[["exit",c,r]]),Ot(t,s,t.length,f),t}function zk(t,r,e){let n=this,o=n.events.length,s,l;for(;o--;)if((n.events[o][1].type==="labelImage"||n.events[o][1].type==="labelLink")&&!n.events[o][1]._balanced){s=n.events[o][1];break}return f;function f(m){return s?s._inactive?g(m):(l=n.parser.defined.includes(sr(n.sliceSerialize({start:s.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(m),t.exit("labelMarker"),t.exit("labelEnd"),c):e(m)}function c(m){return m===40?t.attempt(Dk,r,l?r:g)(m):m===91?t.attempt(Rk,r,l?t.attempt(Lk,r,g):g)(m):l?r(m):g(m)}function g(m){return s._balanced=!0,e(m)}}function Mk(t,r,e){return n;function n(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),qi(t,o)}function o(c){return c===41?f(c):la(t,s,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function s(c){return et(c)?qi(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?fa(t,qi(t,f),e,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function f(c){return c===41?(t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),t.exit("resource"),r):e(c)}}function Vk(t,r,e){let n=this;return o;function o(l){return ua.call(n,t,s,e,"reference","referenceMarker","referenceString")(l)}function s(l){return n.parser.defined.includes(sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Uk(t,r,e){return n;function n(s){return t.enter("reference"),t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),o}function o(s){return s===93?(t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),t.exit("reference"),r):e(s)}}var Zu={name:"labelStartImage",tokenize:Hk,resolveAll:Ni.resolveAll};function Hk(t,r,e){let n=this;return o;function o(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),s}function s(f){return f===91?(t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelImage"),l):e(f)}function l(f){return f===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(f):r(f)}}var Ju={name:"labelStartLink",tokenize:Gk,resolveAll:Ni.resolveAll};function Gk(t,r,e){let n=this;return o;function o(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(l):r(l)}}var ts={name:"lineEnding",tokenize:Kk};function Kk(t,r){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Ce(t,r,"linePrefix")}}var Di={name:"thematicBreak",tokenize:Wk};function Wk(t,r,e){let n=0,o;return s;function s(c){return t.enter("thematicBreak"),o=c,l(c)}function l(c){return c===o?(t.enter("thematicBreakSequence"),f(c)):Be(c)?Ce(t,l,"whitespace")(c):n<3||c!==null&&!pe(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===o?(t.consume(c),n++,f):(t.exit("thematicBreakSequence"),l(c))}}var ar={name:"list",tokenize:Qk,continuation:{tokenize:Yk},exit:ew},Zk={tokenize:tw,partial:!0},Jk={tokenize:Xk,partial:!0};function Qk(t,r,e){let n=this,o=n.events[n.events.length-1],s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,l=0;return f;function f(k){let _=n.containerState.type||(k===42||k===43||k===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!n.containerState.marker||k===n.containerState.marker:Ti(k)){if(n.containerState.type||(n.containerState.type=_,t.enter(_,{_container:!0})),_==="listUnordered")return t.enter("listItemPrefix"),k===42||k===45?t.check(Di,e,g)(k):g(k);if(!n.interrupt||k===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(k)}return e(k)}function c(k){return Ti(k)&&++l<10?(t.consume(k),c):(!n.interrupt||l<2)&&(n.containerState.marker?k===n.containerState.marker:k===41||k===46)?(t.exit("listItemValue"),g(k)):e(k)}function g(k){return t.enter("listItemMarker"),t.consume(k),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||k,t.check($n,n.interrupt?e:m,t.attempt(Zk,x,v))}function m(k){return n.containerState.initialBlankLine=!0,s++,x(k)}function v(k){return Be(k)?(t.enter("listItemPrefixWhitespace"),t.consume(k),t.exit("listItemPrefixWhitespace"),x):e(k)}function x(k){return n.containerState.size=s+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(k)}}function Yk(t,r,e){let n=this;return n.containerState._closeFlow=void 0,t.check($n,o,s);function o(f){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ce(t,r,"listItemIndent",n.containerState.size+1)(f)}function s(f){return n.containerState.furtherBlankLines||!Be(f)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(f)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(Jk,r,l)(f))}function l(f){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ce(t,t.attempt(ar,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function Xk(t,r,e){let n=this;return Ce(t,o,"listItemIndent",n.containerState.size+1);function o(s){let l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?r(s):e(s)}}function ew(t){t.exit(this.containerState.type)}function tw(t,r,e){let n=this;return Ce(t,o,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function o(s){let l=n.events[n.events.length-1];return!Be(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):e(s)}}var ca={name:"setextUnderline",tokenize:nw,resolveTo:rw};function rw(t,r){let e=t.length,n,o,s;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),!s&&t[e][1].type==="definition"&&(s=e);let l={type:"setextHeading",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[o][1].type="setextHeadingText",s?(t.splice(o,0,["enter",l,r]),t.splice(s+1,0,["exit",t[n][1],r]),t[n][1].end=Object.assign({},t[s][1].end)):t[n][1]=l,t.push(["exit",l,r]),t}function nw(t,r,e){let n=this,o=n.events.length,s,l;for(;o--;)if(n.events[o][1].type!=="lineEnding"&&n.events[o][1].type!=="linePrefix"&&n.events[o][1].type!=="content"){l=n.events[o][1].type==="paragraph";break}return f;function f(m){return!n.parser.lazy[n.now().line]&&(n.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),s=m,c(m)):e(m)}function c(m){return m===s?(t.consume(m),c):(t.exit("setextHeadingLineSequence"),Ce(t,g,"lineSuffix")(m))}function g(m){return m===null||pe(m)?(t.exit("setextHeadingLine"),r(m)):e(m)}}var mm={tokenize:iw};function iw(t){let r=this,e=t.attempt($n,n,t.attempt(this.parser.constructs.flowInitial,o,Ce(t,t.attempt(this.parser.constructs.flow,o,t.attempt(Mu,o)),"linePrefix")));return e;function n(s){if(s===null){t.consume(s);return}return t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function o(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var hm={resolveAll:bm()},gm=$m("string"),ym=$m("text");function $m(t){return{tokenize:r,resolveAll:bm(t==="text"?ow:void 0)};function r(e){let n=this,o=this.parser.constructs[t],s=e.attempt(o,l,f);return l;function l(m){return g(m)?s(m):f(m)}function f(m){if(m===null){e.consume(m);return}return e.enter("data"),e.consume(m),c}function c(m){return g(m)?(e.exit("data"),s(m)):(e.consume(m),c)}function g(m){if(m===null)return!0;let v=o[m],x=-1;if(v)for(;++x<v.length;){let k=v[x];if(!k.previous||k.previous.call(n,n.previous))return!0}return!1}}}function bm(t){return r;function r(e,n){let o=-1,s;for(;++o<=e.length;)s===void 0?e[o]&&e[o][1].type==="data"&&(s=o,o++):(!e[o]||e[o][1].type!=="data")&&(o!==s+2&&(e[s][1].end=e[o-1][1].end,e.splice(s+2,o-s-2),o=s+2),s=void 0);return t?t(e,n):e}}function ow(t,r){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=r.sliceStream(n),s=o.length,l=-1,f=0,c;for(;s--;){let g=o[s];if(typeof g=="string"){for(l=g.length;g.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(g===-2)c=!0,f++;else if(g!==-1){s++;break}}if(f){let g={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-f,offset:n.end.offset-f,_index:n.start._index+s,_bufferIndex:s?l:n.start._bufferIndex+l},end:Object.assign({},n.end)};n.end=Object.assign({},g.start),n.start.offset===n.end.offset?Object.assign(n,g):(t.splice(e,0,["enter",g,r],["exit",g,r]),e+=2)}e++}return t}function vm(t,r,e){let n=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},s=[],l=[],f=[],c=!0,g={consume:ve,enter:ye,exit:ie,attempt:xe(ke),check:xe(Ee),interrupt:xe(Ee,{interrupt:!0})},m={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:O,sliceSerialize:_,now:D,defineSkip:M,write:k},v=r.tokenize.call(m,g),x;return r.resolveAll&&s.push(r),m;function k(he){return l=yr(l,he),X(),l[l.length-1]!==null?[]:(ze(r,0),m.events=ei(s,m.events,m),m.events)}function _(he,_e){return aw(O(he),_e)}function O(he){return sw(l,he)}function D(){return Object.assign({},n)}function M(he){o[he.line]=he.column,Te()}function X(){let he;for(;n._index<l.length;){let _e=l[n._index];if(typeof _e=="string")for(he=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===he&&n._bufferIndex<_e.length;)le(_e.charCodeAt(n._bufferIndex));else le(_e)}}function le(he){c=void 0,x=he,v=v(he)}function ve(he){pe(he)?(n.line++,n.column=1,n.offset+=he===-3?2:1,Te()):he!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),m.previous=he,c=!0}function ye(he,_e){let st=_e||{};return st.type=he,st.start=D(),m.events.push(["enter",st,m]),f.push(st),st}function ie(he){let _e=f.pop();return _e.end=D(),m.events.push(["exit",_e,m]),_e}function ke(he,_e){ze(he,_e.from)}function Ee(he,_e){_e.restore()}function xe(he,_e){return st;function st(te,At,Je){let $t,tt,z,V;return Array.isArray(te)?Bt(te):"tokenize"in te?Bt([te]):Qt(te);function Qt(at){return _r;function _r(be){let $r=be!==null&&at[be],ur=be!==null&&at.null,fr=[...Array.isArray($r)?$r:$r?[$r]:[],...Array.isArray(ur)?ur:ur?[ur]:[]];return Bt(fr)(be)}}function Bt(at){return $t=at,tt=0,at.length===0?Je:wt(at[tt])}function wt(at){return _r;function _r(be){return V=Fe(),z=at,at.partial||(m.currentConstruct=at),at.name&&m.parser.constructs.disable.null.includes(at.name)?Et(be):at.tokenize.call(_e?Object.assign(Object.create(m),_e):m,g,Pt,Et)(be)}}function Pt(at){return c=!0,he(z,V),At}function Et(at){return c=!0,V.restore(),++tt<$t.length?wt($t[tt]):Je}}}function ze(he,_e){he.resolveAll&&!s.includes(he)&&s.push(he),he.resolve&&Ot(m.events,_e,m.events.length-_e,he.resolve(m.events.slice(_e),m)),he.resolveTo&&(m.events=he.resolveTo(m.events,m))}function Fe(){let he=D(),_e=m.previous,st=m.currentConstruct,te=m.events.length,At=Array.from(f);return{restore:Je,from:te};function Je(){n=he,m.previous=_e,m.currentConstruct=st,m.events.length=te,f=At,Te()}}function Te(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}function sw(t,r){let e=r.start._index,n=r.start._bufferIndex,o=r.end._index,s=r.end._bufferIndex,l;return e===o?l=[t[e].slice(n,s)]:(l=t.slice(e,o),n>-1&&(l[0]=l[0].slice(n)),s>0&&l.push(t[o].slice(0,s))),l}function aw(t,r){let e=-1,n=[],o;for(;++e<t.length;){let s=t[e],l;if(typeof s=="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
19
19
  `;break}case-3:{l=`\r
20
- `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&o)continue;l=" ";break}default:l=String.fromCharCode(s)}o=s===-2,n.push(l)}return n.join("")}var Qu={};jf(Qu,{attentionMarkers:()=>hw,contentInitial:()=>uw,disable:()=>gw,document:()=>lw,flow:()=>cw,flowInitial:()=>fw,insideSpan:()=>mw,string:()=>pw,text:()=>dw});var lw={[42]:ar,[43]:ar,[45]:ar,[48]:ar,[49]:ar,[50]:ar,[51]:ar,[52]:ar,[53]:ar,[54]:ar,[55]:ar,[56]:ar,[57]:ar,[62]:na},uw={[91]:Vu},fw={[-2]:es,[-1]:es,[32]:es},cw={[35]:Hu,[42]:Di,[45]:[ca,Di],[60]:Ku,[61]:ca,[95]:Di,[96]:sa,[126]:sa},pw={[38]:oa,[92]:ia},dw={[-5]:ts,[-4]:ts,[-3]:ts,[33]:Zu,[38]:oa,[42]:Xo,[60]:[ju,Wu],[91]:Ju,[92]:[Uu,ia],[93]:Ni,[95]:Xo,[96]:zu},mw={null:[Xo,hm]},hw={null:[42,95]},gw={null:[]};function km(t={}){let r=ra([Qu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:n(um),document:n(cm),flow:n(mm),string:n(gm),text:n(ym)};return e;function n(o){return s;function s(l){return vm(e,o,l)}}}var wm=/[\0\t\n\r]/g;function xm(){let t=1,r="",e=!0,n;return o;function o(s,l,f){let c=[],g,h,v,x,k;for(s=r+s.toString(l),v=0,r="",e&&(s.charCodeAt(0)===65279&&v++,e=void 0);v<s.length;){if(wm.lastIndex=v,g=wm.exec(s),x=g&&g.index!==void 0?g.index:s.length,k=s.charCodeAt(x),!g){r=s.slice(v);break}if(k===10&&v===x&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),v<x&&(c.push(s.slice(v,x)),t+=x-v),k){case 0:{c.push(65533),t++;break}case 9:{for(h=Math.ceil(t/4)*4,c.push(-2);t++<h;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:n=!0,t=1}v=x+1}return f&&(n&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Cm(t){for(;!aa(t););return t}function pa(t,r){let e=Number.parseInt(t,r);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 yw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function da(t){return t.replace(yw,$w)}function $w(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let o=e.charCodeAt(1),s=o===120||o===88;return pa(e.slice(s?2:1),s?16:10)}return mo(e)||t}var Yu={}.hasOwnProperty,Xu=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),bw(e)(Cm(km(e).document().write(xm()(t,r,!0))))};function bw(t={}){let r=Em({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Ze),autolinkProtocol:Te,autolinkEmail:Te,atxHeading:c(vn),blockQuote:c(ur),characterEscape:Te,characterReference:Te,codeFenced:c(fr),codeFencedFenceInfo:g,codeFencedFenceMeta:g,codeIndented:c(fr,g),codeText:c(Yt,g),codeTextData:Te,data:Te,codeFlowValue:Te,definition:c(Rn),definitionDestinationString:g,definitionLabelString:g,definitionTitleString:g,emphasis:c(Ln),hardBreakEscape:c(kn),hardBreakTrailing:c(kn),htmlFlow:c(We,g),htmlFlowData:Te,htmlText:c(We,g),htmlTextData:Te,image:c(Ne),label:g,link:c(Ze),listItem:c(cr),listItemValue:O,listOrdered:c(bt,_),listUnordered:c(bt),paragraph:c(Ve),reference:Pt,referenceString:g,resourceDestinationString:g,resourceTitleString:g,setextHeading:c(vn),strong:c(Ue),thematicBreak:c(rt)},exit:{atxHeading:v(),atxHeadingSequence:Ee,autolink:v(),autolinkEmail:$r,autolinkProtocol:be,blockQuote:v(),characterEscapeValue:he,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:_r,codeFenced:v(le),codeFencedFence:X,codeFencedFenceInfo:D,codeFencedFenceMeta:M,codeFlowValue:he,codeIndented:v(ve),codeText:v(Je),codeTextData:he,data:he,definition:v(),definitionDestinationString:ke,definitionLabelString:ye,definitionTitleString:ie,emphasis:v(),hardBreakEscape:v(st),hardBreakTrailing:v(st),htmlFlow:v(te),htmlFlowData:he,htmlText:v(At),htmlTextData:he,image:v(tt),label:V,labelText:z,lineEnding:_e,link:v($t),listItem:v(),listOrdered:v(),listUnordered:v(),paragraph:v(),referenceString:Et,resourceDestinationString:Qt,resourceTitleString:Bt,resource:wt,setextHeading:v(Fe),setextHeadingLineSequence:ze,setextHeadingText:xe,strong:v(),thematicBreak:v()}},t.mdastExtensions||[]),e={};return n;function n(ne){let ce={type:"root",children:[]},we=[ce],Ae=[],Rt=[],Vr={stack:we,tokenStack:Ae,config:r,enter:h,exit:x,buffer:g,resume:k,setData:s,getData:l},nt=-1;for(;++nt<ne.length;)if(ne[nt][1].type==="listOrdered"||ne[nt][1].type==="listUnordered")if(ne[nt][0]==="enter")Rt.push(nt);else{let xt=Rt.pop();nt=o(ne,xt,nt)}for(nt=-1;++nt<ne.length;){let xt=r[ne[nt][0]];Yu.call(xt,ne[nt][1].type)&&xt[ne[nt][1].type].call(Object.assign({sliceSerialize:ne[nt][2].sliceSerialize},Vr),ne[nt][1])}if(Ae.length>0){let xt=Ae[Ae.length-1];(xt[1]||Am).call(Vr,void 0,xt[0])}for(ce.position={start:f(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:f(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},nt=-1;++nt<r.transforms.length;)ce=r.transforms[nt](ce)||ce;return ce}function o(ne,ce,we){let Ae=ce-1,Rt=-1,Vr=!1,nt,xt,Ft,Ur;for(;++Ae<=we;){let mt=ne[Ae];if(mt[1].type==="listUnordered"||mt[1].type==="listOrdered"||mt[1].type==="blockQuote"?(mt[0]==="enter"?Rt++:Rt--,Ur=void 0):mt[1].type==="lineEndingBlank"?mt[0]==="enter"&&(nt&&!Ur&&!Rt&&!Ft&&(Ft=Ae),Ur=void 0):mt[1].type==="linePrefix"||mt[1].type==="listItemValue"||mt[1].type==="listItemMarker"||mt[1].type==="listItemPrefix"||mt[1].type==="listItemPrefixWhitespace"||(Ur=void 0),!Rt&&mt[0]==="enter"&&mt[1].type==="listItemPrefix"||Rt===-1&&mt[0]==="exit"&&(mt[1].type==="listUnordered"||mt[1].type==="listOrdered")){if(nt){let wn=Ae;for(xt=void 0;wn--;){let Ut=ne[wn];if(Ut[1].type==="lineEnding"||Ut[1].type==="lineEndingBlank"){if(Ut[0]==="exit")continue;xt&&(ne[xt][1].type="lineEndingBlank",Vr=!0),Ut[1].type="lineEnding",xt=wn}else if(!(Ut[1].type==="linePrefix"||Ut[1].type==="blockQuotePrefix"||Ut[1].type==="blockQuotePrefixWhitespace"||Ut[1].type==="blockQuoteMarker"||Ut[1].type==="listItemIndent"))break}Ft&&(!xt||Ft<xt)&&(nt._spread=!0),nt.end=Object.assign({},xt?ne[xt][1].start:mt[1].end),ne.splice(xt||Ae,0,["exit",nt,mt[2]]),Ae++,we++}mt[1].type==="listItemPrefix"&&(nt={type:"listItem",_spread:!1,start:Object.assign({},mt[1].start)},ne.splice(Ae,0,["enter",nt,mt[2]]),Ae++,we++,Ft=void 0,Ur=!0)}}return ne[ce][1]._spread=Vr,we}function s(ne,ce){e[ne]=ce}function l(ne){return e[ne]}function f(ne){return{line:ne.line,column:ne.column,offset:ne.offset}}function c(ne,ce){return we;function we(Ae){h.call(this,ne(Ae),Ae),ce&&ce.call(this,Ae)}}function g(){this.stack.push({type:"fragment",children:[]})}function h(ne,ce,we){return this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ce,we]),ne.position={start:f(ce.start)},ne}function v(ne){return ce;function ce(we){ne&&ne.call(this,we),x.call(this,we)}}function x(ne,ce){let we=this.stack.pop(),Ae=this.tokenStack.pop();if(Ae)Ae[0].type!==ne.type&&(ce?ce.call(this,ne,Ae[0]):(Ae[1]||Am).call(this,ne,Ae[0]));else throw new Error("Cannot close `"+ne.type+"` ("+Fi({start:ne.start,end:ne.end})+"): it\u2019s not open");return we.position.end=f(ne.end),we}function k(){return nm(this.stack.pop())}function _(){s("expectingFirstListItemValue",!0)}function O(ne){if(l("expectingFirstListItemValue")){let ce=this.stack[this.stack.length-2];ce.start=Number.parseInt(this.sliceSerialize(ne),10),s("expectingFirstListItemValue")}}function D(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.lang=ne}function M(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.meta=ne}function X(){l("flowCodeInside")||(this.buffer(),s("flowCodeInside",!0))}function le(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s("flowCodeInside")}function ve(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne.replace(/(\r?\n|\r)$/g,"")}function ye(ne){let ce=this.resume(),we=this.stack[this.stack.length-1];we.label=ce,we.identifier=sr(this.sliceSerialize(ne)).toLowerCase()}function ie(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.title=ne}function ke(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.url=ne}function Ee(ne){let ce=this.stack[this.stack.length-1];if(!ce.depth){let we=this.sliceSerialize(ne).length;ce.depth=we}}function xe(){s("setextHeadingSlurpLineEnding",!0)}function ze(ne){let ce=this.stack[this.stack.length-1];ce.depth=this.sliceSerialize(ne).charCodeAt(0)===61?1:2}function Fe(){s("setextHeadingSlurpLineEnding")}function Te(ne){let ce=this.stack[this.stack.length-1],we=ce.children[ce.children.length-1];(!we||we.type!=="text")&&(we=dt(),we.position={start:f(ne.start)},ce.children.push(we)),this.stack.push(we)}function he(ne){let ce=this.stack.pop();ce.value+=this.sliceSerialize(ne),ce.position.end=f(ne.end)}function _e(ne){let ce=this.stack[this.stack.length-1];if(l("atHardBreak")){let we=ce.children[ce.children.length-1];we.position.end=f(ne.end),s("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ce.type)&&(Te.call(this,ne),he.call(this,ne))}function st(){s("atHardBreak",!0)}function te(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function At(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function Je(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function $t(){let ne=this.stack[this.stack.length-1];l("inReference")?(ne.type+="Reference",ne.referenceType=l("referenceType")||"shortcut",delete ne.url,delete ne.title):(delete ne.identifier,delete ne.label),s("referenceType")}function tt(){let ne=this.stack[this.stack.length-1];l("inReference")?(ne.type+="Reference",ne.referenceType=l("referenceType")||"shortcut",delete ne.url,delete ne.title):(delete ne.identifier,delete ne.label),s("referenceType")}function z(ne){let ce=this.stack[this.stack.length-2],we=this.sliceSerialize(ne);ce.label=da(we),ce.identifier=sr(we).toLowerCase()}function V(){let ne=this.stack[this.stack.length-1],ce=this.resume(),we=this.stack[this.stack.length-1];s("inReference",!0),we.type==="link"?we.children=ne.children:we.alt=ce}function Qt(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.url=ne}function Bt(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.title=ne}function wt(){s("inReference")}function Pt(){s("referenceType","collapsed")}function Et(ne){let ce=this.resume(),we=this.stack[this.stack.length-1];we.label=ce,we.identifier=sr(this.sliceSerialize(ne)).toLowerCase(),s("referenceType","full")}function at(ne){s("characterReferenceType",ne.type)}function _r(ne){let ce=this.sliceSerialize(ne),we=l("characterReferenceType"),Ae;we?(Ae=pa(ce,we==="characterReferenceMarkerNumeric"?10:16),s("characterReferenceType")):Ae=mo(ce);let Rt=this.stack.pop();Rt.value+=Ae,Rt.position.end=f(ne.end)}function be(ne){he.call(this,ne);let ce=this.stack[this.stack.length-1];ce.url=this.sliceSerialize(ne)}function $r(ne){he.call(this,ne);let ce=this.stack[this.stack.length-1];ce.url="mailto:"+this.sliceSerialize(ne)}function ur(){return{type:"blockquote",children:[]}}function fr(){return{type:"code",lang:null,meta:null,value:""}}function Yt(){return{type:"inlineCode",value:""}}function Rn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ln(){return{type:"emphasis",children:[]}}function vn(){return{type:"heading",depth:void 0,children:[]}}function kn(){return{type:"break"}}function We(){return{type:"html",value:""}}function Ne(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function bt(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function cr(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function Ve(){return{type:"paragraph",children:[]}}function Ue(){return{type:"strong",children:[]}}function dt(){return{type:"text",value:""}}function rt(){return{type:"thematicBreak"}}}function Em(t,r){let e=-1;for(;++e<r.length;){let n=r[e];Array.isArray(n)?Em(t,n):vw(t,n)}return t}function vw(t,r){let e;for(e in r)if(Yu.call(r,e)){let n=e==="canContainEols"||e==="transforms",s=(Yu.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),l=r[e];l&&(n?t[e]=[...s,...l]:Object.assign(s,l))}}function Am(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Fi({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Fi({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Fi({start:r.start,end:r.end})+") is still open")}function ef(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return Xu(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var _m=ef;var kw={tokenize:Aw,partial:!0},Pm={tokenize:Ew,partial:!0},Fm={tokenize:_w,partial:!0},ho={tokenize:Pw,partial:!0},Tm={tokenize:Sw,partial:!0},Im={tokenize:xw,previous:Nm},Om={tokenize:Cw,previous:nf},Dn={tokenize:ww,previous:Dm},bn={},tf={text:bn},Ri=48;for(;Ri<123;)bn[Ri]=Dn,Ri++,Ri===58?Ri=65:Ri===91&&(Ri=97);bn[43]=Dn;bn[45]=Dn;bn[46]=Dn;bn[95]=Dn;bn[72]=[Dn,Om];bn[104]=[Dn,Om];bn[87]=[Dn,Im];bn[119]=[Dn,Im];function ww(t,r,e){let n=this,o,s;return l;function l(k){return!Sm(k)||!Dm(n.previous)||of(n.events)?e(k):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(k))}function f(k){return Sm(k)?(t.consume(k),f):k===64?(t.consume(k),c):e(k)}function c(k){return k===46?t.check(ho,x,g)(k):k===45||k===95?t.check(ho,e,h)(k):Vt(k)?(!s&&Ti(k)&&(s=!0),t.consume(k),c):x(k)}function g(k){return t.consume(k),o=!0,s=void 0,c}function h(k){return t.consume(k),v}function v(k){return k===46?t.check(ho,e,g)(k):c(k)}function x(k){return o&&!s?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(k)):e(k)}}function xw(t,r,e){let n=this;return o;function o(l){return l!==87&&l!==119||!Nm(n.previous)||of(n.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(kw,t.attempt(Pm,t.attempt(Fm,s),e),e)(l))}function s(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function Cw(t,r,e){let n=this;return o;function o(_){return _!==72&&_!==104||!nf(n.previous)||of(n.events)?e(_):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(_),s)}function s(_){return _===84||_===116?(t.consume(_),l):e(_)}function l(_){return _===84||_===116?(t.consume(_),f):e(_)}function f(_){return _===80||_===112?(t.consume(_),c):e(_)}function c(_){return _===83||_===115?(t.consume(_),g):g(_)}function g(_){return _===58?(t.consume(_),h):e(_)}function h(_){return _===47?(t.consume(_),v):e(_)}function v(_){return _===47?(t.consume(_),x):e(_)}function x(_){return _===null||Yn(_)||Ii(_)||Oi(_)?e(_):t.attempt(Pm,t.attempt(Fm,k),e)(_)}function k(_){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(_)}}function Aw(t,r,e){return n;function n(c){return t.consume(c),o}function o(c){return c===87||c===119?(t.consume(c),s):e(c)}function s(c){return c===87||c===119?(t.consume(c),l):e(c)}function l(c){return c===46?(t.consume(c),f):e(c)}function f(c){return c===null||pe(c)?e(c):r(c)}}function Ew(t,r,e){let n,o;return s;function s(c){return c===38?t.check(Tm,f,l)(c):c===46||c===95?t.check(ho,f,l)(c):c===null||Yn(c)||Ii(c)||c!==45&&Oi(c)?f(c):(t.consume(c),s)}function l(c){return c===46?(o=n,n=void 0,t.consume(c),s):(c===95&&(n=!0),t.consume(c),s)}function f(c){return!o&&!n?r(c):e(c)}}function _w(t,r){let e=0;return n;function n(l){return l===38?t.check(Tm,r,o)(l):(l===40&&e++,l===41?t.check(ho,s,o)(l):rf(l)?r(l):qm(l)?t.check(ho,r,o)(l):(t.consume(l),n))}function o(l){return t.consume(l),n}function s(l){return e--,e<0?r(l):o(l)}}function Sw(t,r,e){return n;function n(l){return t.consume(l),o}function o(l){return or(l)?(t.consume(l),o):l===59?(t.consume(l),s):e(l)}function s(l){return rf(l)?r(l):e(l)}}function Pw(t,r,e){return n;function n(s){return t.consume(s),o}function o(s){return qm(s)?(t.consume(s),o):rf(s)?r(s):e(s)}}function qm(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 rf(t){return t===null||t===60||et(t)}function Sm(t){return t===43||t===45||t===46||t===95||Vt(t)}function Nm(t){return t===null||t===40||t===42||t===95||t===126||et(t)}function nf(t){return t===null||!or(t)}function Dm(t){return t!==47&&nf(t)}function of(t){let r=t.length,e=!1;for(;r--;){let n=t[r][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 Fw={tokenize:Rw,partial:!0};function sf(){return{document:{[91]:{tokenize:qw,continuation:{tokenize:Nw},exit:Dw}},text:{[91]:{tokenize:Ow},[93]:{add:"after",tokenize:Tw,resolveTo:Iw}}}}function Tw(t,r,e){let n=this,o=n.events.length,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),l;for(;o--;){let c=n.events[o][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return f;function f(c){if(!l||!l._balanced)return e(c);let g=sr(n.sliceSerialize({start:l.end,end:n.now()}));return g.charCodeAt(0)!==94||!s.includes(g.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function Iw(t,r){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)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},t[t.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[t[e+1],t[e+2],["enter",o,r],t[e+3],t[e+4],["enter",s,r],["exit",s,r],["enter",l,r],["enter",f,r],["exit",f,r],["exit",l,r],t[t.length-2],t[t.length-1],["exit",o,r]];return t.splice(e,t.length-e+1,...c),t}function Ow(t,r,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s=0,l;return f;function f(x){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(x),t.exit("gfmFootnoteCallLabelMarker"),c}function c(x){return x!==94?e(x):(t.enter("gfmFootnoteCallMarker"),t.consume(x),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(x){let k;return x===null||x===91||s++>999?e(x):x===93?l?(t.exit("chunkString"),k=t.exit("gfmFootnoteCallString"),o.includes(sr(n.sliceSerialize(k)))?v(x):e(x)):e(x):(t.consume(x),et(x)||(l=!0),x===92?h:g)}function h(x){return x===91||x===92||x===93?(t.consume(x),s++,g):g(x)}function v(x){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(x),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function qw(t,r,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s,l=0,f;return c;function c(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),h):e(O)}function h(O){let D;return O===null||O===91||l>999?e(O):O===93?f?(D=t.exit("gfmFootnoteDefinitionLabelString"),s=sr(n.sliceSerialize(D)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k):e(O):pe(O)?(t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),l++,h):(t.enter("chunkString").contentType="string",v(O))}function v(O){return O===null||pe(O)||O===91||O===93||l>999?(t.exit("chunkString"),h(O)):(et(O)||(f=!0),l++,t.consume(O),O===92?x:v)}function x(O){return O===91||O===92||O===93?(t.consume(O),l++,v):v(O)}function k(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),Ce(t,_,"gfmFootnoteDefinitionWhitespace")):e(O)}function _(O){return o.includes(s)||o.push(s),r(O)}}function Nw(t,r,e){return t.check($n,r,t.attempt(Fw,r,e))}function Dw(t){t.exit("gfmFootnoteDefinition")}function Rw(t,r,e){let n=this;return Ce(t,o,"gfmFootnoteDefinitionIndent",4+1);function o(s){let l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(s):e(s)}}function af(t={}){let r=t.singleTilde,e={tokenize:o,resolveAll:n};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function n(s,l){let f=-1;for(;++f<s.length;)if(s[f][0]==="enter"&&s[f][1].type==="strikethroughSequenceTemporary"&&s[f][1]._close){let c=f;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[f][1].end.offset-s[f][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[f][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let g={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[f][1].end)},h={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[f][1].start)},v=[["enter",g,l],["enter",s[c][1],l],["exit",s[c][1],l],["enter",h,l]];Ot(v,v.length,0,ei(l.parser.constructs.insideSpan.null,s.slice(c+1,f),l)),Ot(v,v.length,0,[["exit",h,l],["enter",s[f][1],l],["exit",s[f][1],l],["exit",g,l]]),Ot(s,c-1,f-c+3,v),f=c+v.length-2;break}}for(f=-1;++f<s.length;)s[f][1].type==="strikethroughSequenceTemporary"&&(s[f][1].type="data");return s}function o(s,l,f){let c=this.previous,g=this.events,h=0;return v;function v(k){return c===126&&g[g.length-1][1].type!=="characterEscape"?f(k):(s.enter("strikethroughSequenceTemporary"),x(k))}function x(k){let _=po(c);if(k===126)return h>1?f(k):(s.consume(k),h++,x);if(h<2&&!r)return f(k);let O=s.exit("strikethroughSequenceTemporary"),D=po(k);return O._open=!D||D===2&&Boolean(_),O._close=!_||_===2&&Boolean(D),l(k)}}}var lf={flow:{null:{tokenize:jw,resolve:Lw}}},Rm={tokenize:Bw,partial:!0};function Lw(t,r){let e=-1,n,o,s,l,f,c,g;for(;++e<t.length;){let h=t[e][1];if(s&&(h.type==="temporaryTableCellContent"&&(l=l||e,f=e),(h.type==="tableCellDivider"||h.type==="tableRow")&&f)){let v={type:"tableContent",start:t[l][1].start,end:t[f][1].end},x={type:"chunkText",start:v.start,end:v.end,contentType:"text"};t.splice(l,f-l+1,["enter",v,r],["enter",x,r],["exit",x,r],["exit",v,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(g?0:1)<e&&(h.type==="tableCellDivider"||h.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let v={type:o?"tableDelimiter":n?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(h.type==="tableCellDivider"?1:0),0,["exit",v,r]),t.splice(c,0,["enter",v,r]),e+=2,c=e+1,g=!0}h.type==="tableRow"&&(s=t[e][0]==="enter",s&&(c=e+1,g=!1)),h.type==="tableDelimiterRow"&&(o=t[e][0]==="enter",o&&(c=e+1,g=!1)),h.type==="tableHead"&&(n=t[e][0]==="enter")}return t}function jw(t,r,e){let n=this,o=[],s=0,l,f;return c;function c(te){return t.enter("table")._align=o,t.enter("tableHead"),t.enter("tableRow"),te===124?g(te):(s++,t.enter("temporaryTableCellContent"),x(te))}function g(te){return t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),l=!0,h}function h(te){return te===null||pe(te)?_(te):Be(te)?(t.enter("whitespace"),t.consume(te),v):(l&&(l=void 0,s++),te===124?g(te):(t.enter("temporaryTableCellContent"),x(te)))}function v(te){return Be(te)?(t.consume(te),v):(t.exit("whitespace"),h(te))}function x(te){return te===null||te===124||et(te)?(t.exit("temporaryTableCellContent"),h(te)):(t.consume(te),te===92?k:x)}function k(te){return te===92||te===124?(t.consume(te),x):x(te)}function _(te){if(te===null)return e(te);t.exit("tableRow"),t.exit("tableHead");let At=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:st,partial:!0},function(Je){return n.interrupt=At,t.enter("tableDelimiterRow"),O(Je)},function(Je){return n.interrupt=At,e(Je)})(te)}function O(te){return te===null||pe(te)?ve(te):Be(te)?(t.enter("whitespace"),t.consume(te),D):te===45?(t.enter("tableDelimiterFiller"),t.consume(te),f=!0,o.push("none"),M):te===58?(t.enter("tableDelimiterAlignment"),t.consume(te),t.exit("tableDelimiterAlignment"),o.push("left"),X):te===124?(t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),O):e(te)}function D(te){return Be(te)?(t.consume(te),D):(t.exit("whitespace"),O(te))}function M(te){return te===45?(t.consume(te),M):(t.exit("tableDelimiterFiller"),te===58?(t.enter("tableDelimiterAlignment"),t.consume(te),t.exit("tableDelimiterAlignment"),o[o.length-1]=o[o.length-1]==="left"?"center":"right",le):O(te))}function X(te){return te===45?(t.enter("tableDelimiterFiller"),t.consume(te),f=!0,M):e(te)}function le(te){return te===null||pe(te)?ve(te):Be(te)?(t.enter("whitespace"),t.consume(te),D):te===124?(t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),O):e(te)}function ve(te){return t.exit("tableDelimiterRow"),!f||s!==o.length?e(te):te===null?ye(te):t.check(Rm,ye,t.attempt({tokenize:st,partial:!0},Ce(t,ie,"linePrefix",4),ye))(te)}function ye(te){return t.exit("table"),r(te)}function ie(te){return t.enter("tableBody"),ke(te)}function ke(te){return t.enter("tableRow"),te===124?Ee(te):(t.enter("temporaryTableCellContent"),Fe(te))}function Ee(te){return t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),xe}function xe(te){return te===null||pe(te)?he(te):Be(te)?(t.enter("whitespace"),t.consume(te),ze):te===124?Ee(te):(t.enter("temporaryTableCellContent"),Fe(te))}function ze(te){return Be(te)?(t.consume(te),ze):(t.exit("whitespace"),xe(te))}function Fe(te){return te===null||te===124||et(te)?(t.exit("temporaryTableCellContent"),xe(te)):(t.consume(te),te===92?Te:Fe)}function Te(te){return te===92||te===124?(t.consume(te),Fe):Fe(te)}function he(te){return t.exit("tableRow"),te===null?_e(te):t.check(Rm,_e,t.attempt({tokenize:st,partial:!0},Ce(t,ke,"linePrefix",4),_e))(te)}function _e(te){return t.exit("tableBody"),ye(te)}function st(te,At,Je){return $t;function $t(z){return te.enter("lineEnding"),te.consume(z),te.exit("lineEnding"),Ce(te,tt,"linePrefix")}function tt(z){if(n.parser.lazy[n.now().line]||z===null||pe(z))return Je(z);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?Je(z):(n._gfmTableDynamicInterruptHack=!0,te.check(n.parser.constructs.flow,function(Qt){return n._gfmTableDynamicInterruptHack=!1,Je(Qt)},function(Qt){return n._gfmTableDynamicInterruptHack=!1,At(Qt)})(z))}}}function Bw(t,r,e){let n=0;return o;function o(l){return t.enter("check"),t.consume(l),s}function s(l){return l===-1||l===32?(t.consume(l),n++,n===4?r:s):l===null||et(l)?r(l):e(l)}}var zw={tokenize:Mw},uf={text:{[91]:zw}};function Mw(t,r,e){let n=this;return o;function o(f){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),s)}function s(f){return et(f)?(t.enter("taskListCheckValueUnchecked"),t.consume(f),t.exit("taskListCheckValueUnchecked"),l):f===88||f===120?(t.enter("taskListCheckValueChecked"),t.consume(f),t.exit("taskListCheckValueChecked"),l):e(f)}function l(f){return f===93?(t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:Vw},r,e)):e(f)}}function Vw(t,r,e){let n=this;return Ce(t,o,"whitespace");function o(s){let l=n.events[n.events.length-1];return(l&&l[1].type==="whitespace"||pe(s))&&s!==null?r(s):e(s)}}function Lm(t){return ra([tf,sf(),af(t),lf,uf])}function ff(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,o=e.indexOf(r);for(;o!==-1;)n++,o=e.indexOf(r,o+r.length);return n}function cf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rs=function(t){if(t==null)return Kw;if(typeof t=="string")return Gw(t);if(typeof t=="object")return Array.isArray(t)?Uw(t):Hw(t);if(typeof t=="function")return ma(t);throw new Error("Expected function, string, or object as test")};function Uw(t){let r=[],e=-1;for(;++e<t.length;)r[e]=rs(t[e]);return ma(n);function n(...o){let s=-1;for(;++s<r.length;)if(r[s].call(this,...o))return!0;return!1}}function Hw(t){return ma(r);function r(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function Gw(t){return ma(r);function r(e){return e&&e.type===t}}function ma(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function Kw(){return!0}function jm(t){return"\x1B[33m"+t+"\x1B[39m"}var Ww=!0,Zw="skip",Bm=!1,zm=function(t,r,e,n){typeof r=="function"&&typeof e!="function"&&(n=e,e=r,r=null);let o=rs(r),s=n?-1:1;l(t,null,[])();function l(f,c,g){let h=typeof f=="object"&&f!==null?f:{},v;return typeof h.type=="string"&&(v=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0,Object.defineProperty(x,"name",{value:"node ("+jm(h.type+(v?"<"+v+">":""))+")"})),x;function x(){let k=[],_,O,D;if((!r||o(f,c,g[g.length-1]||null))&&(k=Jw(e(f,g)),k[0]===Bm))return k;if(f.children&&k[0]!==Zw)for(O=(n?f.children.length:-1)+s,D=g.concat(f);O>-1&&O<f.children.length;){if(_=l(f.children[O],O,D)(),_[0]===Bm)return _;O=typeof _[1]=="number"?_[1]:O+s}return k}}};function Jw(t){return Array.isArray(t)?t:typeof t=="number"?[Ww,t]:[t]}var Qw={}.hasOwnProperty,pf=function(t,r,e,n){let o,s;typeof r=="string"||r instanceof RegExp?(s=[[r,e]],o=n):(s=r,o=e),o||(o={});let l=rs(o.ignore||[]),f=Yw(s),c=-1;for(;++c<f.length;)zm(t,"text",g);return t;function g(v,x){let k=-1,_;for(;++k<x.length;){let O=x[k];if(l(O,_?_.children.indexOf(O):void 0,_))return;_=O}if(_)return h(v,x)}function h(v,x){let k=x[x.length-1],_=f[c][0],O=f[c][1],D=0,M=k.children.indexOf(v),X=!1,le=[],ve;_.lastIndex=0;let ye=_.exec(v.value);for(;ye;){ve=ye.index;let ie={index:ye.index,input:ye.input,stack:[...x,v]},ke=O(...ye,ie);if(typeof ke=="string"&&(ke=ke.length>0?{type:"text",value:ke}:void 0),ke!==!1&&(D!==ve&&le.push({type:"text",value:v.value.slice(D,ve)}),Array.isArray(ke)?le.push(...ke):ke&&le.push(ke),D=ve+ye[0].length,X=!0),!_.global)break;ye=_.exec(v.value)}return X?(D<v.value.length&&le.push({type:"text",value:v.value.slice(D)}),k.children.splice(M,1,...le)):le=[v],M+le.length}};function Yw(t){let r=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)r.push([Mm(t[e][0]),Vm(t[e][1])])}else{let e;for(e in t)Qw.call(t,e)&&r.push([Mm(e),Vm(t[e])])}return r}function Mm(t){return typeof t=="string"?new RegExp(cf(t),"g"):t}function Vm(t){return typeof t=="function"?t:()=>t}var df="phrasing",mf=["autolink","link","image","label"],Um={transforms:[i0],enter:{literalAutolink:Xw,literalAutolinkEmail:hf,literalAutolinkHttp:hf,literalAutolinkWww:hf},exit:{literalAutolink:n0,literalAutolinkEmail:r0,literalAutolinkHttp:e0,literalAutolinkWww:t0}},Hm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:df,notInConstruct:mf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:df,notInConstruct:mf},{character:":",before:"[ps]",after:"\\/",inConstruct:df,notInConstruct:mf}]};function Xw(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function hf(t){this.config.enter.autolinkProtocol.call(this,t)}function e0(t){this.config.exit.autolinkProtocol.call(this,t)}function t0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function r0(t){this.config.exit.autolinkEmail.call(this,t)}function n0(t){this.exit(t)}function i0(t){pf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,o0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,s0]],{ignore:["link","linkReference"]})}function o0(t,r,e,n,o){let s="";if(!Gm(o)||(/^w/i.test(r)&&(e=r+e,r="",s="http://"),!a0(e)))return!1;let l=l0(e+n);if(!l[0])return!1;let f={type:"link",title:null,url:s+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function s0(t,r,e,n){return!Gm(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function a0(t){let r=t.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function l0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,n,o,s;if(r)for(t=t.slice(0,r.index),s=r[0],e=s.indexOf(")"),n=ff(t,"("),o=ff(t,")");e!==-1&&n>o;)t+=s.slice(0,e+1),s=s.slice(e+1),e=s.indexOf(")"),o++;return[t,s]}function Gm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Ii(e)||Oi(e))&&(!r||e!==47)}function gf(t){return t.label||!t.identifier?t.label||"":da(t.identifier)}function lr(t){let r=t||{},e=r.now||{},n=r.lineShift||0,o=e.line||1,s=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:o,column:s},lineShift:n}}function f(g){n+=g}function c(g=""){let h=g.split(/\r?\n|\r/g),v=h[h.length-1];return o+=h.length-1,s=h.length===1?s+v.length:1+v.length+n,g}}function ha(t,r,e){let n=r.indexStack,o=t.children||[],s=lr(e),l=[],f=-1;for(n.push(-1);++f<o.length;){let g=o[f];n[n.length-1]=f,l.push(s.move(r.handle(g,t,r,{before:`
20
+ `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&o)continue;l=" ";break}default:l=String.fromCharCode(s)}o=s===-2,n.push(l)}return n.join("")}var Qu={};jf(Qu,{attentionMarkers:()=>hw,contentInitial:()=>uw,disable:()=>gw,document:()=>lw,flow:()=>cw,flowInitial:()=>fw,insideSpan:()=>mw,string:()=>pw,text:()=>dw});var lw={[42]:ar,[43]:ar,[45]:ar,[48]:ar,[49]:ar,[50]:ar,[51]:ar,[52]:ar,[53]:ar,[54]:ar,[55]:ar,[56]:ar,[57]:ar,[62]:na},uw={[91]:Vu},fw={[-2]:es,[-1]:es,[32]:es},cw={[35]:Hu,[42]:Di,[45]:[ca,Di],[60]:Ku,[61]:ca,[95]:Di,[96]:sa,[126]:sa},pw={[38]:oa,[92]:ia},dw={[-5]:ts,[-4]:ts,[-3]:ts,[33]:Zu,[38]:oa,[42]:Xo,[60]:[ju,Wu],[91]:Ju,[92]:[Uu,ia],[93]:Ni,[95]:Xo,[96]:zu},mw={null:[Xo,hm]},hw={null:[42,95]},gw={null:[]};function km(t={}){let r=ra([Qu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:n(um),document:n(cm),flow:n(mm),string:n(gm),text:n(ym)};return e;function n(o){return s;function s(l){return vm(e,o,l)}}}var wm=/[\0\t\n\r]/g;function xm(){let t=1,r="",e=!0,n;return o;function o(s,l,f){let c=[],g,m,v,x,k;for(s=r+s.toString(l),v=0,r="",e&&(s.charCodeAt(0)===65279&&v++,e=void 0);v<s.length;){if(wm.lastIndex=v,g=wm.exec(s),x=g&&g.index!==void 0?g.index:s.length,k=s.charCodeAt(x),!g){r=s.slice(v);break}if(k===10&&v===x&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),v<x&&(c.push(s.slice(v,x)),t+=x-v),k){case 0:{c.push(65533),t++;break}case 9:{for(m=Math.ceil(t/4)*4,c.push(-2);t++<m;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:n=!0,t=1}v=x+1}return f&&(n&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Cm(t){for(;!aa(t););return t}function pa(t,r){let e=Number.parseInt(t,r);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 yw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function da(t){return t.replace(yw,$w)}function $w(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let o=e.charCodeAt(1),s=o===120||o===88;return pa(e.slice(s?2:1),s?16:10)}return mo(e)||t}var Yu={}.hasOwnProperty,Xu=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),bw(e)(Cm(km(e).document().write(xm()(t,r,!0))))};function bw(t={}){let r=Em({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Ze),autolinkProtocol:Te,autolinkEmail:Te,atxHeading:c(vn),blockQuote:c(ur),characterEscape:Te,characterReference:Te,codeFenced:c(fr),codeFencedFenceInfo:g,codeFencedFenceMeta:g,codeIndented:c(fr,g),codeText:c(Yt,g),codeTextData:Te,data:Te,codeFlowValue:Te,definition:c(Rn),definitionDestinationString:g,definitionLabelString:g,definitionTitleString:g,emphasis:c(Ln),hardBreakEscape:c(kn),hardBreakTrailing:c(kn),htmlFlow:c(We,g),htmlFlowData:Te,htmlText:c(We,g),htmlTextData:Te,image:c(Ne),label:g,link:c(Ze),listItem:c(cr),listItemValue:O,listOrdered:c(bt,_),listUnordered:c(bt),paragraph:c(Ve),reference:Pt,referenceString:g,resourceDestinationString:g,resourceTitleString:g,setextHeading:c(vn),strong:c(Ue),thematicBreak:c(rt)},exit:{atxHeading:v(),atxHeadingSequence:Ee,autolink:v(),autolinkEmail:$r,autolinkProtocol:be,blockQuote:v(),characterEscapeValue:he,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:_r,codeFenced:v(le),codeFencedFence:X,codeFencedFenceInfo:D,codeFencedFenceMeta:M,codeFlowValue:he,codeIndented:v(ve),codeText:v(Je),codeTextData:he,data:he,definition:v(),definitionDestinationString:ke,definitionLabelString:ye,definitionTitleString:ie,emphasis:v(),hardBreakEscape:v(st),hardBreakTrailing:v(st),htmlFlow:v(te),htmlFlowData:he,htmlText:v(At),htmlTextData:he,image:v(tt),label:V,labelText:z,lineEnding:_e,link:v($t),listItem:v(),listOrdered:v(),listUnordered:v(),paragraph:v(),referenceString:Et,resourceDestinationString:Qt,resourceTitleString:Bt,resource:wt,setextHeading:v(Fe),setextHeadingLineSequence:ze,setextHeadingText:xe,strong:v(),thematicBreak:v()}},t.mdastExtensions||[]),e={};return n;function n(ne){let ce={type:"root",children:[]},we=[ce],Ae=[],Rt=[],Vr={stack:we,tokenStack:Ae,config:r,enter:m,exit:x,buffer:g,resume:k,setData:s,getData:l},nt=-1;for(;++nt<ne.length;)if(ne[nt][1].type==="listOrdered"||ne[nt][1].type==="listUnordered")if(ne[nt][0]==="enter")Rt.push(nt);else{let xt=Rt.pop();nt=o(ne,xt,nt)}for(nt=-1;++nt<ne.length;){let xt=r[ne[nt][0]];Yu.call(xt,ne[nt][1].type)&&xt[ne[nt][1].type].call(Object.assign({sliceSerialize:ne[nt][2].sliceSerialize},Vr),ne[nt][1])}if(Ae.length>0){let xt=Ae[Ae.length-1];(xt[1]||Am).call(Vr,void 0,xt[0])}for(ce.position={start:f(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:f(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},nt=-1;++nt<r.transforms.length;)ce=r.transforms[nt](ce)||ce;return ce}function o(ne,ce,we){let Ae=ce-1,Rt=-1,Vr=!1,nt,xt,Ft,Ur;for(;++Ae<=we;){let mt=ne[Ae];if(mt[1].type==="listUnordered"||mt[1].type==="listOrdered"||mt[1].type==="blockQuote"?(mt[0]==="enter"?Rt++:Rt--,Ur=void 0):mt[1].type==="lineEndingBlank"?mt[0]==="enter"&&(nt&&!Ur&&!Rt&&!Ft&&(Ft=Ae),Ur=void 0):mt[1].type==="linePrefix"||mt[1].type==="listItemValue"||mt[1].type==="listItemMarker"||mt[1].type==="listItemPrefix"||mt[1].type==="listItemPrefixWhitespace"||(Ur=void 0),!Rt&&mt[0]==="enter"&&mt[1].type==="listItemPrefix"||Rt===-1&&mt[0]==="exit"&&(mt[1].type==="listUnordered"||mt[1].type==="listOrdered")){if(nt){let wn=Ae;for(xt=void 0;wn--;){let Ut=ne[wn];if(Ut[1].type==="lineEnding"||Ut[1].type==="lineEndingBlank"){if(Ut[0]==="exit")continue;xt&&(ne[xt][1].type="lineEndingBlank",Vr=!0),Ut[1].type="lineEnding",xt=wn}else if(!(Ut[1].type==="linePrefix"||Ut[1].type==="blockQuotePrefix"||Ut[1].type==="blockQuotePrefixWhitespace"||Ut[1].type==="blockQuoteMarker"||Ut[1].type==="listItemIndent"))break}Ft&&(!xt||Ft<xt)&&(nt._spread=!0),nt.end=Object.assign({},xt?ne[xt][1].start:mt[1].end),ne.splice(xt||Ae,0,["exit",nt,mt[2]]),Ae++,we++}mt[1].type==="listItemPrefix"&&(nt={type:"listItem",_spread:!1,start:Object.assign({},mt[1].start)},ne.splice(Ae,0,["enter",nt,mt[2]]),Ae++,we++,Ft=void 0,Ur=!0)}}return ne[ce][1]._spread=Vr,we}function s(ne,ce){e[ne]=ce}function l(ne){return e[ne]}function f(ne){return{line:ne.line,column:ne.column,offset:ne.offset}}function c(ne,ce){return we;function we(Ae){m.call(this,ne(Ae),Ae),ce&&ce.call(this,Ae)}}function g(){this.stack.push({type:"fragment",children:[]})}function m(ne,ce,we){return this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ce,we]),ne.position={start:f(ce.start)},ne}function v(ne){return ce;function ce(we){ne&&ne.call(this,we),x.call(this,we)}}function x(ne,ce){let we=this.stack.pop(),Ae=this.tokenStack.pop();if(Ae)Ae[0].type!==ne.type&&(ce?ce.call(this,ne,Ae[0]):(Ae[1]||Am).call(this,ne,Ae[0]));else throw new Error("Cannot close `"+ne.type+"` ("+Fi({start:ne.start,end:ne.end})+"): it\u2019s not open");return we.position.end=f(ne.end),we}function k(){return nm(this.stack.pop())}function _(){s("expectingFirstListItemValue",!0)}function O(ne){if(l("expectingFirstListItemValue")){let ce=this.stack[this.stack.length-2];ce.start=Number.parseInt(this.sliceSerialize(ne),10),s("expectingFirstListItemValue")}}function D(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.lang=ne}function M(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.meta=ne}function X(){l("flowCodeInside")||(this.buffer(),s("flowCodeInside",!0))}function le(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s("flowCodeInside")}function ve(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne.replace(/(\r?\n|\r)$/g,"")}function ye(ne){let ce=this.resume(),we=this.stack[this.stack.length-1];we.label=ce,we.identifier=sr(this.sliceSerialize(ne)).toLowerCase()}function ie(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.title=ne}function ke(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.url=ne}function Ee(ne){let ce=this.stack[this.stack.length-1];if(!ce.depth){let we=this.sliceSerialize(ne).length;ce.depth=we}}function xe(){s("setextHeadingSlurpLineEnding",!0)}function ze(ne){let ce=this.stack[this.stack.length-1];ce.depth=this.sliceSerialize(ne).charCodeAt(0)===61?1:2}function Fe(){s("setextHeadingSlurpLineEnding")}function Te(ne){let ce=this.stack[this.stack.length-1],we=ce.children[ce.children.length-1];(!we||we.type!=="text")&&(we=dt(),we.position={start:f(ne.start)},ce.children.push(we)),this.stack.push(we)}function he(ne){let ce=this.stack.pop();ce.value+=this.sliceSerialize(ne),ce.position.end=f(ne.end)}function _e(ne){let ce=this.stack[this.stack.length-1];if(l("atHardBreak")){let we=ce.children[ce.children.length-1];we.position.end=f(ne.end),s("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ce.type)&&(Te.call(this,ne),he.call(this,ne))}function st(){s("atHardBreak",!0)}function te(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function At(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function Je(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.value=ne}function $t(){let ne=this.stack[this.stack.length-1];l("inReference")?(ne.type+="Reference",ne.referenceType=l("referenceType")||"shortcut",delete ne.url,delete ne.title):(delete ne.identifier,delete ne.label),s("referenceType")}function tt(){let ne=this.stack[this.stack.length-1];l("inReference")?(ne.type+="Reference",ne.referenceType=l("referenceType")||"shortcut",delete ne.url,delete ne.title):(delete ne.identifier,delete ne.label),s("referenceType")}function z(ne){let ce=this.stack[this.stack.length-2],we=this.sliceSerialize(ne);ce.label=da(we),ce.identifier=sr(we).toLowerCase()}function V(){let ne=this.stack[this.stack.length-1],ce=this.resume(),we=this.stack[this.stack.length-1];s("inReference",!0),we.type==="link"?we.children=ne.children:we.alt=ce}function Qt(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.url=ne}function Bt(){let ne=this.resume(),ce=this.stack[this.stack.length-1];ce.title=ne}function wt(){s("inReference")}function Pt(){s("referenceType","collapsed")}function Et(ne){let ce=this.resume(),we=this.stack[this.stack.length-1];we.label=ce,we.identifier=sr(this.sliceSerialize(ne)).toLowerCase(),s("referenceType","full")}function at(ne){s("characterReferenceType",ne.type)}function _r(ne){let ce=this.sliceSerialize(ne),we=l("characterReferenceType"),Ae;we?(Ae=pa(ce,we==="characterReferenceMarkerNumeric"?10:16),s("characterReferenceType")):Ae=mo(ce);let Rt=this.stack.pop();Rt.value+=Ae,Rt.position.end=f(ne.end)}function be(ne){he.call(this,ne);let ce=this.stack[this.stack.length-1];ce.url=this.sliceSerialize(ne)}function $r(ne){he.call(this,ne);let ce=this.stack[this.stack.length-1];ce.url="mailto:"+this.sliceSerialize(ne)}function ur(){return{type:"blockquote",children:[]}}function fr(){return{type:"code",lang:null,meta:null,value:""}}function Yt(){return{type:"inlineCode",value:""}}function Rn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ln(){return{type:"emphasis",children:[]}}function vn(){return{type:"heading",depth:void 0,children:[]}}function kn(){return{type:"break"}}function We(){return{type:"html",value:""}}function Ne(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function bt(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function cr(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function Ve(){return{type:"paragraph",children:[]}}function Ue(){return{type:"strong",children:[]}}function dt(){return{type:"text",value:""}}function rt(){return{type:"thematicBreak"}}}function Em(t,r){let e=-1;for(;++e<r.length;){let n=r[e];Array.isArray(n)?Em(t,n):vw(t,n)}return t}function vw(t,r){let e;for(e in r)if(Yu.call(r,e)){let n=e==="canContainEols"||e==="transforms",s=(Yu.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),l=r[e];l&&(n?t[e]=[...s,...l]:Object.assign(s,l))}}function Am(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Fi({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Fi({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Fi({start:r.start,end:r.end})+") is still open")}function ef(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return Xu(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var _m=ef;var kw={tokenize:Aw,partial:!0},Pm={tokenize:Ew,partial:!0},Fm={tokenize:_w,partial:!0},ho={tokenize:Pw,partial:!0},Tm={tokenize:Sw,partial:!0},Im={tokenize:xw,previous:Nm},Om={tokenize:Cw,previous:nf},Dn={tokenize:ww,previous:Dm},bn={},tf={text:bn},Ri=48;for(;Ri<123;)bn[Ri]=Dn,Ri++,Ri===58?Ri=65:Ri===91&&(Ri=97);bn[43]=Dn;bn[45]=Dn;bn[46]=Dn;bn[95]=Dn;bn[72]=[Dn,Om];bn[104]=[Dn,Om];bn[87]=[Dn,Im];bn[119]=[Dn,Im];function ww(t,r,e){let n=this,o,s;return l;function l(k){return!Sm(k)||!Dm(n.previous)||of(n.events)?e(k):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(k))}function f(k){return Sm(k)?(t.consume(k),f):k===64?(t.consume(k),c):e(k)}function c(k){return k===46?t.check(ho,x,g)(k):k===45||k===95?t.check(ho,e,m)(k):Vt(k)?(!s&&Ti(k)&&(s=!0),t.consume(k),c):x(k)}function g(k){return t.consume(k),o=!0,s=void 0,c}function m(k){return t.consume(k),v}function v(k){return k===46?t.check(ho,e,g)(k):c(k)}function x(k){return o&&!s?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(k)):e(k)}}function xw(t,r,e){let n=this;return o;function o(l){return l!==87&&l!==119||!Nm(n.previous)||of(n.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(kw,t.attempt(Pm,t.attempt(Fm,s),e),e)(l))}function s(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function Cw(t,r,e){let n=this;return o;function o(_){return _!==72&&_!==104||!nf(n.previous)||of(n.events)?e(_):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(_),s)}function s(_){return _===84||_===116?(t.consume(_),l):e(_)}function l(_){return _===84||_===116?(t.consume(_),f):e(_)}function f(_){return _===80||_===112?(t.consume(_),c):e(_)}function c(_){return _===83||_===115?(t.consume(_),g):g(_)}function g(_){return _===58?(t.consume(_),m):e(_)}function m(_){return _===47?(t.consume(_),v):e(_)}function v(_){return _===47?(t.consume(_),x):e(_)}function x(_){return _===null||Yn(_)||Ii(_)||Oi(_)?e(_):t.attempt(Pm,t.attempt(Fm,k),e)(_)}function k(_){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(_)}}function Aw(t,r,e){return n;function n(c){return t.consume(c),o}function o(c){return c===87||c===119?(t.consume(c),s):e(c)}function s(c){return c===87||c===119?(t.consume(c),l):e(c)}function l(c){return c===46?(t.consume(c),f):e(c)}function f(c){return c===null||pe(c)?e(c):r(c)}}function Ew(t,r,e){let n,o;return s;function s(c){return c===38?t.check(Tm,f,l)(c):c===46||c===95?t.check(ho,f,l)(c):c===null||Yn(c)||Ii(c)||c!==45&&Oi(c)?f(c):(t.consume(c),s)}function l(c){return c===46?(o=n,n=void 0,t.consume(c),s):(c===95&&(n=!0),t.consume(c),s)}function f(c){return!o&&!n?r(c):e(c)}}function _w(t,r){let e=0;return n;function n(l){return l===38?t.check(Tm,r,o)(l):(l===40&&e++,l===41?t.check(ho,s,o)(l):rf(l)?r(l):qm(l)?t.check(ho,r,o)(l):(t.consume(l),n))}function o(l){return t.consume(l),n}function s(l){return e--,e<0?r(l):o(l)}}function Sw(t,r,e){return n;function n(l){return t.consume(l),o}function o(l){return or(l)?(t.consume(l),o):l===59?(t.consume(l),s):e(l)}function s(l){return rf(l)?r(l):e(l)}}function Pw(t,r,e){return n;function n(s){return t.consume(s),o}function o(s){return qm(s)?(t.consume(s),o):rf(s)?r(s):e(s)}}function qm(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 rf(t){return t===null||t===60||et(t)}function Sm(t){return t===43||t===45||t===46||t===95||Vt(t)}function Nm(t){return t===null||t===40||t===42||t===95||t===126||et(t)}function nf(t){return t===null||!or(t)}function Dm(t){return t!==47&&nf(t)}function of(t){let r=t.length,e=!1;for(;r--;){let n=t[r][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 Fw={tokenize:Rw,partial:!0};function sf(){return{document:{[91]:{tokenize:qw,continuation:{tokenize:Nw},exit:Dw}},text:{[91]:{tokenize:Ow},[93]:{add:"after",tokenize:Tw,resolveTo:Iw}}}}function Tw(t,r,e){let n=this,o=n.events.length,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),l;for(;o--;){let c=n.events[o][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return f;function f(c){if(!l||!l._balanced)return e(c);let g=sr(n.sliceSerialize({start:l.end,end:n.now()}));return g.charCodeAt(0)!==94||!s.includes(g.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function Iw(t,r){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)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},t[t.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[t[e+1],t[e+2],["enter",o,r],t[e+3],t[e+4],["enter",s,r],["exit",s,r],["enter",l,r],["enter",f,r],["exit",f,r],["exit",l,r],t[t.length-2],t[t.length-1],["exit",o,r]];return t.splice(e,t.length-e+1,...c),t}function Ow(t,r,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s=0,l;return f;function f(x){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(x),t.exit("gfmFootnoteCallLabelMarker"),c}function c(x){return x!==94?e(x):(t.enter("gfmFootnoteCallMarker"),t.consume(x),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(x){let k;return x===null||x===91||s++>999?e(x):x===93?l?(t.exit("chunkString"),k=t.exit("gfmFootnoteCallString"),o.includes(sr(n.sliceSerialize(k)))?v(x):e(x)):e(x):(t.consume(x),et(x)||(l=!0),x===92?m:g)}function m(x){return x===91||x===92||x===93?(t.consume(x),s++,g):g(x)}function v(x){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(x),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function qw(t,r,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s,l=0,f;return c;function c(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),m):e(O)}function m(O){let D;return O===null||O===91||l>999?e(O):O===93?f?(D=t.exit("gfmFootnoteDefinitionLabelString"),s=sr(n.sliceSerialize(D)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k):e(O):pe(O)?(t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),l++,m):(t.enter("chunkString").contentType="string",v(O))}function v(O){return O===null||pe(O)||O===91||O===93||l>999?(t.exit("chunkString"),m(O)):(et(O)||(f=!0),l++,t.consume(O),O===92?x:v)}function x(O){return O===91||O===92||O===93?(t.consume(O),l++,v):v(O)}function k(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),Ce(t,_,"gfmFootnoteDefinitionWhitespace")):e(O)}function _(O){return o.includes(s)||o.push(s),r(O)}}function Nw(t,r,e){return t.check($n,r,t.attempt(Fw,r,e))}function Dw(t){t.exit("gfmFootnoteDefinition")}function Rw(t,r,e){let n=this;return Ce(t,o,"gfmFootnoteDefinitionIndent",4+1);function o(s){let l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(s):e(s)}}function af(t={}){let r=t.singleTilde,e={tokenize:o,resolveAll:n};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function n(s,l){let f=-1;for(;++f<s.length;)if(s[f][0]==="enter"&&s[f][1].type==="strikethroughSequenceTemporary"&&s[f][1]._close){let c=f;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[f][1].end.offset-s[f][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[f][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let g={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[f][1].end)},m={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[f][1].start)},v=[["enter",g,l],["enter",s[c][1],l],["exit",s[c][1],l],["enter",m,l]];Ot(v,v.length,0,ei(l.parser.constructs.insideSpan.null,s.slice(c+1,f),l)),Ot(v,v.length,0,[["exit",m,l],["enter",s[f][1],l],["exit",s[f][1],l],["exit",g,l]]),Ot(s,c-1,f-c+3,v),f=c+v.length-2;break}}for(f=-1;++f<s.length;)s[f][1].type==="strikethroughSequenceTemporary"&&(s[f][1].type="data");return s}function o(s,l,f){let c=this.previous,g=this.events,m=0;return v;function v(k){return c===126&&g[g.length-1][1].type!=="characterEscape"?f(k):(s.enter("strikethroughSequenceTemporary"),x(k))}function x(k){let _=po(c);if(k===126)return m>1?f(k):(s.consume(k),m++,x);if(m<2&&!r)return f(k);let O=s.exit("strikethroughSequenceTemporary"),D=po(k);return O._open=!D||D===2&&Boolean(_),O._close=!_||_===2&&Boolean(D),l(k)}}}var lf={flow:{null:{tokenize:jw,resolve:Lw}}},Rm={tokenize:Bw,partial:!0};function Lw(t,r){let e=-1,n,o,s,l,f,c,g;for(;++e<t.length;){let m=t[e][1];if(s&&(m.type==="temporaryTableCellContent"&&(l=l||e,f=e),(m.type==="tableCellDivider"||m.type==="tableRow")&&f)){let v={type:"tableContent",start:t[l][1].start,end:t[f][1].end},x={type:"chunkText",start:v.start,end:v.end,contentType:"text"};t.splice(l,f-l+1,["enter",v,r],["enter",x,r],["exit",x,r],["exit",v,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(g?0:1)<e&&(m.type==="tableCellDivider"||m.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let v={type:o?"tableDelimiter":n?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(m.type==="tableCellDivider"?1:0),0,["exit",v,r]),t.splice(c,0,["enter",v,r]),e+=2,c=e+1,g=!0}m.type==="tableRow"&&(s=t[e][0]==="enter",s&&(c=e+1,g=!1)),m.type==="tableDelimiterRow"&&(o=t[e][0]==="enter",o&&(c=e+1,g=!1)),m.type==="tableHead"&&(n=t[e][0]==="enter")}return t}function jw(t,r,e){let n=this,o=[],s=0,l,f;return c;function c(te){return t.enter("table")._align=o,t.enter("tableHead"),t.enter("tableRow"),te===124?g(te):(s++,t.enter("temporaryTableCellContent"),x(te))}function g(te){return t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),l=!0,m}function m(te){return te===null||pe(te)?_(te):Be(te)?(t.enter("whitespace"),t.consume(te),v):(l&&(l=void 0,s++),te===124?g(te):(t.enter("temporaryTableCellContent"),x(te)))}function v(te){return Be(te)?(t.consume(te),v):(t.exit("whitespace"),m(te))}function x(te){return te===null||te===124||et(te)?(t.exit("temporaryTableCellContent"),m(te)):(t.consume(te),te===92?k:x)}function k(te){return te===92||te===124?(t.consume(te),x):x(te)}function _(te){if(te===null)return e(te);t.exit("tableRow"),t.exit("tableHead");let At=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:st,partial:!0},function(Je){return n.interrupt=At,t.enter("tableDelimiterRow"),O(Je)},function(Je){return n.interrupt=At,e(Je)})(te)}function O(te){return te===null||pe(te)?ve(te):Be(te)?(t.enter("whitespace"),t.consume(te),D):te===45?(t.enter("tableDelimiterFiller"),t.consume(te),f=!0,o.push("none"),M):te===58?(t.enter("tableDelimiterAlignment"),t.consume(te),t.exit("tableDelimiterAlignment"),o.push("left"),X):te===124?(t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),O):e(te)}function D(te){return Be(te)?(t.consume(te),D):(t.exit("whitespace"),O(te))}function M(te){return te===45?(t.consume(te),M):(t.exit("tableDelimiterFiller"),te===58?(t.enter("tableDelimiterAlignment"),t.consume(te),t.exit("tableDelimiterAlignment"),o[o.length-1]=o[o.length-1]==="left"?"center":"right",le):O(te))}function X(te){return te===45?(t.enter("tableDelimiterFiller"),t.consume(te),f=!0,M):e(te)}function le(te){return te===null||pe(te)?ve(te):Be(te)?(t.enter("whitespace"),t.consume(te),D):te===124?(t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),O):e(te)}function ve(te){return t.exit("tableDelimiterRow"),!f||s!==o.length?e(te):te===null?ye(te):t.check(Rm,ye,t.attempt({tokenize:st,partial:!0},Ce(t,ie,"linePrefix",4),ye))(te)}function ye(te){return t.exit("table"),r(te)}function ie(te){return t.enter("tableBody"),ke(te)}function ke(te){return t.enter("tableRow"),te===124?Ee(te):(t.enter("temporaryTableCellContent"),Fe(te))}function Ee(te){return t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),xe}function xe(te){return te===null||pe(te)?he(te):Be(te)?(t.enter("whitespace"),t.consume(te),ze):te===124?Ee(te):(t.enter("temporaryTableCellContent"),Fe(te))}function ze(te){return Be(te)?(t.consume(te),ze):(t.exit("whitespace"),xe(te))}function Fe(te){return te===null||te===124||et(te)?(t.exit("temporaryTableCellContent"),xe(te)):(t.consume(te),te===92?Te:Fe)}function Te(te){return te===92||te===124?(t.consume(te),Fe):Fe(te)}function he(te){return t.exit("tableRow"),te===null?_e(te):t.check(Rm,_e,t.attempt({tokenize:st,partial:!0},Ce(t,ke,"linePrefix",4),_e))(te)}function _e(te){return t.exit("tableBody"),ye(te)}function st(te,At,Je){return $t;function $t(z){return te.enter("lineEnding"),te.consume(z),te.exit("lineEnding"),Ce(te,tt,"linePrefix")}function tt(z){if(n.parser.lazy[n.now().line]||z===null||pe(z))return Je(z);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?Je(z):(n._gfmTableDynamicInterruptHack=!0,te.check(n.parser.constructs.flow,function(Qt){return n._gfmTableDynamicInterruptHack=!1,Je(Qt)},function(Qt){return n._gfmTableDynamicInterruptHack=!1,At(Qt)})(z))}}}function Bw(t,r,e){let n=0;return o;function o(l){return t.enter("check"),t.consume(l),s}function s(l){return l===-1||l===32?(t.consume(l),n++,n===4?r:s):l===null||et(l)?r(l):e(l)}}var zw={tokenize:Mw},uf={text:{[91]:zw}};function Mw(t,r,e){let n=this;return o;function o(f){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),s)}function s(f){return et(f)?(t.enter("taskListCheckValueUnchecked"),t.consume(f),t.exit("taskListCheckValueUnchecked"),l):f===88||f===120?(t.enter("taskListCheckValueChecked"),t.consume(f),t.exit("taskListCheckValueChecked"),l):e(f)}function l(f){return f===93?(t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),t.check({tokenize:Vw},r,e)):e(f)}}function Vw(t,r,e){let n=this;return Ce(t,o,"whitespace");function o(s){let l=n.events[n.events.length-1];return(l&&l[1].type==="whitespace"||pe(s))&&s!==null?r(s):e(s)}}function Lm(t){return ra([tf,sf(),af(t),lf,uf])}function ff(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,o=e.indexOf(r);for(;o!==-1;)n++,o=e.indexOf(r,o+r.length);return n}function cf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rs=function(t){if(t==null)return Kw;if(typeof t=="string")return Gw(t);if(typeof t=="object")return Array.isArray(t)?Uw(t):Hw(t);if(typeof t=="function")return ma(t);throw new Error("Expected function, string, or object as test")};function Uw(t){let r=[],e=-1;for(;++e<t.length;)r[e]=rs(t[e]);return ma(n);function n(...o){let s=-1;for(;++s<r.length;)if(r[s].call(this,...o))return!0;return!1}}function Hw(t){return ma(r);function r(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function Gw(t){return ma(r);function r(e){return e&&e.type===t}}function ma(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function Kw(){return!0}function jm(t){return"\x1B[33m"+t+"\x1B[39m"}var Ww=!0,Zw="skip",Bm=!1,zm=function(t,r,e,n){typeof r=="function"&&typeof e!="function"&&(n=e,e=r,r=null);let o=rs(r),s=n?-1:1;l(t,null,[])();function l(f,c,g){let m=typeof f=="object"&&f!==null?f:{},v;return typeof m.type=="string"&&(v=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0,Object.defineProperty(x,"name",{value:"node ("+jm(m.type+(v?"<"+v+">":""))+")"})),x;function x(){let k=[],_,O,D;if((!r||o(f,c,g[g.length-1]||null))&&(k=Jw(e(f,g)),k[0]===Bm))return k;if(f.children&&k[0]!==Zw)for(O=(n?f.children.length:-1)+s,D=g.concat(f);O>-1&&O<f.children.length;){if(_=l(f.children[O],O,D)(),_[0]===Bm)return _;O=typeof _[1]=="number"?_[1]:O+s}return k}}};function Jw(t){return Array.isArray(t)?t:typeof t=="number"?[Ww,t]:[t]}var Qw={}.hasOwnProperty,pf=function(t,r,e,n){let o,s;typeof r=="string"||r instanceof RegExp?(s=[[r,e]],o=n):(s=r,o=e),o||(o={});let l=rs(o.ignore||[]),f=Yw(s),c=-1;for(;++c<f.length;)zm(t,"text",g);return t;function g(v,x){let k=-1,_;for(;++k<x.length;){let O=x[k];if(l(O,_?_.children.indexOf(O):void 0,_))return;_=O}if(_)return m(v,x)}function m(v,x){let k=x[x.length-1],_=f[c][0],O=f[c][1],D=0,M=k.children.indexOf(v),X=!1,le=[],ve;_.lastIndex=0;let ye=_.exec(v.value);for(;ye;){ve=ye.index;let ie={index:ye.index,input:ye.input,stack:[...x,v]},ke=O(...ye,ie);if(typeof ke=="string"&&(ke=ke.length>0?{type:"text",value:ke}:void 0),ke!==!1&&(D!==ve&&le.push({type:"text",value:v.value.slice(D,ve)}),Array.isArray(ke)?le.push(...ke):ke&&le.push(ke),D=ve+ye[0].length,X=!0),!_.global)break;ye=_.exec(v.value)}return X?(D<v.value.length&&le.push({type:"text",value:v.value.slice(D)}),k.children.splice(M,1,...le)):le=[v],M+le.length}};function Yw(t){let r=[];if(typeof t!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let e=-1;for(;++e<t.length;)r.push([Mm(t[e][0]),Vm(t[e][1])])}else{let e;for(e in t)Qw.call(t,e)&&r.push([Mm(e),Vm(t[e])])}return r}function Mm(t){return typeof t=="string"?new RegExp(cf(t),"g"):t}function Vm(t){return typeof t=="function"?t:()=>t}var df="phrasing",mf=["autolink","link","image","label"],Um={transforms:[i0],enter:{literalAutolink:Xw,literalAutolinkEmail:hf,literalAutolinkHttp:hf,literalAutolinkWww:hf},exit:{literalAutolink:n0,literalAutolinkEmail:r0,literalAutolinkHttp:e0,literalAutolinkWww:t0}},Hm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:df,notInConstruct:mf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:df,notInConstruct:mf},{character:":",before:"[ps]",after:"\\/",inConstruct:df,notInConstruct:mf}]};function Xw(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function hf(t){this.config.enter.autolinkProtocol.call(this,t)}function e0(t){this.config.exit.autolinkProtocol.call(this,t)}function t0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function r0(t){this.config.exit.autolinkEmail.call(this,t)}function n0(t){this.exit(t)}function i0(t){pf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,o0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,s0]],{ignore:["link","linkReference"]})}function o0(t,r,e,n,o){let s="";if(!Gm(o)||(/^w/i.test(r)&&(e=r+e,r="",s="http://"),!a0(e)))return!1;let l=l0(e+n);if(!l[0])return!1;let f={type:"link",title:null,url:s+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function s0(t,r,e,n){return!Gm(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function a0(t){let r=t.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function l0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,n,o,s;if(r)for(t=t.slice(0,r.index),s=r[0],e=s.indexOf(")"),n=ff(t,"("),o=ff(t,")");e!==-1&&n>o;)t+=s.slice(0,e+1),s=s.slice(e+1),e=s.indexOf(")"),o++;return[t,s]}function Gm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Ii(e)||Oi(e))&&(!r||e!==47)}function gf(t){return t.label||!t.identifier?t.label||"":da(t.identifier)}function lr(t){let r=t||{},e=r.now||{},n=r.lineShift||0,o=e.line||1,s=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:o,column:s},lineShift:n}}function f(g){n+=g}function c(g=""){let m=g.split(/\r?\n|\r/g),v=m[m.length-1];return o+=m.length-1,s=m.length===1?s+v.length:1+v.length+n,g}}function ha(t,r,e){let n=r.indexStack,o=t.children||[],s=lr(e),l=[],f=-1;for(n.push(-1);++f<o.length;){let g=o[f];n[n.length-1]=f,l.push(s.move(r.handle(g,t,r,{before:`
21
21
  `,after:`
22
- `,...s.current()}))),g.type!=="list"&&(r.bulletLastUsed=void 0),f<o.length-1&&l.push(s.move(c(g,o[f+1])))}return n.pop(),l.join("");function c(g,h){let v=r.join.length;for(;v--;){let x=r.join[v](g,h,t,r);if(x===!0||x===1)break;if(typeof x=="number")return`
22
+ `,...s.current()}))),g.type!=="list"&&(r.bulletLastUsed=void 0),f<o.length-1&&l.push(s.move(c(g,o[f+1])))}return n.pop(),l.join("");function c(g,m){let v=r.join.length;for(;v--;){let x=r.join[v](g,m,t,r);if(x===!0||x===1)break;if(typeof x=="number")return`
23
23
  `.repeat(1+x);if(x===!1)return`
24
24
 
25
25
  <!---->
26
26
 
27
27
  `}return`
28
28
 
29
- `}}var u0=/\r?\n|\r/g;function ga(t,r){let e=[],n=0,o=0,s;for(;s=u0.exec(t);)l(t.slice(n,s.index)),e.push(s[0]),n=s.index+s[0].length,o++;return l(t.slice(n)),e.join("");function l(f){e.push(r(f,o,!f))}}function go(t){if(!t._compiled){let r=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((r?"("+r+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Wm(t,r){return Km(t,r.inConstruct,!0)&&!Km(t,r.notInConstruct,!1)}function Km(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let n=-1;for(;++n<r.length;)if(t.includes(r[n]))return!0;return!1}function ns(t,r,e){let n=(e.before||"")+(r||"")+(e.after||""),o=[],s=[],l={},f=-1;for(;++f<t.unsafe.length;){let h=t.unsafe[f];if(!Wm(t.stack,h))continue;let v=go(h),x;for(;x=v.exec(n);){let k="before"in h||Boolean(h.atBreak),_="after"in h,O=x.index+(k?x[1].length:0);o.includes(O)?(l[O].before&&!k&&(l[O].before=!1),l[O].after&&!_&&(l[O].after=!1)):(o.push(O),l[O]={before:k,after:_})}}o.sort(f0);let c=e.before?e.before.length:0,g=n.length-(e.after?e.after.length:0);for(f=-1;++f<o.length;){let h=o[f];h<c||h>=g||h+1<g&&o[f+1]===h+1&&l[h].after&&!l[h+1].before&&!l[h+1].after||o[f-1]===h-1&&l[h].before&&!l[h-1].before&&!l[h-1].after||(c!==h&&s.push(Zm(n.slice(c,h),"\\")),c=h,/[!-/:-@[-`{-~]/.test(n.charAt(h))&&(!e.encode||!e.encode.includes(n.charAt(h)))?s.push("\\"):(s.push("&#x"+n.charCodeAt(h).toString(16).toUpperCase()+";"),c++))}return s.push(Zm(n.slice(c,g),e.after)),s.join("")}function f0(t,r){return t-r}function Zm(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],s=t+r,l=-1,f=0,c;for(;c=e.exec(s);)n.push(c.index);for(;++l<n.length;)f!==n[l]&&o.push(t.slice(f,n[l])),o.push("\\"),f=n[l];return o.push(t.slice(f)),o.join("")}function Jm(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:o,gfmFootnoteCallString:s},exit:{gfmFootnoteDefinition:n,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:f,gfmFootnoteCallString:l}};function t(c){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},c)}function r(){this.buffer()}function e(c){let g=this.resume(),h=this.stack[this.stack.length-1];h.label=g,h.identifier=sr(this.sliceSerialize(c)).toLowerCase()}function n(c){this.exit(c)}function o(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function s(){this.buffer()}function l(c){let g=this.resume(),h=this.stack[this.stack.length-1];h.label=g,h.identifier=sr(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function Qm(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,o,s,l){let f=lr(l),c=f.move("[^"),g=s.enter("footnoteReference"),h=s.enter("reference");return c+=f.move(ns(s,gf(n),{...f.current(),before:c,after:"]"})),h(),g(),c+=f.move("]"),c}function r(){return"["}function e(n,o,s,l){let f=lr(l),c=f.move("[^"),g=s.enter("footnoteDefinition"),h=s.enter("label");return c+=f.move(ns(s,gf(n),{...f.current(),before:c,after:"]"})),h(),c+=f.move("]:"+(n.children&&n.children.length>0?" ":"")),f.shift(4),c+=f.move(ga(ha(n,s,f.current()),v)),g(),c;function v(x,k,_){return k?(_?"":" ")+x:x}}}function ya(t,r,e){let n=r.indexStack,o=t.children||[],s=[],l=-1,f=e.before;n.push(-1);let c=lr(e);for(;++l<o.length;){let g=o[l],h;if(n[n.length-1]=l,l+1<o.length){let v=r.handle.handlers[o[l+1].type];v&&v.peek&&(v=v.peek),h=v?v(o[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else h=e.after;s.length>0&&(f==="\r"||f===`
30
- `)&&g.type==="html"&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=lr(e),c.move(s.join(""))),s.push(c.move(r.handle(g,t,r,{...c.current(),before:f,after:h}))),f=s[s.length-1].slice(-1)}return n.pop(),s.join("")}var Ym={canContainEols:["delete"],enter:{strikethrough:c0},exit:{strikethrough:p0}},Xm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:eh}};eh.peek=d0;function c0(t){this.enter({type:"delete",children:[]},t)}function p0(t){this.exit(t)}function eh(t,r,e,n){let o=lr(n),s=e.enter("emphasis"),l=o.move("~~");return l+=ya(t,e,{...o.current(),before:l,after:"~"}),l+=o.move("~~"),s(),l}function d0(){return"~"}yf.peek=m0;function yf(t,r,e){let n=t.value||"",o="`",s=-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+" ");++s<e.unsafe.length;){let l=e.unsafe[s],f=go(l),c;if(!!l.atBreak)for(;c=f.exec(n);){let g=c.index;n.charCodeAt(g)===10&&n.charCodeAt(g-1)===13&&g--,n=n.slice(0,g)+" "+n.slice(c.index+1)}}return o+n+o}function m0(){return"`"}function rh(t,r={}){let e=(r.align||[]).concat(),n=r.stringLength||g0,o=[],s=[],l=[],f=[],c=0,g=-1;for(;++g<t.length;){let _=[],O=[],D=-1;for(t[g].length>c&&(c=t[g].length);++D<t[g].length;){let M=h0(t[g][D]);if(r.alignDelimiters!==!1){let X=n(M);O[D]=X,(f[D]===void 0||X>f[D])&&(f[D]=X)}_.push(M)}s[g]=_,l[g]=O}let h=-1;if(typeof e=="object"&&"length"in e)for(;++h<c;)o[h]=th(e[h]);else{let _=th(e);for(;++h<c;)o[h]=_}h=-1;let v=[],x=[];for(;++h<c;){let _=o[h],O="",D="";_===99?(O=":",D=":"):_===108?O=":":_===114&&(D=":");let M=r.alignDelimiters===!1?1:Math.max(1,f[h]-O.length-D.length),X=O+"-".repeat(M)+D;r.alignDelimiters!==!1&&(M=O.length+M+D.length,M>f[h]&&(f[h]=M),x[h]=M),v[h]=X}s.splice(1,0,v),l.splice(1,0,x),g=-1;let k=[];for(;++g<s.length;){let _=s[g],O=l[g];h=-1;let D=[];for(;++h<c;){let M=_[h]||"",X="",le="";if(r.alignDelimiters!==!1){let ve=f[h]-(O[h]||0),ye=o[h];ye===114?X=" ".repeat(ve):ye===99?ve%2?(X=" ".repeat(ve/2+.5),le=" ".repeat(ve/2-.5)):(X=" ".repeat(ve/2),le=X):le=" ".repeat(ve)}r.delimiterStart!==!1&&!h&&D.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&M==="")&&(r.delimiterStart!==!1||h)&&D.push(" "),r.alignDelimiters!==!1&&D.push(X),D.push(M),r.alignDelimiters!==!1&&D.push(le),r.padding!==!1&&D.push(" "),(r.delimiterEnd!==!1||h!==c-1)&&D.push("|")}k.push(r.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return k.join(`
29
+ `}}var u0=/\r?\n|\r/g;function ga(t,r){let e=[],n=0,o=0,s;for(;s=u0.exec(t);)l(t.slice(n,s.index)),e.push(s[0]),n=s.index+s[0].length,o++;return l(t.slice(n)),e.join("");function l(f){e.push(r(f,o,!f))}}function go(t){if(!t._compiled){let r=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((r?"("+r+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Wm(t,r){return Km(t,r.inConstruct,!0)&&!Km(t,r.notInConstruct,!1)}function Km(t,r,e){if(!r)return e;typeof r=="string"&&(r=[r]);let n=-1;for(;++n<r.length;)if(t.includes(r[n]))return!0;return!1}function ns(t,r,e){let n=(e.before||"")+(r||"")+(e.after||""),o=[],s=[],l={},f=-1;for(;++f<t.unsafe.length;){let m=t.unsafe[f];if(!Wm(t.stack,m))continue;let v=go(m),x;for(;x=v.exec(n);){let k="before"in m||Boolean(m.atBreak),_="after"in m,O=x.index+(k?x[1].length:0);o.includes(O)?(l[O].before&&!k&&(l[O].before=!1),l[O].after&&!_&&(l[O].after=!1)):(o.push(O),l[O]={before:k,after:_})}}o.sort(f0);let c=e.before?e.before.length:0,g=n.length-(e.after?e.after.length:0);for(f=-1;++f<o.length;){let m=o[f];m<c||m>=g||m+1<g&&o[f+1]===m+1&&l[m].after&&!l[m+1].before&&!l[m+1].after||o[f-1]===m-1&&l[m].before&&!l[m-1].before&&!l[m-1].after||(c!==m&&s.push(Zm(n.slice(c,m),"\\")),c=m,/[!-/:-@[-`{-~]/.test(n.charAt(m))&&(!e.encode||!e.encode.includes(n.charAt(m)))?s.push("\\"):(s.push("&#x"+n.charCodeAt(m).toString(16).toUpperCase()+";"),c++))}return s.push(Zm(n.slice(c,g),e.after)),s.join("")}function f0(t,r){return t-r}function Zm(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],s=t+r,l=-1,f=0,c;for(;c=e.exec(s);)n.push(c.index);for(;++l<n.length;)f!==n[l]&&o.push(t.slice(f,n[l])),o.push("\\"),f=n[l];return o.push(t.slice(f)),o.join("")}function Jm(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:o,gfmFootnoteCallString:s},exit:{gfmFootnoteDefinition:n,gfmFootnoteDefinitionLabelString:e,gfmFootnoteCall:f,gfmFootnoteCallString:l}};function t(c){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},c)}function r(){this.buffer()}function e(c){let g=this.resume(),m=this.stack[this.stack.length-1];m.label=g,m.identifier=sr(this.sliceSerialize(c)).toLowerCase()}function n(c){this.exit(c)}function o(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function s(){this.buffer()}function l(c){let g=this.resume(),m=this.stack[this.stack.length-1];m.label=g,m.identifier=sr(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function Qm(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,o,s,l){let f=lr(l),c=f.move("[^"),g=s.enter("footnoteReference"),m=s.enter("reference");return c+=f.move(ns(s,gf(n),{...f.current(),before:c,after:"]"})),m(),g(),c+=f.move("]"),c}function r(){return"["}function e(n,o,s,l){let f=lr(l),c=f.move("[^"),g=s.enter("footnoteDefinition"),m=s.enter("label");return c+=f.move(ns(s,gf(n),{...f.current(),before:c,after:"]"})),m(),c+=f.move("]:"+(n.children&&n.children.length>0?" ":"")),f.shift(4),c+=f.move(ga(ha(n,s,f.current()),v)),g(),c;function v(x,k,_){return k?(_?"":" ")+x:x}}}function ya(t,r,e){let n=r.indexStack,o=t.children||[],s=[],l=-1,f=e.before;n.push(-1);let c=lr(e);for(;++l<o.length;){let g=o[l],m;if(n[n.length-1]=l,l+1<o.length){let v=r.handle.handlers[o[l+1].type];v&&v.peek&&(v=v.peek),m=v?v(o[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else m=e.after;s.length>0&&(f==="\r"||f===`
30
+ `)&&g.type==="html"&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=lr(e),c.move(s.join(""))),s.push(c.move(r.handle(g,t,r,{...c.current(),before:f,after:m}))),f=s[s.length-1].slice(-1)}return n.pop(),s.join("")}var Ym={canContainEols:["delete"],enter:{strikethrough:c0},exit:{strikethrough:p0}},Xm={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:eh}};eh.peek=d0;function c0(t){this.enter({type:"delete",children:[]},t)}function p0(t){this.exit(t)}function eh(t,r,e,n){let o=lr(n),s=e.enter("emphasis"),l=o.move("~~");return l+=ya(t,e,{...o.current(),before:l,after:"~"}),l+=o.move("~~"),s(),l}function d0(){return"~"}yf.peek=m0;function yf(t,r,e){let n=t.value||"",o="`",s=-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+" ");++s<e.unsafe.length;){let l=e.unsafe[s],f=go(l),c;if(!!l.atBreak)for(;c=f.exec(n);){let g=c.index;n.charCodeAt(g)===10&&n.charCodeAt(g-1)===13&&g--,n=n.slice(0,g)+" "+n.slice(c.index+1)}}return o+n+o}function m0(){return"`"}function rh(t,r={}){let e=(r.align||[]).concat(),n=r.stringLength||g0,o=[],s=[],l=[],f=[],c=0,g=-1;for(;++g<t.length;){let _=[],O=[],D=-1;for(t[g].length>c&&(c=t[g].length);++D<t[g].length;){let M=h0(t[g][D]);if(r.alignDelimiters!==!1){let X=n(M);O[D]=X,(f[D]===void 0||X>f[D])&&(f[D]=X)}_.push(M)}s[g]=_,l[g]=O}let m=-1;if(typeof e=="object"&&"length"in e)for(;++m<c;)o[m]=th(e[m]);else{let _=th(e);for(;++m<c;)o[m]=_}m=-1;let v=[],x=[];for(;++m<c;){let _=o[m],O="",D="";_===99?(O=":",D=":"):_===108?O=":":_===114&&(D=":");let M=r.alignDelimiters===!1?1:Math.max(1,f[m]-O.length-D.length),X=O+"-".repeat(M)+D;r.alignDelimiters!==!1&&(M=O.length+M+D.length,M>f[m]&&(f[m]=M),x[m]=M),v[m]=X}s.splice(1,0,v),l.splice(1,0,x),g=-1;let k=[];for(;++g<s.length;){let _=s[g],O=l[g];m=-1;let D=[];for(;++m<c;){let M=_[m]||"",X="",le="";if(r.alignDelimiters!==!1){let ve=f[m]-(O[m]||0),ye=o[m];ye===114?X=" ".repeat(ve):ye===99?ve%2?(X=" ".repeat(ve/2+.5),le=" ".repeat(ve/2-.5)):(X=" ".repeat(ve/2),le=X):le=" ".repeat(ve)}r.delimiterStart!==!1&&!m&&D.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&M==="")&&(r.delimiterStart!==!1||m)&&D.push(" "),r.alignDelimiters!==!1&&D.push(X),D.push(M),r.alignDelimiters!==!1&&D.push(le),r.padding!==!1&&D.push(" "),(r.delimiterEnd!==!1||m!==c-1)&&D.push("|")}k.push(r.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return k.join(`
31
31
  `)}function h0(t){return t==null?"":String(t)}function g0(t){return t.length}function th(t){let r=typeof t=="string"?t.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}var bf={enter:{table:y0,tableData:nh,tableHeader:nh,tableRow:b0},exit:{codeText:v0,table:$0,tableData:$f,tableHeader:$f,tableRow:$f}};function y0(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function $0(t){this.exit(t),this.setData("inTable")}function b0(t){this.enter({type:"tableRow",children:[]},t)}function $f(t){this.exit(t)}function nh(t){this.enter({type:"tableCell",children:[]},t)}function v0(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,k0));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function k0(t,r){return r==="|"?r:t}function vf(t){let r=t||{},e=r.tableCellPadding,n=r.tablePipeAlign,o=r.stringLength,s=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
32
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:l,tableRow:f,tableCell:c,inlineCode:x}};function l(k,_,O,D){return g(h(k,O,D),k.align)}function f(k,_,O,D){let M=v(k,O,D),X=g([M]);return X.slice(0,X.indexOf(`
33
- `))}function c(k,_,O,D){let M=O.enter("tableCell"),X=O.enter("phrasing"),le=ya(k,O,{...D,before:s,after:s});return X(),M(),le}function g(k,_){return rh(k,{align:_,alignDelimiters:n,padding:e,stringLength:o})}function h(k,_,O){let D=k.children,M=-1,X=[],le=_.enter("table");for(;++M<D.length;)X[M]=v(D[M],_,O);return le(),X}function v(k,_,O){let D=k.children,M=-1,X=[],le=_.enter("tableRow");for(;++M<D.length;)X[M]=c(D[M],k,_,O);return le(),X}function x(k,_,O){let D=yf(k,_,O);return O.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function ih(t){let r=t.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function oh(t){let r=t.options.listItemIndent||"tab";if(r===1||r==="1")return"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function sh(t,r,e,n){let o=oh(e),s=e.bulletCurrent||ih(e);r&&r.type==="list"&&r.ordered&&(s=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+s);let l=s.length+1;(o==="tab"||o==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=lr(n);f.move(s+" ".repeat(l-s.length)),f.shift(l);let c=e.enter("listItem"),g=ga(ha(t,e,f.current()),h);return c(),g;function h(v,x,k){return x?(k?"":" ".repeat(l))+v:(k?s:s+" ".repeat(l-s.length))+v}}var lh={exit:{taskListCheckValueChecked:ah,taskListCheckValueUnchecked:ah,paragraph:w0}},uh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:x0}};function ah(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function w0(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],n=r.children,o=e.children[0],s=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&o&&o.type==="text"){for(;++s<n.length;){let f=n[s];if(f.type==="paragraph"){l=f;break}}l===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 x0(t,r,e,n){let o=t.children[0],s=typeof t.checked=="boolean"&&o&&o.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=lr(n);s&&f.move(l);let c=sh(t,r,e,{...n,...f.current()});return s&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,g)),c;function g(h){return h+l}}function kf(){return[Um,Jm(),Ym,bf,lh]}function wf(t){return{extensions:[Hm,Qm(),Xm,vf(t),uh]}}function xf(t={}){let r=this.data();e("micromarkExtensions",Lm(t)),e("fromMarkdownExtensions",kf()),e("toMarkdownExtensions",wf(t));function e(n,o){(r[n]?r[n]:r[n]=[]).push(o)}}var ch={tokenize:C0,concrete:!0},fh={tokenize:A0,partial:!0};function C0(t,r,e){let n=this,o=n.events[n.events.length-1],s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,l=0;return f;function f(X){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),c(X)}function c(X){return X===36?(t.consume(X),l++,c):l<2?e(X):(t.exit("mathFlowFenceSequence"),Ce(t,g,"whitespace")(X))}function g(X){return X===null||pe(X)?v(X):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),h(X))}function h(X){return X===null||pe(X)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),v(X)):X===36?e(X):(t.consume(X),h)}function v(X){return t.exit("mathFlowFence"),n.interrupt?r(X):t.attempt(fh,x,D)(X)}function x(X){return t.attempt({tokenize:M,partial:!0},D,k)(X)}function k(X){return(s?Ce(t,_,"linePrefix",s+1):_)(X)}function _(X){return X===null?D(X):pe(X)?t.attempt(fh,x,D)(X):(t.enter("mathFlowValue"),O(X))}function O(X){return X===null||pe(X)?(t.exit("mathFlowValue"),_(X)):(t.consume(X),O)}function D(X){return t.exit("mathFlow"),r(X)}function M(X,le,ve){let ye=0;return Ce(X,ie,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ie(xe){return X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),ke(xe)}function ke(xe){return xe===36?(ye++,X.consume(xe),ke):ye<l?ve(xe):(X.exit("mathFlowFenceSequence"),Ce(X,Ee,"whitespace")(xe))}function Ee(xe){return xe===null||pe(xe)?(X.exit("mathFlowFence"),le(xe)):ve(xe)}}}function A0(t,r,e){let n=this;return o;function o(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s)}function s(l){return n.parser.lazy[n.now().line]?e(l):r(l)}}function ph(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:E0,previous:_0};function n(o,s,l){let f=this,c=0,g,h;return v;function v(D){return o.enter("mathText"),o.enter("mathTextSequence"),x(D)}function x(D){return D===36?(o.consume(D),c++,x):c<2&&!e?l(D):(o.exit("mathTextSequence"),k(D))}function k(D){return D===null?l(D):D===36?(h=o.enter("mathTextSequence"),g=0,O(D)):D===32?(o.enter("space"),o.consume(D),o.exit("space"),k):pe(D)?(o.enter("lineEnding"),o.consume(D),o.exit("lineEnding"),k):(o.enter("mathTextData"),_(D))}function _(D){return D===null||D===32||D===36||pe(D)?(o.exit("mathTextData"),k(D)):(o.consume(D),_)}function O(D){return D===36?(o.consume(D),g++,O):g===c?(o.exit("mathTextSequence"),o.exit("mathText"),s(D)):(h.type="mathTextData",_(D))}}}function E0(t){let r=t.length-4,e=3,n,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)o===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(o=n):(n===r||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),r-=n-o-2,n=o+2),o=void 0);return t}function _0(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Cf(t){return{flow:{[36]:ch},text:{[36]:ph(t)}}}function dh(t,r){let e=String(t),n=e.indexOf(r),o=n,s=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;n!==-1;)n===o?++s>l&&(l=s):s=1,o=n+1,n=e.indexOf(r,o);return l}function Af(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:s},exit:{mathFlow:o,mathFlowFence:n,mathFlowFenceMeta:e,mathFlowValue:f,mathText:l,mathTextData:f}};function t(c){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},c)}function r(){this.buffer()}function e(){let c=this.resume(),g=this.stack[this.stack.length-1];g.meta=c}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function o(c){let g=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.exit(c);h.value=g,h.data.hChildren[0].value=g,this.setData("mathFlowInside")}function s(c){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},c),this.buffer()}function l(c){let g=this.resume(),h=this.exit(c);h.value=g,h.data.hChildren[0].value=g}function f(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Ef(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
34
- `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(s,l,f,c){let g=s.value||"",h=lr(c),v="$".repeat(Math.max(dh(g,"$")+1,2)),x=f.enter("mathFlow"),k=h.move(v);if(s.meta){let _=f.enter("mathFlowMeta");k+=h.move(ns(f,s.meta,{before:k,after:`
35
- `,encode:["$"],...h.current()})),_()}return k+=h.move(`
36
- `),g&&(k+=h.move(g+`
37
- `)),k+=h.move(v),x(),k}function n(s,l,f){let c=s.value||"",g=1;for(r||g++;new RegExp("(^|[^$])"+"\\$".repeat(g)+"([^$]|$)").test(c);)g++;let h="$".repeat(g);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let v=-1;for(;++v<f.unsafe.length;){let x=f.unsafe[v],k=go(x),_;if(!!x.atBreak)for(;_=k.exec(c);){let O=_.index;c.codePointAt(O)===10&&c.codePointAt(O-1)===13&&O--,c=c.slice(0,O)+" "+c.slice(_.index+1)}}return h+c+h}function o(){return"$"}}function _f(t={}){let r=this.data();e("micromarkExtensions",Cf(t)),e("fromMarkdownExtensions",Af()),e("toMarkdownExtensions",Ef(t));function e(n,o){(r[n]?r[n]:r[n]=[]).push(o)}}var $a=(t,{lineOffset:r}={lineOffset:0})=>{let e=Ru().use(_m).use(xf).use(_f).parse(t),n={},o=(f=>c=>{let{start:g,end:h}=c;return{start:{...g,line:g.line+f},end:{...h,line:h.line+f}}})(r);co({processor:1}).use({"*:*":(f,c)=>(g,h,v)=>{g.children&&v(g.children,{...h})}}).use({":definition":(f,c)=>(g,h,v)=>{n[g.identifier]=g}}).run(e);let s=[];return co({processor:1}).use({"*:*":(f,c)=>(g,h,v)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(g,null,2)),g.children&&v(g.children,{...h})}}).use({":root":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return bu({},v(x,h))},":math":(f,c)=>(g,h,v)=>{let{value:x,children:k,position:_,...O}=g;return sd({value:x,location:o(_)})},":inlineMath":(f,c)=>(g,h,v)=>{let{value:x,children:k,position:_,...O}=g;return nd(x)},":heading":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return hr({type:"block",level:g.depth,name:"head",location:o(k)},v(x,h))},":text":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return g.value},":list":(f,c)=>(g,h,v)=>{let x=h.listLevel||0,{children:k,position:_,...O}=g;return hr({type:"list",level:x+1,list:g.ordered?"ordered":"itemized"},v(k,{...h,listLevel:x+1,ordered:g.ordered}))},":listItem":(f,c)=>(g,h,v)=>{let x=h.listLevel||0,{children:k,position:_,...O}=g;return hr({name:"item",type:"block",level:h.listLevel,location:o(_)},v(k,{...h,listLevel:x,ordered:g.ordered}))},":paragraph":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return hr({type:"para",location:o(k),text:"text",margin:""},v(x,{...h}))},":linkReference":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g,O=n[_.identifier],D=(O==null?void 0:O.url)||"";return $u({meta:D},v(x,{...h}))},":definition":(f,c)=>(g,h,v)=>null,":inlineCode":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return Zs({name:"C"},[g.value])},":strong":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return Zs({name:"B"},v(x,{...h}))},":emphasis":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return Zs({name:"I"},v(x,{...h}))},":link":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return $u({meta:g.url},v(x,{...h}))},":html":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return hr({type:"block",name:"Html",location:o(k)},[Ko(g.value)])},":code":(f,c)=>(g,h,v)=>{let{children:x,position:k,lang:_,meta:O,...D}=g;if(_==="mermaid"||_==="diagram")return hr({type:"block",name:"Mermaid",config:[],location:o(k)},[Ko(g.value)]);let M=[];return _&&M.push({name:"lang",value:_,type:"string"}),O&&M.push({name:"meta",value:O,type:"string"}),hr({type:"block",name:"code",config:M,location:o(k)},[Ko(g.value)])},":image":(f,c)=>(g,h,v)=>{let{title:x,alt:k,url:_,position:O,...D}=g,M=[],X=[od(_,k)];return x&&X.push(id([x])),hr({type:"block",name:"Image",config:M,location:o(O)},X)},":thematicBreak":(f,c)=>(g,h,v)=>null,":blockquote":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return hr({name:"nested",location:o(k)},v(x,{...h}))},":table":(f,c)=>(g,h,v)=>{let{children:x,position:k,align:_,...O}=g;return hr({name:"table",location:o(k),align:_},v(x,{...h,isHeaderUsed:0}))},":tableRow":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g,O=h.isHeaderUsed++;return hr({name:O?"table_row":"table_head",location:o(k)},v(x,{...h}))},":tableCell":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return hr({name:"table_cell",location:o(k)},v(x,{...h}))},":delete":(f,c)=>(g,h,v)=>{let{children:x,position:k,..._}=g;return rd(v(x,{...h}))},":break":(f,c)=>(g,h,v)=>null}).run(e).interator};var ba={toAst:(t,r)=>(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 s=e.location.start.line;return{...e,content:$a(o,{lineOffset:s})}}return e}},toJSX:t=>Nn},S0={Markdown:ba,markdown:ba},P0=ba;0&&(module.exports={PluginRegister,parseMd,plugin});
32
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:l,tableRow:f,tableCell:c,inlineCode:x}};function l(k,_,O,D){return g(m(k,O,D),k.align)}function f(k,_,O,D){let M=v(k,O,D),X=g([M]);return X.slice(0,X.indexOf(`
33
+ `))}function c(k,_,O,D){let M=O.enter("tableCell"),X=O.enter("phrasing"),le=ya(k,O,{...D,before:s,after:s});return X(),M(),le}function g(k,_){return rh(k,{align:_,alignDelimiters:n,padding:e,stringLength:o})}function m(k,_,O){let D=k.children,M=-1,X=[],le=_.enter("table");for(;++M<D.length;)X[M]=v(D[M],_,O);return le(),X}function v(k,_,O){let D=k.children,M=-1,X=[],le=_.enter("tableRow");for(;++M<D.length;)X[M]=c(D[M],k,_,O);return le(),X}function x(k,_,O){let D=yf(k,_,O);return O.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function ih(t){let r=t.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function oh(t){let r=t.options.listItemIndent||"tab";if(r===1||r==="1")return"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function sh(t,r,e,n){let o=oh(e),s=e.bulletCurrent||ih(e);r&&r.type==="list"&&r.ordered&&(s=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+s);let l=s.length+1;(o==="tab"||o==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=lr(n);f.move(s+" ".repeat(l-s.length)),f.shift(l);let c=e.enter("listItem"),g=ga(ha(t,e,f.current()),m);return c(),g;function m(v,x,k){return x?(k?"":" ".repeat(l))+v:(k?s:s+" ".repeat(l-s.length))+v}}var lh={exit:{taskListCheckValueChecked:ah,taskListCheckValueUnchecked:ah,paragraph:w0}},uh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:x0}};function ah(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function w0(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],n=r.children,o=e.children[0],s=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&o&&o.type==="text"){for(;++s<n.length;){let f=n[s];if(f.type==="paragraph"){l=f;break}}l===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 x0(t,r,e,n){let o=t.children[0],s=typeof t.checked=="boolean"&&o&&o.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=lr(n);s&&f.move(l);let c=sh(t,r,e,{...n,...f.current()});return s&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,g)),c;function g(m){return m+l}}function kf(){return[Um,Jm(),Ym,bf,lh]}function wf(t){return{extensions:[Hm,Qm(),Xm,vf(t),uh]}}function xf(t={}){let r=this.data();e("micromarkExtensions",Lm(t)),e("fromMarkdownExtensions",kf()),e("toMarkdownExtensions",wf(t));function e(n,o){(r[n]?r[n]:r[n]=[]).push(o)}}var ch={tokenize:C0,concrete:!0},fh={tokenize:A0,partial:!0};function C0(t,r,e){let n=this,o=n.events[n.events.length-1],s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,l=0;return f;function f(X){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),c(X)}function c(X){return X===36?(t.consume(X),l++,c):l<2?e(X):(t.exit("mathFlowFenceSequence"),Ce(t,g,"whitespace")(X))}function g(X){return X===null||pe(X)?v(X):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),m(X))}function m(X){return X===null||pe(X)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),v(X)):X===36?e(X):(t.consume(X),m)}function v(X){return t.exit("mathFlowFence"),n.interrupt?r(X):t.attempt(fh,x,D)(X)}function x(X){return t.attempt({tokenize:M,partial:!0},D,k)(X)}function k(X){return(s?Ce(t,_,"linePrefix",s+1):_)(X)}function _(X){return X===null?D(X):pe(X)?t.attempt(fh,x,D)(X):(t.enter("mathFlowValue"),O(X))}function O(X){return X===null||pe(X)?(t.exit("mathFlowValue"),_(X)):(t.consume(X),O)}function D(X){return t.exit("mathFlow"),r(X)}function M(X,le,ve){let ye=0;return Ce(X,ie,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ie(xe){return X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),ke(xe)}function ke(xe){return xe===36?(ye++,X.consume(xe),ke):ye<l?ve(xe):(X.exit("mathFlowFenceSequence"),Ce(X,Ee,"whitespace")(xe))}function Ee(xe){return xe===null||pe(xe)?(X.exit("mathFlowFence"),le(xe)):ve(xe)}}}function A0(t,r,e){let n=this;return o;function o(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s)}function s(l){return n.parser.lazy[n.now().line]?e(l):r(l)}}function ph(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:E0,previous:_0};function n(o,s,l){let f=this,c=0,g,m;return v;function v(D){return o.enter("mathText"),o.enter("mathTextSequence"),x(D)}function x(D){return D===36?(o.consume(D),c++,x):c<2&&!e?l(D):(o.exit("mathTextSequence"),k(D))}function k(D){return D===null?l(D):D===36?(m=o.enter("mathTextSequence"),g=0,O(D)):D===32?(o.enter("space"),o.consume(D),o.exit("space"),k):pe(D)?(o.enter("lineEnding"),o.consume(D),o.exit("lineEnding"),k):(o.enter("mathTextData"),_(D))}function _(D){return D===null||D===32||D===36||pe(D)?(o.exit("mathTextData"),k(D)):(o.consume(D),_)}function O(D){return D===36?(o.consume(D),g++,O):g===c?(o.exit("mathTextSequence"),o.exit("mathText"),s(D)):(m.type="mathTextData",_(D))}}}function E0(t){let r=t.length-4,e=3,n,o;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n<r;)if(t[n][1].type==="mathTextData"){t[r][1].type="mathTextPadding",t[e][1].type="mathTextPadding",e+=2,r-=2;break}}for(n=e-1,r++;++n<=r;)o===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(o=n):(n===r||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),r-=n-o-2,n=o+2),o=void 0);return t}function _0(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Cf(t){return{flow:{[36]:ch},text:{[36]:ph(t)}}}function dh(t,r){let e=String(t),n=e.indexOf(r),o=n,s=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;n!==-1;)n===o?++s>l&&(l=s):s=1,o=n+1,n=e.indexOf(r,o);return l}function Af(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:s},exit:{mathFlow:o,mathFlowFence:n,mathFlowFenceMeta:e,mathFlowValue:f,mathText:l,mathTextData:f}};function t(c){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},c)}function r(){this.buffer()}function e(){let c=this.resume(),g=this.stack[this.stack.length-1];g.meta=c}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function o(c){let g=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.exit(c);m.value=g,m.data.hChildren[0].value=g,this.setData("mathFlowInside")}function s(c){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},c),this.buffer()}function l(c){let g=this.resume(),m=this.exit(c);m.value=g,m.data.hChildren[0].value=g}function f(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function Ef(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
34
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(s,l,f,c){let g=s.value||"",m=lr(c),v="$".repeat(Math.max(dh(g,"$")+1,2)),x=f.enter("mathFlow"),k=m.move(v);if(s.meta){let _=f.enter("mathFlowMeta");k+=m.move(ns(f,s.meta,{before:k,after:`
35
+ `,encode:["$"],...m.current()})),_()}return k+=m.move(`
36
+ `),g&&(k+=m.move(g+`
37
+ `)),k+=m.move(v),x(),k}function n(s,l,f){let c=s.value||"",g=1;for(r||g++;new RegExp("(^|[^$])"+"\\$".repeat(g)+"([^$]|$)").test(c);)g++;let m="$".repeat(g);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let v=-1;for(;++v<f.unsafe.length;){let x=f.unsafe[v],k=go(x),_;if(!!x.atBreak)for(;_=k.exec(c);){let O=_.index;c.codePointAt(O)===10&&c.codePointAt(O-1)===13&&O--,c=c.slice(0,O)+" "+c.slice(_.index+1)}}return m+c+m}function o(){return"$"}}function _f(t={}){let r=this.data();e("micromarkExtensions",Cf(t)),e("fromMarkdownExtensions",Af()),e("toMarkdownExtensions",Ef(t));function e(n,o){(r[n]?r[n]:r[n]=[]).push(o)}}var $a=(t,{lineOffset:r}={lineOffset:0})=>{let e=Ru().use(_m).use(xf).use(_f).parse(t),n={},o=(f=>c=>{let{start:g,end:m}=c;return{start:{...g,line:g.line+f},end:{...m,line:m.line+f}}})(r);co({processor:1}).use({"*:*":(f,c)=>(g,m,v)=>{g.children&&v(g.children,{...m})}}).use({":definition":(f,c)=>(g,m,v)=>{n[g.identifier]=g}}).run(e);let s=[];return co({processor:1}).use({"*:*":(f,c)=>(g,m,v)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(g,null,2)),g.children&&v(g.children,{...m})}}).use({":root":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return bu({},v(x,m))},":math":(f,c)=>(g,m,v)=>{let{value:x,children:k,position:_,...O}=g;return sd({value:x,location:o(_)})},":inlineMath":(f,c)=>(g,m,v)=>{let{value:x,children:k,position:_,...O}=g;return nd(x)},":heading":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return hr({type:"block",level:g.depth,name:"head",location:o(k)},v(x,m))},":text":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return g.value},":list":(f,c)=>(g,m,v)=>{let x=m.listLevel||0,{children:k,position:_,...O}=g;return hr({type:"list",level:x+1,list:g.ordered?"ordered":"itemized"},v(k,{...m,listLevel:x+1,ordered:g.ordered}))},":listItem":(f,c)=>(g,m,v)=>{let x=m.listLevel||0,{children:k,position:_,...O}=g;return hr({name:"item",type:"block",level:m.listLevel,location:o(_)},v(k,{...m,listLevel:x,ordered:g.ordered}))},":paragraph":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return hr({type:"para",location:o(k),text:"text",margin:""},v(x,{...m}))},":linkReference":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g,O=n[_.identifier],D=(O==null?void 0:O.url)||"";return $u({meta:D},v(x,{...m}))},":definition":(f,c)=>(g,m,v)=>null,":inlineCode":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return Zs({name:"C"},[g.value])},":strong":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return Zs({name:"B"},v(x,{...m}))},":emphasis":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return Zs({name:"I"},v(x,{...m}))},":link":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return $u({meta:g.url},v(x,{...m}))},":html":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return hr({type:"block",name:"Html",location:o(k)},[Ko(g.value)])},":code":(f,c)=>(g,m,v)=>{let{children:x,position:k,lang:_,meta:O,...D}=g;if(_==="mermaid"||_==="diagram")return hr({type:"block",name:"Mermaid",config:[],location:o(k)},[Ko(g.value)]);let M=[];return _&&M.push({name:"lang",value:_,type:"string"}),O&&M.push({name:"meta",value:O,type:"string"}),hr({type:"block",name:"code",config:M,location:o(k)},[Ko(g.value)])},":image":(f,c)=>(g,m,v)=>{let{title:x,alt:k,url:_,position:O,...D}=g,M=[],X=[od(_,k)];return x&&X.push(id([x])),hr({type:"block",name:"Image",config:M,location:o(O)},X)},":thematicBreak":(f,c)=>(g,m,v)=>null,":blockquote":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return hr({name:"nested",location:o(k)},v(x,{...m}))},":table":(f,c)=>(g,m,v)=>{let{children:x,position:k,align:_,...O}=g;return hr({name:"table",location:o(k),align:_},v(x,{...m,isHeaderUsed:0}))},":tableRow":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g,O=m.isHeaderUsed++;return hr({name:O?"table_row":"table_head",location:o(k)},v(x,{...m}))},":tableCell":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return hr({name:"table_cell",location:o(k)},v(x,{...m}))},":delete":(f,c)=>(g,m,v)=>{let{children:x,position:k,..._}=g;return rd(v(x,{...m}))},":break":(f,c)=>(g,m,v)=>null}).run(e).interator};var ba={toAst:(t,r)=>(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 s=e.location.start.line;return{...e,content:$a(o,{lineOffset:s})}}return e}},toJSX:t=>Nn},S0={Markdown:ba,markdown:ba},P0=ba;0&&(module.exports={PluginRegister,parseMd,plugin});
38
38
  /*!
39
39
  * Determine if an object is a Buffer
40
40
  *