@podlite/markdown 0.0.30 → 0.0.31
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/README.md +61 -4
- package/lib/index.cjs +44 -41
- package/lib/index.cjs.map +3 -3
- package/lib/index.esm.js +2303 -1644
- package/lib/index.esm.js.map +3 -3
- package/package.json +2 -2
- package/src/tools.ts +11 -7
- package/t/parse.test.ts +52 -31
- package/t/plugin.test.tsx +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/lib/index.cjs
CHANGED
|
@@ -1,58 +1,61 @@
|
|
|
1
|
-
var Eh=Object.create;var $s=Object.defineProperty;var _h=Object.getOwnPropertyDescriptor;var Sh=Object.getOwnPropertyNames;var Ph=Object.getPrototypeOf,Th=Object.prototype.hasOwnProperty;var me=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Bf=(t,r)=>{for(var e in r)$s(t,e,{get:r[e],enumerable:!0})},Mf=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Sh(r))!Th.call(t,s)&&s!==e&&$s(t,s,{get:()=>r[s],enumerable:!(i=_h(r,s))||i.enumerable});return t};var Rr=(t,r,e)=>(e=t!=null?Eh(Ph(t)):{},Mf(r||!t||!t.__esModule?$s(e,"default",{value:t,enumerable:!0}):e,t)),Fh=t=>Mf($s({},"__esModule",{value:!0}),t);var Va=me(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.getRules=Ui.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)}Ui.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:{}}}Ui.getRules=Nh});var Ua=me(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 i=r.RULES.types[e];return i&&i!==!0&&zf(t,i)}Gn.schemaHasRulesForType=Dh;function zf(t,r){return r.rules.some(e=>Vf(t,e))}Gn.shouldUseGroup=zf;function Vf(t,r){var e;return t[r.keyword]!==void 0||((e=r.definition.implements)===null||e===void 0?void 0:e.some(i=>t[i]!==void 0))}Gn.shouldUseRule=Vf});var bs=me(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.getProperty=ut.safeStringify=ut.stringify=ut.strConcat=ut.addCodeArg=ut.str=ut._=ut.nil=ut._Code=ut.Name=ut.IDENTIFIER=ut._CodeOrName=void 0;var xo=class{};ut._CodeOrName=xo;ut.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var pi=class extends xo{constructor(r){if(super(),!ut.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}}};ut.Name=pi;var bn=class extends xo{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,i)=>`${e}${i}`,"")}get names(){var r;return(r=this._names)!==null&&r!==void 0?r:this._names=this._items.reduce((e,i)=>(i instanceof pi&&(e[i.str]=(e[i.str]||0)+1),e),{})}};ut._Code=bn;ut.nil=new bn("");function Uf(t,...r){let e=[t[0]],i=0;for(;i<r.length;)Ga(e,r[i]),e.push(t[++i]);return new bn(e)}ut._=Uf;var Ha=new bn("+");function Hf(t,...r){let e=[Co(t[0])],i=0;for(;i<r.length;)e.push(Ha),Ga(e,r[i]),e.push(Ha,Co(t[++i]));return Rh(e),new bn(e)}ut.str=Hf;function Ga(t,r){r instanceof bn?t.push(...r._items):r instanceof pi?t.push(r):t.push(Bh(r))}ut.addCodeArg=Ga;function Rh(t){let r=1;for(;r<t.length-1;){if(t[r]===Ha){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 pi||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 pi))return`"${t}${r.slice(1)}`}function jh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Hf`${t}${r}`}ut.strConcat=jh;function Bh(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Co(Array.isArray(t)?t.join(","):t)}function Mh(t){return new bn(Co(t))}ut.stringify=Mh;function Co(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}ut.safeStringify=Co;function zh(t){return typeof t=="string"&&ut.IDENTIFIER.test(t)?new bn(`.${t}`):Uf`[${t}]`}ut.getProperty=zh});var Ja=me(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.ValueScope=dr.ValueScopeName=dr.Scope=dr.varKinds=dr.UsedValueState=void 0;var Er=bs(),Ka=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},Wa;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Wa=dr.UsedValueState||(dr.UsedValueState={}));dr.varKinds={const:new Er.Name("const"),let:new Er.Name("let"),var:new Er.Name("var")};var ws=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Er.Name?r:this.name(r)}name(r){return new Er.Name(this._newName(r))}_newName(r){let e=this._names[r]||this._nameGroup(r);return`${r}${e.index++}`}_nameGroup(r){var e,i;if(((i=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||i===void 0?void 0:i.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=ws;var ks=class extends Er.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:i}){this.value=r,this.scopePath=Er._`.${new Er.Name(e)}[${i}]`}};dr.ValueScopeName=ks;var Vh=Er._`\n`,Za=class extends ws{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Vh:Er.nil}}get(){return this._scope}name(r){return new ks(r,this._newName(r))}value(r,e){var i;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let s=this.toName(r),{prefix:a}=s,l=(i=e.key)!==null&&i!==void 0?i:e.ref,f=this._values[a];if(f){let d=f.get(l);if(d)return d}else f=this._values[a]=new Map;f.set(l,s);let c=this._scope[a]||(this._scope[a]=[]),m=c.length;return c[m]=e.ref,s.setValue(e,{property:a,itemIndex:m}),s}getValue(r,e){let i=this._values[r];if(!!i)return i.get(e)}scopeRefs(r,e=this._values){return this._reduceValues(e,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return Er._`${r}${i.scopePath}`})}scopeCode(r=this._values,e,i){return this._reduceValues(r,s=>{if(s.value===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return s.value.code},e,i)}_reduceValues(r,e,i={},s){let a=Er.nil;for(let l in r){let f=r[l];if(!f)continue;let c=i[l]=i[l]||new Map;f.forEach(m=>{if(c.has(m))return;c.set(m,Wa.Started);let d=e(m);if(d){let $=this.opts.es5?dr.varKinds.var:dr.varKinds.const;a=Er._`${a}${$} ${m} = ${d};${this.opts._n}`}else if(d=s==null?void 0:s(m))a=Er._`${a}${d}${this.opts._n}`;else throw new Ka(m);c.set(m,Wa.Completed)})}return a}};dr.ValueScope=Za});var Ne=me(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.or=De.and=De.not=De.CodeGen=De.operators=De.varKinds=De.ValueScopeName=De.ValueScope=De.Scope=De.Name=De.stringify=De.getProperty=De.nil=De.strConcat=De.str=De._=void 0;var Ue=bs(),rn=Ja(),hi=bs();Object.defineProperty(De,"_",{enumerable:!0,get:function(){return hi._}});Object.defineProperty(De,"str",{enumerable:!0,get:function(){return hi.str}});Object.defineProperty(De,"strConcat",{enumerable:!0,get:function(){return hi.strConcat}});Object.defineProperty(De,"nil",{enumerable:!0,get:function(){return hi.nil}});Object.defineProperty(De,"getProperty",{enumerable:!0,get:function(){return hi.getProperty}});Object.defineProperty(De,"stringify",{enumerable:!0,get:function(){return hi.stringify}});Object.defineProperty(De,"Name",{enumerable:!0,get:function(){return hi.Name}});var As=Ja();Object.defineProperty(De,"Scope",{enumerable:!0,get:function(){return As.Scope}});Object.defineProperty(De,"ValueScope",{enumerable:!0,get:function(){return As.ValueScope}});Object.defineProperty(De,"ValueScopeName",{enumerable:!0,get:function(){return As.ValueScopeName}});Object.defineProperty(De,"varKinds",{enumerable:!0,get:function(){return As.varKinds}});De.operators={GT:new Ue._Code(">"),GTE:new Ue._Code(">="),LT:new Ue._Code("<"),LTE:new Ue._Code("<="),EQ:new Ue._Code("==="),NEQ:new Ue._Code("!=="),NOT:new Ue._Code("!"),OR:new Ue._Code("||"),AND:new Ue._Code("&&"),ADD:new Ue._Code("+")};var Ln=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},Qa=class extends Ln{constructor(r,e,i){super(),this.varKind=r,this.name=e,this.rhs=i}render({es5:r,_n:e}){let i=r?rn.varKinds.var:this.varKind,s=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${s};`+e}optimizeNames(r,e){if(!!r[this.name.str])return this.rhs&&(this.rhs=Gi(this.rhs,r,e)),this}get names(){return this.rhs instanceof Ue._CodeOrName?this.rhs.names:{}}},vs=class extends Ln{constructor(r,e,i){super(),this.lhs=r,this.rhs=e,this.sideEffects=i}render({_n:r}){return`${this.lhs} = ${this.rhs};`+r}optimizeNames(r,e){if(!(this.lhs instanceof Ue.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=Gi(this.rhs,r,e),this}get names(){let r=this.lhs instanceof Ue.Name?{}:{...this.lhs.names};return Cs(r,this.rhs)}},Xa=class extends vs{constructor(r,e,i,s){super(r,i,s),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},Ya=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},el=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},tl=class extends Ln{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},rl=class extends Ln{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=Gi(this.code,r,e),this}get names(){return this.code instanceof Ue._CodeOrName?this.code.names:{}}},Ao=class extends Ln{constructor(r=[]){super(),this.nodes=r}render(r){return this.nodes.reduce((e,i)=>e+i.render(r),"")}optimizeNodes(){let{nodes:r}=this,e=r.length;for(;e--;){let i=r[e].optimizeNodes();Array.isArray(i)?r.splice(e,1,...i):i?r[e]=i:r.splice(e,1)}return r.length>0?this:void 0}optimizeNames(r,e){let{nodes:i}=this,s=i.length;for(;s--;){let a=i[s];a.optimizeNames(r,e)||(Uh(r,a.names),i.splice(s,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>mi(r,e.names),{})}},jn=class extends Ao{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},nl=class extends Ao{},Hi=class extends jn{};Hi.kind="else";var nn=class extends jn{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 i=e.optimizeNodes();e=this.else=Array.isArray(i)?new Hi(i):i}if(e)return r===!1?e instanceof nn?e:e.nodes:this.nodes.length?this:new nn(Gf(r),e instanceof nn?[e]:e.nodes);if(!(r===!1||!this.nodes.length))return this}optimizeNames(r,e){var i;if(this.else=(i=this.else)===null||i===void 0?void 0:i.optimizeNames(r,e),!!(super.optimizeNames(r,e)||this.else))return this.condition=Gi(this.condition,r,e),this}get names(){let r=super.names;return Cs(r,this.condition),this.else&&mi(r,this.else.names),r}};nn.kind="if";var di=class extends jn{};di.kind="for";var il=class extends di{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=Gi(this.iteration,r,e),this}get names(){return mi(super.names,this.iteration.names)}},ol=class extends di{constructor(r,e,i,s){super(),this.varKind=r,this.name=e,this.from=i,this.to=s}render(r){let e=r.es5?rn.varKinds.var:this.varKind,{name:i,from:s,to:a}=this;return`for(${e} ${i}=${s}; ${i}<${a}; ${i}++)`+super.render(r)}get names(){let r=Cs(super.names,this.from);return Cs(r,this.to)}},xs=class extends di{constructor(r,e,i,s){super(),this.loop=r,this.varKind=e,this.name=i,this.iterable=s}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=Gi(this.iterable,r,e),this}get names(){return mi(super.names,this.iterable.names)}},Eo=class extends jn{constructor(r,e,i){super(),this.name=r,this.args=e,this.async=i}render(r){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(r)}};Eo.kind="func";var _o=class extends Ao{render(r){return"return "+super.render(r)}};_o.kind="return";var sl=class extends jn{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 i,s;return super.optimizeNames(r,e),(i=this.catch)===null||i===void 0||i.optimizeNames(r,e),(s=this.finally)===null||s===void 0||s.optimizeNames(r,e),this}get names(){let r=super.names;return this.catch&&mi(r,this.catch.names),this.finally&&mi(r,this.finally.names),r}},So=class extends jn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};So.kind="catch";var Po=class extends jn{render(r){return"finally"+super.render(r)}};Po.kind="finally";var al=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
|
|
2
|
-
`:""},this._extScope=r,this._scope=new rn.Scope({parent:r}),this._nodes=[new nl]}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 i=this._extScope.value(r,e);return(this._values[i.prefix]||(this._values[i.prefix]=new Set)).add(i),i}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,i,s){let a=this._scope.toName(e);return i!==void 0&&s&&(this._constants[a.str]=i),this._leafNode(new Qa(r,a,i)),a}const(r,e,i){return this._def(rn.varKinds.const,r,e,i)}let(r,e,i){return this._def(rn.varKinds.let,r,e,i)}var(r,e,i){return this._def(rn.varKinds.var,r,e,i)}assign(r,e,i){return this._leafNode(new vs(r,e,i))}add(r,e){return this._leafNode(new Xa(r,De.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==Ue.nil&&this._leafNode(new rl(r)),this}object(...r){let e=["{"];for(let[i,s]of r)e.length>1&&e.push(","),e.push(i),(i!==s||this.opts.es5)&&(e.push(":"),Ue.addCodeArg(e,s));return e.push("}"),new Ue._Code(e)}if(r,e,i){if(this._blockNode(new nn(r)),e&&i)this.code(e).else().code(i).endIf();else if(e)this.code(e).endIf();else if(i)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(r){return this._elseNode(new nn(r))}else(){return this._elseNode(new Hi)}endIf(){return this._endBlockNode(nn,Hi)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new il(r),e)}forRange(r,e,i,s,a=this.opts.es5?rn.varKinds.var:rn.varKinds.let){let l=this._scope.toName(r);return this._for(new ol(a,l,e,i),()=>s(l))}forOf(r,e,i,s=rn.varKinds.const){let a=this._scope.toName(r);if(this.opts.es5){let l=e instanceof Ue.Name?e:this.var("_arr",e);return this.forRange("_i",0,Ue._`${l}.length`,f=>{this.var(a,Ue._`${l}[${f}]`),i(a)})}return this._for(new xs("of",s,a,e),()=>i(a))}forIn(r,e,i,s=this.opts.es5?rn.varKinds.var:rn.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,Ue._`Object.keys(${e})`,i);let a=this._scope.toName(r);return this._for(new xs("in",s,a,e),()=>i(a))}endFor(){return this._endBlockNode(di)}label(r){return this._leafNode(new Ya(r))}break(r){return this._leafNode(new el(r))}return(r){let e=new _o;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_o)}try(r,e,i){if(!e&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let s=new sl;if(this._blockNode(s),this.code(r),e){let a=this.name("e");this._currNode=s.catch=new So(a),e(a)}return i&&(this._currNode=s.finally=new Po,this.code(i)),this._endBlockNode(So,Po)}throw(r){return this._leafNode(new tl(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 i=this._nodes.length-e;if(i<0||r!==void 0&&i!==r)throw new Error(`CodeGen: wrong number of nodes: ${i} vs ${r} expected`);return this._nodes.length=e,this}func(r,e=Ue.nil,i,s){return this._blockNode(new Eo(r,e,i)),s&&this.code(s).endFunc(),this}endFunc(){return this._endBlockNode(Eo)}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 i=this._currNode;if(i instanceof r||e&&i 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 nn))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}};De.CodeGen=al;function mi(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Cs(t,r){return r instanceof Ue._CodeOrName?mi(t,r.names):t}function Gi(t,r,e){if(t instanceof Ue.Name)return i(t);if(!s(t))return t;return new Ue._Code(t._items.reduce((a,l)=>(l instanceof Ue.Name&&(l=i(l)),l instanceof Ue._Code?a.push(...l._items):a.push(l),a),[]));function i(a){let l=e[a.str];return l===void 0||r[a.str]!==1?a:(delete r[a.str],l)}function s(a){return a instanceof Ue._Code&&a._items.some(l=>l instanceof Ue.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 Gf(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:Ue._`!${ll(t)}`}De.not=Gf;var Hh=Kf(De.operators.AND);function Gh(...t){return t.reduce(Hh)}De.and=Gh;var Kh=Kf(De.operators.OR);function Wh(...t){return t.reduce(Kh)}De.or=Wh;function Kf(t){return(r,e)=>r===Ue.nil?e:e===Ue.nil?r:Ue._`${ll(r)} ${t} ${ll(e)}`}function ll(t){return t instanceof Ue.Name?t:Ue._`(${t})`}});var on=me(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var rr=Ne(),Zh={data:new rr.Name("data"),valCxt:new rr.Name("valCxt"),dataPath:new rr.Name("dataPath"),parentData:new rr.Name("parentData"),parentDataProperty:new rr.Name("parentDataProperty"),rootData:new rr.Name("rootData"),dynamicAnchors:new rr.Name("dynamicAnchors"),vErrors:new rr.Name("vErrors"),errors:new rr.Name("errors"),this:new rr.Name("this"),self:new rr.Name("self"),scope:new rr.Name("scope"),json:new rr.Name("json"),jsonPos:new rr.Name("jsonPos"),jsonLen:new rr.Name("jsonLen"),jsonPart:new rr.Name("jsonPart")};ul.default=Zh});var To=me(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.extendErrors=nr.resetErrorsCount=nr.reportExtraError=nr.reportError=nr.keyword$DataError=nr.keywordError=void 0;var He=Ne(),ir=on();nr.keywordError={message:({keyword:t})=>He.str`should pass "${t}" keyword validation`};nr.keyword$DataError={message:({keyword:t,schemaType:r})=>r?He.str`"${t}" keyword must be ${r} ($data)`:He.str`"${t}" keyword is invalid ($data)`};function Jh(t,r=nr.keywordError,e){let{it:i}=t,{gen:s,compositeRule:a,allErrors:l}=i,f=Jf(t,r);e??(a||l)?Wf(s,f):Zf(i,He._`[${f}]`)}nr.reportError=Jh;function Qh(t,r=nr.keywordError){let{it:e}=t,{gen:i,compositeRule:s,allErrors:a}=e,l=Jf(t,r);Wf(i,l),s||a||Zf(e,ir.default.vErrors)}nr.reportExtraError=Qh;function Xh(t,r){t.assign(ir.default.errors,r),t.if(He._`${ir.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(He._`${ir.default.vErrors}.length`,r),()=>t.assign(ir.default.vErrors,null)))}nr.resetErrorsCount=Xh;function Yh({gen:t,keyword:r,schemaValue:e,data:i,errsCount:s,it:a}){if(s===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",s,ir.default.errors,f=>{t.const(l,He._`${ir.default.vErrors}[${f}]`),t.if(He._`${l}.dataPath === undefined`,()=>t.assign(He._`${l}.dataPath`,He.strConcat(ir.default.dataPath,a.errorPath))),t.assign(He._`${l}.schemaPath`,He.str`${a.errSchemaPath}/${r}`),a.opts.verbose&&(t.assign(He._`${l}.schema`,e),t.assign(He._`${l}.data`,i))})}nr.extendErrors=Yh;function Wf(t,r){let e=t.const("err",r);t.if(He._`${ir.default.vErrors} === null`,()=>t.assign(ir.default.vErrors,He._`[${e}]`),He._`${ir.default.vErrors}.push(${e})`),t.code(He._`${ir.default.errors}++`)}function Zf(t,r){let{gen:e,validateName:i,schemaEnv:s}=t;s.$async?e.throw(He._`new ${t.ValidationError}(${r})`):(e.assign(He._`${i}.errors`,r),e.return(!1))}var wn={keyword:new He.Name("keyword"),schemaPath:new He.Name("schemaPath"),params:new He.Name("params"),propertyName:new He.Name("propertyName"),message:new He.Name("message"),schema:new He.Name("schema"),parentSchema:new He.Name("parentSchema"),instancePath:new He.Name("instancePath")};function Jf(t,r){let{createErrors:e,opts:i}=t.it;return e===!1?He._`{}`:(i.jtd&&!i.ajvErrors?eg:tg)(t,r)}function eg(t,{message:r}){let{gen:e,keyword:i,it:s}=t,{errorPath:a,errSchemaPath:l,opts:f}=s,c=[[wn.instancePath,He.strConcat(ir.default.dataPath,a)],[wn.schemaPath,He.str`${l}/${i}`]];return f.messages&&c.push([wn.message,typeof r=="function"?r(t):r]),e.object(...c)}function tg(t,r){let{gen:e,keyword:i,data:s,schemaValue:a,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:m,errSchemaPath:d,propertyName:$,opts:E}=l,{params:k,message:x}=r,I=[[wn.keyword,i],[ir.default.dataPath,He.strConcat(ir.default.dataPath,m)],[wn.schemaPath,He.str`${d}/${i}`],[wn.params,typeof k=="function"?k(t):k||He._`{}`]];return $&&I.push([wn.propertyName,$]),E.messages&&I.push([wn.message,typeof x=="function"?x(t):x]),E.verbose&&I.push([wn.schema,a],[wn.parentSchema,He._`${f}${c}`],[ir.default.data,s]),e.object(...I)}});var Xf=me(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.boolOrEmptySchema=Ki.topBoolOrEmptySchema=void 0;var rg=To(),ng=Ne(),ig=on(),og={message:"boolean schema is false"};function sg(t){let{gen:r,schema:e,validateName:i}=t;e===!1?Qf(t,!1):typeof e=="object"&&e.$async===!0?r.return(ig.default.data):(r.assign(ng._`${i}.errors`,null),r.return(!0))}Ki.topBoolOrEmptySchema=sg;function ag(t,r){let{gen:e,schema:i}=t;i===!1?(e.var(r,!1),Qf(t)):e.var(r,!0)}Ki.boolOrEmptySchema=ag;function Qf(t,r){let{gen:e,data:i}=t,s={gen:e,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};rg.reportError(s,og,r)}});var ec=me(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.assignDefaults=void 0;var Wi=Ne(),lg=Lr();function ug(t,r){let{properties:e,items:i}=t.schema;if(r==="object"&&e)for(let s in e)Yf(t,s,e[s].default);else r==="array"&&Array.isArray(i)&&i.forEach((s,a)=>Yf(t,a,s.default))}Es.assignDefaults=ug;function Yf(t,r,e){let{gen:i,compositeRule:s,data:a,opts:l}=t;if(e===void 0)return;let f=Wi._`${a}${Wi.getProperty(r)}`;if(s){lg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=Wi._`${f} === undefined`;l.useDefaults==="empty"&&(c=Wi._`${c} || ${f} === null || ${f} === ""`),i.if(c,Wi._`${f} = ${Wi.stringify(e)}`)}});var yi=me(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.applySubschema=gi.Type=void 0;var fg=Lr(),tc=_t(),or=Ne(),rc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(rc=gi.Type||(gi.Type={}));function cg(t,r,e){let i=pg(t,r);dg(i,t,r),mg(i,r);let s={...t,...i,items:void 0,props:void 0};return fg.subschemaCode(s,e),s}gi.applySubschema=cg;function pg(t,{keyword:r,schemaProp:e,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:l}){if(r!==void 0&&i!==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:or._`${t.schemaPath}${or.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:or._`${t.schemaPath}${or.getProperty(r)}${or.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${tc.escapeFragment(e)}`}}if(i!==void 0){if(s===void 0||a===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:l,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}function dg(t,r,{dataProp:e,dataPropType:i,data:s,dataTypes:a,propertyName:l}){if(s!==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:m,dataPathArr:d,opts:$}=r,E=f.let("data",or._`${r.data}${or.getProperty(e)}`,!0);c(E),t.errorPath=or.str`${m}${hg(e,i,$.jsPropertySyntax)}`,t.parentDataProperty=or._`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(s!==void 0){let m=s instanceof or.Name?s:f.let("data",s,!0);c(m),l!==void 0&&(t.propertyName=l)}a&&(t.dataTypes=a);function c(m){t.data=m,t.dataLevel=r.dataLevel+1,t.dataTypes=[],r.definedProperties=new Set,t.parentData=r.data,t.dataNames=[...r.dataNames,m]}}function mg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:i,createErrors:s,allErrors:a}){i!==void 0&&(t.compositeRule=i),s!==void 0&&(t.createErrors=s),a!==void 0&&(t.allErrors=a),t.jtdDiscriminator=r,t.jtdMetadata=e}function hg(t,r,e){if(t instanceof or.Name){let i=r===rc.Num;return e?i?or._`"[" + ${t} + "]"`:or._`"['" + ${t} + "']"`:i?or._`"/" + ${t}`:or._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?or.getProperty(t).toString():"/"+tc.escapeJsonPointer(t)}});var sn=me(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.validateUnion=ft.validateArray=ft.usePattern=ft.callValidateCode=ft.schemaProperties=ft.allSchemaProperties=ft.noPropertyInData=ft.propertyInData=ft.isOwnProperty=ft.hasPropFunc=ft.reportMissingProp=ft.checkMissingProp=ft.checkReportMissingProp=void 0;var vt=Ne(),nc=_t(),gg=yi(),Kn=on();function yg(t,r){let{gen:e,data:i,it:s}=t;e.if(cl(e,i,r,s.opts.ownProperties),()=>{t.setParams({missingProperty:vt._`${r}`},!0),t.error()})}ft.checkReportMissingProp=yg;function $g({gen:t,data:r,it:{opts:e}},i,s){return vt.or(...i.map(a=>vt.and(cl(t,r,a,e.ownProperties),vt._`${s} = ${a}`)))}ft.checkMissingProp=$g;function bg(t,r){t.setParams({missingProperty:r},!0),t.error()}ft.reportMissingProp=bg;function ic(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:vt._`Object.prototype.hasOwnProperty`})}ft.hasPropFunc=ic;function fl(t,r,e){return vt._`${ic(t)}.call(${r}, ${e})`}ft.isOwnProperty=fl;function wg(t,r,e,i){let s=vt._`${r}${vt.getProperty(e)} !== undefined`;return i?vt._`${s} && ${fl(t,r,e)}`:s}ft.propertyInData=wg;function cl(t,r,e,i){let s=vt._`${r}${vt.getProperty(e)} === undefined`;return i?vt.or(s,vt.not(fl(t,r,e))):s}ft.noPropertyInData=cl;function oc(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}ft.allSchemaProperties=oc;function kg(t,r){return oc(r).filter(e=>!nc.alwaysValidSchema(t,r[e]))}ft.schemaProperties=kg;function vg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:i,schemaPath:s,errorPath:a},it:l},f,c,m){let d=m?vt._`${t}, ${r}, ${i}${s}`:r,$=[[Kn.default.dataPath,vt.strConcat(Kn.default.dataPath,a)],[Kn.default.parentData,l.parentData],[Kn.default.parentDataProperty,l.parentDataProperty],[Kn.default.rootData,Kn.default.rootData]];l.opts.dynamicRef&&$.push([Kn.default.dynamicAnchors,Kn.default.dynamicAnchors]);let E=vt._`${d}, ${e.object(...$)}`;return c!==vt.nil?vt._`${f}.call(${c}, ${E})`:vt._`${f}(${E})`}ft.callValidateCode=vg;function xg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:vt._`new RegExp(${r}, "u")`})}ft.usePattern=xg;function Cg(t){let{gen:r,data:e,keyword:i,it:s}=t,a=r.name("valid");if(s.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(a,!0),l(()=>r.break()),a;function l(f){let c=r.const("len",vt._`${e}.length`);r.forRange("i",0,c,m=>{t.subschema({keyword:i,dataProp:m,dataPropType:gg.Type.Num},a),r.if(vt.not(a),f)})}}ft.validateArray=Cg;function Ag(t){let{gen:r,schema:e,keyword:i,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>nc.alwaysValidSchema(s,c))&&!s.opts.unevaluated)return;let l=r.let("valid",!1),f=r.name("_valid");r.block(()=>e.forEach((c,m)=>{let d=t.subschema({keyword:i,schemaProp:m,compositeRule:!0},f);r.assign(l,vt._`${l} || ${f}`),t.mergeValidEvaluated(d,f)||r.if(vt.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}ft.validateUnion=Ag});var uc=me(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.keywordCode=void 0;var Eg=Fo(),_g=To(),Sg=sn(),mr=Ne(),$i=on();function Pg(t,r,e,i){let s=new Eg.default(t,e,r);"code"in e?e.code(s,i):s.$data&&e.validate?sc(s,e):"macro"in e?Tg(s,e):(e.compile||e.validate)&&sc(s,e)}_s.keywordCode=Pg;function Tg(t,r){let{gen:e,keyword:i,schema:s,parentSchema:a,it:l}=t,f=r.macro.call(l.self,s,a,l),c=lc(e,i,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let m=e.name("valid");t.subschema({schema:f,schemaPath:mr.nil,errSchemaPath:`${l.errSchemaPath}/${i}`,topSchemaRef:c,compositeRule:!0},m),t.pass(m,()=>t.error(!0))}function sc(t,r){var e;let{gen:i,keyword:s,schema:a,parentSchema:l,$data:f,it:c}=t;Ig(c,r);let m=!f&&r.compile?r.compile.call(c.self,a,l,c):r.validate,d=lc(i,s,m),$=i.let("valid");t.block$data($,E),t.ok((e=r.valid)!==null&&e!==void 0?e:$);function E(){if(r.errors===!1)I(),r.modifying&&ac(t),N(()=>t.error());else{let B=r.async?k():x();r.modifying&&ac(t),N(()=>Fg(t,B))}}function k(){let B=i.let("ruleErrs",null);return i.try(()=>I(mr._`await `),X=>i.assign($,!1).if(mr._`${X} instanceof ${c.ValidationError}`,()=>i.assign(B,mr._`${X}.errors`),()=>i.throw(X))),B}function x(){let B=mr._`${d}.errors`;return i.assign(B,null),I(mr.nil),B}function I(B=r.async?mr._`await `:mr.nil){let X=c.opts.passContext?$i.default.this:$i.default.self,se=!("compile"in r&&!f||r.schema===!1);i.assign($,mr._`${B}${Sg.callValidateCode(t,d,X,se)}`,r.modifying)}function N(B){var X;i.if(mr.not((X=r.valid)!==null&&X!==void 0?X:$),B)}}function ac(t){let{gen:r,data:e,it:i}=t;r.if(i.parentData,()=>r.assign(e,mr._`${i.parentData}[${i.parentDataProperty}]`))}function Fg(t,r){let{gen:e}=t;e.if(mr._`Array.isArray(${r})`,()=>{e.assign($i.default.vErrors,mr._`${$i.default.vErrors} === null ? ${r} : ${$i.default.vErrors}.concat(${r})`).assign($i.default.errors,mr._`${$i.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 lc(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 mc=me(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.schemaKeywords=void 0;var pl=Ua(),fc=Zi(),Og=ec(),dc=uc(),qg=_t(),Ng=Lr(),Dg=Ne(),Rg=on();function Lg(t,r,e,i){let{gen:s,schema:a,data:l,allErrors:f,opts:c,self:m}=t,{RULES:d}=m;if(a.$ref&&(c.ignoreKeywordsWithRef||!qg.schemaHasRulesButRef(a,d))){s.block(()=>dc.keywordCode(t,"$ref",d.all.$ref.definition));return}c.jtd||jg(t,r),s.block(()=>{for(let E of d.rules)$(E);$(d.post)});function $(E){!pl.shouldUseGroup(a,E)||(E.type?(s.if(fc.checkDataType(E.type,l,c.strict)),cc(t,E),r.length===1&&r[0]===E.type&&e&&(s.else(),fc.reportTypeError(t)),s.endIf()):cc(t,E),f||s.if(Dg._`${Rg.default.errors} === ${i||0}`))}}Ss.schemaKeywords=Lg;function cc(t,r){let{gen:e,schema:i,opts:{useDefaults:s}}=t;s&&Og.assignDefaults(t,r.type),e.block(()=>{for(let a of r.rules)pl.shouldUseRule(i,a)&&dc.keywordCode(t,a.keyword,a.definition,r.type)})}function jg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(Bg(t,r),t.opts.allowUnionTypes||Mg(t,r),zg(t,t.dataTypes))}function Bg(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{pc(t.dataTypes,e)||dl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>pc(r,e))}}function Mg(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&dl(t,"use allowUnionTypes to allow union type keyword")}function zg(t,r){let e=t.self.RULES.all;for(let i in e){let s=e[i];if(typeof s=="object"&&pl.shouldUseRule(t.schema,s)){let{type:a}=s.definition;a.length&&!a.some(l=>Vg(r,l))&&dl(t,`missing type "${a.join(",")}" for keyword "${i}"`)}}}function Vg(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function pc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function dl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Ng.checkStrictMode(t,r,t.opts.strictTypes)}});var Io=me((Y0,hc)=>{"use strict";hc.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 i,s,a;if(Array.isArray(r)){if(i=r.length,i!=e.length)return!1;for(s=i;s--!==0;)if(!t(r[s],e[s]))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(a=Object.keys(r),i=a.length,i!==Object.keys(e).length)return!1;for(s=i;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[s]))return!1;for(s=i;s--!==0;){var l=a[s];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var yc=me((e1,gc)=>{"use strict";var Wn=gc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var i=typeof e=="function"?e:e.pre||function(){},s=e.post||function(){};Ps(r,i,s,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 Ps(t,r,e,i,s,a,l,f,c,m){if(i&&typeof i=="object"&&!Array.isArray(i)){r(i,s,a,l,f,c,m);for(var d in i){var $=i[d];if(Array.isArray($)){if(d in Wn.arrayKeywords)for(var E=0;E<$.length;E++)Ps(t,r,e,$[E],s+"/"+d+"/"+E,a,s,d,i,E)}else if(d in Wn.propsKeywords){if($&&typeof $=="object")for(var k in $)Ps(t,r,e,$[k],s+"/"+d+"/"+Ug(k),a,s,d,i,k)}else(d in Wn.keywords||t.allKeys&&!(d in Wn.skipKeywords))&&Ps(t,r,e,$,s+"/"+d,a,s,d,i)}e(i,s,a,l,f,c,m)}}function Ug(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var ml=me((Ts,$c)=>{(function(t,r){typeof Ts=="object"&&typeof $c<"u"?r(Ts):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(Ts,function(t){"use strict";function r(){for(var z=arguments.length,O=Array(z),G=0;G<z;G++)O[G]=arguments[G];if(O.length>1){O[0]=O[0].slice(0,-1);for(var ee=O.length-1,te=1;te<ee;++te)O[te]=O[te].slice(1,-1);return O[ee]=O[ee].slice(1),O.join("")}else return O[0]}function e(z){return"(?:"+z+")"}function i(z){return z===void 0?"undefined":z===null?"null":Object.prototype.toString.call(z).split(" ").pop().split("]").shift().toLowerCase()}function s(z){return z.toUpperCase()}function a(z){return z!=null?z instanceof Array?z:typeof z.length!="number"||z.split||z.setInterval||z.call?[z]:Array.prototype.slice.call(z):[]}function l(z,O){var G=z;if(O)for(var ee in O)G[ee]=O[ee];return G}function f(z){var O="[A-Za-z]",G="[\\x0D]",ee="[0-9]",te="[\\x22]",pe=r(ee,"[A-Fa-f]"),Ae="[\\x0A]",Oe="[\\x20]",je=e(e("%[EFef]"+pe+"%"+pe+pe+"%"+pe+pe)+"|"+e("%[89A-Fa-f]"+pe+"%"+pe+pe)+"|"+e("%"+pe+pe)),gt="[\\:\\/\\?\\#\\[\\]\\@]",Se="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",nt=r(gt,Se),kt=z?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",lt=z?"[\\uE000-\\uF8FF]":"[]",qe=r(O,ee,"[\\-\\.\\_\\~]",kt),mt=e(O+r(O,ee,"[\\+\\-\\.]")+"*"),Je=e(e(je+"|"+r(qe,Se,"[\\:]"))+"*"),Mr=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("[1-9]"+ee)+"|"+ee),Lt=e(e("25[0-5]")+"|"+e("2[0-4]"+ee)+"|"+e("1"+ee+ee)+"|"+e("0?[1-9]"+ee)+"|0?0?"+ee),Ht=e(Lt+"\\."+Lt+"\\."+Lt+"\\."+Lt),Qe=e(pe+"{1,4}"),jt=e(e(Qe+"\\:"+Qe)+"|"+Ht),Qt=e(e(Qe+"\\:")+"{6}"+jt),kr=e("\\:\\:"+e(Qe+"\\:")+"{5}"+jt),zr=e(e(Qe)+"?\\:\\:"+e(Qe+"\\:")+"{4}"+jt),vr=e(e(e(Qe+"\\:")+"{0,1}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{3}"+jt),pn=e(e(e(Qe+"\\:")+"{0,2}"+Qe)+"?\\:\\:"+e(Qe+"\\:")+"{2}"+jt),Tn=e(e(e(Qe+"\\:")+"{0,3}"+Qe)+"?\\:\\:"+Qe+"\\:"+jt),Fn=e(e(e(Qe+"\\:")+"{0,4}"+Qe)+"?\\:\\:"+jt),Qr=e(e(e(Qe+"\\:")+"{0,5}"+Qe)+"?\\:\\:"+Qe),Xr=e(e(e(Qe+"\\:")+"{0,6}"+Qe)+"?\\:\\:"),xr=e([Qt,kr,zr,vr,pn,Tn,Fn,Qr,Xr].join("|")),o=e(e(qe+"|"+je)+"+"),ue=e(xr+"\\%25"+o),Cr=e(xr+e("\\%25|\\%(?!"+pe+"{2})")+o),fr=e("[vV]"+pe+"+\\."+r(qe,Se,"[\\:]")+"+"),Vn=e("\\["+e(Cr+"|"+xr+"|"+fr)+"\\]"),v=e(e(je+"|"+r(qe,Se))+"*"),Vr=e(Vn+"|"+Ht+"(?!"+v+")|"+v),cr=e(ee+"*"),mo=e(e(Je+"@")+"?"+Vr+e("\\:"+cr)+"?"),In=e(je+"|"+r(qe,Se,"[\\:\\@]")),ho=e(In+"*"),Xe=e(In+"+"),qr=e(e(je+"|"+r(qe,Se,"[\\@]"))+"+"),Nr=e(e("\\/"+ho)+"*"),dn=e("\\/"+e(Xe+Nr)+"?"),ii=e(qr+Nr),On=e(Xe+Nr),pr="(?!"+In+")",Z=e(Nr+"|"+dn+"|"+ii+"|"+On+"|"+pr),Yr=e(e(In+"|"+r("[\\/\\?]",lt))+"*"),mn=e(e(In+"|[\\/\\?]")+"*"),oi=e(e("\\/\\/"+mo+Nr)+"|"+dn+"|"+On+"|"+pr),qn=e(mt+"\\:"+oi+e("\\?"+Yr)+"?"+e("\\#"+mn)+"?"),go=e(e("\\/\\/"+mo+Nr)+"|"+dn+"|"+ii+"|"+pr),os=e(go+e("\\?"+Yr)+"?"+e("\\#"+mn)+"?"),Di=e(qn+"|"+os),en=e(mt+"\\:"+oi+e("\\?"+Yr)+"?"),yo="^("+mt+")\\:"+e(e("\\/\\/("+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?)")+"?("+Nr+"|"+dn+"|"+On+"|"+pr+")")+e("\\?("+Yr+")")+"?"+e("\\#("+mn+")")+"?$",ss="^(){0}"+e(e("\\/\\/("+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?)")+"?("+Nr+"|"+dn+"|"+ii+"|"+pr+")")+e("\\?("+Yr+")")+"?"+e("\\#("+mn+")")+"?$",$o="^("+mt+")\\:"+e(e("\\/\\/("+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?)")+"?("+Nr+"|"+dn+"|"+On+"|"+pr+")")+e("\\?("+Yr+")")+"?$",bo="^"+e("\\#("+mn+")")+"?$",wo="^"+e("("+Je+")@")+"?("+Vr+")"+e("\\:("+cr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",O,ee,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",qe,Se),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",qe,Se),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",qe,Se),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",qe,Se),"g"),NOT_QUERY:new RegExp(r("[^\\%]",qe,Se,"[\\:\\@\\/\\?]",lt),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",qe,Se,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",qe,Se),"g"),UNRESERVED:new RegExp(qe,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",qe,nt),"g"),PCT_ENCODED:new RegExp(je,"g"),IPV4ADDRESS:new RegExp("^("+Ht+")$"),IPV6ADDRESS:new RegExp("^\\[?("+xr+")"+e(e("\\%25|\\%(?!"+pe+"{2})")+"("+o+")")+"?\\]?$")}}var c=f(!1),m=f(!0),d=function(){function z(O,G){var ee=[],te=!0,pe=!1,Ae=void 0;try{for(var Oe=O[Symbol.iterator](),je;!(te=(je=Oe.next()).done)&&(ee.push(je.value),!(G&&ee.length===G));te=!0);}catch(gt){pe=!0,Ae=gt}finally{try{!te&&Oe.return&&Oe.return()}finally{if(pe)throw Ae}}return ee}return function(O,G){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return z(O,G);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$=function(z){if(Array.isArray(z)){for(var O=0,G=Array(z.length);O<z.length;O++)G[O]=z[O];return G}else return Array.from(z)},E=2147483647,k=36,x=1,I=26,N=38,B=700,X=72,se=128,$e="-",he=/^xn--/,ne=/[^\0-\x7E]/,be=/[\x2E\u3002\uFF0E\uFF61]/g,xe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=k-x,Le=Math.floor,Ee=String.fromCharCode;function _e(z){throw new RangeError(xe[z])}function de(z,O){for(var G=[],ee=z.length;ee--;)G[ee]=O(z[ee]);return G}function Ce(z,O){var G=z.split("@"),ee="";G.length>1&&(ee=G[0]+"@",z=G[1]),z=z.replace(be,".");var te=z.split("."),pe=de(te,O).join(".");return ee+pe}function ot(z){for(var O=[],G=0,ee=z.length;G<ee;){var te=z.charCodeAt(G++);if(te>=55296&&te<=56319&&G<ee){var pe=z.charCodeAt(G++);(pe&64512)==56320?O.push(((te&1023)<<10)+(pe&1023)+65536):(O.push(te),G--)}else O.push(te)}return O}var Y=function(O){return String.fromCodePoint.apply(String,$(O))},Ct=function(O){return O-48<10?O-22:O-65<26?O-65:O-97<26?O-97:k},Ze=function(O,G){return O+22+75*(O<26)-((G!=0)<<5)},yt=function(O,G,ee){var te=0;for(O=ee?Le(O/B):O>>1,O+=Le(O/G);O>ke*I>>1;te+=k)O=Le(O/ke);return Le(te+(ke+1)*O/(O+N))},tt=function(O){var G=[],ee=O.length,te=0,pe=se,Ae=X,Oe=O.lastIndexOf($e);Oe<0&&(Oe=0);for(var je=0;je<Oe;++je)O.charCodeAt(je)>=128&&_e("not-basic"),G.push(O.charCodeAt(je));for(var gt=Oe>0?Oe+1:0;gt<ee;){for(var Se=te,nt=1,kt=k;;kt+=k){gt>=ee&&_e("invalid-input");var lt=Ct(O.charCodeAt(gt++));(lt>=k||lt>Le((E-te)/nt))&&_e("overflow"),te+=lt*nt;var qe=kt<=Ae?x:kt>=Ae+I?I:kt-Ae;if(lt<qe)break;var mt=k-qe;nt>Le(E/mt)&&_e("overflow"),nt*=mt}var Je=G.length+1;Ae=yt(te-Se,Je,Se==0),Le(te/Je)>E-pe&&_e("overflow"),pe+=Le(te/Je),te%=Je,G.splice(te++,0,pe)}return String.fromCodePoint.apply(String,G)},M=function(O){var G=[];O=ot(O);var ee=O.length,te=se,pe=0,Ae=X,Oe=!0,je=!1,gt=void 0;try{for(var Se=O[Symbol.iterator](),nt;!(Oe=(nt=Se.next()).done);Oe=!0){var kt=nt.value;kt<128&&G.push(Ee(kt))}}catch(Cr){je=!0,gt=Cr}finally{try{!Oe&&Se.return&&Se.return()}finally{if(je)throw gt}}var lt=G.length,qe=lt;for(lt&&G.push($e);qe<ee;){var mt=E,Je=!0,Mr=!1,Lt=void 0;try{for(var Ht=O[Symbol.iterator](),Qe;!(Je=(Qe=Ht.next()).done);Je=!0){var jt=Qe.value;jt>=te&&jt<mt&&(mt=jt)}}catch(Cr){Mr=!0,Lt=Cr}finally{try{!Je&&Ht.return&&Ht.return()}finally{if(Mr)throw Lt}}var Qt=qe+1;mt-te>Le((E-pe)/Qt)&&_e("overflow"),pe+=(mt-te)*Qt,te=mt;var kr=!0,zr=!1,vr=void 0;try{for(var pn=O[Symbol.iterator](),Tn;!(kr=(Tn=pn.next()).done);kr=!0){var Fn=Tn.value;if(Fn<te&&++pe>E&&_e("overflow"),Fn==te){for(var Qr=pe,Xr=k;;Xr+=k){var xr=Xr<=Ae?x:Xr>=Ae+I?I:Xr-Ae;if(Qr<xr)break;var o=Qr-xr,ue=k-xr;G.push(Ee(Ze(xr+o%ue,0))),Qr=Le(o/ue)}G.push(Ee(Ze(Qr,0))),Ae=yt(pe,Qt,qe==lt),pe=0,++qe}}}catch(Cr){zr=!0,vr=Cr}finally{try{!kr&&pn.return&&pn.return()}finally{if(zr)throw vr}}++pe,++te}return G.join("")},V=function(O){return Ce(O,function(G){return he.test(G)?tt(G.slice(4).toLowerCase()):G})},Jt=function(O){return Ce(O,function(G){return ne.test(G)?"xn--"+M(G):G})},Rt={version:"2.1.0",ucs2:{decode:ot,encode:Y},decode:tt,encode:M,toASCII:Jt,toUnicode:V},bt={};function St(z){var O=z.charCodeAt(0),G=void 0;return O<16?G="%0"+O.toString(16).toUpperCase():O<128?G="%"+O.toString(16).toUpperCase():O<2048?G="%"+(O>>6|192).toString(16).toUpperCase()+"%"+(O&63|128).toString(16).toUpperCase():G="%"+(O>>12|224).toString(16).toUpperCase()+"%"+(O>>6&63|128).toString(16).toUpperCase()+"%"+(O&63|128).toString(16).toUpperCase(),G}function At(z){for(var O="",G=0,ee=z.length;G<ee;){var te=parseInt(z.substr(G+1,2),16);if(te<128)O+=String.fromCharCode(te),G+=3;else if(te>=194&&te<224){if(ee-G>=6){var pe=parseInt(z.substr(G+4,2),16);O+=String.fromCharCode((te&31)<<6|pe&63)}else O+=z.substr(G,6);G+=6}else if(te>=224){if(ee-G>=9){var Ae=parseInt(z.substr(G+4,2),16),Oe=parseInt(z.substr(G+7,2),16);O+=String.fromCharCode((te&15)<<12|(Ae&63)<<6|Oe&63)}else O+=z.substr(G,9);G+=9}else O+=z.substr(G,3),G+=3}return O}function st(z,O){function G(ee){var te=At(ee);return te.match(O.UNRESERVED)?te:ee}return z.scheme&&(z.scheme=String(z.scheme).replace(O.PCT_ENCODED,G).toLowerCase().replace(O.NOT_SCHEME,"")),z.userinfo!==void 0&&(z.userinfo=String(z.userinfo).replace(O.PCT_ENCODED,G).replace(O.NOT_USERINFO,St).replace(O.PCT_ENCODED,s)),z.host!==void 0&&(z.host=String(z.host).replace(O.PCT_ENCODED,G).toLowerCase().replace(O.NOT_HOST,St).replace(O.PCT_ENCODED,s)),z.path!==void 0&&(z.path=String(z.path).replace(O.PCT_ENCODED,G).replace(z.scheme?O.NOT_PATH:O.NOT_PATH_NOSCHEME,St).replace(O.PCT_ENCODED,s)),z.query!==void 0&&(z.query=String(z.query).replace(O.PCT_ENCODED,G).replace(O.NOT_QUERY,St).replace(O.PCT_ENCODED,s)),z.fragment!==void 0&&(z.fragment=String(z.fragment).replace(O.PCT_ENCODED,G).replace(O.NOT_FRAGMENT,St).replace(O.PCT_ENCODED,s)),z}function Fr(z){return z.replace(/^0*(.*)/,"$1")||"0"}function ye(z,O){var G=z.match(O.IPV4ADDRESS)||[],ee=d(G,2),te=ee[1];return te?te.split(".").map(Fr).join("."):z}function wr(z,O){var G=z.match(O.IPV6ADDRESS)||[],ee=d(G,3),te=ee[1],pe=ee[2];if(te){for(var Ae=te.toLowerCase().split("::").reverse(),Oe=d(Ae,2),je=Oe[0],gt=Oe[1],Se=gt?gt.split(":").map(Fr):[],nt=je.split(":").map(Fr),kt=O.IPV4ADDRESS.test(nt[nt.length-1]),lt=kt?7:8,qe=nt.length-lt,mt=Array(lt),Je=0;Je<lt;++Je)mt[Je]=Se[Je]||nt[qe+Je]||"";kt&&(mt[lt-1]=ye(mt[lt-1],O));var Mr=mt.reduce(function(Qt,kr,zr){if(!kr||kr==="0"){var vr=Qt[Qt.length-1];vr&&vr.index+vr.length===zr?vr.length++:Qt.push({index:zr,length:1})}return Qt},[]),Lt=Mr.sort(function(Qt,kr){return kr.length-Qt.length})[0],Ht=void 0;if(Lt&&Lt.length>1){var Qe=mt.slice(0,Lt.index),jt=mt.slice(Lt.index+Lt.length);Ht=Qe.join(":")+"::"+jt.join(":")}else Ht=mt.join(":");return pe&&(Ht+="%"+pe),Ht}else return z}var zt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ir="".match(/(){0}/)[1]===void 0;function Vt(z){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G={},ee=O.iri!==!1?m:c;O.reference==="suffix"&&(z=(O.scheme?O.scheme+":":"")+"//"+z);var te=z.match(zt);if(te){Ir?(G.scheme=te[1],G.userinfo=te[3],G.host=te[4],G.port=parseInt(te[5],10),G.path=te[6]||"",G.query=te[7],G.fragment=te[8],isNaN(G.port)&&(G.port=te[5])):(G.scheme=te[1]||void 0,G.userinfo=z.indexOf("@")!==-1?te[3]:void 0,G.host=z.indexOf("//")!==-1?te[4]:void 0,G.port=parseInt(te[5],10),G.path=te[6]||"",G.query=z.indexOf("?")!==-1?te[7]:void 0,G.fragment=z.indexOf("#")!==-1?te[8]:void 0,isNaN(G.port)&&(G.port=z.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?te[4]:void 0)),G.host&&(G.host=wr(ye(G.host,ee),ee)),G.scheme===void 0&&G.userinfo===void 0&&G.host===void 0&&G.port===void 0&&!G.path&&G.query===void 0?G.reference="same-document":G.scheme===void 0?G.reference="relative":G.fragment===void 0?G.reference="absolute":G.reference="uri",O.reference&&O.reference!=="suffix"&&O.reference!==G.reference&&(G.error=G.error||"URI is not a "+O.reference+" reference.");var pe=bt[(O.scheme||G.scheme||"").toLowerCase()];if(!O.unicodeSupport&&(!pe||!pe.unicodeSupport)){if(G.host&&(O.domainHost||pe&&pe.domainHost))try{G.host=Rt.toASCII(G.host.replace(ee.PCT_ENCODED,At).toLowerCase())}catch(Ae){G.error=G.error||"Host's domain name can not be converted to ASCII via punycode: "+Ae}st(G,c)}else st(G,ee);pe&&pe.parse&&pe.parse(G,O)}else G.error=G.error||"URI can not be parsed.";return G}function ei(z,O){var G=O.iri!==!1?m:c,ee=[];return z.userinfo!==void 0&&(ee.push(z.userinfo),ee.push("@")),z.host!==void 0&&ee.push(wr(ye(String(z.host),G),G).replace(G.IPV6ADDRESS,function(te,pe,Ae){return"["+pe+(Ae?"%25"+Ae:"")+"]"})),(typeof z.port=="number"||typeof z.port=="string")&&(ee.push(":"),ee.push(String(z.port))),ee.length?ee.join(""):void 0}var Mn=/^\.\.?\//,En=/^\/\.(\/|$)/,Ge=/^\/\.\.(\/|$)/,Ke=/^\/?(?:.|\n)*?(?=\/|$)/;function at(z){for(var O=[];z.length;)if(z.match(Mn))z=z.replace(Mn,"");else if(z.match(En))z=z.replace(En,"/");else if(z.match(Ge))z=z.replace(Ge,"/"),O.pop();else if(z==="."||z==="..")z="";else{var G=z.match(Ke);if(G){var ee=G[0];z=z.slice(ee.length),O.push(ee)}else throw new Error("Unexpected dot segment condition")}return O.join("")}function We(z){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=O.iri?m:c,ee=[],te=bt[(O.scheme||z.scheme||"").toLowerCase()];if(te&&te.serialize&&te.serialize(z,O),z.host&&!G.IPV6ADDRESS.test(z.host)){if(O.domainHost||te&&te.domainHost)try{z.host=O.iri?Rt.toUnicode(z.host):Rt.toASCII(z.host.replace(G.PCT_ENCODED,At).toLowerCase())}catch(Oe){z.error=z.error||"Host's domain name can not be converted to "+(O.iri?"Unicode":"ASCII")+" via punycode: "+Oe}}st(z,G),O.reference!=="suffix"&&z.scheme&&(ee.push(z.scheme),ee.push(":"));var pe=ei(z,O);if(pe!==void 0&&(O.reference!=="suffix"&&ee.push("//"),ee.push(pe),z.path&&z.path.charAt(0)!=="/"&&ee.push("/")),z.path!==void 0){var Ae=z.path;!O.absolutePath&&(!te||!te.absolutePath)&&(Ae=at(Ae)),pe===void 0&&(Ae=Ae.replace(/^\/\//,"/%2F")),ee.push(Ae)}return z.query!==void 0&&(ee.push("?"),ee.push(z.query)),z.fragment!==void 0&&(ee.push("#"),ee.push(z.fragment)),ee.join("")}function Or(z,O){var G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=arguments[3],te={};return ee||(z=Vt(We(z,G),G),O=Vt(We(O,G),G)),G=G||{},!G.tolerant&&O.scheme?(te.scheme=O.scheme,te.userinfo=O.userinfo,te.host=O.host,te.port=O.port,te.path=at(O.path||""),te.query=O.query):(O.userinfo!==void 0||O.host!==void 0||O.port!==void 0?(te.userinfo=O.userinfo,te.host=O.host,te.port=O.port,te.path=at(O.path||""),te.query=O.query):(O.path?(O.path.charAt(0)==="/"?te.path=at(O.path):((z.userinfo!==void 0||z.host!==void 0||z.port!==void 0)&&!z.path?te.path="/"+O.path:z.path?te.path=z.path.slice(0,z.path.lastIndexOf("/")+1)+O.path:te.path=O.path,te.path=at(te.path)),te.query=O.query):(te.path=z.path,O.query!==void 0?te.query=O.query:te.query=z.query),te.userinfo=z.userinfo,te.host=z.host,te.port=z.port),te.scheme=z.scheme),te.fragment=O.fragment,te}function ze(z,O,G){var ee=l({scheme:"null"},G);return We(Or(Vt(z,ee),Vt(O,ee),ee,!0),ee)}function Ve(z,O){return typeof z=="string"?z=We(Vt(z,O),O):i(z)==="object"&&(z=Vt(We(z,O),O)),z}function ct(z,O,G){return typeof z=="string"?z=We(Vt(z,G),G):i(z)==="object"&&(z=We(z,G)),typeof O=="string"?O=We(Vt(O,G),G):i(O)==="object"&&(O=We(O,G)),z===O}function pt(z,O){return z&&z.toString().replace(!O||!O.iri?c.ESCAPE:m.ESCAPE,St)}function Ut(z,O){return z&&z.toString().replace(!O||!O.iri?c.PCT_ENCODED:m.PCT_ENCODED,At)}var re={scheme:"http",domainHost:!0,parse:function(O,G){return O.host||(O.error=O.error||"HTTP URIs must have a host."),O},serialize:function(O,G){var ee=String(O.scheme).toLowerCase()==="https";return(O.port===(ee?443:80)||O.port==="")&&(O.port=void 0),O.path||(O.path="/"),O}},ae={scheme:"https",domainHost:re.domainHost,parse:re.parse,serialize:re.serialize};function we(z){return typeof z.secure=="boolean"?z.secure:String(z.scheme).toLowerCase()==="wss"}var Ie={scheme:"ws",domainHost:!0,parse:function(O,G){var ee=O;return ee.secure=we(ee),ee.resourceName=(ee.path||"/")+(ee.query?"?"+ee.query:""),ee.path=void 0,ee.query=void 0,ee},serialize:function(O,G){if((O.port===(we(O)?443:80)||O.port==="")&&(O.port=void 0),typeof O.secure=="boolean"&&(O.scheme=O.secure?"wss":"ws",O.secure=void 0),O.resourceName){var ee=O.resourceName.split("?"),te=d(ee,2),pe=te[0],Ae=te[1];O.path=pe&&pe!=="/"?pe:void 0,O.query=Ae,O.resourceName=void 0}return O.fragment=void 0,O}},Dt={scheme:"wss",domainHost:Ie.domainHost,parse:Ie.parse,serialize:Ie.serialize},Zr={},rt=!0,wt="[A-Za-z0-9\\-\\.\\_\\~"+(rt?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Pt="[0-9A-Fa-f]",Jr=e(e("%[EFef]"+Pt+"%"+Pt+Pt+"%"+Pt+Pt)+"|"+e("%[89A-Fa-f]"+Pt+"%"+Pt+Pt)+"|"+e("%"+Pt+Pt)),dt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",_n="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",It=r(_n,'[\\"\\\\]'),cn="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",co=new RegExp(wt,"g"),Br=new RegExp(Jr,"g"),zn=new RegExp(r("[^]",dt,"[\\.]",'[\\"]',It),"g"),ti=new RegExp(r("[^]",wt,cn),"g"),po=ti;function ri(z){var O=At(z);return O.match(co)?O:z}var qi={scheme:"mailto",parse:function(O,G){var ee=O,te=ee.to=ee.path?ee.path.split(","):[];if(ee.path=void 0,ee.query){for(var pe=!1,Ae={},Oe=ee.query.split("&"),je=0,gt=Oe.length;je<gt;++je){var Se=Oe[je].split("=");switch(Se[0]){case"to":for(var nt=Se[1].split(","),kt=0,lt=nt.length;kt<lt;++kt)te.push(nt[kt]);break;case"subject":ee.subject=Ut(Se[1],G);break;case"body":ee.body=Ut(Se[1],G);break;default:pe=!0,Ae[Ut(Se[0],G)]=Ut(Se[1],G);break}}pe&&(ee.headers=Ae)}ee.query=void 0;for(var qe=0,mt=te.length;qe<mt;++qe){var Je=te[qe].split("@");if(Je[0]=Ut(Je[0]),G.unicodeSupport)Je[1]=Ut(Je[1],G).toLowerCase();else try{Je[1]=Rt.toASCII(Ut(Je[1],G).toLowerCase())}catch(Mr){ee.error=ee.error||"Email address's domain name can not be converted to ASCII via punycode: "+Mr}te[qe]=Je.join("@")}return ee},serialize:function(O,G){var ee=O,te=a(O.to);if(te){for(var pe=0,Ae=te.length;pe<Ae;++pe){var Oe=String(te[pe]),je=Oe.lastIndexOf("@"),gt=Oe.slice(0,je).replace(Br,ri).replace(Br,s).replace(zn,St),Se=Oe.slice(je+1);try{Se=G.iri?Rt.toUnicode(Se):Rt.toASCII(Ut(Se,G).toLowerCase())}catch(qe){ee.error=ee.error||"Email address's domain name can not be converted to "+(G.iri?"Unicode":"ASCII")+" via punycode: "+qe}te[pe]=gt+"@"+Se}ee.path=te.join(",")}var nt=O.headers=O.headers||{};O.subject&&(nt.subject=O.subject),O.body&&(nt.body=O.body);var kt=[];for(var lt in nt)nt[lt]!==Zr[lt]&&kt.push(lt.replace(Br,ri).replace(Br,s).replace(ti,St)+"="+nt[lt].replace(Br,ri).replace(Br,s).replace(po,St));return kt.length&&(ee.query=kt.join("&")),ee}},ni=/^([^\:]+)\:(.*)/,Sn={scheme:"urn",parse:function(O,G){var ee=O.path&&O.path.match(ni),te=O;if(ee){var pe=G.scheme||te.scheme||"urn",Ae=ee[1].toLowerCase(),Oe=ee[2],je=pe+":"+(G.nid||Ae),gt=bt[je];te.nid=Ae,te.nss=Oe,te.path=void 0,gt&&(te=gt.parse(te,G))}else te.error=te.error||"URN can not be parsed.";return te},serialize:function(O,G){var ee=G.scheme||O.scheme||"urn",te=O.nid,pe=ee+":"+(G.nid||te),Ae=bt[pe];Ae&&(O=Ae.serialize(O,G));var Oe=O,je=O.nss;return Oe.path=(te||G.nid)+":"+je,Oe}},Ni=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pn={scheme:"urn:uuid",parse:function(O,G){var ee=O;return ee.uuid=ee.nss,ee.nss=void 0,!G.tolerant&&(!ee.uuid||!ee.uuid.match(Ni))&&(ee.error=ee.error||"UUID is not valid."),ee},serialize:function(O,G){var ee=O;return ee.nss=(O.uuid||"").toLowerCase(),ee}};bt[re.scheme]=re,bt[ae.scheme]=ae,bt[Ie.scheme]=Ie,bt[Dt.scheme]=Dt,bt[qi.scheme]=qi,bt[Sn.scheme]=Sn,bt[Pn.scheme]=Pn,t.SCHEMES=bt,t.pctEncChar=St,t.pctDecChars=At,t.parse=Vt,t.removeDotSegments=at,t.serialize=We,t.resolveComponents=Or,t.resolve=ze,t.normalize=Ve,t.equal=ct,t.escapeComponent=pt,t.unescapeComponent=Ut,Object.defineProperty(t,"__esModule",{value:!0})})});var Oo=me(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.getSchemaRefs=_r.resolveUrl=_r.normalizeId=_r._getFullPath=_r.getFullPath=_r.inlineRef=void 0;var Hg=_t(),Gg=Io(),Kg=yc(),Fs=ml(),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?!hl(t):r?bc(t)<=r:!1}_r.inlineRef=Zg;var Jg=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hl(t){for(let r in t){if(Jg.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(hl)||typeof e=="object"&&hl(e))return!0}return!1}function bc(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],i=>r+=bc(i)),r===1/0))return 1/0}return r}function wc(t="",r){r!==!1&&(t=Ji(t));let e=Fs.parse(t);return kc(e)}_r.getFullPath=wc;function kc(t){return Fs.serialize(t).split("#")[0]+"#"}_r._getFullPath=kc;var Qg=/#\/?$/;function Ji(t){return t?t.replace(Qg,""):""}_r.normalizeId=Ji;function Xg(t,r){return r=Ji(r),Fs.resolve(t,r)}_r.resolveUrl=Xg;var Yg=/^[a-z_][-a-z0-9._]*$/i;function ey(t){if(typeof t=="boolean")return{};let r=Ji(t.$id),e={"":r},i=wc(r,!1),s={},a=new Set;return Kg(t,{allKeys:!0},(c,m,d,$)=>{if($===void 0)return;let E=i+m,k=e[$];typeof c.$id=="string"&&(k=x.call(this,c.$id)),I.call(this,c.$anchor),I.call(this,c.$dynamicAnchor),e[m]=k;function x(N){if(N=Ji(k?Fs.resolve(k,N):N),a.has(N))throw f(N);a.add(N);let B=this.refs[N];return typeof B=="string"&&(B=this.refs[B]),typeof B=="object"?l(c,B.schema,N):N!==Ji(E)&&(N[0]==="#"?(l(c,s[N],N),s[N]=c):this.refs[N]=E),N}function I(N){if(typeof N=="string"){if(!Yg.test(N))throw new Error(`invalid anchor "${N}"`);x.call(this,`#${N}`)}}}),s;function l(c,m,d){if(m!==void 0&&!Gg(c,m))throw f(d)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}_r.getSchemaRefs=ey});var Lr=me(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.checkStrictMode=kn.schemaCxtHasRules=kn.subschemaCode=kn.validateFunctionCode=void 0;var Ac=Xf(),vc=Zi(),xc=mc(),Be=Ne(),Te=on(),ty=Oo(),Ec=_t();function ry(t){if(Sc(t)&&(Pc(t),gl(t))){oy(t);return}_c(t,()=>Ac.topBoolOrEmptySchema(t))}kn.validateFunctionCode=ry;function _c({gen:t,validateName:r,schema:e,schemaEnv:i,opts:s},a){s.code.es5?t.func(r,Be._`${Te.default.data}, ${Te.default.valCxt}`,i.$async,()=>{t.code(Be._`"use strict"; ${Cc(e,s)}`),iy(t,s),t.code(a)}):t.func(r,Be._`${Te.default.data}, ${ny(s)}`,i.$async,()=>t.code(Cc(e,s)).code(a))}function ny(t){return Be._`{${Te.default.dataPath}="", ${Te.default.parentData}, ${Te.default.parentDataProperty}, ${Te.default.rootData}=${Te.default.data}${t.dynamicRef?Be._`, ${Te.default.dynamicAnchors}={}`:Be.nil}}={}`}function iy(t,r){t.if(Te.default.valCxt,()=>{t.var(Te.default.dataPath,Be._`${Te.default.valCxt}.${Te.default.dataPath}`),t.var(Te.default.parentData,Be._`${Te.default.valCxt}.${Te.default.parentData}`),t.var(Te.default.parentDataProperty,Be._`${Te.default.valCxt}.${Te.default.parentDataProperty}`),t.var(Te.default.rootData,Be._`${Te.default.valCxt}.${Te.default.rootData}`),r.dynamicRef&&t.var(Te.default.dynamicAnchors,Be._`${Te.default.valCxt}.${Te.default.dynamicAnchors}`)},()=>{t.var(Te.default.dataPath,Be._`""`),t.var(Te.default.parentData,Be._`undefined`),t.var(Te.default.parentDataProperty,Be._`undefined`),t.var(Te.default.rootData,Te.default.data),r.dynamicRef&&t.var(Te.default.dynamicAnchors,Be._`{}`)})}function oy(t){let{schema:r,opts:e,gen:i}=t;_c(t,()=>{e.$comment&&r.$comment&&Fc(t),fy(t),i.let(Te.default.vErrors,null),i.let(Te.default.errors,0),e.unevaluated&&sy(t),Tc(t),dy(t)})}function sy(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Be._`${e}.evaluated`),r.if(Be._`${t.evaluated}.dynamicProps`,()=>r.assign(Be._`${t.evaluated}.props`,Be._`undefined`)),r.if(Be._`${t.evaluated}.dynamicItems`,()=>r.assign(Be._`${t.evaluated}.items`,Be._`undefined`))}function Cc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Be._`/*# sourceURL=${t.$id} */`:Be.nil}function ay(t,r){if(Sc(t)&&(Pc(t),gl(t))){ly(t,r);return}Ac.boolOrEmptySchema(t,r)}kn.subschemaCode=ay;function gl({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}kn.schemaCxtHasRules=gl;function Sc(t){return typeof t.schema!="boolean"}function ly(t,r){let{schema:e,gen:i,opts:s}=t;s.$comment&&e.$comment&&Fc(t),cy(t),py(t);let a=i.const("_errs",Te.default.errors);Tc(t,a),i.var(r,Be._`${a} === ${Te.default.errors}`)}function Pc(t){Ec.checkUnknownRules(t),uy(t)}function Tc(t,r){if(t.opts.jtd)return xc.schemaKeywords(t,[],!1,r);let e=vc.getSchemaTypes(t.schema),i=vc.coerceAndCheckDataType(t,e);xc.schemaKeywords(t,e,!i,r)}function uy(t){let{schema:r,errSchemaPath:e,opts:i,self:s}=t;r.$ref&&i.ignoreKeywordsWithRef&&Ec.schemaHasRulesButRef(r,s.RULES)&&s.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&&Ic(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:i,opts:s}){let a=e.$comment;if(s.$comment===!0)t.code(Be._`${Te.default.self}.logger.log(${a})`);else if(typeof s.$comment=="function"){let l=Be.str`${i}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Be._`${Te.default.self}.opts.$comment(${a}, ${l}, ${f}.schema)`)}}function dy(t){let{gen:r,schemaEnv:e,validateName:i,ValidationError:s,opts:a}=t;e.$async?r.if(Be._`${Te.default.errors} === 0`,()=>r.return(Te.default.data),()=>r.throw(Be._`new ${s}(${Te.default.vErrors})`)):(r.assign(Be._`${i}.errors`,Te.default.vErrors),a.unevaluated&&my(t),r.return(Be._`${Te.default.errors} === 0`))}function my({gen:t,evaluated:r,props:e,items:i}){e instanceof Be.Name&&t.assign(Be._`${r}.props`,e),i instanceof Be.Name&&t.assign(Be._`${r}.items`,i)}function Ic(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}kn.checkStrictMode=Ic});var _t=me(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.func=Ye.setEvaluated=Ye.evaluatedPropsToName=Ye.mergeEvaluated=Ye.eachItem=Ye.unescapeJsonPointer=Ye.escapeJsonPointer=Ye.escapeFragment=Ye.unescapeFragment=Ye.schemaRefOrVal=Ye.schemaHasRulesButRef=Ye.schemaHasRules=Ye.checkUnknownRules=Ye.alwaysValidSchema=Ye.toHash=void 0;var Tt=Ne(),hy=Lr();function gy(t){let r={};for(let e of t)r[e]=!0;return r}Ye.toHash=gy;function yy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(qc(t,r),!Nc(r,t.self.RULES.all))}Ye.alwaysValidSchema=yy;function qc(t,r=t.schema){let{opts:e,self:i}=t;if(!e.strict||typeof r=="boolean")return;let s=i.RULES.keywords;for(let a in r)s[a]||hy.checkStrictMode(t,`unknown keyword: "${a}"`)}Ye.checkUnknownRules=qc;function Nc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}Ye.schemaHasRules=Nc;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}Ye.schemaHasRulesButRef=$y;function by({topSchemaRef:t,schemaPath:r},e,i,s){if(!s){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Tt._`${e}`}return Tt._`${t}${r}${Tt.getProperty(i)}`}Ye.schemaRefOrVal=by;function wy(t){return Rc(decodeURIComponent(t))}Ye.unescapeFragment=wy;function ky(t){return encodeURIComponent(Dc(t))}Ye.escapeFragment=ky;function Dc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}Ye.escapeJsonPointer=Dc;function Rc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}Ye.unescapeJsonPointer=Rc;function vy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}Ye.eachItem=vy;function Oc({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:i}){return(s,a,l,f)=>{let c=l===void 0?a:l instanceof Tt.Name?(a instanceof Tt.Name?t(s,a,l):r(s,a,l),l):a instanceof Tt.Name?(r(s,l,a),a):e(a,l);return f===Tt.Name&&!(c instanceof Tt.Name)?i(s,c):c}}Ye.mergeEvaluated={props:Oc({mergeNames:(t,r,e)=>t.if(Tt._`${e} !== true && ${r} !== undefined`,()=>{t.if(Tt._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Tt._`${e} || {}`).code(Tt._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Tt._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Tt._`${e} || {}`),yl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Lc}),items:Oc({mergeNames:(t,r,e)=>t.if(Tt._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Tt._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Tt._`${e} !== true`,()=>t.assign(e,r===!0?!0:Tt._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Lc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Tt._`{}`);return r!==void 0&&yl(t,e,r),e}Ye.evaluatedPropsToName=Lc;function yl(t,r,e){Object.keys(e).forEach(i=>t.assign(Tt._`${r}${Tt.getProperty(i)}`,!0))}Ye.setEvaluated=yl;function xy(t,r){return t.scopeValue("func",{ref:r,code:r.code})}Ye.func=xy});var Zi=me(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.reportTypeError=Kt.checkDataTypes=Kt.checkDataType=Kt.coerceAndCheckDataType=Kt.getJSONTypes=Kt.getSchemaTypes=Kt.DataType=void 0;var Cy=Va(),Ay=Ua(),Ey=To(),Fe=Ne(),jc=_t(),qo;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(qo=Kt.DataType||(Kt.DataType={}));function _y(t){let r=Bc(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}Kt.getSchemaTypes=_y;function Bc(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(","))}Kt.getJSONTypes=Bc;function Sy(t,r){let{gen:e,data:i,opts:s}=t,a=Py(r,s.coerceTypes),l=r.length>0&&!(a.length===0&&r.length===1&&Ay.schemaHasRulesForType(t,r[0]));if(l){let f=bl(r,i,s.strict,qo.Wrong);e.if(f,()=>{a.length?Ty(t,r,a):wl(t)})}return l}Kt.coerceAndCheckDataType=Sy;var Mc=new Set(["string","number","integer","boolean","null"]);function Py(t,r){return r?t.filter(e=>Mc.has(e)||r==="array"&&e==="array"):[]}function Ty(t,r,e){let{gen:i,data:s,opts:a}=t,l=i.let("dataType",Fe._`typeof ${s}`),f=i.let("coerced",Fe._`undefined`);a.coerceTypes==="array"&&i.if(Fe._`${l} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>i.assign(s,Fe._`${s}[0]`).assign(l,Fe._`typeof ${s}`).if(bl(r,s,a.strict),()=>i.assign(f,s))),i.if(Fe._`${f} !== undefined`);for(let m of e)(Mc.has(m)||m==="array"&&a.coerceTypes==="array")&&c(m);i.else(),wl(t),i.endIf(),i.if(Fe._`${f} !== undefined`,()=>{i.assign(s,f),Fy(t,f)});function c(m){switch(m){case"string":i.elseIf(Fe._`${l} == "number" || ${l} == "boolean"`).assign(f,Fe._`"" + ${s}`).elseIf(Fe._`${s} === null`).assign(f,Fe._`""`);return;case"number":i.elseIf(Fe._`${l} == "boolean" || ${s} === null
|
|
3
|
-
|| (${l} == "string" && ${
|
|
4
|
-
|| (${l} === "string" && ${
|
|
5
|
-
|| ${l} === "boolean" || ${s} === null`).assign(f,Fe._`[${s}]`)}}}function Fy({gen:t,parentData:r,parentDataProperty:e},i){t.if(Fe._`${r} !== undefined`,()=>t.assign(Fe._`${r}[${e}]`,i))}function $l(t,r,e,i=qo.Correct){let s=i===qo.Correct?Fe.operators.EQ:Fe.operators.NEQ,a;switch(t){case"null":return Fe._`${r} ${s} null`;case"array":a=Fe._`Array.isArray(${r})`;break;case"object":a=Fe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":a=l(Fe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":a=l();break;default:return Fe._`typeof ${r} ${s} ${t}`}return i===qo.Correct?a:Fe.not(a);function l(f=Fe.nil){return Fe.and(Fe._`typeof ${r} == "number"`,f,e?Fe._`isFinite(${r})`:Fe.nil)}}Kt.checkDataType=$l;function bl(t,r,e,i){if(t.length===1)return $l(t[0],r,e,i);let s,a=jc.toHash(t);if(a.array&&a.object){let l=Fe._`typeof ${r} != "object"`;s=a.null?l:Fe._`!${r} || ${l}`,delete a.null,delete a.array,delete a.object}else s=Fe.nil;a.number&&delete a.integer;for(let l in a)s=Fe.and(s,$l(l,r,e,i));return s}Kt.checkDataTypes=bl;var Iy={message:({schema:t})=>Fe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Fe._`{type: ${t}}`:Fe._`{type: ${r}}`};function wl(t){let r=Oy(t);Ey.reportError(r,Iy)}Kt.reportTypeError=wl;function Oy(t){let{gen:r,data:e,schema:i}=t,s=jc.schemaRefOrVal(t,i,"type");return{gen:r,keyword:"type",data:e,schema:i.type,schemaCode:s,schemaValue:s,parentSchema:i,params:{},it:t}}});var Fo=me(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.getData=void 0;var zc=Zi(),Is=_t(),No=To(),qt=Ne(),kl=on(),qy=yi(),vl=class{constructor(r,e,i){if(Dy(r,e,i),this.gen=r.gen,this.allErrors=r.allErrors,this.keyword=i,this.data=r.data,this.schema=r.schema[i],this.$data=e.$data&&r.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=Is.schemaRefOrVal(r,this.schema,i,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",Vc(this.$data,r));else if(this.schemaCode=this.schemaValue,!Ny(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=r.gen.const("_errs",kl.default.errors))}result(r,e,i){this.gen.if(qt.not(r)),i?i():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(qt._`${e} !== undefined && (${qt.or(this.invalid$data(),r)})`)}error(r){(r?No.reportExtraError:No.reportError)(this,this.def.error)}$dataError(){No.reportError(this,this.def.$dataError||No.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');No.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,i=qt.nil){this.gen.block(()=>{this.check$data(r,i),e()})}check$data(r=qt.nil,e=qt.nil){if(!this.$data)return;let{gen:i,schemaCode:s,schemaType:a,def:l}=this;i.if(qt.or(qt._`${s} === undefined`,e)),r!==qt.nil&&i.assign(r,!0),(a.length||l.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),r!==qt.nil&&i.assign(r,!1)),i.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:i,def:s,it:a}=this;return qt.or(l(),f());function l(){if(i.length){if(!(e instanceof qt.Name))throw new Error("ajv implementation error");let c=Array.isArray(i)?i:[i];return qt._`${zc.checkDataTypes(c,e,a.opts.strict,zc.DataType.Wrong)}`}return qt.nil}function f(){if(s.validateSchema){let c=r.scopeValue("validate$data",{ref:s.validateSchema});return qt._`!${c}(${e})`}return qt.nil}}subschema(r,e){return qy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:i,gen:s}=this;!i.opts.unevaluated||(i.props!==!0&&r.props!==void 0&&(i.props=Is.mergeEvaluated.props(s,r.props,i.props,e)),i.items!==!0&&r.items!==void 0&&(i.items=Is.mergeEvaluated.items(s,r.items,i.items,e)))}mergeValidEvaluated(r,e){let{it:i,gen:s}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return s.if(e,()=>this.mergeEvaluated(r,qt.Name)),!0}};Do.default=vl;function Ny(t,r,e=!1){return!r.length||r.some(i=>i==="array"?Array.isArray(t):i==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==i||e&&typeof t>"u")}function Dy({schema:t,opts:r,self:e},i,s){if(Array.isArray(i.keyword)?!i.keyword.includes(s):i.keyword!==s)throw new Error("ajv implementation error");let a=i.dependencies;if(a!=null&&a.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(i.validateSchema&&!i.validateSchema(t[s])){let f="keyword value is invalid: "+e.errorsText(i.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 Vc(t,{dataLevel:r,dataNames:e,dataPathArr:i}){let s,a;if(t==="")return kl.default.rootData;if(t[0]==="/"){if(!Ry.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);s=t,a=kl.default.rootData}else{let m=Ly.exec(t);if(!m)throw new Error(`Invalid JSON-pointer: ${t}`);let d=+m[1];if(s=m[2],s==="#"){if(d>=r)throw new Error(c("property/index",d));return i[r-d]}if(d>r)throw new Error(c("data",d));if(a=e[r-d],!s)return a}let l=a,f=s.split("/");for(let m of f)m&&(a=qt._`${a}${qt.getProperty(Is.unescapeJsonPointer(m))}`,l=qt._`${l} && ${a}`);return l;function c(m,d){return`Cannot access ${m} ${d} levels up, current level is ${r}`}}Do.getData=Vc});var Ns=me((Qi,Uc)=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.MissingRefError=Qi.ValidationError=void 0;var xl=Oo(),Os=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};Qi.ValidationError=Os;var qs=class extends Error{constructor(r,e,i){super(i||`can't resolve reference ${e} from id ${r}`),this.missingRef=xl.resolveUrl(r,e),this.missingSchema=xl.normalizeId(xl.getFullPath(this.missingRef))}};Qi.MissingRefError=qs;Uc.exports={ValidationError:Os,MissingRefError:qs}});var El=me(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.resolveSchema=Kr.getCompilingSchema=Kr.resolveRef=Kr.compileSchema=Kr.SchemaEnv=void 0;var an=Ne(),jy=Ns(),bi=on(),ln=Oo(),Hc=_t(),By=Lr(),My=ml(),Xi=class{constructor(r){var e;this.refs={},this.dynamicAnchors={};let i;typeof r.schema=="object"&&(i=r.schema),this.schema=r.schema,this.root=r.root||this,this.baseId=(e=r.baseId)!==null&&e!==void 0?e:ln.normalizeId(i==null?void 0:i.$id),this.localRefs=r.localRefs,this.meta=r.meta,this.$async=i==null?void 0:i.$async,this.refs={}}};Kr.SchemaEnv=Xi;function Al(t){let r=Gc.call(this,t);if(r)return r;let e=ln.getFullPath(t.root.baseId),{es5:i,lines:s}=this.opts.code,{ownProperties:a}=this.opts,l=new an.CodeGen(this.scope,{es5:i,lines:s,ownProperties:a}),f;t.$async&&(f=l.scopeValue("Error",{ref:jy.ValidationError,code:an._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let m={gen:l,allErrors:this.opts.allErrors,data:bi.default.data,parentData:bi.default.parentData,parentDataProperty:bi.default.parentDataProperty,dataNames:[bi.default.data],dataPathArr:[an.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:an.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:an.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:an._`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),By.validateFunctionCode(m),l.optimize(this.opts.code.optimize);let $=l.toString();d=`${l.scopeRefs(bi.default.scope)}return ${$}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let k=new Function(`${bi.default.self}`,`${bi.default.scope}`,d)(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:$,scopeValues:l._values}),this.opts.unevaluated){let{props:x,items:I}=m;k.evaluated={props:x instanceof an.Name?void 0:x,items:I instanceof an.Name?void 0:I,dynamicProps:x instanceof an.Name,dynamicItems:I instanceof an.Name},k.source&&(k.source.evaluated=an.stringify(k.evaluated))}return t.validate=k,t}catch($){throw delete t.validate,delete t.validateName,d&&this.logger.error("Error compiling schema, function code:",d),$}finally{this._compilations.delete(t)}}Kr.compileSchema=Al;function zy(t,r,e){var i;e=ln.resolveUrl(r,e);let s=t.refs[e];if(s)return s;let a=Hy.call(this,t,e);if(a===void 0){let l=(i=t.localRefs)===null||i===void 0?void 0:i[e];l&&(a=new Xi({schema:l,root:t,baseId:r}))}if(a!==void 0)return t.refs[e]=Vy.call(this,a)}Kr.resolveRef=zy;function Vy(t){return ln.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Al.call(this,t)}function Gc(t){for(let r of this._compilations)if(Uy(r,t))return r}Kr.getCompilingSchema=Gc;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]||Ds.call(this,t,r)}function Ds(t,r){let e=My.parse(r),i=ln._getFullPath(e),s=ln.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&i===s)return Cl.call(this,e,t);let a=ln.normalizeId(i),l=this.refs[a]||this.schemas[a];if(typeof l=="string"){let f=Ds.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:Cl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Al.call(this,l),a===ln.normalizeId(r)){let{schema:f}=l;return f.$id&&(s=ln.resolveUrl(s,f.$id)),new Xi({schema:f,root:t,baseId:s})}return Cl.call(this,e,l)}}Kr.resolveSchema=Ds;var Gy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Cl(t,{baseId:r,schema:e,root:i}){var s;if(((s=t.fragment)===null||s===void 0?void 0:s[0])!=="/")return;for(let l of t.fragment.slice(1).split("/")){if(typeof e=="boolean"||(e=e[Hc.unescapeFragment(l)],e===void 0))return;!Gy.has(l)&&typeof e=="object"&&e.$id&&(r=ln.resolveUrl(r,e.$id))}let a;if(typeof e!="boolean"&&e.$ref&&!Hc.schemaHasRulesButRef(e,this.RULES)){let l=ln.resolveUrl(r,e.$ref);a=Ds.call(this,i,l)}if(a=a||new Xi({schema:e,root:i,baseId:r}),a.schema!==a.root.schema)return a}});var Kc=me((a1,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 Xc=me(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.CodeGen=Wt.Name=Wt.nil=Wt.stringify=Wt.str=Wt._=Wt.KeywordCxt=void 0;var Wy=Fo();Wt.KeywordCxt=Wy.default;var Yi=Ne();Object.defineProperty(Wt,"_",{enumerable:!0,get:function(){return Yi._}});Object.defineProperty(Wt,"str",{enumerable:!0,get:function(){return Yi.str}});Object.defineProperty(Wt,"stringify",{enumerable:!0,get:function(){return Yi.stringify}});Object.defineProperty(Wt,"nil",{enumerable:!0,get:function(){return Yi.nil}});Object.defineProperty(Wt,"Name",{enumerable:!0,get:function(){return Yi.Name}});Object.defineProperty(Wt,"CodeGen",{enumerable:!0,get:function(){return Yi.CodeGen}});var Pl=Ns(),Zy=Va(),Ro=El(),Jy=Ne(),Rs=Oo(),Ls=Zi(),Sl=_t(),Wc=Kc(),Qy=["removeAdditional","useDefaults","coerceTypes"],Xy=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Yy={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,i,s,a,l,f,c,m,d,$,E;let k=(r=t.strict)!==null&&r!==void 0?r:!0,x=k?"log":!1,I=(e=t.code)===null||e===void 0?void 0:e.optimize,N=I===!0||I===void 0?1:I||0;return{strict:k,strictTypes:(i=t.strictTypes)!==null&&i!==void 0?i:x,strictTuples:(s=t.strictTuples)!==null&&s!==void 0?s:x,code:t.code?{...t.code,optimize:N}:{optimize:N},loopRequired:(a=t.loopRequired)!==null&&a!==void 0?a: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:(m=t.inlineRefs)!==null&&m!==void 0?m:!0,addUsedSchema:(d=t.addUsedSchema)!==null&&d!==void 0?d:!0,validateSchema:($=t.validateSchema)!==null&&$!==void 0?$:!0,validateFormats:(E=t.validateFormats)!==null&&E!==void 0?E:!0}}var Lo=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:i}=this.opts.code;this.scope=new Jy.ValueScope({scope:{},prefixes:Xy,es5:e,lines:i}),this.logger=a$(r.logger);let s=r.validateFormats;r.validateFormats=!1,this.RULES=Zy.getRules(),Zc.call(this,Yy,r,"NOT SUPPORTED"),Zc.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=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Wc,Wc.$id,!1)}defaultMeta(){let{meta:r}=this.opts;return this.opts.defaultMeta=typeof r=="object"?r.$id||r:void 0}validate(r,e){let i;if(typeof r=="string"){if(i=this.getSchema(r),!i)throw new Error(`no schema with key or ref "${r}"`)}else i=this.compile(r);let s=i(e);return"$async"in i||(this.errors=i.errors),s}compile(r,e){let i=this._addSchema(r,e);return i.validate||this._compileSchemaEnv(i)}compileAsync(r,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:i}=this.opts;return s.call(this,r,e);async function s(d,$){await a.call(this,d.$schema);let E=this._addSchema(d,$);return E.validate||l.call(this,E)}async function a(d){d&&!this.getSchema(d)&&await s.call(this,{$ref:d},!0)}async function l(d){try{return this._compileSchemaEnv(d)}catch($){if(!($ instanceof Pl.MissingRefError))throw $;return f.call(this,$),await c.call(this,$.missingSchema),l.call(this,d)}}function f({missingSchema:d,missingRef:$}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${$} cannot be resolved`)}async function c(d){let $=await m.call(this,d);this.refs[d]||await a.call(this,$.$schema),this.refs[d]||this.addSchema($,d,e)}async function m(d){let $=this._loading[d];if($)return $;try{return await(this._loading[d]=i(d))}finally{delete this._loading[d]}}}addSchema(r,e,i,s=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,i,s);return this}let a;if(typeof r=="object"&&(a=r.$id,a!==void 0&&typeof a!="string"))throw new Error("schema id must be string");return e=Rs.normalizeId(e||a),this._checkUnique(e),this.schemas[e]=this._addSchema(r,i,s,!0),this}addMetaSchema(r,e,i=this.opts.validateSchema){return this.addSchema(r,e,!0,i),this}validateSchema(r,e){if(typeof r=="boolean")return!0;let i;if(i=r.$schema,i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this.opts.defaultMeta||this.defaultMeta(),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let s=this.validate(i,r);if(!s&&e){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw new Error(a)}return s}getSchema(r){let e;for(;typeof(e=Jc.call(this,r))=="string";)r=e;if(e===void 0){let i=new Ro.SchemaEnv({schema:{}});if(e=Ro.resolveSchema.call(this,i,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=Jc.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 i=r.$id;return i&&(i=Rs.normalizeId(i),delete this.schemas[i],delete this.refs[i]),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 i;if(typeof r=="string")i=r,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=i);else if(typeof r=="object"&&e===void 0){if(e=r,i=e.keyword,Array.isArray(i)&&!i.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(u$.call(this,i,e),!e)return Sl.eachItem(i,a=>_l.call(this,a)),this;c$.call(this,e);let s={...e,type:Ls.getJSONTypes(e.type),schemaType:Ls.getJSONTypes(e.schemaType)};return Sl.eachItem(i,s.type.length===0?a=>_l.call(this,a,s):a=>s.type.forEach(l=>_l.call(this,a,s,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 i of e.rules){let s=i.rules.findIndex(a=>a.keyword===r);s>=0&&i.rules.splice(s,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:i="data"}={}){return!r||r.length===0?"No errors":r.map(s=>`${i}${s.dataPath} ${s.message}`).reduce((s,a)=>s+e+a)}$dataMetaSchema(r,e){let i=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let s of e){let a=s.split("/").slice(1),l=r;for(let f of a)l=l[f];for(let f in i){let c=i[f];if(typeof c!="object")continue;let{$data:m}=c.definition,d=l[f];m&&d&&(l[f]=Qc(d))}}return r}_removeAllSchemas(r,e){for(let i in r){let s=r[i];(!e||e.test(i))&&(typeof s=="string"?delete r[i]:s&&!s.meta&&(this._cache.delete(s.schema),delete r[i]))}}_addSchema(r,e,i=this.opts.validateSchema,s=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 a=this._cache.get(r);if(a!==void 0)return a;let l=Rs.getSchemaRefs.call(this,r);a=new Ro.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(a.schema,a);let f=a.baseId;return s&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=a),i&&this.validateSchema(r,!0),a}_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):Ro.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{Ro.compileSchema.call(this,r)}finally{this.opts=e}}};Wt.default=Lo;Lo.ValidationError=Pl.ValidationError;Lo.MissingRefError=Pl.MissingRefError;function Zc(t,r,e,i="error"){for(let s in t){let a=s;a in r&&this.logger[i](`${e}: option ${s}. ${t[a]}`)}}function Jc(t){return t=Rs.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(Sl.eachItem(t,i=>{if(e.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!l$.test(i))throw new Error(`Keyword ${i} has invalid name`)}),!!r&&r.$data&&!("code"in r||"validate"in r))throw new Error('$data keyword must have "code" or "validate" function')}function _l(t,r,e){var i;let s=r==null?void 0:r.post;if(e&&s)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:a}=this,l=s?a.post:a.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},a.rules.push(l)),a.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Ls.getJSONTypes(r.type),schemaType:Ls.getJSONTypes(r.schemaType)}};r.before?f$.call(this,l,f,r.before):l.rules.push(f),a.all[t]=f,(i=r.implements)===null||i===void 0||i.forEach(c=>this.addKeyword(c))}function f$(t,r,e){let i=t.rules.findIndex(s=>s.keyword===e);i>=0?t.rules.splice(i,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=Qc(r)),t.validateSchema=this.compile(r,!0))}var p$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Qc(t){return{anyOf:[t,p$]}}});var Yc=me(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});var d$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Tl.default=d$});var np=me(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.callRef=wi.getValidate=void 0;var m$=Ns(),ep=sn(),Sr=Ne(),eo=on(),tp=El(),js=_t(),h$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:i}=t,{baseId:s,schemaEnv:a,validateName:l,opts:f,self:c}=i;if(e==="#"||e==="#/")return d();let m=tp.resolveRef.call(c,a.root,s,e);if(m===void 0)throw new m$.MissingRefError(s,e);if(m instanceof tp.SchemaEnv)return $(m);return E(m);function d(){if(a===a.root)return Bs(t,l,a,a.$async);let k=r.scopeValue("root",{ref:a.root});return Bs(t,Sr._`${k}.validate`,a.root,a.root.$async)}function $(k){let x=rp(t,k);Bs(t,x,k,k.$async)}function E(k){let x=r.scopeValue("schema",f.code.source===!0?{ref:k,code:Sr.stringify(k)}:{ref:k}),I=r.name("valid"),N=t.subschema({schema:k,dataTypes:[],schemaPath:Sr.nil,topSchemaRef:x,errSchemaPath:e},I);t.mergeEvaluated(N),t.ok(I)}}};function rp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Sr._`${e.scopeValue("wrapper",{ref:r})}.validate`}wi.getValidate=rp;function Bs(t,r,e,i){let{gen:s,it:a}=t,{allErrors:l,schemaEnv:f,opts:c}=a,m=c.passContext?eo.default.this:Sr.nil;i?d():$();function d(){if(!f.$async)throw new Error("async schema referenced by sync schema");let x=s.let("valid");s.try(()=>{s.code(Sr._`await ${ep.callValidateCode(t,r,m)}`),k(r),l||s.assign(x,!0)},I=>{s.if(Sr._`!(${I} instanceof ${a.ValidationError})`,()=>s.throw(I)),E(I),l||s.assign(x,!1)}),t.ok(x)}function $(){t.result(ep.callValidateCode(t,r,m),()=>k(r),()=>E(r))}function E(x){let I=Sr._`${x}.errors`;s.assign(eo.default.vErrors,Sr._`${eo.default.vErrors} === null ? ${I} : ${eo.default.vErrors}.concat(${I})`),s.assign(eo.default.errors,Sr._`${eo.default.vErrors}.length`)}function k(x){var I;if(!a.opts.unevaluated)return;let N=(I=e==null?void 0:e.validate)===null||I===void 0?void 0:I.evaluated;if(a.props!==!0)if(N&&!N.dynamicProps)N.props!==void 0&&(a.props=js.mergeEvaluated.props(s,N.props,a.props));else{let B=s.var("props",Sr._`${x}.evaluated.props`);a.props=js.mergeEvaluated.props(s,B,a.props,Sr.Name)}if(a.items!==!0)if(N&&!N.dynamicItems)N.items!==void 0&&(a.items=js.mergeEvaluated.items(s,N.items,a.items));else{let B=s.var("items",Sr._`${x}.evaluated.items`);a.items=js.mergeEvaluated.items(s,B,a.items,Sr.Name)}}}wi.callRef=Bs;wi.default=h$});var ip=me(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});var g$=Yc(),y$=np(),$$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",g$.default,y$.default];Fl.default=$$});var op=me(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var Ms=Ne(),Zn=Ms.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})=>Ms.str`should be ${zs[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Ms._`{comparison: ${zs[t].okStr}, limit: ${r}}`},w$={keyword:Object.keys(zs),type:"number",schemaType:"number",$data:!0,error:b$,code(t){let{keyword:r,data:e,schemaCode:i}=t;t.fail$data(Ms._`${e} ${zs[r].fail} ${i} || isNaN(${e})`)}};Il.default=w$});var sp=me(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});var jo=Ne(),k$={message:({schemaCode:t})=>jo.str`should be multiple of ${t}`,params:({schemaCode:t})=>jo._`{multipleOf: ${t}}`},v$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:k$,code(t){let{gen:r,data:e,schemaCode:i,it:s}=t,a=s.opts.multipleOfPrecision,l=r.let("res"),f=a?jo._`Math.abs(Math.round(${l}) - ${l}) > 1e-${a}`:jo._`${l} !== parseInt(${l})`;t.fail$data(jo._`(${i} === 0 || (${l} = ${e}/${i}, ${f}))`)}};Ol.default=v$});var ap=me(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});function x$(t){let r=t.length,e=0,i=0,s;for(;i<r;)e++,s=t.charCodeAt(i++),s>=55296&&s<=56319&&i<r&&(s=t.charCodeAt(i),(s&64512)===56320&&i++);return e}ql.default=x$});var lp=me(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var Jn=Ne(),C$=ap(),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:i,it:s}=t,a=r==="maxLength"?Jn.operators.GT:Jn.operators.LT,l;if(s.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} ${a} ${i}`)}};Nl.default=E$});var up=me(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var _$=sn(),Vs=Ne(),S$={message:({schemaCode:t})=>Vs.str`should match pattern "${t}"`,params:({schemaCode:t})=>Vs._`{pattern: ${t}}`},P$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:S$,code(t){let{gen:r,data:e,$data:i,schema:s,schemaCode:a}=t,l=i?Vs._`(new RegExp(${a}, "u"))`:_$.usePattern(r,s);t.fail$data(Vs._`!${l}.test(${e})`)}};Dl.default=P$});var fp=me(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var Bo=Ne(),T$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Bo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Bo._`{limit: ${t}}`},F$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:T$,code(t){let{keyword:r,data:e,schemaCode:i}=t,s=r==="maxProperties"?Bo.operators.GT:Bo.operators.LT;t.fail$data(Bo._`Object.keys(${e}).length ${s} ${i}`)}};Rl.default=F$});var cp=me(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var Mo=sn(),zo=Ne(),I$=Lr(),O$={message:({params:{missingProperty:t}})=>zo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>zo._`{missingProperty: ${t}}`},q$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:O$,code(t){let{gen:r,schema:e,schemaCode:i,data:s,$data:a,it:l}=t,{opts:f}=l;if(!a&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?m():d(),f.strictRequired){let k=t.parentSchema.properties,{definedProperties:x}=t.it;for(let I of e)if((k==null?void 0:k[I])===void 0&&!x.has(I)){let N=l.schemaEnv.baseId+l.errSchemaPath,B=`required property "${I}" is not defined at "${N}" (strictRequired)`;I$.checkStrictMode(l,B,l.opts.strictRequired)}}function m(){if(c||a)t.block$data(zo.nil,$);else for(let k of e)Mo.checkReportMissingProp(t,k)}function d(){let k=r.let("missing");if(c||a){let x=r.let("valid",!0);t.block$data(x,()=>E(k,x)),t.ok(x)}else r.if(Mo.checkMissingProp(t,e,k)),Mo.reportMissingProp(t,k),r.else()}function $(){r.forOf("prop",i,k=>{t.setParams({missingProperty:k}),r.if(Mo.noPropertyInData(r,s,k,f.ownProperties),()=>t.error())})}function E(k,x){t.setParams({missingProperty:k}),r.forOf(k,i,()=>{r.assign(x,Mo.propertyInData(r,s,k,f.ownProperties)),r.if(zo.not(x),()=>{t.error(),r.break()})},zo.nil)}}};Ll.default=q$});var pp=me(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var Vo=Ne(),N$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Vo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Vo._`{limit: ${t}}`},D$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:i}=t,s=r==="maxItems"?Vo.operators.GT:Vo.operators.LT;t.fail$data(Vo._`${e}.length ${s} ${i}`)}};jl.default=D$});var dp=me(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var Bl=Zi(),Bt=Ne(),R$=Io(),L$={message:({params:{i:t,j:r}})=>Bt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Bt._`{i: ${t}, j: ${r}}`},j$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:L$,code(t){let{gen:r,data:e,$data:i,schema:s,parentSchema:a,schemaCode:l,it:f}=t;if(!i&&!s)return;let c=r.let("valid"),m=a.items?Bl.getSchemaTypes(a.items):[];t.block$data(c,d,Bt._`${l} === false`),t.ok(c);function d(){let x=r.let("i",Bt._`${e}.length`),I=r.let("j");t.setParams({i:x,j:I}),r.assign(c,!0),r.if(Bt._`${x} > 1`,()=>($()?E:k)(x,I))}function $(){return m.length>0&&!m.some(x=>x==="object"||x==="array")}function E(x,I){let N=r.name("item"),B=Bl.checkDataTypes(m,N,f.opts.strict,Bl.DataType.Wrong),X=r.const("indices",Bt._`{}`);r.for(Bt._`;${x}--;`,()=>{r.let(N,Bt._`${e}[${x}]`),r.if(B,Bt._`continue`),m.length>1&&r.if(Bt._`typeof ${N} == "string"`,Bt._`${N} += "_"`),r.if(Bt._`typeof ${X}[${N}] == "number"`,()=>{r.assign(I,Bt._`${X}[${N}]`),t.error(),r.assign(c,!1).break()}).code(Bt._`${X}[${N}] = ${x}`)})}function k(x,I){let N=t.gen.scopeValue("func",{ref:R$,code:Bt._`require("ajv/dist/compile/equal")`}),B=r.name("outer");r.label(B).for(Bt._`;${x}--;`,()=>r.for(Bt._`${I} = ${x}; ${I}--;`,()=>r.if(Bt._`${N}(${e}[${x}], ${e}[${I}])`,()=>{t.error(),r.assign(c,!1).break(B)})))}}};Ml.default=j$});var mp=me(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var zl=Ne(),B$=Io(),M$={message:"should be equal to constant",params:({schemaCode:t})=>zl._`{allowedValue: ${t}}`},z$={keyword:"const",$data:!0,error:M$,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})`)}};Vl.default=z$});var hp=me(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var to=Ne(),V$=Io(),U$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>to._`{allowedValues: ${t}}`},H$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(t){let{gen:r,data:e,$data:i,schema:s,schemaCode:a,it:l}=t;if(!i&&s.length===0)throw new Error("enum must have non-empty array");let f=s.length>=l.opts.loopEnum,c=t.gen.scopeValue("func",{ref:V$,code:to._`require("ajv/dist/compile/equal")`}),m;if(f||i)m=r.let("valid"),t.block$data(m,d);else{if(!Array.isArray(s))throw new Error("ajv implementation error");let E=r.const("vSchema",a);m=to.or(...s.map((k,x)=>$(E,x)))}t.pass(m);function d(){r.assign(m,!1),r.forOf("v",a,E=>r.if(to._`${c}(${e}, ${E})`,()=>r.assign(m,!0).break()))}function $(E,k){let x=s[k];return x&&typeof x=="object"?to._`${c}(${e}, ${E}[${k}])`:to._`${e} === ${x}`}}};Ul.default=H$});var gp=me(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var G$=op(),K$=sp(),W$=lp(),Z$=up(),J$=fp(),Q$=cp(),X$=pp(),Y$=dp(),eb=mp(),tb=hp(),rb=[G$.default,K$.default,W$.default,Z$.default,J$.default,Q$.default,X$.default,Y$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},eb.default,tb.default];Hl.default=rb});var yp=me(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});var ki=Ne(),nb=yi(),ib=_t(),ob=Lr(),sb={message:({params:{len:t}})=>ki.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>ki._`{limit: ${t}}`},ab={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:sb,code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t,{items:l}=i;if(!Array.isArray(l)){ob.checkStrictMode(a,'"additionalItems" is ignored when "items" is not an array of schemas');return}a.items=!0;let f=r.const("len",ki._`${s}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(ki._`${f} <= ${l.length}`);else if(typeof e=="object"&&!ib.alwaysValidSchema(a,e)){let m=r.var("valid",ki._`${f} <= ${l.length}`);r.if(ki.not(m),()=>c(m)),t.ok(m)}function c(m){r.forRange("i",l.length,f,d=>{t.subschema({keyword:"additionalItems",dataProp:d,dataPropType:nb.Type.Num},m),a.allErrors||r.if(ki.not(m),()=>r.break())})}}};Gl.default=ab});var bp=me(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var $p=Ne(),Kl=_t(),lb=Lr(),ub=sn(),fb={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{gen:r,schema:e,it:i}=t;if(Array.isArray(e))i.opts.unevaluated&&e.length&&i.items!==!0&&(i.items=Kl.mergeEvaluated.items(r,e.length,i.items)),s(e);else{if(i.items=!0,Kl.alwaysValidSchema(i,e))return;t.ok(ub.validateArray(t))}function s(a){let{parentSchema:l,data:f}=t;if(i.opts.strictTuples&&!cb(a.length,l)){let d=`"items" is ${a.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;lb.checkStrictMode(i,d,i.opts.strictTuples)}let c=r.name("valid"),m=r.const("len",$p._`${f}.length`);a.forEach((d,$)=>{Kl.alwaysValidSchema(i,d)||(r.if($p._`${m} > ${$}`,()=>t.subschema({keyword:"items",schemaProp:$,dataProp:$},c)),t.ok(c))})}}};function cb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}Wl.default=fb});var kp=me(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var un=Ne(),pb=yi(),db=_t(),wp=Lr(),mb={message:({params:{min:t,max:r}})=>r===void 0?un.str`should contain at least ${t} valid item(s)`:un.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?un._`{minContains: ${t}}`:un._`{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:i,data:s,it:a}=t,l,f,{minContains:c,maxContains:m}=i;a.opts.next?(l=c===void 0?1:c,f=m):l=1;let d=r.const("len",un._`${s}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){wp.checkStrictMode(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){wp.checkStrictMode(a,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(db.alwaysValidSchema(a,e)){let x=un._`${d} >= ${l}`;f!==void 0&&(x=un._`${x} && ${d} <= ${f}`),t.pass(x);return}a.items=!0;let $=r.name("valid");if(f===void 0&&l===1)E($,()=>r.if($,()=>r.break()));else{r.let($,!1);let x=r.name("_valid"),I=r.let("count",0);E(x,()=>r.if(x,()=>k(I)))}t.result($,()=>t.reset());function E(x,I){r.forRange("i",0,d,N=>{t.subschema({keyword:"contains",dataProp:N,dataPropType:pb.Type.Num,compositeRule:!0},x),I()})}function k(x){r.code(un._`${x}++`),f===void 0?r.if(un._`${x} >= ${l}`,()=>r.assign($,!0).break()):(r.if(un._`${x} > ${f}`,()=>r.assign($,!1).break()),l===1?r.assign($,!0):r.if(un._`${x} >= ${l}`,()=>r.assign($,!0)))}}};Zl.default=hb});var Cp=me(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.validateSchemaDeps=vn.validatePropertyDeps=vn.error=void 0;var Jl=Ne(),gb=_t(),Uo=sn();vn.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let i=r===1?"property":"properties";return Jl.str`should have ${i} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:i}})=>Jl._`{property: ${t},
|
|
6
|
-
missingProperty: ${
|
|
1
|
+
var Ih=Object.create;var _s=Object.defineProperty;var Oh=Object.getOwnPropertyDescriptor;var qh=Object.getOwnPropertyNames;var Rh=Object.getPrototypeOf,Nh=Object.prototype.hasOwnProperty;var he=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Hf=(t,r)=>{for(var e in r)_s(t,e,{get:r[e],enumerable:!0})},Gf=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of qh(r))!Nh.call(t,o)&&o!==e&&_s(t,o,{get:()=>r[o],enumerable:!(n=Oh(r,o))||n.enumerable});return t};var Mr=(t,r,e)=>(e=t!=null?Ih(Rh(t)):{},Gf(r||!t||!t.__esModule?_s(e,"default",{value:t,enumerable:!0}):e,t)),Dh=t=>Gf(_s({},"__esModule",{value:!0}),t);var Ja=he(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.getRules=Qi.isJSONType=void 0;var Lh=["string","number","integer","boolean","null","object","array"],jh=new Set(Lh);function Bh(t){return typeof t=="string"&&jh.has(t)}Qi.isJSONType=Bh;function Mh(){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:{}}}Qi.getRules=Mh});var Za=he(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.shouldUseRule=Qn.shouldUseGroup=Qn.schemaHasRulesForType=void 0;function zh({schema:t,self:r},e){let n=r.RULES.types[e];return n&&n!==!0&&Kf(t,n)}Qn.schemaHasRulesForType=zh;function Kf(t,r){return r.rules.some(e=>Wf(t,e))}Qn.shouldUseGroup=Kf;function Wf(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))}Qn.shouldUseRule=Wf});var Ss=he(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.getProperty=pt.safeStringify=pt.stringify=pt.strConcat=pt.addCodeArg=pt.str=pt._=pt.nil=pt._Code=pt.Name=pt.IDENTIFIER=pt._CodeOrName=void 0;var qo=class{};pt._CodeOrName=qo;pt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var gi=class extends qo{constructor(r){if(super(),!pt.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}}};pt.Name=gi;var xn=class extends qo{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 gi&&(e[n.str]=(e[n.str]||0)+1),e),{})}};pt._Code=xn;pt.nil=new xn("");function Jf(t,...r){let e=[t[0]],n=0;for(;n<r.length;)Xa(e,r[n]),e.push(t[++n]);return new xn(e)}pt._=Jf;var Qa=new xn("+");function Zf(t,...r){let e=[Ro(t[0])],n=0;for(;n<r.length;)e.push(Qa),Xa(e,r[n]),e.push(Qa,Ro(t[++n]));return Vh(e),new xn(e)}pt.str=Zf;function Xa(t,r){r instanceof xn?t.push(...r._items):r instanceof gi?t.push(r):t.push(Gh(r))}pt.addCodeArg=Xa;function Vh(t){let r=1;for(;r<t.length-1;){if(t[r]===Qa){let e=Uh(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Uh(t,r){if(r==='""')return t;if(t==='""')return r;if(typeof t=="string")return r instanceof gi||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 gi))return`"${t}${r.slice(1)}`}function Hh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Zf`${t}${r}`}pt.strConcat=Hh;function Gh(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Ro(Array.isArray(t)?t.join(","):t)}function Kh(t){return new xn(Ro(t))}pt.stringify=Kh;function Ro(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}pt.safeStringify=Ro;function Wh(t){return typeof t=="string"&&pt.IDENTIFIER.test(t)?new xn(`.${t}`):Jf`[${t}]`}pt.getProperty=Wh});var rl=he(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.ValueScope=yr.ValueScopeName=yr.Scope=yr.varKinds=yr.UsedValueState=void 0;var Pr=Ss(),Ya=class extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}},el;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(el=yr.UsedValueState||(yr.UsedValueState={}));yr.varKinds={const:new Pr.Name("const"),let:new Pr.Name("let"),var:new Pr.Name("var")};var Ps=class{constructor({prefixes:r,parent:e}={}){this._names={},this._prefixes=r,this._parent=e}toName(r){return r instanceof Pr.Name?r:this.name(r)}name(r){return new Pr.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}}};yr.Scope=Ps;var Fs=class extends Pr.Name{constructor(r,e){super(e),this.prefix=r}setValue(r,{property:e,itemIndex:n}){this.value=r,this.scopePath=Pr._`.${new Pr.Name(e)}[${n}]`}};yr.ValueScopeName=Fs;var Jh=Pr._`\n`,tl=class extends Ps{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?Jh:Pr.nil}}get(){return this._scope}name(r){return new Fs(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 Pr._`${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=Pr.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,el.Started);let h=e(g);if(h){let w=this.opts.es5?yr.varKinds.var:yr.varKinds.const;s=Pr._`${s}${w} ${g} = ${h};${this.opts._n}`}else if(h=o==null?void 0:o(g))s=Pr._`${s}${h}${this.opts._n}`;else throw new Ya(g);c.set(g,el.Completed)})}return s}};yr.ValueScope=tl});var Be=he(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.or=Ve.and=Ve.not=Ve.CodeGen=Ve.operators=Ve.varKinds=Ve.ValueScopeName=Ve.ValueScope=Ve.Scope=Ve.Name=Ve.stringify=Ve.getProperty=Ve.nil=Ve.strConcat=Ve.str=Ve._=void 0;var We=Ss(),un=rl(),bi=Ss();Object.defineProperty(Ve,"_",{enumerable:!0,get:function(){return bi._}});Object.defineProperty(Ve,"str",{enumerable:!0,get:function(){return bi.str}});Object.defineProperty(Ve,"strConcat",{enumerable:!0,get:function(){return bi.strConcat}});Object.defineProperty(Ve,"nil",{enumerable:!0,get:function(){return bi.nil}});Object.defineProperty(Ve,"getProperty",{enumerable:!0,get:function(){return bi.getProperty}});Object.defineProperty(Ve,"stringify",{enumerable:!0,get:function(){return bi.stringify}});Object.defineProperty(Ve,"Name",{enumerable:!0,get:function(){return bi.Name}});var qs=rl();Object.defineProperty(Ve,"Scope",{enumerable:!0,get:function(){return qs.Scope}});Object.defineProperty(Ve,"ValueScope",{enumerable:!0,get:function(){return qs.ValueScope}});Object.defineProperty(Ve,"ValueScopeName",{enumerable:!0,get:function(){return qs.ValueScopeName}});Object.defineProperty(Ve,"varKinds",{enumerable:!0,get:function(){return qs.varKinds}});Ve.operators={GT:new We._Code(">"),GTE:new We._Code(">="),LT:new We._Code("<"),LTE:new We._Code("<="),EQ:new We._Code("==="),NEQ:new We._Code("!=="),NOT:new We._Code("!"),OR:new We._Code("||"),AND:new We._Code("&&"),ADD:new We._Code("+")};var Ln=class{optimizeNodes(){return this}optimizeNames(r,e){return this}},nl=class extends Ln{constructor(r,e,n){super(),this.varKind=r,this.name=e,this.rhs=n}render({es5:r,_n:e}){let n=r?un.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=Yi(this.rhs,r,e)),this}get names(){return this.rhs instanceof We._CodeOrName?this.rhs.names:{}}},Ts=class extends Ln{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 We.Name&&!r[this.lhs.str]&&!this.sideEffects))return this.rhs=Yi(this.rhs,r,e),this}get names(){let r=this.lhs instanceof We.Name?{}:{...this.lhs.names};return Os(r,this.rhs)}},il=class extends Ts{constructor(r,e,n,o){super(r,n,o),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},ol=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},sl=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`break${this.label?` ${this.label}`:""};`+r}},al=class extends Ln{constructor(r){super(),this.error=r}render({_n:r}){return`throw ${this.error};`+r}get names(){return this.error.names}},ll=class extends Ln{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=Yi(this.code,r,e),this}get names(){return this.code instanceof We._CodeOrName?this.code.names:{}}},No=class extends Ln{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)||(Zh(r,s.names),n.splice(o,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>$i(r,e.names),{})}},jn=class extends No{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},ul=class extends No{},Xi=class extends jn{};Xi.kind="else";var fn=class extends jn{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 Xi(n):n}if(e)return r===!1?e instanceof fn?e:e.nodes:this.nodes.length?this:new fn(Qf(r),e instanceof fn?[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=Yi(this.condition,r,e),this}get names(){let r=super.names;return Os(r,this.condition),this.else&&$i(r,this.else.names),r}};fn.kind="if";var yi=class extends jn{};yi.kind="for";var fl=class extends yi{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=Yi(this.iteration,r,e),this}get names(){return $i(super.names,this.iteration.names)}},cl=class extends yi{constructor(r,e,n,o){super(),this.varKind=r,this.name=e,this.from=n,this.to=o}render(r){let e=r.es5?un.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=Os(super.names,this.from);return Os(r,this.to)}},Is=class extends yi{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=Yi(this.iterable,r,e),this}get names(){return $i(super.names,this.iterable.names)}},Do=class extends jn{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)}};Do.kind="func";var Lo=class extends No{render(r){return"return "+super.render(r)}};Lo.kind="return";var pl=class extends jn{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&&$i(r,this.catch.names),this.finally&&$i(r,this.finally.names),r}},jo=class extends jn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};jo.kind="catch";var Bo=class extends jn{render(r){return"finally"+super.render(r)}};Bo.kind="finally";var dl=class{constructor(r,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...e,_n:e.lines?`
|
|
2
|
+
`:""},this._extScope=r,this._scope=new un.Scope({parent:r}),this._nodes=[new ul]}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 nl(r,s,n)),s}const(r,e,n){return this._def(un.varKinds.const,r,e,n)}let(r,e,n){return this._def(un.varKinds.let,r,e,n)}var(r,e,n){return this._def(un.varKinds.var,r,e,n)}assign(r,e,n){return this._leafNode(new Ts(r,e,n))}add(r,e){return this._leafNode(new il(r,Ve.operators.ADD,e))}code(r){return typeof r=="function"?r():r!==We.nil&&this._leafNode(new ll(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(":"),We.addCodeArg(e,o));return e.push("}"),new We._Code(e)}if(r,e,n){if(this._blockNode(new fn(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 fn(r))}else(){return this._elseNode(new Xi)}endIf(){return this._endBlockNode(fn,Xi)}_for(r,e){return this._blockNode(r),e&&this.code(e).endFor(),this}for(r,e){return this._for(new fl(r),e)}forRange(r,e,n,o,s=this.opts.es5?un.varKinds.var:un.varKinds.let){let l=this._scope.toName(r);return this._for(new cl(s,l,e,n),()=>o(l))}forOf(r,e,n,o=un.varKinds.const){let s=this._scope.toName(r);if(this.opts.es5){let l=e instanceof We.Name?e:this.var("_arr",e);return this.forRange("_i",0,We._`${l}.length`,f=>{this.var(s,We._`${l}[${f}]`),n(s)})}return this._for(new Is("of",o,s,e),()=>n(s))}forIn(r,e,n,o=this.opts.es5?un.varKinds.var:un.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,We._`Object.keys(${e})`,n);let s=this._scope.toName(r);return this._for(new Is("in",o,s,e),()=>n(s))}endFor(){return this._endBlockNode(yi)}label(r){return this._leafNode(new ol(r))}break(r){return this._leafNode(new sl(r))}return(r){let e=new Lo;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Lo)}try(r,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let o=new pl;if(this._blockNode(o),this.code(r),e){let s=this.name("e");this._currNode=o.catch=new jo(s),e(s)}return n&&(this._currNode=o.finally=new Bo,this.code(n)),this._endBlockNode(jo,Bo)}throw(r){return this._leafNode(new al(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=We.nil,n,o){return this._blockNode(new Do(r,e,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(Do)}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 fn))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}};Ve.CodeGen=dl;function $i(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Os(t,r){return r instanceof We._CodeOrName?$i(t,r.names):t}function Yi(t,r,e){if(t instanceof We.Name)return n(t);if(!o(t))return t;return new We._Code(t._items.reduce((s,l)=>(l instanceof We.Name&&(l=n(l)),l instanceof We._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 We._Code&&s._items.some(l=>l instanceof We.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function Zh(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function Qf(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:We._`!${ml(t)}`}Ve.not=Qf;var Qh=Xf(Ve.operators.AND);function Xh(...t){return t.reduce(Qh)}Ve.and=Xh;var Yh=Xf(Ve.operators.OR);function eg(...t){return t.reduce(Yh)}Ve.or=eg;function Xf(t){return(r,e)=>r===We.nil?e:e===We.nil?r:We._`${ml(r)} ${t} ${ml(e)}`}function ml(t){return t instanceof We.Name?t:We._`(${t})`}});var cn=he(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var sr=Be(),tg={data:new sr.Name("data"),valCxt:new sr.Name("valCxt"),dataPath:new sr.Name("dataPath"),parentData:new sr.Name("parentData"),parentDataProperty:new sr.Name("parentDataProperty"),rootData:new sr.Name("rootData"),dynamicAnchors:new sr.Name("dynamicAnchors"),vErrors:new sr.Name("vErrors"),errors:new sr.Name("errors"),this:new sr.Name("this"),self:new sr.Name("self"),scope:new sr.Name("scope"),json:new sr.Name("json"),jsonPos:new sr.Name("jsonPos"),jsonLen:new sr.Name("jsonLen"),jsonPart:new sr.Name("jsonPart")};hl.default=tg});var Mo=he(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.extendErrors=ar.resetErrorsCount=ar.reportExtraError=ar.reportError=ar.keyword$DataError=ar.keywordError=void 0;var Je=Be(),lr=cn();ar.keywordError={message:({keyword:t})=>Je.str`should pass "${t}" keyword validation`};ar.keyword$DataError={message:({keyword:t,schemaType:r})=>r?Je.str`"${t}" keyword must be ${r} ($data)`:Je.str`"${t}" keyword is invalid ($data)`};function rg(t,r=ar.keywordError,e){let{it:n}=t,{gen:o,compositeRule:s,allErrors:l}=n,f=tc(t,r);e??(s||l)?Yf(o,f):ec(n,Je._`[${f}]`)}ar.reportError=rg;function ng(t,r=ar.keywordError){let{it:e}=t,{gen:n,compositeRule:o,allErrors:s}=e,l=tc(t,r);Yf(n,l),o||s||ec(e,lr.default.vErrors)}ar.reportExtraError=ng;function ig(t,r){t.assign(lr.default.errors,r),t.if(Je._`${lr.default.vErrors} !== null`,()=>t.if(r,()=>t.assign(Je._`${lr.default.vErrors}.length`,r),()=>t.assign(lr.default.vErrors,null)))}ar.resetErrorsCount=ig;function og({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,lr.default.errors,f=>{t.const(l,Je._`${lr.default.vErrors}[${f}]`),t.if(Je._`${l}.dataPath === undefined`,()=>t.assign(Je._`${l}.dataPath`,Je.strConcat(lr.default.dataPath,s.errorPath))),t.assign(Je._`${l}.schemaPath`,Je.str`${s.errSchemaPath}/${r}`),s.opts.verbose&&(t.assign(Je._`${l}.schema`,e),t.assign(Je._`${l}.data`,n))})}ar.extendErrors=og;function Yf(t,r){let e=t.const("err",r);t.if(Je._`${lr.default.vErrors} === null`,()=>t.assign(lr.default.vErrors,Je._`[${e}]`),Je._`${lr.default.vErrors}.push(${e})`),t.code(Je._`${lr.default.errors}++`)}function ec(t,r){let{gen:e,validateName:n,schemaEnv:o}=t;o.$async?e.throw(Je._`new ${t.ValidationError}(${r})`):(e.assign(Je._`${n}.errors`,r),e.return(!1))}var Cn={keyword:new Je.Name("keyword"),schemaPath:new Je.Name("schemaPath"),params:new Je.Name("params"),propertyName:new Je.Name("propertyName"),message:new Je.Name("message"),schema:new Je.Name("schema"),parentSchema:new Je.Name("parentSchema"),instancePath:new Je.Name("instancePath")};function tc(t,r){let{createErrors:e,opts:n}=t.it;return e===!1?Je._`{}`:(n.jtd&&!n.ajvErrors?sg:ag)(t,r)}function sg(t,{message:r}){let{gen:e,keyword:n,it:o}=t,{errorPath:s,errSchemaPath:l,opts:f}=o,c=[[Cn.instancePath,Je.strConcat(lr.default.dataPath,s)],[Cn.schemaPath,Je.str`${l}/${n}`]];return f.messages&&c.push([Cn.message,typeof r=="function"?r(t):r]),e.object(...c)}function ag(t,r){let{gen:e,keyword:n,data:o,schemaValue:s,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:g,errSchemaPath:h,propertyName:w,opts:E}=l,{params:C,message:x}=r,O=[[Cn.keyword,n],[lr.default.dataPath,Je.strConcat(lr.default.dataPath,g)],[Cn.schemaPath,Je.str`${h}/${n}`],[Cn.params,typeof C=="function"?C(t):C||Je._`{}`]];return w&&O.push([Cn.propertyName,w]),E.messages&&O.push([Cn.message,typeof x=="function"?x(t):x]),E.verbose&&O.push([Cn.schema,s],[Cn.parentSchema,Je._`${f}${c}`],[lr.default.data,o]),e.object(...O)}});var nc=he(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.boolOrEmptySchema=eo.topBoolOrEmptySchema=void 0;var lg=Mo(),ug=Be(),fg=cn(),cg={message:"boolean schema is false"};function pg(t){let{gen:r,schema:e,validateName:n}=t;e===!1?rc(t,!1):typeof e=="object"&&e.$async===!0?r.return(fg.default.data):(r.assign(ug._`${n}.errors`,null),r.return(!0))}eo.topBoolOrEmptySchema=pg;function dg(t,r){let{gen:e,schema:n}=t;n===!1?(e.var(r,!1),rc(t)):e.var(r,!0)}eo.boolOrEmptySchema=dg;function rc(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};lg.reportError(o,cg,r)}});var oc=he(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.assignDefaults=void 0;var to=Be(),mg=zr();function hg(t,r){let{properties:e,items:n}=t.schema;if(r==="object"&&e)for(let o in e)ic(t,o,e[o].default);else r==="array"&&Array.isArray(n)&&n.forEach((o,s)=>ic(t,s,o.default))}Rs.assignDefaults=hg;function ic(t,r,e){let{gen:n,compositeRule:o,data:s,opts:l}=t;if(e===void 0)return;let f=to._`${s}${to.getProperty(r)}`;if(o){mg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=to._`${f} === undefined`;l.useDefaults==="empty"&&(c=to._`${c} || ${f} === null || ${f} === ""`),n.if(c,to._`${f} = ${to.stringify(e)}`)}});var ki=he(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.applySubschema=wi.Type=void 0;var gg=zr(),sc=_t(),ur=Be(),ac;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(ac=wi.Type||(wi.Type={}));function yg(t,r,e){let n=$g(t,r);bg(n,t,r),wg(n,r);let o={...t,...n,items:void 0,props:void 0};return gg.subschemaCode(o,e),o}wi.applySubschema=yg;function $g(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:ur._`${t.schemaPath}${ur.getProperty(r)}`,errSchemaPath:`${t.errSchemaPath}/${r}`}:{schema:f[e],schemaPath:ur._`${t.schemaPath}${ur.getProperty(r)}${ur.getProperty(e)}`,errSchemaPath:`${t.errSchemaPath}/${r}/${sc.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 bg(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:w}=r,E=f.let("data",ur._`${r.data}${ur.getProperty(e)}`,!0);c(E),t.errorPath=ur.str`${g}${kg(e,n,w.jsPropertySyntax)}`,t.parentDataProperty=ur._`${e}`,t.dataPathArr=[...h,t.parentDataProperty]}if(o!==void 0){let g=o instanceof ur.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 wg(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 kg(t,r,e){if(t instanceof ur.Name){let n=r===ac.Num;return e?n?ur._`"[" + ${t} + "]"`:ur._`"['" + ${t} + "']"`:n?ur._`"/" + ${t}`:ur._`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?ur.getProperty(t).toString():"/"+sc.escapeJsonPointer(t)}});var pn=he(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.validateUnion=dt.validateArray=dt.usePattern=dt.callValidateCode=dt.schemaProperties=dt.allSchemaProperties=dt.noPropertyInData=dt.propertyInData=dt.isOwnProperty=dt.hasPropFunc=dt.reportMissingProp=dt.checkMissingProp=dt.checkReportMissingProp=void 0;var vt=Be(),lc=_t(),vg=ki(),Xn=cn();function xg(t,r){let{gen:e,data:n,it:o}=t;e.if(yl(e,n,r,o.opts.ownProperties),()=>{t.setParams({missingProperty:vt._`${r}`},!0),t.error()})}dt.checkReportMissingProp=xg;function Cg({gen:t,data:r,it:{opts:e}},n,o){return vt.or(...n.map(s=>vt.and(yl(t,r,s,e.ownProperties),vt._`${o} = ${s}`)))}dt.checkMissingProp=Cg;function Ag(t,r){t.setParams({missingProperty:r},!0),t.error()}dt.reportMissingProp=Ag;function uc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:vt._`Object.prototype.hasOwnProperty`})}dt.hasPropFunc=uc;function gl(t,r,e){return vt._`${uc(t)}.call(${r}, ${e})`}dt.isOwnProperty=gl;function Eg(t,r,e,n){let o=vt._`${r}${vt.getProperty(e)} !== undefined`;return n?vt._`${o} && ${gl(t,r,e)}`:o}dt.propertyInData=Eg;function yl(t,r,e,n){let o=vt._`${r}${vt.getProperty(e)} === undefined`;return n?vt.or(o,vt.not(gl(t,r,e))):o}dt.noPropertyInData=yl;function fc(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}dt.allSchemaProperties=fc;function _g(t,r){return fc(r).filter(e=>!lc.alwaysValidSchema(t,r[e]))}dt.schemaProperties=_g;function Sg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:n,schemaPath:o,errorPath:s},it:l},f,c,g){let h=g?vt._`${t}, ${r}, ${n}${o}`:r,w=[[Xn.default.dataPath,vt.strConcat(Xn.default.dataPath,s)],[Xn.default.parentData,l.parentData],[Xn.default.parentDataProperty,l.parentDataProperty],[Xn.default.rootData,Xn.default.rootData]];l.opts.dynamicRef&&w.push([Xn.default.dynamicAnchors,Xn.default.dynamicAnchors]);let E=vt._`${h}, ${e.object(...w)}`;return c!==vt.nil?vt._`${f}.call(${c}, ${E})`:vt._`${f}(${E})`}dt.callValidateCode=Sg;function Pg(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:vt._`new RegExp(${r}, "u")`})}dt.usePattern=Pg;function Fg(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",vt._`${e}.length`);r.forRange("i",0,c,g=>{t.subschema({keyword:n,dataProp:g,dataPropType:vg.Type.Num},s),r.if(vt.not(s),f)})}}dt.validateArray=Fg;function Tg(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=>lc.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,vt._`${l} || ${f}`),t.mergeValidEvaluated(h,f)||r.if(vt.not(l))})),t.result(l,()=>t.reset(),()=>t.error(!0))}dt.validateUnion=Tg});var mc=he(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.keywordCode=void 0;var Ig=zo(),Og=Mo(),qg=pn(),$r=Be(),vi=cn();function Rg(t,r,e,n){let o=new Ig.default(t,e,r);"code"in e?e.code(o,n):o.$data&&e.validate?cc(o,e):"macro"in e?Ng(o,e):(e.compile||e.validate)&&cc(o,e)}Ns.keywordCode=Rg;function Ng(t,r){let{gen:e,keyword:n,schema:o,parentSchema:s,it:l}=t,f=r.macro.call(l.self,o,s,l),c=dc(e,n,f);l.opts.validateSchema!==!1&&l.self.validateSchema(f,!0);let g=e.name("valid");t.subschema({schema:f,schemaPath:$r.nil,errSchemaPath:`${l.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:!0},g),t.pass(g,()=>t.error(!0))}function cc(t,r){var e;let{gen:n,keyword:o,schema:s,parentSchema:l,$data:f,it:c}=t;Lg(c,r);let g=!f&&r.compile?r.compile.call(c.self,s,l,c):r.validate,h=dc(n,o,g),w=n.let("valid");t.block$data(w,E),t.ok((e=r.valid)!==null&&e!==void 0?e:w);function E(){if(r.errors===!1)O(),r.modifying&&pc(t),R(()=>t.error());else{let j=r.async?C():x();r.modifying&&pc(t),R(()=>Dg(t,j))}}function C(){let j=n.let("ruleErrs",null);return n.try(()=>O($r._`await `),Y=>n.assign(w,!1).if($r._`${Y} instanceof ${c.ValidationError}`,()=>n.assign(j,$r._`${Y}.errors`),()=>n.throw(Y))),j}function x(){let j=$r._`${h}.errors`;return n.assign(j,null),O($r.nil),j}function O(j=r.async?$r._`await `:$r.nil){let Y=c.opts.passContext?vi.default.this:vi.default.self,ae=!("compile"in r&&!f||r.schema===!1);n.assign(w,$r._`${j}${qg.callValidateCode(t,h,Y,ae)}`,r.modifying)}function R(j){var Y;n.if($r.not((Y=r.valid)!==null&&Y!==void 0?Y:w),j)}}function pc(t){let{gen:r,data:e,it:n}=t;r.if(n.parentData,()=>r.assign(e,$r._`${n.parentData}[${n.parentDataProperty}]`))}function Dg(t,r){let{gen:e}=t;e.if($r._`Array.isArray(${r})`,()=>{e.assign(vi.default.vErrors,$r._`${vi.default.vErrors} === null ? ${r} : ${vi.default.vErrors}.concat(${r})`).assign(vi.default.errors,$r._`${vi.default.vErrors}.length`),Og.extendErrors(t)},()=>t.error())}function Lg({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function dc(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:$r.stringify(e)})}});var bc=he(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.schemaKeywords=void 0;var $l=Za(),hc=ro(),jg=oc(),$c=mc(),Bg=_t(),Mg=zr(),zg=Be(),Vg=cn();function Ug(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||!Bg.schemaHasRulesButRef(s,h))){o.block(()=>$c.keywordCode(t,"$ref",h.all.$ref.definition));return}c.jtd||Hg(t,r),o.block(()=>{for(let E of h.rules)w(E);w(h.post)});function w(E){!$l.shouldUseGroup(s,E)||(E.type?(o.if(hc.checkDataType(E.type,l,c.strict)),gc(t,E),r.length===1&&r[0]===E.type&&e&&(o.else(),hc.reportTypeError(t)),o.endIf()):gc(t,E),f||o.if(zg._`${Vg.default.errors} === ${n||0}`))}}Ds.schemaKeywords=Ug;function gc(t,r){let{gen:e,schema:n,opts:{useDefaults:o}}=t;o&&jg.assignDefaults(t,r.type),e.block(()=>{for(let s of r.rules)$l.shouldUseRule(n,s)&&$c.keywordCode(t,s.keyword,s.definition,r.type)})}function Hg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(Gg(t,r),t.opts.allowUnionTypes||Kg(t,r),Wg(t,t.dataTypes))}function Gg(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{yc(t.dataTypes,e)||bl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>yc(r,e))}}function Kg(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&bl(t,"use allowUnionTypes to allow union type keyword")}function Wg(t,r){let e=t.self.RULES.all;for(let n in e){let o=e[n];if(typeof o=="object"&&$l.shouldUseRule(t.schema,o)){let{type:s}=o.definition;s.length&&!s.some(l=>Jg(r,l))&&bl(t,`missing type "${s.join(",")}" for keyword "${n}"`)}}}function Jg(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function yc(t,r){return t.includes(r)||r==="integer"&&t.includes("number")}function bl(t,r){let e=t.schemaEnv.baseId+t.errSchemaPath;r+=` at "${e}" (strictTypes)`,Mg.checkStrictMode(t,r,t.opts.strictTypes)}});var Vo=he((a1,wc)=>{"use strict";wc.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 vc=he((l1,kc)=>{"use strict";var Yn=kc.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(){};Ls(r,n,o,t,"",t)};Yn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Yn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Yn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Yn.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 Ls(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 w=n[h];if(Array.isArray(w)){if(h in Yn.arrayKeywords)for(var E=0;E<w.length;E++)Ls(t,r,e,w[E],o+"/"+h+"/"+E,s,o,h,n,E)}else if(h in Yn.propsKeywords){if(w&&typeof w=="object")for(var C in w)Ls(t,r,e,w[C],o+"/"+h+"/"+Zg(C),s,o,h,n,C)}else(h in Yn.keywords||t.allKeys&&!(h in Yn.skipKeywords))&&Ls(t,r,e,w,o+"/"+h,s,o,h,n)}e(n,o,s,l,f,c,g)}}function Zg(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var wl=he((js,xc)=>{(function(t,r){typeof js=="object"&&typeof xc<"u"?r(js):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(js,function(t){"use strict";function r(){for(var U=arguments.length,N=Array(U),J=0;J<U;J++)N[J]=arguments[J];if(N.length>1){N[0]=N[0].slice(0,-1);for(var te=N.length-1,ne=1;ne<te;++ne)N[ne]=N[ne].slice(1,-1);return N[te]=N[te].slice(1),N.join("")}else return N[0]}function e(U){return"(?:"+U+")"}function n(U){return U===void 0?"undefined":U===null?"null":Object.prototype.toString.call(U).split(" ").pop().split("]").shift().toLowerCase()}function o(U){return U.toUpperCase()}function s(U){return U!=null?U instanceof Array?U:typeof U.length!="number"||U.split||U.setInterval||U.call?[U]:Array.prototype.slice.call(U):[]}function l(U,N){var J=U;if(N)for(var te in N)J[te]=N[te];return J}function f(U){var N="[A-Za-z]",J="[\\x0D]",te="[0-9]",ne="[\\x22]",de=r(te,"[A-Fa-f]"),_e="[\\x0A]",Le="[\\x20]",Ge=e(e("%[EFef]"+de+"%"+de+de+"%"+de+de)+"|"+e("%[89A-Fa-f]"+de+"%"+de+de)+"|"+e("%"+de+de)),yt="[\\:\\/\\?\\#\\[\\]\\@]",Te="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",st=r(yt,Te),kt=U?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ut=U?"[\\uE000-\\uF8FF]":"[]",ze=r(N,te,"[\\-\\.\\_\\~]",kt),ft=e(N+r(N,te,"[\\+\\-\\.]")+"*"),Xe=e(e(Ge+"|"+r(ze,Te,"[\\:]"))+"*"),Hr=e(e("25[0-5]")+"|"+e("2[0-4]"+te)+"|"+e("1"+te+te)+"|"+e("[1-9]"+te)+"|"+te),Kt=e(e("25[0-5]")+"|"+e("2[0-4]"+te)+"|"+e("1"+te+te)+"|"+e("0?[1-9]"+te)+"|0?0?"+te),rr=e(Kt+"\\."+Kt+"\\."+Kt+"\\."+Kt),Ye=e(de+"{1,4}"),jt=e(e(Ye+"\\:"+Ye)+"|"+rr),nr=e(e(Ye+"\\:")+"{6}"+jt),Cr=e("\\:\\:"+e(Ye+"\\:")+"{5}"+jt),Gr=e(e(Ye)+"?\\:\\:"+e(Ye+"\\:")+"{4}"+jt),Ar=e(e(e(Ye+"\\:")+"{0,1}"+Ye)+"?\\:\\:"+e(Ye+"\\:")+"{3}"+jt),$n=e(e(e(Ye+"\\:")+"{0,2}"+Ye)+"?\\:\\:"+e(Ye+"\\:")+"{2}"+jt),qn=e(e(e(Ye+"\\:")+"{0,3}"+Ye)+"?\\:\\:"+Ye+"\\:"+jt),Rn=e(e(e(Ye+"\\:")+"{0,4}"+Ye)+"?\\:\\:"+jt),ir=e(e(e(Ye+"\\:")+"{0,5}"+Ye)+"?\\:\\:"+Ye),Er=e(e(e(Ye+"\\:")+"{0,6}"+Ye)+"?\\:\\:"),Wt=e([nr,Cr,Gr,Ar,$n,qn,Rn,ir,Er].join("|")),sn=e(e(ze+"|"+Ge)+"+"),Hn=e(Wt+"\\%25"+sn),Kr=e(Wt+e("\\%25|\\%(?!"+de+"{2})")+sn),i=e("[vV]"+de+"+\\."+r(ze,Te,"[\\:]")+"+"),ue=e("\\["+e(Kr+"|"+Wt+"|"+i)+"\\]"),Wr=e(e(Ge+"|"+r(ze,Te))+"*"),Bt=e(ue+"|"+rr+"(?!"+Wr+")|"+Wr),Rr=e(te+"*"),v=e(e(Xe+"@")+"?"+Bt+e("\\:"+Rr)+"?"),Nr=e(Ge+"|"+r(ze,Te,"[\\:\\@]")),bn=e(Nr+"*"),wo=e(Nr+"+"),hs=e(e(Ge+"|"+r(ze,Te,"[\\@]"))+"+"),Jr=e(e("\\/"+bn)+"*"),je=e("\\/"+e(wo+Jr)+"?"),gr=e(hs+Jr),Gn=e(wo+Jr),an="(?!"+Nr+")",ko=e(Jr+"|"+je+"|"+gr+"|"+Gn+"|"+an),Zr=e(e(Nr+"|"+r("[\\/\\?]",ut))+"*"),Dr=e(e(Nr+"|[\\/\\?]")+"*"),W=e(e("\\/\\/"+v+Jr)+"|"+je+"|"+Gn+"|"+an),ji=e(ft+"\\:"+W+e("\\?"+Zr)+"?"+e("\\#"+Dr)+"?"),Bi=e(e("\\/\\/"+v+Jr)+"|"+je+"|"+gr+"|"+an),ui=e(Bi+e("\\?"+Zr)+"?"+e("\\#"+Dr)+"?"),fi=e(ji+"|"+ui),gs=e(ft+"\\:"+W+e("\\?"+Zr)+"?"),Fa="^("+ft+")\\:"+e(e("\\/\\/("+e("("+Xe+")@")+"?("+Bt+")"+e("\\:("+Rr+")")+"?)")+"?("+Jr+"|"+je+"|"+Gn+"|"+an+")")+e("\\?("+Zr+")")+"?"+e("\\#("+Dr+")")+"?$",Mi="^(){0}"+e(e("\\/\\/("+e("("+Xe+")@")+"?("+Bt+")"+e("\\:("+Rr+")")+"?)")+"?("+Jr+"|"+je+"|"+gr+"|"+an+")")+e("\\?("+Zr+")")+"?"+e("\\#("+Dr+")")+"?$",ln="^("+ft+")\\:"+e(e("\\/\\/("+e("("+Xe+")@")+"?("+Bt+")"+e("\\:("+Rr+")")+"?)")+"?("+Jr+"|"+je+"|"+Gn+"|"+an+")")+e("\\?("+Zr+")")+"?$",vo="^"+e("\\#("+Dr+")")+"?$",xo="^"+e("("+Xe+")@")+"?("+Bt+")"+e("\\:("+Rr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",N,te,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",ze,Te),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",ze,Te),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",ze,Te),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",ze,Te),"g"),NOT_QUERY:new RegExp(r("[^\\%]",ze,Te,"[\\:\\@\\/\\?]",ut),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",ze,Te,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",ze,Te),"g"),UNRESERVED:new RegExp(ze,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",ze,st),"g"),PCT_ENCODED:new RegExp(Ge,"g"),IPV4ADDRESS:new RegExp("^("+rr+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Wt+")"+e(e("\\%25|\\%(?!"+de+"{2})")+"("+sn+")")+"?\\]?$")}}var c=f(!1),g=f(!0),h=function(){function U(N,J){var te=[],ne=!0,de=!1,_e=void 0;try{for(var Le=N[Symbol.iterator](),Ge;!(ne=(Ge=Le.next()).done)&&(te.push(Ge.value),!(J&&te.length===J));ne=!0);}catch(yt){de=!0,_e=yt}finally{try{!ne&&Le.return&&Le.return()}finally{if(de)throw _e}}return te}return function(N,J){if(Array.isArray(N))return N;if(Symbol.iterator in Object(N))return U(N,J);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),w=function(U){if(Array.isArray(U)){for(var N=0,J=Array(U.length);N<U.length;N++)J[N]=U[N];return J}else return Array.from(U)},E=2147483647,C=36,x=1,O=26,R=38,j=700,Y=72,ae=128,$e="-",ge=/^xn--/,oe=/[^\0-\x7E]/,be=/[\x2E\u3002\uFF0E\uFF61]/g,Ae={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=C-x,He=Math.floor,Pe=String.fromCharCode;function Fe(U){throw new RangeError(Ae[U])}function me(U,N){for(var J=[],te=U.length;te--;)J[te]=N(U[te]);return J}function Ee(U,N){var J=U.split("@"),te="";J.length>1&&(te=J[0]+"@",U=J[1]),U=U.replace(be,".");var ne=U.split("."),de=me(ne,N).join(".");return te+de}function rt(U){for(var N=[],J=0,te=U.length;J<te;){var ne=U.charCodeAt(J++);if(ne>=55296&&ne<=56319&&J<te){var de=U.charCodeAt(J++);(de&64512)==56320?N.push(((ne&1023)<<10)+(de&1023)+65536):(N.push(ne),J--)}else N.push(ne)}return N}var ee=function(N){return String.fromCodePoint.apply(String,w(N))},xt=function(N){return N-48<10?N-22:N-65<26?N-65:N-97<26?N-97:C},Qe=function(N,J){return N+22+75*(N<26)-((J!=0)<<5)},$t=function(N,J,te){var ne=0;for(N=te?He(N/j):N>>1,N+=He(N/J);N>ke*O>>1;ne+=C)N=He(N/ke);return He(ne+(ke+1)*N/(N+R))},nt=function(N){var J=[],te=N.length,ne=0,de=ae,_e=Y,Le=N.lastIndexOf($e);Le<0&&(Le=0);for(var Ge=0;Ge<Le;++Ge)N.charCodeAt(Ge)>=128&&Fe("not-basic"),J.push(N.charCodeAt(Ge));for(var yt=Le>0?Le+1:0;yt<te;){for(var Te=ne,st=1,kt=C;;kt+=C){yt>=te&&Fe("invalid-input");var ut=xt(N.charCodeAt(yt++));(ut>=C||ut>He((E-ne)/st))&&Fe("overflow"),ne+=ut*st;var ze=kt<=_e?x:kt>=_e+O?O:kt-_e;if(ut<ze)break;var ft=C-ze;st>He(E/ft)&&Fe("overflow"),st*=ft}var Xe=J.length+1;_e=$t(ne-Te,Xe,Te==0),He(ne/Xe)>E-de&&Fe("overflow"),de+=He(ne/Xe),ne%=Xe,J.splice(ne++,0,de)}return String.fromCodePoint.apply(String,J)},V=function(N){var J=[];N=rt(N);var te=N.length,ne=ae,de=0,_e=Y,Le=!0,Ge=!1,yt=void 0;try{for(var Te=N[Symbol.iterator](),st;!(Le=(st=Te.next()).done);Le=!0){var kt=st.value;kt<128&&J.push(Pe(kt))}}catch(Kr){Ge=!0,yt=Kr}finally{try{!Le&&Te.return&&Te.return()}finally{if(Ge)throw yt}}var ut=J.length,ze=ut;for(ut&&J.push($e);ze<te;){var ft=E,Xe=!0,Hr=!1,Kt=void 0;try{for(var rr=N[Symbol.iterator](),Ye;!(Xe=(Ye=rr.next()).done);Xe=!0){var jt=Ye.value;jt>=ne&&jt<ft&&(ft=jt)}}catch(Kr){Hr=!0,Kt=Kr}finally{try{!Xe&&rr.return&&rr.return()}finally{if(Hr)throw Kt}}var nr=ze+1;ft-ne>He((E-de)/nr)&&Fe("overflow"),de+=(ft-ne)*nr,ne=ft;var Cr=!0,Gr=!1,Ar=void 0;try{for(var $n=N[Symbol.iterator](),qn;!(Cr=(qn=$n.next()).done);Cr=!0){var Rn=qn.value;if(Rn<ne&&++de>E&&Fe("overflow"),Rn==ne){for(var ir=de,Er=C;;Er+=C){var Wt=Er<=_e?x:Er>=_e+O?O:Er-_e;if(ir<Wt)break;var sn=ir-Wt,Hn=C-Wt;J.push(Pe(Qe(Wt+sn%Hn,0))),ir=He(sn/Hn)}J.push(Pe(Qe(ir,0))),_e=$t(de,nr,ze==ut),de=0,++ze}}}catch(Kr){Gr=!0,Ar=Kr}finally{try{!Cr&&$n.return&&$n.return()}finally{if(Gr)throw Ar}}++de,++ne}return J.join("")},H=function(N){return Ee(N,function(J){return ge.test(J)?nt(J.slice(4).toLowerCase()):J})},Ut=function(N){return Ee(N,function(J){return oe.test(J)?"xn--"+V(J):J})},Nt={version:"2.1.0",ucs2:{decode:rt,encode:ee},decode:nt,encode:V,toASCII:Ut,toUnicode:H},Ct={};function Pt(U){var N=U.charCodeAt(0),J=void 0;return N<16?J="%0"+N.toString(16).toUpperCase():N<128?J="%"+N.toString(16).toUpperCase():N<2048?J="%"+(N>>6|192).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase():J="%"+(N>>12|224).toString(16).toUpperCase()+"%"+(N>>6&63|128).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase(),J}function At(U){for(var N="",J=0,te=U.length;J<te;){var ne=parseInt(U.substr(J+1,2),16);if(ne<128)N+=String.fromCharCode(ne),J+=3;else if(ne>=194&&ne<224){if(te-J>=6){var de=parseInt(U.substr(J+4,2),16);N+=String.fromCharCode((ne&31)<<6|de&63)}else N+=U.substr(J,6);J+=6}else if(ne>=224){if(te-J>=9){var _e=parseInt(U.substr(J+4,2),16),Le=parseInt(U.substr(J+7,2),16);N+=String.fromCharCode((ne&15)<<12|(_e&63)<<6|Le&63)}else N+=U.substr(J,9);J+=9}else N+=U.substr(J,3),J+=3}return N}function lt(U,N){function J(te){var ne=At(te);return ne.match(N.UNRESERVED)?ne:te}return U.scheme&&(U.scheme=String(U.scheme).replace(N.PCT_ENCODED,J).toLowerCase().replace(N.NOT_SCHEME,"")),U.userinfo!==void 0&&(U.userinfo=String(U.userinfo).replace(N.PCT_ENCODED,J).replace(N.NOT_USERINFO,Pt).replace(N.PCT_ENCODED,o)),U.host!==void 0&&(U.host=String(U.host).replace(N.PCT_ENCODED,J).toLowerCase().replace(N.NOT_HOST,Pt).replace(N.PCT_ENCODED,o)),U.path!==void 0&&(U.path=String(U.path).replace(N.PCT_ENCODED,J).replace(U.scheme?N.NOT_PATH:N.NOT_PATH_NOSCHEME,Pt).replace(N.PCT_ENCODED,o)),U.query!==void 0&&(U.query=String(U.query).replace(N.PCT_ENCODED,J).replace(N.NOT_QUERY,Pt).replace(N.PCT_ENCODED,o)),U.fragment!==void 0&&(U.fragment=String(U.fragment).replace(N.PCT_ENCODED,J).replace(N.NOT_FRAGMENT,Pt).replace(N.PCT_ENCODED,o)),U}function qr(U){return U.replace(/^0*(.*)/,"$1")||"0"}function Lt(U,N){var J=U.match(N.IPV4ADDRESS)||[],te=h(J,2),ne=te[1];return ne?ne.split(".").map(qr).join("."):U}function mr(U,N){var J=U.match(N.IPV6ADDRESS)||[],te=h(J,3),ne=te[1],de=te[2];if(ne){for(var _e=ne.toLowerCase().split("::").reverse(),Le=h(_e,2),Ge=Le[0],yt=Le[1],Te=yt?yt.split(":").map(qr):[],st=Ge.split(":").map(qr),kt=N.IPV4ADDRESS.test(st[st.length-1]),ut=kt?7:8,ze=st.length-ut,ft=Array(ut),Xe=0;Xe<ut;++Xe)ft[Xe]=Te[Xe]||st[ze+Xe]||"";kt&&(ft[ut-1]=Lt(ft[ut-1],N));var Hr=ft.reduce(function(nr,Cr,Gr){if(!Cr||Cr==="0"){var Ar=nr[nr.length-1];Ar&&Ar.index+Ar.length===Gr?Ar.length++:nr.push({index:Gr,length:1})}return nr},[]),Kt=Hr.sort(function(nr,Cr){return Cr.length-nr.length})[0],rr=void 0;if(Kt&&Kt.length>1){var Ye=ft.slice(0,Kt.index),jt=ft.slice(Kt.index+Kt.length);rr=Ye.join(":")+"::"+jt.join(":")}else rr=ft.join(":");return de&&(rr+="%"+de),rr}else return U}var tr=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,xr="".match(/(){0}/)[1]===void 0;function Ht(U){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J={},te=N.iri!==!1?g:c;N.reference==="suffix"&&(U=(N.scheme?N.scheme+":":"")+"//"+U);var ne=U.match(tr);if(ne){xr?(J.scheme=ne[1],J.userinfo=ne[3],J.host=ne[4],J.port=parseInt(ne[5],10),J.path=ne[6]||"",J.query=ne[7],J.fragment=ne[8],isNaN(J.port)&&(J.port=ne[5])):(J.scheme=ne[1]||void 0,J.userinfo=U.indexOf("@")!==-1?ne[3]:void 0,J.host=U.indexOf("//")!==-1?ne[4]:void 0,J.port=parseInt(ne[5],10),J.path=ne[6]||"",J.query=U.indexOf("?")!==-1?ne[7]:void 0,J.fragment=U.indexOf("#")!==-1?ne[8]:void 0,isNaN(J.port)&&(J.port=U.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ne[4]:void 0)),J.host&&(J.host=mr(Lt(J.host,te),te)),J.scheme===void 0&&J.userinfo===void 0&&J.host===void 0&&J.port===void 0&&!J.path&&J.query===void 0?J.reference="same-document":J.scheme===void 0?J.reference="relative":J.fragment===void 0?J.reference="absolute":J.reference="uri",N.reference&&N.reference!=="suffix"&&N.reference!==J.reference&&(J.error=J.error||"URI is not a "+N.reference+" reference.");var de=Ct[(N.scheme||J.scheme||"").toLowerCase()];if(!N.unicodeSupport&&(!de||!de.unicodeSupport)){if(J.host&&(N.domainHost||de&&de.domainHost))try{J.host=Nt.toASCII(J.host.replace(te.PCT_ENCODED,At).toLowerCase())}catch(_e){J.error=J.error||"Host's domain name can not be converted to ASCII via punycode: "+_e}lt(J,c)}else lt(J,te);de&&de.parse&&de.parse(J,N)}else J.error=J.error||"URI can not be parsed.";return J}function oi(U,N){var J=N.iri!==!1?g:c,te=[];return U.userinfo!==void 0&&(te.push(U.userinfo),te.push("@")),U.host!==void 0&&te.push(mr(Lt(String(U.host),J),J).replace(J.IPV6ADDRESS,function(ne,de,_e){return"["+de+(_e?"%25"+_e:"")+"]"})),(typeof U.port=="number"||typeof U.port=="string")&&(te.push(":"),te.push(String(U.port))),te.length?te.join(""):void 0}var xe=/^\.\.?\//,Fn=/^\/\.(\/|$)/,Tn=/^\/\.\.(\/|$)/,Ne=/^\/?(?:.|\n)*?(?=\/|$)/;function Se(U){for(var N=[];U.length;)if(U.match(xe))U=U.replace(xe,"");else if(U.match(Fn))U=U.replace(Fn,"/");else if(U.match(Tn))U=U.replace(Tn,"/"),N.pop();else if(U==="."||U==="..")U="";else{var J=U.match(Ne);if(J){var te=J[0];U=U.slice(te.length),N.push(te)}else throw new Error("Unexpected dot segment condition")}return N.join("")}function Ze(U){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=N.iri?g:c,te=[],ne=Ct[(N.scheme||U.scheme||"").toLowerCase()];if(ne&&ne.serialize&&ne.serialize(U,N),U.host&&!J.IPV6ADDRESS.test(U.host)){if(N.domainHost||ne&&ne.domainHost)try{U.host=N.iri?Nt.toUnicode(U.host):Nt.toASCII(U.host.replace(J.PCT_ENCODED,At).toLowerCase())}catch(Le){U.error=U.error||"Host's domain name can not be converted to "+(N.iri?"Unicode":"ASCII")+" via punycode: "+Le}}lt(U,J),N.reference!=="suffix"&&U.scheme&&(te.push(U.scheme),te.push(":"));var de=oi(U,N);if(de!==void 0&&(N.reference!=="suffix"&&te.push("//"),te.push(de),U.path&&U.path.charAt(0)!=="/"&&te.push("/")),U.path!==void 0){var _e=U.path;!N.absolutePath&&(!ne||!ne.absolutePath)&&(_e=Se(_e)),de===void 0&&(_e=_e.replace(/^\/\//,"/%2F")),te.push(_e)}return U.query!==void 0&&(te.push("?"),te.push(U.query)),U.fragment!==void 0&&(te.push("#"),te.push(U.fragment)),te.join("")}function bt(U,N){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},te=arguments[3],ne={};return te||(U=Ht(Ze(U,J),J),N=Ht(Ze(N,J),J)),J=J||{},!J.tolerant&&N.scheme?(ne.scheme=N.scheme,ne.userinfo=N.userinfo,ne.host=N.host,ne.port=N.port,ne.path=Se(N.path||""),ne.query=N.query):(N.userinfo!==void 0||N.host!==void 0||N.port!==void 0?(ne.userinfo=N.userinfo,ne.host=N.host,ne.port=N.port,ne.path=Se(N.path||""),ne.query=N.query):(N.path?(N.path.charAt(0)==="/"?ne.path=Se(N.path):((U.userinfo!==void 0||U.host!==void 0||U.port!==void 0)&&!U.path?ne.path="/"+N.path:U.path?ne.path=U.path.slice(0,U.path.lastIndexOf("/")+1)+N.path:ne.path=N.path,ne.path=Se(ne.path)),ne.query=N.query):(ne.path=U.path,N.query!==void 0?ne.query=N.query:ne.query=U.query),ne.userinfo=U.userinfo,ne.host=U.host,ne.port=U.port),ne.scheme=U.scheme),ne.fragment=N.fragment,ne}function hr(U,N,J){var te=l({scheme:"null"},J);return Ze(bt(Ht(U,te),Ht(N,te),te,!0),te)}function qe(U,N){return typeof U=="string"?U=Ze(Ht(U,N),N):n(U)==="object"&&(U=Ht(Ze(U,N),N)),U}function Re(U,N,J){return typeof U=="string"?U=Ze(Ht(U,J),J):n(U)==="object"&&(U=Ze(U,J)),typeof N=="string"?N=Ze(Ht(N,J),J):n(N)==="object"&&(N=Ze(N,J)),U===N}function mt(U,N){return U&&U.toString().replace(!N||!N.iri?c.ESCAPE:g.ESCAPE,Pt)}function it(U,N){return U&&U.toString().replace(!N||!N.iri?c.PCT_ENCODED:g.PCT_ENCODED,At)}var ie={scheme:"http",domainHost:!0,parse:function(N,J){return N.host||(N.error=N.error||"HTTP URIs must have a host."),N},serialize:function(N,J){var te=String(N.scheme).toLowerCase()==="https";return(N.port===(te?443:80)||N.port==="")&&(N.port=void 0),N.path||(N.path="/"),N}},fe={scheme:"https",domainHost:ie.domainHost,parse:ie.parse,serialize:ie.serialize};function we(U){return typeof U.secure=="boolean"?U.secure:String(U.scheme).toLowerCase()==="wss"}var Ce={scheme:"ws",domainHost:!0,parse:function(N,J){var te=N;return te.secure=we(te),te.resourceName=(te.path||"/")+(te.query?"?"+te.query:""),te.path=void 0,te.query=void 0,te},serialize:function(N,J){if((N.port===(we(N)?443:80)||N.port==="")&&(N.port=void 0),typeof N.secure=="boolean"&&(N.scheme=N.secure?"wss":"ws",N.secure=void 0),N.resourceName){var te=N.resourceName.split("?"),ne=h(te,2),de=ne[0],_e=ne[1];N.path=de&&de!=="/"?de:void 0,N.query=_e,N.resourceName=void 0}return N.fragment=void 0,N}},Dt={scheme:"wss",domainHost:Ce.domainHost,parse:Ce.parse,serialize:Ce.serialize},nn={},ot=!0,wt="[A-Za-z0-9\\-\\.\\_\\~"+(ot?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Ft="[0-9A-Fa-f]",on=e(e("%[EFef]"+Ft+"%"+Ft+Ft+"%"+Ft+Ft)+"|"+e("%[89A-Fa-f]"+Ft+"%"+Ft+Ft)+"|"+e("%"+Ft+Ft)),ht="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",In="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Gt=r(In,'[\\"\\\\]'),yn="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Mn=new RegExp(wt,"g"),Ur=new RegExp(on,"g"),si=new RegExp(r("[^]",ht,"[\\.]",'[\\"]',Gt),"g"),ai=new RegExp(r("[^]",wt,yn),"g"),Li=ai;function zn(U){var N=At(U);return N.match(Mn)?N:U}var li={scheme:"mailto",parse:function(N,J){var te=N,ne=te.to=te.path?te.path.split(","):[];if(te.path=void 0,te.query){for(var de=!1,_e={},Le=te.query.split("&"),Ge=0,yt=Le.length;Ge<yt;++Ge){var Te=Le[Ge].split("=");switch(Te[0]){case"to":for(var st=Te[1].split(","),kt=0,ut=st.length;kt<ut;++kt)ne.push(st[kt]);break;case"subject":te.subject=it(Te[1],J);break;case"body":te.body=it(Te[1],J);break;default:de=!0,_e[it(Te[0],J)]=it(Te[1],J);break}}de&&(te.headers=_e)}te.query=void 0;for(var ze=0,ft=ne.length;ze<ft;++ze){var Xe=ne[ze].split("@");if(Xe[0]=it(Xe[0]),J.unicodeSupport)Xe[1]=it(Xe[1],J).toLowerCase();else try{Xe[1]=Nt.toASCII(it(Xe[1],J).toLowerCase())}catch(Hr){te.error=te.error||"Email address's domain name can not be converted to ASCII via punycode: "+Hr}ne[ze]=Xe.join("@")}return te},serialize:function(N,J){var te=N,ne=s(N.to);if(ne){for(var de=0,_e=ne.length;de<_e;++de){var Le=String(ne[de]),Ge=Le.lastIndexOf("@"),yt=Le.slice(0,Ge).replace(Ur,zn).replace(Ur,o).replace(si,Pt),Te=Le.slice(Ge+1);try{Te=J.iri?Nt.toUnicode(Te):Nt.toASCII(it(Te,J).toLowerCase())}catch(ze){te.error=te.error||"Email address's domain name can not be converted to "+(J.iri?"Unicode":"ASCII")+" via punycode: "+ze}ne[de]=yt+"@"+Te}te.path=ne.join(",")}var st=N.headers=N.headers||{};N.subject&&(st.subject=N.subject),N.body&&(st.body=N.body);var kt=[];for(var ut in st)st[ut]!==nn[ut]&&kt.push(ut.replace(Ur,zn).replace(Ur,o).replace(ai,Pt)+"="+st[ut].replace(Ur,zn).replace(Ur,o).replace(Li,Pt));return kt.length&&(te.query=kt.join("&")),te}},Vn=/^([^\:]+)\:(.*)/,Un={scheme:"urn",parse:function(N,J){var te=N.path&&N.path.match(Vn),ne=N;if(te){var de=J.scheme||ne.scheme||"urn",_e=te[1].toLowerCase(),Le=te[2],Ge=de+":"+(J.nid||_e),yt=Ct[Ge];ne.nid=_e,ne.nss=Le,ne.path=void 0,yt&&(ne=yt.parse(ne,J))}else ne.error=ne.error||"URN can not be parsed.";return ne},serialize:function(N,J){var te=J.scheme||N.scheme||"urn",ne=N.nid,de=te+":"+(J.nid||ne),_e=Ct[de];_e&&(N=_e.serialize(N,J));var Le=N,Ge=N.nss;return Le.path=(ne||J.nid)+":"+Ge,Le}},bo=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,On={scheme:"urn:uuid",parse:function(N,J){var te=N;return te.uuid=te.nss,te.nss=void 0,!J.tolerant&&(!te.uuid||!te.uuid.match(bo))&&(te.error=te.error||"UUID is not valid."),te},serialize:function(N,J){var te=N;return te.nss=(N.uuid||"").toLowerCase(),te}};Ct[ie.scheme]=ie,Ct[fe.scheme]=fe,Ct[Ce.scheme]=Ce,Ct[Dt.scheme]=Dt,Ct[li.scheme]=li,Ct[Un.scheme]=Un,Ct[On.scheme]=On,t.SCHEMES=Ct,t.pctEncChar=Pt,t.pctDecChars=At,t.parse=Ht,t.removeDotSegments=Se,t.serialize=Ze,t.resolveComponents=bt,t.resolve=hr,t.normalize=qe,t.equal=Re,t.escapeComponent=mt,t.unescapeComponent=it,Object.defineProperty(t,"__esModule",{value:!0})})});var Uo=he(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.getSchemaRefs=Fr.resolveUrl=Fr.normalizeId=Fr._getFullPath=Fr.getFullPath=Fr.inlineRef=void 0;var Qg=_t(),Xg=Vo(),Yg=vc(),Bs=wl(),ey=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function ty(t,r=!0){return typeof t=="boolean"?!0:r===!0?!kl(t):r?Cc(t)<=r:!1}Fr.inlineRef=ty;var ry=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function kl(t){for(let r in t){if(ry.has(r))return!0;let e=t[r];if(Array.isArray(e)&&e.some(kl)||typeof e=="object"&&kl(e))return!0}return!1}function Cc(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!ey.has(e)&&(typeof t[e]=="object"&&Qg.eachItem(t[e],n=>r+=Cc(n)),r===1/0))return 1/0}return r}function Ac(t="",r){r!==!1&&(t=no(t));let e=Bs.parse(t);return Ec(e)}Fr.getFullPath=Ac;function Ec(t){return Bs.serialize(t).split("#")[0]+"#"}Fr._getFullPath=Ec;var ny=/#\/?$/;function no(t){return t?t.replace(ny,""):""}Fr.normalizeId=no;function iy(t,r){return r=no(r),Bs.resolve(t,r)}Fr.resolveUrl=iy;var oy=/^[a-z_][-a-z0-9._]*$/i;function sy(t){if(typeof t=="boolean")return{};let r=no(t.$id),e={"":r},n=Ac(r,!1),o={},s=new Set;return Yg(t,{allKeys:!0},(c,g,h,w)=>{if(w===void 0)return;let E=n+g,C=e[w];typeof c.$id=="string"&&(C=x.call(this,c.$id)),O.call(this,c.$anchor),O.call(this,c.$dynamicAnchor),e[g]=C;function x(R){if(R=no(C?Bs.resolve(C,R):R),s.has(R))throw f(R);s.add(R);let j=this.refs[R];return typeof j=="string"&&(j=this.refs[j]),typeof j=="object"?l(c,j.schema,R):R!==no(E)&&(R[0]==="#"?(l(c,o[R],R),o[R]=c):this.refs[R]=E),R}function O(R){if(typeof R=="string"){if(!oy.test(R))throw new Error(`invalid anchor "${R}"`);x.call(this,`#${R}`)}}}),o;function l(c,g,h){if(g!==void 0&&!Xg(c,g))throw f(h)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Fr.getSchemaRefs=sy});var zr=he(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.checkStrictMode=An.schemaCxtHasRules=An.subschemaCode=An.validateFunctionCode=void 0;var Fc=nc(),_c=ro(),Sc=bc(),Ke=Be(),Ie=cn(),ay=Uo(),Tc=_t();function ly(t){if(Oc(t)&&(qc(t),vl(t))){cy(t);return}Ic(t,()=>Fc.topBoolOrEmptySchema(t))}An.validateFunctionCode=ly;function Ic({gen:t,validateName:r,schema:e,schemaEnv:n,opts:o},s){o.code.es5?t.func(r,Ke._`${Ie.default.data}, ${Ie.default.valCxt}`,n.$async,()=>{t.code(Ke._`"use strict"; ${Pc(e,o)}`),fy(t,o),t.code(s)}):t.func(r,Ke._`${Ie.default.data}, ${uy(o)}`,n.$async,()=>t.code(Pc(e,o)).code(s))}function uy(t){return Ke._`{${Ie.default.dataPath}="", ${Ie.default.parentData}, ${Ie.default.parentDataProperty}, ${Ie.default.rootData}=${Ie.default.data}${t.dynamicRef?Ke._`, ${Ie.default.dynamicAnchors}={}`:Ke.nil}}={}`}function fy(t,r){t.if(Ie.default.valCxt,()=>{t.var(Ie.default.dataPath,Ke._`${Ie.default.valCxt}.${Ie.default.dataPath}`),t.var(Ie.default.parentData,Ke._`${Ie.default.valCxt}.${Ie.default.parentData}`),t.var(Ie.default.parentDataProperty,Ke._`${Ie.default.valCxt}.${Ie.default.parentDataProperty}`),t.var(Ie.default.rootData,Ke._`${Ie.default.valCxt}.${Ie.default.rootData}`),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Ke._`${Ie.default.valCxt}.${Ie.default.dynamicAnchors}`)},()=>{t.var(Ie.default.dataPath,Ke._`""`),t.var(Ie.default.parentData,Ke._`undefined`),t.var(Ie.default.parentDataProperty,Ke._`undefined`),t.var(Ie.default.rootData,Ie.default.data),r.dynamicRef&&t.var(Ie.default.dynamicAnchors,Ke._`{}`)})}function cy(t){let{schema:r,opts:e,gen:n}=t;Ic(t,()=>{e.$comment&&r.$comment&&Nc(t),gy(t),n.let(Ie.default.vErrors,null),n.let(Ie.default.errors,0),e.unevaluated&&py(t),Rc(t),by(t)})}function py(t){let{gen:r,validateName:e}=t;t.evaluated=r.const("evaluated",Ke._`${e}.evaluated`),r.if(Ke._`${t.evaluated}.dynamicProps`,()=>r.assign(Ke._`${t.evaluated}.props`,Ke._`undefined`)),r.if(Ke._`${t.evaluated}.dynamicItems`,()=>r.assign(Ke._`${t.evaluated}.items`,Ke._`undefined`))}function Pc(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Ke._`/*# sourceURL=${t.$id} */`:Ke.nil}function dy(t,r){if(Oc(t)&&(qc(t),vl(t))){my(t,r);return}Fc.boolOrEmptySchema(t,r)}An.subschemaCode=dy;function vl({schema:t,self:r}){if(typeof t=="boolean")return!t;for(let e in t)if(r.RULES.all[e])return!0;return!1}An.schemaCxtHasRules=vl;function Oc(t){return typeof t.schema!="boolean"}function my(t,r){let{schema:e,gen:n,opts:o}=t;o.$comment&&e.$comment&&Nc(t),yy(t),$y(t);let s=n.const("_errs",Ie.default.errors);Rc(t,s),n.var(r,Ke._`${s} === ${Ie.default.errors}`)}function qc(t){Tc.checkUnknownRules(t),hy(t)}function Rc(t,r){if(t.opts.jtd)return Sc.schemaKeywords(t,[],!1,r);let e=_c.getSchemaTypes(t.schema),n=_c.coerceAndCheckDataType(t,e);Sc.schemaKeywords(t,e,!n,r)}function hy(t){let{schema:r,errSchemaPath:e,opts:n,self:o}=t;r.$ref&&n.ignoreKeywordsWithRef&&Tc.schemaHasRulesButRef(r,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function gy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Dc(t,"default is ignored in the schema root")}function yy(t){t.schema.$id&&(t.baseId=ay.resolveUrl(t.baseId,t.schema.$id))}function $y(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function Nc({gen:t,schemaEnv:r,schema:e,errSchemaPath:n,opts:o}){let s=e.$comment;if(o.$comment===!0)t.code(Ke._`${Ie.default.self}.logger.log(${s})`);else if(typeof o.$comment=="function"){let l=Ke.str`${n}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Ke._`${Ie.default.self}.opts.$comment(${s}, ${l}, ${f}.schema)`)}}function by(t){let{gen:r,schemaEnv:e,validateName:n,ValidationError:o,opts:s}=t;e.$async?r.if(Ke._`${Ie.default.errors} === 0`,()=>r.return(Ie.default.data),()=>r.throw(Ke._`new ${o}(${Ie.default.vErrors})`)):(r.assign(Ke._`${n}.errors`,Ie.default.vErrors),s.unevaluated&&wy(t),r.return(Ke._`${Ie.default.errors} === 0`))}function wy({gen:t,evaluated:r,props:e,items:n}){e instanceof Ke.Name&&t.assign(Ke._`${r}.props`,e),n instanceof Ke.Name&&t.assign(Ke._`${r}.items`,n)}function Dc(t,r,e=t.opts.strict){if(!!e){if(r=`strict mode: ${r}`,e===!0)throw new Error(r);t.self.logger.warn(r)}}An.checkStrictMode=Dc});var _t=he(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.func=et.setEvaluated=et.evaluatedPropsToName=et.mergeEvaluated=et.eachItem=et.unescapeJsonPointer=et.escapeJsonPointer=et.escapeFragment=et.unescapeFragment=et.schemaRefOrVal=et.schemaHasRulesButRef=et.schemaHasRules=et.checkUnknownRules=et.alwaysValidSchema=et.toHash=void 0;var Tt=Be(),ky=zr();function vy(t){let r={};for(let e of t)r[e]=!0;return r}et.toHash=vy;function xy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(jc(t,r),!Bc(r,t.self.RULES.all))}et.alwaysValidSchema=xy;function jc(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]||ky.checkStrictMode(t,`unknown keyword: "${s}"`)}et.checkUnknownRules=jc;function Bc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}et.schemaHasRules=Bc;function Cy(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}et.schemaHasRulesButRef=Cy;function Ay({topSchemaRef:t,schemaPath:r},e,n,o){if(!o){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Tt._`${e}`}return Tt._`${t}${r}${Tt.getProperty(n)}`}et.schemaRefOrVal=Ay;function Ey(t){return zc(decodeURIComponent(t))}et.unescapeFragment=Ey;function _y(t){return encodeURIComponent(Mc(t))}et.escapeFragment=_y;function Mc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}et.escapeJsonPointer=Mc;function zc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}et.unescapeJsonPointer=zc;function Sy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}et.eachItem=Sy;function Lc({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:n}){return(o,s,l,f)=>{let c=l===void 0?s:l instanceof Tt.Name?(s instanceof Tt.Name?t(o,s,l):r(o,s,l),l):s instanceof Tt.Name?(r(o,l,s),s):e(s,l);return f===Tt.Name&&!(c instanceof Tt.Name)?n(o,c):c}}et.mergeEvaluated={props:Lc({mergeNames:(t,r,e)=>t.if(Tt._`${e} !== true && ${r} !== undefined`,()=>{t.if(Tt._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Tt._`${e} || {}`).code(Tt._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Tt._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Tt._`${e} || {}`),xl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Vc}),items:Lc({mergeNames:(t,r,e)=>t.if(Tt._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Tt._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Tt._`${e} !== true`,()=>t.assign(e,r===!0?!0:Tt._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Vc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Tt._`{}`);return r!==void 0&&xl(t,e,r),e}et.evaluatedPropsToName=Vc;function xl(t,r,e){Object.keys(e).forEach(n=>t.assign(Tt._`${r}${Tt.getProperty(n)}`,!0))}et.setEvaluated=xl;function Py(t,r){return t.scopeValue("func",{ref:r,code:r.code})}et.func=Py});var ro=he(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.reportTypeError=Qt.checkDataTypes=Qt.checkDataType=Qt.coerceAndCheckDataType=Qt.getJSONTypes=Qt.getSchemaTypes=Qt.DataType=void 0;var Fy=Ja(),Ty=Za(),Iy=Mo(),Oe=Be(),Uc=_t(),Ho;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Ho=Qt.DataType||(Qt.DataType={}));function Oy(t){let r=Hc(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}Qt.getSchemaTypes=Oy;function Hc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(Fy.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Qt.getJSONTypes=Hc;function qy(t,r){let{gen:e,data:n,opts:o}=t,s=Ry(r,o.coerceTypes),l=r.length>0&&!(s.length===0&&r.length===1&&Ty.schemaHasRulesForType(t,r[0]));if(l){let f=Al(r,n,o.strict,Ho.Wrong);e.if(f,()=>{s.length?Ny(t,r,s):El(t)})}return l}Qt.coerceAndCheckDataType=qy;var Gc=new Set(["string","number","integer","boolean","null"]);function Ry(t,r){return r?t.filter(e=>Gc.has(e)||r==="array"&&e==="array"):[]}function Ny(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(Al(r,o,s.strict),()=>n.assign(f,o))),n.if(Oe._`${f} !== undefined`);for(let g of e)(Gc.has(g)||g==="array"&&s.coerceTypes==="array")&&c(g);n.else(),El(t),n.endIf(),n.if(Oe._`${f} !== undefined`,()=>{n.assign(o,f),Dy(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
|
+
|| (${l} == "string" && ${o} && ${o} == +${o})`).assign(f,Oe._`+${o}`);return;case"integer":n.elseIf(Oe._`${l} === "boolean" || ${o} === null
|
|
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 Dy({gen:t,parentData:r,parentDataProperty:e},n){t.if(Oe._`${r} !== undefined`,()=>t.assign(Oe._`${r}[${e}]`,n))}function Cl(t,r,e,n=Ho.Correct){let o=n===Ho.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===Ho.Correct?s:Oe.not(s);function l(f=Oe.nil){return Oe.and(Oe._`typeof ${r} == "number"`,f,e?Oe._`isFinite(${r})`:Oe.nil)}}Qt.checkDataType=Cl;function Al(t,r,e,n){if(t.length===1)return Cl(t[0],r,e,n);let o,s=Uc.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,Cl(l,r,e,n));return o}Qt.checkDataTypes=Al;var Ly={message:({schema:t})=>Oe.str`should be ${t}`,params:({schema:t,schemaValue:r})=>typeof t=="string"?Oe._`{type: ${t}}`:Oe._`{type: ${r}}`};function El(t){let r=jy(t);Iy.reportError(r,Ly)}Qt.reportTypeError=El;function jy(t){let{gen:r,data:e,schema:n}=t,o=Uc.schemaRefOrVal(t,n,"type");return{gen:r,keyword:"type",data:e,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:t}}});var zo=he(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.getData=void 0;var Kc=ro(),Ms=_t(),Go=Mo(),qt=Be(),_l=cn(),By=ki(),Sl=class{constructor(r,e,n){if(zy(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=Ms.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",Wc(this.$data,r));else if(this.schemaCode=this.schemaValue,!My(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",_l.default.errors))}result(r,e,n){this.gen.if(qt.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(qt._`${e} !== undefined && (${qt.or(this.invalid$data(),r)})`)}error(r){(r?Go.reportExtraError:Go.reportError)(this,this.def.error)}$dataError(){Go.reportError(this,this.def.$dataError||Go.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Go.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=qt.nil){this.gen.block(()=>{this.check$data(r,n),e()})}check$data(r=qt.nil,e=qt.nil){if(!this.$data)return;let{gen:n,schemaCode:o,schemaType:s,def:l}=this;n.if(qt.or(qt._`${o} === undefined`,e)),r!==qt.nil&&n.assign(r,!0),(s.length||l.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),r!==qt.nil&&n.assign(r,!1)),n.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:n,def:o,it:s}=this;return qt.or(l(),f());function l(){if(n.length){if(!(e instanceof qt.Name))throw new Error("ajv implementation error");let c=Array.isArray(n)?n:[n];return qt._`${Kc.checkDataTypes(c,e,s.opts.strict,Kc.DataType.Wrong)}`}return qt.nil}function f(){if(o.validateSchema){let c=r.scopeValue("validate$data",{ref:o.validateSchema});return qt._`!${c}(${e})`}return qt.nil}}subschema(r,e){return By.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=Ms.mergeEvaluated.props(o,r.props,n.props,e)),n.items!==!0&&r.items!==void 0&&(n.items=Ms.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,qt.Name)),!0}};Ko.default=Sl;function My(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 zy({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 Vy=/^\/(?:[^~]|~0|~1)*$/,Uy=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Wc(t,{dataLevel:r,dataNames:e,dataPathArr:n}){let o,s;if(t==="")return _l.default.rootData;if(t[0]==="/"){if(!Vy.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);o=t,s=_l.default.rootData}else{let g=Uy.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=qt._`${s}${qt.getProperty(Ms.unescapeJsonPointer(g))}`,l=qt._`${l} && ${s}`);return l;function c(g,h){return`Cannot access ${g} ${h} levels up, current level is ${r}`}}Ko.getData=Wc});var Us=he((io,Jc)=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.MissingRefError=io.ValidationError=void 0;var Pl=Uo(),zs=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};io.ValidationError=zs;var Vs=class extends Error{constructor(r,e,n){super(n||`can't resolve reference ${e} from id ${r}`),this.missingRef=Pl.resolveUrl(r,e),this.missingSchema=Pl.normalizeId(Pl.getFullPath(this.missingRef))}};io.MissingRefError=Vs;Jc.exports={ValidationError:zs,MissingRefError:Vs}});var Il=he(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.resolveSchema=tn.getCompilingSchema=tn.resolveRef=tn.compileSchema=tn.SchemaEnv=void 0;var dn=Be(),Hy=Us(),xi=cn(),mn=Uo(),Zc=_t(),Gy=zr(),Ky=wl(),oo=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:mn.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={}}};tn.SchemaEnv=oo;function Tl(t){let r=Qc.call(this,t);if(r)return r;let e=mn.getFullPath(t.root.baseId),{es5:n,lines:o}=this.opts.code,{ownProperties:s}=this.opts,l=new dn.CodeGen(this.scope,{es5:n,lines:o,ownProperties:s}),f;t.$async&&(f=l.scopeValue("Error",{ref:Hy.ValidationError,code:dn._`require("ajv/dist/compile/error_classes").ValidationError`}));let c=l.scopeName("validate");t.validateName=c;let g={gen:l,allErrors:this.opts.allErrors,data:xi.default.data,parentData:xi.default.parentData,parentDataProperty:xi.default.parentDataProperty,dataNames:[xi.default.data],dataPathArr:[dn.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:dn.stringify(t.schema)}:{ref:t.schema}),validateName:c,ValidationError:f,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:dn.nil,errSchemaPath:this.opts.jtd?"":"#",errorPath:dn._`""`,opts:this.opts,self:this},h;try{this._compilations.add(t),Gy.validateFunctionCode(g),l.optimize(this.opts.code.optimize);let w=l.toString();h=`${l.scopeRefs(xi.default.scope)}return ${w}`,this.opts.code.process&&(h=this.opts.code.process(h,t));let C=new Function(`${xi.default.self}`,`${xi.default.scope}`,h)(this,this.scope.get());if(this.scope.value(c,{ref:C}),C.errors=null,C.schema=t.schema,C.schemaEnv=t,t.$async&&(C.$async=!0),this.opts.code.source===!0&&(C.source={validateName:c,validateCode:w,scopeValues:l._values}),this.opts.unevaluated){let{props:x,items:O}=g;C.evaluated={props:x instanceof dn.Name?void 0:x,items:O instanceof dn.Name?void 0:O,dynamicProps:x instanceof dn.Name,dynamicItems:O instanceof dn.Name},C.source&&(C.source.evaluated=dn.stringify(C.evaluated))}return t.validate=C,t}catch(w){throw delete t.validate,delete t.validateName,h&&this.logger.error("Error compiling schema, function code:",h),w}finally{this._compilations.delete(t)}}tn.compileSchema=Tl;function Wy(t,r,e){var n;e=mn.resolveUrl(r,e);let o=t.refs[e];if(o)return o;let s=Qy.call(this,t,e);if(s===void 0){let l=(n=t.localRefs)===null||n===void 0?void 0:n[e];l&&(s=new oo({schema:l,root:t,baseId:r}))}if(s!==void 0)return t.refs[e]=Jy.call(this,s)}tn.resolveRef=Wy;function Jy(t){return mn.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Tl.call(this,t)}function Qc(t){for(let r of this._compilations)if(Zy(r,t))return r}tn.getCompilingSchema=Qc;function Zy(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function Qy(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Hs.call(this,t,r)}function Hs(t,r){let e=Ky.parse(r),n=mn._getFullPath(e),o=mn.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===o)return Fl.call(this,e,t);let s=mn.normalizeId(n),l=this.refs[s]||this.schemas[s];if(typeof l=="string"){let f=Hs.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:Fl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Tl.call(this,l),s===mn.normalizeId(r)){let{schema:f}=l;return f.$id&&(o=mn.resolveUrl(o,f.$id)),new oo({schema:f,root:t,baseId:o})}return Fl.call(this,e,l)}}tn.resolveSchema=Hs;var Xy=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Fl(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[Zc.unescapeFragment(l)],e===void 0))return;!Xy.has(l)&&typeof e=="object"&&e.$id&&(r=mn.resolveUrl(r,e.$id))}let s;if(typeof e!="boolean"&&e.$ref&&!Zc.schemaHasRulesButRef(e,this.RULES)){let l=mn.resolveUrl(r,e.$ref);s=Hs.call(this,n,l)}if(s=s||new oo({schema:e,root:n,baseId:r}),s.schema!==s.root.schema)return s}});var Xc=he((h1,Yy)=>{Yy.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 np=he(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.CodeGen=Xt.Name=Xt.nil=Xt.stringify=Xt.str=Xt._=Xt.KeywordCxt=void 0;var e$=zo();Xt.KeywordCxt=e$.default;var so=Be();Object.defineProperty(Xt,"_",{enumerable:!0,get:function(){return so._}});Object.defineProperty(Xt,"str",{enumerable:!0,get:function(){return so.str}});Object.defineProperty(Xt,"stringify",{enumerable:!0,get:function(){return so.stringify}});Object.defineProperty(Xt,"nil",{enumerable:!0,get:function(){return so.nil}});Object.defineProperty(Xt,"Name",{enumerable:!0,get:function(){return so.Name}});Object.defineProperty(Xt,"CodeGen",{enumerable:!0,get:function(){return so.CodeGen}});var Rl=Us(),t$=Ja(),Wo=Il(),r$=Be(),Gs=Uo(),Ks=ro(),ql=_t(),Yc=Xc(),n$=["removeAdditional","useDefaults","coerceTypes"],i$=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),o$={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."},s$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function a$(t){var r,e,n,o,s,l,f,c,g,h,w,E;let C=(r=t.strict)!==null&&r!==void 0?r:!0,x=C?"log":!1,O=(e=t.code)===null||e===void 0?void 0:e.optimize,R=O===!0||O===void 0?1:O||0;return{strict:C,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:x,strictTuples:(o=t.strictTuples)!==null&&o!==void 0?o:x,code:t.code?{...t.code,optimize:R}:{optimize:R},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:(w=t.validateSchema)!==null&&w!==void 0?w:!0,validateFormats:(E=t.validateFormats)!==null&&E!==void 0?E:!0}}var Jo=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...a$(r)};let{es5:e,lines:n}=this.opts.code;this.scope=new r$.ValueScope({scope:{},prefixes:i$,es5:e,lines:n}),this.logger=d$(r.logger);let o=r.validateFormats;r.validateFormats=!1,this.RULES=t$.getRules(),ep.call(this,o$,r,"NOT SUPPORTED"),ep.call(this,s$,r,"DEPRECATED","warn"),this._metaOpts=c$.call(this),r.formats&&u$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&f$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),l$.call(this),r.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(Yc,Yc.$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,w){await s.call(this,h.$schema);let E=this._addSchema(h,w);return E.validate||l.call(this,E)}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(w){if(!(w instanceof Rl.MissingRefError))throw w;return f.call(this,w),await c.call(this,w.missingSchema),l.call(this,h)}}function f({missingSchema:h,missingRef:w}){if(this.refs[h])throw new Error(`AnySchema ${h} is loaded but ${w} cannot be resolved`)}async function c(h){let w=await g.call(this,h);this.refs[h]||await s.call(this,w.$schema),this.refs[h]||this.addSchema(w,h,e)}async function g(h){let w=this._loading[h];if(w)return w;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=Gs.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=tp.call(this,r))=="string";)r=e;if(e===void 0){let n=new Wo.SchemaEnv({schema:{}});if(e=Wo.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=tp.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=Gs.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(h$.call(this,n,e),!e)return ql.eachItem(n,s=>Ol.call(this,s)),this;y$.call(this,e);let o={...e,type:Ks.getJSONTypes(e.type),schemaType:Ks.getJSONTypes(e.schemaType)};return ql.eachItem(n,o.type.length===0?s=>Ol.call(this,s,o):s=>o.type.forEach(l=>Ol.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]=rp(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=Gs.getSchemaRefs.call(this,r);s=new Wo.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):Wo.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{Wo.compileSchema.call(this,r)}finally{this.opts=e}}};Xt.default=Jo;Jo.ValidationError=Rl.ValidationError;Jo.MissingRefError=Rl.MissingRefError;function ep(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 tp(t){return t=Gs.normalizeId(t),this.schemas[t]||this.refs[t]}function l$(){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 u$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function f$(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 c$(){let t={...this.opts};for(let r of n$)delete t[r];return t}var p$={log(){},warn(){},error(){}};function d$(t){if(t===!1)return p$;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 m$=/^[a-z_$][a-z0-9_$:-]*$/i;function h$(t,r){let{RULES:e}=this;if(ql.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!m$.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 Ol(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:Ks.getJSONTypes(r.type),schemaType:Ks.getJSONTypes(r.schemaType)}};r.before?g$.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 g$(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 y$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=rp(r)),t.validateSchema=this.compile(r,!0))}var $$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function rp(t){return{anyOf:[t,$$]}}});var ip=he(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var b$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Nl.default=b$});var lp=he(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.callRef=Ci.getValidate=void 0;var w$=Us(),op=pn(),Tr=Be(),ao=cn(),sp=Il(),Ws=_t(),k$={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=sp.resolveRef.call(c,s.root,o,e);if(g===void 0)throw new w$.MissingRefError(o,e);if(g instanceof sp.SchemaEnv)return w(g);return E(g);function h(){if(s===s.root)return Js(t,l,s,s.$async);let C=r.scopeValue("root",{ref:s.root});return Js(t,Tr._`${C}.validate`,s.root,s.root.$async)}function w(C){let x=ap(t,C);Js(t,x,C,C.$async)}function E(C){let x=r.scopeValue("schema",f.code.source===!0?{ref:C,code:Tr.stringify(C)}:{ref:C}),O=r.name("valid"),R=t.subschema({schema:C,dataTypes:[],schemaPath:Tr.nil,topSchemaRef:x,errSchemaPath:e},O);t.mergeEvaluated(R),t.ok(O)}}};function ap(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Tr._`${e.scopeValue("wrapper",{ref:r})}.validate`}Ci.getValidate=ap;function Js(t,r,e,n){let{gen:o,it:s}=t,{allErrors:l,schemaEnv:f,opts:c}=s,g=c.passContext?ao.default.this:Tr.nil;n?h():w();function h(){if(!f.$async)throw new Error("async schema referenced by sync schema");let x=o.let("valid");o.try(()=>{o.code(Tr._`await ${op.callValidateCode(t,r,g)}`),C(r),l||o.assign(x,!0)},O=>{o.if(Tr._`!(${O} instanceof ${s.ValidationError})`,()=>o.throw(O)),E(O),l||o.assign(x,!1)}),t.ok(x)}function w(){t.result(op.callValidateCode(t,r,g),()=>C(r),()=>E(r))}function E(x){let O=Tr._`${x}.errors`;o.assign(ao.default.vErrors,Tr._`${ao.default.vErrors} === null ? ${O} : ${ao.default.vErrors}.concat(${O})`),o.assign(ao.default.errors,Tr._`${ao.default.vErrors}.length`)}function C(x){var O;if(!s.opts.unevaluated)return;let R=(O=e==null?void 0:e.validate)===null||O===void 0?void 0:O.evaluated;if(s.props!==!0)if(R&&!R.dynamicProps)R.props!==void 0&&(s.props=Ws.mergeEvaluated.props(o,R.props,s.props));else{let j=o.var("props",Tr._`${x}.evaluated.props`);s.props=Ws.mergeEvaluated.props(o,j,s.props,Tr.Name)}if(s.items!==!0)if(R&&!R.dynamicItems)R.items!==void 0&&(s.items=Ws.mergeEvaluated.items(o,R.items,s.items));else{let j=o.var("items",Tr._`${x}.evaluated.items`);s.items=Ws.mergeEvaluated.items(o,j,s.items,Tr.Name)}}}Ci.callRef=Js;Ci.default=k$});var up=he(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var v$=ip(),x$=lp(),C$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",v$.default,x$.default];Dl.default=C$});var fp=he(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var Zs=Be(),ei=Zs.operators,Qs={maximum:{okStr:"<=",ok:ei.LTE,fail:ei.GT},minimum:{okStr:">=",ok:ei.GTE,fail:ei.LT},exclusiveMaximum:{okStr:"<",ok:ei.LT,fail:ei.GTE},exclusiveMinimum:{okStr:">",ok:ei.GT,fail:ei.LTE}},A$={message:({keyword:t,schemaCode:r})=>Zs.str`should be ${Qs[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Zs._`{comparison: ${Qs[t].okStr}, limit: ${r}}`},E$={keyword:Object.keys(Qs),type:"number",schemaType:"number",$data:!0,error:A$,code(t){let{keyword:r,data:e,schemaCode:n}=t;t.fail$data(Zs._`${e} ${Qs[r].fail} ${n} || isNaN(${e})`)}};Ll.default=E$});var cp=he(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var Zo=Be(),_$={message:({schemaCode:t})=>Zo.str`should be multiple of ${t}`,params:({schemaCode:t})=>Zo._`{multipleOf: ${t}}`},S$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:_$,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}))`)}};jl.default=S$});var pp=he(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});function P$(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}Bl.default=P$});var dp=he(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var ti=Be(),F$=pp(),T$={message({keyword:t,schemaCode:r}){let e=t==="maxLength"?"more":"fewer";return ti.str`should NOT have ${e} than ${r} characters`},params:({schemaCode:t})=>ti._`{limit: ${t}}`},I$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:T$,code(t){let{keyword:r,data:e,schemaCode:n,it:o}=t,s=r==="maxLength"?ti.operators.GT:ti.operators.LT,l;if(o.opts.unicode===!1)l=ti._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:F$.default,code:ti._`require("ajv/dist/compile/ucs2length").default`});l=ti._`${f}(${e})`}t.fail$data(ti._`${l} ${s} ${n}`)}};Ml.default=I$});var mp=he(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var O$=pn(),Xs=Be(),q$={message:({schemaCode:t})=>Xs.str`should match pattern "${t}"`,params:({schemaCode:t})=>Xs._`{pattern: ${t}}`},R$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:q$,code(t){let{gen:r,data:e,$data:n,schema:o,schemaCode:s}=t,l=n?Xs._`(new RegExp(${s}, "u"))`:O$.usePattern(r,o);t.fail$data(Xs._`!${l}.test(${e})`)}};zl.default=R$});var hp=he(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var Qo=Be(),N$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Qo.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Qo._`{limit: ${t}}`},D$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:N$,code(t){let{keyword:r,data:e,schemaCode:n}=t,o=r==="maxProperties"?Qo.operators.GT:Qo.operators.LT;t.fail$data(Qo._`Object.keys(${e}).length ${o} ${n}`)}};Vl.default=D$});var gp=he(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var Xo=pn(),Yo=Be(),L$=zr(),j$={message:({params:{missingProperty:t}})=>Yo.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>Yo._`{missingProperty: ${t}}`},B$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:j$,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 C=t.parentSchema.properties,{definedProperties:x}=t.it;for(let O of e)if((C==null?void 0:C[O])===void 0&&!x.has(O)){let R=l.schemaEnv.baseId+l.errSchemaPath,j=`required property "${O}" is not defined at "${R}" (strictRequired)`;L$.checkStrictMode(l,j,l.opts.strictRequired)}}function g(){if(c||s)t.block$data(Yo.nil,w);else for(let C of e)Xo.checkReportMissingProp(t,C)}function h(){let C=r.let("missing");if(c||s){let x=r.let("valid",!0);t.block$data(x,()=>E(C,x)),t.ok(x)}else r.if(Xo.checkMissingProp(t,e,C)),Xo.reportMissingProp(t,C),r.else()}function w(){r.forOf("prop",n,C=>{t.setParams({missingProperty:C}),r.if(Xo.noPropertyInData(r,o,C,f.ownProperties),()=>t.error())})}function E(C,x){t.setParams({missingProperty:C}),r.forOf(C,n,()=>{r.assign(x,Xo.propertyInData(r,o,C,f.ownProperties)),r.if(Yo.not(x),()=>{t.error(),r.break()})},Yo.nil)}}};Ul.default=B$});var yp=he(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var es=Be(),M$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return es.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>es._`{limit: ${t}}`},z$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:M$,code(t){let{keyword:r,data:e,schemaCode:n}=t,o=r==="maxItems"?es.operators.GT:es.operators.LT;t.fail$data(es._`${e}.length ${o} ${n}`)}};Hl.default=z$});var $p=he(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var Gl=ro(),zt=Be(),V$=Vo(),U$={message:({params:{i:t,j:r}})=>zt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>zt._`{i: ${t}, j: ${r}}`},H$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:U$,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?Gl.getSchemaTypes(s.items):[];t.block$data(c,h,zt._`${l} === false`),t.ok(c);function h(){let x=r.let("i",zt._`${e}.length`),O=r.let("j");t.setParams({i:x,j:O}),r.assign(c,!0),r.if(zt._`${x} > 1`,()=>(w()?E:C)(x,O))}function w(){return g.length>0&&!g.some(x=>x==="object"||x==="array")}function E(x,O){let R=r.name("item"),j=Gl.checkDataTypes(g,R,f.opts.strict,Gl.DataType.Wrong),Y=r.const("indices",zt._`{}`);r.for(zt._`;${x}--;`,()=>{r.let(R,zt._`${e}[${x}]`),r.if(j,zt._`continue`),g.length>1&&r.if(zt._`typeof ${R} == "string"`,zt._`${R} += "_"`),r.if(zt._`typeof ${Y}[${R}] == "number"`,()=>{r.assign(O,zt._`${Y}[${R}]`),t.error(),r.assign(c,!1).break()}).code(zt._`${Y}[${R}] = ${x}`)})}function C(x,O){let R=t.gen.scopeValue("func",{ref:V$,code:zt._`require("ajv/dist/compile/equal")`}),j=r.name("outer");r.label(j).for(zt._`;${x}--;`,()=>r.for(zt._`${O} = ${x}; ${O}--;`,()=>r.if(zt._`${R}(${e}[${x}], ${e}[${O}])`,()=>{t.error(),r.assign(c,!1).break(j)})))}}};Kl.default=H$});var bp=he(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});var Wl=Be(),G$=Vo(),K$={message:"should be equal to constant",params:({schemaCode:t})=>Wl._`{allowedValue: ${t}}`},W$={keyword:"const",$data:!0,error:K$,code(t){let r=t.gen.scopeValue("func",{ref:G$,code:Wl._`require("ajv/dist/compile/equal")`});t.fail$data(Wl._`!${r}(${t.data}, ${t.schemaCode})`)}};Jl.default=W$});var wp=he(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var lo=Be(),J$=Vo(),Z$={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>lo._`{allowedValues: ${t}}`},Q$={keyword:"enum",schemaType:"array",$data:!0,error:Z$,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:J$,code:lo._`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 E=r.const("vSchema",s);g=lo.or(...o.map((C,x)=>w(E,x)))}t.pass(g);function h(){r.assign(g,!1),r.forOf("v",s,E=>r.if(lo._`${c}(${e}, ${E})`,()=>r.assign(g,!0).break()))}function w(E,C){let x=o[C];return x&&typeof x=="object"?lo._`${c}(${e}, ${E}[${C}])`:lo._`${e} === ${x}`}}};Zl.default=Q$});var kp=he(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var X$=fp(),Y$=cp(),eb=dp(),tb=mp(),rb=hp(),nb=gp(),ib=yp(),ob=$p(),sb=bp(),ab=wp(),lb=[X$.default,Y$.default,eb.default,tb.default,rb.default,nb.default,ib.default,ob.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},sb.default,ab.default];Ql.default=lb});var vp=he(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var Ai=Be(),ub=ki(),fb=_t(),cb=zr(),pb={message:({params:{len:t}})=>Ai.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ai._`{limit: ${t}}`},db={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:pb,code(t){let{gen:r,schema:e,parentSchema:n,data:o,it:s}=t,{items:l}=n;if(!Array.isArray(l)){cb.checkStrictMode(s,'"additionalItems" is ignored when "items" is not an array of schemas');return}s.items=!0;let f=r.const("len",Ai._`${o}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(Ai._`${f} <= ${l.length}`);else if(typeof e=="object"&&!fb.alwaysValidSchema(s,e)){let g=r.var("valid",Ai._`${f} <= ${l.length}`);r.if(Ai.not(g),()=>c(g)),t.ok(g)}function c(g){r.forRange("i",l.length,f,h=>{t.subschema({keyword:"additionalItems",dataProp:h,dataPropType:ub.Type.Num},g),s.allErrors||r.if(Ai.not(g),()=>r.break())})}}};Xl.default=db});var Cp=he(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});var xp=Be(),Yl=_t(),mb=zr(),hb=pn(),gb={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=Yl.mergeEvaluated.items(r,e.length,n.items)),o(e);else{if(n.items=!0,Yl.alwaysValidSchema(n,e))return;t.ok(hb.validateArray(t))}function o(s){let{parentSchema:l,data:f}=t;if(n.opts.strictTuples&&!yb(s.length,l)){let h=`"items" is ${s.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;mb.checkStrictMode(n,h,n.opts.strictTuples)}let c=r.name("valid"),g=r.const("len",xp._`${f}.length`);s.forEach((h,w)=>{Yl.alwaysValidSchema(n,h)||(r.if(xp._`${g} > ${w}`,()=>t.subschema({keyword:"items",schemaProp:w,dataProp:w},c)),t.ok(c))})}}};function yb(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}eu.default=gb});var Ep=he(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var hn=Be(),$b=ki(),bb=_t(),Ap=zr(),wb={message:({params:{min:t,max:r}})=>r===void 0?hn.str`should contain at least ${t} valid item(s)`:hn.str`should contain at least ${t} and no more than ${r} valid item(s)`,params:({params:{min:t,max:r}})=>r===void 0?hn._`{minContains: ${t}}`:hn._`{minContains: ${t}, maxContains: ${r}}`},kb={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:wb,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",hn._`${o}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){Ap.checkStrictMode(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){Ap.checkStrictMode(s,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(bb.alwaysValidSchema(s,e)){let x=hn._`${h} >= ${l}`;f!==void 0&&(x=hn._`${x} && ${h} <= ${f}`),t.pass(x);return}s.items=!0;let w=r.name("valid");if(f===void 0&&l===1)E(w,()=>r.if(w,()=>r.break()));else{r.let(w,!1);let x=r.name("_valid"),O=r.let("count",0);E(x,()=>r.if(x,()=>C(O)))}t.result(w,()=>t.reset());function E(x,O){r.forRange("i",0,h,R=>{t.subschema({keyword:"contains",dataProp:R,dataPropType:$b.Type.Num,compositeRule:!0},x),O()})}function C(x){r.code(hn._`${x}++`),f===void 0?r.if(hn._`${x} >= ${l}`,()=>r.assign(w,!0).break()):(r.if(hn._`${x} > ${f}`,()=>r.assign(w,!1).break()),l===1?r.assign(w,!0):r.if(hn._`${x} >= ${l}`,()=>r.assign(w,!0)))}}};tu.default=kb});var Pp=he(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.validateSchemaDeps=En.validatePropertyDeps=En.error=void 0;var ru=Be(),vb=_t(),ts=pn();En.error={message:({params:{property:t,depsCount:r,deps:e}})=>{let n=r===1?"property":"properties";return ru.str`should have ${n} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:r,deps:e,missingProperty:n}})=>ru._`{property: ${t},
|
|
6
|
+
missingProperty: ${n},
|
|
7
7
|
depsCount: ${r},
|
|
8
|
-
deps: ${e}}`};var yb={keyword:"dependencies",type:"object",schemaType:"object",error:vn.error,code(t){let[r,e]=$b(t);vp(t,r),xp(t,e)}};function $b({schema:t}){let r={},e={};for(let i in t){if(i==="__proto__")continue;let s=Array.isArray(t[i])?r:e;s[i]=t[i]}return[r,e]}function vp(t,r=t.schema){let{gen:e,data:i,it:s}=t;if(Object.keys(r).length===0)return;let a=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=Uo.propertyInData(e,i,l,s.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),s.allErrors?e.if(c,()=>{for(let m of f)Uo.checkReportMissingProp(t,m)}):(e.if(Jl._`${c} && (${Uo.checkMissingProp(t,f,a)})`),Uo.reportMissingProp(t,a),e.else())}}vn.validatePropertyDeps=vp;function xp(t,r=t.schema){let{gen:e,data:i,keyword:s,it:a}=t,l=e.name("valid");for(let f in r)gb.alwaysValidSchema(a,r[f])||(e.if(Uo.propertyInData(e,i,f,a.opts.ownProperties),()=>{let c=t.subschema({keyword:s,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}vn.validateSchemaDeps=xp;vn.default=yb});var Ap=me(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var Ql=Ne(),bb=_t(),wb={message:({params:t})=>Ql.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>Ql._`{propertyName: ${t.propertyName}}`},kb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:wb,code(t){let{gen:r,schema:e,data:i,it:s}=t;if(bb.alwaysValidSchema(s,e))return;let a=r.name("valid");r.forIn("key",i,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},a),r.if(Ql.not(a),()=>{t.error(!0),s.allErrors||r.break()})}),t.ok(a)}};Xl.default=kb});var tu=me(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});var Us=sn(),fn=Ne(),vb=on(),xb=yi(),Yl=_t(),Cb={message:"should NOT have additional properties",params:({params:t})=>fn._`{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:i,data:s,errsCount:a,it:l}=t;if(!a)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 m=Us.allSchemaProperties(i.properties),d=Us.allSchemaProperties(i.patternProperties);$(),t.ok(fn._`${a} === ${vb.default.errors}`);function $(){r.forIn("key",s,N=>{!m.length&&!d.length?x(N):r.if(E(N),()=>x(N))})}function E(N){let B;if(m.length>8){let X=Yl.schemaRefOrVal(l,i.properties,"properties");B=Us.isOwnProperty(r,X,N)}else m.length?B=fn.or(...m.map(X=>fn._`${N} === ${X}`)):B=fn.nil;return d.length&&(B=fn.or(B,...d.map(X=>fn._`${Us.usePattern(r,X)}.test(${N})`))),fn.not(B)}function k(N){r.code(fn._`delete ${s}[${N}]`)}function x(N){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){k(N);return}if(e===!1){t.setParams({additionalProperty:N}),t.error(),f||r.break();return}if(typeof e=="object"&&!Yl.alwaysValidSchema(l,e)){let B=r.name("valid");c.removeAdditional==="failing"?(I(N,B,!1),r.if(fn.not(B),()=>{t.reset(),k(N)})):(I(N,B),f||r.if(fn.not(B),()=>r.break()))}}function I(N,B,X){let se={keyword:"additionalProperties",dataProp:N,dataPropType:xb.Type.Str};X===!1&&Object.assign(se,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(se,B)}}};eu.default=Ab});var Sp=me(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});var Eb=Fo(),Ep=sn(),ru=_t(),_p=tu(),_b={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:i,data:s,it:a}=t;a.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&_p.default.code(new Eb.default(a,_p.default,"additionalProperties"));let l=Ep.allSchemaProperties(e);for(let $ of l)a.definedProperties.add($);a.opts.unevaluated&&l.length&&a.props!==!0&&(a.props=ru.mergeEvaluated.props(r,ru.toHash(l),a.props));let f=l.filter($=>!ru.alwaysValidSchema(a,e[$]));if(f.length===0)return;let c=r.name("valid");for(let $ of f)m($)?d($):(r.if(Ep.propertyInData(r,s,$,a.opts.ownProperties)),d($),a.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add($),t.ok(c);function m($){return a.opts.useDefaults&&!a.compositeRule&&e[$].default!==void 0}function d($){t.subschema({keyword:"properties",schemaProp:$,dataProp:$},c)}}};nu.default=_b});var Tp=me(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var Pp=sn(),Hs=Ne(),Sb=yi(),Pb=Lr(),Tb=_t(),Fb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:i,parentSchema:s,it:a}=t,{opts:l}=a,f=Pp.schemaProperties(a,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&s.properties,m=r.name("valid");a.props!==!0&&!(a.props instanceof Hs.Name)&&(a.props=Tb.evaluatedPropsToName(r,a.props));let{props:d}=a;$();function $(){for(let x of f)c&&E(x),a.allErrors?k(x):(r.var(m,!0),k(x),r.if(m))}function E(x){for(let I in c)new RegExp(x).test(I)&&Pb.checkStrictMode(a,`property ${I} matches pattern ${x} (use allowMatchingProperties)`)}function k(x){r.forIn("key",i,I=>{r.if(Hs._`${Pp.usePattern(r,x)}.test(${I})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:x,dataProp:I,dataPropType:Sb.Type.Str},m),a.opts.unevaluated&&d!==!0?r.assign(Hs._`${d}[${I}]`,!0):a.allErrors||r.if(Hs.not(m),()=>r.break())})})}}};iu.default=Fb});var Fp=me(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var Ib=_t(),Ob={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:i}=t;if(Ib.alwaysValidSchema(i,e)){t.fail();return}let s=r.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),t.result(s,()=>t.error(),()=>t.reset())},error:{message:"should NOT be valid"}};ou.default=Ob});var Ip=me(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var qb=sn(),Nb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:qb.validateUnion,error:{message:"should match some schema in anyOf"}};su.default=Nb});var Op=me(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});var Gs=Ne(),Db=_t(),Rb={message:"should match exactly one schema in oneOf",params:({params:t})=>Gs._`{passingSchemas: ${t.passing}}`},Lb={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Rb,code(t){let{gen:r,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=e,a=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(a,()=>t.reset(),()=>t.error(!0));function c(){s.forEach((m,d)=>{let $;Db.alwaysValidSchema(i,m)?r.var(f,!0):$=t.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},f),d>0&&r.if(Gs._`${f} && ${a}`).assign(a,!1).assign(l,Gs._`[${l}, ${d}]`).else(),r.if(f,()=>{r.assign(a,!0),r.assign(l,d),$&&t.mergeEvaluated($,Gs.Name)})})}}};au.default=Lb});var qp=me(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});var jb=_t(),Bb={keyword:"allOf",schemaType:"array",code(t){let{gen:r,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=r.name("valid");e.forEach((a,l)=>{if(jb.alwaysValidSchema(i,a))return;let f=t.subschema({keyword:"allOf",schemaProp:l},s);t.ok(s),t.mergeEvaluated(f)})}};lu.default=Bb});var Dp=me(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Ks=Ne(),Mb=_t(),zb=Lr(),Vb={message:({params:t})=>Ks.str`should match "${t.ifClause}" schema`,params:({params:t})=>Ks._`{failingKeyword: ${t.ifClause}}`},Ub={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Vb,code(t){let{gen:r,parentSchema:e,it:i}=t;e.then===void 0&&e.else===void 0&&zb.checkStrictMode(i,'"if" without "then" and "else" is ignored');let s=Np(i,"then"),a=Np(i,"else");if(!s&&!a)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),s&&a){let d=r.let("ifClause");t.setParams({ifClause:d}),r.if(f,m("then",d),m("else",d))}else s?r.if(f,m("then")):r.if(Ks.not(f),m("else"));t.pass(l,()=>t.error(!0));function c(){let d=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);t.mergeEvaluated(d)}function m(d,$){return()=>{let E=t.subschema({keyword:d},f);r.assign(l,f),t.mergeValidEvaluated(E,l),$?r.assign($,Ks._`${d}`):t.setParams({ifClause:d})}}}};function Np(t,r){let e=t.schema[r];return e!==void 0&&!Mb.alwaysValidSchema(t,e)}uu.default=Ub});var Rp=me(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Hb=Lr(),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`)}};fu.default=Gb});var Lp=me(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Kb=yp(),Wb=bp(),Zb=kp(),Jb=Cp(),Qb=Ap(),Xb=tu(),Yb=Sp(),ew=Tp(),tw=Fp(),rw=Ip(),nw=Op(),iw=qp(),ow=Dp(),sw=Rp(),aw=[tw.default,rw.default,nw.default,iw.default,ow.default,sw.default,Kb.default,Wb.default,Zb.default,Qb.default,Xb.default,Jb.default,Yb.default,ew.default];cu.default=aw});var jp=me(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var Nt=Ne(),lw={message:({schemaCode:t})=>Nt.str`should match format "${t}"`,params:({schemaCode:t})=>Nt._`{format: ${t}}`},uw={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:lw,code(t,r){let{gen:e,data:i,$data:s,schema:a,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:m,schemaEnv:d,self:$}=f;if(!c.validateFormats)return;s?E():k();function E(){let x=e.scopeValue("formats",{ref:$.formats,code:c.code.formats}),I=e.const("fDef",Nt._`${x}[${l}]`),N=e.let("fType"),B=e.let("format");e.if(Nt._`typeof ${I} == "object" && !(${I} instanceof RegExp)`,()=>e.assign(N,Nt._`${I}.type || "string"`).assign(B,Nt._`${I}.validate`),()=>e.assign(N,Nt._`"string"`).assign(B,I)),t.fail$data(Nt.or(X(),se()));function X(){return c.strict===!1?Nt.nil:Nt._`${l} && !${B}`}function se(){let $e=d.$async?Nt._`(${I}.async ? await ${B}(${i}) : ${B}(${i}))`:Nt._`${B}(${i})`,he=Nt._`(typeof ${B} == "function" ? ${$e} : ${B}.test(${i}))`;return Nt._`${B} && ${B} !== true && ${N} === ${r} && !${he}`}}function k(){let x=$.formats[a];if(!x){X();return}if(x===!0)return;let[I,N,B]=se(x);I===r&&t.pass($e());function X(){if(c.strict===!1){$.logger.warn(he());return}throw new Error(he());function he(){return`unknown format "${a}" ignored in schema at path "${m}"`}}function se(he){let ne=e.scopeValue("formats",{key:a,ref:he,code:c.code.formats?Nt._`${c.code.formats}${Nt.getProperty(a)}`:void 0});return typeof he=="object"&&!(he instanceof RegExp)?[he.type||"string",he.validate,Nt._`${ne}.validate`]:["string",he,ne]}function $e(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!d.$async)throw new Error("async format in sync schema");return Nt._`await ${B}(${i})`}return typeof N=="function"?Nt._`${B}(${i})`:Nt._`${B}.test(${i})`}}}};pu.default=uw});var Bp=me(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var fw=jp(),cw=[fw.default];du.default=cw});var Mp=me(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.contentVocabulary=ro.metadataVocabulary=void 0;ro.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];ro.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Vp=me(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var pw=ip(),dw=gp(),mw=Lp(),hw=Bp(),zp=Mp(),gw=[pw.default,dw.default,mw.default,hw.default,zp.metadataVocabulary,zp.contentVocabulary];mu.default=gw});var Up=me((V1,yw)=>{yw.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 Gp=me(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 $w=Fo();Zt.KeywordCxt=$w.default;var no=Ne();Object.defineProperty(Zt,"_",{enumerable:!0,get:function(){return no._}});Object.defineProperty(Zt,"str",{enumerable:!0,get:function(){return no.str}});Object.defineProperty(Zt,"stringify",{enumerable:!0,get:function(){return no.stringify}});Object.defineProperty(Zt,"nil",{enumerable:!0,get:function(){return no.nil}});Object.defineProperty(Zt,"Name",{enumerable:!0,get:function(){return no.Name}});Object.defineProperty(Zt,"CodeGen",{enumerable:!0,get:function(){return no.CodeGen}});var bw=Xc(),ww=Vp(),Hp=Up(),kw=["/properties"],Ws="http://json-schema.org/draft-07/schema",hu=class extends bw.default{_addVocabularies(){super._addVocabularies(),ww.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Hp,kw):Hp;this.addMetaSchema(r,Ws,!1),this.refs["http://json-schema.org/schema"]=Ws}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Ws)?Ws:void 0)}};Zt.default=hu});var Wp=me((H1,Kp)=>{var vw=Object.prototype.hasOwnProperty,xw=Object.prototype.toString;Kp.exports=function(r,e,i){if(xw.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var a=0;a<s;a++)e.call(i,r[a],a,r);else for(var l in r)vw.call(r,l)&&e.call(i,r[l],l,r)}});var Jp=me((G1,Zp)=>{"use strict";var Cw=Wp();Zp.exports=ht;function ht(t,r,e){if(arguments.length===3)return ht.set(t,r,e);if(arguments.length===2)return ht.get(t,r);var i=ht.bind(ht,t);for(var s in ht)ht.hasOwnProperty(s)&&(i[s]=ht[s].bind(i,t));return i}ht.get=function(r,e){for(var i=Array.isArray(e)?e:ht.parse(e),s=0;s<i.length;++s){var a=i[s];if(!(typeof r=="object"&&a in r))throw new Error("Invalid reference token: "+a);r=r[a]}return r};ht.set=function(r,e,i){var s=Array.isArray(e)?e:ht.parse(e),a=s[0];if(s.length===0)throw Error("Can not set the root object");for(var l=0;l<s.length-1;++l){var f=s[l];f==="__proto__"||f==="constructor"||f==="prototype"||(f==="-"&&Array.isArray(r)&&(f=r.length),a=s[l+1],f in r||(a.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return a==="-"&&Array.isArray(r)&&(a=r.length),r[a]=i,this};ht.remove=function(t,r){var e=Array.isArray(r)?r:ht.parse(r),i=e[e.length-1];if(i===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var s=ht.get(t,e.slice(0,-1));if(Array.isArray(s)){var a=+i;if(i===""&&isNaN(a))throw new Error('Invalid array index: "'+i+'"');Array.prototype.splice.call(s,a,1)}else delete s[i]};ht.dict=function(r,e){var i={};return ht.walk(r,function(s,a){i[a]=s},e),i};ht.walk=function(r,e,i){var s=[];i=i||function(a){var l=Object.prototype.toString.call(a);return l==="[object Object]"||l==="[object Array]"},function a(l){Cw(l,function(f,c){s.push(String(c)),i(f)?a(f):e(f,ht.compile(s)),s.pop()})}(r)};ht.has=function(r,e){try{ht.get(r,e)}catch{return!1}return!0};ht.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};ht.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};ht.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(ht.unescape)};ht.compile=function(r){return r.length===0?"":"/"+r.map(ht.escape).join("/")}});var Qp=me((K1,Aw)=>{Aw.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var Xp=me((W1,Ew)=>{Ew.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"]},checked:{type:"boolean"},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:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{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"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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=me((Z1,_w)=>{_w.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"]},checked:{type:"boolean"},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:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{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"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 ed=me(Zs=>{Zs.Test=Qp();Zs.AstTree=Xp();Zs.PodliteDocument=Yp()});var hd=me((vu,xu)=>{(function(t,r,e){typeof vu=="object"?(xu.exports=e(),xu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",vu,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(i,s){if(typeof i!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var a=r[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,f=s.trim===void 0?!0:s.trim,c=i.normalize().split("").reduce(function(m,d){var $=a[d];return $===void 0&&($=t[d]),$===void 0&&($=d),$===l&&($=" "),m+$.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,"")),f&&(c=c.trim()),c=c.replace(/\s+/g,l),s.lower&&(c=c.toLowerCase()),c}return e.extend=function(i){Object.assign(t,i)},e})});var $d=me((rC,yd)=>{"use strict";function Bw(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ci(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ci)}Bw(Ci,Error);Ci.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",$;for($=0;$<m.parts.length;$++)d+=m.parts[$]instanceof Array?a(m.parts[$][0])+"-"+a(m.parts[$][1]):a(m.parts[$]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),$,E;for($=0;$<m.length;$++)d[$]=l(m[$]);if(d.sort(),d.length>0){for($=1,E=1;$<d.length;$++)d[$-1]!==d[$]&&(d[E]=d[$],E++);d.length=E}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Mw(t,r){r=r!==void 0?r:{};var e={},i={Document:Ff},s=Ff,a=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=j(),m=function(){return{text:S(),type:"ambient",location:q()}},d=/^[ \xA0\u2001\t\f\u2008]/,$=L([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),E=/^[ \t\f]/,k=L([" "," ","\f"],!1,!1),x=/^[\n\r]/,I=L([`
|
|
9
|
-
`,"\r"],!1,!1),
|
|
10
|
-
`,"\r"],!0,!1),
|
|
11
|
-
`,$e=
|
|
12
|
-
`,!1),
|
|
13
|
-
`?"":
|
|
14
|
-
`," "," ","\f"],!1,!1),Pa=ps("space characters"),n=0,h=0,T=[{line:1,column:1}],w=0,_=[],y=0,R;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function S(){return t.substring(h,n)}function q(){return ko(h,n)}function J(u,p){throw p=p!==void 0?p:ko(h,n),Tf([ps(u)],t.substring(h,n),p)}function P(u,p){throw p=p!==void 0?p:ko(h,n),mh(u,p)}function W(u,p){return{type:"literal",text:u,ignoreCase:p}}function L(u,p,g){return{type:"class",parts:u,inverted:p,ignoreCase:g}}function j(){return{type:"any"}}function K(){return{type:"end"}}function ps(u){return{type:"other",description:u}}function Pf(u){var p=T[u],g;if(p)return p;for(g=u-1;!T[g];)g--;for(p=T[g],p={line:p.line,column:p.column};g<u;)t.charCodeAt(g)===10?(p.line++,p.column=1):p.column++,g++;return T[u]=p,p}function ko(u,p){var g=Pf(u),b=Pf(p);return{start:{offset:u,line:g.line,column:g.column},end:{offset:p,line:b.line,column:b.column}}}function oe(u){n<w||(n>w&&(w=n,_=[]),_.push(u))}function mh(u,p){return new Ci(u,null,null,p)}function Tf(u,p,g){return new Ci(Ci.buildMessage(u,p),u,p,g)}function Ff(){var u,p,g;for(u=n,p=[],g=If();g!==e;)p.push(g),g=If();return p!==e&&(h=u,p=a(p)),u=p,u}function If(){var u,p,g,b,A,C,U,Q;if(u=Ta(),u===e&&(u=Ia(),u===e&&(u=Oa(),u===e&&(u=ja(),u===e&&(u=Ba(),u===e&&(u=Ma(),u===e&&(u=Ra(),u===e&&(u=La(),u===e&&(u=qa(),u===e&&(u=Na(),u===e&&(u=Da(),u===e&&(u=n,h=n,p=l(),p?p=void 0:p=e,p!==e?(g=kh(),g===e&&(g=$n(),g===e&&(g=gh())),g!==e?(h=u,p=f(g),u=p):(n=u,u=e)):(n=u,u=e),u===e)))))))))))){if(u=n,p=n,g=[],b=n,A=n,y++,C=n,U=Rn(),U!==e?(Q=tr(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=fi()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e),b!==e)for(;b!==e;)g.push(b),b=n,A=n,y++,C=n,U=Rn(),U!==e?(Q=tr(),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=fi()),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e);else g=e;g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=m()),u=p}return u}function Ot(){var u;return d.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe($)),u}function ge(){var u,p;for(u=[],E.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));p!==e;)u.push(p),E.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(k));return u}function ai(){var u,p,g,b;for(u=n,p=n,g=[],b=Ot();b!==e;)g.push(b),b=Ot();return g!==e?(x.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(I)),b!==e?(g=[g,b],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function O0(){var u,p,g,b;if(u=n,p=n,g=[],b=vo(),b!==e)for(;b!==e;)g.push(b),b=vo();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=ui(),g!==e?(h=u,p=N(p),u=p):(n=u,u=e)):(n=u,u=e),u}function vo(){var u;return B.test(t.charAt(n))?(u=t.charAt(n),n++):(u=e,y===0&&oe(X)),u}function li(){var u,p,g;return t.charCodeAt(n)===10?(u=se,n++):(u=e,y===0&&oe($e)),u===e&&(u=n,t.charCodeAt(n)===13?(p=he,n++):(p=e,y===0&&oe(ne)),p!==e?(t.charCodeAt(n)===10?(g=se,n++):(g=e,y===0&&oe($e)),g===e&&(g=null),g!==e?(p=[p,g],u=p):(n=u,u=e)):(n=u,u=e)),u}function ui(){var u,p;return u=li(),u===e&&(u=n,y++,t.length>n?(p=t.charAt(n),n++):(p=e,y===0&&oe(c)),y--,p===e?u=void 0:(n=u,u=e)),u}function Dr(){var u,p,g,b;for(u=n,p=n,g=[],b=Ot();b!==e;)g.push(b),b=Ot();return g!==e?(x.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(I)),b!==e?(g=[g,b],p=g):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u}function $n(){var u,p,g,b,A;for(u=n,p=n,g=n,b=[],A=Ot();A!==e;)b.push(A),A=Ot();return b!==e?(x.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(I)),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=be()),u=p,u}function ds(){var u;return t.substr(n,7)===xe?(u=xe,n+=7):(u=e,y===0&&oe(ke)),u}function ji(){var u;return t.substr(n,5)===Le?(u=Le,n+=5):(u=e,y===0&&oe(Ee)),u}function ms(){var u;return t.substr(n,5)===_e?(u=_e,n+=5):(u=e,y===0&&oe(de)),u}function Of(){var u;return t.substr(n,7)===Ce?(u=Ce,n+=7):(u=e,y===0&&oe(ot)),u}function qf(){var u;return t.substr(n,6)===Y?(u=Y,n+=6):(u=e,y===0&&oe(Ct)),u}function tr(){var u,p,g;return u=n,p=za(),p!==e?(h=n,g=Ze(p),g?g=void 0:g=e,g!==e?(h=u,p=yt(p),u=p):(n=u,u=e)):(n=u,u=e),u}function fi(){var u,p,g;return u=n,t.charCodeAt(n)===61?(p=tt,n++):(p=e,y===0&&oe(M)),p!==e?(g=tr(),g!==e?(h=u,p=yt(g),u=p):(n=u,u=e)):(n=u,u=e),u}function Rn(){var u;return u=ds(),u===e&&(u=ji(),u===e&&(u=ms(),u===e&&(u=Of(),u===e&&(u=qf())))),u}function Ur(){var u,p,g;if(y++,u=n,p=[],g=vo(),g!==e)for(;g!==e;)p.push(g),g=vo();else p=e;return p!==e?u=t.substring(u,n):u=p,y--,u===e&&(p=e,y===0&&oe(V)),u}function Gt(){var u,p,g,b,A,C,U;if(u=n,p=n,y++,g=n,b=ge(),b!==e?(A=Of(),A===e&&(A=qf(),A===e&&(A=n,C=Rn(),C!==e?(U=tr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A===e&&(A=fi()))),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e),g===e&&(g=$n()),y--,g===e?p=void 0:(n=p,p=e),p!==e){if(g=n,b=[],A=Ur(),A!==e)for(;A!==e;)b.push(A),A=Ur();else b=e;b!==e?g=t.substring(g,n):g=b,g!==e?(b=ui(),b!==e?(h=u,p=Jt(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u}function hh(){var u,p,g,b;if(u=n,p=n,g=[],b=Ur(),b!==e)for(;b!==e;)g.push(b),b=Ur();else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=ui(),g!==e?(h=u,p=Jt(),u=p):(n=u,u=e)):(n=u,u=e),u}function gh(){var u,p,g,b,A,C;if(u=n,p=n,g=[],b=n,A=n,y++,C=ui(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e),b!==e)for(;b!==e;)g.push(b),b=n,A=n,y++,C=ui(),y--,C===e?A=void 0:(n=A,A=e),A!==e?(t.length>n?(C=t.charAt(n),n++):(C=e,y===0&&oe(c)),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e);else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e?(g=ui(),g!==e?(h=u,p=Rt(),u=p):(n=u,u=e)):(n=u,u=e),u}function Nf(){var u,p,g,b;if(u=n,p=Df(),p!==e){if(g=[],b=Ot(),b!==e)for(;b!==e;)g.push(b),b=Ot();else g=e;g!==e?(b=Nf(),b!==e?(h=u,p=bt(p,b),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Df(),p!==e&&(h=u,p=St(p)),u=p),u}function Df(){var u,p;return u=n,p=vo(),p!==e?u=t.substring(u,n):u=p,u}function hs(){var u,p,g,b,A,C;if(u=n,p=Mi(),p!==e){if(g=[],b=Ot(),b!==e)for(;b!==e;)g.push(b),b=Ot();else g=e;g===e&&(g=n,b=ge(),b!==e?(t.charCodeAt(n)===44?(A=At,n++):(A=e,y===0&&oe(st)),A!==e?(C=ge(),C!==e?(b=[b,A,C],g=b):(n=g,g=e)):(n=g,g=e)):(n=g,g=e)),g!==e?(b=hs(),b!==e?(h=u,p=Fr(p,b),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;return u===e&&(u=n,p=Mi(),p!==e&&(h=u,p=St(p)),u=p),u}function yh(){var u,p,g,b,A;if(u=n,p=n,g=[],ye.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(wr)),b!==e)for(;b!==e;)g.push(b),ye.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(wr));else g=e;if(g!==e){for(b=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir));A!==e;)b.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir));b!==e?(g=[g,b],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function Rf(){var u,p,g,b,A,C;return u=n,p=yh(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?(b=At,n++):(b=e,y===0&&oe(st)),b===e&&(t.substr(n,2)===Vt?(b=Vt,n+=2):(b=e,y===0&&oe(ei))),b!==e?(A=ge(),A!==e?(C=Mi(),C!==e?(h=u,p=Mn(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Lf(){var u,p,g,b,A,C;return u=n,p=Rf(),p!==e?(g=ge(),g!==e?(t.charCodeAt(n)===44?(b=At,n++):(b=e,y===0&&oe(st)),b!==e?(A=ge(),A!==e?(C=Lf(),C!==e?(h=u,p=En(p,C),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u===e&&(u=n,p=Rf(),p!==e&&(h=u,p=Ge(p)),u=p),u}function $h(){var u,p,g,b,A,C,U,Q,F,D;return u=n,p=ge(),p!==e?(t.charCodeAt(n)===58?(g=Ke,n++):(g=e,y===0&&oe(at)),g!==e?(t.substr(n,5)===We?(b=We,n+=5):(b=e,y===0&&oe(Or)),b!==e?(A=n,t.charCodeAt(n)===60?(C=ze,n++):(C=e,y===0&&oe(Ve)),C!==e?(U=ge(),U!==e?(Q=Nf(),Q!==e?(F=ge(),F!==e?(t.charCodeAt(n)===62?(D=ct,n++):(D=e,y===0&&oe(pt)),D!==e?(h=A,C=Ut(b,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)):(n=A,A=e),A!==e?(C=ge(),C!==e?(h=u,p=re(b,A),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function q0(){var u,p,g,b,A,C;for(u=n,p=[],g=n,b=ge(),b!==e?(A=Mi(),A!==e?(C=ge(),C!==e?(h=g,b=ae(A),g=b):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);g!==e;)p.push(g),g=n,b=ge(),b!==e?(A=Mi(),A!==e?(C=ge(),C!==e?(h=g,b=ae(A),g=b):(n=g,g=e)):(n=g,g=e)):(n=g,g=e);return p!==e&&(h=u,p=we(p)),u=p,u===e&&(u=n,p=Mi(),p!==e&&(h=u,p=Ie(p)),u=p,u===e&&(u=n,p=ge(),p!==e&&(h=u,p=Dt()),u=p)),u}function Bi(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le,ce;if(u=$h(),u===e)if(u=n,p=ge(),p!==e)if(t.charCodeAt(n)===58?(g=Ke,n++):(g=e,y===0&&oe(at)),g!==e)if(Zr.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(rt)),b===e&&(b=null),b!==e)if(A=za(),A!==e){if(C=n,t.charCodeAt(n)===123?(U=wt,n++):(U=e,y===0&&oe(Pt)),U!==e?(Q=ge(),Q!==e?(F=Lf(),F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===125?(H=Jr,n++):(H=e,y===0&&oe(dt)),H!==e?(h=C,U=_n(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e){if(C=n,t.charCodeAt(n)===91?(U=It,n++):(U=e,y===0&&oe(cn)),U!==e)if(Q=ge(),Q!==e){if(F=n,D=hs(),D!==e&&(h=F,D=co(b,A,D)),F=D,F===e){if(F=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Br,n++):(ce=e,y===0&&oe(zn)),ce===e&&(t.charCodeAt(n)===91?(ce=It,n++):(ce=e,y===0&&oe(cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===93?(ce=Br,n++):(ce=e,y===0&&oe(zn)),ce===e&&(t.charCodeAt(n)===91?(ce=It,n++):(ce=e,y===0&&oe(cn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=F,D=ti(b,A)),F=D}F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===93?(H=Br,n++):(H=e,y===0&&oe(zn)),H!==e?(h=C,U=po(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e&&(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Ve)),U!==e?(Q=ge(),Q!==e?(F=hs(),F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ct,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=ri(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)):(n=C,C=e),C===e)){if(C=n,t.charCodeAt(n)===60?(U=ze,n++):(U=e,y===0&&oe(Ve)),U!==e)if(Q=ge(),Q!==e){if(F=n,D=[],H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Ve)),le===e&&(t.charCodeAt(n)===62?(le=ct,n++):(le=e,y===0&&oe(pt))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e),H!==e)for(;H!==e;)D.push(H),H=n,ie=n,y++,t.charCodeAt(n)===60?(le=ze,n++):(le=e,y===0&&oe(Ve)),le===e&&(t.charCodeAt(n)===62?(le=ct,n++):(le=e,y===0&&oe(pt))),y--,le===e?ie=void 0:(n=ie,ie=e),ie!==e?(t.length>n?(le=t.charAt(n),n++):(le=e,y===0&&oe(c)),le!==e?(ie=[ie,le],H=ie):(n=H,H=e)):(n=H,H=e);else D=e;D!==e?F=t.substring(F,n):F=D,F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===62?(H=ct,n++):(H=e,y===0&&oe(pt)),H!==e?(h=C,U=qi(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;if(C===e){if(C=n,t.charCodeAt(n)===40?(U=ni,n++):(U=e,y===0&&oe(Sn)),U!==e)if(Q=ge(),Q!==e){if(F=n,D=hs(),D!==e&&(h=F,D=Ni(b,A,D)),F=D,F===e){if(F=n,D=n,H=[],ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=Pn,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ni,n++):(ce=e,y===0&&oe(Sn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e),ie!==e)for(;ie!==e;)H.push(ie),ie=n,le=n,y++,t.charCodeAt(n)===41?(ce=Pn,n++):(ce=e,y===0&&oe(z)),ce===e&&(t.charCodeAt(n)===40?(ce=ni,n++):(ce=e,y===0&&oe(Sn))),y--,ce===e?le=void 0:(n=le,le=e),le!==e?(t.length>n?(ce=t.charAt(n),n++):(ce=e,y===0&&oe(c)),ce!==e?(le=[le,ce],ie=le):(n=ie,ie=e)):(n=ie,ie=e);else H=e;H!==e?D=t.substring(D,n):D=H,D!==e&&(h=F,D=O(b,A)),F=D}F!==e?(D=ge(),D!==e?(t.charCodeAt(n)===41?(H=Pn,n++):(H=e,y===0&&oe(z)),H!==e?(h=C,U=G(b,A,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)}else n=C,C=e;else n=C,C=e;C===e&&(C=n,U=ge(),U!==e&&(h=C,U=ee(b,A)),C=U)}}}C!==e?(U=ge(),U!==e?(h=u,p=te(b,A,C),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function ci(){var u,p,g,b,A,C,U,Q,F,D;for(u=n,p=[],g=Bi();g!==e;)p.push(g),g=Bi();if(p!==e)if(g=li(),g!==e){if(b=[],A=n,t.charCodeAt(n)===61?(C=tt,n++):(C=e,y===0&&oe(M)),C!==e)if(U=ge(),U!==e){if(Q=[],F=Bi(),F!==e)for(;F!==e;)Q.push(F),F=Bi();else Q=e;Q!==e?(F=ge(),F!==e?(D=li(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;for(;A!==e;)if(b.push(A),A=n,t.charCodeAt(n)===61?(C=tt,n++):(C=e,y===0&&oe(M)),C!==e)if(U=ge(),U!==e){if(Q=[],F=Bi(),F!==e)for(;F!==e;)Q.push(F),F=Bi();else Q=e;Q!==e?(F=ge(),F!==e?(D=li(),D!==e?(h=A,C=pe(p,Q),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;b!==e?(h=u,p=Ae(p,b),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function N0(){var u,p,g,b;if(u=n,p=n,g=[],Oe.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(je)),b!==e)for(;b!==e;)g.push(b),Oe.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(je));else g=e;return g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=gt(p)),u=p,u}function jf(){var u,p,g;if(u=n,p=[],Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(nt)),g!==e)for(;g!==e;)p.push(g),Se.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(nt));else p=e;return p!==e?u=t.substring(u,n):u=p,u}function gs(){var u,p,g,b,A;if(u=n,p=n,kt.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(lt)),g===e&&(g=null),g!==e){if(b=[],Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(nt)),A!==e)for(;A!==e;)b.push(A),Se.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(nt));else b=e;b!==e?(g=[g,b],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function bh(){var u,p;return u=n,t.substr(n,4)===qe?(p=qe,n+=4):(p=e,y===0&&oe(mt)),p!==e&&(h=u,p=Je()),u=p,u===e&&(u=n,t.substr(n,5)===Mr?(p=Mr,n+=5):(p=e,y===0&&oe(Lt)),p!==e&&(h=u,p=Ht()),u=p),u}function wh(){var u,p,g,b,A,C;return u=n,p=n,g=gs(),g!==e?(b=n,t.charCodeAt(n)===46?(A=Qe,n++):(A=e,y===0&&oe(jt)),A!==e?(C=jf(),C!==e?(A=[A,C],b=A):(n=b,b=e)):(n=b,b=e),b===e&&(b=null),b!==e?(Qt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(kr)),A!==e?(C=gs(),C!==e?(g=[g,b,A,C],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p,u===e&&(u=n,p=n,g=gs(),g!==e?(t.charCodeAt(n)===46?(b=Qe,n++):(b=e,y===0&&oe(jt)),b!==e?(A=jf(),A!==e?(g=[g,b,A],p=g):(n=p,p=e)):(n=p,p=e)):(n=p,p=e),p!==e?u=t.substring(u,n):u=p),u}function Mi(){var u,p,g,b,A;if(u=n,zr.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(vr)),p!==e){for(g=n,b=[],pn.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Tn));A!==e;)b.push(A),pn.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Tn));b!==e?g=t.substring(g,n):g=b,g!==e?(zr.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(vr)),b!==e?(h=u,p=gt(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;if(u===e){if(u=n,Fn.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Qr)),p!==e){for(g=n,b=[],Xr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(xr));A!==e;)b.push(A),Xr.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(xr));b!==e?g=t.substring(g,n):g=b,g!==e?(Fn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Qr)),b!==e?(h=u,p=gt(g),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;u===e&&(u=bh(),u===e&&(u=n,p=wh(),p!==e&&(h=u,p=o(p)),u=p,u===e&&(u=n,p=gs(),p!==e&&(h=u,p=ue(p)),u=p)))}return u}function Ta(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le,ce,$t,Hn,Gr;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ds(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e)if(h=n,U=Cr(p,b,C),U?U=void 0:U=e,U!==e){if(Q=[],F=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ai(),ie===e&&(ie=n,le=n,y++,ce=Rn(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Hn=tr(),Hn!==e?(h=n,Gr=fr(p,b,C,D,Hn),Gr?Gr=void 0:Gr=e,Gr!==e?($t=[$t,Hn,Gr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=Ur(),ce!==e?($t=ai(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=F,D=Vn(p,b,C,D,H),F=D):(n=F,F=e)):(n=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=n,D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ai(),ie===e&&(ie=n,le=n,y++,ce=Rn(),y--,ce===e?le=void 0:(n=le,le=e),le===e&&(le=n,y++,ce=n,$t=ji(),$t!==e?(Hn=tr(),Hn!==e?(h=n,Gr=fr(p,b,C,D,Hn),Gr?Gr=void 0:Gr=e,Gr!==e?($t=[$t,Hn,Gr],ce=$t):(n=ce,ce=e)):(n=ce,ce=e)):(n=ce,ce=e),y--,ce===e?le=void 0:(n=le,le=e)),le!==e?(ce=Ur(),ce!==e?($t=ai(),$t===e&&($t=null),$t!==e?(le=[le,ce,$t],ie=le):(n=ie,ie=e)):(n=ie,ie=e)):(n=ie,ie=e)),ie!==e?H=t.substring(H,n):H=ie,H!==e?(h=F,D=Vn(p,b,C,D,H),F=D):(n=F,F=e)):(n=F,F=e);else Q=e;Q!==e?(F=n,D=ge(),D!==e?F=t.substring(F,n):F=D,F!==e?(D=n,H=ji(),H!==e?(ie=tr(),ie!==e?(h=n,le=v(p,b,C,Q,F,ie),le?le=void 0:le=e,le!==e?(ce=ai(),ce===e&&(ce=null),ce!==e?(h=D,H=Vr(p,b,C,Q,F,ie),D=H):(n=D,D=e)):(n=D,D=e)):(n=D,D=e)):(n=D,D=e),D!==e?(h=n,H=cr(p,b,C,Q,F,D),H?H=void 0:H=e,H!==e?(h=u,p=mo(p,b,C,Q,F,D),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function zi(){var u,p,g,b,A,C,U,Q,F;if(u=n,p=n,y++,g=n,b=ge(),b!==e?(A=Rn(),A===e&&(A=fi()),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e),g===e&&(g=$n()),y--,g===e?p=void 0:(n=p,p=e),p!==e){for(g=[],b=Ot();b!==e;)g.push(b),b=Ot();if(g!==e){if(b=n,A=[],C=n,In.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],F=Ot();F!==e;)Q.push(F),F=Ot();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;if(C!==e)for(;C!==e;)if(A.push(C),C=n,In.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(ho)),U!==e){for(Q=[],F=Ot();F!==e;)Q.push(F),F=Ot();Q!==e?(U=[U,Q],C=U):(n=C,C=e)}else n=C,C=e;else A=e;A!==e?b=t.substring(b,n):b=A,b!==e?(A=ui(),A!==e?(h=u,p=Xe(),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e}else n=u,u=e;return u}function Ar(){var u,p,g,b,A;return u=n,p=n,g=zi(),g===e&&(g=n,h=n,b=qr(),b?b=void 0:b=e,b!==e?(A=$n(),A!==e?(b=[b,A],g=b):(n=g,g=e)):(n=g,g=e)),g!==e?p=t.substring(p,n):p=g,p!==e&&(h=u,p=Nr()),u=p,u}function Hr(){var u,p;return u=n,p=Gt(),p!==e&&(h=u,p=dn(p)),u=p,u}function Fa(){var u,p,g,b,A,C,U,Q,F,D,H;if(u=n,h=n,p=ii(),p?p=void 0:p=e,p!==e){if(g=n,b=[],A=n,C=n,y++,U=zi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e)for(;A!==e;)b.push(A),A=n,C=n,y++,U=zi(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e);else b=e;if(b!==e?g=t.substring(g,n):g=b,g!==e)if(b=n,A=zi(),A!==e&&(h=b,A=On(g,A)),b=A,b!==e){if(A=[],C=n,U=n,Q=[],F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);else Q=e;if(Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,F=Ar(),F!==e&&(h=Q,F=pr(g,b,U,F)),Q=F,Q!==e?(h=C,U=Z(g,b,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=zi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,F=Ar(),y--,F===e?Q=void 0:(n=Q,Q=e),Q!==e?(F=Hr(),F!==e?(h=C,U=Yr(g,b,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e)),C!==e)for(;C!==e;){if(A.push(C),C=n,U=n,Q=[],F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e),F!==e)for(;F!==e;)Q.push(F),F=n,D=n,y++,H=Ar(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Hr(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);else Q=e;Q!==e?U=t.substring(U,n):U=Q,U!==e?(Q=n,F=Ar(),F!==e&&(h=Q,F=pr(g,b,U,F)),Q=F,Q!==e?(h=C,U=Z(g,b,U,Q),C=U):(n=C,C=e)):(n=C,C=e),C===e&&(C=n,U=n,y++,Q=zi(),y--,Q===e?U=void 0:(n=U,U=e),U!==e?(Q=n,y++,F=Ar(),y--,F===e?Q=void 0:(n=Q,Q=e),Q!==e?(F=Hr(),F!==e?(h=C,U=Yr(g,b,F),C=U):(n=C,C=e)):(n=C,C=e)):(n=C,C=e))}else A=e;A!==e?(h=n,C=mn(g,b,A),C?C=void 0:C=e,C!==e?(h=u,p=oi(g,b,A),u=p):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e}else n=u,u=e;if(u===e){if(u=n,p=[],g=n,b=n,A=n,C=n,y++,U=Ar(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?b=t.substring(b,n):b=A,b!==e){for(A=[],C=Ar();C!==e;)A.push(C),C=Ar();A!==e?(h=g,b=qn(b,A),g=b):(n=g,g=e)}else n=g,g=e;if(g!==e)for(;g!==e;)if(p.push(g),g=n,b=n,A=n,C=n,y++,U=Ar(),y--,U===e?C=void 0:(n=C,C=e),C!==e?(U=Hr(),U!==e?(C=[C,U],A=C):(n=A,A=e)):(n=A,A=e),A!==e?b=t.substring(b,n):b=A,b!==e){for(A=[],C=Ar();C!==e;)A.push(C),C=Ar();A!==e?(h=g,b=qn(b,A),g=b):(n=g,g=e)}else n=g,g=e;else p=e;if(p!==e&&(h=u,p=go(p)),u=p,u===e)if(u=[],p=Hr(),p!==e)for(;p!==e;)u.push(p),p=Hr();else u=e}return u}function Ia(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le,ce,$t;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ds(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e)if(h=n,U=os(p,b,C),U?U=void 0:U=e,U!==e)if(h=n,Q=Di(p,b,C),Q?Q=void 0:Q=e,Q!==e){for(F=n,D=[],H=$n();H!==e;)D.push(H),H=$n();if(D!==e)if(H=Fa(),H!==e){for(ie=[],le=$n();le!==e;)ie.push(le),le=$n();ie!==e?(h=F,D=en(p,b,C,H),F=D):(n=F,F=e)}else n=F,F=e;else n=F,F=e;F!==e?(D=n,H=ge(),H!==e?D=t.substring(D,n):D=H,D!==e?(H=n,ie=ji(),ie!==e?(le=tr(),le!==e?(h=n,ce=v(p,b,C,F,D,le),ce?ce=void 0:ce=e,ce!==e?($t=ai(),$t===e&&($t=null),$t!==e?(h=H,ie=yo(p,b,C,F,D,le),H=ie):(n=H,H=e)):(n=H,H=e)):(n=H,H=e)):(n=H,H=e),H!==e?(h=n,ie=cr(p,b,C,F,D,H),ie?ie=void 0:ie=e,ie!==e?(h=u,p=ss(p,b,C,F,D,H),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Oa(){var u,p,g,b,A,C,U,Q,F,D,H,ie,le;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ds(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e){if(U=[],Q=n,F=$n(),F===e&&(F=Ta(),F===e&&(F=Ia(),F===e&&(F=Oa(),F===e&&(F=ja(),F===e&&(F=Ba(),F===e&&(F=Ma(),F===e&&(F=Ra(),F===e&&(F=La(),F===e&&(F=qa(),F===e&&(F=Na(),F===e&&(F=Da()))))))))))),F!==e&&(h=Q,F=$o(p,b,C,F)),Q=F,Q===e){for(Q=n,F=n,D=[],H=Ot();H!==e;)D.push(H),H=Ot();if(D!==e?F=t.substring(F,n):F=D,F!==e){if(D=n,H=[],ie=Gt(),ie!==e)for(;ie!==e;)H.push(ie),ie=Gt();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,F=bo(p,b,C,F,D),Q=F):(n=Q,Q=e)}else n=Q,Q=e}for(;Q!==e;)if(U.push(Q),Q=n,F=$n(),F===e&&(F=Ta(),F===e&&(F=Ia(),F===e&&(F=Oa(),F===e&&(F=ja(),F===e&&(F=Ba(),F===e&&(F=Ma(),F===e&&(F=Ra(),F===e&&(F=La(),F===e&&(F=qa(),F===e&&(F=Na(),F===e&&(F=Da()))))))))))),F!==e&&(h=Q,F=$o(p,b,C,F)),Q=F,Q===e){for(Q=n,F=n,D=[],H=Ot();H!==e;)D.push(H),H=Ot();if(D!==e?F=t.substring(F,n):F=D,F!==e){if(D=n,H=[],ie=Gt(),ie!==e)for(;ie!==e;)H.push(ie),ie=Gt();else H=e;H!==e?D=t.substring(D,n):D=H,D!==e?(h=Q,F=bo(p,b,C,F,D),Q=F):(n=Q,Q=e)}else n=Q,Q=e}U!==e?(Q=n,F=ge(),F!==e?Q=t.substring(Q,n):Q=F,Q!==e?(F=n,D=ji(),D!==e?(H=tr(),H!==e?(h=n,ie=v(p,b,C,U,Q,H),ie?ie=void 0:ie=e,ie!==e?(le=ai(),le===e&&(le=null),le!==e?(h=F,D=wo(p,b,C,U,Q,H),F=D):(n=F,F=e)):(n=F,F=e)):(n=F,F=e)):(n=F,F=e),F!==e?(h=n,D=cr(p,b,C,U,Q,F),D?D=void 0:D=e,D!==e?(h=u,p=Un(p,b,C,U,Q,F),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function kh(){var u,p,g;if(u=n,p=[],g=Gt(),g!==e)for(;g!==e;)p.push(g),g=Gt();else p=e;return p!==e&&(h=u,p=Xt()),u=p,u}function D0(){var u,p,g,b;if(u=n,p=[],g=n,b=Dr(),b!==e&&(h=g,b=Ri()),g=b,g===e){if(g=[],hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt)),b!==e)for(;b!==e;)g.push(b),hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt));else g=e;g===e&&(g=Gt())}if(g!==e){for(;g!==e;)if(p.push(g),g=n,b=Dr(),b!==e&&(h=g,b=Ri()),g=b,g===e){if(g=[],hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt)),b!==e)for(;b!==e;)g.push(b),hn.test(t.charAt(n))?(b=t.charAt(n),n++):(b=e,y===0&&oe(Yt));else g=e;g===e&&(g=Gt())}}else p=e;return p!==e&&(h=u,p=wa(p)),u=p,u}function qa(){var u,p,g,b,A,C,U,Q,F,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,b=Rn(),y--,b===e?g=void 0:(n=g,g=e),g!==e)if(b=fi(),b!==e)if(A=ge(),A!==e)if(C=Dr(),C===e&&(C=null),C!==e)if(h=n,U=as(p,b),U?U=void 0:U=e,U!==e){for(Q=n,F=[],D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)F.push(D),D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);F!==e?Q=t.substring(Q,n):Q=F,Q!==e?(h=u,p=gn(p,b,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Na(){var u,p,g,b,A,C,U,Q,F;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=n,y++,b=Rn(),y--,b===e?g=void 0:(n=g,g=e),g!==e?(b=fi(),b!==e?(A=ge(),A!==e?(C=Dr(),C===e&&(C=null),C!==e?(h=n,U=si(p,b),U?U=void 0:U=e,U!==e?(h=n,Q=ka(p,b),Q?Q=void 0:Q=e,Q!==e?(F=Fa(),F!==e?(h=u,p=va(p,b,F),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Da(){var u,p,g,b,A,C,U,Q,F,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=n,y++,b=Rn(),y--,b===e?g=void 0:(n=g,g=e),g!==e)if(b=fi(),b!==e)if(A=ge(),A!==e)if(C=Dr(),C===e&&(C=hh()),C!==e){for(U=n,Q=[],F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);F!==e;)Q.push(F),F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=xa(p,b,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function vh(){var u,p,g,b,A,C,U,Q,F,D,H;for(u=n,p=[],g=Ur();g!==e;)p.push(g),g=Ur();if(p!==e)if(g=li(),g!==e){if(b=[],A=n,C=ge(),C!==e)if(t.substr(n,2)===Nn?(U=Nn,n+=2):(U=e,y===0&&oe(ls)),U!==e)if(Q=ge(),Q!==e){if(F=[],D=Ur(),D!==e)for(;D!==e;)F.push(D),D=Ur();else F=e;F!==e?(D=ge(),D!==e?(H=li(),H!==e?(h=A,C=pe(p,F),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;for(;A!==e;)if(b.push(A),A=n,C=ge(),C!==e)if(t.substr(n,2)===Nn?(U=Nn,n+=2):(U=e,y===0&&oe(ls)),U!==e)if(Q=ge(),Q!==e){if(F=[],D=Ur(),D!==e)for(;D!==e;)F.push(D),D=Ur();else F=e;F!==e?(D=ge(),D!==e?(H=li(),H!==e?(h=A,C=pe(p,F),A=C):(n=A,A=e)):(n=A,A=e)):(n=A,A=e)}else n=A,A=e;else n=A,A=e;else n=A,A=e;b!==e?(h=u,p=Ae(p,b),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;return u}function Ra(){var u,p,g,b,A,C,U;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,6)===Y?(g=Y,n+=6):(g=e,y===0&&oe(Ct)),g!==e?(b=ge(),b!==e?(A=n,C=za(),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=vh(),U!==e?(h=u,p=Ca(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function La(){var u,p,g,b,A,C,U,Q;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(t.substr(n,7)===Ce?(g=Ce,n+=7):(g=e,y===0&&oe(ot)),g!==e?(b=ge(),b!==e?(A=n,C=tr(),C===e&&(C=n,Aa.test(t.charAt(n))?(U=t.charAt(n),n++):(U=e,y===0&&oe(Ea)),U!==e?(t.substr(n,2)===us?(Q=us,n+=2):(Q=e,y===0&&oe(_a)),Q!==e?(U=[U,Q],C=U):(n=C,C=e)):(n=C,C=e)),C!==e?A=t.substring(A,n):A=C,A!==e?(C=ge(),C!==e?(U=ci(),U!==e?(h=u,p=fs(p,g,A,U),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function ja(){var u,p,g,b,A,C,U,Q,F,D,H,ie;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ms(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e)if(h=n,U=cs(p,g,b,C),U?U=void 0:U=e,U!==e){for(Q=n,F=[],D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);D!==e;)F.push(D),D=n,H=n,y++,ie=Dr(),y--,ie===e?H=void 0:(n=H,H=e),H!==e?(ie=Gt(),ie!==e?(H=[H,ie],D=H):(n=D,D=e)):(n=D,D=e);F!==e?Q=t.substring(Q,n):Q=F,Q!==e?(h=u,p=Sa(p,g,b,C,Q),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function Ba(){var u,p,g,b,A,C,U,Q,F;return u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e?(g=ms(),g!==e?(b=tr(),b!==e?(A=ge(),A!==e?(C=ci(),C!==e?(h=n,U=tn(p,g,b,C),U?U=void 0:U=e,U!==e?(h=n,Q=Et(p,g,b,C),Q?Q=void 0:Q=e,Q!==e?(F=Fa(),F!==e?(h=u,p=Pe(p,g,b,C,F),u=p):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e)):(n=u,u=e),u}function Ma(){var u,p,g,b,A,C,U,Q,F,D,H;if(u=n,p=n,g=ge(),g!==e?p=t.substring(p,n):p=g,p!==e)if(g=ms(),g!==e)if(b=tr(),b!==e)if(A=ge(),A!==e)if(C=ci(),C!==e){for(U=n,Q=[],F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);F!==e;)Q.push(F),F=n,D=n,y++,H=Dr(),y--,H===e?D=void 0:(n=D,D=e),D!==e?(H=Gt(),H!==e?(D=[D,H],F=D):(n=F,F=e)):(n=F,F=e);Q!==e?U=t.substring(U,n):U=Q,U!==e?(h=u,p=Li(p,g,b,C,U),u=p):(n=u,u=e)}else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;else n=u,u=e;return u}function za(){var u,p,g,b,A;if(u=n,p=n,Sf.test(t.charAt(n))?(g=t.charAt(n),n++):(g=e,y===0&&oe(er)),g!==e){if(b=[],zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir)),A!==e)for(;A!==e;)b.push(A),zt.test(t.charAt(n))?(A=t.charAt(n),n++):(A=e,y===0&&oe(Ir));else b=e;b!==e?(g=[g,b],p=g):(n=p,p=e)}else n=p,p=e;return p!==e?u=t.substring(u,n):u=p,u}function R0(){var u,p;for(y++,u=[],it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));p!==e;)u.push(p),it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));return y--,u===e&&(p=e,y===0&&oe(yn)),u}function L0(){var u,p;for(y++,u=[],it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));p!==e;)u.push(p),it.test(t.charAt(n))?(p=t.charAt(n),n++):(p=e,y===0&&oe(Dn));return y--,u===e&&(p=e,y===0&&oe(Pa)),u}function ys(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function xh(u){return u===u.toUpperCase()}function Vi(u){return u.reduce((p,g)=>Array.isArray(g)?p.concat(Vi(g)):p.concat(g),[])}function Ch(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","table","toc"].includes(u)||xh(u)||u.match(/^(head|item)\d+$/)||ys(u)}function Ah(u,p){return u.length==0?p:p.indexOf(u)==0?p.replace(u,""):p.replace(/^\s+/,"")}if(R=s(),R!==e&&n===t.length)return R;throw R!==e&&n<t.length&&oe(K()),Tf(_,w<t.length?t.charAt(w):null,w<t.length?ko(w,w+1):ko(w,w))}yd.exports={SyntaxError:Ci,parse:Mw}});var kd=me((iC,wd)=>{"use strict";function Vw(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ai(t,r,e,i){this.message=t,this.expected=r,this.found=e,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Ai)}Vw(Ai,Error);Ai.buildMessage=function(t,r){var e={literal:function(m){return'"'+s(m.text)+'"'},class:function(m){var d="",$;for($=0;$<m.parts.length;$++)d+=m.parts[$]instanceof Array?a(m.parts[$][0])+"-"+a(m.parts[$][1]):a(m.parts[$]);return"["+(m.inverted?"^":"")+d+"]"},any:function(m){return"any character"},end:function(m){return"end of input"},other:function(m){return m.description}};function i(m){return m.charCodeAt(0).toString(16).toUpperCase()}function s(m){return m.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function a(m){return m.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(d){return"\\x0"+i(d)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(d){return"\\x"+i(d)})}function l(m){return e[m.type](m)}function f(m){var d=new Array(m.length),$,E;for($=0;$<m.length;$++)d[$]=l(m[$]);if(d.sort(),d.length>0){for($=1,E=1;$<d.length;$++)d[$-1]!==d[$]&&(d[E]=d[$],E++);d.length=E}switch(d.length){case 1:return d[0];case 2:return d[0]+" or "+d[1];default:return d.slice(0,-1).join(", ")+", or "+d[d.length-1]}}function c(m){return m?'"'+s(m)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function Uw(t,r){r=r!==void 0?r:{};var e={},i={Expression:oi},s=oi,a="A",l=Xe("A",!1),f="V",c=Xe("V",!1),m="R",d=Xe("R",!1),$="B",E=Xe("B",!1),k="I",x=Xe("I",!1),I="C",N=Xe("C",!1),B="D",X=Xe("D",!1),se="E",$e=Xe("E",!1),he="K",ne=Xe("K",!1),be="L",xe=Xe("L",!1),ke="S",Le=Xe("S",!1),Ee="T",_e=Xe("T",!1),de="F",Ce=Xe("F",!1),ot="U",Y=Xe("U",!1),Ct="Z",Ze=Xe("Z",!1),yt="N",tt=Xe("N",!1),M="X",V=Xe("X",!1),Jt=/^[a-zA-Z]/,Rt=qr([["a","z"],["A","Z"]],!1,!1),bt=/^[a-zA-Z0-9_\-]/,St=qr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),At=/^[ \t\f]/,st=qr([" "," ","\f"],!1,!1),Fr=function(n){return!(r.allowed||[]).length||(r.allowed||[]).includes(n)},ye=Nr(),wr=function(n){return n==="A"},zt=function(n,h){return{content:h,type:"fcode",name:n}},Ir=function(n){return n==="D"},Vt=function(n,h,T){return Dn(T)},ei=function(n,h,T){return{content:h,type:"fcode",name:n,synonyms:T}},Mn=function(n){return n==="V"},En=function(n,h){return{content:h,type:"fcode",name:n}},Ge="<",Ke=Xe("<",!1),at=">",We=Xe(">",!1),Or=function(){return cr()},ze="\xAB",Ve=Xe("\xAB",!1),ct="\xBB",pt=Xe("\xBB",!1),Ut=function(n){return n},re=function(n){return n.code==="C"},ae=function(n,h){return h===n.end_tag},we=function(n,h){return h},Ie=function(n,h,T){return T===n.end_tag},Dt=function(n,h,T){return{content:h,type:"fcode",name:n.code}},Zr="|",rt=Xe("|",!1),wt=function(n){return n},Pt=function(n){return n.code==="L"},Jr=function(n,h,T){return T},dt=function(n,h,T,w){return w===n.end_tag},_n=function(n,h,T,w){return{content:h,type:"fcode",name:n.code,meta:T}},It=";",cn=Xe(";",!1),co=/^[ \xA0\u2001\t\f\u2008]/,Br=qr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),zn=function(n,h){return Dn([n,h])},ti=function(n){return[n]},po=function(n){return n==="X"},ri=function(n,h,T){return{content:h,type:"fcode",name:n,entry:T}},qi=function(n){return n==="S"},ni=function(n){return n==="Z"},Sn=/^[0-9]/,Ni=qr([["0","9"]],!1,!1),Pn="0d",z=Xe("0d",!1),O=function(n){return parseInt(n,10)},G="0o",ee=Xe("0o",!1),te=function(n){return parseInt(n,8)},pe="0b",Ae=Xe("0b",!1),Oe=function(n){return parseInt(n,2)},je="0x",gt=Xe("0x",!1),Se=/^[0-9A-Fa-f]/,nt=qr([["0","9"],["A","F"],["a","f"]],!1,!1),kt=function(){return parseInt(cr())},lt=/^[A-Z ]/,qe=qr([["A","Z"]," "],!1,!1),mt=function(){return cr()===cr().toUpperCase()},Je=/^[a-z]/,Mr=qr([["a","z"]],!1,!1),Lt=/^[a-z0-9]/,Ht=qr([["a","z"],["0","9"]],!1,!1),Qe=function(n){return cr()},jt=function(n){return{type:"number",value:parseInt(n,10)}},Qt=function(n){return{type:"unicode_name",value:n}},kr=function(n){return{type:"html_named",value:n}},zr=function(n){return n==="E"},vr=function(n,h){return Dn(h)},pn=function(n,h){return{content:h||[],type:"fcode",name:n}},Tn=function(n){return n},Fn=function(n,h){return{code:n,begin_tag:h,end_tag:Pa(h)}},Qr=function(n){return n.code!=="C"},Xr=function(n,h,T){return T===n.end_tag},xr=function(n,h,T){return{content:h,type:"fcode",name:n.code}},o=0,ue=0,Cr=[{line:1,column:1}],fr=0,Vn=[],v=0,Vr;if("startRule"in r){if(!(r.startRule in i))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=i[r.startRule]}function cr(){return t.substring(ue,o)}function mo(){return pr(ue,o)}function In(n,h){throw h=h!==void 0?h:pr(ue,o),mn([ii(n)],t.substring(ue,o),h)}function ho(n,h){throw h=h!==void 0?h:pr(ue,o),Yr(n,h)}function Xe(n,h){return{type:"literal",text:n,ignoreCase:h}}function qr(n,h,T){return{type:"class",parts:n,inverted:h,ignoreCase:T}}function Nr(){return{type:"any"}}function dn(){return{type:"end"}}function ii(n){return{type:"other",description:n}}function On(n){var h=Cr[n],T;if(h)return h;for(T=n-1;!Cr[T];)T--;for(h=Cr[T],h={line:h.line,column:h.column};T<n;)t.charCodeAt(T)===10?(h.line++,h.column=1):h.column++,T++;return Cr[n]=h,h}function pr(n,h){var T=On(n),w=On(h);return{start:{offset:n,line:T.line,column:T.column},end:{offset:h,line:w.line,column:w.column}}}function Z(n){o<fr||(o>fr&&(fr=o,Vn=[]),Vn.push(n))}function Yr(n,h){return new Ai(n,null,null,h)}function mn(n,h,T){return new Ai(Ai.buildMessage(n,h),n,h,T)}function oi(){var n,h;for(n=[],h=qn(),h===e&&(h=Li(),h===e&&(h=er(),h===e&&(h=yo())));h!==e;)n.push(h),h=qn(),h===e&&(h=Li(),h===e&&(h=er(),h===e&&(h=yo())));return n}function qn(){var n;return n=ss(),n===e&&(n=va(),n===e&&(n=Ri(),n===e&&(n=$o(),n===e&&(n=Sa(),n===e&&(n=bo(),n===e&&(n=wa(),n===e&&(n=ka(),n===e&&(n=xa())))))))),n}function go(){var n;return t.charCodeAt(o)===65?(n=a,o++):(n=e,v===0&&Z(l)),n===e&&(t.charCodeAt(o)===86?(n=f,o++):(n=e,v===0&&Z(c)),n===e&&(t.charCodeAt(o)===82?(n=m,o++):(n=e,v===0&&Z(d)),n===e&&(t.charCodeAt(o)===66?(n=$,o++):(n=e,v===0&&Z(E)),n===e&&(t.charCodeAt(o)===73?(n=k,o++):(n=e,v===0&&Z(x)),n===e&&(t.charCodeAt(o)===67?(n=I,o++):(n=e,v===0&&Z(N)),n===e&&(t.charCodeAt(o)===68?(n=B,o++):(n=e,v===0&&Z(X)),n===e&&(t.charCodeAt(o)===69?(n=se,o++):(n=e,v===0&&Z($e)),n===e&&(t.charCodeAt(o)===75?(n=he,o++):(n=e,v===0&&Z(ne)),n===e&&(t.charCodeAt(o)===76?(n=be,o++):(n=e,v===0&&Z(xe)),n===e&&(t.charCodeAt(o)===83?(n=ke,o++):(n=e,v===0&&Z(Le)),n===e&&(t.charCodeAt(o)===84?(n=Ee,o++):(n=e,v===0&&Z(_e)),n===e&&(t.charCodeAt(o)===70?(n=de,o++):(n=e,v===0&&Z(Ce)),n===e&&(t.charCodeAt(o)===85?(n=ot,o++):(n=e,v===0&&Z(Y)),n===e&&(t.charCodeAt(o)===90?(n=Ct,o++):(n=e,v===0&&Z(Ze)),n===e&&(t.charCodeAt(o)===78?(n=yt,o++):(n=e,v===0&&Z(tt)),n===e&&(t.charCodeAt(o)===88?(n=M,o++):(n=e,v===0&&Z(V)))))))))))))))))),n}function os(){var n,h,T,w,_;if(n=o,h=o,Jt.test(t.charAt(o))?(T=t.charAt(o),o++):(T=e,v===0&&Z(Rt)),T!==e){if(w=[],bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,v===0&&Z(St)),_!==e)for(;_!==e;)w.push(_),bt.test(t.charAt(o))?(_=t.charAt(o),o++):(_=e,v===0&&Z(St));else w=e;w!==e?(T=[T,w],h=T):(o=h,h=e)}else o=h,h=e;return h!==e?n=t.substring(n,o):n=h,n}function Di(){var n,h;for(n=[],At.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,v===0&&Z(st));h!==e;)n.push(h),At.test(t.charAt(o))?(h=t.charAt(o),o++):(h=e,v===0&&Z(st));return n}function en(){var n,h,T;return n=o,h=go(),h!==e?(ue=o,T=Fr(h),T?T=void 0:T=e,T!==e?(h=[h,T],n=h):(o=n,n=e)):(o=n,n=e),n}function yo(){var n,h;return n=o,t.length>o?(h=t.charAt(o),o++):(h=e,v===0&&Z(ye)),h!==e?n=t.substring(n,o):n=h,n}function ss(){var n,h,T,w,_;return n=o,h=tn(),h!==e?(ue=o,T=wr(h),T?T=void 0:T=e,T!==e?(w=Yt(),w!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,w),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function $o(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=Ir(h),T?T=void 0:T=e,T!==e){if(w=[],_=Yt(),_!==e)for(;_!==e;)w.push(_),_=Yt();else w=e;if(w!==e){if(_=o,y=hn(),y!==e){for(R=[],S=si();S!==e;)R.push(S),S=si();R!==e?(ue=_,y=Vt(h,w,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ei(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function bo(){var n,h,T,w,_,y;if(n=o,h=tn(),h!==e)if(ue=o,T=Mn(h),T?T=void 0:T=e,T!==e){if(w=o,_=[],y=Xt(),y!==e)for(;y!==e;)_.push(y),y=Xt();else _=e;_!==e?w=t.substring(w,o):w=_,w!==e?(_=Pe(),_!==e?(ue=n,h=En(h,w),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function wo(){var n;return t.charCodeAt(o)===66?(n=$,o++):(n=e,v===0&&Z(E)),n}function Un(){var n,h,T,w,_;return n=o,h=o,T=o,v++,w=wo(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(T=Ge,o++):(T=e,v===0&&Z(Ke)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===62?(_=at,o++):(_=e,v===0&&Z(We)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,T=o,v++,w=wo(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(T=ze,o++):(T=e,v===0&&Z(Ve)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===187?(_=ct,o++):(_=e,v===0&&Z(pt)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Xt(){var n,h,T,w,_,y,R,S;if(n=o,h=o,T=[],w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=Un(),w===e&&(w=yn()))),w!==e)for(;w!==e;)T.push(w),w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(t.length>o?(R=t.charAt(o),o++):(R=e,v===0&&Z(ye)),R!==e?(y=[y,R],_=y):(o=_,_=e)):(o=_,_=e),_===e&&(_=null),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Xt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=Un(),w===e&&(w=yn())));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Ut(h)),n=h,n}function Ri(){var n,h,T,w,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=Et(),h!==e)if(ue=o,T=re(h),T?T=void 0:T=e,T!==e){if(w=[],_=o,y=o,R=[],S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;if(R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y,_!==e)for(;_!==e;){if(w.push(_),_=o,y=o,R=[],S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,q=o,J=o,v++,t.charCodeAt(o)===60?(P=Ge,o++):(P=e,v===0&&Z(Ke)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===60?(J=Ge,o++):(J=e,v===0&&Z(Ke)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===62?(W=at,o++):(W=e,v===0&&Z(We)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,q=o,J=o,v++,t.charCodeAt(o)===171?(P=ze,o++):(P=e,v===0&&Z(Ve)),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e),q===e&&(q=null),q!==e?(t.charCodeAt(o)===171?(J=ze,o++):(J=e,v===0&&Z(Ve)),J!==e?(P=Xt(),P===e&&(P=null),P!==e?(t.charCodeAt(o)===187?(W=ct,o++):(W=e,v===0&&Z(pt)),W!==e?(q=[q,J,P,W],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=Un(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y}else w=e;w!==e?(_=Pe(),_!==e?(ue=o,y=Ie(h,w,_),y?y=void 0:y=e,y!==e?(ue=n,h=Dt(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function hn(){var n;return t.charCodeAt(o)===124?(n=Zr,o++):(n=e,v===0&&Z(rt)),n}function Yt(){var n,h,T,w,_,y,R,S,q;if(n=o,h=o,T=[],w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,v++,y=hn(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Pe(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=tn(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,v++,q=it(),v--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,v===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e))),w!==e)for(;w!==e;)T.push(w),w=o,_=o,y=o,v++,t.charCodeAt(o)===60?(R=Ge,o++):(R=e,v===0&&Z(Ke)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===60?(y=Ge,o++):(y=e,v===0&&Z(Ke)),y!==e?(R=Yt(),R!==e?(t.charCodeAt(o)===62?(S=at,o++):(S=e,v===0&&Z(We)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,y=o,v++,t.charCodeAt(o)===171?(R=ze,o++):(R=e,v===0&&Z(Ve)),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=en(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(y=[y,R,S],_=y):(o=_,_=e)):(o=_,_=e)):(o=_,_=e),_!==e?(t.charCodeAt(o)===171?(y=ze,o++):(y=e,v===0&&Z(Ve)),y!==e?(R=Yt(),R===e&&(R=null),R!==e?(t.charCodeAt(o)===187?(S=ct,o++):(S=e,v===0&&Z(pt)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,_=o,v++,y=hn(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Pe(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=tn(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(S=o,v++,q=it(),v--,q===e?S=void 0:(o=S,S=e),S!==e?(t.length>o?(q=t.charAt(o),o++):(q=e,v===0&&Z(ye)),q!==e?(_=[_,y,R,S,q],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=wt(h)),n=h,n}function wa(){var n,h,T,w,_,y,R,S,q,J,P;if(n=o,h=Et(),h!==e)if(ue=o,T=Pt(h),T?T=void 0:T=e,T!==e){if(w=[],_=Ri(),_===e&&(_=Yt()),_!==e)for(;_!==e;)w.push(_),_=Ri(),_===e&&(_=Yt());else w=e;if(w!==e){if(_=o,y=hn(),y!==e){for(R=o,S=[],q=o,J=o,v++,P=Pe(),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);q!==e;)S.push(q),q=o,J=o,v++,P=Pe(),v--,P===e?J=void 0:(o=J,J=e),J!==e?(t.length>o?(P=t.charAt(o),o++):(P=e,v===0&&Z(ye)),P!==e?(J=[J,P],q=J):(o=q,q=e)):(o=q,q=e);S!==e?R=t.substring(R,o):R=S,R!==e?(ue=_,y=Jr(h,w,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=o,R=dt(h,w,_,y),R?R=void 0:R=e,R!==e?(ue=n,h=_n(h,w,_,y),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function as(){var n,h,T,w,_,y;if(n=o,h=[],T=o,w=o,v++,t.charCodeAt(o)===59?(_=It,o++):(_=e,v===0&&Z(cn)),v--,_===e?w=void 0:(o=w,w=e),w!==e?(_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,v===0&&Z(ye)),y!==e?(w=[w,_,y],T=w):(o=T,T=e)):(o=T,T=e)):(o=T,T=e),T!==e)for(;T!==e;)h.push(T),T=o,w=o,v++,t.charCodeAt(o)===59?(_=It,o++):(_=e,v===0&&Z(cn)),v--,_===e?w=void 0:(o=w,w=e),w!==e?(_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(t.length>o?(y=t.charAt(o),o++):(y=e,v===0&&Z(ye)),y!==e?(w=[w,_,y],T=w):(o=T,T=e)):(o=T,T=e)):(o=T,T=e);else h=e;return h!==e?n=t.substring(n,o):n=h,n}function gn(){var n;return co.test(t.charAt(o))?(n=t.charAt(o),o++):(n=e,v===0&&Z(Br)),n}function si(){var n,h,T,w,_,y;if(n=o,h=as(),h!==e){for(T=[],w=gn();w!==e;)T.push(w),w=gn();if(T!==e)if(t.charCodeAt(o)===59?(w=It,o++):(w=e,v===0&&Z(cn)),w!==e){for(_=[],y=gn();y!==e;)_.push(y),y=gn();_!==e?(y=si(),y!==e?(ue=n,h=zn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=as(),h!==e&&(ue=n,h=ti(h)),n=h),n}function ka(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=po(h),T?T=void 0:T=e,T!==e){for(w=[],_=Yt();_!==e;)w.push(_),_=Yt();if(w!==e){if(_=o,y=hn(),y!==e){for(R=[],S=si();S!==e;)R.push(S),S=si();R!==e?(ue=_,y=Vt(h,w,R),_=y):(o=_,_=e)}else o=_,_=e;_===e&&(_=null),_!==e?(y=Pe(),y!==e?(ue=n,h=ri(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e}else o=n,n=e;else o=n,n=e;return n}function va(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=qi(h),T?T=void 0:T=e,T!==e){for(w=o,_=[],y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?w=t.substring(w,o):w=_,w!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,w),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function xa(){var n,h,T,w,_,y,R,S;if(n=o,h=tn(),h!==e)if(ue=o,T=ni(h),T?T=void 0:T=e,T!==e){for(w=o,_=[],y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);y!==e;)_.push(y),y=o,R=o,v++,S=Pe(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(R=[R,S],y=R):(o=y,y=e)):(o=y,y=e);_!==e?w=t.substring(w,o):w=_,w!==e?(_=Pe(),_!==e?(ue=n,h=zt(h,w),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Nn(){var n,h,T;if(n=o,h=[],Sn.test(t.charAt(o))?(T=t.charAt(o),o++):(T=e,v===0&&Z(Ni)),T!==e)for(;T!==e;)h.push(T),Sn.test(t.charAt(o))?(T=t.charAt(o),o++):(T=e,v===0&&Z(Ni));else h=e;return h!==e?n=t.substring(n,o):n=h,n}function ls(){var n,h,T;return n=o,t.substr(o,2)===Pn?(h=Pn,o+=2):(h=e,v===0&&Z(z)),h!==e?(T=Nn(),T!==e?(ue=n,h=O(T),n=h):(o=n,n=e)):(o=n,n=e),n}function Ca(){var n,h,T;return n=o,t.substr(o,2)===G?(h=G,o+=2):(h=e,v===0&&Z(ee)),h!==e?(T=Nn(),T!==e?(ue=n,h=te(T),n=h):(o=n,n=e)):(o=n,n=e),n}function Aa(){var n,h,T;return n=o,t.substr(o,2)===pe?(h=pe,o+=2):(h=e,v===0&&Z(Ae)),h!==e?(T=Nn(),T!==e?(ue=n,h=Oe(T),n=h):(o=n,n=e)):(o=n,n=e),n}function Ea(){var n,h,T,w,_,y;if(n=o,h=o,T=o,t.substr(o,2)===je?(w=je,o+=2):(w=e,v===0&&Z(gt)),w!==e){if(_=[],Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(nt)),y!==e)for(;y!==e;)_.push(y),Se.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(nt));else _=e;_!==e?(w=[w,_],T=w):(o=T,T=e)}else o=T,T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=kt()),n=h,n}function us(){var n,h,T,w;if(n=o,h=o,T=[],lt.test(t.charAt(o))?(w=t.charAt(o),o++):(w=e,v===0&&Z(qe)),w!==e)for(;w!==e;)T.push(w),lt.test(t.charAt(o))?(w=t.charAt(o),o++):(w=e,v===0&&Z(qe));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e?(ue=o,T=mt(),T?T=void 0:T=e,T!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e),n}function _a(){var n,h,T,w,_,y;if(n=o,h=o,T=o,Je.test(t.charAt(o))?(w=t.charAt(o),o++):(w=e,v===0&&Z(Mr)),w!==e){if(_=[],Lt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(Ht)),y!==e)for(;y!==e;)_.push(y),Lt.test(t.charAt(o))?(y=t.charAt(o),o++):(y=e,v===0&&Z(Ht));else _=e;_!==e?(w=[w,_],T=w):(o=T,T=e)}else o=T,T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Qe(h)),n=h,n}function fs(){var n,h,T;return n=o,h=Di(),h!==e?(T=Ca(),T===e&&(T=ls(),T===e&&(T=Aa(),T===e&&(T=Ea(),T===e&&(T=Nn())))),T!==e?(ue=n,h=jt(T),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(T=us(),T!==e?(ue=n,h=Qt(T),n=h):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=Di(),h!==e?(T=_a(),T!==e?(ue=n,h=kr(T),n=h):(o=n,n=e)):(o=n,n=e))),n}function cs(){var n,h,T,w,_,y;if(n=o,h=fs(),h!==e){for(T=[],w=gn();w!==e;)T.push(w),w=gn();if(T!==e)if(t.charCodeAt(o)===59?(w=It,o++):(w=e,v===0&&Z(cn)),w!==e){for(_=[],y=gn();y!==e;)_.push(y),y=gn();_!==e?(y=cs(),y!==e?(ue=n,h=zn(h,y),n=h):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e}else o=n,n=e;return n===e&&(n=o,h=fs(),h!==e&&(ue=n,h=ti(h)),n=h),n}function Sa(){var n,h,T,w,_;return n=o,h=tn(),h!==e?(ue=o,T=zr(h),T?T=void 0:T=e,T!==e?(w=o,_=cs(),_!==e&&(ue=w,_=vr(h,_)),w=_,w===e&&(w=null),w!==e?(_=Pe(),_!==e?(ue=n,h=pn(h,w),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n}function tn(){var n,h,T;return n=o,h=o,T=en(),T!==e?h=t.substring(h,o):h=T,h!==e?(t.charCodeAt(o)===60?(T=Ge,o++):(T=e,v===0&&Z(Ke)),T!==e?(ue=n,h=Tn(h),n=h):(o=n,n=e)):(o=n,n=e),n}function Et(){var n,h,T,w;return n=o,h=o,T=en(),T!==e?h=t.substring(h,o):h=T,h!==e?(T=o,t.charCodeAt(o)===60?(w=Ge,o++):(w=e,v===0&&Z(Ke)),w===e&&(t.charCodeAt(o)===171?(w=ze,o++):(w=e,v===0&&Z(Ve))),w!==e?T=t.substring(T,o):T=w,T!==e?(ue=n,h=Fn(h,T),n=h):(o=n,n=e)):(o=n,n=e),n}function Pe(){var n;return t.charCodeAt(o)===62?(n=at,o++):(n=e,v===0&&Z(We)),n===e&&(t.charCodeAt(o)===187?(n=ct,o++):(n=e,v===0&&Z(pt))),n}function Li(){var n,h,T,w,_,y,R,S,q,J,P,W,L,j,K;if(n=o,h=Et(),h!==e)if(ue=o,T=Qr(h),T?T=void 0:T=e,T!==e){if(w=[],_=qn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y}for(;_!==e;)if(w.push(_),_=qn(),_===e&&(_=Li(),_===e)){if(_=o,y=o,R=[],S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}if(S!==e){for(;S!==e;)if(R.push(S),S=o,t.charCodeAt(o)===60?(q=Ge,o++):(q=e,v===0&&Z(Ke)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===62?(P=at,o++):(P=e,v===0&&Z(We)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=o,t.charCodeAt(o)===171?(q=ze,o++):(q=e,v===0&&Z(Ve)),q!==e?(J=er(),J!==e?(t.charCodeAt(o)===187?(P=ct,o++):(P=e,v===0&&Z(pt)),P!==e?(q=[q,J,P],S=q):(o=S,S=e)):(o=S,S=e)):(o=S,S=e),S===e&&(S=it(),S===e))){if(S=o,q=o,J=[],P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e),P!==e)for(;P!==e;)J.push(P),P=o,W=o,v++,L=o,j=Pe(),j!==e?(ue=o,K=ae(h,j),K?K=void 0:K=e,K!==e?(j=[j,K],L=j):(o=L,L=e)):(o=L,L=e),v--,L===e?W=void 0:(o=W,W=e),W!==e?(L=o,v++,j=Et(),v--,j===e?L=void 0:(o=L,L=e),L!==e?(j=o,v++,K=it(),v--,K===e?j=void 0:(o=j,j=e),j!==e?(t.length>o?(K=t.charAt(o),o++):(K=e,v===0&&Z(ye)),K!==e?(W=[W,L,j,K],P=W):(o=P,P=e)):(o=P,P=e)):(o=P,P=e)):(o=P,P=e);else J=e;J!==e?q=t.substring(q,o):q=J,q!==e&&(ue=S,q=we(h,q)),S=q}}else R=e;R!==e?y=t.substring(y,o):y=R,y!==e&&(ue=_,y=we(h,y)),_=y}w!==e?(_=Pe(),_!==e?(ue=o,y=Xr(h,w,_),y?y=void 0:y=e,y!==e?(ue=n,h=xr(h,w,_),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)}else o=n,n=e;else o=n,n=e;return n}function Sf(){var n,h,T,w,_;for(n=o,h=[],T=o,w=o,v++,_=Pe(),v--,_===e?w=void 0:(o=w,w=e),w!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,v===0&&Z(ye)),_!==e?(w=[w,_],T=w):(o=T,T=e)):(o=T,T=e);T!==e;)h.push(T),T=o,w=o,v++,_=Pe(),v--,_===e?w=void 0:(o=w,w=e),w!==e?(t.length>o?(_=t.charAt(o),o++):(_=e,v===0&&Z(ye)),_!==e?(w=[w,_],T=w):(o=T,T=e)):(o=T,T=e);return h!==e?n=t.substring(n,o):n=h,n}function er(){var n,h,T,w,_,y,R;if(n=o,h=o,T=[],w=o,t.charCodeAt(o)===60?(_=Ge,o++):(_=e,v===0&&Z(Ke)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===62?(R=at,o++):(R=e,v===0&&Z(We)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,v===0&&Z(Ve)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===187?(R=ct,o++):(R=e,v===0&&Z(pt)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=it(),w===e&&(w=yn()))),w!==e)for(;w!==e;)T.push(w),w=o,t.charCodeAt(o)===60?(_=Ge,o++):(_=e,v===0&&Z(Ke)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===62?(R=at,o++):(R=e,v===0&&Z(We)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=o,t.charCodeAt(o)===171?(_=ze,o++):(_=e,v===0&&Z(Ve)),_!==e?(y=er(),y!==e?(t.charCodeAt(o)===187?(R=ct,o++):(R=e,v===0&&Z(pt)),R!==e?(_=[_,y,R],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w===e&&(w=it(),w===e&&(w=yn())));else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Ut(h)),n=h,n}function yn(){var n,h,T,w,_,y,R,S;if(n=o,h=o,T=[],w=o,_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Et(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=it(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e),w!==e)for(;w!==e;)T.push(w),w=o,_=o,v++,y=Pe(),v--,y===e?_=void 0:(o=_,_=e),_!==e?(y=o,v++,R=Et(),v--,R===e?y=void 0:(o=y,y=e),y!==e?(R=o,v++,S=it(),v--,S===e?R=void 0:(o=R,R=e),R!==e?(t.length>o?(S=t.charAt(o),o++):(S=e,v===0&&Z(ye)),S!==e?(_=[_,y,R,S],w=_):(o=w,w=e)):(o=w,w=e)):(o=w,w=e)):(o=w,w=e);else T=e;return T!==e?h=t.substring(h,o):h=T,h!==e&&(ue=n,h=Ut(h)),n=h,n}function it(){var n,h,T,w,_;return n=o,h=o,T=o,v++,w=en(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===60?(T=Ge,o++):(T=e,v===0&&Z(Ke)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===62?(_=at,o++):(_=e,v===0&&Z(We)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e),n===e&&(n=o,h=o,T=o,v++,w=en(),v--,w===e?T=void 0:(o=T,T=e),T!==e?(t.length>o?(w=t.charAt(o),o++):(w=e,v===0&&Z(ye)),w!==e?(T=[T,w],h=T):(o=h,h=e)):(o=h,h=e),h!==e?(t.charCodeAt(o)===171?(T=ze,o++):(T=e,v===0&&Z(Ve)),T!==e?(w=yn(),w!==e?(t.charCodeAt(o)===187?(_=ct,o++):(_=e,v===0&&Z(pt)),_!==e?(ue=n,h=Or(),n=h):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)):(o=n,n=e)),n}function Dn(n){return n.reduce((h,T)=>Array.isArray(T)?h.concat(Dn(T)):h.concat(T),[])}function Pa(n){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[n]}if(Vr=s(),Vr!==e&&o===t.length)return Vr;throw Vr!==e&&o<t.length&&Z(dn()),mn(Vn,fr<t.length?t.charAt(fr):null,fr<t.length?pr(fr,fr+1):pr(fr,fr))}wd.exports={SyntaxError:Ai,parse:Uw}});var Pd=me((TC,Kw)=>{Kw.exports={name:"@podlite/schema",version:"0.0.37",description:"AST tools and schema for Podlite markup language \u2014 validate, traverse, and transform document trees",main:"./src/index.ts",homepage:"https://podlite.org",bugs:{url:"https://github.com/podlite/podlite/issues"},repository:{type:"git",url:"https://github.com/podlite/podlite.git",directory:"packages/podlite-schema"},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":"pegmill -o src/grammar.js src/grammar.pegjs && pegmill -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegmill --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["podlite","schema","ast","syntax-tree","markup-language","transform","visitor","parser","markdown","tree"],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",pegmill:"0.1.0","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Od=me((pA,Id)=>{Id.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var zd=me((dA,Md)=>{"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"),i=r.constructor&&r.constructor.prototype&&ea.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!i)return!1;var s;for(s in r);return typeof s>"u"||ea.call(r,s)},Ld=function(r,e){qd&&e.name==="__proto__"?qd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},jd=function(r,e){if(e==="__proto__")if(ea.call(r,e)){if(Nd)return Nd(r,e).value}else return;return r[e]};Md.exports=function t(){var r,e,i,s,a,l,f=arguments[0],c=1,m=arguments.length,d=!1;for(typeof f=="boolean"&&(d=f,f=arguments[1]||{},c=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});c<m;++c)if(r=arguments[c],r!=null)for(e in r)i=jd(f,e),s=jd(r,e),f!==s&&(d&&s&&(Rd(s)||(a=Dd(s)))?(a?(a=!1,l=i&&Dd(i)?i:[]):l=i&&Rd(i)?i:{},Ld(f,{name:e,newValue:t(d,l,s)})):typeof s<"u"&&Ld(f,{name:e,newValue:s}));return f}});var Hd=me((gA,Ud)=>{Ud.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var I0={};Bf(I0,{PluginRegister:()=>T0,default:()=>F0,parseMd:()=>$a,plugin:()=>ba});module.exports=Fh(I0);var Td=Rr(Gp()),Zw=Rr(Jp());var NC=Rr(ed());var Sw=function(t){if(t==="*:*"||t==="*")return{};if(t==="<>")return{type:"fcode"};let[r,e]=t.split(":");if(r&&e)return{name:r,type:e};if(!r)return{type:e};if(!e){let i=r.match(/(.+)\<\>/);return i?{type:"fcode",name:i[1]}:{name:r,type:"block"}}return{name:r,type:e}},vi=t=>{let r=Sw(t),{name:e,type:i}=r;return i&&i==="*"?{name:e}:e&&e==="*"?{type:i}:r};function Pw(t,r){function e(s){for(var a in s)if(s.hasOwnProperty(a))return!1;return!0}if(e(t))return!0;for(var i in t)if(t===void 0&&console.warn("[podlite] undefined key!!!"),t.hasOwnProperty(i))if(r===void 0&&console.warn("[podlite] undefined node!!!"),r&&r.hasOwnProperty(i)){if(t[i]!==r[i])return!1}else return!1;return!0}var xn=(t,r)=>{return e.rule=t,e.isFor=i,e.fn=r,e;function e(){}function i(s){return typeof s=="string"?!1:Pw(t,s)}},gu=(t,r)=>{if(t instanceof Array)return t.reduce((i,s)=>(i.push(...gu(s)),i),[]);if(t instanceof Object){let i=[];for(var e in t)t.hasOwnProperty(e)&&i.push(xn(vi(e),t[e]));return i}return[xn(vi(t),r)]};var yu=Rr(require("crypto"),1);var td="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Tw=128,xi,io,Fw=t=>{!xi||xi.length<t?(xi=Buffer.allocUnsafe(t*Tw),yu.default.randomFillSync(xi),io=0):io+t>xi.length&&(yu.default.randomFillSync(xi),io=0),io+=t};var rd=(t=21)=>{Fw(t);let r="";for(let e=io-t;e<io;e++)r+=td[xi[e]&63];return r};var oo=t=>({...t}),$u=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",i=t.name,s={id:rd(),margin:"",...t};var a=oo({type:e,...s,content:$u(r)});return a};var Js=(t,r)=>oo({type:"fcode",...t,content:r}),bu=(t,r)=>oo({...t,type:"fcode",name:"L",content:$u(r)}),nd=t=>oo({type:"fcode",name:"Delete",content:$u(t)}),id=t=>oo({type:"fcode",name:"F",content:[{type:"text",value:t}]}),Ho=t=>oo({type:"verbatim",value:t});var od=t=>({type:"block",name:"caption",content:t}),sd=(t,r)=>({type:"image",src:t,alt:r}),wu=({margin:t=""},r)=>hr({name:"root",margin:t},r);var ad=({value:t,location:r})=>hr({name:"formula",location:r},[Ho(t)]);var ld=(t,r={})=>{let e=t.config instanceof Array?t.config:[],i=[];r.config&&r.config.hasOwnProperty(t.name)&&(i=r.config[t.name]);let s={};[...e,...i].map(l=>{s.hasOwnProperty(l.name)||(s[l.name]=[]),l.type==="array"?s[l.name].push(...l.value):s[l.name].push(l.value)});let a=function(){};return a.exists=l=>s.hasOwnProperty(l),a.getAllValues=l=>a.exists(l)?s[l]:[],a.getFirstValue=l=>a.exists(l)?a.getAllValues(l)[0]:void 0,a.asHash=()=>s,a},gr=ld;var ud=(t,r)=>{let e=gr(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function fd(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(fd(e)):r.concat(e),[]):t}function Iw(t){function r(e,i){if(e==null)return e;if(e instanceof Array)return fd(e.map(l=>r(l,i))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},i);let s=t.slice();s.reverse();let a=s.findIndex(l=>l.isFor(e));if(a!==-1){let l=s.slice(a+1),f=l.findIndex(m=>m.isFor(e)),c=(m=e,d=i,$=r)=>{if(f!==-1)l[f].fn(m,d,$,()=>{});else return};return typeof s[a].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[a].fn(e,i,r,c)}else{let l={...e};if(l.hasOwnProperty("content"))return r(l.content,i)}}return r.rules=t,r}var Xs=Iw;var Me=(t,r)=>(e,i)=>(s,a,l)=>{e.writeRaw(t),s.content&&l(s.content,a),e.writeRaw(r)},xt=()=>()=>()=>{},yr=(t,r)=>(e,i,s)=>{if(e.content)return s(e.content,i)},Pr=t=>(r,e)=>(i,s,a)=>t(i,s)(r,e)(i,s,a);var Go=(t,r)=>{let e=gu(t).reverse();return(i,s)=>{let a=e.map(c=>xn(c.rule,c.fn(i,s))).reverse(),l=r(i,s),f;return(c,m,d)=>(f||(f=Xs([...d.rules,...a])),l(c,m,f))}},Tr=(t,r)=>(e,i)=>{let s=t(e,i);return(a,l,f)=>{let c=gr(a,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(a,l,f),c!==void 0&&e.removeLevel(c)}};function Ko(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function cd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(cd(e)):r.concat(e),[])}var Qs=t=>{let r=[];function e(s,a){if(s instanceof Array&&console.warn(`[podlite] Unsupported param for ${s}`),s instanceof Object){for(var l in s)s.hasOwnProperty(l)&&e(l,s[l]);return[]}r.push(xn(vi(s),a))}function i(s,a={}){if(s==null)return s;if(s instanceof Array)return cd(s.map(c=>i(c,a)));if(typeof s=="string")return s;let l=r.slice();l.reverse();let f=l.findIndex(c=>c.isFor(s));if(f!==-1)return l[f].fn(s,a,i);{let c={...s};return c.hasOwnProperty("content")&&(c.content=i(c.content,a)),c}}return e(t),i.rules=r,i},jr=Qs;var pd=Rr(require("events")),ku=class extends pd.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)}},Wo=ku;var so=(t={},r=[])=>{let e=r,i=t.processor||dd,s=t.writer;return a.use=l,a.run=f,a.getPlugins=()=>e,a;function a(c){}function l(c,m){if(c instanceof Array)return so(t,[...e,...m]);if(c instanceof Object){for(var d in c)c.hasOwnProperty(d)&&l(d,c[d]);return a}return e.push(xn(vi(c),m)),a}function f(c,m){let d="",$=m||s||new Wo(X=>{d=d+X}),E=typeof $=="function"?new $(X=>{d=d+X}):$,k=typeof c=="string"?i(c):c,x=e.slice();x.reverse();let I=Xs(x.map(X=>xn(X.rule,X.fn(E,i,k))).reverse()),N={};E.startWrite(k);let B=I(k,N);return E.endWrite(),{errors:E.errors,toString:()=>d,valueOf:()=>d,indexingTerms:E.INDEXTERMS,annotations:E.FOOTNOTES,defenitions:E.DEFINITIONS,interator:B}}};var md=()=>t=>jr({"*":(e,i,s)=>(e.content&&(e.content=s(e.content,i,s)),delete e.location,e)})(t,{}),Ys=md;var Rx={":text":(t,r)=>(e,i,s)=>{e.value?t.write(e.value):s(e.content,i)},"A<>":(t,r)=>(e,i,s)=>{if(!(i.alias&&i.alias.hasOwnProperty(e.content)))t.writeRaw(`A<${e.content}>`);else{let a=i.alias[e.content].join(`
|
|
15
|
-
`),l=r(
|
|
8
|
+
deps: ${e}}`};var xb={keyword:"dependencies",type:"object",schemaType:"object",error:En.error,code(t){let[r,e]=Cb(t);_p(t,r),Sp(t,e)}};function Cb({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 _p(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=ts.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)ts.checkReportMissingProp(t,g)}):(e.if(ru._`${c} && (${ts.checkMissingProp(t,f,s)})`),ts.reportMissingProp(t,s),e.else())}}En.validatePropertyDeps=_p;function Sp(t,r=t.schema){let{gen:e,data:n,keyword:o,it:s}=t,l=e.name("valid");for(let f in r)vb.alwaysValidSchema(s,r[f])||(e.if(ts.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))}En.validateSchemaDeps=Sp;En.default=xb});var Fp=he(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var nu=Be(),Ab=_t(),Eb={message:({params:t})=>nu.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>nu._`{propertyName: ${t.propertyName}}`},_b={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Eb,code(t){let{gen:r,schema:e,data:n,it:o}=t;if(Ab.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(nu.not(s),()=>{t.error(!0),o.allErrors||r.break()})}),t.ok(s)}};iu.default=_b});var au=he(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});var Ys=pn(),gn=Be(),Sb=cn(),Pb=ki(),ou=_t(),Fb={message:"should NOT have additional properties",params:({params:t})=>gn._`{additionalProperty: ${t.additionalProperty}}`},Tb={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Fb,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"&&ou.alwaysValidSchema(l,e))return;let g=Ys.allSchemaProperties(n.properties),h=Ys.allSchemaProperties(n.patternProperties);w(),t.ok(gn._`${s} === ${Sb.default.errors}`);function w(){r.forIn("key",o,R=>{!g.length&&!h.length?x(R):r.if(E(R),()=>x(R))})}function E(R){let j;if(g.length>8){let Y=ou.schemaRefOrVal(l,n.properties,"properties");j=Ys.isOwnProperty(r,Y,R)}else g.length?j=gn.or(...g.map(Y=>gn._`${R} === ${Y}`)):j=gn.nil;return h.length&&(j=gn.or(j,...h.map(Y=>gn._`${Ys.usePattern(r,Y)}.test(${R})`))),gn.not(j)}function C(R){r.code(gn._`delete ${o}[${R}]`)}function x(R){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){C(R);return}if(e===!1){t.setParams({additionalProperty:R}),t.error(),f||r.break();return}if(typeof e=="object"&&!ou.alwaysValidSchema(l,e)){let j=r.name("valid");c.removeAdditional==="failing"?(O(R,j,!1),r.if(gn.not(j),()=>{t.reset(),C(R)})):(O(R,j),f||r.if(gn.not(j),()=>r.break()))}}function O(R,j,Y){let ae={keyword:"additionalProperties",dataProp:R,dataPropType:Pb.Type.Str};Y===!1&&Object.assign(ae,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(ae,j)}}};su.default=Tb});var Op=he(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Ib=zo(),Tp=pn(),lu=_t(),Ip=au(),Ob={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&&Ip.default.code(new Ib.default(s,Ip.default,"additionalProperties"));let l=Tp.allSchemaProperties(e);for(let w of l)s.definedProperties.add(w);s.opts.unevaluated&&l.length&&s.props!==!0&&(s.props=lu.mergeEvaluated.props(r,lu.toHash(l),s.props));let f=l.filter(w=>!lu.alwaysValidSchema(s,e[w]));if(f.length===0)return;let c=r.name("valid");for(let w of f)g(w)?h(w):(r.if(Tp.propertyInData(r,o,w,s.opts.ownProperties)),h(w),s.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add(w),t.ok(c);function g(w){return s.opts.useDefaults&&!s.compositeRule&&e[w].default!==void 0}function h(w){t.subschema({keyword:"properties",schemaProp:w,dataProp:w},c)}}};uu.default=Ob});var Rp=he(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var qp=pn(),ea=Be(),qb=ki(),Rb=zr(),Nb=_t(),Db={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:n,parentSchema:o,it:s}=t,{opts:l}=s,f=qp.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 ea.Name)&&(s.props=Nb.evaluatedPropsToName(r,s.props));let{props:h}=s;w();function w(){for(let x of f)c&&E(x),s.allErrors?C(x):(r.var(g,!0),C(x),r.if(g))}function E(x){for(let O in c)new RegExp(x).test(O)&&Rb.checkStrictMode(s,`property ${O} matches pattern ${x} (use allowMatchingProperties)`)}function C(x){r.forIn("key",n,O=>{r.if(ea._`${qp.usePattern(r,x)}.test(${O})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:x,dataProp:O,dataPropType:qb.Type.Str},g),s.opts.unevaluated&&h!==!0?r.assign(ea._`${h}[${O}]`,!0):s.allErrors||r.if(ea.not(g),()=>r.break())})})}}};fu.default=Db});var Np=he(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Lb=_t(),jb={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:n}=t;if(Lb.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"}};cu.default=jb});var Dp=he(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var Bb=pn(),Mb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Bb.validateUnion,error:{message:"should match some schema in anyOf"}};pu.default=Mb});var Lp=he(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var ta=Be(),zb=_t(),Vb={message:"should match exactly one schema in oneOf",params:({params:t})=>ta._`{passingSchemas: ${t.passing}}`},Ub={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Vb,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 w;zb.alwaysValidSchema(n,g)?r.var(f,!0):w=t.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},f),h>0&&r.if(ta._`${f} && ${s}`).assign(s,!1).assign(l,ta._`[${l}, ${h}]`).else(),r.if(f,()=>{r.assign(s,!0),r.assign(l,h),w&&t.mergeEvaluated(w,ta.Name)})})}}};du.default=Ub});var jp=he(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var Hb=_t(),Gb={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(Hb.alwaysValidSchema(n,s))return;let f=t.subschema({keyword:"allOf",schemaProp:l},o);t.ok(o),t.mergeEvaluated(f)})}};mu.default=Gb});var Mp=he(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});var ra=Be(),Kb=_t(),Wb=zr(),Jb={message:({params:t})=>ra.str`should match "${t.ifClause}" schema`,params:({params:t})=>ra._`{failingKeyword: ${t.ifClause}}`},Zb={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Jb,code(t){let{gen:r,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&Wb.checkStrictMode(n,'"if" without "then" and "else" is ignored');let o=Bp(n,"then"),s=Bp(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(ra.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,w){return()=>{let E=t.subschema({keyword:h},f);r.assign(l,f),t.mergeValidEvaluated(E,l),w?r.assign(w,ra._`${h}`):t.setParams({ifClause:h})}}}};function Bp(t,r){let e=t.schema[r];return e!==void 0&&!Kb.alwaysValidSchema(t,e)}hu.default=Zb});var zp=he(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});var Qb=zr(),Xb={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&Qb.checkStrictMode(e,`"${t}" without "if" is ignored`)}};gu.default=Xb});var Vp=he(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});var Yb=vp(),ew=Cp(),tw=Ep(),rw=Pp(),nw=Fp(),iw=au(),ow=Op(),sw=Rp(),aw=Np(),lw=Dp(),uw=Lp(),fw=jp(),cw=Mp(),pw=zp(),dw=[aw.default,lw.default,uw.default,fw.default,cw.default,pw.default,Yb.default,ew.default,tw.default,nw.default,iw.default,rw.default,ow.default,sw.default];yu.default=dw});var Up=he($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});var Rt=Be(),mw={message:({schemaCode:t})=>Rt.str`should match format "${t}"`,params:({schemaCode:t})=>Rt._`{format: ${t}}`},hw={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:mw,code(t,r){let{gen:e,data:n,$data:o,schema:s,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:g,schemaEnv:h,self:w}=f;if(!c.validateFormats)return;o?E():C();function E(){let x=e.scopeValue("formats",{ref:w.formats,code:c.code.formats}),O=e.const("fDef",Rt._`${x}[${l}]`),R=e.let("fType"),j=e.let("format");e.if(Rt._`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>e.assign(R,Rt._`${O}.type || "string"`).assign(j,Rt._`${O}.validate`),()=>e.assign(R,Rt._`"string"`).assign(j,O)),t.fail$data(Rt.or(Y(),ae()));function Y(){return c.strict===!1?Rt.nil:Rt._`${l} && !${j}`}function ae(){let $e=h.$async?Rt._`(${O}.async ? await ${j}(${n}) : ${j}(${n}))`:Rt._`${j}(${n})`,ge=Rt._`(typeof ${j} == "function" ? ${$e} : ${j}.test(${n}))`;return Rt._`${j} && ${j} !== true && ${R} === ${r} && !${ge}`}}function C(){let x=w.formats[s];if(!x){Y();return}if(x===!0)return;let[O,R,j]=ae(x);O===r&&t.pass($e());function Y(){if(c.strict===!1){w.logger.warn(ge());return}throw new Error(ge());function ge(){return`unknown format "${s}" ignored in schema at path "${g}"`}}function ae(ge){let oe=e.scopeValue("formats",{key:s,ref:ge,code:c.code.formats?Rt._`${c.code.formats}${Rt.getProperty(s)}`:void 0});return typeof ge=="object"&&!(ge instanceof RegExp)?[ge.type||"string",ge.validate,Rt._`${oe}.validate`]:["string",ge,oe]}function $e(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!h.$async)throw new Error("async format in sync schema");return Rt._`await ${j}(${n})`}return typeof R=="function"?Rt._`${j}(${n})`:Rt._`${j}.test(${n})`}}}};$u.default=hw});var Hp=he(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});var gw=Up(),yw=[gw.default];bu.default=yw});var Gp=he(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.contentVocabulary=uo.metadataVocabulary=void 0;uo.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];uo.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Wp=he(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});var $w=up(),bw=kp(),ww=Vp(),kw=Hp(),Kp=Gp(),vw=[$w.default,bw.default,ww.default,kw.default,Kp.metadataVocabulary,Kp.contentVocabulary];wu.default=vw});var Jp=he((Q1,xw)=>{xw.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 Qp=he(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.CodeGen=Yt.Name=Yt.nil=Yt.stringify=Yt.str=Yt._=Yt.KeywordCxt=void 0;var Cw=zo();Yt.KeywordCxt=Cw.default;var fo=Be();Object.defineProperty(Yt,"_",{enumerable:!0,get:function(){return fo._}});Object.defineProperty(Yt,"str",{enumerable:!0,get:function(){return fo.str}});Object.defineProperty(Yt,"stringify",{enumerable:!0,get:function(){return fo.stringify}});Object.defineProperty(Yt,"nil",{enumerable:!0,get:function(){return fo.nil}});Object.defineProperty(Yt,"Name",{enumerable:!0,get:function(){return fo.Name}});Object.defineProperty(Yt,"CodeGen",{enumerable:!0,get:function(){return fo.CodeGen}});var Aw=np(),Ew=Wp(),Zp=Jp(),_w=["/properties"],na="http://json-schema.org/draft-07/schema",ku=class extends Aw.default{_addVocabularies(){super._addVocabularies(),Ew.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Zp,_w):Zp;this.addMetaSchema(r,na,!1),this.refs["http://json-schema.org/schema"]=na}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(na)?na:void 0)}};Yt.default=ku});var Yp=he((Y1,Xp)=>{var Sw=Object.prototype.hasOwnProperty,Pw=Object.prototype.toString;Xp.exports=function(r,e,n){if(Pw.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)Sw.call(r,l)&&e.call(n,r[l],l,r)}});var td=he((ex,ed)=>{"use strict";var Fw=Yp();ed.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){Fw(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 rd=he((tx,Tw)=>{Tw.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var nd=he((rx,Iw)=>{Iw.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:["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:["cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["row"]},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"]},checked:{type:"boolean"},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:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{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"},folded:{type:"boolean"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 id=he((nx,Ow)=>{Ow.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:["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:["cell"]},type:{type:"string",enum:["block"]},content:{type:"array",items:{type:"string"}}},required:["content","name","type"]},TableHead:{type:"object",properties:{name:{type:"string",enum:["row"]},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"]},checked:{type:"boolean"},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:"array",items:[{$ref:"#/definitions/Text"}],minItems:1,maxItems:1},{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"},folded:{type:"boolean"},foldedLevels:{type:"object",additionalProperties:!1,patternProperties:{"^[0-9]+$":{type:"boolean"}}},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 od=he(ia=>{ia.Test=rd();ia.AstTree=nd();ia.PodliteDocument=id()});var wd=he((Su,Pu)=>{(function(t,r,e){typeof Su=="object"?(Pu.exports=e(),Pu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",Su,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 w=s[h];return w===void 0&&(w=t[h]),w===void 0&&(w=h),w===l&&(w=" "),g+w.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 xd=he((fC,vd)=>{"use strict";function Gw(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)}Gw(Si,Error);Si.buildMessage=function(t,r){var e={literal:function(g){return'"'+o(g.text)+'"'},class:function(g){var h="",w;for(w=0;w<g.parts.length;w++)h+=g.parts[w]instanceof Array?s(g.parts[w][0])+"-"+s(g.parts[w][1]):s(g.parts[w]);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),w,E;for(w=0;w<g.length;w++)h[w]=l(g[w]);if(h.sort(),h.length>0){for(w=1,E=1;w<h.length;w++)h[w-1]!==h[w]&&(h[E]=h[w],E++);h.length=E}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 Kw(t,r){r=r!==void 0?r:{};var e={},n={Document:Nf},o=Nf,s=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=Z(),g=function(){return{text:b(),type:"ambient",location:k()}},h=/^[ \xA0\u2001\t\f\u2008]/,w=D([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),E=/^[ \t\f]/,C=D([" "," ","\f"],!1,!1),x=/^[\n\r]/,O=D([`
|
|
9
|
+
`,"\r"],!1,!1),R=function(u){return u},j=/^[^\n\r]/,Y=D([`
|
|
10
|
+
`,"\r"],!0,!1),ae=`
|
|
11
|
+
`,$e=P(`
|
|
12
|
+
`,!1),ge="\r",oe=P("\r",!1),be=function(){return{type:"blankline"}},Ae="=begin ",ke=P("=begin ",!1),He="=end ",Pe=P("=end ",!1),Fe="=for ",me=P("=for ",!1),Ee="=config",rt=P("=config",!1),ee="=alias",xt=P("=alias",!1),Qe=function(u){return Fh(u)},$t=function(u){return u},nt="=",V=P("=",!1),H=X("text"),Ut=function(){return b()},Nt=function(){return{type:"para",value:b(),error:!0,location:k()}},Ct=function(u,d){return Zi([u,d])},Pt=function(u){return[u]},At=",",lt=P(",",!1),qr=function(u,d){return Zi([u,d])},Lt=/^[a-zA-Z0-9]/,mr=D([["a","z"],["A","Z"],["0","9"]],!1,!1),tr=/^[a-zA-Z0-9_\-]/,xr=D([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Ht="=>",oi=P("=>",!1),xe=function(u,d){return{[u]:d}},Fn=function(u,d){return{...u,...d}},Tn=function(u){return u},Ne=":",Se=P(":",!1),Ze="allow",bt=P("allow",!1),hr="<",qe=P("<",!1),Re=">",mt=P(">",!1),it=function(u,d){return{value:d,type:"array"}},ie=function(u,d){return{name:"allow",...d}},fe=function(u){return u},we=function(u){return u},Ce=function(u){return[u]},Dt=function(){return[]},nn=/^[!]/,ot=D(["!"],!1,!1),wt="{",Ft=P("{",!1),on="}",ht=P("}",!1),In=function(u,d,y){return{value:y,type:"map"}},Gt="[",yn=P("[",!1),Mn=function(u,d,y){return y},Ur="]",si=P("]",!1),ai=function(u,d){return[b()]},Li=function(u,d,y){return{value:y,type:"array"}},zn=function(u,d,y){return{value:y,type:"array"}},li=function(u,d,y){return{value:y,type:"string"}},Vn="(",Un=P("(",!1),bo=function(u,d,y){return y.length>1?{type:"array",value:y}:{type:"value",value:y[0]}},On=")",U=P(")",!1),N=function(u,d){return{value:b()}},J=function(u,d,y){return{type:"value",...y}},te=function(u,d){return{value:!u,type:"boolean"}},ne=function(u,d,y){return{name:d,...y}},de=function(u,d){return d},_e=function(u,d){return Zi([...u,...d])},Le=/^[^'"]/,Ge=D(["'",'"'],!0,!1),yt=function(u){return u},Te=/^[0-9]/,st=D([["0","9"]],!1,!1),kt=/^[\-+]/,ut=D(["-","+"],!1,!1),ze="True",ft=P("True",!1),Xe=function(){return!0},Hr="False",Kt=P("False",!1),rr=function(){return!1},Ye=".",jt=P(".",!1),nr=/^[eE]/,Cr=D(["e","E"],!1,!1),Gr=/^["]/,Ar=D(['"'],!1,!1),$n=/^[^"]/,qn=D(['"'],!0,!1),Rn=/^[']/,ir=D(["'"],!1,!1),Er=/^[^']/,Wt=D(["'"],!0,!1),sn=function(u){return parseFloat(u)},Hn=function(u){return parseInt(u,10)},Kr=function(u,d,y){return d.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Es(d)},i=function(u,d,y,$,_){return u.length===$.length&&d===_},ue=function(u,d,y,$,_){return Th(u,`${$}${_}`)},Wr=function(u,d,y,$,_,A){return d===A},Bt=function(u,d,y,$,_,A){return{type:"block",content:$===""?[]:[{type:"verbatim",value:$.join("")}],name:d,margin:u}},Rr=function(u,d,y,$,_,A){return!0},v=function(u,d,y,$,_,A){return{...A,text:b(),config:y,location:k()}},Nr=/^[\-+=_|]/,bn=D(["-","+","=","_","|"],!1,!1),wo=function(){return{type:"separator",text:b()}},hs=function(){return r.isDelimited},Jr=function(){return{type:"separator",text:b()}},je=function(u){return{name:"row",type:"text",value:u}},gr=function(){return r.separators=[],!0},Gn=function(u,d){return r.separators.push(d.text),d},an=function(u,d,y,$){return r.separators.push($.text),$},ko=function(u,d,y,$){return[{name:"row",type:"text",value:y},$]},Zr=function(u,d,y){return[y]},Dr=function(u,d,y){return r.separators.length>1?!r.separators.every($=>$===r.separators[0]):!0},W=function(u,d,y){return[{name:"head",type:"text",value:u},d,...Zi(y)]},ji=function(u,d){return[{name:"row",type:"text",value:u},d]},Bi=function(u){return[...Zi(u)]},ui=function(u,d,y){return d==="table"},fi=function(u,d,y){return r.isDelimited=!0,!0},gs=function(u,d,y,$){return $},Fa=function(u,d,y,$){return $.some(_=>_&&(_.name==="row"||_.name==="cell"))},Mi=function(u,d,y,$,_,A){return{type:"block",content:$,name:d,margin:u}},ln=function(u,d,y,$,_,A){return{...A,text:b(),config:y,location:k()}},vo=function(u,d,y){return r.isDelimited=!0,!0},xo=function(u,d,y,$){return $},Ta=function(u,d,y,$,_,A){return{type:"block",content:$,name:d,margin:u}},Ia=function(u,d,y,$,_,A){return{...A,text:b(),config:y,location:k()}},ys=function(u,d,y,$){return $},$s=function(u,d,y,$,_){let A=d.match(/pod|nested|item|code|defn/)&&$.length-u.length>0?"code":"para";return{text:_,margin:$,type:A,content:[{type:A==="code"?"verbatim":"text",value:_}],location:k()}},Oa=function(u,d,y,$,_,A){return{type:"block",content:$,name:d,margin:u}},bs=function(u,d,y,$,_,A){return{...A,config:y,location:k()}},Kn=function(){return{text:b(),type:"para",margin:"",content:[{type:"text",value:b()}],location:k()}},Jt=function(){return{empty:1}},Wn=/^[s]/,wn=D(["s"],!1,!1),Lr=function(u){return{text:b(),type:"ambient1"}},qa=function(u,d){return d.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Es(d)},ws=function(u,d,y){return{margin:u,type:"block",content:y===""?[]:[{type:"verbatim",value:y}],name:d,config:[],location:k()}},kn=function(u,d){return d==="table"},ci=function(u,d){return r.isDelimited=!1,!0},zi=function(u,d,y){return{margin:u,type:"block",content:y===""?[]:y,name:d,config:[],location:k()}},Ra=function(u,d,y,$){let _=(y===`
|
|
13
|
+
`?"":y)+$;return{margin:u,type:"block",content:_===""?[]:[{type:"para",text:_,margin:"",content:[{type:"text",value:_}],location:k()}],name:d,location:k()}},Vi="= ",ks=P("= ",!1),Na=function(u,d,y,$){return{name:y,type:"alias",replacement:$,margin:u}},Da=/^[A-Z]/,La=D([["A","Z"]],!1,!1),Co="<>",vs=P("<>",!1),ja=function(u,d,y,$){return{name:y,type:"config",config:$,margin:u}},Ao=function(u,d,y,$){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Es(y)},Et=function(u,d,y,$,_){return{type:"block",content:_===""?[]:[{type:"verbatim",value:_}],name:y,margin:u,config:$,location:k()}},De=function(u,d,y,$){return y==="table"},Ui=function(u,d,y,$){return r.isDelimited=!1,!0},qf=function(u,d,y,$,_){return{type:"block",content:_===""?[]:_,name:y,margin:u,config:$,location:k()}},or=function(u,d,y,$,_){return{type:"block",content:_===""?[]:[{type:"para",content:[{type:"text",value:_}],margin:u,text:_,location:k()}],name:y,margin:u,config:$,location:k()}},vn=/^[a-zA-Z]/,ct=D([["a","z"],["A","Z"]],!1,!1),Ba=X("whitespace"),Hi=/^[\r\n \t\f]/,Gi=D(["\r",`
|
|
14
|
+
`," "," ","\f"],!1,!1),Ma=X("space characters"),a=0,se=0,Nn=[{line:1,column:1}],_r=0,m=[],p=0,S;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 b(){return t.substring(se,a)}function k(){return M(se,a)}function q(u,d){throw d=d!==void 0?d:M(se,a),Rf([X(u)],t.substring(se,a),d)}function z(u,d){throw d=d!==void 0?d:M(se,a),bh(u,d)}function P(u,d){return{type:"literal",text:u,ignoreCase:d}}function D(u,d,y){return{type:"class",parts:u,inverted:d,ignoreCase:y}}function Z(){return{type:"any"}}function F(){return{type:"end"}}function X(u){return{type:"other",description:u}}function G(u){var d=Nn[u],y;if(d)return d;for(y=u-1;!Nn[y];)y--;for(d=Nn[y],d={line:d.line,column:d.column};y<u;)t.charCodeAt(y)===10?(d.line++,d.column=1):d.column++,y++;return Nn[u]=d,d}function M(u,d){var y=G(u),$=G(d);return{start:{offset:u,line:y.line,column:y.column},end:{offset:d,line:$.line,column:$.column}}}function I(u){a<_r||(a>_r&&(_r=a,m=[]),m.push(u))}function bh(u,d){return new Si(u,null,null,d)}function Rf(u,d,y){return new Si(Si.buildMessage(u,d),u,d,y)}function Nf(){var u,d,y;for(u=a,d=[],y=Df();y!==e;)d.push(y),y=Df();return d!==e&&(se=u,d=s(d)),u=d,u}function Df(){var u,d,y,$,_,A,K,Q;if(u=So(),u===e&&(u=Eh(),u===e&&(u=Va(),u===e&&(u=Po(),u===e&&(u=Io(),u===e&&(u=Ka(),u===e&&(u=Oo(),u===e&&(u=Ha(),u===e&&(u=Ga(),u===e&&(u=Fo(),u===e&&(u=Ua(),u===e&&(u=To(),u===e&&(u=a,se=a,d=l(),d?d=void 0:d=e,d!==e?(y=_h(),y===e&&(y=Qr(),y===e&&(y=kh())),y!==e?(se=u,d=f(y),u=d):(a=u,u=e)):(a=u,u=e),u===e))))))))))))){if(u=a,d=a,y=[],$=a,_=a,p++,A=a,K=Dn(),K!==e?(Q=Mt(),Q!==e?(K=[K,Q],A=K):(a=A,A=e)):(a=A,A=e),A===e&&(A=hi()),p--,A===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(A=t.charAt(a),a++):(A=e,p===0&&I(c)),A!==e?(_=[_,A],$=_):(a=$,$=e)):(a=$,$=e),$!==e)for(;$!==e;)y.push($),$=a,_=a,p++,A=a,K=Dn(),K!==e?(Q=Mt(),Q!==e?(K=[K,Q],A=K):(a=A,A=e)):(a=A,A=e),A===e&&(A=hi()),p--,A===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(A=t.charAt(a),a++):(A=e,p===0&&I(c)),A!==e?(_=[_,A],$=_):(a=$,$=e)):(a=$,$=e);else y=e;y!==e?d=t.substring(d,a):d=y,d!==e&&(se=u,d=g()),u=d}return u}function Ot(){var u;return h.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,p===0&&I(w)),u}function ye(){var u,d;for(u=[],E.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(C));d!==e;)u.push(d),E.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(C));return u}function Jn(){var u,d,y,$;for(u=a,d=a,y=[],$=Ot();$!==e;)y.push($),$=Ot();return y!==e?(x.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(O)),$!==e?(y=[y,$],d=y):(a=d,d=e)):(a=d,d=e),d!==e?u=t.substring(u,a):u=d,u}function M0(){var u,d,y,$;if(u=a,d=a,y=[],$=Eo(),$!==e)for(;$!==e;)y.push($),$=Eo();else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e?(y=di(),y!==e?(se=u,d=R(d),u=d):(a=u,u=e)):(a=u,u=e),u}function Eo(){var u;return j.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,p===0&&I(Y)),u}function pi(){var u,d,y;return t.charCodeAt(a)===10?(u=ae,a++):(u=e,p===0&&I($e)),u===e&&(u=a,t.charCodeAt(a)===13?(d=ge,a++):(d=e,p===0&&I(oe)),d!==e?(t.charCodeAt(a)===10?(y=ae,a++):(y=e,p===0&&I($e)),y===e&&(y=null),y!==e?(d=[d,y],u=d):(a=u,u=e)):(a=u,u=e)),u}function di(){var u,d;return u=pi(),u===e&&(u=a,p++,t.length>a?(d=t.charAt(a),a++):(d=e,p===0&&I(c)),p--,d===e?u=void 0:(a=u,u=e)),u}function jr(){var u,d,y,$;for(u=a,d=a,y=[],$=Ot();$!==e;)y.push($),$=Ot();return y!==e?(x.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(O)),$!==e?(y=[y,$],d=y):(a=d,d=e)):(a=d,d=e),d!==e?u=t.substring(u,a):u=d,u}function Qr(){var u,d,y,$,_;for(u=a,d=a,y=a,$=[],_=Ot();_!==e;)$.push(_),_=Ot();return $!==e?(x.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(O)),_!==e?($=[$,_],y=$):(a=y,y=e)):(a=y,y=e),y!==e?d=t.substring(d,a):d=y,d!==e&&(se=u,d=be()),u=d,u}function _o(){var u;return t.substr(a,7)===Ae?(u=Ae,a+=7):(u=e,p===0&&I(ke)),u}function mi(){var u;return t.substr(a,5)===He?(u=He,a+=5):(u=e,p===0&&I(Pe)),u}function xs(){var u;return t.substr(a,5)===Fe?(u=Fe,a+=5):(u=e,p===0&&I(me)),u}function Lf(){var u;return t.substr(a,7)===Ee?(u=Ee,a+=7):(u=e,p===0&&I(rt)),u}function jf(){var u;return t.substr(a,6)===ee?(u=ee,a+=6):(u=e,p===0&&I(xt)),u}function Mt(){var u,d,y;return u=a,d=Wa(),d!==e?(se=a,y=Qe(d),y?y=void 0:y=e,y!==e?(se=u,d=$t(d),u=d):(a=u,u=e)):(a=u,u=e),u}function hi(){var u,d,y;return u=a,t.charCodeAt(a)===61?(d=nt,a++):(d=e,p===0&&I(V)),d!==e?(y=Mt(),y!==e?(se=u,d=$t(y),u=d):(a=u,u=e)):(a=u,u=e),u}function Dn(){var u;return u=_o(),u===e&&(u=mi(),u===e&&(u=xs(),u===e&&(u=Lf(),u===e&&(u=jf())))),u}function Xr(){var u,d,y;if(p++,u=a,d=[],y=Eo(),y!==e)for(;y!==e;)d.push(y),y=Eo();else d=e;return d!==e?u=t.substring(u,a):u=d,p--,u===e&&(d=e,p===0&&I(H)),u}function Zt(){var u,d,y,$,_,A,K;if(u=a,d=a,p++,y=a,$=ye(),$!==e?(_=Lf(),_===e&&(_=jf(),_===e&&(_=a,A=Dn(),A!==e?(K=Mt(),K!==e?(A=[A,K],_=A):(a=_,_=e)):(a=_,_=e),_===e&&(_=hi()))),_!==e?($=[$,_],y=$):(a=y,y=e)):(a=y,y=e),y===e&&(y=Qr()),p--,y===e?d=void 0:(a=d,d=e),d!==e){if(y=a,$=[],_=Xr(),_!==e)for(;_!==e;)$.push(_),_=Xr();else $=e;$!==e?y=t.substring(y,a):y=$,y!==e?($=di(),$!==e?(se=u,d=Ut(),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function wh(){var u,d,y,$;if(u=a,d=a,y=[],$=Xr(),$!==e)for(;$!==e;)y.push($),$=Xr();else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e?(y=di(),y!==e?(se=u,d=Ut(),u=d):(a=u,u=e)):(a=u,u=e),u}function kh(){var u,d,y,$,_,A;if(u=a,d=a,y=[],$=a,_=a,p++,A=di(),p--,A===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(A=t.charAt(a),a++):(A=e,p===0&&I(c)),A!==e?(_=[_,A],$=_):(a=$,$=e)):(a=$,$=e),$!==e)for(;$!==e;)y.push($),$=a,_=a,p++,A=di(),p--,A===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(A=t.charAt(a),a++):(A=e,p===0&&I(c)),A!==e?(_=[_,A],$=_):(a=$,$=e)):(a=$,$=e);else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e?(y=di(),y!==e?(se=u,d=Nt(),u=d):(a=u,u=e)):(a=u,u=e),u}function Bf(){var u,d,y,$;if(u=a,d=Mf(),d!==e){if(y=[],$=Ot(),$!==e)for(;$!==e;)y.push($),$=Ot();else y=e;y!==e?($=Bf(),$!==e?(se=u,d=Ct(d,$),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,d=Mf(),d!==e&&(se=u,d=Pt(d)),u=d),u}function Mf(){var u,d;return u=a,d=Eo(),d!==e?u=t.substring(u,a):u=d,u}function Cs(){var u,d,y,$,_,A;if(u=a,d=Wi(),d!==e){if(y=[],$=Ot(),$!==e)for(;$!==e;)y.push($),$=Ot();else y=e;y===e&&(y=a,$=ye(),$!==e?(t.charCodeAt(a)===44?(_=At,a++):(_=e,p===0&&I(lt)),_!==e?(A=ye(),A!==e?($=[$,_,A],y=$):(a=y,y=e)):(a=y,y=e)):(a=y,y=e)),y!==e?($=Cs(),$!==e?(se=u,d=qr(d,$),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,d=Wi(),d!==e&&(se=u,d=Pt(d)),u=d),u}function vh(){var u,d,y,$,_;if(u=a,d=a,y=[],Lt.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(mr)),$!==e)for(;$!==e;)y.push($),Lt.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(mr));else y=e;if(y!==e){for($=[],tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(xr));_!==e;)$.push(_),tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(xr));$!==e?(y=[y,$],d=y):(a=d,d=e)}else a=d,d=e;return d!==e?u=t.substring(u,a):u=d,u}function zf(){var u,d,y,$,_,A;return u=a,d=vh(),d!==e?(y=ye(),y!==e?(t.charCodeAt(a)===44?($=At,a++):($=e,p===0&&I(lt)),$===e&&(t.substr(a,2)===Ht?($=Ht,a+=2):($=e,p===0&&I(oi))),$!==e?(_=ye(),_!==e?(A=Wi(),A!==e?(se=u,d=xe(d,A),u=d):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Vf(){var u,d,y,$,_,A;return u=a,d=zf(),d!==e?(y=ye(),y!==e?(t.charCodeAt(a)===44?($=At,a++):($=e,p===0&&I(lt)),$!==e?(_=ye(),_!==e?(A=Vf(),A!==e?(se=u,d=Fn(d,A),u=d):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u===e&&(u=a,d=zf(),d!==e&&(se=u,d=Tn(d)),u=d),u}function xh(){var u,d,y,$,_,A,K,Q,T,L;return u=a,d=ye(),d!==e?(t.charCodeAt(a)===58?(y=Ne,a++):(y=e,p===0&&I(Se)),y!==e?(t.substr(a,5)===Ze?($=Ze,a+=5):($=e,p===0&&I(bt)),$!==e?(_=a,t.charCodeAt(a)===60?(A=hr,a++):(A=e,p===0&&I(qe)),A!==e?(K=ye(),K!==e?(Q=Bf(),Q!==e?(T=ye(),T!==e?(t.charCodeAt(a)===62?(L=Re,a++):(L=e,p===0&&I(mt)),L!==e?(se=_,A=it($,Q),_=A):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e),_!==e?(A=ye(),A!==e?(se=u,d=ie($,_),u=d):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function z0(){var u,d,y,$,_,A;for(u=a,d=[],y=a,$=ye(),$!==e?(_=Wi(),_!==e?(A=ye(),A!==e?(se=y,$=fe(_),y=$):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);y!==e;)d.push(y),y=a,$=ye(),$!==e?(_=Wi(),_!==e?(A=ye(),A!==e?(se=y,$=fe(_),y=$):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);return d!==e&&(se=u,d=we(d)),u=d,u===e&&(u=a,d=Wi(),d!==e&&(se=u,d=Ce(d)),u=d,u===e&&(u=a,d=ye(),d!==e&&(se=u,d=Dt()),u=d)),u}function Ki(){var u,d,y,$,_,A,K,Q,T,L,B,re,le,pe;if(u=xh(),u===e)if(u=a,d=ye(),d!==e)if(t.charCodeAt(a)===58?(y=Ne,a++):(y=e,p===0&&I(Se)),y!==e)if(nn.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(ot)),$===e&&($=null),$!==e)if(_=Wa(),_!==e){if(A=a,t.charCodeAt(a)===123?(K=wt,a++):(K=e,p===0&&I(Ft)),K!==e?(Q=ye(),Q!==e?(T=Vf(),T!==e?(L=ye(),L!==e?(t.charCodeAt(a)===125?(B=on,a++):(B=e,p===0&&I(ht)),B!==e?(se=A,K=In($,_,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)):(a=A,A=e),A===e){if(A=a,t.charCodeAt(a)===91?(K=Gt,a++):(K=e,p===0&&I(yn)),K!==e)if(Q=ye(),Q!==e){if(T=a,L=Cs(),L!==e&&(se=T,L=Mn($,_,L)),T=L,T===e){if(T=a,L=a,B=[],re=a,le=a,p++,t.charCodeAt(a)===93?(pe=Ur,a++):(pe=e,p===0&&I(si)),pe===e&&(t.charCodeAt(a)===91?(pe=Gt,a++):(pe=e,p===0&&I(yn))),p--,pe===e?le=void 0:(a=le,le=e),le!==e?(t.length>a?(pe=t.charAt(a),a++):(pe=e,p===0&&I(c)),pe!==e?(le=[le,pe],re=le):(a=re,re=e)):(a=re,re=e),re!==e)for(;re!==e;)B.push(re),re=a,le=a,p++,t.charCodeAt(a)===93?(pe=Ur,a++):(pe=e,p===0&&I(si)),pe===e&&(t.charCodeAt(a)===91?(pe=Gt,a++):(pe=e,p===0&&I(yn))),p--,pe===e?le=void 0:(a=le,le=e),le!==e?(t.length>a?(pe=t.charAt(a),a++):(pe=e,p===0&&I(c)),pe!==e?(le=[le,pe],re=le):(a=re,re=e)):(a=re,re=e);else B=e;B!==e?L=t.substring(L,a):L=B,L!==e&&(se=T,L=ai($,_)),T=L}T!==e?(L=ye(),L!==e?(t.charCodeAt(a)===93?(B=Ur,a++):(B=e,p===0&&I(si)),B!==e?(se=A,K=Li($,_,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)}else a=A,A=e;else a=A,A=e;if(A===e&&(A=a,t.charCodeAt(a)===60?(K=hr,a++):(K=e,p===0&&I(qe)),K!==e?(Q=ye(),Q!==e?(T=Cs(),T!==e?(L=ye(),L!==e?(t.charCodeAt(a)===62?(B=Re,a++):(B=e,p===0&&I(mt)),B!==e?(se=A,K=zn($,_,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)):(a=A,A=e),A===e)){if(A=a,t.charCodeAt(a)===60?(K=hr,a++):(K=e,p===0&&I(qe)),K!==e)if(Q=ye(),Q!==e){if(T=a,L=[],B=a,re=a,p++,t.charCodeAt(a)===60?(le=hr,a++):(le=e,p===0&&I(qe)),le===e&&(t.charCodeAt(a)===62?(le=Re,a++):(le=e,p===0&&I(mt))),p--,le===e?re=void 0:(a=re,re=e),re!==e?(t.length>a?(le=t.charAt(a),a++):(le=e,p===0&&I(c)),le!==e?(re=[re,le],B=re):(a=B,B=e)):(a=B,B=e),B!==e)for(;B!==e;)L.push(B),B=a,re=a,p++,t.charCodeAt(a)===60?(le=hr,a++):(le=e,p===0&&I(qe)),le===e&&(t.charCodeAt(a)===62?(le=Re,a++):(le=e,p===0&&I(mt))),p--,le===e?re=void 0:(a=re,re=e),re!==e?(t.length>a?(le=t.charAt(a),a++):(le=e,p===0&&I(c)),le!==e?(re=[re,le],B=re):(a=B,B=e)):(a=B,B=e);else L=e;L!==e?T=t.substring(T,a):T=L,T!==e?(L=ye(),L!==e?(t.charCodeAt(a)===62?(B=Re,a++):(B=e,p===0&&I(mt)),B!==e?(se=A,K=li($,_,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)}else a=A,A=e;else a=A,A=e;if(A===e){if(A=a,t.charCodeAt(a)===40?(K=Vn,a++):(K=e,p===0&&I(Un)),K!==e)if(Q=ye(),Q!==e){if(T=a,L=Cs(),L!==e&&(se=T,L=bo($,_,L)),T=L,T===e){if(T=a,L=a,B=[],re=a,le=a,p++,t.charCodeAt(a)===41?(pe=On,a++):(pe=e,p===0&&I(U)),pe===e&&(t.charCodeAt(a)===40?(pe=Vn,a++):(pe=e,p===0&&I(Un))),p--,pe===e?le=void 0:(a=le,le=e),le!==e?(t.length>a?(pe=t.charAt(a),a++):(pe=e,p===0&&I(c)),pe!==e?(le=[le,pe],re=le):(a=re,re=e)):(a=re,re=e),re!==e)for(;re!==e;)B.push(re),re=a,le=a,p++,t.charCodeAt(a)===41?(pe=On,a++):(pe=e,p===0&&I(U)),pe===e&&(t.charCodeAt(a)===40?(pe=Vn,a++):(pe=e,p===0&&I(Un))),p--,pe===e?le=void 0:(a=le,le=e),le!==e?(t.length>a?(pe=t.charAt(a),a++):(pe=e,p===0&&I(c)),pe!==e?(le=[le,pe],re=le):(a=re,re=e)):(a=re,re=e);else B=e;B!==e?L=t.substring(L,a):L=B,L!==e&&(se=T,L=N($,_)),T=L}T!==e?(L=ye(),L!==e?(t.charCodeAt(a)===41?(B=On,a++):(B=e,p===0&&I(U)),B!==e?(se=A,K=J($,_,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)}else a=A,A=e;else a=A,A=e;A===e&&(A=a,K=ye(),K!==e&&(se=A,K=te($,_)),A=K)}}}A!==e?(K=ye(),K!==e?(se=u,d=ne($,_,A),u=d):(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 Zn(){var u,d,y,$,_,A,K,Q,T,L;for(u=a,d=[],y=Ki();y!==e;)d.push(y),y=Ki();if(d!==e)if(y=pi(),y!==e){if($=[],_=a,t.charCodeAt(a)===61?(A=nt,a++):(A=e,p===0&&I(V)),A!==e)if(K=ye(),K!==e){if(Q=[],T=Ki(),T!==e)for(;T!==e;)Q.push(T),T=Ki();else Q=e;Q!==e?(T=ye(),T!==e?(L=pi(),L!==e?(se=_,A=de(d,Q),_=A):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;for(;_!==e;)if($.push(_),_=a,t.charCodeAt(a)===61?(A=nt,a++):(A=e,p===0&&I(V)),A!==e)if(K=ye(),K!==e){if(Q=[],T=Ki(),T!==e)for(;T!==e;)Q.push(T),T=Ki();else Q=e;Q!==e?(T=ye(),T!==e?(L=pi(),L!==e?(se=_,A=de(d,Q),_=A):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;$!==e?(se=u,d=_e(d,$),u=d):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function V0(){var u,d,y,$;if(u=a,d=a,y=[],Le.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(Ge)),$!==e)for(;$!==e;)y.push($),Le.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(Ge));else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e&&(se=u,d=yt(d)),u=d,u}function Uf(){var u,d,y;if(u=a,d=[],Te.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&I(st)),y!==e)for(;y!==e;)d.push(y),Te.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&I(st));else d=e;return d!==e?u=t.substring(u,a):u=d,u}function As(){var u,d,y,$,_;if(u=a,d=a,kt.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&I(ut)),y===e&&(y=null),y!==e){if($=[],Te.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(st)),_!==e)for(;_!==e;)$.push(_),Te.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(st));else $=e;$!==e?(y=[y,$],d=y):(a=d,d=e)}else a=d,d=e;return d!==e?u=t.substring(u,a):u=d,u}function Ch(){var u,d;return u=a,t.substr(a,4)===ze?(d=ze,a+=4):(d=e,p===0&&I(ft)),d!==e&&(se=u,d=Xe()),u=d,u===e&&(u=a,t.substr(a,5)===Hr?(d=Hr,a+=5):(d=e,p===0&&I(Kt)),d!==e&&(se=u,d=rr()),u=d),u}function Ah(){var u,d,y,$,_,A;return u=a,d=a,y=As(),y!==e?($=a,t.charCodeAt(a)===46?(_=Ye,a++):(_=e,p===0&&I(jt)),_!==e?(A=Uf(),A!==e?(_=[_,A],$=_):(a=$,$=e)):(a=$,$=e),$===e&&($=null),$!==e?(nr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(Cr)),_!==e?(A=As(),A!==e?(y=[y,$,_,A],d=y):(a=d,d=e)):(a=d,d=e)):(a=d,d=e)):(a=d,d=e),d!==e?u=t.substring(u,a):u=d,u===e&&(u=a,d=a,y=As(),y!==e?(t.charCodeAt(a)===46?($=Ye,a++):($=e,p===0&&I(jt)),$!==e?(_=Uf(),_!==e?(y=[y,$,_],d=y):(a=d,d=e)):(a=d,d=e)):(a=d,d=e),d!==e?u=t.substring(u,a):u=d),u}function Wi(){var u,d,y,$,_;if(u=a,Gr.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(Ar)),d!==e){for(y=a,$=[],$n.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(qn));_!==e;)$.push(_),$n.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(qn));$!==e?y=t.substring(y,a):y=$,y!==e?(Gr.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(Ar)),$!==e?(se=u,d=yt(y),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;if(u===e){if(u=a,Rn.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(ir)),d!==e){for(y=a,$=[],Er.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(Wt));_!==e;)$.push(_),Er.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(Wt));$!==e?y=t.substring(y,a):y=$,y!==e?(Rn.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(ir)),$!==e?(se=u,d=yt(y),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;u===e&&(u=Ch(),u===e&&(u=a,d=Ah(),d!==e&&(se=u,d=sn(d)),u=d,u===e&&(u=a,d=As(),d!==e&&(se=u,d=Hn(d)),u=d)))}return u}function So(){var u,d,y,$,_,A,K,Q,T,L,B,re,le,pe,at,Br,en;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=_o(),y!==e)if($=Mt(),$!==e)if(_=ye(),_!==e)if(A=Zn(),A!==e)if(se=a,K=Kr(d,$,A),K?K=void 0:K=e,K!==e){if(Q=[],T=a,L=a,B=ye(),B!==e?L=t.substring(L,a):L=B,L!==e?(B=a,re=Jn(),re===e&&(re=a,le=a,p++,pe=Dn(),p--,pe===e?le=void 0:(a=le,le=e),le===e&&(le=a,p++,pe=a,at=mi(),at!==e?(Br=Mt(),Br!==e?(se=a,en=i(d,$,A,L,Br),en?en=void 0:en=e,en!==e?(at=[at,Br,en],pe=at):(a=pe,pe=e)):(a=pe,pe=e)):(a=pe,pe=e),p--,pe===e?le=void 0:(a=le,le=e)),le!==e?(pe=Xr(),pe!==e?(at=Jn(),at===e&&(at=null),at!==e?(le=[le,pe,at],re=le):(a=re,re=e)):(a=re,re=e)):(a=re,re=e)),re!==e?B=t.substring(B,a):B=re,B!==e?(se=T,L=ue(d,$,A,L,B),T=L):(a=T,T=e)):(a=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=a,L=a,B=ye(),B!==e?L=t.substring(L,a):L=B,L!==e?(B=a,re=Jn(),re===e&&(re=a,le=a,p++,pe=Dn(),p--,pe===e?le=void 0:(a=le,le=e),le===e&&(le=a,p++,pe=a,at=mi(),at!==e?(Br=Mt(),Br!==e?(se=a,en=i(d,$,A,L,Br),en?en=void 0:en=e,en!==e?(at=[at,Br,en],pe=at):(a=pe,pe=e)):(a=pe,pe=e)):(a=pe,pe=e),p--,pe===e?le=void 0:(a=le,le=e)),le!==e?(pe=Xr(),pe!==e?(at=Jn(),at===e&&(at=null),at!==e?(le=[le,pe,at],re=le):(a=re,re=e)):(a=re,re=e)):(a=re,re=e)),re!==e?B=t.substring(B,a):B=re,B!==e?(se=T,L=ue(d,$,A,L,B),T=L):(a=T,T=e)):(a=T,T=e);else Q=e;Q!==e?(T=a,L=ye(),L!==e?T=t.substring(T,a):T=L,T!==e?(L=a,B=mi(),B!==e?(re=Mt(),re!==e?(se=a,le=Wr(d,$,A,Q,T,re),le?le=void 0:le=e,le!==e?(pe=Jn(),pe===e&&(pe=null),pe!==e?(se=L,B=Bt(d,$,A,Q,T,re),L=B):(a=L,L=e)):(a=L,L=e)):(a=L,L=e)):(a=L,L=e),L!==e?(se=a,B=Rr(d,$,A,Q,T,L),B?B=void 0:B=e,B!==e?(se=u,d=v(d,$,A,Q,T,L),u=d):(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 Ji(){var u,d,y,$,_,A,K,Q,T;if(u=a,d=a,p++,y=a,$=ye(),$!==e?(_=Dn(),_===e&&(_=hi()),_!==e?($=[$,_],y=$):(a=y,y=e)):(a=y,y=e),y===e&&(y=Qr()),p--,y===e?d=void 0:(a=d,d=e),d!==e){for(y=[],$=Ot();$!==e;)y.push($),$=Ot();if(y!==e){if($=a,_=[],A=a,Nr.test(t.charAt(a))?(K=t.charAt(a),a++):(K=e,p===0&&I(bn)),K!==e){for(Q=[],T=Ot();T!==e;)Q.push(T),T=Ot();Q!==e?(K=[K,Q],A=K):(a=A,A=e)}else a=A,A=e;if(A!==e)for(;A!==e;)if(_.push(A),A=a,Nr.test(t.charAt(a))?(K=t.charAt(a),a++):(K=e,p===0&&I(bn)),K!==e){for(Q=[],T=Ot();T!==e;)Q.push(T),T=Ot();Q!==e?(K=[K,Q],A=K):(a=A,A=e)}else a=A,A=e;else _=e;_!==e?$=t.substring($,a):$=_,$!==e?(_=di(),_!==e?(se=u,d=wo(),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e}else a=u,u=e;return u}function Sr(){var u,d,y,$,_;return u=a,d=a,y=Ji(),y===e&&(y=a,se=a,$=hs(),$?$=void 0:$=e,$!==e?(_=Qr(),_!==e?($=[$,_],y=$):(a=y,y=e)):(a=y,y=e)),y!==e?d=t.substring(d,a):d=y,d!==e&&(se=u,d=Jr()),u=d,u}function Yr(){var u,d;return u=a,d=Zt(),d!==e&&(se=u,d=je(d)),u=d,u}function za(){var u,d,y,$,_,A,K,Q,T,L,B;if(u=a,se=a,d=gr(),d?d=void 0:d=e,d!==e){if(y=a,$=[],_=a,A=a,p++,K=Ji(),p--,K===e?A=void 0:(a=A,A=e),A!==e?(K=Yr(),K!==e?(A=[A,K],_=A):(a=_,_=e)):(a=_,_=e),_!==e)for(;_!==e;)$.push(_),_=a,A=a,p++,K=Ji(),p--,K===e?A=void 0:(a=A,A=e),A!==e?(K=Yr(),K!==e?(A=[A,K],_=A):(a=_,_=e)):(a=_,_=e);else $=e;if($!==e?y=t.substring(y,a):y=$,y!==e)if($=a,_=Ji(),_!==e&&(se=$,_=Gn(y,_)),$=_,$!==e){if(_=[],A=a,K=a,Q=[],T=a,L=a,p++,B=Sr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Yr(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=a,L=a,p++,B=Sr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Yr(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e);else Q=e;if(Q!==e?K=t.substring(K,a):K=Q,K!==e?(Q=a,T=Sr(),T!==e&&(se=Q,T=an(y,$,K,T)),Q=T,Q!==e?(se=A,K=ko(y,$,K,Q),A=K):(a=A,A=e)):(a=A,A=e),A===e&&(A=a,K=a,p++,Q=Ji(),p--,Q===e?K=void 0:(a=K,K=e),K!==e?(Q=a,p++,T=Sr(),p--,T===e?Q=void 0:(a=Q,Q=e),Q!==e?(T=Yr(),T!==e?(se=A,K=Zr(y,$,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e)),A!==e)for(;A!==e;){if(_.push(A),A=a,K=a,Q=[],T=a,L=a,p++,B=Sr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Yr(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e),T!==e)for(;T!==e;)Q.push(T),T=a,L=a,p++,B=Sr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Yr(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e);else Q=e;Q!==e?K=t.substring(K,a):K=Q,K!==e?(Q=a,T=Sr(),T!==e&&(se=Q,T=an(y,$,K,T)),Q=T,Q!==e?(se=A,K=ko(y,$,K,Q),A=K):(a=A,A=e)):(a=A,A=e),A===e&&(A=a,K=a,p++,Q=Ji(),p--,Q===e?K=void 0:(a=K,K=e),K!==e?(Q=a,p++,T=Sr(),p--,T===e?Q=void 0:(a=Q,Q=e),Q!==e?(T=Yr(),T!==e?(se=A,K=Zr(y,$,T),A=K):(a=A,A=e)):(a=A,A=e)):(a=A,A=e))}else _=e;_!==e?(se=a,A=Dr(y,$,_),A?A=void 0:A=e,A!==e?(se=u,d=W(y,$,_),u=d):(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,d=[],y=a,$=a,_=a,A=a,p++,K=Sr(),p--,K===e?A=void 0:(a=A,A=e),A!==e?(K=Yr(),K!==e?(A=[A,K],_=A):(a=_,_=e)):(a=_,_=e),_!==e?$=t.substring($,a):$=_,$!==e){for(_=[],A=Sr();A!==e;)_.push(A),A=Sr();_!==e?(se=y,$=ji($,_),y=$):(a=y,y=e)}else a=y,y=e;if(y!==e)for(;y!==e;)if(d.push(y),y=a,$=a,_=a,A=a,p++,K=Sr(),p--,K===e?A=void 0:(a=A,A=e),A!==e?(K=Yr(),K!==e?(A=[A,K],_=A):(a=_,_=e)):(a=_,_=e),_!==e?$=t.substring($,a):$=_,$!==e){for(_=[],A=Sr();A!==e;)_.push(A),A=Sr();_!==e?(se=y,$=ji($,_),y=$):(a=y,y=e)}else a=y,y=e;else d=e;if(d!==e&&(se=u,d=Bi(d)),u=d,u===e)if(u=[],d=Yr(),d!==e)for(;d!==e;)u.push(d),d=Yr();else u=e}return u}function Eh(){var u,d,y,$,_,A,K,Q,T,L,B,re,le,pe,at,Br;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=_o(),y!==e)if($=Mt(),$!==e)if(_=ye(),_!==e)if(A=Zn(),A!==e)if(se=a,K=ui(d,$,A),K?K=void 0:K=e,K!==e)if(se=a,Q=fi(d,$,A),Q?Q=void 0:Q=e,Q!==e){for(T=a,L=[],B=Qr(),B===e&&(B=So(),B===e&&(B=Po(),B===e&&(B=Io(),B===e&&(B=Oo(),B===e&&(B=Fo(),B===e&&(B=To()))))));B!==e;)L.push(B),B=Qr(),B===e&&(B=So(),B===e&&(B=Po(),B===e&&(B=Io(),B===e&&(B=Oo(),B===e&&(B=Fo(),B===e&&(B=To()))))));L!==e&&(se=T,L=gs(d,$,A,L)),T=L,T!==e?(se=a,L=Fa(d,$,A,T),L?L=void 0:L=e,L!==e?(B=a,re=ye(),re!==e?B=t.substring(B,a):B=re,B!==e?(re=a,le=mi(),le!==e?(pe=Mt(),pe!==e?(se=a,at=Wr(d,$,A,T,B,pe),at?at=void 0:at=e,at!==e?(Br=Jn(),Br===e&&(Br=null),Br!==e?(se=re,le=Mi(d,$,A,T,B,pe),re=le):(a=re,re=e)):(a=re,re=e)):(a=re,re=e)):(a=re,re=e),re!==e?(se=u,d=ln(d,$,A,T,B,re),u=d):(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 Va(){var u,d,y,$,_,A,K,Q,T,L,B,re,le,pe,at;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=_o(),y!==e)if($=Mt(),$!==e)if(_=ye(),_!==e)if(A=Zn(),A!==e)if(se=a,K=ui(d,$,A),K?K=void 0:K=e,K!==e)if(se=a,Q=vo(d,$,A),Q?Q=void 0:Q=e,Q!==e){for(T=a,L=[],B=Qr();B!==e;)L.push(B),B=Qr();if(L!==e)if(B=za(),B!==e){for(re=[],le=Qr();le!==e;)re.push(le),le=Qr();re!==e?(se=T,L=xo(d,$,A,B),T=L):(a=T,T=e)}else a=T,T=e;else a=T,T=e;T!==e?(L=a,B=ye(),B!==e?L=t.substring(L,a):L=B,L!==e?(B=a,re=mi(),re!==e?(le=Mt(),le!==e?(se=a,pe=Wr(d,$,A,T,L,le),pe?pe=void 0:pe=e,pe!==e?(at=Jn(),at===e&&(at=null),at!==e?(se=B,re=Ta(d,$,A,T,L,le),B=re):(a=B,B=e)):(a=B,B=e)):(a=B,B=e)):(a=B,B=e),B!==e?(se=a,re=Rr(d,$,A,T,L,B),re?re=void 0:re=e,re!==e?(se=u,d=Ia(d,$,A,T,L,B),u=d):(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 Po(){var u,d,y,$,_,A,K,Q,T,L,B,re,le;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=_o(),y!==e)if($=Mt(),$!==e)if(_=ye(),_!==e)if(A=Zn(),A!==e){if(K=[],Q=a,T=Qr(),T===e&&(T=So(),T===e&&(T=Va(),T===e&&(T=Po(),T===e&&(T=Io(),T===e&&(T=Ka(),T===e&&(T=Oo(),T===e&&(T=Ha(),T===e&&(T=Ga(),T===e&&(T=Fo(),T===e&&(T=Ua(),T===e&&(T=To()))))))))))),T!==e&&(se=Q,T=ys(d,$,A,T)),Q=T,Q===e){for(Q=a,T=a,L=[],B=Ot();B!==e;)L.push(B),B=Ot();if(L!==e?T=t.substring(T,a):T=L,T!==e){if(L=a,B=[],re=Zt(),re!==e)for(;re!==e;)B.push(re),re=Zt();else B=e;B!==e?L=t.substring(L,a):L=B,L!==e?(se=Q,T=$s(d,$,A,T,L),Q=T):(a=Q,Q=e)}else a=Q,Q=e}for(;Q!==e;)if(K.push(Q),Q=a,T=Qr(),T===e&&(T=So(),T===e&&(T=Va(),T===e&&(T=Po(),T===e&&(T=Io(),T===e&&(T=Ka(),T===e&&(T=Oo(),T===e&&(T=Ha(),T===e&&(T=Ga(),T===e&&(T=Fo(),T===e&&(T=Ua(),T===e&&(T=To()))))))))))),T!==e&&(se=Q,T=ys(d,$,A,T)),Q=T,Q===e){for(Q=a,T=a,L=[],B=Ot();B!==e;)L.push(B),B=Ot();if(L!==e?T=t.substring(T,a):T=L,T!==e){if(L=a,B=[],re=Zt(),re!==e)for(;re!==e;)B.push(re),re=Zt();else B=e;B!==e?L=t.substring(L,a):L=B,L!==e?(se=Q,T=$s(d,$,A,T,L),Q=T):(a=Q,Q=e)}else a=Q,Q=e}K!==e?(Q=a,T=ye(),T!==e?Q=t.substring(Q,a):Q=T,Q!==e?(T=a,L=mi(),L!==e?(B=Mt(),B!==e?(se=a,re=Wr(d,$,A,K,Q,B),re?re=void 0:re=e,re!==e?(le=Jn(),le===e&&(le=null),le!==e?(se=T,L=Oa(d,$,A,K,Q,B),T=L):(a=T,T=e)):(a=T,T=e)):(a=T,T=e)):(a=T,T=e),T!==e?(se=a,L=Rr(d,$,A,K,Q,T),L?L=void 0:L=e,L!==e?(se=u,d=bs(d,$,A,K,Q,T),u=d):(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 _h(){var u,d,y;if(u=a,d=[],y=Zt(),y!==e)for(;y!==e;)d.push(y),y=Zt();else d=e;return d!==e&&(se=u,d=Kn()),u=d,u}function U0(){var u,d,y,$;if(u=a,d=[],y=a,$=jr(),$!==e&&(se=y,$=Jt()),y=$,y===e){if(y=[],Wn.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(wn)),$!==e)for(;$!==e;)y.push($),Wn.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(wn));else y=e;y===e&&(y=Zt())}if(y!==e){for(;y!==e;)if(d.push(y),y=a,$=jr(),$!==e&&(se=y,$=Jt()),y=$,y===e){if(y=[],Wn.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(wn)),$!==e)for(;$!==e;)y.push($),Wn.test(t.charAt(a))?($=t.charAt(a),a++):($=e,p===0&&I(wn));else y=e;y===e&&(y=Zt())}}else d=e;return d!==e&&(se=u,d=Lr(d)),u=d,u}function Fo(){var u,d,y,$,_,A,K,Q,T,L,B,re;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=a,p++,$=Dn(),p--,$===e?y=void 0:(a=y,y=e),y!==e)if($=hi(),$!==e)if(_=ye(),_!==e)if(A=jr(),A===e&&(A=null),A!==e)if(se=a,K=qa(d,$),K?K=void 0:K=e,K!==e){for(Q=a,T=[],L=a,B=a,p++,re=jr(),p--,re===e?B=void 0:(a=B,B=e),B!==e?(re=Zt(),re!==e?(B=[B,re],L=B):(a=L,L=e)):(a=L,L=e);L!==e;)T.push(L),L=a,B=a,p++,re=jr(),p--,re===e?B=void 0:(a=B,B=e),B!==e?(re=Zt(),re!==e?(B=[B,re],L=B):(a=L,L=e)):(a=L,L=e);T!==e?Q=t.substring(Q,a):Q=T,Q!==e?(se=u,d=ws(d,$,Q),u=d):(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 Ua(){var u,d,y,$,_,A,K,Q,T;return u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e?(y=a,p++,$=Dn(),p--,$===e?y=void 0:(a=y,y=e),y!==e?($=hi(),$!==e?(_=ye(),_!==e?(A=jr(),A===e&&(A=null),A!==e?(se=a,K=kn(d,$),K?K=void 0:K=e,K!==e?(se=a,Q=ci(d,$),Q?Q=void 0:Q=e,Q!==e?(T=za(),T!==e?(se=u,d=zi(d,$,T),u=d):(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 To(){var u,d,y,$,_,A,K,Q,T,L,B;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=a,p++,$=Dn(),p--,$===e?y=void 0:(a=y,y=e),y!==e)if($=hi(),$!==e)if(_=ye(),_!==e)if(A=jr(),A===e&&(A=wh()),A!==e){for(K=a,Q=[],T=a,L=a,p++,B=jr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Zt(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e);T!==e;)Q.push(T),T=a,L=a,p++,B=jr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Zt(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e);Q!==e?K=t.substring(K,a):K=Q,K!==e?(se=u,d=Ra(d,$,A,K),u=d):(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 Sh(){var u,d,y,$,_,A,K,Q,T,L,B;for(u=a,d=[],y=Xr();y!==e;)d.push(y),y=Xr();if(d!==e)if(y=pi(),y!==e){if($=[],_=a,A=ye(),A!==e)if(t.substr(a,2)===Vi?(K=Vi,a+=2):(K=e,p===0&&I(ks)),K!==e)if(Q=ye(),Q!==e){if(T=[],L=Xr(),L!==e)for(;L!==e;)T.push(L),L=Xr();else T=e;T!==e?(L=ye(),L!==e?(B=pi(),B!==e?(se=_,A=de(d,T),_=A):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;else a=_,_=e;for(;_!==e;)if($.push(_),_=a,A=ye(),A!==e)if(t.substr(a,2)===Vi?(K=Vi,a+=2):(K=e,p===0&&I(ks)),K!==e)if(Q=ye(),Q!==e){if(T=[],L=Xr(),L!==e)for(;L!==e;)T.push(L),L=Xr();else T=e;T!==e?(L=ye(),L!==e?(B=pi(),B!==e?(se=_,A=de(d,T),_=A):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;else a=_,_=e;$!==e?(se=u,d=_e(d,$),u=d):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function Ha(){var u,d,y,$,_,A,K;return u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e?(t.substr(a,6)===ee?(y=ee,a+=6):(y=e,p===0&&I(xt)),y!==e?($=ye(),$!==e?(_=a,A=Wa(),A!==e?_=t.substring(_,a):_=A,_!==e?(A=ye(),A!==e?(K=Sh(),K!==e?(se=u,d=Na(d,y,_,K),u=d):(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 Ga(){var u,d,y,$,_,A,K,Q;return u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e?(t.substr(a,7)===Ee?(y=Ee,a+=7):(y=e,p===0&&I(rt)),y!==e?($=ye(),$!==e?(_=a,A=Mt(),A===e&&(A=a,Da.test(t.charAt(a))?(K=t.charAt(a),a++):(K=e,p===0&&I(La)),K!==e?(t.substr(a,2)===Co?(Q=Co,a+=2):(Q=e,p===0&&I(vs)),Q!==e?(K=[K,Q],A=K):(a=A,A=e)):(a=A,A=e)),A!==e?_=t.substring(_,a):_=A,_!==e?(A=ye(),A!==e?(K=Zn(),K!==e?(se=u,d=ja(d,y,_,K),u=d):(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 Io(){var u,d,y,$,_,A,K,Q,T,L,B,re;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=xs(),y!==e)if($=Mt(),$!==e)if(_=ye(),_!==e)if(A=Zn(),A!==e)if(se=a,K=Ao(d,y,$,A),K?K=void 0:K=e,K!==e){for(Q=a,T=[],L=a,B=a,p++,re=jr(),p--,re===e?B=void 0:(a=B,B=e),B!==e?(re=Zt(),re!==e?(B=[B,re],L=B):(a=L,L=e)):(a=L,L=e);L!==e;)T.push(L),L=a,B=a,p++,re=jr(),p--,re===e?B=void 0:(a=B,B=e),B!==e?(re=Zt(),re!==e?(B=[B,re],L=B):(a=L,L=e)):(a=L,L=e);T!==e?Q=t.substring(Q,a):Q=T,Q!==e?(se=u,d=Et(d,y,$,A,Q),u=d):(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 Ka(){var u,d,y,$,_,A,K,Q,T;return u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e?(y=xs(),y!==e?($=Mt(),$!==e?(_=ye(),_!==e?(A=Zn(),A!==e?(se=a,K=De(d,y,$,A),K?K=void 0:K=e,K!==e?(se=a,Q=Ui(d,y,$,A),Q?Q=void 0:Q=e,Q!==e?(T=za(),T!==e?(se=u,d=qf(d,y,$,A,T),u=d):(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 Oo(){var u,d,y,$,_,A,K,Q,T,L,B;if(u=a,d=a,y=ye(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=xs(),y!==e)if($=Mt(),$!==e)if(_=ye(),_!==e)if(A=Zn(),A!==e){for(K=a,Q=[],T=a,L=a,p++,B=jr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Zt(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e);T!==e;)Q.push(T),T=a,L=a,p++,B=jr(),p--,B===e?L=void 0:(a=L,L=e),L!==e?(B=Zt(),B!==e?(L=[L,B],T=L):(a=T,T=e)):(a=T,T=e);Q!==e?K=t.substring(K,a):K=Q,K!==e?(se=u,d=or(d,y,$,A,K),u=d):(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 Wa(){var u,d,y,$,_;if(u=a,d=a,vn.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&I(ct)),y!==e){if($=[],tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(xr)),_!==e)for(;_!==e;)$.push(_),tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&I(xr));else $=e;$!==e?(y=[y,$],d=y):(a=d,d=e)}else a=d,d=e;return d!==e?u=t.substring(u,a):u=d,u}function H0(){var u,d;for(p++,u=[],Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(Gi));d!==e;)u.push(d),Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(Gi));return p--,u===e&&(d=e,p===0&&I(Ba)),u}function G0(){var u,d;for(p++,u=[],Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(Gi));d!==e;)u.push(d),Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&I(Gi));return p--,u===e&&(d=e,p===0&&I(Ma)),u}function Es(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function Ph(u){return u===u.toUpperCase()}function Zi(u){return u.reduce((d,y)=>Array.isArray(y)?d.concat(Zi(y)):d.concat(y),[])}function Fh(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","table","toc"].includes(u)||Ph(u)||u.match(/^(head|item)\d+$/)||Es(u)}function Th(u,d){return u.length==0?d:d.indexOf(u)==0?d.replace(u,""):d.replace(/^\s+/,"")}if(S=o(),S!==e&&a===t.length)return S;throw S!==e&&a<t.length&&I(F()),Rf(m,_r<t.length?t.charAt(_r):null,_r<t.length?M(_r,_r+1):M(_r,_r))}vd.exports={SyntaxError:Si,parse:Kw}});var Ed=he((pC,Ad)=>{"use strict";function Jw(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)}Jw(Pi,Error);Pi.buildMessage=function(t,r){var e={literal:function(g){return'"'+o(g.text)+'"'},class:function(g){var h="",w;for(w=0;w<g.parts.length;w++)h+=g.parts[w]instanceof Array?s(g.parts[w][0])+"-"+s(g.parts[w][1]):s(g.parts[w]);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),w,E;for(w=0;w<g.length;w++)h[w]=l(g[w]);if(h.sort(),h.length>0){for(w=1,E=1;w<h.length;w++)h[w-1]!==h[w]&&(h[E]=h[w],E++);h.length=E}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 Zw(t,r){r=r!==void 0?r:{};var e={},n={Expression:ui},o=ui,s="A",l=je("A",!1),f="V",c=je("V",!1),g="R",h=je("R",!1),w="B",E=je("B",!1),C="I",x=je("I",!1),O="C",R=je("C",!1),j="D",Y=je("D",!1),ae="E",$e=je("E",!1),ge="H",oe=je("H",!1),be="J",Ae=je("J",!1),ke="K",He=je("K",!1),Pe="L",Fe=je("L",!1),me="O",Ee=je("O",!1),rt="S",ee=je("S",!1),xt="T",Qe=je("T",!1),$t="F",nt=je("F",!1),V="U",H=je("U",!1),Ut="Z",Nt=je("Z",!1),Ct="N",Pt=je("N",!1),At="X",lt=je("X",!1),qr=/^[a-zA-Z]/,Lt=gr([["a","z"],["A","Z"]],!1,!1),mr=/^[a-zA-Z0-9_\-]/,tr=gr([["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),xr=/^[ \t\f]/,Ht=gr([" "," ","\f"],!1,!1),oi=function(m){return!(r.allowed||[]).length||(r.allowed||[]).includes(m)},xe=Gn(),Fn=function(m){return{content:m.content,type:"fcode",name:m.name,synonyms:m.items}},Tn=function(m){return{content:m.content,type:"fcode",name:m.name,entry:m.items}},Ne="<",Se=je("<",!1),Ze=">",bt=je(">",!1),hr=function(){return bn()},qe="\xAB",Re=je("\xAB",!1),mt="\xBB",it=je("\xBB",!1),ie=function(m){return m},fe=function(m){return m.code==="C"},we=function(m,p){return p===m.end_tag},Ce=function(m,p){return p},Dt=function(m,p,S){return S===m.end_tag},nn=function(m,p,S){return{content:p,type:"fcode",name:m.code}},ot="|",wt=je("|",!1),Ft=function(m){return m},on=function(m){return m.code==="L"},ht=function(m,p,S){return S},In=function(m,p,S,b){return b===m.end_tag},Gt=function(m,p,S,b){return{content:p,type:"fcode",name:m.code,meta:S}},yn=";",Mn=je(";",!1),Ur=/^[ \xA0\u2001\t\f\u2008]/,si=gr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),ai=function(m,p){return Nn([m,p])},Li=function(m){return[m]},zn=/^[0-9]/,li=gr([["0","9"]],!1,!1),Vn="0d",Un=je("0d",!1),bo=function(m){return parseInt(m,10)},On="0o",U=je("0o",!1),N=function(m){return parseInt(m,8)},J="0b",te=je("0b",!1),ne=function(m){return parseInt(m,2)},de="0x",_e=je("0x",!1),Le=/^[0-9A-Fa-f]/,Ge=gr([["0","9"],["A","F"],["a","f"]],!1,!1),yt=function(){return parseInt(bn())},Te=/^[A-Z ]/,st=gr([["A","Z"]," "],!1,!1),kt=function(){return bn()===bn().toUpperCase()},ut=/^[a-z]/,ze=gr([["a","z"]],!1,!1),ft=/^[a-z0-9]/,Xe=gr([["a","z"],["0","9"]],!1,!1),Hr=function(m){return bn()},Kt=function(m){return{type:"number",value:parseInt(m,10)}},rr=function(m){return{type:"unicode_name",value:m}},Ye=function(m){return{type:"html_named",value:m}},jt=function(m){return m==="E"},nr=function(m,p){return Nn(p)},Cr=function(m,p){return{content:p||[],type:"fcode",name:m}},Gr=function(m){return m},Ar=function(m,p){return{code:m,begin_tag:p,end_tag:_r(p)}},$n=function(m){return m.code!=="C"},qn=function(m,p,S){return S===m.end_tag},Rn=function(m,p,S){return{content:p,type:"fcode",name:m.code}},ir=function(m){return!(r.allowed||[]).length||(r.allowed||[]).includes(m)},Er=function(m,p,S,b){return b===_r(p)},Wt=function(m,p,S,b){return{content:S,type:"fcode",name:m}},sn=function(m,p,S,b){return Nn(b)},Hn=function(m,p,S,b,k){return k===_r(p)},Kr=function(m,p,S,b,k){return{name:m,content:S,items:b}},i=0,ue=0,Wr=[{line:1,column:1}],Bt=0,Rr=[],v=0,Nr;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 bn(){return t.substring(ue,i)}function wo(){return Dr(ue,i)}function hs(m,p){throw p=p!==void 0?p:Dr(ue,i),Bi([ko(m)],t.substring(ue,i),p)}function Jr(m,p){throw p=p!==void 0?p:Dr(ue,i),ji(m,p)}function je(m,p){return{type:"literal",text:m,ignoreCase:p}}function gr(m,p,S){return{type:"class",parts:m,inverted:p,ignoreCase:S}}function Gn(){return{type:"any"}}function an(){return{type:"end"}}function ko(m){return{type:"other",description:m}}function Zr(m){var p=Wr[m],S;if(p)return p;for(S=m-1;!Wr[S];)S--;for(p=Wr[S],p={line:p.line,column:p.column};S<m;)t.charCodeAt(S)===10?(p.line++,p.column=1):p.column++,S++;return Wr[m]=p,p}function Dr(m,p){var S=Zr(m),b=Zr(p);return{start:{offset:m,line:S.line,column:S.column},end:{offset:p,line:b.line,column:b.column}}}function W(m){i<Bt||(i>Bt&&(Bt=i,Rr=[]),Rr.push(m))}function ji(m,p){return new Pi(m,null,null,p)}function Bi(m,p,S){return new Pi(Pi.buildMessage(m,p),m,p,S)}function ui(){var m,p;for(m=[],p=fi(),p===e&&(p=Ui(),p===e&&(p=or(),p===e&&(p=vo())));p!==e;)m.push(p),p=fi(),p===e&&(p=Ui(),p===e&&(p=or(),p===e&&(p=vo())));return m}function fi(){var m;return m=Ba(),m===e&&(m=Gi(),m===e&&(m=Wn(),m===e&&(m=$s(),m===e&&(m=ja(),m===e&&(m=Hi(),m===e&&(m=qa(),m===e&&(m=Oa(),m===e&&(m=Ma())))))))),m}function gs(){var m;return t.charCodeAt(i)===65?(m=s,i++):(m=e,v===0&&W(l)),m===e&&(t.charCodeAt(i)===86?(m=f,i++):(m=e,v===0&&W(c)),m===e&&(t.charCodeAt(i)===82?(m=g,i++):(m=e,v===0&&W(h)),m===e&&(t.charCodeAt(i)===66?(m=w,i++):(m=e,v===0&&W(E)),m===e&&(t.charCodeAt(i)===73?(m=C,i++):(m=e,v===0&&W(x)),m===e&&(t.charCodeAt(i)===67?(m=O,i++):(m=e,v===0&&W(R)),m===e&&(t.charCodeAt(i)===68?(m=j,i++):(m=e,v===0&&W(Y)),m===e&&(t.charCodeAt(i)===69?(m=ae,i++):(m=e,v===0&&W($e)),m===e&&(t.charCodeAt(i)===72?(m=ge,i++):(m=e,v===0&&W(oe)),m===e&&(t.charCodeAt(i)===74?(m=be,i++):(m=e,v===0&&W(Ae)),m===e&&(t.charCodeAt(i)===75?(m=ke,i++):(m=e,v===0&&W(He)),m===e&&(t.charCodeAt(i)===76?(m=Pe,i++):(m=e,v===0&&W(Fe)),m===e&&(t.charCodeAt(i)===79?(m=me,i++):(m=e,v===0&&W(Ee)),m===e&&(t.charCodeAt(i)===83?(m=rt,i++):(m=e,v===0&&W(ee)),m===e&&(t.charCodeAt(i)===84?(m=xt,i++):(m=e,v===0&&W(Qe)),m===e&&(t.charCodeAt(i)===70?(m=$t,i++):(m=e,v===0&&W(nt)),m===e&&(t.charCodeAt(i)===85?(m=V,i++):(m=e,v===0&&W(H)),m===e&&(t.charCodeAt(i)===90?(m=Ut,i++):(m=e,v===0&&W(Nt)),m===e&&(t.charCodeAt(i)===78?(m=Ct,i++):(m=e,v===0&&W(Pt)),m===e&&(t.charCodeAt(i)===88?(m=At,i++):(m=e,v===0&&W(lt))))))))))))))))))))),m}function Fa(){var m,p,S,b,k;if(m=i,p=i,qr.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,v===0&&W(Lt)),S!==e){if(b=[],mr.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,v===0&&W(tr)),k!==e)for(;k!==e;)b.push(k),mr.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,v===0&&W(tr));else b=e;b!==e?(S=[S,b],p=S):(i=p,p=e)}else i=p,p=e;return p!==e?m=t.substring(m,i):m=p,m}function Mi(){var m,p;for(m=[],xr.test(t.charAt(i))?(p=t.charAt(i),i++):(p=e,v===0&&W(Ht));p!==e;)m.push(p),xr.test(t.charAt(i))?(p=t.charAt(i),i++):(p=e,v===0&&W(Ht));return m}function ln(){var m,p,S;return m=i,p=gs(),p!==e?(ue=i,S=oi(p),S?S=void 0:S=e,S!==e?(p=[p,S],m=p):(i=m,m=e)):(i=m,m=e),m}function vo(){var m,p;return m=i,t.length>i?(p=t.charAt(i),i++):(p=e,v===0&&W(xe)),p!==e?m=t.substring(m,i):m=p,m}function xo(){var m,p,S,b,k;for(m=i,p=[],S=i,b=i,v++,k=De(),v--,k===e?b=void 0:(i=b,b=e),b!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,v===0&&W(xe)),k!==e?(b=[b,k],S=b):(i=S,S=e)):(i=S,S=e);S!==e;)p.push(S),S=i,b=i,v++,k=De(),v--,k===e?b=void 0:(i=b,b=e),b!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,v===0&&W(xe)),k!==e?(b=[b,k],S=b):(i=S,S=e)):(i=S,S=e);return p!==e?m=t.substring(m,i):m=p,m}function Ta(){var m,p,S;if(m=i,p=[],S=Jt(),S!==e)for(;S!==e;)p.push(S),S=Jt();else p=e;return p!==e?m=t.substring(m,i):m=p,m}function Ia(){var m,p;if(m=[],p=Lr(),p!==e)for(;p!==e;)m.push(p),p=Lr();else m=e;return m}function ys(){var m,p;for(m=[],p=Lr();p!==e;)m.push(p),p=Lr();return m}function $s(){var m,p;return m=i,p=a(),p!==e&&(ue=m,p=Fn(p)),m=p,m}function Oa(){var m,p;return m=i,p=se(),p!==e&&(ue=m,p=Tn(p)),m=p,m}function bs(){var m;return t.charCodeAt(i)===66?(m=w,i++):(m=e,v===0&&W(E)),m}function Kn(){var m,p,S,b,k;return m=i,p=i,S=i,v++,b=bs(),v--,b===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(b=t.charAt(i),i++):(b=e,v===0&&W(xe)),b!==e?(S=[S,b],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===60?(S=Ne,i++):(S=e,v===0&&W(Se)),S!==e?(b=vn(),b!==e?(t.charCodeAt(i)===62?(k=Ze,i++):(k=e,v===0&&W(bt)),k!==e?(ue=m,p=hr(),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,p=i,S=i,v++,b=bs(),v--,b===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(b=t.charAt(i),i++):(b=e,v===0&&W(xe)),b!==e?(S=[S,b],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===171?(S=qe,i++):(S=e,v===0&&W(Re)),S!==e?(b=vn(),b!==e?(t.charCodeAt(i)===187?(k=mt,i++):(k=e,v===0&&W(it)),k!==e?(ue=m,p=hr(),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)),m}function Jt(){var m,p,S,b,k,q,z,P;if(m=i,p=i,S=[],b=i,k=i,q=i,v++,t.charCodeAt(i)===60?(z=Ne,i++):(z=e,v===0&&W(Se)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,v===0&&W(xe)),z!==e?(q=[q,z],k=q):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===60?(q=Ne,i++):(q=e,v===0&&W(Se)),q!==e?(z=Jt(),z===e&&(z=null),z!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,v===0&&W(bt)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,k=i,q=i,v++,t.charCodeAt(i)===171?(z=qe,i++):(z=e,v===0&&W(Re)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,v===0&&W(xe)),z!==e?(q=[q,z],k=q):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===171?(q=qe,i++):(q=e,v===0&&W(Re)),q!==e?(z=Jt(),z===e&&(z=null),z!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,v===0&&W(it)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=Kn(),b===e&&(b=vn()))),b!==e)for(;b!==e;)S.push(b),b=i,k=i,q=i,v++,t.charCodeAt(i)===60?(z=Ne,i++):(z=e,v===0&&W(Se)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,v===0&&W(xe)),z!==e?(q=[q,z],k=q):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===60?(q=Ne,i++):(q=e,v===0&&W(Se)),q!==e?(z=Jt(),z===e&&(z=null),z!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,v===0&&W(bt)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,k=i,q=i,v++,t.charCodeAt(i)===171?(z=qe,i++):(z=e,v===0&&W(Re)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(t.length>i?(z=t.charAt(i),i++):(z=e,v===0&&W(xe)),z!==e?(q=[q,z],k=q):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===171?(q=qe,i++):(q=e,v===0&&W(Re)),q!==e?(z=Jt(),z===e&&(z=null),z!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,v===0&&W(it)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=Kn(),b===e&&(b=vn())));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=ie(p)),m=p,m}function Wn(){var m,p,S,b,k,q,z,P,D,Z,F,X,G,M,I;if(m=i,p=Et(),p!==e)if(ue=i,S=fe(p),S?S=void 0:S=e,S!==e){if(b=[],k=i,q=i,z=[],P=i,D=i,Z=i,v++,t.charCodeAt(i)===60?(F=Ne,i++):(F=e,v===0&&W(Se)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(Z=Ne,i++):(Z=e,v===0&&W(Se)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,v===0&&W(bt)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,D=i,Z=i,v++,t.charCodeAt(i)===171?(F=qe,i++):(F=e,v===0&&W(Re)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=qe,i++):(Z=e,v===0&&W(Re)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,v===0&&W(it)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Kn(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}if(P!==e){for(;P!==e;)if(z.push(P),P=i,D=i,Z=i,v++,t.charCodeAt(i)===60?(F=Ne,i++):(F=e,v===0&&W(Se)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(Z=Ne,i++):(Z=e,v===0&&W(Se)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,v===0&&W(bt)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,D=i,Z=i,v++,t.charCodeAt(i)===171?(F=qe,i++):(F=e,v===0&&W(Re)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=qe,i++):(Z=e,v===0&&W(Re)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,v===0&&W(it)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Kn(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}}else z=e;if(z!==e?q=t.substring(q,i):q=z,q!==e&&(ue=k,q=Ce(p,q)),k=q,k!==e)for(;k!==e;){if(b.push(k),k=i,q=i,z=[],P=i,D=i,Z=i,v++,t.charCodeAt(i)===60?(F=Ne,i++):(F=e,v===0&&W(Se)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(Z=Ne,i++):(Z=e,v===0&&W(Se)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,v===0&&W(bt)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,D=i,Z=i,v++,t.charCodeAt(i)===171?(F=qe,i++):(F=e,v===0&&W(Re)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=qe,i++):(Z=e,v===0&&W(Re)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,v===0&&W(it)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Kn(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}if(P!==e){for(;P!==e;)if(z.push(P),P=i,D=i,Z=i,v++,t.charCodeAt(i)===60?(F=Ne,i++):(F=e,v===0&&W(Se)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===60?(Z=Ne,i++):(Z=e,v===0&&W(Se)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,v===0&&W(bt)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,D=i,Z=i,v++,t.charCodeAt(i)===171?(F=qe,i++):(F=e,v===0&&W(Re)),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=qe,i++):(Z=e,v===0&&W(Re)),Z!==e?(F=Jt(),F===e&&(F=null),F!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,v===0&&W(it)),X!==e?(D=[D,Z,F,X],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=Kn(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}}else z=e;z!==e?q=t.substring(q,i):q=z,q!==e&&(ue=k,q=Ce(p,q)),k=q}else b=e;b!==e?(k=De(),k!==e?(ue=i,q=Dt(p,b,k),q?q=void 0:q=e,q!==e?(ue=m,p=nn(p,b,k),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)}else i=m,m=e;else i=m,m=e;return m}function wn(){var m;return t.charCodeAt(i)===124?(m=ot,i++):(m=e,v===0&&W(wt)),m}function Lr(){var m,p,S,b,k,q,z,P,D;if(m=i,p=i,S=[],b=i,k=i,q=i,v++,t.charCodeAt(i)===60?(z=Ne,i++):(z=e,v===0&&W(Se)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=ln(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(xe)),P!==e?(q=[q,z,P],k=q):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===60?(q=Ne,i++):(q=e,v===0&&W(Se)),q!==e?(z=Lr(),z!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,v===0&&W(bt)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,k=i,q=i,v++,t.charCodeAt(i)===171?(z=qe,i++):(z=e,v===0&&W(Re)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=ln(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(xe)),P!==e?(q=[q,z,P],k=q):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===171?(q=qe,i++):(q=e,v===0&&W(Re)),q!==e?(z=Lr(),z===e&&(z=null),z!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,v===0&&W(it)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,k=i,v++,q=wn(),v--,q===e?k=void 0:(i=k,k=e),k!==e?(q=i,v++,z=De(),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=Ao(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(P=i,v++,D=ct(),v--,D===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(D=t.charAt(i),i++):(D=e,v===0&&W(xe)),D!==e?(k=[k,q,z,P,D],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e))),b!==e)for(;b!==e;)S.push(b),b=i,k=i,q=i,v++,t.charCodeAt(i)===60?(z=Ne,i++):(z=e,v===0&&W(Se)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=ln(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(xe)),P!==e?(q=[q,z,P],k=q):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===60?(q=Ne,i++):(q=e,v===0&&W(Se)),q!==e?(z=Lr(),z!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,v===0&&W(bt)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,k=i,q=i,v++,t.charCodeAt(i)===171?(z=qe,i++):(z=e,v===0&&W(Re)),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=ln(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(xe)),P!==e?(q=[q,z,P],k=q):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===171?(q=qe,i++):(q=e,v===0&&W(Re)),q!==e?(z=Lr(),z===e&&(z=null),z!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,v===0&&W(it)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,k=i,v++,q=wn(),v--,q===e?k=void 0:(i=k,k=e),k!==e?(q=i,v++,z=De(),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=Ao(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(P=i,v++,D=ct(),v--,D===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(D=t.charAt(i),i++):(D=e,v===0&&W(xe)),D!==e?(k=[k,q,z,P,D],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=Ft(p)),m=p,m}function qa(){var m,p,S,b,k,q,z,P,D,Z,F;if(m=i,p=Et(),p!==e)if(ue=i,S=on(p),S?S=void 0:S=e,S!==e){if(b=[],k=Wn(),k===e&&(k=Lr()),k!==e)for(;k!==e;)b.push(k),k=Wn(),k===e&&(k=Lr());else b=e;if(b!==e){if(k=i,q=wn(),q!==e){for(z=i,P=[],D=i,Z=i,v++,F=De(),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e);D!==e;)P.push(D),D=i,Z=i,v++,F=De(),v--,F===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(F=t.charAt(i),i++):(F=e,v===0&&W(xe)),F!==e?(Z=[Z,F],D=Z):(i=D,D=e)):(i=D,D=e);P!==e?z=t.substring(z,i):z=P,z!==e?(ue=k,q=ht(p,b,z),k=q):(i=k,k=e)}else i=k,k=e;k===e&&(k=null),k!==e?(q=De(),q!==e?(ue=i,z=In(p,b,k,q),z?z=void 0:z=e,z!==e?(ue=m,p=Gt(p,b,k,q),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)}else i=m,m=e}else i=m,m=e;else i=m,m=e;return m}function ws(){var m,p,S,b,k,q;if(m=i,p=[],S=i,b=i,v++,t.charCodeAt(i)===59?(k=yn,i++):(k=e,v===0&&W(Mn)),v--,k===e?b=void 0:(i=b,b=e),b!==e?(k=i,v++,q=De(),v--,q===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(q=t.charAt(i),i++):(q=e,v===0&&W(xe)),q!==e?(b=[b,k,q],S=b):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)p.push(S),S=i,b=i,v++,t.charCodeAt(i)===59?(k=yn,i++):(k=e,v===0&&W(Mn)),v--,k===e?b=void 0:(i=b,b=e),b!==e?(k=i,v++,q=De(),v--,q===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(q=t.charAt(i),i++):(q=e,v===0&&W(xe)),q!==e?(b=[b,k,q],S=b):(i=S,S=e)):(i=S,S=e)):(i=S,S=e);else p=e;return p!==e?m=t.substring(m,i):m=p,m}function kn(){var m;return Ur.test(t.charAt(i))?(m=t.charAt(i),i++):(m=e,v===0&&W(si)),m}function ci(){var m,p,S,b,k,q;if(m=i,p=ws(),p!==e){for(S=[],b=kn();b!==e;)S.push(b),b=kn();if(S!==e)if(t.charCodeAt(i)===59?(b=yn,i++):(b=e,v===0&&W(Mn)),b!==e){for(k=[],q=kn();q!==e;)k.push(q),q=kn();k!==e?(q=ci(),q!==e?(ue=m,p=ai(p,q),m=p):(i=m,m=e)):(i=m,m=e)}else i=m,m=e;else i=m,m=e}else i=m,m=e;return m===e&&(m=i,p=ws(),p!==e&&(ue=m,p=Li(p)),m=p),m}function zi(){var m,p,S;if(m=i,p=[],zn.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,v===0&&W(li)),S!==e)for(;S!==e;)p.push(S),zn.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,v===0&&W(li));else p=e;return p!==e?m=t.substring(m,i):m=p,m}function Ra(){var m,p,S;return m=i,t.substr(i,2)===Vn?(p=Vn,i+=2):(p=e,v===0&&W(Un)),p!==e?(S=zi(),S!==e?(ue=m,p=bo(S),m=p):(i=m,m=e)):(i=m,m=e),m}function Vi(){var m,p,S;return m=i,t.substr(i,2)===On?(p=On,i+=2):(p=e,v===0&&W(U)),p!==e?(S=zi(),S!==e?(ue=m,p=N(S),m=p):(i=m,m=e)):(i=m,m=e),m}function ks(){var m,p,S;return m=i,t.substr(i,2)===J?(p=J,i+=2):(p=e,v===0&&W(te)),p!==e?(S=zi(),S!==e?(ue=m,p=ne(S),m=p):(i=m,m=e)):(i=m,m=e),m}function Na(){var m,p,S,b,k,q;if(m=i,p=i,S=i,t.substr(i,2)===de?(b=de,i+=2):(b=e,v===0&&W(_e)),b!==e){if(k=[],Le.test(t.charAt(i))?(q=t.charAt(i),i++):(q=e,v===0&&W(Ge)),q!==e)for(;q!==e;)k.push(q),Le.test(t.charAt(i))?(q=t.charAt(i),i++):(q=e,v===0&&W(Ge));else k=e;k!==e?(b=[b,k],S=b):(i=S,S=e)}else i=S,S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=yt()),m=p,m}function Da(){var m,p,S,b;if(m=i,p=i,S=[],Te.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,v===0&&W(st)),b!==e)for(;b!==e;)S.push(b),Te.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,v===0&&W(st));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e?(ue=i,S=kt(),S?S=void 0:S=e,S!==e?(ue=m,p=hr(),m=p):(i=m,m=e)):(i=m,m=e),m}function La(){var m,p,S,b,k,q;if(m=i,p=i,S=i,ut.test(t.charAt(i))?(b=t.charAt(i),i++):(b=e,v===0&&W(ze)),b!==e){if(k=[],ft.test(t.charAt(i))?(q=t.charAt(i),i++):(q=e,v===0&&W(Xe)),q!==e)for(;q!==e;)k.push(q),ft.test(t.charAt(i))?(q=t.charAt(i),i++):(q=e,v===0&&W(Xe));else k=e;k!==e?(b=[b,k],S=b):(i=S,S=e)}else i=S,S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=Hr(p)),m=p,m}function Co(){var m,p,S;return m=i,p=Mi(),p!==e?(S=Vi(),S===e&&(S=Ra(),S===e&&(S=ks(),S===e&&(S=Na(),S===e&&(S=zi())))),S!==e?(ue=m,p=Kt(S),m=p):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,p=Mi(),p!==e?(S=Da(),S!==e?(ue=m,p=rr(S),m=p):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,p=Mi(),p!==e?(S=La(),S!==e?(ue=m,p=Ye(S),m=p):(i=m,m=e)):(i=m,m=e))),m}function vs(){var m,p,S,b,k,q;if(m=i,p=Co(),p!==e){for(S=[],b=kn();b!==e;)S.push(b),b=kn();if(S!==e)if(t.charCodeAt(i)===59?(b=yn,i++):(b=e,v===0&&W(Mn)),b!==e){for(k=[],q=kn();q!==e;)k.push(q),q=kn();k!==e?(q=vs(),q!==e?(ue=m,p=ai(p,q),m=p):(i=m,m=e)):(i=m,m=e)}else i=m,m=e;else i=m,m=e}else i=m,m=e;return m===e&&(m=i,p=Co(),p!==e&&(ue=m,p=Li(p)),m=p),m}function ja(){var m,p,S,b,k;return m=i,p=Ao(),p!==e?(ue=i,S=jt(p),S?S=void 0:S=e,S!==e?(b=i,k=vs(),k!==e&&(ue=b,k=nr(p,k)),b=k,b===e&&(b=null),b!==e?(k=De(),k!==e?(ue=m,p=Cr(p,b),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m}function Ao(){var m,p,S;return m=i,p=i,S=ln(),S!==e?p=t.substring(p,i):p=S,p!==e?(t.charCodeAt(i)===60?(S=Ne,i++):(S=e,v===0&&W(Se)),S!==e?(ue=m,p=Gr(p),m=p):(i=m,m=e)):(i=m,m=e),m}function Et(){var m,p,S,b;return m=i,p=i,S=ln(),S!==e?p=t.substring(p,i):p=S,p!==e?(S=i,t.charCodeAt(i)===60?(b=Ne,i++):(b=e,v===0&&W(Se)),b===e&&(t.charCodeAt(i)===171?(b=qe,i++):(b=e,v===0&&W(Re))),b!==e?S=t.substring(S,i):S=b,S!==e?(ue=m,p=Ar(p,S),m=p):(i=m,m=e)):(i=m,m=e),m}function De(){var m;return t.charCodeAt(i)===62?(m=Ze,i++):(m=e,v===0&&W(bt)),m===e&&(t.charCodeAt(i)===187?(m=mt,i++):(m=e,v===0&&W(it))),m}function Ui(){var m,p,S,b,k,q,z,P,D,Z,F,X,G,M,I;if(m=i,p=Et(),p!==e)if(ue=i,S=$n(p),S?S=void 0:S=e,S!==e){if(b=[],k=fi(),k===e&&(k=Ui(),k===e)){if(k=i,q=i,z=[],P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,v===0&&W(Se)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===62?(F=Ze,i++):(F=e,v===0&&W(bt)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(Re)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===187?(F=mt,i++):(F=e,v===0&&W(it)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ct(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}if(P!==e){for(;P!==e;)if(z.push(P),P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,v===0&&W(Se)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===62?(F=Ze,i++):(F=e,v===0&&W(bt)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(Re)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===187?(F=mt,i++):(F=e,v===0&&W(it)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ct(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}}else z=e;z!==e?q=t.substring(q,i):q=z,q!==e&&(ue=k,q=Ce(p,q)),k=q}for(;k!==e;)if(b.push(k),k=fi(),k===e&&(k=Ui(),k===e)){if(k=i,q=i,z=[],P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,v===0&&W(Se)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===62?(F=Ze,i++):(F=e,v===0&&W(bt)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(Re)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===187?(F=mt,i++):(F=e,v===0&&W(it)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ct(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}if(P!==e){for(;P!==e;)if(z.push(P),P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,v===0&&W(Se)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===62?(F=Ze,i++):(F=e,v===0&&W(bt)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=qe,i++):(D=e,v===0&&W(Re)),D!==e?(Z=or(),Z!==e?(t.charCodeAt(i)===187?(F=mt,i++):(F=e,v===0&&W(it)),F!==e?(D=[D,Z,F],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=ct(),P===e))){if(P=i,D=i,Z=[],F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e),F!==e)for(;F!==e;)Z.push(F),F=i,X=i,v++,G=i,M=De(),M!==e?(ue=i,I=we(p,M),I?I=void 0:I=e,I!==e?(M=[M,I],G=M):(i=G,G=e)):(i=G,G=e),v--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,v++,M=Et(),v--,M===e?G=void 0:(i=G,G=e),G!==e?(M=i,v++,I=ct(),v--,I===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(I=t.charAt(i),i++):(I=e,v===0&&W(xe)),I!==e?(X=[X,G,M,I],F=X):(i=F,F=e)):(i=F,F=e)):(i=F,F=e)):(i=F,F=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ce(p,D)),P=D}}else z=e;z!==e?q=t.substring(q,i):q=z,q!==e&&(ue=k,q=Ce(p,q)),k=q}b!==e?(k=De(),k!==e?(ue=i,q=qn(p,b,k),q?q=void 0:q=e,q!==e?(ue=m,p=Rn(p,b,k),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)}else i=m,m=e;else i=m,m=e;return m}function qf(){var m,p,S,b,k;for(m=i,p=[],S=i,b=i,v++,k=De(),v--,k===e?b=void 0:(i=b,b=e),b!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,v===0&&W(xe)),k!==e?(b=[b,k],S=b):(i=S,S=e)):(i=S,S=e);S!==e;)p.push(S),S=i,b=i,v++,k=De(),v--,k===e?b=void 0:(i=b,b=e),b!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,v===0&&W(xe)),k!==e?(b=[b,k],S=b):(i=S,S=e)):(i=S,S=e);return p!==e?m=t.substring(m,i):m=p,m}function or(){var m,p,S,b,k,q,z;if(m=i,p=i,S=[],b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k!==e?(q=or(),q!==e?(t.charCodeAt(i)===62?(z=Ze,i++):(z=e,v===0&&W(bt)),z!==e?(k=[k,q,z],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re)),k!==e?(q=or(),q!==e?(t.charCodeAt(i)===187?(z=mt,i++):(z=e,v===0&&W(it)),z!==e?(k=[k,q,z],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=ct(),b===e&&(b=vn()))),b!==e)for(;b!==e;)S.push(b),b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k!==e?(q=or(),q!==e?(t.charCodeAt(i)===62?(z=Ze,i++):(z=e,v===0&&W(bt)),z!==e?(k=[k,q,z],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=i,t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re)),k!==e?(q=or(),q!==e?(t.charCodeAt(i)===187?(z=mt,i++):(z=e,v===0&&W(it)),z!==e?(k=[k,q,z],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b===e&&(b=ct(),b===e&&(b=vn())));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=ie(p)),m=p,m}function vn(){var m,p,S,b,k,q,z,P;if(m=i,p=i,S=[],b=i,k=i,v++,q=De(),v--,q===e?k=void 0:(i=k,k=e),k!==e?(q=i,v++,z=Et(),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=ct(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(xe)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e),b!==e)for(;b!==e;)S.push(b),b=i,k=i,v++,q=De(),v--,q===e?k=void 0:(i=k,k=e),k!==e?(q=i,v++,z=Et(),v--,z===e?q=void 0:(i=q,q=e),q!==e?(z=i,v++,P=ct(),v--,P===e?z=void 0:(i=z,z=e),z!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,v===0&&W(xe)),P!==e?(k=[k,q,z,P],b=k):(i=b,b=e)):(i=b,b=e)):(i=b,b=e)):(i=b,b=e);else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=ie(p)),m=p,m}function ct(){var m,p,S,b,k;return m=i,p=i,S=i,v++,b=ln(),v--,b===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(b=t.charAt(i),i++):(b=e,v===0&&W(xe)),b!==e?(S=[S,b],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===60?(S=Ne,i++):(S=e,v===0&&W(Se)),S!==e?(b=vn(),b!==e?(t.charCodeAt(i)===62?(k=Ze,i++):(k=e,v===0&&W(bt)),k!==e?(ue=m,p=hr(),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,p=i,S=i,v++,b=ln(),v--,b===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(b=t.charAt(i),i++):(b=e,v===0&&W(xe)),b!==e?(S=[S,b],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===171?(S=qe,i++):(S=e,v===0&&W(Re)),S!==e?(b=vn(),b!==e?(t.charCodeAt(i)===187?(k=mt,i++):(k=e,v===0&&W(it)),k!==e?(ue=m,p=hr(),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)),m}function Ba(){var m,p,S,b,k,q,z;return m=i,p=i,t.charCodeAt(i)===65?(S=s,i++):(S=e,v===0&&W(l)),S!==e?p=t.substring(p,i):p=S,p!==e?(ue=i,S=ir(p),S?S=void 0:S=e,S!==e?(b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k===e&&(t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re))),k!==e?b=t.substring(b,i):b=k,b!==e?(k=Lr(),k!==e?(q=De(),q!==e?(ue=i,z=Er(p,b,k,q),z?z=void 0:z=e,z!==e?(ue=m,p=Wt(p,b,k,q),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m}function Hi(){var m,p,S,b,k,q,z;return m=i,p=i,t.charCodeAt(i)===86?(S=f,i++):(S=e,v===0&&W(c)),S!==e?p=t.substring(p,i):p=S,p!==e?(ue=i,S=ir(p),S?S=void 0:S=e,S!==e?(b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k===e&&(t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re))),k!==e?b=t.substring(b,i):b=k,b!==e?(k=Ta(),k!==e?(q=De(),q!==e?(ue=i,z=Er(p,b,k,q),z?z=void 0:z=e,z!==e?(ue=m,p=Wt(p,b,k,q),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m}function Gi(){var m,p,S,b,k,q,z;return m=i,p=i,t.charCodeAt(i)===83?(S=rt,i++):(S=e,v===0&&W(ee)),S!==e?p=t.substring(p,i):p=S,p!==e?(ue=i,S=ir(p),S?S=void 0:S=e,S!==e?(b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k===e&&(t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re))),k!==e?b=t.substring(b,i):b=k,b!==e?(k=xo(),k!==e?(q=De(),q!==e?(ue=i,z=Er(p,b,k,q),z?z=void 0:z=e,z!==e?(ue=m,p=Wt(p,b,k,q),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m}function Ma(){var m,p,S,b,k,q,z;return m=i,p=i,t.charCodeAt(i)===90?(S=Ut,i++):(S=e,v===0&&W(Nt)),S!==e?p=t.substring(p,i):p=S,p!==e?(ue=i,S=ir(p),S?S=void 0:S=e,S!==e?(b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k===e&&(t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re))),k!==e?b=t.substring(b,i):b=k,b!==e?(k=xo(),k!==e?(q=De(),q!==e?(ue=i,z=Er(p,b,k,q),z?z=void 0:z=e,z!==e?(ue=m,p=Wt(p,b,k,q),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m}function a(){var m,p,S,b,k,q,z,P,D;if(m=i,p=i,t.charCodeAt(i)===68?(S=j,i++):(S=e,v===0&&W(Y)),S!==e?p=t.substring(p,i):p=S,p!==e)if(ue=i,S=ir(p),S?S=void 0:S=e,S!==e)if(b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k===e&&(t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re))),k!==e?b=t.substring(b,i):b=k,b!==e)if(k=Ia(),k!==e){if(q=i,z=wn(),z!==e){for(P=[],D=ci();D!==e;)P.push(D),D=ci();P!==e?(ue=q,z=sn(p,b,k,P),q=z):(i=q,q=e)}else i=q,q=e;q===e&&(q=null),q!==e?(z=De(),z!==e?(ue=i,P=Hn(p,b,k,q,z),P?P=void 0:P=e,P!==e?(ue=m,p=Kr(p,b,k,q,z),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)}else i=m,m=e;else i=m,m=e;else i=m,m=e;else i=m,m=e;return m}function se(){var m,p,S,b,k,q,z,P,D;if(m=i,p=i,t.charCodeAt(i)===88?(S=At,i++):(S=e,v===0&&W(lt)),S!==e?p=t.substring(p,i):p=S,p!==e)if(ue=i,S=ir(p),S?S=void 0:S=e,S!==e)if(b=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,v===0&&W(Se)),k===e&&(t.charCodeAt(i)===171?(k=qe,i++):(k=e,v===0&&W(Re))),k!==e?b=t.substring(b,i):b=k,b!==e)if(k=ys(),k!==e){if(q=i,z=wn(),z!==e){for(P=[],D=ci();D!==e;)P.push(D),D=ci();P!==e?(ue=q,z=sn(p,b,k,P),q=z):(i=q,q=e)}else i=q,q=e;q===e&&(q=null),q!==e?(z=De(),z!==e?(ue=i,P=Hn(p,b,k,q,z),P?P=void 0:P=e,P!==e?(ue=m,p=Kr(p,b,k,q,z),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)}else i=m,m=e;else i=m,m=e;else i=m,m=e;else i=m,m=e;return m}function Nn(m){return m.reduce((p,S)=>Array.isArray(S)?p.concat(Nn(S)):p.concat(S),[])}function _r(m){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[m]}if(Nr=o(),Nr!==e&&i===t.length)return Nr;throw Nr!==e&&i<t.length&&W(an()),Bi(Rr,Bt<t.length?t.charAt(Bt):null,Bt<t.length?Dr(Bt,Bt+1):Dr(Bt,Bt))}Ad.exports={SyntaxError:Pi,parse:Zw}});var qd=he((LC,tk)=>{tk.exports={name:"@podlite/schema",version:"0.0.38",description:"AST tools and schema for Podlite markup language \u2014 validate, traverse, and transform document trees",main:"./src/index.ts",homepage:"https://podlite.org",bugs:{url:"https://github.com/podlite/podlite/issues"},repository:{type:"git",url:"https://github.com/podlite/podlite.git",directory:"packages/podlite-schema"},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":"pegmill -o src/grammar.js src/grammar.pegjs && pegmill -o src/grammarfc.js src/grammarfc.pegjs",watch:"npx nodemon -e js,ts --exec 'yarn' build","watch:pegjs":"npx nodemon -e pegmill --exec 'yarn' build:pegjs",test:"yarn g:jest --passWithNoTests"},keywords:["podlite","schema","ast","syntax-tree","markup-language","transform","visitor","parser","markdown","tree"],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",pegmill:"0.1.2","ts-node":"^9.1.1",typescript:"4.5.5","typescript-json-schema":"0.53.0"}}});var Ld=he((wA,Dd)=>{Dd.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var Kd=he((kA,Gd)=>{"use strict";var fa=Object.prototype.hasOwnProperty,Hd=Object.prototype.toString,jd=Object.defineProperty,Bd=Object.getOwnPropertyDescriptor,Md=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Hd.call(r)==="[object Array]"},zd=function(r){if(!r||Hd.call(r)!=="[object Object]")return!1;var e=fa.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&fa.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!n)return!1;var o;for(o in r);return typeof o>"u"||fa.call(r,o)},Vd=function(r,e){jd&&e.name==="__proto__"?jd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},Ud=function(r,e){if(e==="__proto__")if(fa.call(r,e)){if(Bd)return Bd(r,e).value}else return;return r[e]};Gd.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=Ud(f,e),o=Ud(r,e),f!==o&&(h&&o&&(zd(o)||(s=Md(o)))?(s?(s=!1,l=n&&Md(n)?n:[]):l=n&&zd(n)?n:{},Vd(f,{name:e,newValue:t(h,l,o)})):typeof o<"u"&&Vd(f,{name:e,newValue:o}));return f}});var Zd=he((CA,Jd)=>{Jd.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var B0={};Hf(B0,{PluginRegister:()=>L0,default:()=>j0,parseMd:()=>Sa,plugin:()=>Pa});module.exports=Dh(B0);var Rd=Mr(Qp()),nk=Mr(td());var VC=Mr(od());var qw=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}},Ei=t=>{let r=qw(t),{name:e,type:n}=r;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:r};function Rw(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 _n=(t,r)=>{return e.rule=t,e.isFor=n,e.fn=r,e;function e(){}function n(o){return typeof o=="string"?!1:Rw(t,o)}},vu=(t,r)=>{if(t instanceof Array)return t.reduce((n,o)=>(n.push(...vu(o)),n),[]);if(t instanceof Object){let n=[];for(var e in t)t.hasOwnProperty(e)&&n.push(_n(Ei(e),t[e]));return n}return[_n(Ei(t),r)]};var xu=Mr(require("crypto"),1);var sd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Nw=128,_i,co,Dw=t=>{!_i||_i.length<t?(_i=Buffer.allocUnsafe(t*Nw),xu.default.randomFillSync(_i),co=0):co+t>_i.length&&(xu.default.randomFillSync(_i),co=0),co+=t};var ad=(t=21)=>{Dw(t);let r="";for(let e=co-t;e<co;e++)r+=sd[_i[e]&63];return r};var po=t=>({...t}),Cu=t=>{if(Array.isArray(t))return t.filter(r=>r);console.warn("[podlite-schema] filterNulls got not array as content")},br=(t,r)=>{let e="block",n=t.name,o={id:ad(),margin:"",...t};var s=po({type:e,...o,content:Cu(r)});return s};var oa=(t,r)=>po({type:"fcode",...t,content:r}),Au=(t,r)=>po({...t,type:"fcode",name:"L",content:Cu(r)}),ld=t=>po({type:"fcode",name:"O",content:Cu(t)}),ud=t=>po({type:"fcode",name:"F",content:[{type:"text",value:t}]}),rs=t=>po({type:"verbatim",value:t});var fd=t=>({type:"block",name:"caption",content:t}),cd=(t,r)=>({type:"image",src:t,alt:r}),Eu=({margin:t=""},r)=>br({name:"root",margin:t},r);var pd=({value:t,location:r})=>br({name:"formula",location:r},[rs(t)]);var dd=(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.getMapValue=l=>{let f=s.getFirstValue(l);return f&&typeof f=="object"&&!Array.isArray(f)?f:void 0},s.asHash=()=>o,s},er=dd;var md=(t,r)=>{let e=er(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function hd(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(hd(e)):r.concat(e),[]):t}function Lw(t){function r(e,n){if(e==null)return e;if(e instanceof Array)return hd(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,w=r)=>{if(f!==-1)l[f].fn(g,h,w,()=>{});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 aa=Lw;var Me=(t,r)=>(e,n)=>(o,s,l)=>{e.writeRaw(t),o.content&&l(o.content,s),e.writeRaw(r)},St=()=>()=>()=>{},wr=(t,r)=>(e,n,o)=>{if(e.content)return o(e.content,n)},Ir=t=>(r,e)=>(n,o,s)=>t(n,o)(r,e)(n,o,s);var la=(t,r)=>{let e=vu(t).reverse();return(n,o)=>{let s=e.map(c=>_n(c.rule,c.fn(n,o))).reverse(),l=r(n,o),f;return(c,g,h)=>(f||(f=aa([...h.rules,...s])),l(c,g,f))}},Or=(t,r)=>(e,n)=>{let o=t(e,n);return(s,l,f)=>{let c=er(s,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),o(s,l,f),c!==void 0&&e.removeLevel(c)}};function ns(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function gd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(gd(e)):r.concat(e),[])}var sa=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(_n(Ei(o),s))}function n(o,s={}){if(o==null)return o;if(o instanceof Array)return gd(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},Vr=sa;var yd=Mr(require("events")),_u=class extends yd.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)}},is=_u;var mo=(t={},r=[])=>{let e=r,n=t.processor||$d,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 mo(t,[...e,...g]);if(c instanceof Object){for(var h in c)c.hasOwnProperty(h)&&l(h,c[h]);return s}return e.push(_n(Ei(c),g)),s}function f(c,g){let h="",w=g||o||new is(Y=>{h=h+Y}),E=typeof w=="function"?new w(Y=>{h=h+Y}):w,C=typeof c=="string"?n(c):c,x=e.slice();x.reverse();let O=aa(x.map(Y=>_n(Y.rule,Y.fn(E,n,C))).reverse()),R={};E.startWrite(C);let j=O(C,R);return E.endWrite(),{errors:E.errors,toString:()=>h,valueOf:()=>h,indexingTerms:E.INDEXTERMS,annotations:E.FOOTNOTES,defenitions:E.DEFINITIONS,interator:j}}};var bd=()=>t=>Vr({"*":(e,n,o)=>(e.content&&(e.content=o(e.content,n,o)),delete e.location,e)})(t,{}),ua=bd;var Hx={":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.writeRaw(`A<${e.content}>`);else{let s=n.alias[e.content].join(`
|
|
15
|
+
`),l=r(s),f=ua()(l);f[0].type==="para"?o(f[0].content,n):o(f,n)}},"C<>":Me("`","`"),"D<>":(t,r)=>(e,n,o)=>{t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:[e.content[0]]}),t.writeRaw("**"),o(e.content,n),t.writeRaw("**")},"B<>":Me("**","**"),"I<>":Me("*","*"),"R<>":Me("*","*"),"K<>":Me("`","`"),"O<>":Me("~~","~~"),"H<>":Me("<sup>","</sup>"),"J<>":Me("<sub>","</sub>"),"L<>":Ir((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Me("[",`](${e})`)}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw(`
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
`),e.map(
|
|
20
|
-
`)}))}),(e,
|
|
21
|
-
`))},"T<>":Me("`","`"),"U<>":Me("",""),"V<>":
|
|
22
|
-
`),e.content&&e.content.forEach(f=>{typeof f=="string"?t.writeRaw(f):f.type==="verbatim"?t.writeRaw(f.value):
|
|
23
|
-
`),e.content&&e.content.forEach(f=>{typeof f=="string"?t.writeRaw(f):f.type==="verbatim"?t.writeRaw(f.value):
|
|
24
|
-
`)},"head:block":
|
|
25
|
-
`)}})),":list":
|
|
26
|
-
`)},"term:para":(t,r)=>(e,
|
|
19
|
+
`),e.map(n=>{t.writeRaw(`[^${n.gid}]: `),n.make(),t.writeRaw(`
|
|
20
|
+
`)}))}),(e,n,o)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let s=t.gid++;t.writeRaw(`[^${s}]`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:s,fnRefId:`fnref:${s}`,fnId:`fn:${s}`,make:()=>{o(e.content,n)}})}),"S<>":(t,r)=>(e,n,o)=>{let s=e.content||"";t.writeRaw(s.replace(/ /g," ").replace(/\n/g,`
|
|
21
|
+
`))},"T<>":Me("`","`"),"U<>":Me("",""),"V<>":wr,"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<>":St,pod:wr,":code":(t,r)=>(e,n,o)=>{let s=er(e,n),l=s.exists("lang")?s.getFirstValue("lang"):"";t.writeRaw("```"+l+`
|
|
22
|
+
`),e.content&&e.content.forEach(f=>{typeof f=="string"?t.writeRaw(f):f.type==="verbatim"?t.writeRaw(f.value):o([f],n)}),t.writeRaw("```\n")},code:Or((t,r)=>(e,n,o)=>{let s=er(e,n),l=s.exists("lang")?s.getFirstValue("lang"):"";t.writeRaw("```"+l+`
|
|
23
|
+
`),e.content&&e.content.forEach(f=>{typeof f=="string"?t.writeRaw(f):f.type==="verbatim"?t.writeRaw(f.value):o([f],n)}),t.writeRaw("```\n")}),data:St,":verbatim":(t,r)=>(e,n,o)=>{e.error&&t.emit("errors",e.location),t.writeRaw(e.value)},":blankline":St,":ambient":St,":config":Ir((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,St)),":alias":Ir((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,St)),para:Or(wr),":para":(t,r)=>(e,n,o)=>{e.content&&o(e.content,n),t.writeRaw(`
|
|
24
|
+
`)},"head:block":la({":para":wr},Ir((t,r)=>{let{level:e}=t,n="#".repeat(e)+" ";return(o,s)=>(l,f,c)=>{o.writeRaw(n),l.content&&c(l.content,f),o.writeRaw(`
|
|
25
|
+
`)}})),":list":Ir((t,r)=>(e,n)=>(o,s,l)=>{let f={...s,listType:o.list,listCounter:{value:1},listDepth:(s.listDepth||0)+1};o.content&&l(o.content,f)}),"item:block":(t,r)=>(e,n,o)=>{let s=" ".repeat(Math.max(0,(n.listDepth||1)-1)),l=n.listType||"unordered",f;if(l==="ordered"){let c=n.listCounter||{value:1};f=`${c.value}. `,c.value++}else f="- ";t.writeRaw(s+f),e.content&&o(e.content,n)},"comment:block":St,defn:(t,r)=>(e,n,o)=>{e.content&&o(e.content,n),t.writeRaw(`
|
|
26
|
+
`)},"term:para":(t,r)=>(e,n,o)=>{t.writeRaw("**"),e.content&&o(e.content,n),t.writeRaw(":** ")},nested:Or(wr,1),output:Or((t,r)=>(e,n,o)=>{t.writeRaw("```\n"),e.content&&o(e.content,n),t.writeRaw("```\n")},1),input:Or((t,r)=>(e,n,o)=>{t.writeRaw("```\n"),e.content&&o(e.content,n),t.writeRaw("```\n")},1),"table:block":Or((t,r)=>(e,n,o)=>{let s=er(e,n);s.exists("caption")&&(t.writeRaw("**"),t.write(s.getFirstValue("caption")),t.writeRaw(`**
|
|
27
27
|
|
|
28
|
-
`));let l=(e.content||[]).filter(
|
|
29
|
-
`),
|
|
30
|
-
`)
|
|
28
|
+
`));let l=(e.content||[]).filter(w=>w.name==="row");if(l.length===0)return;let f=w=>Array.isArray(w.config)&&w.config.some(E=>E.name==="header"&&E.value!==!1),c=(w,E)=>{if(!Array.isArray(w.config))return 0;let C=w.config.find(O=>O.name===E);if(!C)return 0;let x=Number(C.value);return Number.isFinite(x)&&x>1?x:0},g=l.some(w=>(w.content||[]).some(E=>E.name==="cell"&&(c(E,"colspan")||c(E,"rowspan")))),h=f(l[0]);if(g){t.writeRaw(`<table>
|
|
29
|
+
`),l.forEach(w=>{let E=f(w)?"th":"td";t.writeRaw("<tr>"),(w.content||[]).filter(x=>x.name==="cell").forEach(x=>{let O=c(x,"colspan"),R=c(x,"rowspan"),j="";O&&(j+=` colspan="${O}"`),R&&(j+=` rowspan="${R}"`),t.writeRaw(`<${E}${j}>`),x.content&&x.content.forEach(Y=>{typeof Y=="string"?t.write(Y.trim()):o([Y],n)}),t.writeRaw(`</${E}>`)}),t.writeRaw(`</tr>
|
|
30
|
+
`)}),t.writeRaw(`</table>
|
|
31
|
+
`);return}l.forEach((w,E)=>{let C=(w.content||[]).filter(x=>x.name==="cell");t.writeRaw("|"),C.forEach(x=>{t.writeRaw(" "),x.content&&x.content.forEach(O=>{typeof O=="string"?t.write(O.trim()):o([O],n)}),t.writeRaw(" |")}),t.writeRaw(`
|
|
32
|
+
`),E===0&&h&&(t.writeRaw("|"),C.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
|
|
33
|
+
`)),E===0&&!h&&(t.writeRaw("|"),C.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
|
|
31
34
|
`))}),t.writeRaw(`
|
|
32
|
-
`)}),":separator":
|
|
33
|
-
`),E
|
|
34
|
-
`),c.text=
|
|
35
|
-
`),l=r(a),f=Ys()(l);f[0].type==="para"?s(f[0].content,i):s(f,i)}},"C<>":Me("<code>","</code>"),"D<>":(t,r)=>(e,i,s)=>{let a={node:e},l=[e.content[0]];a&&(l=a),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,i),t.writeRaw("</dfn>")},"B<>":Me("<strong>","</strong>"),"I<>":Me("<em>","</em>"),"R<>":Me("<var>","</var>"),"K<>":Me("<kbd>","</kbd>"),"L<>":Pr((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Me(`<a href="${e}">`,"</a>")}),"N<>":(t,r)=>(t.addListener("end",()=>{if(!t.hasOwnProperty("FOOTNOTES"))return;let e=t.FOOTNOTES;e.length<1||(t.writeRaw('<div class="footnotes">'),e.map(i=>{t.writeRaw(`<p><sup id="${i.fnId}" class="footnote"><a href="#${i.fnRefId}">[${i.gid}]</a></sup> `),i.make(),t.writeRaw("</p>")}),t.writeRaw("</div>"))}),(e,i,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let a=t.gid++,l=`fnref:${a}`,f=`fn:${a}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${a}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:a,fnRefId:l,fnId:f,make:()=>{s(e.content,i)}})}),"S<>":(t,r)=>(e,i,s)=>{let f=(e.content||"").replace(/ /g," ").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":Me("<samp>","</samp>"),"U<>":Me("<u>","</u>"),"V<>":yr,"X<>":(t,r)=>(e,i,s)=>{s(e.content,i);let{entry:a}=e;if(a===null&&e.content.length>0)a=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:a})},"Z<>":xt,pod:yr,":code":Me("<pre><code>","</code></pre>"),code:Tr(Me("<pre><code>","</code></pre>")),data:xt,":verbatim":(t,r)=>(e,i,s)=>{e.error&&t.emit("errors",e.location),s(e.value)},":blankline":xt,":ambient":xt,":config":Pr((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,xt)),":alias":Pr((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,xt)),para:Tr(yr),":para":Me("<p>","</p>"),"head:block":Go({":para":yr},Pr((t,r)=>{let{level:e}=t,i=ud(t,r);return Me(`<h${e}${i?` id="${i}"`:""}>`,`</h${e}>`)})),":list":Pr((t,r)=>t.list==="ordered"?Me("<ol>","</ol>"):t.list==="variable"?Me("<dl>","</dl>"):t.list==="task"?Me('<ul class="task-list">',"</ul>"):Me("<ul>","</ul>")),"item:block":(t,r)=>(e,i,s)=>{e.content instanceof Array||console.error("[pod6] item:block : Error in content of "+JSON.stringify(e)),e.checked!==void 0?(t.writeRaw('<li class="task-list-item">'),t.writeRaw(e.checked?'<input type="checkbox" disabled checked> ':'<input type="checkbox" disabled> ')):t.writeRaw("<li>"),s(e.content,i),t.writeRaw("</li>")},"comment:block":xt,defn:Me("","</dd>"),"term:para":Me("<dt>","</dt><dd>"),nested:Tr(yr,1),output:Tr(Me("<pre><samp>","</samp></pre>"),1),input:Tr(Me("<pre><kbd>","</kbd></pre>"),1),"table:block":Tr((t,r)=>(e,i,s)=>{let a=gr(e,i);t.writeRaw("<table>"),a.exists("caption")&&(t.writeRaw("<caption>"),t.write(a.getFirstValue("caption")),t.writeRaw("</caption>")),s(e.content,i),t.writeRaw("</table>")}),":separator":xt,table_row:Me("<tr>","</tr>"),table_cell:Me("<td>","</td>"),table_head:Go({table_cell:Me("<th>","</th>")},Me("<tr>","</tr>")),":toc":(t,r)=>(e,i,s)=>{t.writeRaw('<div className="toc">');let a=gr(e,i);if(a.exists("title")){let l=a.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,i),t.writeRaw("</div>")},":toc-list":Pr((t,r)=>Me(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Pr((t,r)=>Me('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,i,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var HC=new Td.default({strict:!0,allowUnionTypes:!0});function gd(){var t=[];return r.use=e,r.parse=i,r.use(bd),r.use(xd),r.use(Cd),r.use(_d),r.use(Sd),r.use(vd),r.use(Ed),r.use(Ad),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function i(s,a={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=a,c=Fd.parse(s,{podMode:f});if(!l)for(let m=0;m<t.length;m++){let d=t[m];c=d(a)(c)}return c}}var dd=gd().parse;var{version:GC}=Pd();function Eu(t){if(t)throw t}var Yd=Rr(Od(),1),Du=Rr(zd(),1);function Qo(t){if(typeof t!="object"||t===null)return!1;let r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vd(){let t=[],r={run:e,use:i};return r;function e(...s){let a=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...m){let d=t[++a],$=-1;if(c){l(c);return}for(;++$<s.length;)(m[$]===null||m[$]===void 0)&&(m[$]=s[$]);s=m,d?Jw(d,f)(...m):l(null,...m)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Jw(t,r){let e;return i;function i(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(m){let d=m;if(f&&e)throw d;return s(d)}f||(c instanceof Promise?c.then(a,s):c instanceof Error?s(c):a(c))}function s(l,...f){e||(e=!0,r(l,...f))}function a(l){s(null,l)}}var Zd=Rr(Hd(),1);function Ei(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Gd(t.position):"start"in t||"end"in t?Gd(t):"line"in t||"column"in t?_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 $r=class extends Error{constructor(r,e,i){let s=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(i=e,e=void 0),typeof i=="string"){let l=i.indexOf(":");l===-1?s[1]=i:(s[0]=i.slice(0,l),s[1]=i.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(a=e.position):"start"in e||"end"in e?a=e:("line"in e||"column"in e)&&(a.start=e)),this.name=Ei(e)||"1:1",this.message=typeof r=="object"?r.message:r,this.stack=typeof r=="object"?r.stack:"",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=s[0],this.ruleId=s[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}};$r.prototype.file="";$r.prototype.name="";$r.prototype.reason="";$r.prototype.message="";$r.prototype.stack="";$r.prototype.fatal=null;$r.prototype.column=null;$r.prototype.line=null;$r.prototype.source=null;$r.prototype.ruleId=null;$r.prototype.position=null;var Wr=Rr(require("path"),1);var Su=Rr(require("process"),1);var Pu=require("url");function ta(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Tu=["history","path","basename","stem","extname","dirname"],Xo=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 i=-1;for(;++i<Tu.length;){let a=Tu[i];a in e&&e[a]!==void 0&&(this[a]=a==="history"?[...e[a]]:e[a])}let s;for(s in e)Tu.includes(s)||(this[s]=e[s])}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"?Wr.default.dirname(this.path):void 0}set dirname(r){Wd(this.basename,"dirname"),this.path=Wr.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?Wr.default.basename(this.path):void 0}set basename(r){Iu(r,"basename"),Fu(r,"basename"),this.path=Wr.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?Wr.default.extname(this.path):void 0}set extname(r){if(Fu(r,"extname"),Wd(this.dirname,"extname"),r){if(r.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Wr.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?Wr.default.basename(this.path,this.extname):void 0}set stem(r){Iu(r,"stem"),Fu(r,"stem"),this.path=Wr.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,i){let s=new $r(r,e,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,i){let s=this.message(r,e,i);return s.fatal=null,s}fail(r,e,i){let s=this.message(r,e,i);throw s.fatal=!0,s}};function Fu(t,r){if(t&&t.includes(Wr.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+Wr.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={},i,s=-1;return a.data=l,a.Parser=void 0,a.Compiler=void 0,a.freeze=f,a.attachers=r,a.use=c,a.parse=m,a.stringify=d,a.run=$,a.runSync=E,a.process=k,a.processSync=x,a;function a(){let I=tm(),N=-1;for(;++N<r.length;)I.use(...r[N]);return I.data((0,Du.default)(!0,{},e)),I}function l(I,N){return typeof I=="string"?arguments.length===2?(Nu("data",i),e[I]=N,a):em.call(e,I)&&e[I]||null:I?(Nu("data",i),e=I,a):e}function f(){if(i)return a;for(;++s<r.length;){let[I,...N]=r[s];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);let B=I.call(a,...N);typeof B=="function"&&t.use(B)}return i=!0,s=Number.POSITIVE_INFINITY,a}function c(I,...N){let B;if(Nu("use",i),I!=null)if(typeof I=="function")he(I,...N);else if(typeof I=="object")Array.isArray(I)?$e(I):se(I);else throw new TypeError("Expected usable value, not `"+I+"`");return B&&(e.settings=Object.assign(e.settings||{},B)),a;function X(ne){if(typeof ne=="function")he(ne);else if(typeof ne=="object")if(Array.isArray(ne)){let[be,...xe]=ne;he(be,...xe)}else se(ne);else throw new TypeError("Expected usable value, not `"+ne+"`")}function se(ne){$e(ne.plugins),ne.settings&&(B=Object.assign(B||{},ne.settings))}function $e(ne){let be=-1;if(ne!=null)if(Array.isArray(ne))for(;++be<ne.length;){let xe=ne[be];X(xe)}else throw new TypeError("Expected a list of plugins, not `"+ne+"`")}function he(ne,be){let xe=-1,ke;for(;++xe<r.length;)if(r[xe][0]===ne){ke=r[xe];break}ke?(Qo(ke[1])&&Qo(be)&&(be=(0,Du.default)(!0,ke[1],be)),ke[1]=be):r.push([...arguments])}}function m(I){a.freeze();let N=Yo(I),B=a.Parser;return Ou("parse",B),Jd(B,"parse")?new B(String(N),N).parse():B(String(N),N)}function d(I,N){a.freeze();let B=Yo(N),X=a.Compiler;return qu("stringify",X),Qd(I),Jd(X,"compile")?new X(I,B).compile():X(I,B)}function $(I,N,B){if(Qd(I),a.freeze(),!B&&typeof N=="function"&&(B=N,N=void 0),!B)return new Promise(X);X(null,B);function X(se,$e){t.run(I,Yo(N),he);function he(ne,be,xe){be=be||I,ne?$e(ne):se?se(be):B(null,be,xe)}}}function E(I,N){let B,X;return a.run(I,N,se),Xd("runSync","run",X),B;function se($e,he){Eu($e),B=he,X=!0}}function k(I,N){if(a.freeze(),Ou("process",a.Parser),qu("process",a.Compiler),!N)return new Promise(B);B(null,N);function B(X,se){let $e=Yo(I);a.run(a.parse($e),$e,(ne,be,xe)=>{if(ne||!be||!xe)he(ne);else{let ke=a.stringify(be,xe);ke==null||(Yw(ke)?xe.value=ke:xe.result=ke),he(ne,xe)}});function he(ne,be){ne||!be?se(ne):X?X(be):N(null,be)}}}function x(I){let N;a.freeze(),Ou("processSync",a.Parser),qu("processSync",a.Compiler);let B=Yo(I);return a.process(B,X),Xd("processSync","process",N),B;function X(se){N=!0,Eu(se)}}}function Jd(t,r){return typeof t=="function"&&t.prototype&&(Qw(t.prototype)||r in t.prototype)}function Qw(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(!Qo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Xd(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Yo(t){return Xw(t)?t:new Xo(t)}function Xw(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Yw(t){return typeof t=="string"||(0,Yd.default)(t)}function nm(t,r){var{includeImageAlt:e=!0}=r||{};return im(t,e)}function im(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&rm(t.children,r)||Array.isArray(t)&&rm(t,r))||""}function rm(t,r){for(var e=[],i=-1;++i<t.length;)e[i]=im(t[i],r);return e.join("")}function Ft(t,r,e,i){let s=t.length,a=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s:r,e=e>0?e:0,i.length<1e4)l=Array.from(i),l.unshift(r,e),[].splice.apply(t,l);else for(e&&[].splice.apply(t,[r,e]);a<i.length;)l=i.slice(a,a+1e4),l.unshift(r,0),[].splice.apply(t,l),a+=1e4,r+=1e4}function br(t,r){return t.length>0?(Ft(t,t.length,0,r),t):r}var om={}.hasOwnProperty;function ra(t){let r={},e=-1;for(;++e<t.length;)ek(r,t[e]);return r}function ek(t,r){let e;for(e in r){let s=(om.call(t,e)?t[e]:void 0)||(t[e]={}),a=r[e],l;for(l in a){om.call(s,l)||(s[l]=[]);let f=a[l];tk(s[l],Array.isArray(f)?f:f?[f]:[])}}}function tk(t,r){let e=-1,i=[];for(;++e<r.length;)(r[e].add==="after"?t:i).push(r[e]);Ft(t,0,0,i)}var sm=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var sr=Xn(/[A-Za-z]/),_i=Xn(/\d/),am=Xn(/[\dA-Fa-f]/),Mt=Xn(/[\dA-Za-z]/),lm=Xn(/[!-/:-@[-`{-~]/),Lu=Xn(/[#-'*+\--9=?A-Z^-~]/);function Qn(t){return t!==null&&(t<32||t===127)}function et(t){return t!==null&&(t<0||t===32)}function fe(t){return t!==null&&t<-2}function Re(t){return t===-2||t===-1||t===32}var Si=Xn(/\s/),Pi=Xn(sm);function Xn(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function ve(t,r,e,i){let s=i?i-1:Number.POSITIVE_INFINITY,a=0;return l;function l(c){return Re(c)?(t.enter(e),f(c)):r(c)}function f(c){return Re(c)&&a++<s?(t.consume(c),f):(t.exit(e),r(c))}}var um={tokenize:rk};function rk(t){let r=t.attempt(this.parser.constructs.contentInitial,i,s),e;return r;function i(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),ve(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),a(f)}function a(f){let c=t.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=c),e=c,l(f)}function l(f){if(f===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(f);return}return fe(f)?(t.consume(f),t.exit("chunkText"),a):(t.consume(f),l)}}var cm={tokenize:nk},fm={tokenize:ik};function nk(t){let r=this,e=[],i=0,s,a,l;return f;function f(se){if(i<e.length){let $e=e[i];return r.containerState=$e[1],t.attempt($e[0].continuation,c,m)(se)}return m(se)}function c(se){if(i++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&X();let $e=r.events.length,he=$e,ne;for(;he--;)if(r.events[he][0]==="exit"&&r.events[he][1].type==="chunkFlow"){ne=r.events[he][1].end;break}B(i);let be=$e;for(;be<r.events.length;)r.events[be][1].end=Object.assign({},ne),be++;return Ft(r.events,he+1,0,r.events.slice($e)),r.events.length=be,m(se)}return f(se)}function m(se){if(i===e.length){if(!s)return E(se);if(s.currentConstruct&&s.currentConstruct.concrete)return x(se);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(fm,d,$)(se)}function d(se){return s&&X(),B(i),E(se)}function $(se){return r.parser.lazy[r.now().line]=i!==e.length,l=r.now().offset,x(se)}function E(se){return r.containerState={},t.attempt(fm,k,x)(se)}function k(se){return i++,e.push([r.currentConstruct,r.containerState]),E(se)}function x(se){if(se===null){s&&X(),B(0),t.consume(se);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:s}),I(se)}function I(se){if(se===null){N(t.exit("chunkFlow"),!0),B(0),t.consume(se);return}return fe(se)?(t.consume(se),N(t.exit("chunkFlow")),i=0,r.interrupt=void 0,f):(t.consume(se),I)}function N(se,$e){let he=r.sliceStream(se);if($e&&he.push(null),se.previous=a,a&&(a.next=se),a=se,s.defineSkip(se.start),s.write(he),r.parser.lazy[se.start.line]){let ne=s.events.length;for(;ne--;)if(s.events[ne][1].start.offset<l&&(!s.events[ne][1].end||s.events[ne][1].end.offset>l))return;let be=r.events.length,xe=be,ke,Le;for(;xe--;)if(r.events[xe][0]==="exit"&&r.events[xe][1].type==="chunkFlow"){if(ke){Le=r.events[xe][1].end;break}ke=!0}for(B(i),ne=be;ne<r.events.length;)r.events[ne][1].end=Object.assign({},Le),ne++;Ft(r.events,xe+1,0,r.events.slice(be)),r.events.length=ne}}function B(se){let $e=e.length;for(;$e-- >se;){let he=e[$e];r.containerState=he[1],he[0].exit.call(r,t)}e.length=se}function X(){s.write([null]),a=void 0,s=void 0,r.containerState._closeFlow=void 0}}function ik(t,r,e){return ve(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ao(t){if(t===null||et(t)||Si(t))return 1;if(Pi(t))return 2}function Yn(t,r,e){let i=[],s=-1;for(;++s<t.length;){let a=t[s].resolveAll;a&&!i.includes(a)&&(r=a(r,e),i.push(a))}return r}var es={name:"attention",tokenize:sk,resolveAll:ok};function ok(t,r){let e=-1,i,s,a,l,f,c,m,d;for(;++e<t.length;)if(t[e][0]==="enter"&&t[e][1].type==="attentionSequence"&&t[e][1]._close){for(i=e;i--;)if(t[i][0]==="exit"&&t[i][1].type==="attentionSequence"&&t[i][1]._open&&r.sliceSerialize(t[i][1]).charCodeAt(0)===r.sliceSerialize(t[e][1]).charCodeAt(0)){if((t[i][1]._close||t[e][1]._open)&&(t[e][1].end.offset-t[e][1].start.offset)%3&&!((t[i][1].end.offset-t[i][1].start.offset+t[e][1].end.offset-t[e][1].start.offset)%3))continue;c=t[i][1].end.offset-t[i][1].start.offset>1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;let $=Object.assign({},t[i][1].end),E=Object.assign({},t[e][1].start);pm($,-c),pm(E,c),l={type:c>1?"strongSequence":"emphasisSequence",start:$,end:Object.assign({},t[i][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:E},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[e][1].start)},s={type:c>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},f.end)},t[i][1].end=Object.assign({},l.start),t[e][1].start=Object.assign({},f.end),m=[],t[i][1].end.offset-t[i][1].start.offset&&(m=br(m,[["enter",t[i][1],r],["exit",t[i][1],r]])),m=br(m,[["enter",s,r],["enter",l,r],["exit",l,r],["enter",a,r]]),m=br(m,Yn(r.parser.constructs.insideSpan.null,t.slice(i+1,e),r)),m=br(m,[["exit",a,r],["enter",f,r],["exit",f,r],["exit",s,r]]),t[e][1].end.offset-t[e][1].start.offset?(d=2,m=br(m,[["enter",t[e][1],r],["exit",t[e][1],r]])):d=0,Ft(t,i-1,e-i+3,m),e=i+m.length-d-2;break}}for(e=-1;++e<t.length;)t[e][1].type==="attentionSequence"&&(t[e][1].type="data");return t}function sk(t,r){let e=this.parser.constructs.attentionMarkers.null,i=this.previous,s=ao(i),a;return l;function l(c){return t.enter("attentionSequence"),a=c,f(c)}function f(c){if(c===a)return t.consume(c),f;let m=t.exit("attentionSequence"),d=ao(c),$=!d||d===2&&s||e.includes(c),E=!s||s===2&&d||e.includes(i);return m._open=Boolean(a===42?$:$&&(s||!E)),m._close=Boolean(a===42?E:E&&(d||!$)),r(c)}}function pm(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var ju={name:"autolink",tokenize:ak};function ak(t,r,e){let i=1;return s;function s(x){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(x){return sr(x)?(t.consume(x),l):Lu(x)?m(x):e(x)}function l(x){return x===43||x===45||x===46||Mt(x)?f(x):m(x)}function f(x){return x===58?(t.consume(x),c):(x===43||x===45||x===46||Mt(x))&&i++<32?(t.consume(x),f):m(x)}function c(x){return x===62?(t.exit("autolinkProtocol"),k(x)):x===null||x===32||x===60||Qn(x)?e(x):(t.consume(x),c)}function m(x){return x===64?(t.consume(x),i=0,d):Lu(x)?(t.consume(x),m):e(x)}function d(x){return Mt(x)?$(x):e(x)}function $(x){return x===46?(t.consume(x),i=0,d):x===62?(t.exit("autolinkProtocol").type="autolinkEmail",k(x)):E(x)}function E(x){return(x===45||Mt(x))&&i++<63?(t.consume(x),x===45?E:$):e(x)}function k(x){return t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.exit("autolink"),r}}var Cn={tokenize:lk,partial:!0};function lk(t,r,e){return ve(t,i,"linePrefix");function i(s){return s===null||fe(s)?r(s):e(s)}}var na={name:"blockQuote",tokenize:uk,continuation:{tokenize:fk},exit:ck};function uk(t,r,e){let i=this;return s;function s(l){if(l===62){let f=i.containerState;return f.open||(t.enter("blockQuote",{_container:!0}),f.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),a}return e(l)}function a(l){return Re(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function fk(t,r,e){return ve(t,t.attempt(na,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ck(t){t.exit("blockQuote")}var ia={name:"characterEscape",tokenize:pk};function pk(t,r,e){return i;function i(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),s}function s(a){return lm(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(a)}}var 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:`
|
|
36
|
-
`,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 dk={}.hasOwnProperty;function lo(t){return dk.call(Bu,t)?Bu[t]:!1}var oa={name:"characterReference",tokenize:mk};function mk(t,r,e){let i=this,s=0,a,l;return f;function f($){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume($),t.exit("characterReferenceMarker"),c}function c($){return $===35?(t.enter("characterReferenceMarkerNumeric"),t.consume($),t.exit("characterReferenceMarkerNumeric"),m):(t.enter("characterReferenceValue"),a=31,l=Mt,d($))}function m($){return $===88||$===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume($),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,l=am,d):(t.enter("characterReferenceValue"),a=7,l=_i,d($))}function d($){let E;return $===59&&s?(E=t.exit("characterReferenceValue"),l===Mt&&!lo(i.sliceSerialize(E))?e($):(t.enter("characterReferenceMarker"),t.consume($),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l($)&&s++<a?(t.consume($),d):e($)}}var sa={name:"codeFenced",tokenize:hk,concrete:!0};function hk(t,r,e){let i=this,s={tokenize:he,partial:!0},a={tokenize:$e,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,m;return d;function d(ne){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),m=ne,$(ne)}function $(ne){return ne===m?(t.consume(ne),c++,$):(t.exit("codeFencedFenceSequence"),c<3?e(ne):ve(t,E,"whitespace")(ne))}function E(ne){return ne===null||fe(ne)?N(ne):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),k(ne))}function k(ne){return ne===null||et(ne)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),ve(t,x,"whitespace")(ne)):ne===96&&ne===m?e(ne):(t.consume(ne),k)}function x(ne){return ne===null||fe(ne)?N(ne):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),I(ne))}function I(ne){return ne===null||fe(ne)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),N(ne)):ne===96&&ne===m?e(ne):(t.consume(ne),I)}function N(ne){return t.exit("codeFencedFence"),i.interrupt?r(ne):B(ne)}function B(ne){return ne===null?se(ne):fe(ne)?t.attempt(a,t.attempt(s,se,f?ve(t,B,"linePrefix",f+1):B),se)(ne):(t.enter("codeFlowValue"),X(ne))}function X(ne){return ne===null||fe(ne)?(t.exit("codeFlowValue"),B(ne)):(t.consume(ne),X)}function se(ne){return t.exit("codeFenced"),r(ne)}function $e(ne,be,xe){let ke=this;return Le;function Le(_e){return ne.enter("lineEnding"),ne.consume(_e),ne.exit("lineEnding"),Ee}function Ee(_e){return ke.parser.lazy[ke.now().line]?xe(_e):be(_e)}}function he(ne,be,xe){let ke=0;return ve(ne,Le,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Le(de){return ne.enter("codeFencedFence"),ne.enter("codeFencedFenceSequence"),Ee(de)}function Ee(de){return de===m?(ne.consume(de),ke++,Ee):ke<c?xe(de):(ne.exit("codeFencedFenceSequence"),ve(ne,_e,"whitespace")(de))}function _e(de){return de===null||fe(de)?(ne.exit("codeFencedFence"),be(de)):xe(de)}}}var ts={name:"codeIndented",tokenize:yk},gk={tokenize:$k,partial:!0};function yk(t,r,e){let i=this;return s;function s(m){return t.enter("codeIndented"),ve(t,a,"linePrefix",4+1)(m)}function a(m){let d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(m):e(m)}function l(m){return m===null?c(m):fe(m)?t.attempt(gk,l,c)(m):(t.enter("codeFlowValue"),f(m))}function f(m){return m===null||fe(m)?(t.exit("codeFlowValue"),l(m)):(t.consume(m),f)}function c(m){return t.exit("codeIndented"),r(m)}}function $k(t,r,e){let i=this;return s;function s(l){return i.parser.lazy[i.now().line]?e(l):fe(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):ve(t,a,"linePrefix",4+1)(l)}function a(l){let f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):fe(l)?s(l):e(l)}}var Mu={name:"codeText",tokenize:kk,resolve:bk,previous:wk};function bk(t){let r=t.length-4,e=3,i,s;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(i=e;++i<r;)if(t[i][1].type==="codeTextData"){t[e][1].type="codeTextPadding",t[r][1].type="codeTextPadding",e+=2,r-=2;break}}for(i=e-1,r++;++i<=r;)s===void 0?i!==r&&t[i][1].type!=="lineEnding"&&(s=i):(i===r||t[i][1].type==="lineEnding")&&(t[s][1].type="codeTextData",i!==s+2&&(t[s][1].end=t[i-1][1].end,t.splice(s+2,i-s-2),r-=i-s-2,i=s+2),s=void 0);return t}function wk(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function kk(t,r,e){let i=this,s=0,a,l;return f;function f(E){return t.enter("codeText"),t.enter("codeTextSequence"),c(E)}function c(E){return E===96?(t.consume(E),s++,c):(t.exit("codeTextSequence"),m(E))}function m(E){return E===null?e(E):E===96?(l=t.enter("codeTextSequence"),a=0,$(E)):E===32?(t.enter("space"),t.consume(E),t.exit("space"),m):fe(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),m):(t.enter("codeTextData"),d(E))}function d(E){return E===null||E===32||E===96||fe(E)?(t.exit("codeTextData"),m(E)):(t.consume(E),d)}function $(E){return E===96?(t.consume(E),a++,$):a===s?(t.exit("codeTextSequence"),t.exit("codeText"),r(E)):(l.type="codeTextData",d(E))}}function aa(t){let r={},e=-1,i,s,a,l,f,c,m;for(;++e<t.length;){for(;e in r;)e=r[e];if(i=t[e],e&&i[1].type==="chunkFlow"&&t[e-1][1].type==="listItemPrefix"&&(c=i[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(i[0]==="enter")i[1].contentType&&(Object.assign(r,vk(t,e)),e=r[e],m=!0);else if(i[1]._container){for(a=e,s=void 0;a--&&(l=t[a],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(s&&(t[s][1].type="lineEndingBlank"),l[1].type="lineEnding",s=a);s&&(i[1].end=Object.assign({},t[s][1].start),f=t.slice(s,e),f.unshift(i),Ft(t,s,e-s+1,f))}}return!m}function vk(t,r){let e=t[r][1],i=t[r][2],s=r-1,a=[],l=e._tokenizer||i.parser[e.contentType](e.start),f=l.events,c=[],m={},d,$,E=-1,k=e,x=0,I=0,N=[I];for(;k;){for(;t[++s][1]!==k;);a.push(s),k._tokenizer||(d=i.sliceStream(k),k.next||d.push(null),$&&l.defineSkip(k.start),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(d),k._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),$=k,k=k.next}for(k=e;++E<f.length;)f[E][0]==="exit"&&f[E-1][0]==="enter"&&f[E][1].type===f[E-1][1].type&&f[E][1].start.line!==f[E][1].end.line&&(I=E+1,N.push(I),k._tokenizer=void 0,k.previous=void 0,k=k.next);for(l.events=[],k?(k._tokenizer=void 0,k.previous=void 0):N.pop(),E=N.length;E--;){let B=f.slice(N[E],N[E+1]),X=a.pop();c.unshift([X,X+B.length-1]),Ft(t,X,2,B)}for(E=-1;++E<c.length;)m[x+c[E][0]]=x+c[E][1],x+=c[E][1]-c[E][0]-1;return m}var zu={tokenize:Ak,resolve:Ck},xk={tokenize:Ek,partial:!0};function Ck(t){return aa(t),t}function Ak(t,r){let e;return i;function i(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?a(f):fe(f)?t.check(xk,l,a)(f):(t.consume(f),s)}function a(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,s}}function Ek(t,r,e){let i=this;return s;function s(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),ve(t,a,"linePrefix")}function a(l){if(l===null||fe(l))return e(l);let f=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?r(l):t.interrupt(i.parser.constructs.flow,e,r)(l)}}function la(t,r,e,i,s,a,l,f,c){let m=c||Number.POSITIVE_INFINITY,d=0;return $;function $(B){return B===60?(t.enter(i),t.enter(s),t.enter(a),t.consume(B),t.exit(a),E):B===null||B===41||Qn(B)?e(B):(t.enter(i),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),I(B))}function E(B){return B===62?(t.enter(a),t.consume(B),t.exit(a),t.exit(s),t.exit(i),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),k(B))}function k(B){return B===62?(t.exit("chunkString"),t.exit(f),E(B)):B===null||B===60||fe(B)?e(B):(t.consume(B),B===92?x:k)}function x(B){return B===60||B===62||B===92?(t.consume(B),k):k(B)}function I(B){return B===40?++d>m?e(B):(t.consume(B),I):B===41?d--?(t.consume(B),I):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(i),r(B)):B===null||et(B)?d?e(B):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(i),r(B)):Qn(B)?e(B):(t.consume(B),B===92?N:I)}function N(B){return B===40||B===41||B===92?(t.consume(B),I):I(B)}}function ua(t,r,e,i,s,a){let l=this,f=0,c;return m;function m(k){return t.enter(i),t.enter(s),t.consume(k),t.exit(s),t.enter(a),d}function d(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(a),t.enter(s),t.consume(k),t.exit(s),t.exit(i),r):fe(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),$(k))}function $(k){return k===null||k===91||k===93||fe(k)||f++>999?(t.exit("chunkString"),d(k)):(t.consume(k),c=c||!Re(k),k===92?E:$)}function E(k){return k===91||k===92||k===93?(t.consume(k),f++,$):$(k)}}function fa(t,r,e,i,s,a){let l;return f;function f(E){return t.enter(i),t.enter(s),t.consume(E),t.exit(s),l=E===40?41:E,c}function c(E){return E===l?(t.enter(s),t.consume(E),t.exit(s),t.exit(i),r):(t.enter(a),m(E))}function m(E){return E===l?(t.exit(a),c(l)):E===null?e(E):fe(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),ve(t,m,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(E))}function d(E){return E===l||E===null||fe(E)?(t.exit("chunkString"),m(E)):(t.consume(E),E===92?$:d)}function $(E){return E===l||E===92?(t.consume(E),d):d(E)}}function Ti(t,r){let e;return i;function i(s){return fe(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e=!0,i):Re(s)?ve(t,i,e?"linePrefix":"lineSuffix")(s):r(s)}}function ar(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Vu={name:"definition",tokenize:Sk},_k={tokenize:Pk,partial:!0};function Sk(t,r,e){let i=this,s;return a;function a(c){return t.enter("definition"),ua.call(i,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return s=ar(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),Ti(t,la(t,t.attempt(_k,ve(t,f,"whitespace"),ve(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||fe(c)?(t.exit("definition"),i.parser.defined.includes(s)||i.parser.defined.push(s),r(c)):e(c)}}function Pk(t,r,e){return i;function i(l){return et(l)?Ti(t,s)(l):e(l)}function s(l){return l===34||l===39||l===40?fa(t,ve(t,a,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function a(l){return l===null||fe(l)?r(l):e(l)}}var Uu={name:"hardBreakEscape",tokenize:Tk};function Tk(t,r,e){return i;function i(a){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(a),s}function s(a){return fe(a)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(a)):e(a)}}var Hu={name:"headingAtx",tokenize:Ik,resolve:Fk};function Fk(t,r){let e=t.length-2,i=3,s,a;return t[i][1].type==="whitespace"&&(i+=2),e-2>i&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(i===e-1||e-4>i&&t[e-2][1].type==="whitespace")&&(e-=i+1===e?2:4),e>i&&(s={type:"atxHeadingText",start:t[i][1].start,end:t[e][1].end},a={type:"chunkText",start:t[i][1].start,end:t[e][1].end,contentType:"text"},Ft(t,i,e-i+1,[["enter",s,r],["enter",a,r],["exit",a,r],["exit",s,r]])),t}function Ik(t,r,e){let i=this,s=0;return a;function a(d){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&s++<6?(t.consume(d),l):d===null||et(d)?(t.exit("atxHeadingSequence"),i.interrupt?r(d):f(d)):e(d)}function f(d){return d===35?(t.enter("atxHeadingSequence"),c(d)):d===null||fe(d)?(t.exit("atxHeading"),r(d)):Re(d)?ve(t,f,"whitespace")(d):(t.enter("atxHeadingText"),m(d))}function c(d){return d===35?(t.consume(d),c):(t.exit("atxHeadingSequence"),f(d))}function m(d){return d===null||d===35||et(d)?(t.exit("atxHeadingText"),f(d)):(t.consume(d),m)}}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:Nk,resolveTo:qk,concrete:!0},Ok={tokenize:Dk,partial:!0};function qk(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 Nk(t,r,e){let i=this,s,a,l,f,c;return m;function m(V){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(V),d}function d(V){return V===33?(t.consume(V),$):V===47?(t.consume(V),x):V===63?(t.consume(V),s=3,i.interrupt?r:yt):sr(V)?(t.consume(V),l=String.fromCharCode(V),a=!0,I):e(V)}function $(V){return V===45?(t.consume(V),s=2,E):V===91?(t.consume(V),s=5,l="CDATA[",f=0,k):sr(V)?(t.consume(V),s=4,i.interrupt?r:yt):e(V)}function E(V){return V===45?(t.consume(V),i.interrupt?r:yt):e(V)}function k(V){return V===l.charCodeAt(f++)?(t.consume(V),f===l.length?i.interrupt?r:Ee:k):e(V)}function x(V){return sr(V)?(t.consume(V),l=String.fromCharCode(V),I):e(V)}function I(V){return V===null||V===47||V===62||et(V)?V!==47&&a&&Gu.includes(l.toLowerCase())?(s=1,i.interrupt?r(V):Ee(V)):dm.includes(l.toLowerCase())?(s=6,V===47?(t.consume(V),N):i.interrupt?r(V):Ee(V)):(s=7,i.interrupt&&!i.parser.lazy[i.now().line]?e(V):a?X(V):B(V)):V===45||Mt(V)?(t.consume(V),l+=String.fromCharCode(V),I):e(V)}function N(V){return V===62?(t.consume(V),i.interrupt?r:Ee):e(V)}function B(V){return Re(V)?(t.consume(V),B):ke(V)}function X(V){return V===47?(t.consume(V),ke):V===58||V===95||sr(V)?(t.consume(V),se):Re(V)?(t.consume(V),X):ke(V)}function se(V){return V===45||V===46||V===58||V===95||Mt(V)?(t.consume(V),se):$e(V)}function $e(V){return V===61?(t.consume(V),he):Re(V)?(t.consume(V),$e):X(V)}function he(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),c=V,ne):Re(V)?(t.consume(V),he):(c=null,be(V))}function ne(V){return V===null||fe(V)?e(V):V===c?(t.consume(V),xe):(t.consume(V),ne)}function be(V){return V===null||V===34||V===39||V===60||V===61||V===62||V===96||et(V)?$e(V):(t.consume(V),be)}function xe(V){return V===47||V===62||Re(V)?X(V):e(V)}function ke(V){return V===62?(t.consume(V),Le):e(V)}function Le(V){return Re(V)?(t.consume(V),Le):V===null||fe(V)?Ee(V):e(V)}function Ee(V){return V===45&&s===2?(t.consume(V),ot):V===60&&s===1?(t.consume(V),Y):V===62&&s===4?(t.consume(V),tt):V===63&&s===3?(t.consume(V),yt):V===93&&s===5?(t.consume(V),Ze):fe(V)&&(s===6||s===7)?t.check(Ok,tt,_e)(V):V===null||fe(V)?_e(V):(t.consume(V),Ee)}function _e(V){return t.exit("htmlFlowData"),de(V)}function de(V){return V===null?M(V):fe(V)?t.attempt({tokenize:Ce,partial:!0},de,M)(V):(t.enter("htmlFlowData"),Ee(V))}function Ce(V,Jt,Rt){return bt;function bt(At){return V.enter("lineEnding"),V.consume(At),V.exit("lineEnding"),St}function St(At){return i.parser.lazy[i.now().line]?Rt(At):Jt(At)}}function ot(V){return V===45?(t.consume(V),yt):Ee(V)}function Y(V){return V===47?(t.consume(V),l="",Ct):Ee(V)}function Ct(V){return V===62&&Gu.includes(l.toLowerCase())?(t.consume(V),tt):sr(V)&&l.length<8?(t.consume(V),l+=String.fromCharCode(V),Ct):Ee(V)}function Ze(V){return V===93?(t.consume(V),yt):Ee(V)}function yt(V){return V===62?(t.consume(V),tt):V===45&&s===2?(t.consume(V),yt):Ee(V)}function tt(V){return V===null||fe(V)?(t.exit("htmlFlowData"),M(V)):(t.consume(V),tt)}function M(V){return t.exit("htmlFlow"),r(V)}}function Dk(t,r,e){return i;function i(s){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),t.attempt(Cn,r,e)}}var Wu={name:"htmlText",tokenize:Rk};function Rk(t,r,e){let i=this,s,a,l,f;return c;function c(M){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(M),m}function m(M){return M===33?(t.consume(M),d):M===47?(t.consume(M),be):M===63?(t.consume(M),he):sr(M)?(t.consume(M),Le):e(M)}function d(M){return M===45?(t.consume(M),$):M===91?(t.consume(M),a="CDATA[",l=0,N):sr(M)?(t.consume(M),$e):e(M)}function $(M){return M===45?(t.consume(M),E):e(M)}function E(M){return M===null||M===62?e(M):M===45?(t.consume(M),k):x(M)}function k(M){return M===null||M===62?e(M):x(M)}function x(M){return M===null?e(M):M===45?(t.consume(M),I):fe(M)?(f=x,Ze(M)):(t.consume(M),x)}function I(M){return M===45?(t.consume(M),tt):x(M)}function N(M){return M===a.charCodeAt(l++)?(t.consume(M),l===a.length?B:N):e(M)}function B(M){return M===null?e(M):M===93?(t.consume(M),X):fe(M)?(f=B,Ze(M)):(t.consume(M),B)}function X(M){return M===93?(t.consume(M),se):B(M)}function se(M){return M===62?tt(M):M===93?(t.consume(M),se):B(M)}function $e(M){return M===null||M===62?tt(M):fe(M)?(f=$e,Ze(M)):(t.consume(M),$e)}function he(M){return M===null?e(M):M===63?(t.consume(M),ne):fe(M)?(f=he,Ze(M)):(t.consume(M),he)}function ne(M){return M===62?tt(M):he(M)}function be(M){return sr(M)?(t.consume(M),xe):e(M)}function xe(M){return M===45||Mt(M)?(t.consume(M),xe):ke(M)}function ke(M){return fe(M)?(f=ke,Ze(M)):Re(M)?(t.consume(M),ke):tt(M)}function Le(M){return M===45||Mt(M)?(t.consume(M),Le):M===47||M===62||et(M)?Ee(M):e(M)}function Ee(M){return M===47?(t.consume(M),tt):M===58||M===95||sr(M)?(t.consume(M),_e):fe(M)?(f=Ee,Ze(M)):Re(M)?(t.consume(M),Ee):tt(M)}function _e(M){return M===45||M===46||M===58||M===95||Mt(M)?(t.consume(M),_e):de(M)}function de(M){return M===61?(t.consume(M),Ce):fe(M)?(f=de,Ze(M)):Re(M)?(t.consume(M),de):Ee(M)}function Ce(M){return M===null||M===60||M===61||M===62||M===96?e(M):M===34||M===39?(t.consume(M),s=M,ot):fe(M)?(f=Ce,Ze(M)):Re(M)?(t.consume(M),Ce):(t.consume(M),s=void 0,Ct)}function ot(M){return M===s?(t.consume(M),Y):M===null?e(M):fe(M)?(f=ot,Ze(M)):(t.consume(M),ot)}function Y(M){return M===62||M===47||et(M)?Ee(M):e(M)}function Ct(M){return M===null||M===34||M===39||M===60||M===61||M===96?e(M):M===62||et(M)?Ee(M):(t.consume(M),Ct)}function Ze(M){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),ve(t,yt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yt(M){return t.enter("htmlTextData"),f(M)}function tt(M){return M===62?(t.consume(M),t.exit("htmlTextData"),t.exit("htmlText"),r):e(M)}}var Fi={name:"labelEnd",tokenize:Vk,resolveTo:zk,resolveAll:Mk},Lk={tokenize:Uk},jk={tokenize:Hk},Bk={tokenize:Gk};function Mk(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 zk(t,r){let e=t.length,i=0,s,a,l,f;for(;e--;)if(s=t[e][1],a){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;t[e][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(l){if(t[e][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(a=e,s.type!=="labelLink")){i=2;break}}else s.type==="labelEnd"&&(l=e);let c={type:t[a][1].type==="labelLink"?"link":"image",start:Object.assign({},t[a][1].start),end:Object.assign({},t[t.length-1][1].end)},m={type:"label",start:Object.assign({},t[a][1].start),end:Object.assign({},t[l][1].end)},d={type:"labelText",start:Object.assign({},t[a+i+2][1].end),end:Object.assign({},t[l-2][1].start)};return f=[["enter",c,r],["enter",m,r]],f=br(f,t.slice(a+1,a+i+3)),f=br(f,[["enter",d,r]]),f=br(f,Yn(r.parser.constructs.insideSpan.null,t.slice(a+i+4,l-3),r)),f=br(f,[["exit",d,r],t[l-2],t[l-1],["exit",m,r]]),f=br(f,t.slice(l+1)),f=br(f,[["exit",c,r]]),Ft(t,a,t.length,f),t}function Vk(t,r,e){let i=this,s=i.events.length,a,l;for(;s--;)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){a=i.events[s][1];break}return f;function f(d){return a?a._inactive?m(d):(l=i.parser.defined.includes(ar(i.sliceSerialize({start:a.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),c):e(d)}function c(d){return d===40?t.attempt(Lk,r,l?r:m)(d):d===91?t.attempt(jk,r,l?t.attempt(Bk,r,m):m)(d):l?r(d):m(d)}function m(d){return a._balanced=!0,e(d)}}function Uk(t,r,e){return i;function i(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),Ti(t,s)}function s(c){return c===41?f(c):la(t,a,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function a(c){return et(c)?Ti(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?fa(t,Ti(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 Hk(t,r,e){let i=this;return s;function s(l){return ua.call(i,t,a,e,"reference","referenceMarker","referenceString")(l)}function a(l){return i.parser.defined.includes(ar(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function Gk(t,r,e){return i;function i(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),s}function s(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),r):e(a)}}var Zu={name:"labelStartImage",tokenize:Kk,resolveAll:Fi.resolveAll};function Kk(t,r,e){let i=this;return s;function s(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),a}function a(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 i.parser.constructs?e(f):r(f)}}var Ju={name:"labelStartLink",tokenize:Wk,resolveAll:Fi.resolveAll};function Wk(t,r,e){let i=this;return s;function s(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?e(l):r(l)}}var rs={name:"lineEnding",tokenize:Zk};function Zk(t,r){return e;function e(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),ve(t,r,"linePrefix")}}var Ii={name:"thematicBreak",tokenize:Jk};function Jk(t,r,e){let i=0,s;return a;function a(c){return t.enter("thematicBreak"),s=c,l(c)}function l(c){return c===s?(t.enter("thematicBreakSequence"),f(c)):Re(c)?ve(t,l,"whitespace")(c):i<3||c!==null&&!fe(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===s?(t.consume(c),i++,f):(t.exit("thematicBreakSequence"),l(c))}}var lr={name:"list",tokenize:Yk,continuation:{tokenize:ev},exit:rv},Qk={tokenize:nv,partial:!0},Xk={tokenize:tv,partial:!0};function Yk(t,r,e){let i=this,s=i.events[i.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(k){let x=i.containerState.type||(k===42||k===43||k===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!i.containerState.marker||k===i.containerState.marker:_i(k)){if(i.containerState.type||(i.containerState.type=x,t.enter(x,{_container:!0})),x==="listUnordered")return t.enter("listItemPrefix"),k===42||k===45?t.check(Ii,e,m)(k):m(k);if(!i.interrupt||k===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(k)}return e(k)}function c(k){return _i(k)&&++l<10?(t.consume(k),c):(!i.interrupt||l<2)&&(i.containerState.marker?k===i.containerState.marker:k===41||k===46)?(t.exit("listItemValue"),m(k)):e(k)}function m(k){return t.enter("listItemMarker"),t.consume(k),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||k,t.check(Cn,i.interrupt?e:d,t.attempt(Qk,E,$))}function d(k){return i.containerState.initialBlankLine=!0,a++,E(k)}function $(k){return Re(k)?(t.enter("listItemPrefixWhitespace"),t.consume(k),t.exit("listItemPrefixWhitespace"),E):e(k)}function E(k){return i.containerState.size=a+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(k)}}function ev(t,r,e){let i=this;return i.containerState._closeFlow=void 0,t.check(Cn,s,a);function s(f){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,ve(t,r,"listItemIndent",i.containerState.size+1)(f)}function a(f){return i.containerState.furtherBlankLines||!Re(f)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(f)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(Xk,r,l)(f))}function l(f){return i.containerState._closeFlow=!0,i.interrupt=void 0,ve(t,t.attempt(lr,r,e),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function tv(t,r,e){let i=this;return ve(t,s,"listItemIndent",i.containerState.size+1);function s(a){let l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?r(a):e(a)}}function rv(t){t.exit(this.containerState.type)}function nv(t,r,e){let i=this;return ve(t,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(a){let l=i.events[i.events.length-1];return!Re(a)&&l&&l[1].type==="listItemPrefixWhitespace"?r(a):e(a)}}var ca={name:"setextUnderline",tokenize:ov,resolveTo:iv};function iv(t,r){let e=t.length,i,s,a;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){i=e;break}t[e][1].type==="paragraph"&&(s=e)}else t[e][1].type==="content"&&t.splice(e,1),!a&&t[e][1].type==="definition"&&(a=e);let l={type:"setextHeading",start:Object.assign({},t[s][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[s][1].type="setextHeadingText",a?(t.splice(s,0,["enter",l,r]),t.splice(a+1,0,["exit",t[i][1],r]),t[i][1].end=Object.assign({},t[a][1].end)):t[i][1]=l,t.push(["exit",l,r]),t}function ov(t,r,e){let i=this,s=i.events.length,a,l;for(;s--;)if(i.events[s][1].type!=="lineEnding"&&i.events[s][1].type!=="linePrefix"&&i.events[s][1].type!=="content"){l=i.events[s][1].type==="paragraph";break}return f;function f(d){return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),a=d,c(d)):e(d)}function c(d){return d===a?(t.consume(d),c):(t.exit("setextHeadingLineSequence"),ve(t,m,"lineSuffix")(d))}function m(d){return d===null||fe(d)?(t.exit("setextHeadingLine"),r(d)):e(d)}}var mm={tokenize:sv};function sv(t){let r=this,e=t.attempt(Cn,i,t.attempt(this.parser.constructs.flowInitial,s,ve(t,t.attempt(this.parser.constructs.flow,s,t.attempt(zu,s)),"linePrefix")));return e;function i(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function s(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),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"?av:void 0)};function r(e){let i=this,s=this.parser.constructs[t],a=e.attempt(s,l,f);return l;function l(d){return m(d)?a(d):f(d)}function f(d){if(d===null){e.consume(d);return}return e.enter("data"),e.consume(d),c}function c(d){return m(d)?(e.exit("data"),a(d)):(e.consume(d),c)}function m(d){if(d===null)return!0;let $=s[d],E=-1;if($)for(;++E<$.length;){let k=$[E];if(!k.previous||k.previous.call(i,i.previous))return!0}return!1}}}function bm(t){return r;function r(e,i){let s=-1,a;for(;++s<=e.length;)a===void 0?e[s]&&e[s][1].type==="data"&&(a=s,s++):(!e[s]||e[s][1].type!=="data")&&(s!==a+2&&(e[a][1].end=e[s-1][1].end,e.splice(a+2,s-a-2),s=a+2),a=void 0);return t?t(e,i):e}}function av(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 i=t[e-1][1],s=r.sliceStream(i),a=s.length,l=-1,f=0,c;for(;a--;){let m=s[a];if(typeof m=="string"){for(l=m.length;m.charCodeAt(l-1)===32;)f++,l--;if(l)break;l=-1}else if(m===-2)c=!0,f++;else if(m!==-1){a++;break}}if(f){let m={type:e===t.length||c||f<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-f,offset:i.end.offset-f,_index:i.start._index+a,_bufferIndex:a?l:i.start._bufferIndex+l},end:Object.assign({},i.end)};i.end=Object.assign({},m.start),i.start.offset===i.end.offset?Object.assign(i,m):(t.splice(e,0,["enter",m,r],["exit",m,r]),e+=2)}e++}return t}function wm(t,r,e){let i=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},a=[],l=[],f=[],c=!0,m={consume:$e,enter:he,exit:ne,attempt:ke(be),check:ke(xe),interrupt:ke(xe,{interrupt:!0})},d={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:I,sliceSerialize:x,now:N,defineSkip:B,write:k},$=r.tokenize.call(d,m),E;return r.resolveAll&&a.push(r),d;function k(de){return l=br(l,de),X(),l[l.length-1]!==null?[]:(Le(r,0),d.events=Yn(a,d.events,d),d.events)}function x(de,Ce){return uv(I(de),Ce)}function I(de){return lv(l,de)}function N(){return Object.assign({},i)}function B(de){s[de.line]=de.column,_e()}function X(){let de;for(;i._index<l.length;){let Ce=l[i._index];if(typeof Ce=="string")for(de=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===de&&i._bufferIndex<Ce.length;)se(Ce.charCodeAt(i._bufferIndex));else se(Ce)}}function se(de){c=void 0,E=de,$=$(de)}function $e(de){fe(de)?(i.line++,i.column=1,i.offset+=de===-3?2:1,_e()):de!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===l[i._index].length&&(i._bufferIndex=-1,i._index++)),d.previous=de,c=!0}function he(de,Ce){let ot=Ce||{};return ot.type=de,ot.start=N(),d.events.push(["enter",ot,d]),f.push(ot),ot}function ne(de){let Ce=f.pop();return Ce.end=N(),d.events.push(["exit",Ce,d]),Ce}function be(de,Ce){Le(de,Ce.from)}function xe(de,Ce){Ce.restore()}function ke(de,Ce){return ot;function ot(Y,Ct,Ze){let yt,tt,M,V;return Array.isArray(Y)?Rt(Y):"tokenize"in Y?Rt([Y]):Jt(Y);function Jt(st){return Fr;function Fr(ye){let wr=ye!==null&&st[ye],zt=ye!==null&&st.null,Ir=[...Array.isArray(wr)?wr:wr?[wr]:[],...Array.isArray(zt)?zt:zt?[zt]:[]];return Rt(Ir)(ye)}}function Rt(st){return yt=st,tt=0,st.length===0?Ze:bt(st[tt])}function bt(st){return Fr;function Fr(ye){return V=Ee(),M=st,st.partial||(d.currentConstruct=st),st.name&&d.parser.constructs.disable.null.includes(st.name)?At(ye):st.tokenize.call(Ce?Object.assign(Object.create(d),Ce):d,m,St,At)(ye)}}function St(st){return c=!0,de(M,V),Ct}function At(st){return c=!0,V.restore(),++tt<yt.length?bt(yt[tt]):Ze}}}function Le(de,Ce){de.resolveAll&&!a.includes(de)&&a.push(de),de.resolve&&Ft(d.events,Ce,d.events.length-Ce,de.resolve(d.events.slice(Ce),d)),de.resolveTo&&(d.events=de.resolveTo(d.events,d))}function Ee(){let de=N(),Ce=d.previous,ot=d.currentConstruct,Y=d.events.length,Ct=Array.from(f);return{restore:Ze,from:Y};function Ze(){i=de,d.previous=Ce,d.currentConstruct=ot,d.events.length=Y,f=Ct,_e()}}function _e(){i.line in s&&i.column<2&&(i.column=s[i.line],i.offset+=s[i.line]-1)}}function lv(t,r){let e=r.start._index,i=r.start._bufferIndex,s=r.end._index,a=r.end._bufferIndex,l;return e===s?l=[t[e].slice(i,a)]:(l=t.slice(e,s),i>-1&&(l[0]=l[0].slice(i)),a>0&&l.push(t[s].slice(0,a))),l}function uv(t,r){let e=-1,i=[],s;for(;++e<t.length;){let a=t[e],l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
|
|
35
|
+
`)}),":separator":St,row:St,cell:St,":toc":St,":toc-list":St,":toc-item":St,":image":(t,r)=>(e,n,o)=>{t.writeRaw(``)}};var Bw=Mr(wd());var Nd=Mr(xd());var Ww=()=>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},Cd=Ww;var os=Mr(Ed());var Qw=()=>t=>{let r=Vr({":para":(e,n,o)=>Vr({":text":(s,l)=>os.parse(s.value),":verbatim":(s,l)=>os.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=er(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",w=[...s.getAllValues("allow"),...l?["NONE"]:[]];if(ns(e.name)||(l||f||c||g||h)&&w.length==0)return e;let E=w.sort(),C=Vr({":verbatim":(x,O)=>E.length==1&&E.includes("NONE")?x:os.parse(x.value,{allowed:E}),":text":(x,O)=>os.parse(x.value,{allowed:E}),":block":(x,O)=>r(x,{...O})});return{...e,content:C(e.content,{...n})}}});return r(t,{})},_d=Qw;var Sd=()=>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;let o=(e.config||[]).find(s=>s.name==="checked");if(o&&(e.checked=o.value!==!1&&o.value!==0&&o.value!=="0"),e.content[0]){let s=e.content[0];if(s.text){if(!o){let c=/^\[( |x)\]\s*/,g=c.exec(s.text);g&&(e.checked=g[1]==="x",s.text=s.text.replace(c,""),s.type==="para"&&(s.content=[s.text]),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let l=/^(\s*#\s*)/;l.exec(s.text)&&(s.text=s.text.replace(l,""),s.type==="para"&&(s.content=[s.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}r(e.content)}};return r(t),t};var Pd=()=>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 Fd=()=>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 Td=()=>t=>{let r=(l,f)=>(l.name==="item"||l.name==="defn")&&f.name===l.name&&l.level===f.level&&e(l)===e(f)&&n(l)===n(f),e=l=>Boolean(er(l,{}).exists("numbered")),n=l=>l.checked!==void 0,o=(l,f=1)=>{let c=C=>C.length>0&&C[C.length-1].type==="list",g=C=>{if(c(C))return C[C.length-1]},h=(C,x)=>x.name&&x.name==="item"&&x.type&&x.type==="block"||x.type==="blankline",w={};return l.reduce((C,x)=>x.name==="item"&&x.type==="block"&&x.level<f?[...C,x]:(x.name==="item"&&x.type==="block"&&(!c(C)||Number(x.level)===f&&g(C).list!==(e(x)?"ordered":n(x)?"task":"itemized"))&&C.push({type:"list",level:x.level,content:[],list:e(x)?"ordered":n(x)?"task":"itemized"}),c(C)&&h(g(C),x)?g(C).content.push(x):C.push(x),C),[]).map(C=>(C.content&&C.type!=="fcode"&&(C.content=o(C.content,Number(C.level||0)+1)),C))};return t=(l=>(Array.isArray(l)?l=o(l):l.type==="block"&&l.name!=="table"&&(l.content=o(l.content)),l))(t),t};var Id=()=>t=>Vr({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],w=g.value.split(`
|
|
36
|
+
`),E=w.shift(),C={type:"para",name:"term",text:E,content:[{type:"text",value:E}]};s.push(C),w.length==1&&w[0]===""||(g.value=w.join(`
|
|
37
|
+
`),c.text=g.value,s.push(c)),l=!0}else s.push(c)}return e.content=s,e}})(t,{});function ss(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(ss(e)):r.concat(e),[])}var Fu=(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("")},Xw=(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 w="1".repeat(h.index)+"0".repeat(h[0].length);c.push(w+"1".repeat(e-w.length))}return c.reduce((w,E)=>Fu(w,E,(C,x)=>C&x),"1".repeat(e))}).map(l=>Fu(l,"",f=>f==0?1:0)).reduce((l,f)=>Fu(l,f,(c,g)=>c&g),"1".repeat(e))},Tu=(t,r)=>{let n=ss(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},Yw=t=>{if(!Array.isArray(t.content)||t.content.length===0||!t.content.some(n=>n&&n.type==="block"&&n.name!=="cell"&&n.name!=="blankline"))return t;let e=t.content.map(n=>!n||n.type!=="block"||n.name==="cell"||n.name==="blankline"?n:{type:"block",name:"cell",content:[n],margin:n.margin||""});return{...t,content:e}},ek=t=>Array.isArray(t.content)&&t.content.some(r=>r&&r.type==="block"&&(r.name==="row"||r.name==="cell")),Od=()=>t=>Vr({table:e=>{if(ek(e)){let R=(e.content||[]).map(j=>j&&j.name==="row"?Yw(j):j);return{...e,content:R}}let n=[],o=R=>{n.push(R.value)},s=[];if(Vr({"row:text":o,"head:text":o,":separator":R=>{s.push(R.text)}})(e),!n.length)return e;let l=R=>R.split(/\n/).filter(j=>j.length>0),f=ss(n.map(l)),c=ss(s.map(l)),g=[];Vr({"row:text":R=>{g.push(R.value)}})(e);let h=Xw(f,c),w=(R,j,Y={})=>({...Y,name:R,type:"block",content:Array.isArray(j)?j:[j]}),E=R=>w("row",R),C=R=>w("row",R,{config:[{name:"header",value:!0,type:"boolean"}]}),x=R=>w("cell",{type:"text",value:R});return Vr({"row:text":R=>{if(g.length==1)return ss([R.value].map(l)).map(ae=>{let $e=Tu(ae,h);return E($e.map(x))});let j=Tu(R.value,h);return E(j.map(x))},"head:text":R=>{let j=Tu(R.value,h);return C(j.map(x))}})(e)}})(t,{});var NC={":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(`
|
|
38
|
+
`),l=r(s),f=ua()(l);f[0].type==="para"?o(f[0].content,n):o(f,n)}},"C<>":Me("<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<>":Me("<strong>","</strong>"),"I<>":Me("<em>","</em>"),"R<>":Me("<var>","</var>"),"K<>":Me("<kbd>","</kbd>"),"O<>":Me("<del>","</del>"),"H<>":Me("<sup>","</sup>"),"J<>":Me("<sub>","</sub>"),"L<>":Ir((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),Me(`<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," ").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":Me("<samp>","</samp>"),"U<>":Me("<u>","</u>"),"V<>":wr,"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<>":St,pod:wr,":code":Me("<pre><code>","</code></pre>"),code:Or(Me("<pre><code>","</code></pre>")),data:St,":verbatim":(t,r)=>(e,n,o)=>{e.error&&t.emit("errors",e.location),o(e.value)},":blankline":St,":ambient":St,":config":Ir((t,r)=>(r.hasOwnProperty("config")||(r.config={}),r.config[t.name]=t.config,St)),":alias":Ir((t,r)=>(r.hasOwnProperty("alias")||(r.alias={}),r.alias[t.name]=t.replacement,St)),para:Or(wr),":para":Me("<p>","</p>"),"head:block":la({":para":wr},Ir((t,r)=>{let{level:e}=t,n=md(t,r);return Me(`<h${e}${n?` id="${n}"`:""}>`,`</h${e}>`)})),":list":Ir((t,r)=>t.list==="ordered"?Me("<ol>","</ol>"):t.list==="variable"?Me("<dl>","</dl>"):t.list==="task"?Me('<ul class="task-list">',"</ul>"):Me("<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)),e.checked!==void 0?(t.writeRaw('<li class="task-list-item">'),t.writeRaw(e.checked?'<input type="checkbox" disabled checked> ':'<input type="checkbox" disabled> ')):t.writeRaw("<li>"),o(e.content,n),t.writeRaw("</li>")},"comment:block":St,defn:Me("","</dd>"),"term:para":Me("<dt>","</dt><dd>"),nested:Or(wr,1),output:Or(Me("<pre><samp>","</samp></pre>"),1),input:Or(Me("<pre><kbd>","</kbd></pre>"),1),"table:block":Or((t,r)=>(e,n,o)=>{let s=er(e,n);t.writeRaw("<table>"),s.exists("caption")&&(t.writeRaw("<caption>"),t.write(s.getFirstValue("caption")),t.writeRaw("</caption>"));let l={...n,...e.align&&{"table.align":e.align}},f=e.content||[],c=O=>O&&O.name==="row"&&Array.isArray(O.config)&&O.config.some(R=>R.name==="header"&&R.value!==!1);if(!f.some(c)){o(f,l),t.writeRaw("</table>");return}let h=f.filter(O=>O&&O.name==="row"),w=f.filter(O=>!O||O.name!=="row"),E=0;for(;E<h.length&&c(h[E]);)E++;let C=h.slice(0,E),x=h.slice(E);o(w,l),t.writeRaw("<thead>"),o(C,l),t.writeRaw("</thead>"),x.length>0&&(t.writeRaw("<tbody>"),o(x,l),t.writeRaw("</tbody>")),t.writeRaw("</table>")}),":separator":St,row:(t,r)=>(e,n,o)=>{let s=er(e,n),l=s.exists("header")&&s.getFirstValue("header")!==!1;t.writeRaw("<tr>"),o(e.content,{...n,__row_header:l,cellinRow:0}),t.writeRaw("</tr>")},cell:(t,r)=>(e,n,o)=>{let s=n.__row_header?"th":"td",l=er(e,n),f=l.exists("colspan")?l.getFirstValue("colspan"):null,c=l.exists("rowspan")?l.getFirstValue("rowspan"):null,g=(w=>{if(!Array.isArray(w))return null;let E=n.cellinRow++;return w[E]||null})(n["table.align"]),h="";f!==null&&Number(f)>1&&(h+=` colspan="${f}"`),c!==null&&Number(c)>1&&(h+=` rowspan="${c}"`),g&&["left","right","center","justify"].includes(g)&&(h+=` style="text-align:${g}"`),t.writeRaw(`<${s}${h}>`),o(e.content,n),t.writeRaw(`</${s}>`)},":toc":(t,r)=>(e,n,o)=>{t.writeRaw('<div className="toc">');let s=er(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":Ir((t,r)=>Me(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Ir((t,r)=>Me('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,n,o)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var YC=new Rd.default({strict:!0,allowUnionTypes:!0});function kd(){var t=[];return r.use=e,r.parse=n,r.use(Cd),r.use(Sd),r.use(Pd),r.use(Id),r.use(Od),r.use(_d),r.use(Td),r.use(Fd),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=Nd.parse(o,{podMode:f});if(!l)for(let g=0;g<t.length;g++){let h=t[g];c=h(s)(c)}return c}}var $d=kd().parse;var{version:eA}=qd();function Iu(t){if(t)throw t}var im=Mr(Ld(),1),zu=Mr(Kd(),1);function as(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 Wd(){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],w=-1;if(c){l(c);return}for(;++w<o.length;)(g[w]===null||g[w]===void 0)&&(g[w]=o[w]);o=g,h?ik(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 ik(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 em=Mr(Zd(),1);function Fi(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Qd(t.position):"start"in t||"end"in t?Qd(t):"line"in t||"column"in t?Ou(t):""}function Ou(t){return Xd(t&&t.line)+":"+Xd(t&&t.column)}function Qd(t){return Ou(t&&t.start)+"-"+Ou(t&&t.end)}function Xd(t){return t&&typeof t=="number"?t:1}var kr=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}};kr.prototype.file="";kr.prototype.name="";kr.prototype.reason="";kr.prototype.message="";kr.prototype.stack="";kr.prototype.fatal=null;kr.prototype.column=null;kr.prototype.line=null;kr.prototype.source=null;kr.prototype.ruleId=null;kr.prototype.position=null;var rn=Mr(require("path"),1);var qu=Mr(require("process"),1);var Ru=require("url");function ca(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var Nu=["history","path","basename","stem","extname","dirname"],ls=class{constructor(r){let e;r?typeof r=="string"||(0,em.default)(r)?e={value:r}:ca(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=qu.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<Nu.length;){let s=Nu[n];s in e&&e[s]!==void 0&&(this[s]=s==="history"?[...e[s]]:e[s])}let o;for(o in e)Nu.includes(o)||(this[o]=e[o])}get path(){return this.history[this.history.length-1]}set path(r){ca(r)&&(r=(0,Ru.fileURLToPath)(r)),Lu(r,"path"),this.path!==r&&this.history.push(r)}get dirname(){return typeof this.path=="string"?rn.default.dirname(this.path):void 0}set dirname(r){Yd(this.basename,"dirname"),this.path=rn.default.join(r||"",this.basename)}get basename(){return typeof this.path=="string"?rn.default.basename(this.path):void 0}set basename(r){Lu(r,"basename"),Du(r,"basename"),this.path=rn.default.join(this.dirname||"",r)}get extname(){return typeof this.path=="string"?rn.default.extname(this.path):void 0}set extname(r){if(Du(r,"extname"),Yd(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=rn.default.join(this.dirname,this.stem+(r||""))}get stem(){return typeof this.path=="string"?rn.default.basename(this.path,this.extname):void 0}set stem(r){Lu(r,"stem"),Du(r,"stem"),this.path=rn.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,n){let o=new kr(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 Du(t,r){if(t&&t.includes(rn.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+rn.default.sep+"`")}function Lu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Yd(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Vu=sm().freeze(),om={}.hasOwnProperty;function sm(){let t=Wd(),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=w,s.runSync=E,s.process=C,s.processSync=x,s;function s(){let O=sm(),R=-1;for(;++R<r.length;)O.use(...r[R]);return O.data((0,zu.default)(!0,{},e)),O}function l(O,R){return typeof O=="string"?arguments.length===2?(Mu("data",n),e[O]=R,s):om.call(e,O)&&e[O]||null:O?(Mu("data",n),e=O,s):e}function f(){if(n)return s;for(;++o<r.length;){let[O,...R]=r[o];if(R[0]===!1)continue;R[0]===!0&&(R[0]=void 0);let j=O.call(s,...R);typeof j=="function"&&t.use(j)}return n=!0,o=Number.POSITIVE_INFINITY,s}function c(O,...R){let j;if(Mu("use",n),O!=null)if(typeof O=="function")ge(O,...R);else if(typeof O=="object")Array.isArray(O)?$e(O):ae(O);else throw new TypeError("Expected usable value, not `"+O+"`");return j&&(e.settings=Object.assign(e.settings||{},j)),s;function Y(oe){if(typeof oe=="function")ge(oe);else if(typeof oe=="object")if(Array.isArray(oe)){let[be,...Ae]=oe;ge(be,...Ae)}else ae(oe);else throw new TypeError("Expected usable value, not `"+oe+"`")}function ae(oe){$e(oe.plugins),oe.settings&&(j=Object.assign(j||{},oe.settings))}function $e(oe){let be=-1;if(oe!=null)if(Array.isArray(oe))for(;++be<oe.length;){let Ae=oe[be];Y(Ae)}else throw new TypeError("Expected a list of plugins, not `"+oe+"`")}function ge(oe,be){let Ae=-1,ke;for(;++Ae<r.length;)if(r[Ae][0]===oe){ke=r[Ae];break}ke?(as(ke[1])&&as(be)&&(be=(0,zu.default)(!0,ke[1],be)),ke[1]=be):r.push([...arguments])}}function g(O){s.freeze();let R=us(O),j=s.Parser;return ju("parse",j),tm(j,"parse")?new j(String(R),R).parse():j(String(R),R)}function h(O,R){s.freeze();let j=us(R),Y=s.Compiler;return Bu("stringify",Y),rm(O),tm(Y,"compile")?new Y(O,j).compile():Y(O,j)}function w(O,R,j){if(rm(O),s.freeze(),!j&&typeof R=="function"&&(j=R,R=void 0),!j)return new Promise(Y);Y(null,j);function Y(ae,$e){t.run(O,us(R),ge);function ge(oe,be,Ae){be=be||O,oe?$e(oe):ae?ae(be):j(null,be,Ae)}}}function E(O,R){let j,Y;return s.run(O,R,ae),nm("runSync","run",Y),j;function ae($e,ge){Iu($e),j=ge,Y=!0}}function C(O,R){if(s.freeze(),ju("process",s.Parser),Bu("process",s.Compiler),!R)return new Promise(j);j(null,R);function j(Y,ae){let $e=us(O);s.run(s.parse($e),$e,(oe,be,Ae)=>{if(oe||!be||!Ae)ge(oe);else{let ke=s.stringify(be,Ae);ke==null||(ak(ke)?Ae.value=ke:Ae.result=ke),ge(oe,Ae)}});function ge(oe,be){oe||!be?ae(oe):Y?Y(be):R(null,be)}}}function x(O){let R;s.freeze(),ju("processSync",s.Parser),Bu("processSync",s.Compiler);let j=us(O);return s.process(j,Y),nm("processSync","process",R),j;function Y(ae){R=!0,Iu(ae)}}}function tm(t,r){return typeof t=="function"&&t.prototype&&(ok(t.prototype)||r in t.prototype)}function ok(t){let r;for(r in t)if(om.call(t,r))return!0;return!1}function ju(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Bu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Mu(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 rm(t){if(!as(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function nm(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function us(t){return sk(t)?t:new ls(t)}function sk(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function ak(t){return typeof t=="string"||(0,im.default)(t)}function lm(t,r){var{includeImageAlt:e=!0}=r||{};return um(t,e)}function um(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&am(t.children,r)||Array.isArray(t)&&am(t,r))||""}function am(t,r){for(var e=[],n=-1;++n<t.length;)e[n]=um(t[n],r);return e.join("")}function It(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 vr(t,r){return t.length>0?(It(t,t.length,0,r),t):r}var fm={}.hasOwnProperty;function pa(t){let r={},e=-1;for(;++e<t.length;)lk(r,t[e]);return r}function lk(t,r){let e;for(e in r){let o=(fm.call(t,e)?t[e]:void 0)||(t[e]={}),s=r[e],l;for(l in s){fm.call(o,l)||(o[l]=[]);let f=s[l];uk(o[l],Array.isArray(f)?f:f?[f]:[])}}}function uk(t,r){let e=-1,n=[];for(;++e<r.length;)(r[e].add==="after"?t:n).push(r[e]);It(t,0,0,n)}var cm=/[!-/:-@[-`{-~\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 fr=ni(/[A-Za-z]/),Ti=ni(/\d/),pm=ni(/[\dA-Fa-f]/),Vt=ni(/[\dA-Za-z]/),dm=ni(/[!-/:-@[-`{-~]/),Uu=ni(/[#-'*+\--9=?A-Z^-~]/);function ri(t){return t!==null&&(t<32||t===127)}function tt(t){return t!==null&&(t<0||t===32)}function ce(t){return t!==null&&t<-2}function Ue(t){return t===-2||t===-1||t===32}var Ii=ni(/\s/),Oi=ni(cm);function ni(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function ve(t,r,e,n){let o=n?n-1:Number.POSITIVE_INFINITY,s=0;return l;function l(c){return Ue(c)?(t.enter(e),f(c)):r(c)}function f(c){return Ue(c)&&s++<o?(t.consume(c),f):(t.exit(e),r(c))}}var mm={tokenize:fk};function fk(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"),ve(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 ce(f)?(t.consume(f),t.exit("chunkText"),s):(t.consume(f),l)}}var gm={tokenize:ck},hm={tokenize:pk};function ck(t){let r=this,e=[],n=0,o,s,l;return f;function f(ae){if(n<e.length){let $e=e[n];return r.containerState=$e[1],t.attempt($e[0].continuation,c,g)(ae)}return g(ae)}function c(ae){if(n++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&Y();let $e=r.events.length,ge=$e,oe;for(;ge--;)if(r.events[ge][0]==="exit"&&r.events[ge][1].type==="chunkFlow"){oe=r.events[ge][1].end;break}j(n);let be=$e;for(;be<r.events.length;)r.events[be][1].end=Object.assign({},oe),be++;return It(r.events,ge+1,0,r.events.slice($e)),r.events.length=be,g(ae)}return f(ae)}function g(ae){if(n===e.length){if(!o)return E(ae);if(o.currentConstruct&&o.currentConstruct.concrete)return x(ae);r.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(hm,h,w)(ae)}function h(ae){return o&&Y(),j(n),E(ae)}function w(ae){return r.parser.lazy[r.now().line]=n!==e.length,l=r.now().offset,x(ae)}function E(ae){return r.containerState={},t.attempt(hm,C,x)(ae)}function C(ae){return n++,e.push([r.currentConstruct,r.containerState]),E(ae)}function x(ae){if(ae===null){o&&Y(),j(0),t.consume(ae);return}return o=o||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:o}),O(ae)}function O(ae){if(ae===null){R(t.exit("chunkFlow"),!0),j(0),t.consume(ae);return}return ce(ae)?(t.consume(ae),R(t.exit("chunkFlow")),n=0,r.interrupt=void 0,f):(t.consume(ae),O)}function R(ae,$e){let ge=r.sliceStream(ae);if($e&&ge.push(null),ae.previous=s,s&&(s.next=ae),s=ae,o.defineSkip(ae.start),o.write(ge),r.parser.lazy[ae.start.line]){let oe=o.events.length;for(;oe--;)if(o.events[oe][1].start.offset<l&&(!o.events[oe][1].end||o.events[oe][1].end.offset>l))return;let be=r.events.length,Ae=be,ke,He;for(;Ae--;)if(r.events[Ae][0]==="exit"&&r.events[Ae][1].type==="chunkFlow"){if(ke){He=r.events[Ae][1].end;break}ke=!0}for(j(n),oe=be;oe<r.events.length;)r.events[oe][1].end=Object.assign({},He),oe++;It(r.events,Ae+1,0,r.events.slice(be)),r.events.length=oe}}function j(ae){let $e=e.length;for(;$e-- >ae;){let ge=e[$e];r.containerState=ge[1],ge[0].exit.call(r,t)}e.length=ae}function Y(){o.write([null]),s=void 0,o=void 0,r.containerState._closeFlow=void 0}}function pk(t,r,e){return ve(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ho(t){if(t===null||tt(t)||Ii(t))return 1;if(Oi(t))return 2}function ii(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 fs={name:"attention",tokenize:mk,resolveAll:dk};function dk(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 w=Object.assign({},t[n][1].end),E=Object.assign({},t[e][1].start);ym(w,-c),ym(E,c),l={type:c>1?"strongSequence":"emphasisSequence",start:w,end:Object.assign({},t[n][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:E},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=vr(g,[["enter",t[n][1],r],["exit",t[n][1],r]])),g=vr(g,[["enter",o,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=vr(g,ii(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),g=vr(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=vr(g,[["enter",t[e][1],r],["exit",t[e][1],r]])):h=0,It(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 mk(t,r){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,o=ho(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=ho(c),w=!h||h===2&&o||e.includes(c),E=!o||o===2&&h||e.includes(n);return g._open=Boolean(s===42?w:w&&(o||!E)),g._close=Boolean(s===42?E:E&&(h||!w)),r(c)}}function ym(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var Hu={name:"autolink",tokenize:hk};function hk(t,r,e){let n=1;return o;function o(x){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(x){return fr(x)?(t.consume(x),l):Uu(x)?g(x):e(x)}function l(x){return x===43||x===45||x===46||Vt(x)?f(x):g(x)}function f(x){return x===58?(t.consume(x),c):(x===43||x===45||x===46||Vt(x))&&n++<32?(t.consume(x),f):g(x)}function c(x){return x===62?(t.exit("autolinkProtocol"),C(x)):x===null||x===32||x===60||ri(x)?e(x):(t.consume(x),c)}function g(x){return x===64?(t.consume(x),n=0,h):Uu(x)?(t.consume(x),g):e(x)}function h(x){return Vt(x)?w(x):e(x)}function w(x){return x===46?(t.consume(x),n=0,h):x===62?(t.exit("autolinkProtocol").type="autolinkEmail",C(x)):E(x)}function E(x){return(x===45||Vt(x))&&n++<63?(t.consume(x),x===45?E:w):e(x)}function C(x){return t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.exit("autolink"),r}}var Sn={tokenize:gk,partial:!0};function gk(t,r,e){return ve(t,n,"linePrefix");function n(o){return o===null||ce(o)?r(o):e(o)}}var da={name:"blockQuote",tokenize:yk,continuation:{tokenize:$k},exit:bk};function yk(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 Ue(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function $k(t,r,e){return ve(t,t.attempt(da,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bk(t){t.exit("blockQuote")}var ma={name:"characterEscape",tokenize:wk};function wk(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 dm(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(s)}}var Gu={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:`
|
|
39
|
+
`,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 kk={}.hasOwnProperty;function go(t){return kk.call(Gu,t)?Gu[t]:!1}var ha={name:"characterReference",tokenize:vk};function vk(t,r,e){let n=this,o=0,s,l;return f;function f(w){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(w),t.exit("characterReferenceMarker"),c}function c(w){return w===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(w),t.exit("characterReferenceMarkerNumeric"),g):(t.enter("characterReferenceValue"),s=31,l=Vt,h(w))}function g(w){return w===88||w===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(w),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,l=pm,h):(t.enter("characterReferenceValue"),s=7,l=Ti,h(w))}function h(w){let E;return w===59&&o?(E=t.exit("characterReferenceValue"),l===Vt&&!go(n.sliceSerialize(E))?e(w):(t.enter("characterReferenceMarker"),t.consume(w),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l(w)&&o++<s?(t.consume(w),h):e(w)}}var ga={name:"codeFenced",tokenize:xk,concrete:!0};function xk(t,r,e){let n=this,o={tokenize:ge,partial:!0},s={tokenize:$e,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(oe){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g=oe,w(oe)}function w(oe){return oe===g?(t.consume(oe),c++,w):(t.exit("codeFencedFenceSequence"),c<3?e(oe):ve(t,E,"whitespace")(oe))}function E(oe){return oe===null||ce(oe)?R(oe):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),C(oe))}function C(oe){return oe===null||tt(oe)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),ve(t,x,"whitespace")(oe)):oe===96&&oe===g?e(oe):(t.consume(oe),C)}function x(oe){return oe===null||ce(oe)?R(oe):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),O(oe))}function O(oe){return oe===null||ce(oe)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),R(oe)):oe===96&&oe===g?e(oe):(t.consume(oe),O)}function R(oe){return t.exit("codeFencedFence"),n.interrupt?r(oe):j(oe)}function j(oe){return oe===null?ae(oe):ce(oe)?t.attempt(s,t.attempt(o,ae,f?ve(t,j,"linePrefix",f+1):j),ae)(oe):(t.enter("codeFlowValue"),Y(oe))}function Y(oe){return oe===null||ce(oe)?(t.exit("codeFlowValue"),j(oe)):(t.consume(oe),Y)}function ae(oe){return t.exit("codeFenced"),r(oe)}function $e(oe,be,Ae){let ke=this;return He;function He(Fe){return oe.enter("lineEnding"),oe.consume(Fe),oe.exit("lineEnding"),Pe}function Pe(Fe){return ke.parser.lazy[ke.now().line]?Ae(Fe):be(Fe)}}function ge(oe,be,Ae){let ke=0;return ve(oe,He,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function He(me){return oe.enter("codeFencedFence"),oe.enter("codeFencedFenceSequence"),Pe(me)}function Pe(me){return me===g?(oe.consume(me),ke++,Pe):ke<c?Ae(me):(oe.exit("codeFencedFenceSequence"),ve(oe,Fe,"whitespace")(me))}function Fe(me){return me===null||ce(me)?(oe.exit("codeFencedFence"),be(me)):Ae(me)}}}var cs={name:"codeIndented",tokenize:Ak},Ck={tokenize:Ek,partial:!0};function Ak(t,r,e){let n=this;return o;function o(g){return t.enter("codeIndented"),ve(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):ce(g)?t.attempt(Ck,l,c)(g):(t.enter("codeFlowValue"),f(g))}function f(g){return g===null||ce(g)?(t.exit("codeFlowValue"),l(g)):(t.consume(g),f)}function c(g){return t.exit("codeIndented"),r(g)}}function Ek(t,r,e){let n=this;return o;function o(l){return n.parser.lazy[n.now().line]?e(l):ce(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o):ve(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):ce(l)?o(l):e(l)}}var Ku={name:"codeText",tokenize:Pk,resolve:_k,previous:Sk};function _k(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 Sk(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Pk(t,r,e){let n=this,o=0,s,l;return f;function f(E){return t.enter("codeText"),t.enter("codeTextSequence"),c(E)}function c(E){return E===96?(t.consume(E),o++,c):(t.exit("codeTextSequence"),g(E))}function g(E){return E===null?e(E):E===96?(l=t.enter("codeTextSequence"),s=0,w(E)):E===32?(t.enter("space"),t.consume(E),t.exit("space"),g):ce(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),g):(t.enter("codeTextData"),h(E))}function h(E){return E===null||E===32||E===96||ce(E)?(t.exit("codeTextData"),g(E)):(t.consume(E),h)}function w(E){return E===96?(t.consume(E),s++,w):s===o?(t.exit("codeTextSequence"),t.exit("codeText"),r(E)):(l.type="codeTextData",h(E))}}function ya(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,Fk(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),It(t,o,e-o+1,f))}}return!g}function Fk(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,w,E=-1,C=e,x=0,O=0,R=[O];for(;C;){for(;t[++o][1]!==C;);s.push(o),C._tokenizer||(h=n.sliceStream(C),C.next||h.push(null),w&&l.defineSkip(C.start),C._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(h),C._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),w=C,C=C.next}for(C=e;++E<f.length;)f[E][0]==="exit"&&f[E-1][0]==="enter"&&f[E][1].type===f[E-1][1].type&&f[E][1].start.line!==f[E][1].end.line&&(O=E+1,R.push(O),C._tokenizer=void 0,C.previous=void 0,C=C.next);for(l.events=[],C?(C._tokenizer=void 0,C.previous=void 0):R.pop(),E=R.length;E--;){let j=f.slice(R[E],R[E+1]),Y=s.pop();c.unshift([Y,Y+j.length-1]),It(t,Y,2,j)}for(E=-1;++E<c.length;)g[x+c[E][0]]=x+c[E][1],x+=c[E][1]-c[E][0]-1;return g}var Wu={tokenize:Ok,resolve:Ik},Tk={tokenize:qk,partial:!0};function Ik(t){return ya(t),t}function Ok(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):ce(f)?t.check(Tk,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 qk(t,r,e){let n=this;return o;function o(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),ve(t,s,"linePrefix")}function s(l){if(l===null||ce(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 $a(t,r,e,n,o,s,l,f,c){let g=c||Number.POSITIVE_INFINITY,h=0;return w;function w(j){return j===60?(t.enter(n),t.enter(o),t.enter(s),t.consume(j),t.exit(s),E):j===null||j===41||ri(j)?e(j):(t.enter(n),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),O(j))}function E(j){return j===62?(t.enter(s),t.consume(j),t.exit(s),t.exit(o),t.exit(n),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),C(j))}function C(j){return j===62?(t.exit("chunkString"),t.exit(f),E(j)):j===null||j===60||ce(j)?e(j):(t.consume(j),j===92?x:C)}function x(j){return j===60||j===62||j===92?(t.consume(j),C):C(j)}function O(j){return j===40?++h>g?e(j):(t.consume(j),O):j===41?h--?(t.consume(j),O):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(j)):j===null||tt(j)?h?e(j):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(j)):ri(j)?e(j):(t.consume(j),j===92?R:O)}function R(j){return j===40||j===41||j===92?(t.consume(j),O):O(j)}}function ba(t,r,e,n,o,s){let l=this,f=0,c;return g;function g(C){return t.enter(n),t.enter(o),t.consume(C),t.exit(o),t.enter(s),h}function h(C){return C===null||C===91||C===93&&!c||C===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(C):C===93?(t.exit(s),t.enter(o),t.consume(C),t.exit(o),t.exit(n),r):ce(C)?(t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),h):(t.enter("chunkString",{contentType:"string"}),w(C))}function w(C){return C===null||C===91||C===93||ce(C)||f++>999?(t.exit("chunkString"),h(C)):(t.consume(C),c=c||!Ue(C),C===92?E:w)}function E(C){return C===91||C===92||C===93?(t.consume(C),f++,w):w(C)}}function wa(t,r,e,n,o,s){let l;return f;function f(E){return t.enter(n),t.enter(o),t.consume(E),t.exit(o),l=E===40?41:E,c}function c(E){return E===l?(t.enter(o),t.consume(E),t.exit(o),t.exit(n),r):(t.enter(s),g(E))}function g(E){return E===l?(t.exit(s),c(l)):E===null?e(E):ce(E)?(t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),ve(t,g,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),h(E))}function h(E){return E===l||E===null||ce(E)?(t.exit("chunkString"),g(E)):(t.consume(E),E===92?w:h)}function w(E){return E===l||E===92?(t.consume(E),h):h(E)}}function qi(t,r){let e;return n;function n(o){return ce(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e=!0,n):Ue(o)?ve(t,n,e?"linePrefix":"lineSuffix")(o):r(o)}}function cr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Ju={name:"definition",tokenize:Nk},Rk={tokenize:Dk,partial:!0};function Nk(t,r,e){let n=this,o;return s;function s(c){return t.enter("definition"),ba.call(n,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return o=cr(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,$a(t,t.attempt(Rk,ve(t,f,"whitespace"),ve(t,f,"whitespace")),e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):e(c)}function f(c){return c===null||ce(c)?(t.exit("definition"),n.parser.defined.includes(o)||n.parser.defined.push(o),r(c)):e(c)}}function Dk(t,r,e){return n;function n(l){return tt(l)?qi(t,o)(l):e(l)}function o(l){return l===34||l===39||l===40?wa(t,ve(t,s,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function s(l){return l===null||ce(l)?r(l):e(l)}}var Zu={name:"hardBreakEscape",tokenize:Lk};function Lk(t,r,e){return n;function n(s){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(s),o}function o(s){return ce(s)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(s)):e(s)}}var Qu={name:"headingAtx",tokenize:Bk,resolve:jk};function jk(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"},It(t,n,e-n+1,[["enter",o,r],["enter",s,r],["exit",s,r],["exit",o,r]])),t}function Bk(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||tt(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||ce(h)?(t.exit("atxHeading"),r(h)):Ue(h)?ve(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||tt(h)?(t.exit("atxHeadingText"),f(h)):(t.consume(h),g)}}var $m=["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"],Xu=["pre","script","style","textarea"];var Yu={name:"htmlFlow",tokenize:Vk,resolveTo:zk,concrete:!0},Mk={tokenize:Uk,partial:!0};function zk(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 Vk(t,r,e){let n=this,o,s,l,f,c;return g;function g(H){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(H),h}function h(H){return H===33?(t.consume(H),w):H===47?(t.consume(H),x):H===63?(t.consume(H),o=3,n.interrupt?r:$t):fr(H)?(t.consume(H),l=String.fromCharCode(H),s=!0,O):e(H)}function w(H){return H===45?(t.consume(H),o=2,E):H===91?(t.consume(H),o=5,l="CDATA[",f=0,C):fr(H)?(t.consume(H),o=4,n.interrupt?r:$t):e(H)}function E(H){return H===45?(t.consume(H),n.interrupt?r:$t):e(H)}function C(H){return H===l.charCodeAt(f++)?(t.consume(H),f===l.length?n.interrupt?r:Pe:C):e(H)}function x(H){return fr(H)?(t.consume(H),l=String.fromCharCode(H),O):e(H)}function O(H){return H===null||H===47||H===62||tt(H)?H!==47&&s&&Xu.includes(l.toLowerCase())?(o=1,n.interrupt?r(H):Pe(H)):$m.includes(l.toLowerCase())?(o=6,H===47?(t.consume(H),R):n.interrupt?r(H):Pe(H)):(o=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(H):s?Y(H):j(H)):H===45||Vt(H)?(t.consume(H),l+=String.fromCharCode(H),O):e(H)}function R(H){return H===62?(t.consume(H),n.interrupt?r:Pe):e(H)}function j(H){return Ue(H)?(t.consume(H),j):ke(H)}function Y(H){return H===47?(t.consume(H),ke):H===58||H===95||fr(H)?(t.consume(H),ae):Ue(H)?(t.consume(H),Y):ke(H)}function ae(H){return H===45||H===46||H===58||H===95||Vt(H)?(t.consume(H),ae):$e(H)}function $e(H){return H===61?(t.consume(H),ge):Ue(H)?(t.consume(H),$e):Y(H)}function ge(H){return H===null||H===60||H===61||H===62||H===96?e(H):H===34||H===39?(t.consume(H),c=H,oe):Ue(H)?(t.consume(H),ge):(c=null,be(H))}function oe(H){return H===null||ce(H)?e(H):H===c?(t.consume(H),Ae):(t.consume(H),oe)}function be(H){return H===null||H===34||H===39||H===60||H===61||H===62||H===96||tt(H)?$e(H):(t.consume(H),be)}function Ae(H){return H===47||H===62||Ue(H)?Y(H):e(H)}function ke(H){return H===62?(t.consume(H),He):e(H)}function He(H){return Ue(H)?(t.consume(H),He):H===null||ce(H)?Pe(H):e(H)}function Pe(H){return H===45&&o===2?(t.consume(H),rt):H===60&&o===1?(t.consume(H),ee):H===62&&o===4?(t.consume(H),nt):H===63&&o===3?(t.consume(H),$t):H===93&&o===5?(t.consume(H),Qe):ce(H)&&(o===6||o===7)?t.check(Mk,nt,Fe)(H):H===null||ce(H)?Fe(H):(t.consume(H),Pe)}function Fe(H){return t.exit("htmlFlowData"),me(H)}function me(H){return H===null?V(H):ce(H)?t.attempt({tokenize:Ee,partial:!0},me,V)(H):(t.enter("htmlFlowData"),Pe(H))}function Ee(H,Ut,Nt){return Ct;function Ct(At){return H.enter("lineEnding"),H.consume(At),H.exit("lineEnding"),Pt}function Pt(At){return n.parser.lazy[n.now().line]?Nt(At):Ut(At)}}function rt(H){return H===45?(t.consume(H),$t):Pe(H)}function ee(H){return H===47?(t.consume(H),l="",xt):Pe(H)}function xt(H){return H===62&&Xu.includes(l.toLowerCase())?(t.consume(H),nt):fr(H)&&l.length<8?(t.consume(H),l+=String.fromCharCode(H),xt):Pe(H)}function Qe(H){return H===93?(t.consume(H),$t):Pe(H)}function $t(H){return H===62?(t.consume(H),nt):H===45&&o===2?(t.consume(H),$t):Pe(H)}function nt(H){return H===null||ce(H)?(t.exit("htmlFlowData"),V(H)):(t.consume(H),nt)}function V(H){return t.exit("htmlFlow"),r(H)}}function Uk(t,r,e){return n;function n(o){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),t.attempt(Sn,r,e)}}var ef={name:"htmlText",tokenize:Hk};function Hk(t,r,e){let n=this,o,s,l,f;return c;function c(V){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(V),g}function g(V){return V===33?(t.consume(V),h):V===47?(t.consume(V),be):V===63?(t.consume(V),ge):fr(V)?(t.consume(V),He):e(V)}function h(V){return V===45?(t.consume(V),w):V===91?(t.consume(V),s="CDATA[",l=0,R):fr(V)?(t.consume(V),$e):e(V)}function w(V){return V===45?(t.consume(V),E):e(V)}function E(V){return V===null||V===62?e(V):V===45?(t.consume(V),C):x(V)}function C(V){return V===null||V===62?e(V):x(V)}function x(V){return V===null?e(V):V===45?(t.consume(V),O):ce(V)?(f=x,Qe(V)):(t.consume(V),x)}function O(V){return V===45?(t.consume(V),nt):x(V)}function R(V){return V===s.charCodeAt(l++)?(t.consume(V),l===s.length?j:R):e(V)}function j(V){return V===null?e(V):V===93?(t.consume(V),Y):ce(V)?(f=j,Qe(V)):(t.consume(V),j)}function Y(V){return V===93?(t.consume(V),ae):j(V)}function ae(V){return V===62?nt(V):V===93?(t.consume(V),ae):j(V)}function $e(V){return V===null||V===62?nt(V):ce(V)?(f=$e,Qe(V)):(t.consume(V),$e)}function ge(V){return V===null?e(V):V===63?(t.consume(V),oe):ce(V)?(f=ge,Qe(V)):(t.consume(V),ge)}function oe(V){return V===62?nt(V):ge(V)}function be(V){return fr(V)?(t.consume(V),Ae):e(V)}function Ae(V){return V===45||Vt(V)?(t.consume(V),Ae):ke(V)}function ke(V){return ce(V)?(f=ke,Qe(V)):Ue(V)?(t.consume(V),ke):nt(V)}function He(V){return V===45||Vt(V)?(t.consume(V),He):V===47||V===62||tt(V)?Pe(V):e(V)}function Pe(V){return V===47?(t.consume(V),nt):V===58||V===95||fr(V)?(t.consume(V),Fe):ce(V)?(f=Pe,Qe(V)):Ue(V)?(t.consume(V),Pe):nt(V)}function Fe(V){return V===45||V===46||V===58||V===95||Vt(V)?(t.consume(V),Fe):me(V)}function me(V){return V===61?(t.consume(V),Ee):ce(V)?(f=me,Qe(V)):Ue(V)?(t.consume(V),me):Pe(V)}function Ee(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),o=V,rt):ce(V)?(f=Ee,Qe(V)):Ue(V)?(t.consume(V),Ee):(t.consume(V),o=void 0,xt)}function rt(V){return V===o?(t.consume(V),ee):V===null?e(V):ce(V)?(f=rt,Qe(V)):(t.consume(V),rt)}function ee(V){return V===62||V===47||tt(V)?Pe(V):e(V)}function xt(V){return V===null||V===34||V===39||V===60||V===61||V===96?e(V):V===62||tt(V)?Pe(V):(t.consume(V),xt)}function Qe(V){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),ve(t,$t,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $t(V){return t.enter("htmlTextData"),f(V)}function nt(V){return V===62?(t.consume(V),t.exit("htmlTextData"),t.exit("htmlText"),r):e(V)}}var Ri={name:"labelEnd",tokenize:Qk,resolveTo:Zk,resolveAll:Jk},Gk={tokenize:Xk},Kk={tokenize:Yk},Wk={tokenize:ev};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 Zk(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=vr(f,t.slice(s+1,s+n+3)),f=vr(f,[["enter",h,r]]),f=vr(f,ii(r.parser.constructs.insideSpan.null,t.slice(s+n+4,l-3),r)),f=vr(f,[["exit",h,r],t[l-2],t[l-1],["exit",g,r]]),f=vr(f,t.slice(l+1)),f=vr(f,[["exit",c,r]]),It(t,s,t.length,f),t}function Qk(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(cr(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(Gk,r,l?r:g)(h):h===91?t.attempt(Kk,r,l?t.attempt(Wk,r,g):g)(h):l?r(h):g(h)}function g(h){return s._balanced=!0,e(h)}}function Xk(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):$a(t,s,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function s(c){return tt(c)?qi(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?wa(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 Yk(t,r,e){let n=this;return o;function o(l){return ba.call(n,t,s,e,"reference","referenceMarker","referenceString")(l)}function s(l){return n.parser.defined.includes(cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function ev(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 tf={name:"labelStartImage",tokenize:tv,resolveAll:Ri.resolveAll};function tv(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 rf={name:"labelStartLink",tokenize:rv,resolveAll:Ri.resolveAll};function rv(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 ps={name:"lineEnding",tokenize:nv};function nv(t,r){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),ve(t,r,"linePrefix")}}var Ni={name:"thematicBreak",tokenize:iv};function iv(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)):Ue(c)?ve(t,l,"whitespace")(c):n<3||c!==null&&!ce(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 pr={name:"list",tokenize:av,continuation:{tokenize:lv},exit:fv},ov={tokenize:cv,partial:!0},sv={tokenize:uv,partial:!0};function av(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(C){let x=n.containerState.type||(C===42||C===43||C===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!n.containerState.marker||C===n.containerState.marker:Ti(C)){if(n.containerState.type||(n.containerState.type=x,t.enter(x,{_container:!0})),x==="listUnordered")return t.enter("listItemPrefix"),C===42||C===45?t.check(Ni,e,g)(C):g(C);if(!n.interrupt||C===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(C)}return e(C)}function c(C){return Ti(C)&&++l<10?(t.consume(C),c):(!n.interrupt||l<2)&&(n.containerState.marker?C===n.containerState.marker:C===41||C===46)?(t.exit("listItemValue"),g(C)):e(C)}function g(C){return t.enter("listItemMarker"),t.consume(C),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||C,t.check(Sn,n.interrupt?e:h,t.attempt(ov,E,w))}function h(C){return n.containerState.initialBlankLine=!0,s++,E(C)}function w(C){return Ue(C)?(t.enter("listItemPrefixWhitespace"),t.consume(C),t.exit("listItemPrefixWhitespace"),E):e(C)}function E(C){return n.containerState.size=s+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(C)}}function lv(t,r,e){let n=this;return n.containerState._closeFlow=void 0,t.check(Sn,o,s);function o(f){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ve(t,r,"listItemIndent",n.containerState.size+1)(f)}function s(f){return n.containerState.furtherBlankLines||!Ue(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(sv,r,l)(f))}function l(f){return n.containerState._closeFlow=!0,n.interrupt=void 0,ve(t,t.attempt(pr,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function uv(t,r,e){let n=this;return ve(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 fv(t){t.exit(this.containerState.type)}function cv(t,r,e){let n=this;return ve(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!Ue(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):e(s)}}var ka={name:"setextUnderline",tokenize:dv,resolveTo:pv};function pv(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 dv(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"),ve(t,g,"lineSuffix")(h))}function g(h){return h===null||ce(h)?(t.exit("setextHeadingLine"),r(h)):e(h)}}var bm={tokenize:mv};function mv(t){let r=this,e=t.attempt(Sn,n,t.attempt(this.parser.constructs.flowInitial,o,ve(t,t.attempt(this.parser.constructs.flow,o,t.attempt(Wu,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 wm={resolveAll:Cm()},km=xm("string"),vm=xm("text");function xm(t){return{tokenize:r,resolveAll:Cm(t==="text"?hv: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 w=o[h],E=-1;if(w)for(;++E<w.length;){let C=w[E];if(!C.previous||C.previous.call(n,n.previous))return!0}return!1}}}function Cm(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 hv(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 Am(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:$e,enter:ge,exit:oe,attempt:ke(be),check:ke(Ae),interrupt:ke(Ae,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:O,sliceSerialize:x,now:R,defineSkip:j,write:C},w=r.tokenize.call(h,g),E;return r.resolveAll&&s.push(r),h;function C(me){return l=vr(l,me),Y(),l[l.length-1]!==null?[]:(He(r,0),h.events=ii(s,h.events,h),h.events)}function x(me,Ee){return yv(O(me),Ee)}function O(me){return gv(l,me)}function R(){return Object.assign({},n)}function j(me){o[me.line]=me.column,Fe()}function Y(){let me;for(;n._index<l.length;){let Ee=l[n._index];if(typeof Ee=="string")for(me=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===me&&n._bufferIndex<Ee.length;)ae(Ee.charCodeAt(n._bufferIndex));else ae(Ee)}}function ae(me){c=void 0,E=me,w=w(me)}function $e(me){ce(me)?(n.line++,n.column=1,n.offset+=me===-3?2:1,Fe()):me!==-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=me,c=!0}function ge(me,Ee){let rt=Ee||{};return rt.type=me,rt.start=R(),h.events.push(["enter",rt,h]),f.push(rt),rt}function oe(me){let Ee=f.pop();return Ee.end=R(),h.events.push(["exit",Ee,h]),Ee}function be(me,Ee){He(me,Ee.from)}function Ae(me,Ee){Ee.restore()}function ke(me,Ee){return rt;function rt(ee,xt,Qe){let $t,nt,V,H;return Array.isArray(ee)?Nt(ee):"tokenize"in ee?Nt([ee]):Ut(ee);function Ut(lt){return qr;function qr(Lt){let mr=Lt!==null&<[Lt],tr=Lt!==null&<.null,xr=[...Array.isArray(mr)?mr:mr?[mr]:[],...Array.isArray(tr)?tr:tr?[tr]:[]];return Nt(xr)(Lt)}}function Nt(lt){return $t=lt,nt=0,lt.length===0?Qe:Ct(lt[nt])}function Ct(lt){return qr;function qr(Lt){return H=Pe(),V=lt,lt.partial||(h.currentConstruct=lt),lt.name&&h.parser.constructs.disable.null.includes(lt.name)?At(Lt):lt.tokenize.call(Ee?Object.assign(Object.create(h),Ee):h,g,Pt,At)(Lt)}}function Pt(lt){return c=!0,me(V,H),xt}function At(lt){return c=!0,H.restore(),++nt<$t.length?Ct($t[nt]):Qe}}}function He(me,Ee){me.resolveAll&&!s.includes(me)&&s.push(me),me.resolve&&It(h.events,Ee,h.events.length-Ee,me.resolve(h.events.slice(Ee),h)),me.resolveTo&&(h.events=me.resolveTo(h.events,h))}function Pe(){let me=R(),Ee=h.previous,rt=h.currentConstruct,ee=h.events.length,xt=Array.from(f);return{restore:Qe,from:ee};function Qe(){n=me,h.previous=Ee,h.currentConstruct=rt,h.events.length=ee,f=xt,Fe()}}function Fe(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}function gv(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 yv(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=`
|
|
37
40
|
`;break}case-3:{l=`\r
|
|
38
|
-
`;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&s)continue;l=" ";break}default:l=String.fromCharCode(a)}s=a===-2,i.push(l)}return i.join("")}var Qu={};Bf(Qu,{attentionMarkers:()=>yv,contentInitial:()=>cv,disable:()=>$v,document:()=>fv,flow:()=>dv,flowInitial:()=>pv,insideSpan:()=>gv,string:()=>mv,text:()=>hv});var fv={[42]:lr,[43]:lr,[45]:lr,[48]:lr,[49]:lr,[50]:lr,[51]:lr,[52]:lr,[53]:lr,[54]:lr,[55]:lr,[56]:lr,[57]:lr,[62]:na},cv={[91]:Vu},pv={[-2]:ts,[-1]:ts,[32]:ts},dv={[35]:Hu,[42]:Ii,[45]:[ca,Ii],[60]:Ku,[61]:ca,[95]:Ii,[96]:sa,[126]:sa},mv={[38]:oa,[92]:ia},hv={[-5]:rs,[-4]:rs,[-3]:rs,[33]:Zu,[38]:oa,[42]:es,[60]:[ju,Wu],[91]:Ju,[92]:[Uu,ia],[93]:Fi,[95]:es,[96]:Mu},gv={null:[es,hm]},yv={null:[42,95]},$v={null:[]};function km(t={}){let r=ra([Qu].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:i(um),document:i(cm),flow:i(mm),string:i(gm),text:i(ym)};return e;function i(s){return a;function a(l){return wm(e,s,l)}}}var vm=/[\0\t\n\r]/g;function xm(){let t=1,r="",e=!0,i;return s;function s(a,l,f){let c=[],m,d,$,E,k;for(a=r+a.toString(l),$=0,r="",e&&(a.charCodeAt(0)===65279&&$++,e=void 0);$<a.length;){if(vm.lastIndex=$,m=vm.exec(a),E=m&&m.index!==void 0?m.index:a.length,k=a.charCodeAt(E),!m){r=a.slice($);break}if(k===10&&$===E&&i)c.push(-3),i=void 0;else switch(i&&(c.push(-5),i=void 0),$<E&&(c.push(a.slice($,E)),t+=E-$),k){case 0:{c.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,c.push(-2);t++<d;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:i=!0,t=1}$=E+1}return f&&(i&&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 bv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function da(t){return t.replace(bv,wv)}function wv(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let s=e.charCodeAt(1),a=s===120||s===88;return pa(e.slice(a?2:1),a?16:10)}return lo(e)||t}var Xu={}.hasOwnProperty,Yu=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),kv(e)(Cm(km(e).document().write(xm()(t,r,!0))))};function kv(t={}){let r=Em({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(We),autolinkProtocol:_e,autolinkEmail:_e,atxHeading:c(En),blockQuote:c(zt),characterEscape:_e,characterReference:_e,codeFenced:c(Ir),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:c(Ir,m),codeText:c(Vt,m),codeTextData:_e,data:_e,codeFlowValue:_e,definition:c(ei),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:c(Mn),hardBreakEscape:c(Ge),hardBreakTrailing:c(Ge),htmlFlow:c(Ke,m),htmlFlowData:_e,htmlText:c(Ke,m),htmlTextData:_e,image:c(at),label:m,link:c(We),listItem:c(ze),listItemValue:I,listOrdered:c(Or,x),listUnordered:c(Or),paragraph:c(Ve),reference:St,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:c(En),strong:c(ct),thematicBreak:c(Ut)},exit:{atxHeading:$(),atxHeadingSequence:xe,autolink:$(),autolinkEmail:wr,autolinkProtocol:ye,blockQuote:$(),characterEscapeValue:de,characterReferenceMarkerHexadecimal:st,characterReferenceMarkerNumeric:st,characterReferenceValue:Fr,codeFenced:$(se),codeFencedFence:X,codeFencedFenceInfo:N,codeFencedFenceMeta:B,codeFlowValue:de,codeIndented:$($e),codeText:$(Ze),codeTextData:de,data:de,definition:$(),definitionDestinationString:be,definitionLabelString:he,definitionTitleString:ne,emphasis:$(),hardBreakEscape:$(ot),hardBreakTrailing:$(ot),htmlFlow:$(Y),htmlFlowData:de,htmlText:$(Ct),htmlTextData:de,image:$(tt),label:V,labelText:M,lineEnding:Ce,link:$(yt),listItem:$(),listOrdered:$(),listUnordered:$(),paragraph:$(),referenceString:At,resourceDestinationString:Jt,resourceTitleString:Rt,resource:bt,setextHeading:$(Ee),setextHeadingLineSequence:Le,setextHeadingText:ke,strong:$(),thematicBreak:$()}},t.mdastExtensions||[]),e={};return i;function i(re){let ae={type:"root",children:[]},we=[ae],Ie=[],Dt=[],Zr={stack:we,tokenStack:Ie,config:r,enter:d,exit:E,buffer:m,resume:k,setData:a,getData:l},rt=-1;for(;++rt<re.length;)if(re[rt][1].type==="listOrdered"||re[rt][1].type==="listUnordered")if(re[rt][0]==="enter")Dt.push(rt);else{let wt=Dt.pop();rt=s(re,wt,rt)}for(rt=-1;++rt<re.length;){let wt=r[re[rt][0]];Xu.call(wt,re[rt][1].type)&&wt[re[rt][1].type].call(Object.assign({sliceSerialize:re[rt][2].sliceSerialize},Zr),re[rt][1])}if(Ie.length>0){let wt=Ie[Ie.length-1];(wt[1]||Am).call(Zr,void 0,wt[0])}for(ae.position={start:f(re.length>0?re[0][1].start:{line:1,column:1,offset:0}),end:f(re.length>0?re[re.length-2][1].end:{line:1,column:1,offset:0})},rt=-1;++rt<r.transforms.length;)ae=r.transforms[rt](ae)||ae;return ae}function s(re,ae,we){let Ie=ae-1,Dt=-1,Zr=!1,rt,wt,Pt,Jr;for(;++Ie<=we;){let dt=re[Ie];if(dt[1].type==="listUnordered"||dt[1].type==="listOrdered"||dt[1].type==="blockQuote"?(dt[0]==="enter"?Dt++:Dt--,Jr=void 0):dt[1].type==="lineEndingBlank"?dt[0]==="enter"&&(rt&&!Jr&&!Dt&&!Pt&&(Pt=Ie),Jr=void 0):dt[1].type==="linePrefix"||dt[1].type==="listItemValue"||dt[1].type==="listItemMarker"||dt[1].type==="listItemPrefix"||dt[1].type==="listItemPrefixWhitespace"||(Jr=void 0),!Dt&&dt[0]==="enter"&&dt[1].type==="listItemPrefix"||Dt===-1&&dt[0]==="exit"&&(dt[1].type==="listUnordered"||dt[1].type==="listOrdered")){if(rt){let _n=Ie;for(wt=void 0;_n--;){let It=re[_n];if(It[1].type==="lineEnding"||It[1].type==="lineEndingBlank"){if(It[0]==="exit")continue;wt&&(re[wt][1].type="lineEndingBlank",Zr=!0),It[1].type="lineEnding",wt=_n}else if(!(It[1].type==="linePrefix"||It[1].type==="blockQuotePrefix"||It[1].type==="blockQuotePrefixWhitespace"||It[1].type==="blockQuoteMarker"||It[1].type==="listItemIndent"))break}Pt&&(!wt||Pt<wt)&&(rt._spread=!0),rt.end=Object.assign({},wt?re[wt][1].start:dt[1].end),re.splice(wt||Ie,0,["exit",rt,dt[2]]),Ie++,we++}dt[1].type==="listItemPrefix"&&(rt={type:"listItem",_spread:!1,start:Object.assign({},dt[1].start)},re.splice(Ie,0,["enter",rt,dt[2]]),Ie++,we++,Pt=void 0,Jr=!0)}}return re[ae][1]._spread=Zr,we}function a(re,ae){e[re]=ae}function l(re){return e[re]}function f(re){return{line:re.line,column:re.column,offset:re.offset}}function c(re,ae){return we;function we(Ie){d.call(this,re(Ie),Ie),ae&&ae.call(this,Ie)}}function m(){this.stack.push({type:"fragment",children:[]})}function d(re,ae,we){return this.stack[this.stack.length-1].children.push(re),this.stack.push(re),this.tokenStack.push([ae,we]),re.position={start:f(ae.start)},re}function $(re){return ae;function ae(we){re&&re.call(this,we),E.call(this,we)}}function E(re,ae){let we=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==re.type&&(ae?ae.call(this,re,Ie[0]):(Ie[1]||Am).call(this,re,Ie[0]));else throw new Error("Cannot close `"+re.type+"` ("+Ei({start:re.start,end:re.end})+"): it\u2019s not open");return we.position.end=f(re.end),we}function k(){return nm(this.stack.pop())}function x(){a("expectingFirstListItemValue",!0)}function I(re){if(l("expectingFirstListItemValue")){let ae=this.stack[this.stack.length-2];ae.start=Number.parseInt(this.sliceSerialize(re),10),a("expectingFirstListItemValue")}}function N(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.lang=re}function B(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.meta=re}function X(){l("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function se(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function $e(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re.replace(/(\r?\n|\r)$/g,"")}function he(re){let ae=this.resume(),we=this.stack[this.stack.length-1];we.label=ae,we.identifier=ar(this.sliceSerialize(re)).toLowerCase()}function ne(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.title=re}function be(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.url=re}function xe(re){let ae=this.stack[this.stack.length-1];if(!ae.depth){let we=this.sliceSerialize(re).length;ae.depth=we}}function ke(){a("setextHeadingSlurpLineEnding",!0)}function Le(re){let ae=this.stack[this.stack.length-1];ae.depth=this.sliceSerialize(re).charCodeAt(0)===61?1:2}function Ee(){a("setextHeadingSlurpLineEnding")}function _e(re){let ae=this.stack[this.stack.length-1],we=ae.children[ae.children.length-1];(!we||we.type!=="text")&&(we=pt(),we.position={start:f(re.start)},ae.children.push(we)),this.stack.push(we)}function de(re){let ae=this.stack.pop();ae.value+=this.sliceSerialize(re),ae.position.end=f(re.end)}function Ce(re){let ae=this.stack[this.stack.length-1];if(l("atHardBreak")){let we=ae.children[ae.children.length-1];we.position.end=f(re.end),a("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(ae.type)&&(_e.call(this,re),de.call(this,re))}function ot(){a("atHardBreak",!0)}function Y(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function Ct(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function Ze(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.value=re}function yt(){let re=this.stack[this.stack.length-1];l("inReference")?(re.type+="Reference",re.referenceType=l("referenceType")||"shortcut",delete re.url,delete re.title):(delete re.identifier,delete re.label),a("referenceType")}function tt(){let re=this.stack[this.stack.length-1];l("inReference")?(re.type+="Reference",re.referenceType=l("referenceType")||"shortcut",delete re.url,delete re.title):(delete re.identifier,delete re.label),a("referenceType")}function M(re){let ae=this.stack[this.stack.length-2],we=this.sliceSerialize(re);ae.label=da(we),ae.identifier=ar(we).toLowerCase()}function V(){let re=this.stack[this.stack.length-1],ae=this.resume(),we=this.stack[this.stack.length-1];a("inReference",!0),we.type==="link"?we.children=re.children:we.alt=ae}function Jt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.url=re}function Rt(){let re=this.resume(),ae=this.stack[this.stack.length-1];ae.title=re}function bt(){a("inReference")}function St(){a("referenceType","collapsed")}function At(re){let ae=this.resume(),we=this.stack[this.stack.length-1];we.label=ae,we.identifier=ar(this.sliceSerialize(re)).toLowerCase(),a("referenceType","full")}function st(re){a("characterReferenceType",re.type)}function Fr(re){let ae=this.sliceSerialize(re),we=l("characterReferenceType"),Ie;we?(Ie=pa(ae,we==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):Ie=lo(ae);let Dt=this.stack.pop();Dt.value+=Ie,Dt.position.end=f(re.end)}function ye(re){de.call(this,re);let ae=this.stack[this.stack.length-1];ae.url=this.sliceSerialize(re)}function wr(re){de.call(this,re);let ae=this.stack[this.stack.length-1];ae.url="mailto:"+this.sliceSerialize(re)}function zt(){return{type:"blockquote",children:[]}}function Ir(){return{type:"code",lang:null,meta:null,value:""}}function Vt(){return{type:"inlineCode",value:""}}function ei(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Mn(){return{type:"emphasis",children:[]}}function En(){return{type:"heading",depth:void 0,children:[]}}function Ge(){return{type:"break"}}function Ke(){return{type:"html",value:""}}function at(){return{type:"image",title:null,url:"",alt:null}}function We(){return{type:"link",title:null,url:"",children:[]}}function Or(re){return{type:"list",ordered:re.type==="listOrdered",start:null,spread:re._spread,children:[]}}function ze(re){return{type:"listItem",spread:re._spread,checked:null,children:[]}}function Ve(){return{type:"paragraph",children:[]}}function ct(){return{type:"strong",children:[]}}function pt(){return{type:"text",value:""}}function Ut(){return{type:"thematicBreak"}}}function Em(t,r){let e=-1;for(;++e<r.length;){let i=r[e];Array.isArray(i)?Em(t,i):vv(t,i)}return t}function vv(t,r){let e;for(e in r)if(Xu.call(r,e)){let i=e==="canContainEols"||e==="transforms",a=(Xu.call(t,e)?t[e]:void 0)||(t[e]=i?[]:{}),l=r[e];l&&(i?t[e]=[...a,...l]:Object.assign(a,l))}}function Am(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Ei({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Ei({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Ei({start:r.start,end:r.end})+") is still open")}function ef(t){Object.assign(this,{Parser:e=>{let i=this.data("settings");return Yu(e,Object.assign({},i,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var _m=ef;var xv={tokenize:_v,partial:!0},Pm={tokenize:Sv,partial:!0},Tm={tokenize:Pv,partial:!0},uo={tokenize:Fv,partial:!0},Fm={tokenize:Tv,partial:!0},Im={tokenize:Av,previous:Nm},Om={tokenize:Ev,previous:nf},Bn={tokenize:Cv,previous:Dm},An={},tf={text:An},Oi=48;for(;Oi<123;)An[Oi]=Bn,Oi++,Oi===58?Oi=65:Oi===91&&(Oi=97);An[43]=Bn;An[45]=Bn;An[46]=Bn;An[95]=Bn;An[72]=[Bn,Om];An[104]=[Bn,Om];An[87]=[Bn,Im];An[119]=[Bn,Im];function Cv(t,r,e){let i=this,s,a;return l;function l(k){return!Sm(k)||!Dm(i.previous)||of(i.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(uo,E,m)(k):k===45||k===95?t.check(uo,e,d)(k):Mt(k)?(!a&&_i(k)&&(a=!0),t.consume(k),c):E(k)}function m(k){return t.consume(k),s=!0,a=void 0,c}function d(k){return t.consume(k),$}function $(k){return k===46?t.check(uo,e,m)(k):c(k)}function E(k){return s&&!a?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(k)):e(k)}}function Av(t,r,e){let i=this;return s;function s(l){return l!==87&&l!==119||!Nm(i.previous)||of(i.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(xv,t.attempt(Pm,t.attempt(Tm,a),e),e)(l))}function a(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function Ev(t,r,e){let i=this;return s;function s(x){return x!==72&&x!==104||!nf(i.previous)||of(i.events)?e(x):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(x),a)}function a(x){return x===84||x===116?(t.consume(x),l):e(x)}function l(x){return x===84||x===116?(t.consume(x),f):e(x)}function f(x){return x===80||x===112?(t.consume(x),c):e(x)}function c(x){return x===83||x===115?(t.consume(x),m):m(x)}function m(x){return x===58?(t.consume(x),d):e(x)}function d(x){return x===47?(t.consume(x),$):e(x)}function $(x){return x===47?(t.consume(x),E):e(x)}function E(x){return x===null||Qn(x)||Si(x)||Pi(x)?e(x):t.attempt(Pm,t.attempt(Tm,k),e)(x)}function k(x){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(x)}}function _v(t,r,e){return i;function i(c){return t.consume(c),s}function s(c){return c===87||c===119?(t.consume(c),a):e(c)}function a(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||fe(c)?e(c):r(c)}}function Sv(t,r,e){let i,s;return a;function a(c){return c===38?t.check(Fm,f,l)(c):c===46||c===95?t.check(uo,f,l)(c):c===null||Qn(c)||Si(c)||c!==45&&Pi(c)?f(c):(t.consume(c),a)}function l(c){return c===46?(s=i,i=void 0,t.consume(c),a):(c===95&&(i=!0),t.consume(c),a)}function f(c){return!s&&!i?r(c):e(c)}}function Pv(t,r){let e=0;return i;function i(l){return l===38?t.check(Fm,r,s)(l):(l===40&&e++,l===41?t.check(uo,a,s)(l):rf(l)?r(l):qm(l)?t.check(uo,r,s)(l):(t.consume(l),i))}function s(l){return t.consume(l),i}function a(l){return e--,e<0?r(l):s(l)}}function Tv(t,r,e){return i;function i(l){return t.consume(l),s}function s(l){return sr(l)?(t.consume(l),s):l===59?(t.consume(l),a):e(l)}function a(l){return rf(l)?r(l):e(l)}}function Fv(t,r,e){return i;function i(a){return t.consume(a),s}function s(a){return qm(a)?(t.consume(a),s):rf(a)?r(a):e(a)}}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||Mt(t)}function Nm(t){return t===null||t===40||t===42||t===95||t===126||et(t)}function nf(t){return t===null||!sr(t)}function Dm(t){return t!==47&&nf(t)}function of(t){let r=t.length,e=!1;for(;r--;){let i=t[r][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){e=!0;break}if(i._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}var Iv={tokenize:jv,partial:!0};function sf(){return{document:{[91]:{tokenize:Dv,continuation:{tokenize:Rv},exit:Lv}},text:{[91]:{tokenize:Nv},[93]:{add:"after",tokenize:Ov,resolveTo:qv}}}}function Ov(t,r,e){let i=this,s=i.events.length,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),l;for(;s--;){let c=i.events[s][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 m=ar(i.sliceSerialize({start:l.end,end:i.now()}));return m.charCodeAt(0)!==94||!a.includes(m.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function qv(t,r){let e=t.length,i;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){i=t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},a.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",s,r],t[e+3],t[e+4],["enter",a,r],["exit",a,r],["enter",l,r],["enter",f,r],["exit",f,r],["exit",l,r],t[t.length-2],t[t.length-1],["exit",s,r]];return t.splice(e,t.length-e+1,...c),t}function Nv(t,r,e){let i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0,l;return f;function f(E){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(E),t.exit("gfmFootnoteCallLabelMarker"),c}function c(E){return E!==94?e(E):(t.enter("gfmFootnoteCallMarker"),t.consume(E),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",m)}function m(E){let k;return E===null||E===91||a++>999?e(E):E===93?l?(t.exit("chunkString"),k=t.exit("gfmFootnoteCallString"),s.includes(ar(i.sliceSerialize(k)))?$(E):e(E)):e(E):(t.consume(E),et(E)||(l=!0),E===92?d:m)}function d(E){return E===91||E===92||E===93?(t.consume(E),a++,m):m(E)}function $(E){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(E),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function Dv(t,r,e){let i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a,l=0,f;return c;function c(I){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(I){return I===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),d):e(I)}function d(I){let N;return I===null||I===91||l>999?e(I):I===93?f?(N=t.exit("gfmFootnoteDefinitionLabelString"),a=ar(i.sliceSerialize(N)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(I),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k):e(I):fe(I)?(t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),l++,d):(t.enter("chunkString").contentType="string",$(I))}function $(I){return I===null||fe(I)||I===91||I===93||l>999?(t.exit("chunkString"),d(I)):(et(I)||(f=!0),l++,t.consume(I),I===92?E:$)}function E(I){return I===91||I===92||I===93?(t.consume(I),l++,$):$(I)}function k(I){return I===58?(t.enter("definitionMarker"),t.consume(I),t.exit("definitionMarker"),ve(t,x,"gfmFootnoteDefinitionWhitespace")):e(I)}function x(I){return s.includes(a)||s.push(a),r(I)}}function Rv(t,r,e){return t.check(Cn,r,t.attempt(Iv,r,e))}function Lv(t){t.exit("gfmFootnoteDefinition")}function jv(t,r,e){let i=this;return ve(t,s,"gfmFootnoteDefinitionIndent",4+1);function s(a){let l=i.events[i.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(a):e(a)}}function af(t={}){let r=t.singleTilde,e={tokenize:s,resolveAll:i};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function i(a,l){let f=-1;for(;++f<a.length;)if(a[f][0]==="enter"&&a[f][1].type==="strikethroughSequenceTemporary"&&a[f][1]._close){let c=f;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[f][1].end.offset-a[f][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[f][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let m={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[f][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[f][1].start)},$=[["enter",m,l],["enter",a[c][1],l],["exit",a[c][1],l],["enter",d,l]];Ft($,$.length,0,Yn(l.parser.constructs.insideSpan.null,a.slice(c+1,f),l)),Ft($,$.length,0,[["exit",d,l],["enter",a[f][1],l],["exit",a[f][1],l],["exit",m,l]]),Ft(a,c-1,f-c+3,$),f=c+$.length-2;break}}for(f=-1;++f<a.length;)a[f][1].type==="strikethroughSequenceTemporary"&&(a[f][1].type="data");return a}function s(a,l,f){let c=this.previous,m=this.events,d=0;return $;function $(k){return c===126&&m[m.length-1][1].type!=="characterEscape"?f(k):(a.enter("strikethroughSequenceTemporary"),E(k))}function E(k){let x=ao(c);if(k===126)return d>1?f(k):(a.consume(k),d++,E);if(d<2&&!r)return f(k);let I=a.exit("strikethroughSequenceTemporary"),N=ao(k);return I._open=!N||N===2&&Boolean(x),I._close=!x||x===2&&Boolean(N),l(k)}}}var lf={flow:{null:{tokenize:Mv,resolve:Bv}}},Rm={tokenize:zv,partial:!0};function Bv(t,r){let e=-1,i,s,a,l,f,c,m;for(;++e<t.length;){let d=t[e][1];if(a&&(d.type==="temporaryTableCellContent"&&(l=l||e,f=e),(d.type==="tableCellDivider"||d.type==="tableRow")&&f)){let $={type:"tableContent",start:t[l][1].start,end:t[f][1].end},E={type:"chunkText",start:$.start,end:$.end,contentType:"text"};t.splice(l,f-l+1,["enter",$,r],["enter",E,r],["exit",E,r],["exit",$,r]),e-=f-l-3,l=void 0,f=void 0}if(t[e][0]==="exit"&&c!==void 0&&c+(m?0:1)<e&&(d.type==="tableCellDivider"||d.type==="tableRow"&&(c+3<e||t[c][1].type!=="whitespace"))){let $={type:s?"tableDelimiter":i?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(d.type==="tableCellDivider"?1:0),0,["exit",$,r]),t.splice(c,0,["enter",$,r]),e+=2,c=e+1,m=!0}d.type==="tableRow"&&(a=t[e][0]==="enter",a&&(c=e+1,m=!1)),d.type==="tableDelimiterRow"&&(s=t[e][0]==="enter",s&&(c=e+1,m=!1)),d.type==="tableHead"&&(i=t[e][0]==="enter")}return t}function Mv(t,r,e){let i=this,s=[],a=0,l,f;return c;function c(Y){return t.enter("table")._align=s,t.enter("tableHead"),t.enter("tableRow"),Y===124?m(Y):(a++,t.enter("temporaryTableCellContent"),E(Y))}function m(Y){return t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),l=!0,d}function d(Y){return Y===null||fe(Y)?x(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),$):(l&&(l=void 0,a++),Y===124?m(Y):(t.enter("temporaryTableCellContent"),E(Y)))}function $(Y){return Re(Y)?(t.consume(Y),$):(t.exit("whitespace"),d(Y))}function E(Y){return Y===null||Y===124||et(Y)?(t.exit("temporaryTableCellContent"),d(Y)):(t.consume(Y),Y===92?k:E)}function k(Y){return Y===92||Y===124?(t.consume(Y),E):E(Y)}function x(Y){if(Y===null)return e(Y);t.exit("tableRow"),t.exit("tableHead");let Ct=i.interrupt;return i.interrupt=!0,t.attempt({tokenize:ot,partial:!0},function(Ze){return i.interrupt=Ct,t.enter("tableDelimiterRow"),I(Ze)},function(Ze){return i.interrupt=Ct,e(Ze)})(Y)}function I(Y){return Y===null||fe(Y)?$e(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),N):Y===45?(t.enter("tableDelimiterFiller"),t.consume(Y),f=!0,s.push("none"),B):Y===58?(t.enter("tableDelimiterAlignment"),t.consume(Y),t.exit("tableDelimiterAlignment"),s.push("left"),X):Y===124?(t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),I):e(Y)}function N(Y){return Re(Y)?(t.consume(Y),N):(t.exit("whitespace"),I(Y))}function B(Y){return Y===45?(t.consume(Y),B):(t.exit("tableDelimiterFiller"),Y===58?(t.enter("tableDelimiterAlignment"),t.consume(Y),t.exit("tableDelimiterAlignment"),s[s.length-1]=s[s.length-1]==="left"?"center":"right",se):I(Y))}function X(Y){return Y===45?(t.enter("tableDelimiterFiller"),t.consume(Y),f=!0,B):e(Y)}function se(Y){return Y===null||fe(Y)?$e(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),N):Y===124?(t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),I):e(Y)}function $e(Y){return t.exit("tableDelimiterRow"),!f||a!==s.length?e(Y):Y===null?he(Y):t.check(Rm,he,t.attempt({tokenize:ot,partial:!0},ve(t,ne,"linePrefix",4),he))(Y)}function he(Y){return t.exit("table"),r(Y)}function ne(Y){return t.enter("tableBody"),be(Y)}function be(Y){return t.enter("tableRow"),Y===124?xe(Y):(t.enter("temporaryTableCellContent"),Ee(Y))}function xe(Y){return t.enter("tableCellDivider"),t.consume(Y),t.exit("tableCellDivider"),ke}function ke(Y){return Y===null||fe(Y)?de(Y):Re(Y)?(t.enter("whitespace"),t.consume(Y),Le):Y===124?xe(Y):(t.enter("temporaryTableCellContent"),Ee(Y))}function Le(Y){return Re(Y)?(t.consume(Y),Le):(t.exit("whitespace"),ke(Y))}function Ee(Y){return Y===null||Y===124||et(Y)?(t.exit("temporaryTableCellContent"),ke(Y)):(t.consume(Y),Y===92?_e:Ee)}function _e(Y){return Y===92||Y===124?(t.consume(Y),Ee):Ee(Y)}function de(Y){return t.exit("tableRow"),Y===null?Ce(Y):t.check(Rm,Ce,t.attempt({tokenize:ot,partial:!0},ve(t,be,"linePrefix",4),Ce))(Y)}function Ce(Y){return t.exit("tableBody"),he(Y)}function ot(Y,Ct,Ze){return yt;function yt(M){return Y.enter("lineEnding"),Y.consume(M),Y.exit("lineEnding"),ve(Y,tt,"linePrefix")}function tt(M){if(i.parser.lazy[i.now().line]||M===null||fe(M))return Ze(M);let V=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&V&&V[1].type==="linePrefix"&&V[2].sliceSerialize(V[1],!0).length>=4?Ze(M):(i._gfmTableDynamicInterruptHack=!0,Y.check(i.parser.constructs.flow,function(Jt){return i._gfmTableDynamicInterruptHack=!1,Ze(Jt)},function(Jt){return i._gfmTableDynamicInterruptHack=!1,Ct(Jt)})(M))}}}function zv(t,r,e){let i=0;return s;function s(l){return t.enter("check"),t.consume(l),a}function a(l){return l===-1||l===32?(t.consume(l),i++,i===4?r:a):l===null||et(l)?r(l):e(l)}}var Vv={tokenize:Uv},uf={text:{[91]:Vv}};function Uv(t,r,e){let i=this;return s;function s(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),a)}function a(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:Hv},r,e)):e(f)}}function Hv(t,r,e){let i=this;return ve(t,s,"whitespace");function s(a){let l=i.events[i.events.length-1];return(l&&l[1].type==="whitespace"||fe(a))&&a!==null?r(a):e(a)}}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 i=0,s=e.indexOf(r);for(;s!==-1;)i++,s=e.indexOf(r,s+r.length);return i}function cf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ns=function(t){if(t==null)return Zv;if(typeof t=="string")return Wv(t);if(typeof t=="object")return Array.isArray(t)?Gv(t):Kv(t);if(typeof t=="function")return ma(t);throw new Error("Expected function, string, or object as test")};function Gv(t){let r=[],e=-1;for(;++e<t.length;)r[e]=ns(t[e]);return ma(i);function i(...s){let a=-1;for(;++a<r.length;)if(r[a].call(this,...s))return!0;return!1}}function Kv(t){return ma(r);function r(e){let i;for(i in t)if(e[i]!==t[i])return!1;return!0}}function Wv(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 Zv(){return!0}function jm(t){return"\x1B[33m"+t+"\x1B[39m"}var Jv=!0,Qv="skip",Bm=!1,Mm=function(t,r,e,i){typeof r=="function"&&typeof e!="function"&&(i=e,e=r,r=null);let s=ns(r),a=i?-1:1;l(t,null,[])();function l(f,c,m){let d=typeof f=="object"&&f!==null?f:{},$;return typeof d.type=="string"&&($=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0,Object.defineProperty(E,"name",{value:"node ("+jm(d.type+($?"<"+$+">":""))+")"})),E;function E(){let k=[],x,I,N;if((!r||s(f,c,m[m.length-1]||null))&&(k=Xv(e(f,m)),k[0]===Bm))return k;if(f.children&&k[0]!==Qv)for(I=(i?f.children.length:-1)+a,N=m.concat(f);I>-1&&I<f.children.length;){if(x=l(f.children[I],I,N)(),x[0]===Bm)return x;I=typeof x[1]=="number"?x[1]:I+a}return k}}};function Xv(t){return Array.isArray(t)?t:typeof t=="number"?[Jv,t]:[t]}var Yv={}.hasOwnProperty,pf=function(t,r,e,i){let s,a;typeof r=="string"||r instanceof RegExp?(a=[[r,e]],s=i):(a=r,s=e),s||(s={});let l=ns(s.ignore||[]),f=e0(a),c=-1;for(;++c<f.length;)Mm(t,"text",m);return t;function m($,E){let k=-1,x;for(;++k<E.length;){let I=E[k];if(l(I,x?x.children.indexOf(I):void 0,x))return;x=I}if(x)return d($,E)}function d($,E){let k=E[E.length-1],x=f[c][0],I=f[c][1],N=0,B=k.children.indexOf($),X=!1,se=[],$e;x.lastIndex=0;let he=x.exec($.value);for(;he;){$e=he.index;let ne={index:he.index,input:he.input,stack:[...E,$]},be=I(...he,ne);if(typeof be=="string"&&(be=be.length>0?{type:"text",value:be}:void 0),be!==!1&&(N!==$e&&se.push({type:"text",value:$.value.slice(N,$e)}),Array.isArray(be)?se.push(...be):be&&se.push(be),N=$e+he[0].length,X=!0),!x.global)break;he=x.exec($.value)}return X?(N<$.value.length&&se.push({type:"text",value:$.value.slice(N)}),k.children.splice(B,1,...se)):se=[$],B+se.length}};function e0(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([zm(t[e][0]),Vm(t[e][1])])}else{let e;for(e in t)Yv.call(t,e)&&r.push([zm(e),Vm(t[e])])}return r}function zm(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:[s0],enter:{literalAutolink:t0,literalAutolinkEmail:hf,literalAutolinkHttp:hf,literalAutolinkWww:hf},exit:{literalAutolink:o0,literalAutolinkEmail:i0,literalAutolinkHttp:r0,literalAutolinkWww:n0}},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 t0(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function hf(t){this.config.enter.autolinkProtocol.call(this,t)}function r0(t){this.config.exit.autolinkProtocol.call(this,t)}function n0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function i0(t){this.config.exit.autolinkEmail.call(this,t)}function o0(t){this.exit(t)}function s0(t){pf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,a0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,l0]],{ignore:["link","linkReference"]})}function a0(t,r,e,i,s){let a="";if(!Gm(s)||(/^w/i.test(r)&&(e=r+e,r="",a="http://"),!u0(e)))return!1;let l=f0(e+i);if(!l[0])return!1;let f={type:"link",title:null,url:a+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function l0(t,r,e,i){return!Gm(i,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function u0(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 f0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,i,s,a;if(r)for(t=t.slice(0,r.index),a=r[0],e=a.indexOf(")"),i=ff(t,"("),s=ff(t,")");e!==-1&&i>s;)t+=a.slice(0,e+1),a=a.slice(e+1),e=a.indexOf(")"),s++;return[t,a]}function Gm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Si(e)||Pi(e))&&(!r||e!==47)}function gf(t){return t.label||!t.identifier?t.label||"":da(t.identifier)}function ur(t){let r=t||{},e=r.now||{},i=r.lineShift||0,s=e.line||1,a=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:s,column:a},lineShift:i}}function f(m){i+=m}function c(m=""){let d=m.split(/\r?\n|\r/g),$=d[d.length-1];return s+=d.length-1,a=d.length===1?a+$.length:1+$.length+i,m}}function ha(t,r,e){let i=r.indexStack,s=t.children||[],a=ur(e),l=[],f=-1;for(i.push(-1);++f<s.length;){let m=s[f];i[i.length-1]=f,l.push(a.move(r.handle(m,t,r,{before:`
|
|
41
|
+
`;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 nf={};Hf(nf,{attentionMarkers:()=>Av,contentInitial:()=>bv,disable:()=>Ev,document:()=>$v,flow:()=>kv,flowInitial:()=>wv,insideSpan:()=>Cv,string:()=>vv,text:()=>xv});var $v={[42]:pr,[43]:pr,[45]:pr,[48]:pr,[49]:pr,[50]:pr,[51]:pr,[52]:pr,[53]:pr,[54]:pr,[55]:pr,[56]:pr,[57]:pr,[62]:da},bv={[91]:Ju},wv={[-2]:cs,[-1]:cs,[32]:cs},kv={[35]:Qu,[42]:Ni,[45]:[ka,Ni],[60]:Yu,[61]:ka,[95]:Ni,[96]:ga,[126]:ga},vv={[38]:ha,[92]:ma},xv={[-5]:ps,[-4]:ps,[-3]:ps,[33]:tf,[38]:ha,[42]:fs,[60]:[Hu,ef],[91]:rf,[92]:[Zu,ma],[93]:Ri,[95]:fs,[96]:Ku},Cv={null:[fs,wm]},Av={null:[42,95]},Ev={null:[]};function Em(t={}){let r=pa([nf].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:n(mm),document:n(gm),flow:n(bm),string:n(km),text:n(vm)};return e;function n(o){return s;function s(l){return Am(e,o,l)}}}var _m=/[\0\t\n\r]/g;function Sm(){let t=1,r="",e=!0,n;return o;function o(s,l,f){let c=[],g,h,w,E,C;for(s=r+s.toString(l),w=0,r="",e&&(s.charCodeAt(0)===65279&&w++,e=void 0);w<s.length;){if(_m.lastIndex=w,g=_m.exec(s),E=g&&g.index!==void 0?g.index:s.length,C=s.charCodeAt(E),!g){r=s.slice(w);break}if(C===10&&w===E&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),w<E&&(c.push(s.slice(w,E)),t+=E-w),C){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}w=E+1}return f&&(n&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Pm(t){for(;!ya(t););return t}function va(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 _v=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xa(t){return t.replace(_v,Sv)}function Sv(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let o=e.charCodeAt(1),s=o===120||o===88;return va(e.slice(s?2:1),s?16:10)}return go(e)||t}var of={}.hasOwnProperty,sf=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),Pv(e)(Pm(Em(e).document().write(Sm()(t,r,!0))))};function Pv(t={}){let r=Tm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Ze),autolinkProtocol:Fe,autolinkEmail:Fe,atxHeading:c(Fn),blockQuote:c(tr),characterEscape:Fe,characterReference:Fe,codeFenced:c(xr),codeFencedFenceInfo:g,codeFencedFenceMeta:g,codeIndented:c(xr,g),codeText:c(Ht,g),codeTextData:Fe,data:Fe,codeFlowValue:Fe,definition:c(oi),definitionDestinationString:g,definitionLabelString:g,definitionTitleString:g,emphasis:c(xe),hardBreakEscape:c(Tn),hardBreakTrailing:c(Tn),htmlFlow:c(Ne,g),htmlFlowData:Fe,htmlText:c(Ne,g),htmlTextData:Fe,image:c(Se),label:g,link:c(Ze),listItem:c(hr),listItemValue:O,listOrdered:c(bt,x),listUnordered:c(bt),paragraph:c(qe),reference:Pt,referenceString:g,resourceDestinationString:g,resourceTitleString:g,setextHeading:c(Fn),strong:c(Re),thematicBreak:c(it)},exit:{atxHeading:w(),atxHeadingSequence:Ae,autolink:w(),autolinkEmail:mr,autolinkProtocol:Lt,blockQuote:w(),characterEscapeValue:me,characterReferenceMarkerHexadecimal:lt,characterReferenceMarkerNumeric:lt,characterReferenceValue:qr,codeFenced:w(ae),codeFencedFence:Y,codeFencedFenceInfo:R,codeFencedFenceMeta:j,codeFlowValue:me,codeIndented:w($e),codeText:w(Qe),codeTextData:me,data:me,definition:w(),definitionDestinationString:be,definitionLabelString:ge,definitionTitleString:oe,emphasis:w(),hardBreakEscape:w(rt),hardBreakTrailing:w(rt),htmlFlow:w(ee),htmlFlowData:me,htmlText:w(xt),htmlTextData:me,image:w(nt),label:H,labelText:V,lineEnding:Ee,link:w($t),listItem:w(),listOrdered:w(),listUnordered:w(),paragraph:w(),referenceString:At,resourceDestinationString:Ut,resourceTitleString:Nt,resource:Ct,setextHeading:w(Pe),setextHeadingLineSequence:He,setextHeadingText:ke,strong:w(),thematicBreak:w()}},t.mdastExtensions||[]),e={};return n;function n(ie){let fe={type:"root",children:[]},we=[fe],Ce=[],Dt=[],nn={stack:we,tokenStack:Ce,config:r,enter:h,exit:E,buffer:g,resume:C,setData:s,getData:l},ot=-1;for(;++ot<ie.length;)if(ie[ot][1].type==="listOrdered"||ie[ot][1].type==="listUnordered")if(ie[ot][0]==="enter")Dt.push(ot);else{let wt=Dt.pop();ot=o(ie,wt,ot)}for(ot=-1;++ot<ie.length;){let wt=r[ie[ot][0]];of.call(wt,ie[ot][1].type)&&wt[ie[ot][1].type].call(Object.assign({sliceSerialize:ie[ot][2].sliceSerialize},nn),ie[ot][1])}if(Ce.length>0){let wt=Ce[Ce.length-1];(wt[1]||Fm).call(nn,void 0,wt[0])}for(fe.position={start:f(ie.length>0?ie[0][1].start:{line:1,column:1,offset:0}),end:f(ie.length>0?ie[ie.length-2][1].end:{line:1,column:1,offset:0})},ot=-1;++ot<r.transforms.length;)fe=r.transforms[ot](fe)||fe;return fe}function o(ie,fe,we){let Ce=fe-1,Dt=-1,nn=!1,ot,wt,Ft,on;for(;++Ce<=we;){let ht=ie[Ce];if(ht[1].type==="listUnordered"||ht[1].type==="listOrdered"||ht[1].type==="blockQuote"?(ht[0]==="enter"?Dt++:Dt--,on=void 0):ht[1].type==="lineEndingBlank"?ht[0]==="enter"&&(ot&&!on&&!Dt&&!Ft&&(Ft=Ce),on=void 0):ht[1].type==="linePrefix"||ht[1].type==="listItemValue"||ht[1].type==="listItemMarker"||ht[1].type==="listItemPrefix"||ht[1].type==="listItemPrefixWhitespace"||(on=void 0),!Dt&&ht[0]==="enter"&&ht[1].type==="listItemPrefix"||Dt===-1&&ht[0]==="exit"&&(ht[1].type==="listUnordered"||ht[1].type==="listOrdered")){if(ot){let In=Ce;for(wt=void 0;In--;){let Gt=ie[In];if(Gt[1].type==="lineEnding"||Gt[1].type==="lineEndingBlank"){if(Gt[0]==="exit")continue;wt&&(ie[wt][1].type="lineEndingBlank",nn=!0),Gt[1].type="lineEnding",wt=In}else if(!(Gt[1].type==="linePrefix"||Gt[1].type==="blockQuotePrefix"||Gt[1].type==="blockQuotePrefixWhitespace"||Gt[1].type==="blockQuoteMarker"||Gt[1].type==="listItemIndent"))break}Ft&&(!wt||Ft<wt)&&(ot._spread=!0),ot.end=Object.assign({},wt?ie[wt][1].start:ht[1].end),ie.splice(wt||Ce,0,["exit",ot,ht[2]]),Ce++,we++}ht[1].type==="listItemPrefix"&&(ot={type:"listItem",_spread:!1,start:Object.assign({},ht[1].start)},ie.splice(Ce,0,["enter",ot,ht[2]]),Ce++,we++,Ft=void 0,on=!0)}}return ie[fe][1]._spread=nn,we}function s(ie,fe){e[ie]=fe}function l(ie){return e[ie]}function f(ie){return{line:ie.line,column:ie.column,offset:ie.offset}}function c(ie,fe){return we;function we(Ce){h.call(this,ie(Ce),Ce),fe&&fe.call(this,Ce)}}function g(){this.stack.push({type:"fragment",children:[]})}function h(ie,fe,we){return this.stack[this.stack.length-1].children.push(ie),this.stack.push(ie),this.tokenStack.push([fe,we]),ie.position={start:f(fe.start)},ie}function w(ie){return fe;function fe(we){ie&&ie.call(this,we),E.call(this,we)}}function E(ie,fe){let we=this.stack.pop(),Ce=this.tokenStack.pop();if(Ce)Ce[0].type!==ie.type&&(fe?fe.call(this,ie,Ce[0]):(Ce[1]||Fm).call(this,ie,Ce[0]));else throw new Error("Cannot close `"+ie.type+"` ("+Fi({start:ie.start,end:ie.end})+"): it\u2019s not open");return we.position.end=f(ie.end),we}function C(){return lm(this.stack.pop())}function x(){s("expectingFirstListItemValue",!0)}function O(ie){if(l("expectingFirstListItemValue")){let fe=this.stack[this.stack.length-2];fe.start=Number.parseInt(this.sliceSerialize(ie),10),s("expectingFirstListItemValue")}}function R(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.lang=ie}function j(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.meta=ie}function Y(){l("flowCodeInside")||(this.buffer(),s("flowCodeInside",!0))}function ae(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ie.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s("flowCodeInside")}function $e(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ie.replace(/(\r?\n|\r)$/g,"")}function ge(ie){let fe=this.resume(),we=this.stack[this.stack.length-1];we.label=fe,we.identifier=cr(this.sliceSerialize(ie)).toLowerCase()}function oe(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.title=ie}function be(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.url=ie}function Ae(ie){let fe=this.stack[this.stack.length-1];if(!fe.depth){let we=this.sliceSerialize(ie).length;fe.depth=we}}function ke(){s("setextHeadingSlurpLineEnding",!0)}function He(ie){let fe=this.stack[this.stack.length-1];fe.depth=this.sliceSerialize(ie).charCodeAt(0)===61?1:2}function Pe(){s("setextHeadingSlurpLineEnding")}function Fe(ie){let fe=this.stack[this.stack.length-1],we=fe.children[fe.children.length-1];(!we||we.type!=="text")&&(we=mt(),we.position={start:f(ie.start)},fe.children.push(we)),this.stack.push(we)}function me(ie){let fe=this.stack.pop();fe.value+=this.sliceSerialize(ie),fe.position.end=f(ie.end)}function Ee(ie){let fe=this.stack[this.stack.length-1];if(l("atHardBreak")){let we=fe.children[fe.children.length-1];we.position.end=f(ie.end),s("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(fe.type)&&(Fe.call(this,ie),me.call(this,ie))}function rt(){s("atHardBreak",!0)}function ee(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ie}function xt(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ie}function Qe(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ie}function $t(){let ie=this.stack[this.stack.length-1];l("inReference")?(ie.type+="Reference",ie.referenceType=l("referenceType")||"shortcut",delete ie.url,delete ie.title):(delete ie.identifier,delete ie.label),s("referenceType")}function nt(){let ie=this.stack[this.stack.length-1];l("inReference")?(ie.type+="Reference",ie.referenceType=l("referenceType")||"shortcut",delete ie.url,delete ie.title):(delete ie.identifier,delete ie.label),s("referenceType")}function V(ie){let fe=this.stack[this.stack.length-2],we=this.sliceSerialize(ie);fe.label=xa(we),fe.identifier=cr(we).toLowerCase()}function H(){let ie=this.stack[this.stack.length-1],fe=this.resume(),we=this.stack[this.stack.length-1];s("inReference",!0),we.type==="link"?we.children=ie.children:we.alt=fe}function Ut(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.url=ie}function Nt(){let ie=this.resume(),fe=this.stack[this.stack.length-1];fe.title=ie}function Ct(){s("inReference")}function Pt(){s("referenceType","collapsed")}function At(ie){let fe=this.resume(),we=this.stack[this.stack.length-1];we.label=fe,we.identifier=cr(this.sliceSerialize(ie)).toLowerCase(),s("referenceType","full")}function lt(ie){s("characterReferenceType",ie.type)}function qr(ie){let fe=this.sliceSerialize(ie),we=l("characterReferenceType"),Ce;we?(Ce=va(fe,we==="characterReferenceMarkerNumeric"?10:16),s("characterReferenceType")):Ce=go(fe);let Dt=this.stack.pop();Dt.value+=Ce,Dt.position.end=f(ie.end)}function Lt(ie){me.call(this,ie);let fe=this.stack[this.stack.length-1];fe.url=this.sliceSerialize(ie)}function mr(ie){me.call(this,ie);let fe=this.stack[this.stack.length-1];fe.url="mailto:"+this.sliceSerialize(ie)}function tr(){return{type:"blockquote",children:[]}}function xr(){return{type:"code",lang:null,meta:null,value:""}}function Ht(){return{type:"inlineCode",value:""}}function oi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xe(){return{type:"emphasis",children:[]}}function Fn(){return{type:"heading",depth:void 0,children:[]}}function Tn(){return{type:"break"}}function Ne(){return{type:"html",value:""}}function Se(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function bt(ie){return{type:"list",ordered:ie.type==="listOrdered",start:null,spread:ie._spread,children:[]}}function hr(ie){return{type:"listItem",spread:ie._spread,checked:null,children:[]}}function qe(){return{type:"paragraph",children:[]}}function Re(){return{type:"strong",children:[]}}function mt(){return{type:"text",value:""}}function it(){return{type:"thematicBreak"}}}function Tm(t,r){let e=-1;for(;++e<r.length;){let n=r[e];Array.isArray(n)?Tm(t,n):Fv(t,n)}return t}function Fv(t,r){let e;for(e in r)if(of.call(r,e)){let n=e==="canContainEols"||e==="transforms",s=(of.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),l=r[e];l&&(n?t[e]=[...s,...l]:Object.assign(s,l))}}function Fm(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 af(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return sf(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var Im=af;var Tv={tokenize:Rv,partial:!0},qm={tokenize:Nv,partial:!0},Rm={tokenize:Dv,partial:!0},yo={tokenize:jv,partial:!0},Nm={tokenize:Lv,partial:!0},Dm={tokenize:Ov,previous:Bm},Lm={tokenize:qv,previous:ff},Bn={tokenize:Iv,previous:Mm},Pn={},lf={text:Pn},Di=48;for(;Di<123;)Pn[Di]=Bn,Di++,Di===58?Di=65:Di===91&&(Di=97);Pn[43]=Bn;Pn[45]=Bn;Pn[46]=Bn;Pn[95]=Bn;Pn[72]=[Bn,Lm];Pn[104]=[Bn,Lm];Pn[87]=[Bn,Dm];Pn[119]=[Bn,Dm];function Iv(t,r,e){let n=this,o,s;return l;function l(C){return!Om(C)||!Mm(n.previous)||cf(n.events)?e(C):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(C))}function f(C){return Om(C)?(t.consume(C),f):C===64?(t.consume(C),c):e(C)}function c(C){return C===46?t.check(yo,E,g)(C):C===45||C===95?t.check(yo,e,h)(C):Vt(C)?(!s&&Ti(C)&&(s=!0),t.consume(C),c):E(C)}function g(C){return t.consume(C),o=!0,s=void 0,c}function h(C){return t.consume(C),w}function w(C){return C===46?t.check(yo,e,g)(C):c(C)}function E(C){return o&&!s?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(C)):e(C)}}function Ov(t,r,e){let n=this;return o;function o(l){return l!==87&&l!==119||!Bm(n.previous)||cf(n.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Tv,t.attempt(qm,t.attempt(Rm,s),e),e)(l))}function s(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function qv(t,r,e){let n=this;return o;function o(x){return x!==72&&x!==104||!ff(n.previous)||cf(n.events)?e(x):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(x),s)}function s(x){return x===84||x===116?(t.consume(x),l):e(x)}function l(x){return x===84||x===116?(t.consume(x),f):e(x)}function f(x){return x===80||x===112?(t.consume(x),c):e(x)}function c(x){return x===83||x===115?(t.consume(x),g):g(x)}function g(x){return x===58?(t.consume(x),h):e(x)}function h(x){return x===47?(t.consume(x),w):e(x)}function w(x){return x===47?(t.consume(x),E):e(x)}function E(x){return x===null||ri(x)||Ii(x)||Oi(x)?e(x):t.attempt(qm,t.attempt(Rm,C),e)(x)}function C(x){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(x)}}function Rv(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||ce(c)?e(c):r(c)}}function Nv(t,r,e){let n,o;return s;function s(c){return c===38?t.check(Nm,f,l)(c):c===46||c===95?t.check(yo,f,l)(c):c===null||ri(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 Dv(t,r){let e=0;return n;function n(l){return l===38?t.check(Nm,r,o)(l):(l===40&&e++,l===41?t.check(yo,s,o)(l):uf(l)?r(l):jm(l)?t.check(yo,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 Lv(t,r,e){return n;function n(l){return t.consume(l),o}function o(l){return fr(l)?(t.consume(l),o):l===59?(t.consume(l),s):e(l)}function s(l){return uf(l)?r(l):e(l)}}function jv(t,r,e){return n;function n(s){return t.consume(s),o}function o(s){return jm(s)?(t.consume(s),o):uf(s)?r(s):e(s)}}function jm(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 uf(t){return t===null||t===60||tt(t)}function Om(t){return t===43||t===45||t===46||t===95||Vt(t)}function Bm(t){return t===null||t===40||t===42||t===95||t===126||tt(t)}function ff(t){return t===null||!fr(t)}function Mm(t){return t!==47&&ff(t)}function cf(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 Bv={tokenize:Kv,partial:!0};function pf(){return{document:{[91]:{tokenize:Uv,continuation:{tokenize:Hv},exit:Gv}},text:{[91]:{tokenize:Vv},[93]:{add:"after",tokenize:Mv,resolveTo:zv}}}}function Mv(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=cr(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 zv(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 Vv(t,r,e){let n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s=0,l;return f;function f(E){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(E),t.exit("gfmFootnoteCallLabelMarker"),c}function c(E){return E!==94?e(E):(t.enter("gfmFootnoteCallMarker"),t.consume(E),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(E){let C;return E===null||E===91||s++>999?e(E):E===93?l?(t.exit("chunkString"),C=t.exit("gfmFootnoteCallString"),o.includes(cr(n.sliceSerialize(C)))?w(E):e(E)):e(E):(t.consume(E),tt(E)||(l=!0),E===92?h:g)}function h(E){return E===91||E===92||E===93?(t.consume(E),s++,g):g(E)}function w(E){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(E),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function Uv(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 R;return O===null||O===91||l>999?e(O):O===93?f?(R=t.exit("gfmFootnoteDefinitionLabelString"),s=cr(n.sliceSerialize(R)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),C):e(O):ce(O)?(t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),l++,h):(t.enter("chunkString").contentType="string",w(O))}function w(O){return O===null||ce(O)||O===91||O===93||l>999?(t.exit("chunkString"),h(O)):(tt(O)||(f=!0),l++,t.consume(O),O===92?E:w)}function E(O){return O===91||O===92||O===93?(t.consume(O),l++,w):w(O)}function C(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),ve(t,x,"gfmFootnoteDefinitionWhitespace")):e(O)}function x(O){return o.includes(s)||o.push(s),r(O)}}function Hv(t,r,e){return t.check(Sn,r,t.attempt(Bv,r,e))}function Gv(t){t.exit("gfmFootnoteDefinition")}function Kv(t,r,e){let n=this;return ve(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 df(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)},w=[["enter",g,l],["enter",s[c][1],l],["exit",s[c][1],l],["enter",h,l]];It(w,w.length,0,ii(l.parser.constructs.insideSpan.null,s.slice(c+1,f),l)),It(w,w.length,0,[["exit",h,l],["enter",s[f][1],l],["exit",s[f][1],l],["exit",g,l]]),It(s,c-1,f-c+3,w),f=c+w.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 w;function w(C){return c===126&&g[g.length-1][1].type!=="characterEscape"?f(C):(s.enter("strikethroughSequenceTemporary"),E(C))}function E(C){let x=ho(c);if(C===126)return h>1?f(C):(s.consume(C),h++,E);if(h<2&&!r)return f(C);let O=s.exit("strikethroughSequenceTemporary"),R=ho(C);return O._open=!R||R===2&&Boolean(x),O._close=!x||x===2&&Boolean(R),l(C)}}}var mf={flow:{null:{tokenize:Jv,resolve:Wv}}},zm={tokenize:Zv,partial:!0};function Wv(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 w={type:"tableContent",start:t[l][1].start,end:t[f][1].end},E={type:"chunkText",start:w.start,end:w.end,contentType:"text"};t.splice(l,f-l+1,["enter",w,r],["enter",E,r],["exit",E,r],["exit",w,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 w={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",w,r]),t.splice(c,0,["enter",w,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 Jv(t,r,e){let n=this,o=[],s=0,l,f;return c;function c(ee){return t.enter("table")._align=o,t.enter("tableHead"),t.enter("tableRow"),ee===124?g(ee):(s++,t.enter("temporaryTableCellContent"),E(ee))}function g(ee){return t.enter("tableCellDivider"),t.consume(ee),t.exit("tableCellDivider"),l=!0,h}function h(ee){return ee===null||ce(ee)?x(ee):Ue(ee)?(t.enter("whitespace"),t.consume(ee),w):(l&&(l=void 0,s++),ee===124?g(ee):(t.enter("temporaryTableCellContent"),E(ee)))}function w(ee){return Ue(ee)?(t.consume(ee),w):(t.exit("whitespace"),h(ee))}function E(ee){return ee===null||ee===124||tt(ee)?(t.exit("temporaryTableCellContent"),h(ee)):(t.consume(ee),ee===92?C:E)}function C(ee){return ee===92||ee===124?(t.consume(ee),E):E(ee)}function x(ee){if(ee===null)return e(ee);t.exit("tableRow"),t.exit("tableHead");let xt=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:rt,partial:!0},function(Qe){return n.interrupt=xt,t.enter("tableDelimiterRow"),O(Qe)},function(Qe){return n.interrupt=xt,e(Qe)})(ee)}function O(ee){return ee===null||ce(ee)?$e(ee):Ue(ee)?(t.enter("whitespace"),t.consume(ee),R):ee===45?(t.enter("tableDelimiterFiller"),t.consume(ee),f=!0,o.push("none"),j):ee===58?(t.enter("tableDelimiterAlignment"),t.consume(ee),t.exit("tableDelimiterAlignment"),o.push("left"),Y):ee===124?(t.enter("tableCellDivider"),t.consume(ee),t.exit("tableCellDivider"),O):e(ee)}function R(ee){return Ue(ee)?(t.consume(ee),R):(t.exit("whitespace"),O(ee))}function j(ee){return ee===45?(t.consume(ee),j):(t.exit("tableDelimiterFiller"),ee===58?(t.enter("tableDelimiterAlignment"),t.consume(ee),t.exit("tableDelimiterAlignment"),o[o.length-1]=o[o.length-1]==="left"?"center":"right",ae):O(ee))}function Y(ee){return ee===45?(t.enter("tableDelimiterFiller"),t.consume(ee),f=!0,j):e(ee)}function ae(ee){return ee===null||ce(ee)?$e(ee):Ue(ee)?(t.enter("whitespace"),t.consume(ee),R):ee===124?(t.enter("tableCellDivider"),t.consume(ee),t.exit("tableCellDivider"),O):e(ee)}function $e(ee){return t.exit("tableDelimiterRow"),!f||s!==o.length?e(ee):ee===null?ge(ee):t.check(zm,ge,t.attempt({tokenize:rt,partial:!0},ve(t,oe,"linePrefix",4),ge))(ee)}function ge(ee){return t.exit("table"),r(ee)}function oe(ee){return t.enter("tableBody"),be(ee)}function be(ee){return t.enter("tableRow"),ee===124?Ae(ee):(t.enter("temporaryTableCellContent"),Pe(ee))}function Ae(ee){return t.enter("tableCellDivider"),t.consume(ee),t.exit("tableCellDivider"),ke}function ke(ee){return ee===null||ce(ee)?me(ee):Ue(ee)?(t.enter("whitespace"),t.consume(ee),He):ee===124?Ae(ee):(t.enter("temporaryTableCellContent"),Pe(ee))}function He(ee){return Ue(ee)?(t.consume(ee),He):(t.exit("whitespace"),ke(ee))}function Pe(ee){return ee===null||ee===124||tt(ee)?(t.exit("temporaryTableCellContent"),ke(ee)):(t.consume(ee),ee===92?Fe:Pe)}function Fe(ee){return ee===92||ee===124?(t.consume(ee),Pe):Pe(ee)}function me(ee){return t.exit("tableRow"),ee===null?Ee(ee):t.check(zm,Ee,t.attempt({tokenize:rt,partial:!0},ve(t,be,"linePrefix",4),Ee))(ee)}function Ee(ee){return t.exit("tableBody"),ge(ee)}function rt(ee,xt,Qe){return $t;function $t(V){return ee.enter("lineEnding"),ee.consume(V),ee.exit("lineEnding"),ve(ee,nt,"linePrefix")}function nt(V){if(n.parser.lazy[n.now().line]||V===null||ce(V))return Qe(V);let H=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&H&&H[1].type==="linePrefix"&&H[2].sliceSerialize(H[1],!0).length>=4?Qe(V):(n._gfmTableDynamicInterruptHack=!0,ee.check(n.parser.constructs.flow,function(Ut){return n._gfmTableDynamicInterruptHack=!1,Qe(Ut)},function(Ut){return n._gfmTableDynamicInterruptHack=!1,xt(Ut)})(V))}}}function Zv(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||tt(l)?r(l):e(l)}}var Qv={tokenize:Xv},hf={text:{[91]:Qv}};function Xv(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 tt(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:Yv},r,e)):e(f)}}function Yv(t,r,e){let n=this;return ve(t,o,"whitespace");function o(s){let l=n.events[n.events.length-1];return(l&&l[1].type==="whitespace"||ce(s))&&s!==null?r(s):e(s)}}function Vm(t){return pa([lf,pf(),df(t),mf,hf])}function gf(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 yf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ds=function(t){if(t==null)return n0;if(typeof t=="string")return r0(t);if(typeof t=="object")return Array.isArray(t)?e0(t):t0(t);if(typeof t=="function")return Ca(t);throw new Error("Expected function, string, or object as test")};function e0(t){let r=[],e=-1;for(;++e<t.length;)r[e]=ds(t[e]);return Ca(n);function n(...o){let s=-1;for(;++s<r.length;)if(r[s].call(this,...o))return!0;return!1}}function t0(t){return Ca(r);function r(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function r0(t){return Ca(r);function r(e){return e&&e.type===t}}function Ca(t){return r;function r(...e){return Boolean(t.call(this,...e))}}function n0(){return!0}function Um(t){return"\x1B[33m"+t+"\x1B[39m"}var i0=!0,o0="skip",Hm=!1,Gm=function(t,r,e,n){typeof r=="function"&&typeof e!="function"&&(n=e,e=r,r=null);let o=ds(r),s=n?-1:1;l(t,null,[])();function l(f,c,g){let h=typeof f=="object"&&f!==null?f:{},w;return typeof h.type=="string"&&(w=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0,Object.defineProperty(E,"name",{value:"node ("+Um(h.type+(w?"<"+w+">":""))+")"})),E;function E(){let C=[],x,O,R;if((!r||o(f,c,g[g.length-1]||null))&&(C=s0(e(f,g)),C[0]===Hm))return C;if(f.children&&C[0]!==o0)for(O=(n?f.children.length:-1)+s,R=g.concat(f);O>-1&&O<f.children.length;){if(x=l(f.children[O],O,R)(),x[0]===Hm)return x;O=typeof x[1]=="number"?x[1]:O+s}return C}}};function s0(t){return Array.isArray(t)?t:typeof t=="number"?[i0,t]:[t]}var a0={}.hasOwnProperty,$f=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=ds(o.ignore||[]),f=l0(s),c=-1;for(;++c<f.length;)Gm(t,"text",g);return t;function g(w,E){let C=-1,x;for(;++C<E.length;){let O=E[C];if(l(O,x?x.children.indexOf(O):void 0,x))return;x=O}if(x)return h(w,E)}function h(w,E){let C=E[E.length-1],x=f[c][0],O=f[c][1],R=0,j=C.children.indexOf(w),Y=!1,ae=[],$e;x.lastIndex=0;let ge=x.exec(w.value);for(;ge;){$e=ge.index;let oe={index:ge.index,input:ge.input,stack:[...E,w]},be=O(...ge,oe);if(typeof be=="string"&&(be=be.length>0?{type:"text",value:be}:void 0),be!==!1&&(R!==$e&&ae.push({type:"text",value:w.value.slice(R,$e)}),Array.isArray(be)?ae.push(...be):be&&ae.push(be),R=$e+ge[0].length,Y=!0),!x.global)break;ge=x.exec(w.value)}return Y?(R<w.value.length&&ae.push({type:"text",value:w.value.slice(R)}),C.children.splice(j,1,...ae)):ae=[w],j+ae.length}};function l0(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([Km(t[e][0]),Wm(t[e][1])])}else{let e;for(e in t)a0.call(t,e)&&r.push([Km(e),Wm(t[e])])}return r}function Km(t){return typeof t=="string"?new RegExp(yf(t),"g"):t}function Wm(t){return typeof t=="function"?t:()=>t}var bf="phrasing",wf=["autolink","link","image","label"],Jm={transforms:[m0],enter:{literalAutolink:u0,literalAutolinkEmail:kf,literalAutolinkHttp:kf,literalAutolinkWww:kf},exit:{literalAutolink:d0,literalAutolinkEmail:p0,literalAutolinkHttp:f0,literalAutolinkWww:c0}},Zm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:bf,notInConstruct:wf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:bf,notInConstruct:wf},{character:":",before:"[ps]",after:"\\/",inConstruct:bf,notInConstruct:wf}]};function u0(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function kf(t){this.config.enter.autolinkProtocol.call(this,t)}function f0(t){this.config.exit.autolinkProtocol.call(this,t)}function c0(t){this.config.exit.data.call(this,t);let r=this.stack[this.stack.length-1];r.url="http://"+this.sliceSerialize(t)}function p0(t){this.config.exit.autolinkEmail.call(this,t)}function d0(t){this.exit(t)}function m0(t){$f(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,h0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,g0]],{ignore:["link","linkReference"]})}function h0(t,r,e,n,o){let s="";if(!Qm(o)||(/^w/i.test(r)&&(e=r+e,r="",s="http://"),!y0(e)))return!1;let l=$0(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 g0(t,r,e,n){return!Qm(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function y0(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 $0(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=gf(t,"("),o=gf(t,")");e!==-1&&n>o;)t+=s.slice(0,e+1),s=s.slice(e+1),e=s.indexOf(")"),o++;return[t,s]}function Qm(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Ii(e)||Oi(e))&&(!r||e!==47)}function vf(t){return t.label||!t.identifier?t.label||"":xa(t.identifier)}function dr(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),w=h[h.length-1];return o+=h.length-1,s=h.length===1?s+w.length:1+w.length+n,g}}function Aa(t,r,e){let n=r.indexStack,o=t.children||[],s=dr(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:`
|
|
39
42
|
`,after:`
|
|
40
|
-
`,...
|
|
43
|
+
`,...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 w=r.join.length;for(;w--;){let E=r.join[w](g,h,t,r);if(E===!0||E===1)break;if(typeof E=="number")return`
|
|
41
44
|
`.repeat(1+E);if(E===!1)return`
|
|
42
45
|
|
|
43
46
|
<!---->
|
|
44
47
|
|
|
45
48
|
`}return`
|
|
46
49
|
|
|
47
|
-
`}}var
|
|
48
|
-
`)&&
|
|
49
|
-
`)}function
|
|
50
|
-
`,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:E}};function l(
|
|
51
|
-
`))}function c(
|
|
52
|
-
`,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:
|
|
53
|
-
`,encode:["$"],...
|
|
54
|
-
`),
|
|
55
|
-
`)),
|
|
50
|
+
`}}var b0=/\r?\n|\r/g;function Ea(t,r){let e=[],n=0,o=0,s;for(;s=b0.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 $o(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 Ym(t,r){return Xm(t,r.inConstruct,!0)&&!Xm(t,r.notInConstruct,!1)}function Xm(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 ms(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(!Ym(t.stack,h))continue;let w=$o(h),E;for(;E=w.exec(n);){let C="before"in h||Boolean(h.atBreak),x="after"in h,O=E.index+(C?E[1].length:0);o.includes(O)?(l[O].before&&!C&&(l[O].before=!1),l[O].after&&!x&&(l[O].after=!1)):(o.push(O),l[O]={before:C,after:x})}}o.sort(w0);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(eh(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(eh(n.slice(c,g),e.after)),s.join("")}function w0(t,r){return t-r}function eh(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 th(){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=cr(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=cr(this.sliceSerialize(c)).toLowerCase()}function f(c){this.exit(c)}}function rh(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,o,s,l){let f=dr(l),c=f.move("[^"),g=s.enter("footnoteReference"),h=s.enter("reference");return c+=f.move(ms(s,vf(n),{...f.current(),before:c,after:"]"})),h(),g(),c+=f.move("]"),c}function r(){return"["}function e(n,o,s,l){let f=dr(l),c=f.move("[^"),g=s.enter("footnoteDefinition"),h=s.enter("label");return c+=f.move(ms(s,vf(n),{...f.current(),before:c,after:"]"})),h(),c+=f.move("]:"+(n.children&&n.children.length>0?" ":"")),f.shift(4),c+=f.move(Ea(Aa(n,s,f.current()),w)),g(),c;function w(E,C,x){return C?(x?"":" ")+E:E}}}function _a(t,r,e){let n=r.indexStack,o=t.children||[],s=[],l=-1,f=e.before;n.push(-1);let c=dr(e);for(;++l<o.length;){let g=o[l],h;if(n[n.length-1]=l,l+1<o.length){let w=r.handle.handlers[o[l+1].type];w&&w.peek&&(w=w.peek),h=w?w(o[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else h=e.after;s.length>0&&(f==="\r"||f===`
|
|
51
|
+
`)&&g.type==="html"&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=dr(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 nh={canContainEols:["delete"],enter:{strikethrough:k0},exit:{strikethrough:v0}},ih={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:oh}};oh.peek=x0;function k0(t){this.enter({type:"delete",children:[]},t)}function v0(t){this.exit(t)}function oh(t,r,e,n){let o=dr(n),s=e.enter("emphasis"),l=o.move("~~");return l+=_a(t,e,{...o.current(),before:l,after:"~"}),l+=o.move("~~"),s(),l}function x0(){return"~"}xf.peek=C0;function xf(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=$o(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 C0(){return"`"}function ah(t,r={}){let e=(r.align||[]).concat(),n=r.stringLength||E0,o=[],s=[],l=[],f=[],c=0,g=-1;for(;++g<t.length;){let x=[],O=[],R=-1;for(t[g].length>c&&(c=t[g].length);++R<t[g].length;){let j=A0(t[g][R]);if(r.alignDelimiters!==!1){let Y=n(j);O[R]=Y,(f[R]===void 0||Y>f[R])&&(f[R]=Y)}x.push(j)}s[g]=x,l[g]=O}let h=-1;if(typeof e=="object"&&"length"in e)for(;++h<c;)o[h]=sh(e[h]);else{let x=sh(e);for(;++h<c;)o[h]=x}h=-1;let w=[],E=[];for(;++h<c;){let x=o[h],O="",R="";x===99?(O=":",R=":"):x===108?O=":":x===114&&(R=":");let j=r.alignDelimiters===!1?1:Math.max(1,f[h]-O.length-R.length),Y=O+"-".repeat(j)+R;r.alignDelimiters!==!1&&(j=O.length+j+R.length,j>f[h]&&(f[h]=j),E[h]=j),w[h]=Y}s.splice(1,0,w),l.splice(1,0,E),g=-1;let C=[];for(;++g<s.length;){let x=s[g],O=l[g];h=-1;let R=[];for(;++h<c;){let j=x[h]||"",Y="",ae="";if(r.alignDelimiters!==!1){let $e=f[h]-(O[h]||0),ge=o[h];ge===114?Y=" ".repeat($e):ge===99?$e%2?(Y=" ".repeat($e/2+.5),ae=" ".repeat($e/2-.5)):(Y=" ".repeat($e/2),ae=Y):ae=" ".repeat($e)}r.delimiterStart!==!1&&!h&&R.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&j==="")&&(r.delimiterStart!==!1||h)&&R.push(" "),r.alignDelimiters!==!1&&R.push(Y),R.push(j),r.alignDelimiters!==!1&&R.push(ae),r.padding!==!1&&R.push(" "),(r.delimiterEnd!==!1||h!==c-1)&&R.push("|")}C.push(r.delimiterEnd===!1?R.join("").replace(/ +$/,""):R.join(""))}return C.join(`
|
|
52
|
+
`)}function A0(t){return t==null?"":String(t)}function E0(t){return t.length}function sh(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 Af={enter:{table:_0,tableData:lh,tableHeader:lh,tableRow:P0},exit:{codeText:F0,table:S0,tableData:Cf,tableHeader:Cf,tableRow:Cf}};function _0(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function S0(t){this.exit(t),this.setData("inTable")}function P0(t){this.enter({type:"tableRow",children:[]},t)}function Cf(t){this.exit(t)}function lh(t){this.enter({type:"tableCell",children:[]},t)}function F0(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,T0));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function T0(t,r){return r==="|"?r:t}function Ef(t){let r=t||{},e=r.tableCellPadding,n=r.tablePipeAlign,o=r.stringLength,s=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
53
|
+
`,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:E}};function l(C,x,O,R){return g(h(C,O,R),C.align)}function f(C,x,O,R){let j=w(C,O,R),Y=g([j]);return Y.slice(0,Y.indexOf(`
|
|
54
|
+
`))}function c(C,x,O,R){let j=O.enter("tableCell"),Y=O.enter("phrasing"),ae=_a(C,O,{...R,before:s,after:s});return Y(),j(),ae}function g(C,x){return ah(C,{align:x,alignDelimiters:n,padding:e,stringLength:o})}function h(C,x,O){let R=C.children,j=-1,Y=[],ae=x.enter("table");for(;++j<R.length;)Y[j]=w(R[j],x,O);return ae(),Y}function w(C,x,O){let R=C.children,j=-1,Y=[],ae=x.enter("tableRow");for(;++j<R.length;)Y[j]=c(R[j],C,x,O);return ae(),Y}function E(C,x,O){let R=xf(C,x,O);return O.stack.includes("tableCell")&&(R=R.replace(/\|/g,"\\$&")),R}}function uh(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 fh(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 ch(t,r,e,n){let o=fh(e),s=e.bulletCurrent||uh(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=dr(n);f.move(s+" ".repeat(l-s.length)),f.shift(l);let c=e.enter("listItem"),g=Ea(Aa(t,e,f.current()),h);return c(),g;function h(w,E,C){return E?(C?"":" ".repeat(l))+w:(C?s:s+" ".repeat(l-s.length))+w}}var dh={exit:{taskListCheckValueChecked:ph,taskListCheckValueUnchecked:ph,paragraph:I0}},mh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:O0}};function ph(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function I0(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 O0(t,r,e,n){let o=t.children[0],s=typeof t.checked=="boolean"&&o&&o.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=dr(n);s&&f.move(l);let c=ch(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 _f(){return[Jm,th(),nh,Af,dh]}function Sf(t){return{extensions:[Zm,rh(),ih,Ef(t),mh]}}function Pf(t={}){let r=this.data();e("micromarkExtensions",Vm(t)),e("fromMarkdownExtensions",_f()),e("toMarkdownExtensions",Sf(t));function e(n,o){(r[n]?r[n]:r[n]=[]).push(o)}}var gh={tokenize:q0,concrete:!0},hh={tokenize:R0,partial:!0};function q0(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(Y){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),c(Y)}function c(Y){return Y===36?(t.consume(Y),l++,c):l<2?e(Y):(t.exit("mathFlowFenceSequence"),ve(t,g,"whitespace")(Y))}function g(Y){return Y===null||ce(Y)?w(Y):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),h(Y))}function h(Y){return Y===null||ce(Y)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),w(Y)):Y===36?e(Y):(t.consume(Y),h)}function w(Y){return t.exit("mathFlowFence"),n.interrupt?r(Y):t.attempt(hh,E,R)(Y)}function E(Y){return t.attempt({tokenize:j,partial:!0},R,C)(Y)}function C(Y){return(s?ve(t,x,"linePrefix",s+1):x)(Y)}function x(Y){return Y===null?R(Y):ce(Y)?t.attempt(hh,E,R)(Y):(t.enter("mathFlowValue"),O(Y))}function O(Y){return Y===null||ce(Y)?(t.exit("mathFlowValue"),x(Y)):(t.consume(Y),O)}function R(Y){return t.exit("mathFlow"),r(Y)}function j(Y,ae,$e){let ge=0;return ve(Y,oe,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function oe(ke){return Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),be(ke)}function be(ke){return ke===36?(ge++,Y.consume(ke),be):ge<l?$e(ke):(Y.exit("mathFlowFenceSequence"),ve(Y,Ae,"whitespace")(ke))}function Ae(ke){return ke===null||ce(ke)?(Y.exit("mathFlowFence"),ae(ke)):$e(ke)}}}function R0(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 yh(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:N0,previous:D0};function n(o,s,l){let f=this,c=0,g,h;return w;function w(R){return o.enter("mathText"),o.enter("mathTextSequence"),E(R)}function E(R){return R===36?(o.consume(R),c++,E):c<2&&!e?l(R):(o.exit("mathTextSequence"),C(R))}function C(R){return R===null?l(R):R===36?(h=o.enter("mathTextSequence"),g=0,O(R)):R===32?(o.enter("space"),o.consume(R),o.exit("space"),C):ce(R)?(o.enter("lineEnding"),o.consume(R),o.exit("lineEnding"),C):(o.enter("mathTextData"),x(R))}function x(R){return R===null||R===32||R===36||ce(R)?(o.exit("mathTextData"),C(R)):(o.consume(R),x)}function O(R){return R===36?(o.consume(R),g++,O):g===c?(o.exit("mathTextSequence"),o.exit("mathText"),s(R)):(h.type="mathTextData",x(R))}}}function N0(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 D0(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Ff(t){return{flow:{[36]:gh},text:{[36]:yh(t)}}}function $h(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 Tf(){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 If(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=o,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
55
|
+
`,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=dr(c),w="$".repeat(Math.max($h(g,"$")+1,2)),E=f.enter("mathFlow"),C=h.move(w);if(s.meta){let x=f.enter("mathFlowMeta");C+=h.move(ms(f,s.meta,{before:C,after:`
|
|
56
|
+
`,encode:["$"],...h.current()})),x()}return C+=h.move(`
|
|
57
|
+
`),g&&(C+=h.move(g+`
|
|
58
|
+
`)),C+=h.move(w),E(),C}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 w=-1;for(;++w<f.unsafe.length;){let E=f.unsafe[w],C=$o(E),x;if(!!E.atBreak)for(;x=C.exec(c);){let O=x.index;c.codePointAt(O)===10&&c.codePointAt(O-1)===13&&O--,c=c.slice(0,O)+" "+c.slice(x.index+1)}}return h+c+h}function o(){return"$"}}function Of(t={}){let r=this.data();e("micromarkExtensions",Ff(t)),e("fromMarkdownExtensions",Tf()),e("toMarkdownExtensions",If(t));function e(n,o){(r[n]?r[n]:r[n]=[]).push(o)}}var Sa=(t,{lineOffset:r}={lineOffset:0})=>{let e=Vu().use(Im).use(Pf).use(Of).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);mo({processor:1}).use({"*:*":(f,c)=>(g,h,w)=>{g.children&&w(g.children,{...h})}}).use({":definition":(f,c)=>(g,h,w)=>{n[g.identifier]=g}}).run(e);let s=[];return mo({processor:1}).use({"*:*":(f,c)=>(g,h,w)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(g,null,2)),g.children&&w(g.children,{...h})}}).use({":root":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return Eu({},w(E,h))},":math":(f,c)=>(g,h,w)=>{let{value:E,children:C,position:x,...O}=g;return pd({value:E,location:o(x)})},":inlineMath":(f,c)=>(g,h,w)=>{let{value:E,children:C,position:x,...O}=g;return ud(E)},":heading":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return br({type:"block",level:g.depth,name:"head",location:o(C)},w(E,h))},":text":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return g.value},":list":(f,c)=>(g,h,w)=>{let E=h.listLevel||0,{children:C,position:x,...O}=g;return br({type:"list",level:E+1,list:g.ordered?"ordered":"itemized"},w(C,{...h,listLevel:E+1,ordered:g.ordered}))},":listItem":(f,c)=>(g,h,w)=>{let E=h.listLevel||0,{children:C,position:x,checked:O,...R}=g,j={name:"item",type:"block",level:h.listLevel,location:o(x)};return O!=null&&(j.checked=O,j.config=[{name:"checked",value:O,type:"boolean"}]),br(j,w(C,{...h,listLevel:E,ordered:g.ordered}))},":paragraph":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return br({type:"para",location:o(C),text:"text",margin:""},w(E,{...h}))},":linkReference":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g,O=n[x.identifier],R=(O==null?void 0:O.url)||"";return Au({meta:R},w(E,{...h}))},":definition":(f,c)=>(g,h,w)=>null,":inlineCode":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return oa({name:"C"},[g.value])},":strong":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return oa({name:"B"},w(E,{...h}))},":emphasis":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return oa({name:"I"},w(E,{...h}))},":link":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return Au({meta:g.url},w(E,{...h}))},":html":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return br({type:"block",name:"Html",location:o(C)},[rs(g.value)])},":code":(f,c)=>(g,h,w)=>{let{children:E,position:C,lang:x,meta:O,...R}=g;if(x==="mermaid"||x==="diagram")return br({type:"block",name:"Mermaid",config:[],location:o(C)},[rs(g.value)]);let j=[];return x&&j.push({name:"lang",value:x,type:"string"}),O&&j.push({name:"meta",value:O,type:"string"}),br({type:"block",name:"code",config:j,location:o(C)},[rs(g.value)])},":image":(f,c)=>(g,h,w)=>{let{title:E,alt:C,url:x,position:O,...R}=g,j=[],Y=[cd(x,C)];return E&&Y.push(fd([E])),br({type:"block",name:"Image",config:j,location:o(O)},Y)},":thematicBreak":(f,c)=>(g,h,w)=>null,":blockquote":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return br({name:"nested",location:o(C)},w(E,{...h}))},":table":(f,c)=>(g,h,w)=>{let{children:E,position:C,align:x,...O}=g;return br({name:"table",location:o(C),align:x},w(E,{...h,isHeaderUsed:0}))},":tableRow":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g,O=h.isHeaderUsed++,R={name:"row",location:o(C)};return O||(R.config=[{name:"header",value:!0,type:"boolean"}]),br(R,w(E,{...h}))},":tableCell":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return br({name:"cell",location:o(C)},w(E,{...h}))},":delete":(f,c)=>(g,h,w)=>{let{children:E,position:C,...x}=g;return ld(w(E,{...h}))},":break":(f,c)=>(g,h,w)=>null}).run(e).interator};var Pa={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:Sa(o,{lineOffset:s})}}return e}},toJSX:t=>wr},L0={Markdown:Pa,markdown:Pa},j0=Pa;0&&(module.exports={PluginRegister,parseMd,plugin});
|
|
56
59
|
/*!
|
|
57
60
|
* Determine if an object is a Buffer
|
|
58
61
|
*
|