@podlite/markdown 0.0.31 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs CHANGED
@@ -1,61 +1,63 @@
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},
1
+ var Bh=Object.create;var _o=Object.defineProperty;var Mh=Object.getOwnPropertyDescriptor;var zh=Object.getOwnPropertyNames;var Vh=Object.getPrototypeOf,Uh=Object.prototype.hasOwnProperty;var ye=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Wf=(t,r)=>{for(var e in r)_o(t,e,{get:r[e],enumerable:!0})},Jf=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of zh(r))!Uh.call(t,s)&&s!==e&&_o(t,s,{get:()=>r[s],enumerable:!(n=Mh(r,s))||n.enumerable});return t};var zr=(t,r,e)=>(e=t!=null?Bh(Vh(t)):{},Jf(r||!t||!t.__esModule?_o(e,"default",{value:t,enumerable:!0}):e,t)),Hh=t=>Jf(_o({},"__esModule",{value:!0}),t);var Ja=ye(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.getRules=Qi.isJSONType=void 0;var Gh=["string","number","integer","boolean","null","object","array"],Kh=new Set(Gh);function Wh(t){return typeof t=="string"&&Kh.has(t)}Qi.isJSONType=Wh;function Jh(){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=Jh});var Za=ye(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&&Zf(t,n)}Qn.schemaHasRulesForType=Zh;function Zf(t,r){return r.rules.some(e=>Qf(t,e))}Qn.shouldUseGroup=Zf;function Qf(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=Qf});var So=ye(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 Os=class{};pt._CodeOrName=Os;pt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var gi=class extends Os{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 Os{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 Xf(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._=Xf;var Qa=new xn("+");function Yf(t,...r){let e=[Rs(t[0])],n=0;for(;n<r.length;)e.push(Qa),Xa(e,r[n]),e.push(Qa,Rs(t[++n]));return Qh(e),new xn(e)}pt.str=Yf;function Xa(t,r){r instanceof xn?t.push(...r._items):r instanceof gi?t.push(r):t.push(eg(r))}pt.addCodeArg=Xa;function Qh(t){let r=1;for(;r<t.length-1;){if(t[r]===Qa){let e=Xh(t[r-1],t[r+1]);if(e!==void 0){t.splice(r-1,3,e);continue}t[r++]="+"}r++}}function Xh(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 Yh(t,r){return r.emptyStr()?t:t.emptyStr()?r:Yf`${t}${r}`}pt.strConcat=Yh;function eg(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:Rs(Array.isArray(t)?t.join(","):t)}function tg(t){return new xn(Rs(t))}pt.stringify=tg;function Rs(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}pt.safeStringify=Rs;function rg(t){return typeof t=="string"&&pt.IDENTIFIER.test(t)?new xn(`.${t}`):Xf`[${t}]`}pt.getProperty=rg});var rl=ye(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.ValueScope=yr.ValueScopeName=yr.Scope=yr.varKinds=yr.UsedValueState=void 0;var Pr=So(),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 Po=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=Po;var To=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=To;var ng=Pr._`\n`,tl=class extends Po{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?ng:Pr.nil}}get(){return this._scope}name(r){return new To(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 s=this.toName(r),{prefix:o}=s,l=(n=e.key)!==null&&n!==void 0?n:e.ref,f=this._values[o];if(f){let h=f.get(l);if(h)return h}else f=this._values[o]=new Map;f.set(l,s);let c=this._scope[o]||(this._scope[o]=[]),g=c.length;return c[g]=e.ref,s.setValue(e,{property:o,itemIndex:g}),s}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,s=>{if(s.value===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return s.value.code},e,n)}_reduceValues(r,e,n={},s){let o=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 $=this.opts.es5?yr.varKinds.var:yr.varKinds.const;o=Pr._`${o}${$} ${g} = ${h};${this.opts._n}`}else if(h=s==null?void 0:s(g))o=Pr._`${o}${h}${this.opts._n}`;else throw new Ya(g);c.set(g,el.Completed)})}return o}};yr.ValueScope=tl});var Me=ye(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.or=Ue.and=Ue.not=Ue.CodeGen=Ue.operators=Ue.varKinds=Ue.ValueScopeName=Ue.ValueScope=Ue.Scope=Ue.Name=Ue.stringify=Ue.getProperty=Ue.nil=Ue.strConcat=Ue.str=Ue._=void 0;var We=So(),un=rl(),bi=So();Object.defineProperty(Ue,"_",{enumerable:!0,get:function(){return bi._}});Object.defineProperty(Ue,"str",{enumerable:!0,get:function(){return bi.str}});Object.defineProperty(Ue,"strConcat",{enumerable:!0,get:function(){return bi.strConcat}});Object.defineProperty(Ue,"nil",{enumerable:!0,get:function(){return bi.nil}});Object.defineProperty(Ue,"getProperty",{enumerable:!0,get:function(){return bi.getProperty}});Object.defineProperty(Ue,"stringify",{enumerable:!0,get:function(){return bi.stringify}});Object.defineProperty(Ue,"Name",{enumerable:!0,get:function(){return bi.Name}});var Ro=rl();Object.defineProperty(Ue,"Scope",{enumerable:!0,get:function(){return Ro.Scope}});Object.defineProperty(Ue,"ValueScope",{enumerable:!0,get:function(){return Ro.ValueScope}});Object.defineProperty(Ue,"ValueScopeName",{enumerable:!0,get:function(){return Ro.ValueScopeName}});Object.defineProperty(Ue,"varKinds",{enumerable:!0,get:function(){return Ro.varKinds}});Ue.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,s=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${s};`+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:{}}},Fo=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 Oo(r,this.rhs)}},il=class extends Fo{constructor(r,e,n,s){super(r,n,s),this.op=e}render({_n:r}){return`${this.lhs} ${this.op}= ${this.rhs};`+r}},sl=class extends Ln{constructor(r){super(),this.label=r,this.names={}}render({_n:r}){return`${this.label}:`+r}},ol=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:{}}},qs=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,s=n.length;for(;s--;){let o=n[s];o.optimizeNames(r,e)||(ig(r,o.names),n.splice(s,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((r,e)=>$i(r,e.names),{})}},jn=class extends qs{render(r){return"{"+r._n+super.render(r)+"}"+r._n}},ul=class extends qs{},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(ec(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 Oo(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,s){super(),this.varKind=r,this.name=e,this.from=n,this.to=s}render(r){let e=r.es5?un.varKinds.var:this.varKind,{name:n,from:s,to:o}=this;return`for(${e} ${n}=${s}; ${n}<${o}; ${n}++)`+super.render(r)}get names(){let r=Oo(super.names,this.from);return Oo(r,this.to)}},Io=class extends yi{constructor(r,e,n,s){super(),this.loop=r,this.varKind=e,this.name=n,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=Yi(this.iterable,r,e),this}get names(){return $i(super.names,this.iterable.names)}},Ds=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)}};Ds.kind="func";var Ns=class extends qs{render(r){return"return "+super.render(r)}};Ns.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,s;return super.optimizeNames(r,e),(n=this.catch)===null||n===void 0||n.optimizeNames(r,e),(s=this.finally)===null||s===void 0||s.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}},Ls=class extends jn{constructor(r){super(),this.error=r}render(r){return`catch(${this.error})`+super.render(r)}};Ls.kind="catch";var js=class extends jn{render(r){return"finally"+super.render(r)}};js.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,s){let o=this._scope.toName(e);return n!==void 0&&s&&(this._constants[o.str]=n),this._leafNode(new nl(r,o,n)),o}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 Fo(r,e,n))}add(r,e){return this._leafNode(new il(r,Ue.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,s]of r)e.length>1&&e.push(","),e.push(n),(n!==s||this.opts.es5)&&(e.push(":"),We.addCodeArg(e,s));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,s,o=this.opts.es5?un.varKinds.var:un.varKinds.let){let l=this._scope.toName(r);return this._for(new cl(o,l,e,n),()=>s(l))}forOf(r,e,n,s=un.varKinds.const){let o=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(o,We._`${l}[${f}]`),n(o)})}return this._for(new Io("of",s,o,e),()=>n(o))}forIn(r,e,n,s=this.opts.es5?un.varKinds.var:un.varKinds.const){if(this.opts.ownProperties)return this.forOf(r,We._`Object.keys(${e})`,n);let o=this._scope.toName(r);return this._for(new Io("in",s,o,e),()=>n(o))}endFor(){return this._endBlockNode(yi)}label(r){return this._leafNode(new sl(r))}break(r){return this._leafNode(new ol(r))}return(r){let e=new Ns;if(this._blockNode(e),this.code(r),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Ns)}try(r,e,n){if(!e&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let s=new pl;if(this._blockNode(s),this.code(r),e){let o=this.name("e");this._currNode=s.catch=new Ls(o),e(o)}return n&&(this._currNode=s.finally=new js,this.code(n)),this._endBlockNode(Ls,js)}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,s){return this._blockNode(new Ds(r,e,n)),s&&this.code(s).endFunc(),this}endFunc(){return this._endBlockNode(Ds)}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}};Ue.CodeGen=dl;function $i(t,r){for(let e in r)t[e]=(t[e]||0)+(r[e]||0);return t}function Oo(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(!s(t))return t;return new We._Code(t._items.reduce((o,l)=>(l instanceof We.Name&&(l=n(l)),l instanceof We._Code?o.push(...l._items):o.push(l),o),[]));function n(o){let l=e[o.str];return l===void 0||r[o.str]!==1?o:(delete r[o.str],l)}function s(o){return o instanceof We._Code&&o._items.some(l=>l instanceof We.Name&&r[l.str]===1&&e[l.str]!==void 0)}}function ig(t,r){for(let e in r)t[e]=(t[e]||0)-(r[e]||0)}function ec(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:We._`!${ml(t)}`}Ue.not=ec;var sg=tc(Ue.operators.AND);function og(...t){return t.reduce(sg)}Ue.and=og;var ag=tc(Ue.operators.OR);function lg(...t){return t.reduce(ag)}Ue.or=lg;function tc(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=ye(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var or=Me(),ug={data:new or.Name("data"),valCxt:new or.Name("valCxt"),dataPath:new or.Name("dataPath"),parentData:new or.Name("parentData"),parentDataProperty:new or.Name("parentDataProperty"),rootData:new or.Name("rootData"),dynamicAnchors:new or.Name("dynamicAnchors"),vErrors:new or.Name("vErrors"),errors:new or.Name("errors"),this:new or.Name("this"),self:new or.Name("self"),scope:new or.Name("scope"),json:new or.Name("json"),jsonPos:new or.Name("jsonPos"),jsonLen:new or.Name("jsonLen"),jsonPart:new or.Name("jsonPart")};hl.default=ug});var Bs=ye(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=Me(),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 fg(t,r=ar.keywordError,e){let{it:n}=t,{gen:s,compositeRule:o,allErrors:l}=n,f=ic(t,r);e??(o||l)?rc(s,f):nc(n,Je._`[${f}]`)}ar.reportError=fg;function cg(t,r=ar.keywordError){let{it:e}=t,{gen:n,compositeRule:s,allErrors:o}=e,l=ic(t,r);rc(n,l),s||o||nc(e,lr.default.vErrors)}ar.reportExtraError=cg;function pg(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=pg;function dg({gen:t,keyword:r,schemaValue:e,data:n,errsCount:s,it:o}){if(s===void 0)throw new Error("ajv implementation error");let l=t.name("err");t.forRange("i",s,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,o.errorPath))),t.assign(Je._`${l}.schemaPath`,Je.str`${o.errSchemaPath}/${r}`),o.opts.verbose&&(t.assign(Je._`${l}.schema`,e),t.assign(Je._`${l}.data`,n))})}ar.extendErrors=dg;function rc(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 nc(t,r){let{gen:e,validateName:n,schemaEnv:s}=t;s.$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 ic(t,r){let{createErrors:e,opts:n}=t.it;return e===!1?Je._`{}`:(n.jtd&&!n.ajvErrors?mg:hg)(t,r)}function mg(t,{message:r}){let{gen:e,keyword:n,it:s}=t,{errorPath:o,errSchemaPath:l,opts:f}=s,c=[[Cn.instancePath,Je.strConcat(lr.default.dataPath,o)],[Cn.schemaPath,Je.str`${l}/${n}`]];return f.messages&&c.push([Cn.message,typeof r=="function"?r(t):r]),e.object(...c)}function hg(t,r){let{gen:e,keyword:n,data:s,schemaValue:o,it:l}=t,{topSchemaRef:f,schemaPath:c,errorPath:g,errSchemaPath:h,propertyName:$,opts:v}=l,{params:A,message:x}=r,F=[[Cn.keyword,n],[lr.default.dataPath,Je.strConcat(lr.default.dataPath,g)],[Cn.schemaPath,Je.str`${h}/${n}`],[Cn.params,typeof A=="function"?A(t):A||Je._`{}`]];return $&&F.push([Cn.propertyName,$]),v.messages&&F.push([Cn.message,typeof x=="function"?x(t):x]),v.verbose&&F.push([Cn.schema,o],[Cn.parentSchema,Je._`${f}${c}`],[lr.default.data,s]),e.object(...F)}});var oc=ye(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.boolOrEmptySchema=es.topBoolOrEmptySchema=void 0;var gg=Bs(),yg=Me(),$g=cn(),bg={message:"boolean schema is false"};function wg(t){let{gen:r,schema:e,validateName:n}=t;e===!1?sc(t,!1):typeof e=="object"&&e.$async===!0?r.return($g.default.data):(r.assign(yg._`${n}.errors`,null),r.return(!0))}es.topBoolOrEmptySchema=wg;function kg(t,r){let{gen:e,schema:n}=t;n===!1?(e.var(r,!1),sc(t)):e.var(r,!0)}es.boolOrEmptySchema=kg;function sc(t,r){let{gen:e,data:n}=t,s={gen:e,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};gg.reportError(s,bg,r)}});var lc=ye(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.assignDefaults=void 0;var ts=Me(),vg=Vr();function xg(t,r){let{properties:e,items:n}=t.schema;if(r==="object"&&e)for(let s in e)ac(t,s,e[s].default);else r==="array"&&Array.isArray(n)&&n.forEach((s,o)=>ac(t,o,s.default))}qo.assignDefaults=xg;function ac(t,r,e){let{gen:n,compositeRule:s,data:o,opts:l}=t;if(e===void 0)return;let f=ts._`${o}${ts.getProperty(r)}`;if(s){vg.checkStrictMode(t,`default is ignored for: ${f}`);return}let c=ts._`${f} === undefined`;l.useDefaults==="empty"&&(c=ts._`${c} || ${f} === null || ${f} === ""`),n.if(c,ts._`${f} = ${ts.stringify(e)}`)}});var ki=ye(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.applySubschema=wi.Type=void 0;var Cg=Vr(),uc=_t(),ur=Me(),fc;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(fc=wi.Type||(wi.Type={}));function Ag(t,r,e){let n=Eg(t,r);_g(n,t,r),Sg(n,r);let s={...t,...n,items:void 0,props:void 0};return Cg.subschemaCode(s,e),s}wi.applySubschema=Ag;function Eg(t,{keyword:r,schemaProp:e,schema:n,schemaPath:s,errSchemaPath:o,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}/${uc.escapeFragment(e)}`}}if(n!==void 0){if(s===void 0||o===void 0||l===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:s,topSchemaRef:l,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}function _g(t,r,{dataProp:e,dataPropType:n,data:s,dataTypes:o,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:g,dataPathArr:h,opts:$}=r,v=f.let("data",ur._`${r.data}${ur.getProperty(e)}`,!0);c(v),t.errorPath=ur.str`${g}${Pg(e,n,$.jsPropertySyntax)}`,t.parentDataProperty=ur._`${e}`,t.dataPathArr=[...h,t.parentDataProperty]}if(s!==void 0){let g=s instanceof ur.Name?s:f.let("data",s,!0);c(g),l!==void 0&&(t.propertyName=l)}o&&(t.dataTypes=o);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 Sg(t,{jtdDiscriminator:r,jtdMetadata:e,compositeRule:n,createErrors:s,allErrors:o}){n!==void 0&&(t.compositeRule=n),s!==void 0&&(t.createErrors=s),o!==void 0&&(t.allErrors=o),t.jtdDiscriminator=r,t.jtdMetadata=e}function Pg(t,r,e){if(t instanceof ur.Name){let n=r===fc.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():"/"+uc.escapeJsonPointer(t)}});var pn=ye(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=Me(),cc=_t(),Tg=ki(),Xn=cn();function Fg(t,r){let{gen:e,data:n,it:s}=t;e.if(yl(e,n,r,s.opts.ownProperties),()=>{t.setParams({missingProperty:vt._`${r}`},!0),t.error()})}dt.checkReportMissingProp=Fg;function Ig({gen:t,data:r,it:{opts:e}},n,s){return vt.or(...n.map(o=>vt.and(yl(t,r,o,e.ownProperties),vt._`${s} = ${o}`)))}dt.checkMissingProp=Ig;function Og(t,r){t.setParams({missingProperty:r},!0),t.error()}dt.reportMissingProp=Og;function pc(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:vt._`Object.prototype.hasOwnProperty`})}dt.hasPropFunc=pc;function gl(t,r,e){return vt._`${pc(t)}.call(${r}, ${e})`}dt.isOwnProperty=gl;function Rg(t,r,e,n){let s=vt._`${r}${vt.getProperty(e)} !== undefined`;return n?vt._`${s} && ${gl(t,r,e)}`:s}dt.propertyInData=Rg;function yl(t,r,e,n){let s=vt._`${r}${vt.getProperty(e)} === undefined`;return n?vt.or(s,vt.not(gl(t,r,e))):s}dt.noPropertyInData=yl;function dc(t){return t?Object.keys(t).filter(r=>r!=="__proto__"):[]}dt.allSchemaProperties=dc;function qg(t,r){return dc(r).filter(e=>!cc.alwaysValidSchema(t,r[e]))}dt.schemaProperties=qg;function Dg({schemaCode:t,data:r,it:{gen:e,topSchemaRef:n,schemaPath:s,errorPath:o},it:l},f,c,g){let h=g?vt._`${t}, ${r}, ${n}${s}`:r,$=[[Xn.default.dataPath,vt.strConcat(Xn.default.dataPath,o)],[Xn.default.parentData,l.parentData],[Xn.default.parentDataProperty,l.parentDataProperty],[Xn.default.rootData,Xn.default.rootData]];l.opts.dynamicRef&&$.push([Xn.default.dynamicAnchors,Xn.default.dynamicAnchors]);let v=vt._`${h}, ${e.object(...$)}`;return c!==vt.nil?vt._`${f}.call(${c}, ${v})`:vt._`${f}(${v})`}dt.callValidateCode=Dg;function Ng(t,r){return t.scopeValue("pattern",{key:r,ref:new RegExp(r,"u"),code:vt._`new RegExp(${r}, "u")`})}dt.usePattern=Ng;function Lg(t){let{gen:r,data:e,keyword:n,it:s}=t,o=r.name("valid");if(s.allErrors){let f=r.let("valid",!0);return l(()=>r.assign(f,!1)),f}return r.var(o,!0),l(()=>r.break()),o;function l(f){let c=r.const("len",vt._`${e}.length`);r.forRange("i",0,c,g=>{t.subschema({keyword:n,dataProp:g,dataPropType:Tg.Type.Num},o),r.if(vt.not(o),f)})}}dt.validateArray=Lg;function jg(t){let{gen:r,schema:e,keyword:n,it:s}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(c=>cc.alwaysValidSchema(s,c))&&!s.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=jg});var yc=ye(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.keywordCode=void 0;var Bg=Ms(),Mg=Bs(),zg=pn(),$r=Me(),vi=cn();function Vg(t,r,e,n){let s=new Bg.default(t,e,r);"code"in e?e.code(s,n):s.$data&&e.validate?mc(s,e):"macro"in e?Ug(s,e):(e.compile||e.validate)&&mc(s,e)}Do.keywordCode=Vg;function Ug(t,r){let{gen:e,keyword:n,schema:s,parentSchema:o,it:l}=t,f=r.macro.call(l.self,s,o,l),c=gc(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 mc(t,r){var e;let{gen:n,keyword:s,schema:o,parentSchema:l,$data:f,it:c}=t;Gg(c,r);let g=!f&&r.compile?r.compile.call(c.self,o,l,c):r.validate,h=gc(n,s,g),$=n.let("valid");t.block$data($,v),t.ok((e=r.valid)!==null&&e!==void 0?e:$);function v(){if(r.errors===!1)F(),r.modifying&&hc(t),N(()=>t.error());else{let z=r.async?A():x();r.modifying&&hc(t),N(()=>Hg(t,z))}}function A(){let z=n.let("ruleErrs",null);return n.try(()=>F($r._`await `),Y=>n.assign($,!1).if($r._`${Y} instanceof ${c.ValidationError}`,()=>n.assign(z,$r._`${Y}.errors`),()=>n.throw(Y))),z}function x(){let z=$r._`${h}.errors`;return n.assign(z,null),F($r.nil),z}function F(z=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($,$r._`${z}${zg.callValidateCode(t,h,Y,ae)}`,r.modifying)}function N(z){var Y;n.if($r.not((Y=r.valid)!==null&&Y!==void 0?Y:$),z)}}function hc(t){let{gen:r,data:e,it:n}=t;r.if(n.parentData,()=>r.assign(e,$r._`${n.parentData}[${n.parentDataProperty}]`))}function Hg(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`),Mg.extendErrors(t)},()=>t.error())}function Gg({schemaEnv:t},r){if(r.async&&!t.$async)throw new Error("async keyword in sync schema")}function gc(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 vc=ye(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.schemaKeywords=void 0;var $l=Za(),$c=rs(),Kg=lc(),kc=yc(),Wg=_t(),Jg=Vr(),Zg=Me(),Qg=cn();function Xg(t,r,e,n){let{gen:s,schema:o,data:l,allErrors:f,opts:c,self:g}=t,{RULES:h}=g;if(o.$ref&&(c.ignoreKeywordsWithRef||!Wg.schemaHasRulesButRef(o,h))){s.block(()=>kc.keywordCode(t,"$ref",h.all.$ref.definition));return}c.jtd||Yg(t,r),s.block(()=>{for(let v of h.rules)$(v);$(h.post)});function $(v){!$l.shouldUseGroup(o,v)||(v.type?(s.if($c.checkDataType(v.type,l,c.strict)),bc(t,v),r.length===1&&r[0]===v.type&&e&&(s.else(),$c.reportTypeError(t)),s.endIf()):bc(t,v),f||s.if(Zg._`${Qg.default.errors} === ${n||0}`))}}No.schemaKeywords=Xg;function bc(t,r){let{gen:e,schema:n,opts:{useDefaults:s}}=t;s&&Kg.assignDefaults(t,r.type),e.block(()=>{for(let o of r.rules)$l.shouldUseRule(n,o)&&kc.keywordCode(t,o.keyword,o.definition,r.type)})}function Yg(t,r){t.schemaEnv.meta||!t.opts.strictTypes||(ey(t,r),t.opts.allowUnionTypes||ty(t,r),ry(t,t.dataTypes))}function ey(t,r){if(!!r.length){if(!t.dataTypes.length){t.dataTypes=r;return}r.forEach(e=>{wc(t.dataTypes,e)||bl(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),t.dataTypes=t.dataTypes.filter(e=>wc(r,e))}}function ty(t,r){r.length>1&&!(r.length===2&&r.includes("null"))&&bl(t,"use allowUnionTypes to allow union type keyword")}function ry(t,r){let e=t.self.RULES.all;for(let n in e){let s=e[n];if(typeof s=="object"&&$l.shouldUseRule(t.schema,s)){let{type:o}=s.definition;o.length&&!o.some(l=>ny(r,l))&&bl(t,`missing type "${o.join(",")}" for keyword "${n}"`)}}}function ny(t,r){return t.includes(r)||r==="number"&&t.includes("integer")}function wc(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)`,Jg.checkStrictMode(t,r,t.opts.strictTypes)}});var zs=ye((_1,xc)=>{"use strict";xc.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,s,o;if(Array.isArray(r)){if(n=r.length,n!=e.length)return!1;for(s=n;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(o=Object.keys(r),n=o.length,n!==Object.keys(e).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[s]))return!1;for(s=n;s--!==0;){var l=o[s];if(!t(r[l],e[l]))return!1}return!0}return r!==r&&e!==e}});var Ac=ye((S1,Cc)=>{"use strict";var Yn=Cc.exports=function(t,r,e){typeof r=="function"&&(e=r,r={}),e=r.cb||e;var n=typeof e=="function"?e:e.pre||function(){},s=e.post||function(){};Lo(r,n,s,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 Lo(t,r,e,n,s,o,l,f,c,g){if(n&&typeof n=="object"&&!Array.isArray(n)){r(n,s,o,l,f,c,g);for(var h in n){var $=n[h];if(Array.isArray($)){if(h in Yn.arrayKeywords)for(var v=0;v<$.length;v++)Lo(t,r,e,$[v],s+"/"+h+"/"+v,o,s,h,n,v)}else if(h in Yn.propsKeywords){if($&&typeof $=="object")for(var A in $)Lo(t,r,e,$[A],s+"/"+h+"/"+iy(A),o,s,h,n,A)}else(h in Yn.keywords||t.allKeys&&!(h in Yn.skipKeywords))&&Lo(t,r,e,$,s+"/"+h,o,s,h,n)}e(n,s,o,l,f,c,g)}}function iy(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var wl=ye((jo,Ec)=>{(function(t,r){typeof jo=="object"&&typeof Ec<"u"?r(jo):typeof define=="function"&&define.amd?define(["exports"],r):r(t.URI=t.URI||{})})(jo,function(t){"use strict";function r(){for(var U=arguments.length,q=Array(U),J=0;J<U;J++)q[J]=arguments[J];if(q.length>1){q[0]=q[0].slice(0,-1);for(var re=q.length-1,ie=1;ie<re;++ie)q[ie]=q[ie].slice(1,-1);return q[re]=q[re].slice(1),q.join("")}else return q[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 s(U){return U.toUpperCase()}function o(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,q){var J=U;if(q)for(var re in q)J[re]=q[re];return J}function f(U){var q="[A-Za-z]",J="[\\x0D]",re="[0-9]",ie="[\\x22]",he=r(re,"[A-Fa-f]"),_e="[\\x0A]",je="[\\x20]",Ge=e(e("%[EFef]"+he+"%"+he+he+"%"+he+he)+"|"+e("%[89A-Fa-f]"+he+"%"+he+he)+"|"+e("%"+he+he)),yt="[\\:\\/\\?\\#\\[\\]\\@]",Fe="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ot=r(yt,Fe),kt=U?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ut=U?"[\\uE000-\\uF8FF]":"[]",Ve=r(q,re,"[\\-\\.\\_\\~]",kt),ft=e(q+r(q,re,"[\\+\\-\\.]")+"*"),Ye=e(e(Ge+"|"+r(Ve,Fe,"[\\:]"))+"*"),Hr=e(e("25[0-5]")+"|"+e("2[0-4]"+re)+"|"+e("1"+re+re)+"|"+e("[1-9]"+re)+"|"+re),Wt=e(e("25[0-5]")+"|"+e("2[0-4]"+re)+"|"+e("1"+re+re)+"|"+e("0?[1-9]"+re)+"|0?0?"+re),rr=e(Wt+"\\."+Wt+"\\."+Wt+"\\."+Wt),et=e(he+"{1,4}"),Bt=e(e(et+"\\:"+et)+"|"+rr),nr=e(e(et+"\\:")+"{6}"+Bt),Cr=e("\\:\\:"+e(et+"\\:")+"{5}"+Bt),Gr=e(e(et)+"?\\:\\:"+e(et+"\\:")+"{4}"+Bt),Ar=e(e(e(et+"\\:")+"{0,1}"+et)+"?\\:\\:"+e(et+"\\:")+"{3}"+Bt),$n=e(e(e(et+"\\:")+"{0,2}"+et)+"?\\:\\:"+e(et+"\\:")+"{2}"+Bt),Rn=e(e(e(et+"\\:")+"{0,3}"+et)+"?\\:\\:"+et+"\\:"+Bt),qn=e(e(e(et+"\\:")+"{0,4}"+et)+"?\\:\\:"+Bt),ir=e(e(e(et+"\\:")+"{0,5}"+et)+"?\\:\\:"+et),Er=e(e(e(et+"\\:")+"{0,6}"+et)+"?\\:\\:"),Jt=e([nr,Cr,Gr,Ar,$n,Rn,qn,ir,Er].join("|")),on=e(e(Ve+"|"+Ge)+"+"),Hn=e(Jt+"\\%25"+on),Kr=e(Jt+e("\\%25|\\%(?!"+he+"{2})")+on),i=e("[vV]"+he+"+\\."+r(Ve,Fe,"[\\:]")+"+"),ue=e("\\["+e(Kr+"|"+Jt+"|"+i)+"\\]"),Wr=e(e(Ge+"|"+r(Ve,Fe))+"*"),Mt=e(ue+"|"+rr+"(?!"+Wr+")|"+Wr),Dr=e(re+"*"),C=e(e(Ye+"@")+"?"+Mt+e("\\:"+Dr)+"?"),Nr=e(Ge+"|"+r(Ve,Fe,"[\\:\\@]")),bn=e(Nr+"*"),bs=e(Nr+"+"),ho=e(e(Ge+"|"+r(Ve,Fe,"[\\@]"))+"+"),Jr=e(e("\\/"+bn)+"*"),Be=e("\\/"+e(bs+Jr)+"?"),gr=e(ho+Jr),Gn=e(bs+Jr),an="(?!"+Nr+")",ws=e(Jr+"|"+Be+"|"+gr+"|"+Gn+"|"+an),Zr=e(e(Nr+"|"+r("[\\/\\?]",ut))+"*"),Lr=e(e(Nr+"|[\\/\\?]")+"*"),W=e(e("\\/\\/"+C+Jr)+"|"+Be+"|"+Gn+"|"+an),ji=e(ft+"\\:"+W+e("\\?"+Zr)+"?"+e("\\#"+Lr)+"?"),Bi=e(e("\\/\\/"+C+Jr)+"|"+Be+"|"+gr+"|"+an),ui=e(Bi+e("\\?"+Zr)+"?"+e("\\#"+Lr)+"?"),fi=e(ji+"|"+ui),go=e(ft+"\\:"+W+e("\\?"+Zr)+"?"),Ta="^("+ft+")\\:"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+Mt+")"+e("\\:("+Dr+")")+"?)")+"?("+Jr+"|"+Be+"|"+Gn+"|"+an+")")+e("\\?("+Zr+")")+"?"+e("\\#("+Lr+")")+"?$",Mi="^(){0}"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+Mt+")"+e("\\:("+Dr+")")+"?)")+"?("+Jr+"|"+Be+"|"+gr+"|"+an+")")+e("\\?("+Zr+")")+"?"+e("\\#("+Lr+")")+"?$",ln="^("+ft+")\\:"+e(e("\\/\\/("+e("("+Ye+")@")+"?("+Mt+")"+e("\\:("+Dr+")")+"?)")+"?("+Jr+"|"+Be+"|"+Gn+"|"+an+")")+e("\\?("+Zr+")")+"?$",ks="^"+e("\\#("+Lr+")")+"?$",vs="^"+e("("+Ye+")@")+"?("+Mt+")"+e("\\:("+Dr+")")+"?$";return{NOT_SCHEME:new RegExp(r("[^]",q,re,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",Ve,Fe),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",Ve,Fe),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",Ve,Fe),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",Ve,Fe),"g"),NOT_QUERY:new RegExp(r("[^\\%]",Ve,Fe,"[\\:\\@\\/\\?]",ut),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",Ve,Fe,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",Ve,Fe),"g"),UNRESERVED:new RegExp(Ve,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",Ve,ot),"g"),PCT_ENCODED:new RegExp(Ge,"g"),IPV4ADDRESS:new RegExp("^("+rr+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Jt+")"+e(e("\\%25|\\%(?!"+he+"{2})")+"("+on+")")+"?\\]?$")}}var c=f(!1),g=f(!0),h=function(){function U(q,J){var re=[],ie=!0,he=!1,_e=void 0;try{for(var je=q[Symbol.iterator](),Ge;!(ie=(Ge=je.next()).done)&&(re.push(Ge.value),!(J&&re.length===J));ie=!0);}catch(yt){he=!0,_e=yt}finally{try{!ie&&je.return&&je.return()}finally{if(he)throw _e}}return re}return function(q,J){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return U(q,J);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$=function(U){if(Array.isArray(U)){for(var q=0,J=Array(U.length);q<U.length;q++)J[q]=U[q];return J}else return Array.from(U)},v=2147483647,A=36,x=1,F=26,N=38,z=700,Y=72,ae=128,be="-",ge=/^xn--/,ee=/[^\0-\x7E]/,de=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=A-x,De=Math.floor,Te=String.fromCharCode;function Se(U){throw new RangeError(ve[U])}function me(U,q){for(var J=[],re=U.length;re--;)J[re]=q(U[re]);return J}function Ae(U,q){var J=U.split("@"),re="";J.length>1&&(re=J[0]+"@",U=J[1]),U=U.replace(de,".");var ie=U.split("."),he=me(ie,q).join(".");return re+he}function Qe(U){for(var q=[],J=0,re=U.length;J<re;){var ie=U.charCodeAt(J++);if(ie>=55296&&ie<=56319&&J<re){var he=U.charCodeAt(J++);(he&64512)==56320?q.push(((ie&1023)<<10)+(he&1023)+65536):(q.push(ie),J--)}else q.push(ie)}return q}var te=function(q){return String.fromCodePoint.apply(String,$(q))},xt=function(q){return q-48<10?q-22:q-65<26?q-65:q-97<26?q-97:A},Xe=function(q,J){return q+22+75*(q<26)-((J!=0)<<5)},$t=function(q,J,re){var ie=0;for(q=re?De(q/z):q>>1,q+=De(q/J);q>ke*F>>1;ie+=A)q=De(q/ke);return De(ie+(ke+1)*q/(q+N))},nt=function(q){var J=[],re=q.length,ie=0,he=ae,_e=Y,je=q.lastIndexOf(be);je<0&&(je=0);for(var Ge=0;Ge<je;++Ge)q.charCodeAt(Ge)>=128&&Se("not-basic"),J.push(q.charCodeAt(Ge));for(var yt=je>0?je+1:0;yt<re;){for(var Fe=ie,ot=1,kt=A;;kt+=A){yt>=re&&Se("invalid-input");var ut=xt(q.charCodeAt(yt++));(ut>=A||ut>De((v-ie)/ot))&&Se("overflow"),ie+=ut*ot;var Ve=kt<=_e?x:kt>=_e+F?F:kt-_e;if(ut<Ve)break;var ft=A-Ve;ot>De(v/ft)&&Se("overflow"),ot*=ft}var Ye=J.length+1;_e=$t(ie-Fe,Ye,Fe==0),De(ie/Ye)>v-he&&Se("overflow"),he+=De(ie/Ye),ie%=Ye,J.splice(ie++,0,he)}return String.fromCodePoint.apply(String,J)},V=function(q){var J=[];q=Qe(q);var re=q.length,ie=ae,he=0,_e=Y,je=!0,Ge=!1,yt=void 0;try{for(var Fe=q[Symbol.iterator](),ot;!(je=(ot=Fe.next()).done);je=!0){var kt=ot.value;kt<128&&J.push(Te(kt))}}catch(Kr){Ge=!0,yt=Kr}finally{try{!je&&Fe.return&&Fe.return()}finally{if(Ge)throw yt}}var ut=J.length,Ve=ut;for(ut&&J.push(be);Ve<re;){var ft=v,Ye=!0,Hr=!1,Wt=void 0;try{for(var rr=q[Symbol.iterator](),et;!(Ye=(et=rr.next()).done);Ye=!0){var Bt=et.value;Bt>=ie&&Bt<ft&&(ft=Bt)}}catch(Kr){Hr=!0,Wt=Kr}finally{try{!Ye&&rr.return&&rr.return()}finally{if(Hr)throw Wt}}var nr=Ve+1;ft-ie>De((v-he)/nr)&&Se("overflow"),he+=(ft-ie)*nr,ie=ft;var Cr=!0,Gr=!1,Ar=void 0;try{for(var $n=q[Symbol.iterator](),Rn;!(Cr=(Rn=$n.next()).done);Cr=!0){var qn=Rn.value;if(qn<ie&&++he>v&&Se("overflow"),qn==ie){for(var ir=he,Er=A;;Er+=A){var Jt=Er<=_e?x:Er>=_e+F?F:Er-_e;if(ir<Jt)break;var on=ir-Jt,Hn=A-Jt;J.push(Te(Xe(Jt+on%Hn,0))),ir=De(on/Hn)}J.push(Te(Xe(ir,0))),_e=$t(he,nr,Ve==ut),he=0,++Ve}}}catch(Kr){Gr=!0,Ar=Kr}finally{try{!Cr&&$n.return&&$n.return()}finally{if(Gr)throw Ar}}++he,++ie}return J.join("")},H=function(q){return Ae(q,function(J){return ge.test(J)?nt(J.slice(4).toLowerCase()):J})},Ht=function(q){return Ae(q,function(J){return ee.test(J)?"xn--"+V(J):J})},Nt={version:"2.1.0",ucs2:{decode:Qe,encode:te},decode:nt,encode:V,toASCII:Ht,toUnicode:H},Ct={};function Pt(U){var q=U.charCodeAt(0),J=void 0;return q<16?J="%0"+q.toString(16).toUpperCase():q<128?J="%"+q.toString(16).toUpperCase():q<2048?J="%"+(q>>6|192).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase():J="%"+(q>>12|224).toString(16).toUpperCase()+"%"+(q>>6&63|128).toString(16).toUpperCase()+"%"+(q&63|128).toString(16).toUpperCase(),J}function At(U){for(var q="",J=0,re=U.length;J<re;){var ie=parseInt(U.substr(J+1,2),16);if(ie<128)q+=String.fromCharCode(ie),J+=3;else if(ie>=194&&ie<224){if(re-J>=6){var he=parseInt(U.substr(J+4,2),16);q+=String.fromCharCode((ie&31)<<6|he&63)}else q+=U.substr(J,6);J+=6}else if(ie>=224){if(re-J>=9){var _e=parseInt(U.substr(J+4,2),16),je=parseInt(U.substr(J+7,2),16);q+=String.fromCharCode((ie&15)<<12|(_e&63)<<6|je&63)}else q+=U.substr(J,9);J+=9}else q+=U.substr(J,3),J+=3}return q}function lt(U,q){function J(re){var ie=At(re);return ie.match(q.UNRESERVED)?ie:re}return U.scheme&&(U.scheme=String(U.scheme).replace(q.PCT_ENCODED,J).toLowerCase().replace(q.NOT_SCHEME,"")),U.userinfo!==void 0&&(U.userinfo=String(U.userinfo).replace(q.PCT_ENCODED,J).replace(q.NOT_USERINFO,Pt).replace(q.PCT_ENCODED,s)),U.host!==void 0&&(U.host=String(U.host).replace(q.PCT_ENCODED,J).toLowerCase().replace(q.NOT_HOST,Pt).replace(q.PCT_ENCODED,s)),U.path!==void 0&&(U.path=String(U.path).replace(q.PCT_ENCODED,J).replace(U.scheme?q.NOT_PATH:q.NOT_PATH_NOSCHEME,Pt).replace(q.PCT_ENCODED,s)),U.query!==void 0&&(U.query=String(U.query).replace(q.PCT_ENCODED,J).replace(q.NOT_QUERY,Pt).replace(q.PCT_ENCODED,s)),U.fragment!==void 0&&(U.fragment=String(U.fragment).replace(q.PCT_ENCODED,J).replace(q.NOT_FRAGMENT,Pt).replace(q.PCT_ENCODED,s)),U}function qr(U){return U.replace(/^0*(.*)/,"$1")||"0"}function jt(U,q){var J=U.match(q.IPV4ADDRESS)||[],re=h(J,2),ie=re[1];return ie?ie.split(".").map(qr).join("."):U}function mr(U,q){var J=U.match(q.IPV6ADDRESS)||[],re=h(J,3),ie=re[1],he=re[2];if(ie){for(var _e=ie.toLowerCase().split("::").reverse(),je=h(_e,2),Ge=je[0],yt=je[1],Fe=yt?yt.split(":").map(qr):[],ot=Ge.split(":").map(qr),kt=q.IPV4ADDRESS.test(ot[ot.length-1]),ut=kt?7:8,Ve=ot.length-ut,ft=Array(ut),Ye=0;Ye<ut;++Ye)ft[Ye]=Fe[Ye]||ot[Ve+Ye]||"";kt&&(ft[ut-1]=jt(ft[ut-1],q));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},[]),Wt=Hr.sort(function(nr,Cr){return Cr.length-nr.length})[0],rr=void 0;if(Wt&&Wt.length>1){var et=ft.slice(0,Wt.index),Bt=ft.slice(Wt.index+Wt.length);rr=et.join(":")+"::"+Bt.join(":")}else rr=ft.join(":");return he&&(rr+="%"+he),rr}else return U}var tr=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,xr="".match(/(){0}/)[1]===void 0;function Gt(U){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J={},re=q.iri!==!1?g:c;q.reference==="suffix"&&(U=(q.scheme?q.scheme+":":"")+"//"+U);var ie=U.match(tr);if(ie){xr?(J.scheme=ie[1],J.userinfo=ie[3],J.host=ie[4],J.port=parseInt(ie[5],10),J.path=ie[6]||"",J.query=ie[7],J.fragment=ie[8],isNaN(J.port)&&(J.port=ie[5])):(J.scheme=ie[1]||void 0,J.userinfo=U.indexOf("@")!==-1?ie[3]:void 0,J.host=U.indexOf("//")!==-1?ie[4]:void 0,J.port=parseInt(ie[5],10),J.path=ie[6]||"",J.query=U.indexOf("?")!==-1?ie[7]:void 0,J.fragment=U.indexOf("#")!==-1?ie[8]:void 0,isNaN(J.port)&&(J.port=U.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ie[4]:void 0)),J.host&&(J.host=mr(jt(J.host,re),re)),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",q.reference&&q.reference!=="suffix"&&q.reference!==J.reference&&(J.error=J.error||"URI is not a "+q.reference+" reference.");var he=Ct[(q.scheme||J.scheme||"").toLowerCase()];if(!q.unicodeSupport&&(!he||!he.unicodeSupport)){if(J.host&&(q.domainHost||he&&he.domainHost))try{J.host=Nt.toASCII(J.host.replace(re.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,re);he&&he.parse&&he.parse(J,q)}else J.error=J.error||"URI can not be parsed.";return J}function si(U,q){var J=q.iri!==!1?g:c,re=[];return U.userinfo!==void 0&&(re.push(U.userinfo),re.push("@")),U.host!==void 0&&re.push(mr(jt(String(U.host),J),J).replace(J.IPV6ADDRESS,function(ie,he,_e){return"["+he+(_e?"%25"+_e:"")+"]"})),(typeof U.port=="number"||typeof U.port=="string")&&(re.push(":"),re.push(String(U.port))),re.length?re.join(""):void 0}var Ce=/^\.\.?\//,Tn=/^\/\.(\/|$)/,Fn=/^\/\.\.(\/|$)/,Ne=/^\/?(?:.|\n)*?(?=\/|$)/;function Pe(U){for(var q=[];U.length;)if(U.match(Ce))U=U.replace(Ce,"");else if(U.match(Tn))U=U.replace(Tn,"/");else if(U.match(Fn))U=U.replace(Fn,"/"),q.pop();else if(U==="."||U==="..")U="";else{var J=U.match(Ne);if(J){var re=J[0];U=U.slice(re.length),q.push(re)}else throw new Error("Unexpected dot segment condition")}return q.join("")}function Ze(U){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=q.iri?g:c,re=[],ie=Ct[(q.scheme||U.scheme||"").toLowerCase()];if(ie&&ie.serialize&&ie.serialize(U,q),U.host&&!J.IPV6ADDRESS.test(U.host)){if(q.domainHost||ie&&ie.domainHost)try{U.host=q.iri?Nt.toUnicode(U.host):Nt.toASCII(U.host.replace(J.PCT_ENCODED,At).toLowerCase())}catch(je){U.error=U.error||"Host's domain name can not be converted to "+(q.iri?"Unicode":"ASCII")+" via punycode: "+je}}lt(U,J),q.reference!=="suffix"&&U.scheme&&(re.push(U.scheme),re.push(":"));var he=si(U,q);if(he!==void 0&&(q.reference!=="suffix"&&re.push("//"),re.push(he),U.path&&U.path.charAt(0)!=="/"&&re.push("/")),U.path!==void 0){var _e=U.path;!q.absolutePath&&(!ie||!ie.absolutePath)&&(_e=Pe(_e)),he===void 0&&(_e=_e.replace(/^\/\//,"/%2F")),re.push(_e)}return U.query!==void 0&&(re.push("?"),re.push(U.query)),U.fragment!==void 0&&(re.push("#"),re.push(U.fragment)),re.join("")}function bt(U,q){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=arguments[3],ie={};return re||(U=Gt(Ze(U,J),J),q=Gt(Ze(q,J),J)),J=J||{},!J.tolerant&&q.scheme?(ie.scheme=q.scheme,ie.userinfo=q.userinfo,ie.host=q.host,ie.port=q.port,ie.path=Pe(q.path||""),ie.query=q.query):(q.userinfo!==void 0||q.host!==void 0||q.port!==void 0?(ie.userinfo=q.userinfo,ie.host=q.host,ie.port=q.port,ie.path=Pe(q.path||""),ie.query=q.query):(q.path?(q.path.charAt(0)==="/"?ie.path=Pe(q.path):((U.userinfo!==void 0||U.host!==void 0||U.port!==void 0)&&!U.path?ie.path="/"+q.path:U.path?ie.path=U.path.slice(0,U.path.lastIndexOf("/")+1)+q.path:ie.path=q.path,ie.path=Pe(ie.path)),ie.query=q.query):(ie.path=U.path,q.query!==void 0?ie.query=q.query:ie.query=U.query),ie.userinfo=U.userinfo,ie.host=U.host,ie.port=U.port),ie.scheme=U.scheme),ie.fragment=q.fragment,ie}function hr(U,q,J){var re=l({scheme:"null"},J);return Ze(bt(Gt(U,re),Gt(q,re),re,!0),re)}function Re(U,q){return typeof U=="string"?U=Ze(Gt(U,q),q):n(U)==="object"&&(U=Gt(Ze(U,q),q)),U}function qe(U,q,J){return typeof U=="string"?U=Ze(Gt(U,J),J):n(U)==="object"&&(U=Ze(U,J)),typeof q=="string"?q=Ze(Gt(q,J),J):n(q)==="object"&&(q=Ze(q,J)),U===q}function mt(U,q){return U&&U.toString().replace(!q||!q.iri?c.ESCAPE:g.ESCAPE,Pt)}function it(U,q){return U&&U.toString().replace(!q||!q.iri?c.PCT_ENCODED:g.PCT_ENCODED,At)}var se={scheme:"http",domainHost:!0,parse:function(q,J){return q.host||(q.error=q.error||"HTTP URIs must have a host."),q},serialize:function(q,J){var re=String(q.scheme).toLowerCase()==="https";return(q.port===(re?443:80)||q.port==="")&&(q.port=void 0),q.path||(q.path="/"),q}},fe={scheme:"https",domainHost:se.domainHost,parse:se.parse,serialize:se.serialize};function we(U){return typeof U.secure=="boolean"?U.secure:String(U.scheme).toLowerCase()==="wss"}var Ee={scheme:"ws",domainHost:!0,parse:function(q,J){var re=q;return re.secure=we(re),re.resourceName=(re.path||"/")+(re.query?"?"+re.query:""),re.path=void 0,re.query=void 0,re},serialize:function(q,J){if((q.port===(we(q)?443:80)||q.port==="")&&(q.port=void 0),typeof q.secure=="boolean"&&(q.scheme=q.secure?"wss":"ws",q.secure=void 0),q.resourceName){var re=q.resourceName.split("?"),ie=h(re,2),he=ie[0],_e=ie[1];q.path=he&&he!=="/"?he:void 0,q.query=_e,q.resourceName=void 0}return q.fragment=void 0,q}},Lt={scheme:"wss",domainHost:Ee.domainHost,parse:Ee.parse,serialize:Ee.serialize},nn={},st=!0,wt="[A-Za-z0-9\\-\\.\\_\\~"+(st?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",Tt="[0-9A-Fa-f]",sn=e(e("%[EFef]"+Tt+"%"+Tt+Tt+"%"+Tt+Tt)+"|"+e("%[89A-Fa-f]"+Tt+"%"+Tt+Tt)+"|"+e("%"+Tt+Tt)),ht="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",In="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Kt=r(In,'[\\"\\\\]'),yn="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Mn=new RegExp(wt,"g"),Ur=new RegExp(sn,"g"),oi=new RegExp(r("[^]",ht,"[\\.]",'[\\"]',Kt),"g"),ai=new RegExp(r("[^]",wt,yn),"g"),Li=ai;function zn(U){var q=At(U);return q.match(Mn)?q:U}var li={scheme:"mailto",parse:function(q,J){var re=q,ie=re.to=re.path?re.path.split(","):[];if(re.path=void 0,re.query){for(var he=!1,_e={},je=re.query.split("&"),Ge=0,yt=je.length;Ge<yt;++Ge){var Fe=je[Ge].split("=");switch(Fe[0]){case"to":for(var ot=Fe[1].split(","),kt=0,ut=ot.length;kt<ut;++kt)ie.push(ot[kt]);break;case"subject":re.subject=it(Fe[1],J);break;case"body":re.body=it(Fe[1],J);break;default:he=!0,_e[it(Fe[0],J)]=it(Fe[1],J);break}}he&&(re.headers=_e)}re.query=void 0;for(var Ve=0,ft=ie.length;Ve<ft;++Ve){var Ye=ie[Ve].split("@");if(Ye[0]=it(Ye[0]),J.unicodeSupport)Ye[1]=it(Ye[1],J).toLowerCase();else try{Ye[1]=Nt.toASCII(it(Ye[1],J).toLowerCase())}catch(Hr){re.error=re.error||"Email address's domain name can not be converted to ASCII via punycode: "+Hr}ie[Ve]=Ye.join("@")}return re},serialize:function(q,J){var re=q,ie=o(q.to);if(ie){for(var he=0,_e=ie.length;he<_e;++he){var je=String(ie[he]),Ge=je.lastIndexOf("@"),yt=je.slice(0,Ge).replace(Ur,zn).replace(Ur,s).replace(oi,Pt),Fe=je.slice(Ge+1);try{Fe=J.iri?Nt.toUnicode(Fe):Nt.toASCII(it(Fe,J).toLowerCase())}catch(Ve){re.error=re.error||"Email address's domain name can not be converted to "+(J.iri?"Unicode":"ASCII")+" via punycode: "+Ve}ie[he]=yt+"@"+Fe}re.path=ie.join(",")}var ot=q.headers=q.headers||{};q.subject&&(ot.subject=q.subject),q.body&&(ot.body=q.body);var kt=[];for(var ut in ot)ot[ut]!==nn[ut]&&kt.push(ut.replace(Ur,zn).replace(Ur,s).replace(ai,Pt)+"="+ot[ut].replace(Ur,zn).replace(Ur,s).replace(Li,Pt));return kt.length&&(re.query=kt.join("&")),re}},Vn=/^([^\:]+)\:(.*)/,Un={scheme:"urn",parse:function(q,J){var re=q.path&&q.path.match(Vn),ie=q;if(re){var he=J.scheme||ie.scheme||"urn",_e=re[1].toLowerCase(),je=re[2],Ge=he+":"+(J.nid||_e),yt=Ct[Ge];ie.nid=_e,ie.nss=je,ie.path=void 0,yt&&(ie=yt.parse(ie,J))}else ie.error=ie.error||"URN can not be parsed.";return ie},serialize:function(q,J){var re=J.scheme||q.scheme||"urn",ie=q.nid,he=re+":"+(J.nid||ie),_e=Ct[he];_e&&(q=_e.serialize(q,J));var je=q,Ge=q.nss;return je.path=(ie||J.nid)+":"+Ge,je}},$s=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,On={scheme:"urn:uuid",parse:function(q,J){var re=q;return re.uuid=re.nss,re.nss=void 0,!J.tolerant&&(!re.uuid||!re.uuid.match($s))&&(re.error=re.error||"UUID is not valid."),re},serialize:function(q,J){var re=q;return re.nss=(q.uuid||"").toLowerCase(),re}};Ct[se.scheme]=se,Ct[fe.scheme]=fe,Ct[Ee.scheme]=Ee,Ct[Lt.scheme]=Lt,Ct[li.scheme]=li,Ct[Un.scheme]=Un,Ct[On.scheme]=On,t.SCHEMES=Ct,t.pctEncChar=Pt,t.pctDecChars=At,t.parse=Gt,t.removeDotSegments=Pe,t.serialize=Ze,t.resolveComponents=bt,t.resolve=hr,t.normalize=Re,t.equal=qe,t.escapeComponent=mt,t.unescapeComponent=it,Object.defineProperty(t,"__esModule",{value:!0})})});var Vs=ye(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.getSchemaRefs=Tr.resolveUrl=Tr.normalizeId=Tr._getFullPath=Tr.getFullPath=Tr.inlineRef=void 0;var sy=_t(),oy=zs(),ay=Ac(),Bo=wl(),ly=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function uy(t,r=!0){return typeof t=="boolean"?!0:r===!0?!kl(t):r?_c(t)<=r:!1}Tr.inlineRef=uy;var fy=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function kl(t){for(let r in t){if(fy.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 _c(t){let r=0;for(let e in t){if(e==="$ref")return 1/0;if(r++,!ly.has(e)&&(typeof t[e]=="object"&&sy.eachItem(t[e],n=>r+=_c(n)),r===1/0))return 1/0}return r}function Sc(t="",r){r!==!1&&(t=ns(t));let e=Bo.parse(t);return Pc(e)}Tr.getFullPath=Sc;function Pc(t){return Bo.serialize(t).split("#")[0]+"#"}Tr._getFullPath=Pc;var cy=/#\/?$/;function ns(t){return t?t.replace(cy,""):""}Tr.normalizeId=ns;function py(t,r){return r=ns(r),Bo.resolve(t,r)}Tr.resolveUrl=py;var dy=/^[a-z_][-a-z0-9._]*$/i;function my(t){if(typeof t=="boolean")return{};let r=ns(t.$id),e={"":r},n=Sc(r,!1),s={},o=new Set;return ay(t,{allKeys:!0},(c,g,h,$)=>{if($===void 0)return;let v=n+g,A=e[$];typeof c.$id=="string"&&(A=x.call(this,c.$id)),F.call(this,c.$anchor),F.call(this,c.$dynamicAnchor),e[g]=A;function x(N){if(N=ns(A?Bo.resolve(A,N):N),o.has(N))throw f(N);o.add(N);let z=this.refs[N];return typeof z=="string"&&(z=this.refs[z]),typeof z=="object"?l(c,z.schema,N):N!==ns(v)&&(N[0]==="#"?(l(c,s[N],N),s[N]=c):this.refs[N]=v),N}function F(N){if(typeof N=="string"){if(!dy.test(N))throw new Error(`invalid anchor "${N}"`);x.call(this,`#${N}`)}}}),s;function l(c,g,h){if(g!==void 0&&!oy(c,g))throw f(h)}function f(c){return new Error(`reference "${c}" resolves to more than one schema`)}}Tr.getSchemaRefs=my});var Vr=ye(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.checkStrictMode=An.schemaCxtHasRules=An.subschemaCode=An.validateFunctionCode=void 0;var Oc=oc(),Tc=rs(),Fc=vc(),Ke=Me(),Ie=cn(),hy=Vs(),Rc=_t();function gy(t){if(Dc(t)&&(Nc(t),vl(t))){by(t);return}qc(t,()=>Oc.topBoolOrEmptySchema(t))}An.validateFunctionCode=gy;function qc({gen:t,validateName:r,schema:e,schemaEnv:n,opts:s},o){s.code.es5?t.func(r,Ke._`${Ie.default.data}, ${Ie.default.valCxt}`,n.$async,()=>{t.code(Ke._`"use strict"; ${Ic(e,s)}`),$y(t,s),t.code(o)}):t.func(r,Ke._`${Ie.default.data}, ${yy(s)}`,n.$async,()=>t.code(Ic(e,s)).code(o))}function yy(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 $y(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 by(t){let{schema:r,opts:e,gen:n}=t;qc(t,()=>{e.$comment&&r.$comment&&jc(t),Cy(t),n.let(Ie.default.vErrors,null),n.let(Ie.default.errors,0),e.unevaluated&&wy(t),Lc(t),_y(t)})}function wy(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 Ic(t,r){return typeof t=="object"&&t.$id&&(r.code.source||r.code.process)?Ke._`/*# sourceURL=${t.$id} */`:Ke.nil}function ky(t,r){if(Dc(t)&&(Nc(t),vl(t))){vy(t,r);return}Oc.boolOrEmptySchema(t,r)}An.subschemaCode=ky;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 Dc(t){return typeof t.schema!="boolean"}function vy(t,r){let{schema:e,gen:n,opts:s}=t;s.$comment&&e.$comment&&jc(t),Ay(t),Ey(t);let o=n.const("_errs",Ie.default.errors);Lc(t,o),n.var(r,Ke._`${o} === ${Ie.default.errors}`)}function Nc(t){Rc.checkUnknownRules(t),xy(t)}function Lc(t,r){if(t.opts.jtd)return Fc.schemaKeywords(t,[],!1,r);let e=Tc.getSchemaTypes(t.schema),n=Tc.coerceAndCheckDataType(t,e);Fc.schemaKeywords(t,e,!n,r)}function xy(t){let{schema:r,errSchemaPath:e,opts:n,self:s}=t;r.$ref&&n.ignoreKeywordsWithRef&&Rc.schemaHasRulesButRef(r,s.RULES)&&s.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function Cy(t){let{schema:r,opts:e}=t;r.default!==void 0&&e.useDefaults&&e.strict&&Bc(t,"default is ignored in the schema root")}function Ay(t){t.schema.$id&&(t.baseId=hy.resolveUrl(t.baseId,t.schema.$id))}function Ey(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function jc({gen:t,schemaEnv:r,schema:e,errSchemaPath:n,opts:s}){let o=e.$comment;if(s.$comment===!0)t.code(Ke._`${Ie.default.self}.logger.log(${o})`);else if(typeof s.$comment=="function"){let l=Ke.str`${n}/$comment`,f=t.scopeValue("root",{ref:r.root});t.code(Ke._`${Ie.default.self}.opts.$comment(${o}, ${l}, ${f}.schema)`)}}function _y(t){let{gen:r,schemaEnv:e,validateName:n,ValidationError:s,opts:o}=t;e.$async?r.if(Ke._`${Ie.default.errors} === 0`,()=>r.return(Ie.default.data),()=>r.throw(Ke._`new ${s}(${Ie.default.vErrors})`)):(r.assign(Ke._`${n}.errors`,Ie.default.vErrors),o.unevaluated&&Sy(t),r.return(Ke._`${Ie.default.errors} === 0`))}function Sy({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 Bc(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=Bc});var _t=ye(tt=>{"use strict";Object.defineProperty(tt,"__esModule",{value:!0});tt.func=tt.setEvaluated=tt.evaluatedPropsToName=tt.mergeEvaluated=tt.eachItem=tt.unescapeJsonPointer=tt.escapeJsonPointer=tt.escapeFragment=tt.unescapeFragment=tt.schemaRefOrVal=tt.schemaHasRulesButRef=tt.schemaHasRules=tt.checkUnknownRules=tt.alwaysValidSchema=tt.toHash=void 0;var Ft=Me(),Py=Vr();function Ty(t){let r={};for(let e of t)r[e]=!0;return r}tt.toHash=Ty;function Fy(t,r){return typeof r=="boolean"?r:Object.keys(r).length===0?!0:(zc(t,r),!Vc(r,t.self.RULES.all))}tt.alwaysValidSchema=Fy;function zc(t,r=t.schema){let{opts:e,self:n}=t;if(!e.strict||typeof r=="boolean")return;let s=n.RULES.keywords;for(let o in r)s[o]||Py.checkStrictMode(t,`unknown keyword: "${o}"`)}tt.checkUnknownRules=zc;function Vc(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(r[e])return!0;return!1}tt.schemaHasRules=Vc;function Iy(t,r){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&r.all[e])return!0;return!1}tt.schemaHasRulesButRef=Iy;function Oy({topSchemaRef:t,schemaPath:r},e,n,s){if(!s){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return Ft._`${e}`}return Ft._`${t}${r}${Ft.getProperty(n)}`}tt.schemaRefOrVal=Oy;function Ry(t){return Hc(decodeURIComponent(t))}tt.unescapeFragment=Ry;function qy(t){return encodeURIComponent(Uc(t))}tt.escapeFragment=qy;function Uc(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}tt.escapeJsonPointer=Uc;function Hc(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}tt.unescapeJsonPointer=Hc;function Dy(t,r){if(Array.isArray(t))for(let e of t)r(e);else r(t)}tt.eachItem=Dy;function Mc({mergeNames:t,mergeToName:r,mergeValues:e,resultToName:n}){return(s,o,l,f)=>{let c=l===void 0?o:l instanceof Ft.Name?(o instanceof Ft.Name?t(s,o,l):r(s,o,l),l):o instanceof Ft.Name?(r(s,l,o),o):e(o,l);return f===Ft.Name&&!(c instanceof Ft.Name)?n(s,c):c}}tt.mergeEvaluated={props:Mc({mergeNames:(t,r,e)=>t.if(Ft._`${e} !== true && ${r} !== undefined`,()=>{t.if(Ft._`${r} === true`,()=>t.assign(e,!0),()=>t.assign(e,Ft._`${e} || {}`).code(Ft._`Object.assign(${e}, ${r})`))}),mergeToName:(t,r,e)=>t.if(Ft._`${e} !== true`,()=>{r===!0?t.assign(e,!0):(t.assign(e,Ft._`${e} || {}`),xl(t,e,r))}),mergeValues:(t,r)=>t===!0?!0:{...t,...r},resultToName:Gc}),items:Mc({mergeNames:(t,r,e)=>t.if(Ft._`${e} !== true && ${r} !== undefined`,()=>t.assign(e,Ft._`${r} === true ? true : ${e} > ${r} ? ${e} : ${r}`)),mergeToName:(t,r,e)=>t.if(Ft._`${e} !== true`,()=>t.assign(e,r===!0?!0:Ft._`${e} > ${r} ? ${e} : ${r}`)),mergeValues:(t,r)=>t===!0?!0:Math.max(t,r),resultToName:(t,r)=>t.var("items",r)})};function Gc(t,r){if(r===!0)return t.var("props",!0);let e=t.var("props",Ft._`{}`);return r!==void 0&&xl(t,e,r),e}tt.evaluatedPropsToName=Gc;function xl(t,r,e){Object.keys(e).forEach(n=>t.assign(Ft._`${r}${Ft.getProperty(n)}`,!0))}tt.setEvaluated=xl;function Ny(t,r){return t.scopeValue("func",{ref:r,code:r.code})}tt.func=Ny});var rs=ye(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.reportTypeError=Xt.checkDataTypes=Xt.checkDataType=Xt.coerceAndCheckDataType=Xt.getJSONTypes=Xt.getSchemaTypes=Xt.DataType=void 0;var Ly=Ja(),jy=Za(),By=Bs(),Oe=Me(),Kc=_t(),Us;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Us=Xt.DataType||(Xt.DataType={}));function My(t){let r=Wc(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}Xt.getSchemaTypes=My;function Wc(t){let r=Array.isArray(t)?t:t?[t]:[];if(r.every(Ly.isJSONType))return r;throw new Error("type must be JSONType or JSONType[]: "+r.join(","))}Xt.getJSONTypes=Wc;function zy(t,r){let{gen:e,data:n,opts:s}=t,o=Vy(r,s.coerceTypes),l=r.length>0&&!(o.length===0&&r.length===1&&jy.schemaHasRulesForType(t,r[0]));if(l){let f=Al(r,n,s.strict,Us.Wrong);e.if(f,()=>{o.length?Uy(t,r,o):El(t)})}return l}Xt.coerceAndCheckDataType=zy;var Jc=new Set(["string","number","integer","boolean","null"]);function Vy(t,r){return r?t.filter(e=>Jc.has(e)||r==="array"&&e==="array"):[]}function Uy(t,r,e){let{gen:n,data:s,opts:o}=t,l=n.let("dataType",Oe._`typeof ${s}`),f=n.let("coerced",Oe._`undefined`);o.coerceTypes==="array"&&n.if(Oe._`${l} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,()=>n.assign(s,Oe._`${s}[0]`).assign(l,Oe._`typeof ${s}`).if(Al(r,s,o.strict),()=>n.assign(f,s))),n.if(Oe._`${f} !== undefined`);for(let g of e)(Jc.has(g)||g==="array"&&o.coerceTypes==="array")&&c(g);n.else(),El(t),n.endIf(),n.if(Oe._`${f} !== undefined`,()=>{n.assign(s,f),Hy(t,f)});function c(g){switch(g){case"string":n.elseIf(Oe._`${l} == "number" || ${l} == "boolean"`).assign(f,Oe._`"" + ${s}`).elseIf(Oe._`${s} === null`).assign(f,Oe._`""`);return;case"number":n.elseIf(Oe._`${l} == "boolean" || ${s} === null
3
+ || (${l} == "string" && ${s} && ${s} == +${s})`).assign(f,Oe._`+${s}`);return;case"integer":n.elseIf(Oe._`${l} === "boolean" || ${s} === null
4
+ || (${l} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(f,Oe._`+${s}`);return;case"boolean":n.elseIf(Oe._`${s} === "false" || ${s} === 0 || ${s} === null`).assign(f,!1).elseIf(Oe._`${s} === "true" || ${s} === 1`).assign(f,!0);return;case"null":n.elseIf(Oe._`${s} === "" || ${s} === 0 || ${s} === false`),n.assign(f,null);return;case"array":n.elseIf(Oe._`${l} === "string" || ${l} === "number"
5
+ || ${l} === "boolean" || ${s} === null`).assign(f,Oe._`[${s}]`)}}}function Hy({gen:t,parentData:r,parentDataProperty:e},n){t.if(Oe._`${r} !== undefined`,()=>t.assign(Oe._`${r}[${e}]`,n))}function Cl(t,r,e,n=Us.Correct){let s=n===Us.Correct?Oe.operators.EQ:Oe.operators.NEQ,o;switch(t){case"null":return Oe._`${r} ${s} null`;case"array":o=Oe._`Array.isArray(${r})`;break;case"object":o=Oe._`${r} && typeof ${r} == "object" && !Array.isArray(${r})`;break;case"integer":o=l(Oe._`!(${r} % 1) && !isNaN(${r})`);break;case"number":o=l();break;default:return Oe._`typeof ${r} ${s} ${t}`}return n===Us.Correct?o:Oe.not(o);function l(f=Oe.nil){return Oe.and(Oe._`typeof ${r} == "number"`,f,e?Oe._`isFinite(${r})`:Oe.nil)}}Xt.checkDataType=Cl;function Al(t,r,e,n){if(t.length===1)return Cl(t[0],r,e,n);let s,o=Kc.toHash(t);if(o.array&&o.object){let l=Oe._`typeof ${r} != "object"`;s=o.null?l:Oe._`!${r} || ${l}`,delete o.null,delete o.array,delete o.object}else s=Oe.nil;o.number&&delete o.integer;for(let l in o)s=Oe.and(s,Cl(l,r,e,n));return s}Xt.checkDataTypes=Al;var Gy={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=Ky(t);By.reportError(r,Gy)}Xt.reportTypeError=El;function Ky(t){let{gen:r,data:e,schema:n}=t,s=Kc.schemaRefOrVal(t,n,"type");return{gen:r,keyword:"type",data:e,schema:n.type,schemaCode:s,schemaValue:s,parentSchema:n,params:{},it:t}}});var Ms=ye(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.getData=void 0;var Zc=rs(),Mo=_t(),Hs=Bs(),Rt=Me(),_l=cn(),Wy=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=Mo.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",Qc(this.$data,r));else if(this.schemaCode=this.schemaValue,!Jy(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(Rt.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(Rt._`${e} !== undefined && (${Rt.or(this.invalid$data(),r)})`)}error(r){(r?Hs.reportExtraError:Hs.reportError)(this,this.def.error)}$dataError(){Hs.reportError(this,this.def.$dataError||Hs.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');Hs.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=Rt.nil){this.gen.block(()=>{this.check$data(r,n),e()})}check$data(r=Rt.nil,e=Rt.nil){if(!this.$data)return;let{gen:n,schemaCode:s,schemaType:o,def:l}=this;n.if(Rt.or(Rt._`${s} === undefined`,e)),r!==Rt.nil&&n.assign(r,!0),(o.length||l.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),r!==Rt.nil&&n.assign(r,!1)),n.else()}invalid$data(){let{gen:r,schemaCode:e,schemaType:n,def:s,it:o}=this;return Rt.or(l(),f());function l(){if(n.length){if(!(e instanceof Rt.Name))throw new Error("ajv implementation error");let c=Array.isArray(n)?n:[n];return Rt._`${Zc.checkDataTypes(c,e,o.opts.strict,Zc.DataType.Wrong)}`}return Rt.nil}function f(){if(s.validateSchema){let c=r.scopeValue("validate$data",{ref:s.validateSchema});return Rt._`!${c}(${e})`}return Rt.nil}}subschema(r,e){return Wy.applySubschema(this.it,r,e)}mergeEvaluated(r,e){let{it:n,gen:s}=this;!n.opts.unevaluated||(n.props!==!0&&r.props!==void 0&&(n.props=Mo.mergeEvaluated.props(s,r.props,n.props,e)),n.items!==!0&&r.items!==void 0&&(n.items=Mo.mergeEvaluated.items(s,r.items,n.items,e)))}mergeValidEvaluated(r,e){let{it:n,gen:s}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return s.if(e,()=>this.mergeEvaluated(r,Rt.Name)),!0}};Gs.default=Sl;function Jy(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,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s)throw new Error("ajv implementation error");let o=n.dependencies;if(o!=null&&o.some(l=>!Object.prototype.hasOwnProperty.call(t,l)))throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`);if(n.validateSchema&&!n.validateSchema(t[s])){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 Qy=/^\/(?:[^~]|~0|~1)*$/,Xy=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Qc(t,{dataLevel:r,dataNames:e,dataPathArr:n}){let s,o;if(t==="")return _l.default.rootData;if(t[0]==="/"){if(!Qy.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);s=t,o=_l.default.rootData}else{let g=Xy.exec(t);if(!g)throw new Error(`Invalid JSON-pointer: ${t}`);let h=+g[1];if(s=g[2],s==="#"){if(h>=r)throw new Error(c("property/index",h));return n[r-h]}if(h>r)throw new Error(c("data",h));if(o=e[r-h],!s)return o}let l=o,f=s.split("/");for(let g of f)g&&(o=Rt._`${o}${Rt.getProperty(Mo.unescapeJsonPointer(g))}`,l=Rt._`${l} && ${o}`);return l;function c(g,h){return`Cannot access ${g} ${h} levels up, current level is ${r}`}}Gs.getData=Qc});var Uo=ye((is,Xc)=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.MissingRefError=is.ValidationError=void 0;var Pl=Vs(),zo=class extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}};is.ValidationError=zo;var Vo=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))}};is.MissingRefError=Vo;Xc.exports={ValidationError:zo,MissingRefError:Vo}});var Il=ye(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.resolveSchema=tn.getCompilingSchema=tn.resolveRef=tn.compileSchema=tn.SchemaEnv=void 0;var dn=Me(),Yy=Uo(),xi=cn(),mn=Vs(),Yc=_t(),e$=Vr(),t$=wl(),ss=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=ss;function Fl(t){let r=ep.call(this,t);if(r)return r;let e=mn.getFullPath(t.root.baseId),{es5:n,lines:s}=this.opts.code,{ownProperties:o}=this.opts,l=new dn.CodeGen(this.scope,{es5:n,lines:s,ownProperties:o}),f;t.$async&&(f=l.scopeValue("Error",{ref:Yy.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),e$.validateFunctionCode(g),l.optimize(this.opts.code.optimize);let $=l.toString();h=`${l.scopeRefs(xi.default.scope)}return ${$}`,this.opts.code.process&&(h=this.opts.code.process(h,t));let A=new Function(`${xi.default.self}`,`${xi.default.scope}`,h)(this,this.scope.get());if(this.scope.value(c,{ref:A}),A.errors=null,A.schema=t.schema,A.schemaEnv=t,t.$async&&(A.$async=!0),this.opts.code.source===!0&&(A.source={validateName:c,validateCode:$,scopeValues:l._values}),this.opts.unevaluated){let{props:x,items:F}=g;A.evaluated={props:x instanceof dn.Name?void 0:x,items:F instanceof dn.Name?void 0:F,dynamicProps:x instanceof dn.Name,dynamicItems:F instanceof dn.Name},A.source&&(A.source.evaluated=dn.stringify(A.evaluated))}return t.validate=A,t}catch($){throw delete t.validate,delete t.validateName,h&&this.logger.error("Error compiling schema, function code:",h),$}finally{this._compilations.delete(t)}}tn.compileSchema=Fl;function r$(t,r,e){var n;e=mn.resolveUrl(r,e);let s=t.refs[e];if(s)return s;let o=s$.call(this,t,e);if(o===void 0){let l=(n=t.localRefs)===null||n===void 0?void 0:n[e];l&&(o=new ss({schema:l,root:t,baseId:r}))}if(o!==void 0)return t.refs[e]=n$.call(this,o)}tn.resolveRef=r$;function n$(t){return mn.inlineRef(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Fl.call(this,t)}function ep(t){for(let r of this._compilations)if(i$(r,t))return r}tn.getCompilingSchema=ep;function i$(t,r){return t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId}function s$(t,r){let e;for(;typeof(e=this.refs[r])=="string";)r=e;return e||this.schemas[r]||Ho.call(this,t,r)}function Ho(t,r){let e=t$.parse(r),n=mn._getFullPath(e),s=mn.getFullPath(t.baseId);if(Object.keys(t.schema).length>0&&n===s)return Tl.call(this,e,t);let o=mn.normalizeId(n),l=this.refs[o]||this.schemas[o];if(typeof l=="string"){let f=Ho.call(this,t,l);return typeof(f==null?void 0:f.schema)!="object"?void 0:Tl.call(this,e,f)}if(typeof(l==null?void 0:l.schema)=="object"){if(l.validate||Fl.call(this,l),o===mn.normalizeId(r)){let{schema:f}=l;return f.$id&&(s=mn.resolveUrl(s,f.$id)),new ss({schema:f,root:t,baseId:s})}return Tl.call(this,e,l)}}tn.resolveSchema=Ho;var o$=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Tl(t,{baseId:r,schema:e,root:n}){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[Yc.unescapeFragment(l)],e===void 0))return;!o$.has(l)&&typeof e=="object"&&e.$id&&(r=mn.resolveUrl(r,e.$id))}let o;if(typeof e!="boolean"&&e.$ref&&!Yc.schemaHasRulesButRef(e,this.RULES)){let l=mn.resolveUrl(r,e.$ref);o=Ho.call(this,n,l)}if(o=o||new ss({schema:e,root:n,baseId:r}),o.schema!==o.root.schema)return o}});var tp=ye((q1,a$)=>{a$.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 op=ye(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 l$=Ms();Yt.KeywordCxt=l$.default;var os=Me();Object.defineProperty(Yt,"_",{enumerable:!0,get:function(){return os._}});Object.defineProperty(Yt,"str",{enumerable:!0,get:function(){return os.str}});Object.defineProperty(Yt,"stringify",{enumerable:!0,get:function(){return os.stringify}});Object.defineProperty(Yt,"nil",{enumerable:!0,get:function(){return os.nil}});Object.defineProperty(Yt,"Name",{enumerable:!0,get:function(){return os.Name}});Object.defineProperty(Yt,"CodeGen",{enumerable:!0,get:function(){return os.CodeGen}});var ql=Uo(),u$=Ja(),Ks=Il(),f$=Me(),Go=Vs(),Ko=rs(),Rl=_t(),rp=tp(),c$=["removeAdditional","useDefaults","coerceTypes"],p$=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),d$={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."},m$={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function h$(t){var r,e,n,s,o,l,f,c,g,h,$,v;let A=(r=t.strict)!==null&&r!==void 0?r:!0,x=A?"log":!1,F=(e=t.code)===null||e===void 0?void 0:e.optimize,N=F===!0||F===void 0?1:F||0;return{strict:A,strictTypes:(n=t.strictTypes)!==null&&n!==void 0?n:x,strictTuples:(s=t.strictTuples)!==null&&s!==void 0?s:x,code:t.code?{...t.code,optimize:N}:{optimize:N},loopRequired:(o=t.loopRequired)!==null&&o!==void 0?o: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:($=t.validateSchema)!==null&&$!==void 0?$:!0,validateFormats:(v=t.validateFormats)!==null&&v!==void 0?v:!0}}var Ws=class{constructor(r={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,r=this.opts={...r,...h$(r)};let{es5:e,lines:n}=this.opts.code;this.scope=new f$.ValueScope({scope:{},prefixes:p$,es5:e,lines:n}),this.logger=k$(r.logger);let s=r.validateFormats;r.validateFormats=!1,this.RULES=u$.getRules(),np.call(this,d$,r,"NOT SUPPORTED"),np.call(this,m$,r,"DEPRECATED","warn"),this._metaOpts=b$.call(this),r.formats&&y$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),r.keywords&&$$.call(this,r.keywords),typeof r.meta=="object"&&this.addMetaSchema(r.meta),g$.call(this),r.validateFormats=s}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:r,meta:e}=this.opts;e&&r&&this.addMetaSchema(rp,rp.$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 s=n(e);return"$async"in n||(this.errors=n.errors),s}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 s.call(this,r,e);async function s(h,$){await o.call(this,h.$schema);let v=this._addSchema(h,$);return v.validate||l.call(this,v)}async function o(h){h&&!this.getSchema(h)&&await s.call(this,{$ref:h},!0)}async function l(h){try{return this._compileSchemaEnv(h)}catch($){if(!($ instanceof ql.MissingRefError))throw $;return f.call(this,$),await c.call(this,$.missingSchema),l.call(this,h)}}function f({missingSchema:h,missingRef:$}){if(this.refs[h])throw new Error(`AnySchema ${h} is loaded but ${$} cannot be resolved`)}async function c(h){let $=await g.call(this,h);this.refs[h]||await o.call(this,$.$schema),this.refs[h]||this.addSchema($,h,e)}async function g(h){let $=this._loading[h];if($)return $;try{return await(this._loading[h]=n(h))}finally{delete this._loading[h]}}}addSchema(r,e,n,s=this.opts.validateSchema){if(Array.isArray(r)){for(let l of r)this.addSchema(l,void 0,n,s);return this}let o;if(typeof r=="object"&&(o=r.$id,o!==void 0&&typeof o!="string"))throw new Error("schema id must be string");return e=Go.normalizeId(e||o),this._checkUnique(e),this.schemas[e]=this._addSchema(r,n,s,!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 s=this.validate(n,r);if(!s&&e){let o="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(o);else throw new Error(o)}return s}getSchema(r){let e;for(;typeof(e=ip.call(this,r))=="string";)r=e;if(e===void 0){let n=new Ks.SchemaEnv({schema:{}});if(e=Ks.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=ip.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=Go.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(x$.call(this,n,e),!e)return Rl.eachItem(n,o=>Ol.call(this,o)),this;A$.call(this,e);let s={...e,type:Ko.getJSONTypes(e.type),schemaType:Ko.getJSONTypes(e.schemaType)};return Rl.eachItem(n,s.type.length===0?o=>Ol.call(this,o,s):o=>s.type.forEach(l=>Ol.call(this,o,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 n of e.rules){let s=n.rules.findIndex(o=>o.keyword===r);s>=0&&n.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:n="data"}={}){return!r||r.length===0?"No errors":r.map(s=>`${n}${s.dataPath} ${s.message}`).reduce((s,o)=>s+e+o)}$dataMetaSchema(r,e){let n=this.RULES.all;r=JSON.parse(JSON.stringify(r));for(let s of e){let o=s.split("/").slice(1),l=r;for(let f of o)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]=sp(h))}}return r}_removeAllSchemas(r,e){for(let n in r){let s=r[n];(!e||e.test(n))&&(typeof s=="string"?delete r[n]:s&&!s.meta&&(this._cache.delete(s.schema),delete r[n]))}}_addSchema(r,e,n=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 o=this._cache.get(r);if(o!==void 0)return o;let l=Go.getSchemaRefs.call(this,r);o=new Ks.SchemaEnv({schema:r,meta:e,localRefs:l}),this._cache.set(o.schema,o);let f=o.baseId;return s&&!f.startsWith("#")&&(f&&this._checkUnique(f),this.refs[f]=o),n&&this.validateSchema(r,!0),o}_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):Ks.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{Ks.compileSchema.call(this,r)}finally{this.opts=e}}};Yt.default=Ws;Ws.ValidationError=ql.ValidationError;Ws.MissingRefError=ql.MissingRefError;function np(t,r,e,n="error"){for(let s in t){let o=s;o in r&&this.logger[n](`${e}: option ${s}. ${t[o]}`)}}function ip(t){return t=Go.normalizeId(t),this.schemas[t]||this.refs[t]}function g$(){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 y$(){for(let t in this.opts.formats){let r=this.opts.formats[t];r&&this.addFormat(t,r)}}function $$(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 b$(){let t={...this.opts};for(let r of c$)delete t[r];return t}var w$={log(){},warn(){},error(){}};function k$(t){if(t===!1)return w$;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 v$=/^[a-z_$][a-z0-9_$:-]*$/i;function x$(t,r){let{RULES:e}=this;if(Rl.eachItem(t,n=>{if(e.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!v$.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 s=r==null?void 0:r.post;if(e&&s)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:o}=this,l=s?o.post:o.rules.find(({type:c})=>c===e);if(l||(l={type:e,rules:[]},o.rules.push(l)),o.keywords[t]=!0,!r)return;let f={keyword:t,definition:{...r,type:Ko.getJSONTypes(r.type),schemaType:Ko.getJSONTypes(r.schemaType)}};r.before?C$.call(this,l,f,r.before):l.rules.push(f),o.all[t]=f,(n=r.implements)===null||n===void 0||n.forEach(c=>this.addKeyword(c))}function C$(t,r,e){let n=t.rules.findIndex(s=>s.keyword===e);n>=0?t.rules.splice(n,0,r):(t.rules.push(r),this.logger.warn(`rule ${e} is not defined`))}function A$(t){let{metaSchema:r}=t;r!==void 0&&(t.$data&&this.opts.$data&&(r=sp(r)),t.validateSchema=this.compile(r,!0))}var E$={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function sp(t){return{anyOf:[t,E$]}}});var ap=ye(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});var _$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Dl.default=_$});var cp=ye(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.callRef=Ci.getValidate=void 0;var S$=Uo(),lp=pn(),Fr=Me(),as=cn(),up=Il(),Wo=_t(),P$={keyword:"$ref",schemaType:"string",code(t){let{gen:r,schema:e,it:n}=t,{baseId:s,schemaEnv:o,validateName:l,opts:f,self:c}=n;if(e==="#"||e==="#/")return h();let g=up.resolveRef.call(c,o.root,s,e);if(g===void 0)throw new S$.MissingRefError(s,e);if(g instanceof up.SchemaEnv)return $(g);return v(g);function h(){if(o===o.root)return Jo(t,l,o,o.$async);let A=r.scopeValue("root",{ref:o.root});return Jo(t,Fr._`${A}.validate`,o.root,o.root.$async)}function $(A){let x=fp(t,A);Jo(t,x,A,A.$async)}function v(A){let x=r.scopeValue("schema",f.code.source===!0?{ref:A,code:Fr.stringify(A)}:{ref:A}),F=r.name("valid"),N=t.subschema({schema:A,dataTypes:[],schemaPath:Fr.nil,topSchemaRef:x,errSchemaPath:e},F);t.mergeEvaluated(N),t.ok(F)}}};function fp(t,r){let{gen:e}=t;return r.validate?e.scopeValue("validate",{ref:r.validate}):Fr._`${e.scopeValue("wrapper",{ref:r})}.validate`}Ci.getValidate=fp;function Jo(t,r,e,n){let{gen:s,it:o}=t,{allErrors:l,schemaEnv:f,opts:c}=o,g=c.passContext?as.default.this:Fr.nil;n?h():$();function h(){if(!f.$async)throw new Error("async schema referenced by sync schema");let x=s.let("valid");s.try(()=>{s.code(Fr._`await ${lp.callValidateCode(t,r,g)}`),A(r),l||s.assign(x,!0)},F=>{s.if(Fr._`!(${F} instanceof ${o.ValidationError})`,()=>s.throw(F)),v(F),l||s.assign(x,!1)}),t.ok(x)}function $(){t.result(lp.callValidateCode(t,r,g),()=>A(r),()=>v(r))}function v(x){let F=Fr._`${x}.errors`;s.assign(as.default.vErrors,Fr._`${as.default.vErrors} === null ? ${F} : ${as.default.vErrors}.concat(${F})`),s.assign(as.default.errors,Fr._`${as.default.vErrors}.length`)}function A(x){var F;if(!o.opts.unevaluated)return;let N=(F=e==null?void 0:e.validate)===null||F===void 0?void 0:F.evaluated;if(o.props!==!0)if(N&&!N.dynamicProps)N.props!==void 0&&(o.props=Wo.mergeEvaluated.props(s,N.props,o.props));else{let z=s.var("props",Fr._`${x}.evaluated.props`);o.props=Wo.mergeEvaluated.props(s,z,o.props,Fr.Name)}if(o.items!==!0)if(N&&!N.dynamicItems)N.items!==void 0&&(o.items=Wo.mergeEvaluated.items(s,N.items,o.items));else{let z=s.var("items",Fr._`${x}.evaluated.items`);o.items=Wo.mergeEvaluated.items(s,z,o.items,Fr.Name)}}}Ci.callRef=Jo;Ci.default=P$});var pp=ye(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});var T$=ap(),F$=cp(),I$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",T$.default,F$.default];Nl.default=I$});var dp=ye(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var Zo=Me(),ei=Zo.operators,Qo={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}},O$={message:({keyword:t,schemaCode:r})=>Zo.str`should be ${Qo[t].okStr} ${r}`,params:({keyword:t,schemaCode:r})=>Zo._`{comparison: ${Qo[t].okStr}, limit: ${r}}`},R$={keyword:Object.keys(Qo),type:"number",schemaType:"number",$data:!0,error:O$,code(t){let{keyword:r,data:e,schemaCode:n}=t;t.fail$data(Zo._`${e} ${Qo[r].fail} ${n} || isNaN(${e})`)}};Ll.default=R$});var mp=ye(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var Js=Me(),q$={message:({schemaCode:t})=>Js.str`should be multiple of ${t}`,params:({schemaCode:t})=>Js._`{multipleOf: ${t}}`},D$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:q$,code(t){let{gen:r,data:e,schemaCode:n,it:s}=t,o=s.opts.multipleOfPrecision,l=r.let("res"),f=o?Js._`Math.abs(Math.round(${l}) - ${l}) > 1e-${o}`:Js._`${l} !== parseInt(${l})`;t.fail$data(Js._`(${n} === 0 || (${l} = ${e}/${n}, ${f}))`)}};jl.default=D$});var hp=ye(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});function N$(t){let r=t.length,e=0,n=0,s;for(;n<r;)e++,s=t.charCodeAt(n++),s>=55296&&s<=56319&&n<r&&(s=t.charCodeAt(n),(s&64512)===56320&&n++);return e}Bl.default=N$});var gp=ye(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});var ti=Me(),L$=hp(),j$={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}}`},B$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:j$,code(t){let{keyword:r,data:e,schemaCode:n,it:s}=t,o=r==="maxLength"?ti.operators.GT:ti.operators.LT,l;if(s.opts.unicode===!1)l=ti._`${e}.length`;else{let f=t.gen.scopeValue("func",{ref:L$.default,code:ti._`require("ajv/dist/compile/ucs2length").default`});l=ti._`${f}(${e})`}t.fail$data(ti._`${l} ${o} ${n}`)}};Ml.default=B$});var yp=ye(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var M$=pn(),Xo=Me(),z$={message:({schemaCode:t})=>Xo.str`should match pattern "${t}"`,params:({schemaCode:t})=>Xo._`{pattern: ${t}}`},V$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:z$,code(t){let{gen:r,data:e,$data:n,schema:s,schemaCode:o}=t,l=n?Xo._`(new RegExp(${o}, "u"))`:M$.usePattern(r,s);t.fail$data(Xo._`!${l}.test(${e})`)}};zl.default=V$});var $p=ye(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var Zs=Me(),U$={message({keyword:t,schemaCode:r}){let e=t==="maxProperties"?"more":"fewer";return Zs.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Zs._`{limit: ${t}}`},H$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:U$,code(t){let{keyword:r,data:e,schemaCode:n}=t,s=r==="maxProperties"?Zs.operators.GT:Zs.operators.LT;t.fail$data(Zs._`Object.keys(${e}).length ${s} ${n}`)}};Vl.default=H$});var bp=ye(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var Qs=pn(),Xs=Me(),G$=Vr(),K$={message:({params:{missingProperty:t}})=>Xs.str`should have required property '${t}'`,params:({params:{missingProperty:t}})=>Xs._`{missingProperty: ${t}}`},W$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:K$,code(t){let{gen:r,schema:e,schemaCode:n,data:s,$data:o,it:l}=t,{opts:f}=l;if(!o&&e.length===0)return;let c=e.length>=f.loopRequired;if(l.allErrors?g():h(),f.strictRequired){let A=t.parentSchema.properties,{definedProperties:x}=t.it;for(let F of e)if((A==null?void 0:A[F])===void 0&&!x.has(F)){let N=l.schemaEnv.baseId+l.errSchemaPath,z=`required property "${F}" is not defined at "${N}" (strictRequired)`;G$.checkStrictMode(l,z,l.opts.strictRequired)}}function g(){if(c||o)t.block$data(Xs.nil,$);else for(let A of e)Qs.checkReportMissingProp(t,A)}function h(){let A=r.let("missing");if(c||o){let x=r.let("valid",!0);t.block$data(x,()=>v(A,x)),t.ok(x)}else r.if(Qs.checkMissingProp(t,e,A)),Qs.reportMissingProp(t,A),r.else()}function $(){r.forOf("prop",n,A=>{t.setParams({missingProperty:A}),r.if(Qs.noPropertyInData(r,s,A,f.ownProperties),()=>t.error())})}function v(A,x){t.setParams({missingProperty:A}),r.forOf(A,n,()=>{r.assign(x,Qs.propertyInData(r,s,A,f.ownProperties)),r.if(Xs.not(x),()=>{t.error(),r.break()})},Xs.nil)}}};Ul.default=W$});var wp=ye(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var Ys=Me(),J$={message({keyword:t,schemaCode:r}){let e=t==="maxItems"?"more":"fewer";return Ys.str`should NOT have ${e} than ${r} items`},params:({schemaCode:t})=>Ys._`{limit: ${t}}`},Z$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:J$,code(t){let{keyword:r,data:e,schemaCode:n}=t,s=r==="maxItems"?Ys.operators.GT:Ys.operators.LT;t.fail$data(Ys._`${e}.length ${s} ${n}`)}};Hl.default=Z$});var kp=ye(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var Gl=rs(),Vt=Me(),Q$=zs(),X$={message:({params:{i:t,j:r}})=>Vt.str`should NOT have duplicate items (items ## ${r} and ${t} are identical)`,params:({params:{i:t,j:r}})=>Vt._`{i: ${t}, j: ${r}}`},Y$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:X$,code(t){let{gen:r,data:e,$data:n,schema:s,parentSchema:o,schemaCode:l,it:f}=t;if(!n&&!s)return;let c=r.let("valid"),g=o.items?Gl.getSchemaTypes(o.items):[];t.block$data(c,h,Vt._`${l} === false`),t.ok(c);function h(){let x=r.let("i",Vt._`${e}.length`),F=r.let("j");t.setParams({i:x,j:F}),r.assign(c,!0),r.if(Vt._`${x} > 1`,()=>($()?v:A)(x,F))}function $(){return g.length>0&&!g.some(x=>x==="object"||x==="array")}function v(x,F){let N=r.name("item"),z=Gl.checkDataTypes(g,N,f.opts.strict,Gl.DataType.Wrong),Y=r.const("indices",Vt._`{}`);r.for(Vt._`;${x}--;`,()=>{r.let(N,Vt._`${e}[${x}]`),r.if(z,Vt._`continue`),g.length>1&&r.if(Vt._`typeof ${N} == "string"`,Vt._`${N} += "_"`),r.if(Vt._`typeof ${Y}[${N}] == "number"`,()=>{r.assign(F,Vt._`${Y}[${N}]`),t.error(),r.assign(c,!1).break()}).code(Vt._`${Y}[${N}] = ${x}`)})}function A(x,F){let N=t.gen.scopeValue("func",{ref:Q$,code:Vt._`require("ajv/dist/compile/equal")`}),z=r.name("outer");r.label(z).for(Vt._`;${x}--;`,()=>r.for(Vt._`${F} = ${x}; ${F}--;`,()=>r.if(Vt._`${N}(${e}[${x}], ${e}[${F}])`,()=>{t.error(),r.assign(c,!1).break(z)})))}}};Kl.default=Y$});var vp=ye(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});var Wl=Me(),eb=zs(),tb={message:"should be equal to constant",params:({schemaCode:t})=>Wl._`{allowedValue: ${t}}`},rb={keyword:"const",$data:!0,error:tb,code(t){let r=t.gen.scopeValue("func",{ref:eb,code:Wl._`require("ajv/dist/compile/equal")`});t.fail$data(Wl._`!${r}(${t.data}, ${t.schemaCode})`)}};Jl.default=rb});var xp=ye(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var ls=Me(),nb=zs(),ib={message:"should be equal to one of the allowed values",params:({schemaCode:t})=>ls._`{allowedValues: ${t}}`},sb={keyword:"enum",schemaType:"array",$data:!0,error:ib,code(t){let{gen:r,data:e,$data:n,schema:s,schemaCode:o,it:l}=t;if(!n&&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:nb,code:ls._`require("ajv/dist/compile/equal")`}),g;if(f||n)g=r.let("valid"),t.block$data(g,h);else{if(!Array.isArray(s))throw new Error("ajv implementation error");let v=r.const("vSchema",o);g=ls.or(...s.map((A,x)=>$(v,x)))}t.pass(g);function h(){r.assign(g,!1),r.forOf("v",o,v=>r.if(ls._`${c}(${e}, ${v})`,()=>r.assign(g,!0).break()))}function $(v,A){let x=s[A];return x&&typeof x=="object"?ls._`${c}(${e}, ${v}[${A}])`:ls._`${e} === ${x}`}}};Zl.default=sb});var Cp=ye(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var ob=dp(),ab=mp(),lb=gp(),ub=yp(),fb=$p(),cb=bp(),pb=wp(),db=kp(),mb=vp(),hb=xp(),gb=[ob.default,ab.default,lb.default,ub.default,fb.default,cb.default,pb.default,db.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},mb.default,hb.default];Ql.default=gb});var Ap=ye(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var Ai=Me(),yb=ki(),$b=_t(),bb=Vr(),wb={message:({params:{len:t}})=>Ai.str`should NOT have more than ${t} items`,params:({params:{len:t}})=>Ai._`{limit: ${t}}`},kb={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:wb,code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t,{items:l}=n;if(!Array.isArray(l)){bb.checkStrictMode(o,'"additionalItems" is ignored when "items" is not an array of schemas');return}o.items=!0;let f=r.const("len",Ai._`${s}.length`);if(e===!1)t.setParams({len:l.length}),t.pass(Ai._`${f} <= ${l.length}`);else if(typeof e=="object"&&!$b.alwaysValidSchema(o,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:yb.Type.Num},g),o.allErrors||r.if(Ai.not(g),()=>r.break())})}}};Xl.default=kb});var _p=ye(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});var Ep=Me(),Yl=_t(),vb=Vr(),xb=pn(),Cb={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)),s(e);else{if(n.items=!0,Yl.alwaysValidSchema(n,e))return;t.ok(xb.validateArray(t))}function s(o){let{parentSchema:l,data:f}=t;if(n.opts.strictTuples&&!Ab(o.length,l)){let h=`"items" is ${o.length}-tuple, but minItems or maxItems/additionalItems are not specified or different`;vb.checkStrictMode(n,h,n.opts.strictTuples)}let c=r.name("valid"),g=r.const("len",Ep._`${f}.length`);o.forEach((h,$)=>{Yl.alwaysValidSchema(n,h)||(r.if(Ep._`${g} > ${$}`,()=>t.subschema({keyword:"items",schemaProp:$,dataProp:$},c)),t.ok(c))})}}};function Ab(t,r){return t===r.minItems&&(t===r.maxItems||r.additionalItems===!1)}eu.default=Cb});var Pp=ye(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var hn=Me(),Eb=ki(),_b=_t(),Sp=Vr(),Sb={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}}`},Pb={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Sb,code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t,l,f,{minContains:c,maxContains:g}=n;o.opts.next?(l=c===void 0?1:c,f=g):l=1;let h=r.const("len",hn._`${s}.length`);if(t.setParams({min:l,max:f}),f===void 0&&l===0){Sp.checkStrictMode(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(f!==void 0&&l>f){Sp.checkStrictMode(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if(_b.alwaysValidSchema(o,e)){let x=hn._`${h} >= ${l}`;f!==void 0&&(x=hn._`${x} && ${h} <= ${f}`),t.pass(x);return}o.items=!0;let $=r.name("valid");if(f===void 0&&l===1)v($,()=>r.if($,()=>r.break()));else{r.let($,!1);let x=r.name("_valid"),F=r.let("count",0);v(x,()=>r.if(x,()=>A(F)))}t.result($,()=>t.reset());function v(x,F){r.forRange("i",0,h,N=>{t.subschema({keyword:"contains",dataProp:N,dataPropType:Eb.Type.Num,compositeRule:!0},x),F()})}function A(x){r.code(hn._`${x}++`),f===void 0?r.if(hn._`${x} >= ${l}`,()=>r.assign($,!0).break()):(r.if(hn._`${x} > ${f}`,()=>r.assign($,!1).break()),l===1?r.assign($,!0):r.if(hn._`${x} >= ${l}`,()=>r.assign($,!0)))}}};tu.default=Pb});var Ip=ye(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.validateSchemaDeps=En.validatePropertyDeps=En.error=void 0;var ru=Me(),Tb=_t(),eo=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
6
  missingProperty: ${n},
7
7
  depsCount: ${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([`
8
+ deps: ${e}}`};var Fb={keyword:"dependencies",type:"object",schemaType:"object",error:En.error,code(t){let[r,e]=Ib(t);Tp(t,r),Fp(t,e)}};function Ib({schema:t}){let r={},e={};for(let n in t){if(n==="__proto__")continue;let s=Array.isArray(t[n])?r:e;s[n]=t[n]}return[r,e]}function Tp(t,r=t.schema){let{gen:e,data:n,it:s}=t;if(Object.keys(r).length===0)return;let o=e.let("missing");for(let l in r){let f=r[l];if(f.length===0)continue;let c=eo.propertyInData(e,n,l,s.opts.ownProperties);t.setParams({property:l,depsCount:f.length,deps:f.join(", ")}),s.allErrors?e.if(c,()=>{for(let g of f)eo.checkReportMissingProp(t,g)}):(e.if(ru._`${c} && (${eo.checkMissingProp(t,f,o)})`),eo.reportMissingProp(t,o),e.else())}}En.validatePropertyDeps=Tp;function Fp(t,r=t.schema){let{gen:e,data:n,keyword:s,it:o}=t,l=e.name("valid");for(let f in r)Tb.alwaysValidSchema(o,r[f])||(e.if(eo.propertyInData(e,n,f,o.opts.ownProperties),()=>{let c=t.subschema({keyword:s,schemaProp:f},l);t.mergeValidEvaluated(c,l)},()=>e.var(l,!0)),t.ok(l))}En.validateSchemaDeps=Fp;En.default=Fb});var Op=ye(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});var nu=Me(),Ob=_t(),Rb={message:({params:t})=>nu.str`property name '${t.propertyName}' is invalid`,params:({params:t})=>nu._`{propertyName: ${t.propertyName}}`},qb={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Rb,code(t){let{gen:r,schema:e,data:n,it:s}=t;if(Ob.alwaysValidSchema(s,e))return;let o=r.name("valid");r.forIn("key",n,l=>{t.setParams({propertyName:l}),t.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},o),r.if(nu.not(o),()=>{t.error(!0),s.allErrors||r.break()})}),t.ok(o)}};iu.default=qb});var au=ye(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});var Yo=pn(),gn=Me(),Db=cn(),Nb=ki(),su=_t(),Lb={message:"should NOT have additional properties",params:({params:t})=>gn._`{additionalProperty: ${t.additionalProperty}}`},jb={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Lb,code(t){let{gen:r,schema:e,parentSchema:n,data:s,errsCount:o,it:l}=t;if(!o)throw new Error("ajv implementation error");let{allErrors:f,opts:c}=l;if(l.props=!0,c.removeAdditional!=="all"&&su.alwaysValidSchema(l,e))return;let g=Yo.allSchemaProperties(n.properties),h=Yo.allSchemaProperties(n.patternProperties);$(),t.ok(gn._`${o} === ${Db.default.errors}`);function $(){r.forIn("key",s,N=>{!g.length&&!h.length?x(N):r.if(v(N),()=>x(N))})}function v(N){let z;if(g.length>8){let Y=su.schemaRefOrVal(l,n.properties,"properties");z=Yo.isOwnProperty(r,Y,N)}else g.length?z=gn.or(...g.map(Y=>gn._`${N} === ${Y}`)):z=gn.nil;return h.length&&(z=gn.or(z,...h.map(Y=>gn._`${Yo.usePattern(r,Y)}.test(${N})`))),gn.not(z)}function A(N){r.code(gn._`delete ${s}[${N}]`)}function x(N){if(c.removeAdditional==="all"||c.removeAdditional&&e===!1){A(N);return}if(e===!1){t.setParams({additionalProperty:N}),t.error(),f||r.break();return}if(typeof e=="object"&&!su.alwaysValidSchema(l,e)){let z=r.name("valid");c.removeAdditional==="failing"?(F(N,z,!1),r.if(gn.not(z),()=>{t.reset(),A(N)})):(F(N,z),f||r.if(gn.not(z),()=>r.break()))}}function F(N,z,Y){let ae={keyword:"additionalProperties",dataProp:N,dataPropType:Nb.Type.Str};Y===!1&&Object.assign(ae,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(ae,z)}}};ou.default=jb});var Dp=ye(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});var Bb=Ms(),Rp=pn(),lu=_t(),qp=au(),Mb={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,parentSchema:n,data:s,it:o}=t;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&qp.default.code(new Bb.default(o,qp.default,"additionalProperties"));let l=Rp.allSchemaProperties(e);for(let $ of l)o.definedProperties.add($);o.opts.unevaluated&&l.length&&o.props!==!0&&(o.props=lu.mergeEvaluated.props(r,lu.toHash(l),o.props));let f=l.filter($=>!lu.alwaysValidSchema(o,e[$]));if(f.length===0)return;let c=r.name("valid");for(let $ of f)g($)?h($):(r.if(Rp.propertyInData(r,s,$,o.opts.ownProperties)),h($),o.allErrors||r.else().var(c,!0),r.endIf()),t.it.definedProperties.add($),t.ok(c);function g($){return o.opts.useDefaults&&!o.compositeRule&&e[$].default!==void 0}function h($){t.subschema({keyword:"properties",schemaProp:$,dataProp:$},c)}}};uu.default=Mb});var Lp=ye(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});var Np=pn(),ea=Me(),zb=ki(),Vb=Vr(),Ub=_t(),Hb={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:r,schema:e,data:n,parentSchema:s,it:o}=t,{opts:l}=o,f=Np.schemaProperties(o,e);if(f.length===0)return;let c=l.strict&&!l.allowMatchingProperties&&s.properties,g=r.name("valid");o.props!==!0&&!(o.props instanceof ea.Name)&&(o.props=Ub.evaluatedPropsToName(r,o.props));let{props:h}=o;$();function $(){for(let x of f)c&&v(x),o.allErrors?A(x):(r.var(g,!0),A(x),r.if(g))}function v(x){for(let F in c)new RegExp(x).test(F)&&Vb.checkStrictMode(o,`property ${F} matches pattern ${x} (use allowMatchingProperties)`)}function A(x){r.forIn("key",n,F=>{r.if(ea._`${Np.usePattern(r,x)}.test(${F})`,()=>{t.subschema({keyword:"patternProperties",schemaProp:x,dataProp:F,dataPropType:zb.Type.Str},g),o.opts.unevaluated&&h!==!0?r.assign(ea._`${h}[${F}]`,!0):o.allErrors||r.if(ea.not(g),()=>r.break())})})}}};fu.default=Hb});var jp=ye(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});var Gb=_t(),Kb={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:r,schema:e,it:n}=t;if(Gb.alwaysValidSchema(n,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"}};cu.default=Kb});var Bp=ye(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});var Wb=pn(),Jb={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Wb.validateUnion,error:{message:"should match some schema in anyOf"}};pu.default=Jb});var Mp=ye(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var ta=Me(),Zb=_t(),Qb={message:"should match exactly one schema in oneOf",params:({params:t})=>ta._`{passingSchemas: ${t.passing}}`},Xb={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Qb,code(t){let{gen:r,schema:e,it:n}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let s=e,o=r.let("valid",!1),l=r.let("passing",null),f=r.name("_valid");t.setParams({passing:l}),r.block(c),t.result(o,()=>t.reset(),()=>t.error(!0));function c(){s.forEach((g,h)=>{let $;Zb.alwaysValidSchema(n,g)?r.var(f,!0):$=t.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},f),h>0&&r.if(ta._`${f} && ${o}`).assign(o,!1).assign(l,ta._`[${l}, ${h}]`).else(),r.if(f,()=>{r.assign(o,!0),r.assign(l,h),$&&t.mergeEvaluated($,ta.Name)})})}}};du.default=Xb});var zp=ye(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});var Yb=_t(),ew={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 s=r.name("valid");e.forEach((o,l)=>{if(Yb.alwaysValidSchema(n,o))return;let f=t.subschema({keyword:"allOf",schemaProp:l},s);t.ok(s),t.mergeEvaluated(f)})}};mu.default=ew});var Up=ye(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});var ra=Me(),tw=_t(),rw=Vr(),nw={message:({params:t})=>ra.str`should match "${t.ifClause}" schema`,params:({params:t})=>ra._`{failingKeyword: ${t.ifClause}}`},iw={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:nw,code(t){let{gen:r,parentSchema:e,it:n}=t;e.then===void 0&&e.else===void 0&&rw.checkStrictMode(n,'"if" without "then" and "else" is ignored');let s=Vp(n,"then"),o=Vp(n,"else");if(!s&&!o)return;let l=r.let("valid",!0),f=r.name("_valid");if(c(),t.reset(),s&&o){let h=r.let("ifClause");t.setParams({ifClause:h}),r.if(f,g("then",h),g("else",h))}else s?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,$){return()=>{let v=t.subschema({keyword:h},f);r.assign(l,f),t.mergeValidEvaluated(v,l),$?r.assign($,ra._`${h}`):t.setParams({ifClause:h})}}}};function Vp(t,r){let e=t.schema[r];return e!==void 0&&!tw.alwaysValidSchema(t,e)}hu.default=iw});var Hp=ye(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});var sw=Vr(),ow={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:r,it:e}){r.if===void 0&&sw.checkStrictMode(e,`"${t}" without "if" is ignored`)}};gu.default=ow});var Gp=ye(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});var aw=Ap(),lw=_p(),uw=Pp(),fw=Ip(),cw=Op(),pw=au(),dw=Dp(),mw=Lp(),hw=jp(),gw=Bp(),yw=Mp(),$w=zp(),bw=Up(),ww=Hp(),kw=[hw.default,gw.default,yw.default,$w.default,bw.default,ww.default,aw.default,lw.default,uw.default,cw.default,pw.default,fw.default,dw.default,mw.default];yu.default=kw});var Kp=ye($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});var qt=Me(),vw={message:({schemaCode:t})=>qt.str`should match format "${t}"`,params:({schemaCode:t})=>qt._`{format: ${t}}`},xw={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:vw,code(t,r){let{gen:e,data:n,$data:s,schema:o,schemaCode:l,it:f}=t,{opts:c,errSchemaPath:g,schemaEnv:h,self:$}=f;if(!c.validateFormats)return;s?v():A();function v(){let x=e.scopeValue("formats",{ref:$.formats,code:c.code.formats}),F=e.const("fDef",qt._`${x}[${l}]`),N=e.let("fType"),z=e.let("format");e.if(qt._`typeof ${F} == "object" && !(${F} instanceof RegExp)`,()=>e.assign(N,qt._`${F}.type || "string"`).assign(z,qt._`${F}.validate`),()=>e.assign(N,qt._`"string"`).assign(z,F)),t.fail$data(qt.or(Y(),ae()));function Y(){return c.strict===!1?qt.nil:qt._`${l} && !${z}`}function ae(){let be=h.$async?qt._`(${F}.async ? await ${z}(${n}) : ${z}(${n}))`:qt._`${z}(${n})`,ge=qt._`(typeof ${z} == "function" ? ${be} : ${z}.test(${n}))`;return qt._`${z} && ${z} !== true && ${N} === ${r} && !${ge}`}}function A(){let x=$.formats[o];if(!x){Y();return}if(x===!0)return;let[F,N,z]=ae(x);F===r&&t.pass(be());function Y(){if(c.strict===!1){$.logger.warn(ge());return}throw new Error(ge());function ge(){return`unknown format "${o}" ignored in schema at path "${g}"`}}function ae(ge){let ee=e.scopeValue("formats",{key:o,ref:ge,code:c.code.formats?qt._`${c.code.formats}${qt.getProperty(o)}`:void 0});return typeof ge=="object"&&!(ge instanceof RegExp)?[ge.type||"string",ge.validate,qt._`${ee}.validate`]:["string",ge,ee]}function be(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!h.$async)throw new Error("async format in sync schema");return qt._`await ${z}(${n})`}return typeof N=="function"?qt._`${z}(${n})`:qt._`${z}.test(${n})`}}}};$u.default=xw});var Wp=ye(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});var Cw=Kp(),Aw=[Cw.default];bu.default=Aw});var Jp=ye(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.contentVocabulary=us.metadataVocabulary=void 0;us.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];us.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Qp=ye(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});var Ew=pp(),_w=Cp(),Sw=Gp(),Pw=Wp(),Zp=Jp(),Tw=[Ew.default,_w.default,Sw.default,Pw.default,Zp.metadataVocabulary,Zp.contentVocabulary];wu.default=Tw});var Xp=ye((yx,Fw)=>{Fw.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 ed=ye(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.CodeGen=er.Name=er.nil=er.stringify=er.str=er._=er.KeywordCxt=void 0;var Iw=Ms();er.KeywordCxt=Iw.default;var fs=Me();Object.defineProperty(er,"_",{enumerable:!0,get:function(){return fs._}});Object.defineProperty(er,"str",{enumerable:!0,get:function(){return fs.str}});Object.defineProperty(er,"stringify",{enumerable:!0,get:function(){return fs.stringify}});Object.defineProperty(er,"nil",{enumerable:!0,get:function(){return fs.nil}});Object.defineProperty(er,"Name",{enumerable:!0,get:function(){return fs.Name}});Object.defineProperty(er,"CodeGen",{enumerable:!0,get:function(){return fs.CodeGen}});var Ow=op(),Rw=Qp(),Yp=Xp(),qw=["/properties"],na="http://json-schema.org/draft-07/schema",ku=class extends Ow.default{_addVocabularies(){super._addVocabularies(),Rw.default.forEach(r=>this.addVocabulary(r))}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let r=this.opts.$data?this.$dataMetaSchema(Yp,qw):Yp;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)}};er.default=ku});var rd=ye((bx,td)=>{var Dw=Object.prototype.hasOwnProperty,Nw=Object.prototype.toString;td.exports=function(r,e,n){if(Nw.call(e)!=="[object Function]")throw new TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var o=0;o<s;o++)e.call(n,r[o],o,r);else for(var l in r)Dw.call(r,l)&&e.call(n,r[l],l,r)}});var id=ye((wx,nd)=>{"use strict";var Lw=rd();nd.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 s in gt)gt.hasOwnProperty(s)&&(n[s]=gt[s].bind(n,t));return n}gt.get=function(r,e){for(var n=Array.isArray(e)?e:gt.parse(e),s=0;s<n.length;++s){var o=n[s];if(!(typeof r=="object"&&o in r))throw new Error("Invalid reference token: "+o);r=r[o]}return r};gt.set=function(r,e,n){var s=Array.isArray(e)?e:gt.parse(e),o=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),o=s[l+1],f in r||(o.match(/^(\d+|-)$/)?r[f]=[]:r[f]={}),r=r[f])}return o==="-"&&Array.isArray(r)&&(o=r.length),r[o]=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 s=gt.get(t,e.slice(0,-1));if(Array.isArray(s)){var o=+n;if(n===""&&isNaN(o))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(s,o,1)}else delete s[n]};gt.dict=function(r,e){var n={};return gt.walk(r,function(s,o){n[o]=s},e),n};gt.walk=function(r,e,n){var s=[];n=n||function(o){var l=Object.prototype.toString.call(o);return l==="[object Object]"||l==="[object Array]"},function o(l){Lw(l,function(f,c){s.push(String(c)),n(f)?o(f):e(f,gt.compile(s)),s.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 sd=ye((kx,jw)=>{jw.exports={type:"object",properties:{ters:{type:"string"}},required:["ters"],$schema:"http://json-schema.org/draft-07/schema#"}});var od=ye((vx,Bw)=>{Bw.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 ad=ye((xx,Mw)=>{Mw.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 ld=ye(ia=>{ia.Test=sd();ia.AstTree=od();ia.PodliteDocument=ad()});var kd=ye((Tu,Fu)=>{(function(t,r,e){typeof Tu=="object"?(Fu.exports=e(),Fu.exports.default=e()):typeof define=="function"&&define.amd?define(e):r[t]=e()})("slugify",Tu,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,s){if(typeof n!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var o=r[s.locale]||{},l=s.replacement===void 0?"-":s.replacement,f=s.trim===void 0?!0:s.trim,c=n.normalize().split("").reduce(function(g,h){var $=o[h];return $===void 0&&($=t[h]),$===void 0&&($=h),$===l&&($=" "),g+$.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(n){Object.assign(t,n)},e})});var Cd=ye((PC,xd)=>{"use strict";function tk(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)}tk(Si,Error);Si.buildMessage=function(t,r){var e={literal:function(g){return'"'+s(g.text)+'"'},class:function(g){var h="",$;for($=0;$<g.parts.length;$++)h+=g.parts[$]instanceof Array?o(g.parts[$][0])+"-"+o(g.parts[$][1]):o(g.parts[$]);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 s(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 o(g){return g.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function l(g){return e[g.type](g)}function f(g){var h=new Array(g.length),$,v;for($=0;$<g.length;$++)h[$]=l(g[$]);if(h.sort(),h.length>0){for($=1,v=1;$<h.length;$++)h[$-1]!==h[$]&&(h[v]=h[$],v++);h.length=v}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?'"'+s(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function rk(t,r){r=r!==void 0?r:{};var e={},n={Document:jf},s=jf,o=function(u){return u},l=function(){return!!r.podMode},f=function(u){return u},c=Z(),g=function(){return{text:w(),type:"ambient",location:k()}},h=/^[ \xA0\u2001\t\f\u2008]/,$=D([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),v=/^[ \t\f]/,A=D([" "," ","\f"],!1,!1),x=/^[\n\r]/,F=D([`
9
+ `,"\r"],!1,!1),N=function(u){return u},z=/^[^\n\r]/,Y=D([`
10
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(`
11
+ `,be=P(`
12
+ `,!1),ge="\r",ee=P("\r",!1),de=function(){return{type:"blankline"}},ve="=begin ",ke=P("=begin ",!1),De="=end ",Te=P("=end ",!1),Se="=for ",me=P("=for ",!1),Ae="=config",Qe=P("=config",!1),te="=alias",xt=P("=alias",!1),Xe=function(u){return Lh(u)},$t=function(u){return u},nt="=",V=P("=",!1),H=X("text"),Ht=function(){return w()},Nt=function(){return{type:"para",value:w(),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])},jt=/^[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),Gt="=>",si=P("=>",!1),Ce=function(u,d){return{[u]:d}},Tn=function(u,d){return{...u,...d}},Fn=function(u){return u},Ne=":",Pe=P(":",!1),Ze="allow",bt=P("allow",!1),hr="<",Re=P("<",!1),qe=">",mt=P(">",!1),it=function(u,d){return{value:d,type:"array"}},se=function(u,d){return{name:"allow",...d}},fe=function(u){return u},we=function(u){return u},Ee=function(u){return[u]},Lt=function(){return[]},nn=/^[!]/,st=D(["!"],!1,!1),wt="{",Tt=P("{",!1),sn="}",ht=P("}",!1),In=function(u,d,y){return{value:y,type:"map"}},Kt="[",yn=P("[",!1),Mn=function(u,d,y){return y},Ur="]",oi=P("]",!1),ai=function(u,d){return[w()]},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),$s=function(u,d,y){return y.length>1?{type:"array",value:y}:{type:"value",value:y[0]}},On=")",U=P(")",!1),q=function(u,d){return{value:w()}},J=function(u,d,y){return{type:"value",...y}},re=function(u,d){return{value:!u,type:"boolean"}},ie=function(u,d,y){return{name:d,...y}},he=function(u,d){return d},_e=function(u,d){return Zi([...u,...d])},je=/^[^'"]/,Ge=D(["'",'"'],!0,!1),yt=function(u){return u},Fe=/^[0-9]/,ot=D([["0","9"]],!1,!1),kt=/^[\-+]/,ut=D(["-","+"],!1,!1),Ve="True",ft=P("True",!1),Ye=function(){return!0},Hr="False",Wt=P("False",!1),rr=function(){return!1},et=".",Bt=P(".",!1),nr=/^[eE]/,Cr=D(["e","E"],!1,!1),Gr=/^["]/,Ar=D(['"'],!1,!1),$n=/^[^"]/,Rn=D(['"'],!0,!1),qn=/^[']/,ir=D(["'"],!1,!1),Er=/^[^']/,Jt=D(["'"],!0,!1),on=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/)||Eo(d)},i=function(u,d,y,b,_){return u.length===b.length&&d===_},ue=function(u,d,y,b,_){return jh(u,`${b}${_}`)},Wr=function(u,d,y,b,_,E){return d===E},Mt=function(u,d,y,b,_,E){return{type:"block",content:b===""?[]:[{type:"verbatim",value:b.join("")}],name:d,margin:u}},Dr=function(u,d,y,b,_,E){return!0},C=function(u,d,y,b,_,E){return{...E,text:w(),config:y,location:k()}},Nr=/^[\-+=_|]/,bn=D(["-","+","=","_","|"],!1,!1),bs=function(){return{type:"separator",text:w()}},ho=function(){return r.isDelimited},Jr=function(){return{type:"separator",text:w()}},Be=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,b){return r.separators.push(b.text),b},ws=function(u,d,y,b){return[{name:"row",type:"text",value:y},b]},Zr=function(u,d,y){return[y]},Lr=function(u,d,y){return r.separators.length>1?!r.separators.every(b=>b===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},go=function(u,d,y,b){return b},Ta=function(u,d,y,b){return b.some(_=>_&&(_.name==="row"||_.name==="cell"))},Mi=function(u,d,y,b,_,E){return{type:"block",content:b,name:d,margin:u}},ln=function(u,d,y,b,_,E){return{...E,text:w(),config:y,location:k()}},ks=function(u,d,y){return r.isDelimited=!0,!0},vs=function(u,d,y,b){return b},Fa=function(u,d,y,b,_,E){return{type:"block",content:b,name:d,margin:u}},Ia=function(u,d,y,b,_,E){return{...E,text:w(),config:y,location:k()}},yo=function(u,d,y,b){return b},$o=function(u,d,y,b,_){let E=d.match(/pod|nested|item|code|defn/)&&b.length-u.length>0?"code":"para";return{text:_,margin:b,type:E,content:[{type:E==="code"?"verbatim":"text",value:_}],location:k()}},Oa=function(u,d,y,b,_,E){return{type:"block",content:b,name:d,margin:u}},bo=function(u,d,y,b,_,E){return{...E,config:y,location:k()}},Kn=function(){return{text:w(),type:"para",margin:"",content:[{type:"text",value:w()}],location:k()}},Zt=function(){return{empty:1}},Wn=/^[s]/,wn=D(["s"],!1,!1),jr=function(u){return{text:w(),type:"ambient1"}},Ra=function(u,d){return d.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Eo(d)},wo=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()}},qa=function(u,d,y,b){let _=(y===`
13
+ `?"":y)+b;return{margin:u,type:"block",content:_===""?[]:[{type:"para",text:_,margin:"",content:[{type:"text",value:_}],location:k()}],name:d,location:k()}},Vi="= ",ko=P("= ",!1),Da=function(u,d,y,b){return{name:y,type:"alias",replacement:b,margin:u}},Na=/^[A-Z]/,La=D([["A","Z"]],!1,!1),xs="<>",vo=P("<>",!1),ja=function(u,d,y,b){return{name:y,type:"config",config:b,margin:u}},Cs=function(u,d,y,b){return y.match(/code|comment|formula|output|input|markdown|picture|toc|data/)||Eo(y)},Et=function(u,d,y,b,_){return{type:"block",content:_===""?[]:[{type:"verbatim",value:_}],name:y,margin:u,config:b,location:k()}},Le=function(u,d,y,b){return y==="table"},Ui=function(u,d,y,b){return r.isDelimited=!1,!0},Nf=function(u,d,y,b,_){return{type:"block",content:_===""?[]:_,name:y,margin:u,config:b,location:k()}},sr=function(u,d,y,b,_){return{type:"block",content:_===""?[]:[{type:"para",content:[{type:"text",value:_}],margin:u,text:_,location:k()}],name:y,margin:u,config:b,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,oe=0,Dn=[{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+'".');s=n[r.startRule]}function w(){return t.substring(oe,a)}function k(){return B(oe,a)}function R(u,d){throw d=d!==void 0?d:B(oe,a),Lf([X(u)],t.substring(oe,a),d)}function M(u,d){throw d=d!==void 0?d:B(oe,a),_h(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 T(){return{type:"end"}}function X(u){return{type:"other",description:u}}function G(u){var d=Dn[u],y;if(d)return d;for(y=u-1;!Dn[y];)y--;for(d=Dn[y],d={line:d.line,column:d.column};y<u;)t.charCodeAt(y)===10?(d.line++,d.column=1):d.column++,y++;return Dn[u]=d,d}function B(u,d){var y=G(u),b=G(d);return{start:{offset:u,line:y.line,column:y.column},end:{offset:d,line:b.line,column:b.column}}}function O(u){a<_r||(a>_r&&(_r=a,m=[]),m.push(u))}function _h(u,d){return new Si(u,null,null,d)}function Lf(u,d,y){return new Si(Si.buildMessage(u,d),u,d,y)}function jf(){var u,d,y;for(u=a,d=[],y=Bf();y!==e;)d.push(y),y=Bf();return d!==e&&(oe=u,d=o(d)),u=d,u}function Bf(){var u,d,y,b,_,E,K,Q;if(u=_s(),u===e&&(u=Rh(),u===e&&(u=Va(),u===e&&(u=Ss(),u===e&&(u=Fs(),u===e&&(u=Ka(),u===e&&(u=Is(),u===e&&(u=Ha(),u===e&&(u=Ga(),u===e&&(u=Ps(),u===e&&(u=Ua(),u===e&&(u=Ts(),u===e&&(u=a,oe=a,d=l(),d?d=void 0:d=e,d!==e?(y=qh(),y===e&&(y=Qr(),y===e&&(y=Ph())),y!==e?(oe=u,d=f(y),u=d):(a=u,u=e)):(a=u,u=e),u===e))))))))))))){if(u=a,d=a,y=[],b=a,_=a,p++,E=a,K=Nn(),K!==e?(Q=zt(),Q!==e?(K=[K,Q],E=K):(a=E,E=e)):(a=E,E=e),E===e&&(E=hi()),p--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,p===0&&O(c)),E!==e?(_=[_,E],b=_):(a=b,b=e)):(a=b,b=e),b!==e)for(;b!==e;)y.push(b),b=a,_=a,p++,E=a,K=Nn(),K!==e?(Q=zt(),Q!==e?(K=[K,Q],E=K):(a=E,E=e)):(a=E,E=e),E===e&&(E=hi()),p--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,p===0&&O(c)),E!==e?(_=[_,E],b=_):(a=b,b=e)):(a=b,b=e);else y=e;y!==e?d=t.substring(d,a):d=y,d!==e&&(oe=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&&O($)),u}function $e(){var u,d;for(u=[],v.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(A));d!==e;)u.push(d),v.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(A));return u}function Jn(){var u,d,y,b;for(u=a,d=a,y=[],b=Ot();b!==e;)y.push(b),b=Ot();return y!==e?(x.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(F)),b!==e?(y=[y,b],d=y):(a=d,d=e)):(a=d,d=e),d!==e?u=t.substring(u,a):u=d,u}function a1(){var u,d,y,b;if(u=a,d=a,y=[],b=As(),b!==e)for(;b!==e;)y.push(b),b=As();else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e?(y=di(),y!==e?(oe=u,d=N(d),u=d):(a=u,u=e)):(a=u,u=e),u}function As(){var u;return z.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,p===0&&O(Y)),u}function pi(){var u,d,y;return t.charCodeAt(a)===10?(u=ae,a++):(u=e,p===0&&O(be)),u===e&&(u=a,t.charCodeAt(a)===13?(d=ge,a++):(d=e,p===0&&O(ee)),d!==e?(t.charCodeAt(a)===10?(y=ae,a++):(y=e,p===0&&O(be)),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&&O(c)),p--,d===e?u=void 0:(a=u,u=e)),u}function Br(){var u,d,y,b;for(u=a,d=a,y=[],b=Ot();b!==e;)y.push(b),b=Ot();return y!==e?(x.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(F)),b!==e?(y=[y,b],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,b,_;for(u=a,d=a,y=a,b=[],_=Ot();_!==e;)b.push(_),_=Ot();return b!==e?(x.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(F)),_!==e?(b=[b,_],y=b):(a=y,y=e)):(a=y,y=e),y!==e?d=t.substring(d,a):d=y,d!==e&&(oe=u,d=de()),u=d,u}function Es(){var u;return t.substr(a,7)===ve?(u=ve,a+=7):(u=e,p===0&&O(ke)),u}function mi(){var u;return t.substr(a,5)===De?(u=De,a+=5):(u=e,p===0&&O(Te)),u}function xo(){var u;return t.substr(a,5)===Se?(u=Se,a+=5):(u=e,p===0&&O(me)),u}function Mf(){var u;return t.substr(a,7)===Ae?(u=Ae,a+=7):(u=e,p===0&&O(Qe)),u}function zf(){var u;return t.substr(a,6)===te?(u=te,a+=6):(u=e,p===0&&O(xt)),u}function zt(){var u,d,y;return u=a,d=Wa(),d!==e?(oe=a,y=Xe(d),y?y=void 0:y=e,y!==e?(oe=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&&O(V)),d!==e?(y=zt(),y!==e?(oe=u,d=$t(y),u=d):(a=u,u=e)):(a=u,u=e),u}function Nn(){var u;return u=Es(),u===e&&(u=mi(),u===e&&(u=xo(),u===e&&(u=Mf(),u===e&&(u=zf())))),u}function Xr(){var u,d,y;if(p++,u=a,d=[],y=As(),y!==e)for(;y!==e;)d.push(y),y=As();else d=e;return d!==e?u=t.substring(u,a):u=d,p--,u===e&&(d=e,p===0&&O(H)),u}function Qt(){var u,d,y,b,_,E,K;if(u=a,d=a,p++,y=a,b=$e(),b!==e?(_=Mf(),_===e&&(_=zf(),_===e&&(_=a,E=Nn(),E!==e?(K=zt(),K!==e?(E=[E,K],_=E):(a=_,_=e)):(a=_,_=e),_===e&&(_=hi()))),_!==e?(b=[b,_],y=b):(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,b=[],_=Xr(),_!==e)for(;_!==e;)b.push(_),_=Xr();else b=e;b!==e?y=t.substring(y,a):y=b,y!==e?(b=di(),b!==e?(oe=u,d=Ht(),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u}function Sh(){var u,d,y,b;if(u=a,d=a,y=[],b=Xr(),b!==e)for(;b!==e;)y.push(b),b=Xr();else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e?(y=di(),y!==e?(oe=u,d=Ht(),u=d):(a=u,u=e)):(a=u,u=e),u}function Ph(){var u,d,y,b,_,E;if(u=a,d=a,y=[],b=a,_=a,p++,E=di(),p--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,p===0&&O(c)),E!==e?(_=[_,E],b=_):(a=b,b=e)):(a=b,b=e),b!==e)for(;b!==e;)y.push(b),b=a,_=a,p++,E=di(),p--,E===e?_=void 0:(a=_,_=e),_!==e?(t.length>a?(E=t.charAt(a),a++):(E=e,p===0&&O(c)),E!==e?(_=[_,E],b=_):(a=b,b=e)):(a=b,b=e);else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e?(y=di(),y!==e?(oe=u,d=Nt(),u=d):(a=u,u=e)):(a=u,u=e),u}function Vf(){var u,d,y,b;if(u=a,d=Uf(),d!==e){if(y=[],b=Ot(),b!==e)for(;b!==e;)y.push(b),b=Ot();else y=e;y!==e?(b=Vf(),b!==e?(oe=u,d=Ct(d,b),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,d=Uf(),d!==e&&(oe=u,d=Pt(d)),u=d),u}function Uf(){var u,d;return u=a,d=As(),d!==e?u=t.substring(u,a):u=d,u}function Co(){var u,d,y,b,_,E;if(u=a,d=Wi(),d!==e){if(y=[],b=Ot(),b!==e)for(;b!==e;)y.push(b),b=Ot();else y=e;y===e&&(y=a,b=$e(),b!==e?(t.charCodeAt(a)===44?(_=At,a++):(_=e,p===0&&O(lt)),_!==e?(E=$e(),E!==e?(b=[b,_,E],y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e)),y!==e?(b=Co(),b!==e?(oe=u,d=qr(d,b),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;return u===e&&(u=a,d=Wi(),d!==e&&(oe=u,d=Pt(d)),u=d),u}function Th(){var u,d,y,b,_;if(u=a,d=a,y=[],jt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(mr)),b!==e)for(;b!==e;)y.push(b),jt.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(mr));else y=e;if(y!==e){for(b=[],tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(xr));_!==e;)b.push(_),tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(xr));b!==e?(y=[y,b],d=y):(a=d,d=e)}else a=d,d=e;return d!==e?u=t.substring(u,a):u=d,u}function Hf(){var u,d,y,b,_,E;return u=a,d=Th(),d!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(b=At,a++):(b=e,p===0&&O(lt)),b===e&&(t.substr(a,2)===Gt?(b=Gt,a+=2):(b=e,p===0&&O(si))),b!==e?(_=$e(),_!==e?(E=Wi(),E!==e?(oe=u,d=Ce(d,E),u=d):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function Gf(){var u,d,y,b,_,E;return u=a,d=Hf(),d!==e?(y=$e(),y!==e?(t.charCodeAt(a)===44?(b=At,a++):(b=e,p===0&&O(lt)),b!==e?(_=$e(),_!==e?(E=Gf(),E!==e?(oe=u,d=Tn(d,E),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=Hf(),d!==e&&(oe=u,d=Fn(d)),u=d),u}function Fh(){var u,d,y,b,_,E,K,Q,I,L;return u=a,d=$e(),d!==e?(t.charCodeAt(a)===58?(y=Ne,a++):(y=e,p===0&&O(Pe)),y!==e?(t.substr(a,5)===Ze?(b=Ze,a+=5):(b=e,p===0&&O(bt)),b!==e?(_=a,t.charCodeAt(a)===60?(E=hr,a++):(E=e,p===0&&O(Re)),E!==e?(K=$e(),K!==e?(Q=Vf(),Q!==e?(I=$e(),I!==e?(t.charCodeAt(a)===62?(L=qe,a++):(L=e,p===0&&O(mt)),L!==e?(oe=_,E=it(b,Q),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)):(a=_,_=e),_!==e?(E=$e(),E!==e?(oe=u,d=se(b,_),u=d):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e)):(a=u,u=e),u}function l1(){var u,d,y,b,_,E;for(u=a,d=[],y=a,b=$e(),b!==e?(_=Wi(),_!==e?(E=$e(),E!==e?(oe=y,b=fe(_),y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);y!==e;)d.push(y),y=a,b=$e(),b!==e?(_=Wi(),_!==e?(E=$e(),E!==e?(oe=y,b=fe(_),y=b):(a=y,y=e)):(a=y,y=e)):(a=y,y=e);return d!==e&&(oe=u,d=we(d)),u=d,u===e&&(u=a,d=Wi(),d!==e&&(oe=u,d=Ee(d)),u=d,u===e&&(u=a,d=$e(),d!==e&&(oe=u,d=Lt()),u=d)),u}function Ki(){var u,d,y,b,_,E,K,Q,I,L,j,ne,le,pe;if(u=Fh(),u===e)if(u=a,d=$e(),d!==e)if(t.charCodeAt(a)===58?(y=Ne,a++):(y=e,p===0&&O(Pe)),y!==e)if(nn.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(st)),b===e&&(b=null),b!==e)if(_=Wa(),_!==e){if(E=a,t.charCodeAt(a)===123?(K=wt,a++):(K=e,p===0&&O(Tt)),K!==e?(Q=$e(),Q!==e?(I=Gf(),I!==e?(L=$e(),L!==e?(t.charCodeAt(a)===125?(j=sn,a++):(j=e,p===0&&O(ht)),j!==e?(oe=E,K=In(b,_,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e),E===e){if(E=a,t.charCodeAt(a)===91?(K=Kt,a++):(K=e,p===0&&O(yn)),K!==e)if(Q=$e(),Q!==e){if(I=a,L=Co(),L!==e&&(oe=I,L=Mn(b,_,L)),I=L,I===e){if(I=a,L=a,j=[],ne=a,le=a,p++,t.charCodeAt(a)===93?(pe=Ur,a++):(pe=e,p===0&&O(oi)),pe===e&&(t.charCodeAt(a)===91?(pe=Kt,a++):(pe=e,p===0&&O(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&&O(c)),pe!==e?(le=[le,pe],ne=le):(a=ne,ne=e)):(a=ne,ne=e),ne!==e)for(;ne!==e;)j.push(ne),ne=a,le=a,p++,t.charCodeAt(a)===93?(pe=Ur,a++):(pe=e,p===0&&O(oi)),pe===e&&(t.charCodeAt(a)===91?(pe=Kt,a++):(pe=e,p===0&&O(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&&O(c)),pe!==e?(le=[le,pe],ne=le):(a=ne,ne=e)):(a=ne,ne=e);else j=e;j!==e?L=t.substring(L,a):L=j,L!==e&&(oe=I,L=ai(b,_)),I=L}I!==e?(L=$e(),L!==e?(t.charCodeAt(a)===93?(j=Ur,a++):(j=e,p===0&&O(oi)),j!==e?(oe=E,K=Li(b,_,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;if(E===e&&(E=a,t.charCodeAt(a)===60?(K=hr,a++):(K=e,p===0&&O(Re)),K!==e?(Q=$e(),Q!==e?(I=Co(),I!==e?(L=$e(),L!==e?(t.charCodeAt(a)===62?(j=qe,a++):(j=e,p===0&&O(mt)),j!==e?(oe=E,K=zn(b,_,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)):(a=E,E=e),E===e)){if(E=a,t.charCodeAt(a)===60?(K=hr,a++):(K=e,p===0&&O(Re)),K!==e)if(Q=$e(),Q!==e){if(I=a,L=[],j=a,ne=a,p++,t.charCodeAt(a)===60?(le=hr,a++):(le=e,p===0&&O(Re)),le===e&&(t.charCodeAt(a)===62?(le=qe,a++):(le=e,p===0&&O(mt))),p--,le===e?ne=void 0:(a=ne,ne=e),ne!==e?(t.length>a?(le=t.charAt(a),a++):(le=e,p===0&&O(c)),le!==e?(ne=[ne,le],j=ne):(a=j,j=e)):(a=j,j=e),j!==e)for(;j!==e;)L.push(j),j=a,ne=a,p++,t.charCodeAt(a)===60?(le=hr,a++):(le=e,p===0&&O(Re)),le===e&&(t.charCodeAt(a)===62?(le=qe,a++):(le=e,p===0&&O(mt))),p--,le===e?ne=void 0:(a=ne,ne=e),ne!==e?(t.length>a?(le=t.charAt(a),a++):(le=e,p===0&&O(c)),le!==e?(ne=[ne,le],j=ne):(a=j,j=e)):(a=j,j=e);else L=e;L!==e?I=t.substring(I,a):I=L,I!==e?(L=$e(),L!==e?(t.charCodeAt(a)===62?(j=qe,a++):(j=e,p===0&&O(mt)),j!==e?(oe=E,K=li(b,_,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;if(E===e){if(E=a,t.charCodeAt(a)===40?(K=Vn,a++):(K=e,p===0&&O(Un)),K!==e)if(Q=$e(),Q!==e){if(I=a,L=Co(),L!==e&&(oe=I,L=$s(b,_,L)),I=L,I===e){if(I=a,L=a,j=[],ne=a,le=a,p++,t.charCodeAt(a)===41?(pe=On,a++):(pe=e,p===0&&O(U)),pe===e&&(t.charCodeAt(a)===40?(pe=Vn,a++):(pe=e,p===0&&O(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&&O(c)),pe!==e?(le=[le,pe],ne=le):(a=ne,ne=e)):(a=ne,ne=e),ne!==e)for(;ne!==e;)j.push(ne),ne=a,le=a,p++,t.charCodeAt(a)===41?(pe=On,a++):(pe=e,p===0&&O(U)),pe===e&&(t.charCodeAt(a)===40?(pe=Vn,a++):(pe=e,p===0&&O(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&&O(c)),pe!==e?(le=[le,pe],ne=le):(a=ne,ne=e)):(a=ne,ne=e);else j=e;j!==e?L=t.substring(L,a):L=j,L!==e&&(oe=I,L=q(b,_)),I=L}I!==e?(L=$e(),L!==e?(t.charCodeAt(a)===41?(j=On,a++):(j=e,p===0&&O(U)),j!==e?(oe=E,K=J(b,_,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)}else a=E,E=e;else a=E,E=e;E===e&&(E=a,K=$e(),K!==e&&(oe=E,K=re(b,_)),E=K)}}}E!==e?(K=$e(),K!==e?(oe=u,d=ie(b,_,E),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,b,_,E,K,Q,I,L;for(u=a,d=[],y=Ki();y!==e;)d.push(y),y=Ki();if(d!==e)if(y=pi(),y!==e){if(b=[],_=a,t.charCodeAt(a)===61?(E=nt,a++):(E=e,p===0&&O(V)),E!==e)if(K=$e(),K!==e){if(Q=[],I=Ki(),I!==e)for(;I!==e;)Q.push(I),I=Ki();else Q=e;Q!==e?(I=$e(),I!==e?(L=pi(),L!==e?(oe=_,E=he(d,Q),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;for(;_!==e;)if(b.push(_),_=a,t.charCodeAt(a)===61?(E=nt,a++):(E=e,p===0&&O(V)),E!==e)if(K=$e(),K!==e){if(Q=[],I=Ki(),I!==e)for(;I!==e;)Q.push(I),I=Ki();else Q=e;Q!==e?(I=$e(),I!==e?(L=pi(),L!==e?(oe=_,E=he(d,Q),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;b!==e?(oe=u,d=_e(d,b),u=d):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function u1(){var u,d,y,b;if(u=a,d=a,y=[],je.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(Ge)),b!==e)for(;b!==e;)y.push(b),je.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(Ge));else y=e;return y!==e?d=t.substring(d,a):d=y,d!==e&&(oe=u,d=yt(d)),u=d,u}function Kf(){var u,d,y;if(u=a,d=[],Fe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&O(ot)),y!==e)for(;y!==e;)d.push(y),Fe.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&O(ot));else d=e;return d!==e?u=t.substring(u,a):u=d,u}function Ao(){var u,d,y,b,_;if(u=a,d=a,kt.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&O(ut)),y===e&&(y=null),y!==e){if(b=[],Fe.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(ot)),_!==e)for(;_!==e;)b.push(_),Fe.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(ot));else b=e;b!==e?(y=[y,b],d=y):(a=d,d=e)}else a=d,d=e;return d!==e?u=t.substring(u,a):u=d,u}function Ih(){var u,d;return u=a,t.substr(a,4)===Ve?(d=Ve,a+=4):(d=e,p===0&&O(ft)),d!==e&&(oe=u,d=Ye()),u=d,u===e&&(u=a,t.substr(a,5)===Hr?(d=Hr,a+=5):(d=e,p===0&&O(Wt)),d!==e&&(oe=u,d=rr()),u=d),u}function Oh(){var u,d,y,b,_,E;return u=a,d=a,y=Ao(),y!==e?(b=a,t.charCodeAt(a)===46?(_=et,a++):(_=e,p===0&&O(Bt)),_!==e?(E=Kf(),E!==e?(_=[_,E],b=_):(a=b,b=e)):(a=b,b=e),b===e&&(b=null),b!==e?(nr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(Cr)),_!==e?(E=Ao(),E!==e?(y=[y,b,_,E],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=Ao(),y!==e?(t.charCodeAt(a)===46?(b=et,a++):(b=e,p===0&&O(Bt)),b!==e?(_=Kf(),_!==e?(y=[y,b,_],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,b,_;if(u=a,Gr.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(Ar)),d!==e){for(y=a,b=[],$n.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(Rn));_!==e;)b.push(_),$n.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(Rn));b!==e?y=t.substring(y,a):y=b,y!==e?(Gr.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(Ar)),b!==e?(oe=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,qn.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(ir)),d!==e){for(y=a,b=[],Er.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(Jt));_!==e;)b.push(_),Er.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(Jt));b!==e?y=t.substring(y,a):y=b,y!==e?(qn.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(ir)),b!==e?(oe=u,d=yt(y),u=d):(a=u,u=e)):(a=u,u=e)}else a=u,u=e;u===e&&(u=Ih(),u===e&&(u=a,d=Oh(),d!==e&&(oe=u,d=on(d)),u=d,u===e&&(u=a,d=Ao(),d!==e&&(oe=u,d=Hn(d)),u=d)))}return u}function _s(){var u,d,y,b,_,E,K,Q,I,L,j,ne,le,pe,at,Mr,en;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=Es(),y!==e)if(b=zt(),b!==e)if(_=$e(),_!==e)if(E=Zn(),E!==e)if(oe=a,K=Kr(d,b,E),K?K=void 0:K=e,K!==e){if(Q=[],I=a,L=a,j=$e(),j!==e?L=t.substring(L,a):L=j,L!==e?(j=a,ne=Jn(),ne===e&&(ne=a,le=a,p++,pe=Nn(),p--,pe===e?le=void 0:(a=le,le=e),le===e&&(le=a,p++,pe=a,at=mi(),at!==e?(Mr=zt(),Mr!==e?(oe=a,en=i(d,b,E,L,Mr),en?en=void 0:en=e,en!==e?(at=[at,Mr,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],ne=le):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e)),ne!==e?j=t.substring(j,a):j=ne,j!==e?(oe=I,L=ue(d,b,E,L,j),I=L):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,L=a,j=$e(),j!==e?L=t.substring(L,a):L=j,L!==e?(j=a,ne=Jn(),ne===e&&(ne=a,le=a,p++,pe=Nn(),p--,pe===e?le=void 0:(a=le,le=e),le===e&&(le=a,p++,pe=a,at=mi(),at!==e?(Mr=zt(),Mr!==e?(oe=a,en=i(d,b,E,L,Mr),en?en=void 0:en=e,en!==e?(at=[at,Mr,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],ne=le):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e)),ne!==e?j=t.substring(j,a):j=ne,j!==e?(oe=I,L=ue(d,b,E,L,j),I=L):(a=I,I=e)):(a=I,I=e);else Q=e;Q!==e?(I=a,L=$e(),L!==e?I=t.substring(I,a):I=L,I!==e?(L=a,j=mi(),j!==e?(ne=zt(),ne!==e?(oe=a,le=Wr(d,b,E,Q,I,ne),le?le=void 0:le=e,le!==e?(pe=Jn(),pe===e&&(pe=null),pe!==e?(oe=L,j=Mt(d,b,E,Q,I,ne),L=j):(a=L,L=e)):(a=L,L=e)):(a=L,L=e)):(a=L,L=e),L!==e?(oe=a,j=Dr(d,b,E,Q,I,L),j?j=void 0:j=e,j!==e?(oe=u,d=C(d,b,E,Q,I,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,b,_,E,K,Q,I;if(u=a,d=a,p++,y=a,b=$e(),b!==e?(_=Nn(),_===e&&(_=hi()),_!==e?(b=[b,_],y=b):(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=[],b=Ot();b!==e;)y.push(b),b=Ot();if(y!==e){if(b=a,_=[],E=a,Nr.test(t.charAt(a))?(K=t.charAt(a),a++):(K=e,p===0&&O(bn)),K!==e){for(Q=[],I=Ot();I!==e;)Q.push(I),I=Ot();Q!==e?(K=[K,Q],E=K):(a=E,E=e)}else a=E,E=e;if(E!==e)for(;E!==e;)if(_.push(E),E=a,Nr.test(t.charAt(a))?(K=t.charAt(a),a++):(K=e,p===0&&O(bn)),K!==e){for(Q=[],I=Ot();I!==e;)Q.push(I),I=Ot();Q!==e?(K=[K,Q],E=K):(a=E,E=e)}else a=E,E=e;else _=e;_!==e?b=t.substring(b,a):b=_,b!==e?(_=di(),_!==e?(oe=u,d=bs(),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,b,_;return u=a,d=a,y=Ji(),y===e&&(y=a,oe=a,b=ho(),b?b=void 0:b=e,b!==e?(_=Qr(),_!==e?(b=[b,_],y=b):(a=y,y=e)):(a=y,y=e)),y!==e?d=t.substring(d,a):d=y,d!==e&&(oe=u,d=Jr()),u=d,u}function Yr(){var u,d;return u=a,d=Qt(),d!==e&&(oe=u,d=Be(d)),u=d,u}function za(){var u,d,y,b,_,E,K,Q,I,L,j;if(u=a,oe=a,d=gr(),d?d=void 0:d=e,d!==e){if(y=a,b=[],_=a,E=a,p++,K=Ji(),p--,K===e?E=void 0:(a=E,E=e),E!==e?(K=Yr(),K!==e?(E=[E,K],_=E):(a=_,_=e)):(a=_,_=e),_!==e)for(;_!==e;)b.push(_),_=a,E=a,p++,K=Ji(),p--,K===e?E=void 0:(a=E,E=e),E!==e?(K=Yr(),K!==e?(E=[E,K],_=E):(a=_,_=e)):(a=_,_=e);else b=e;if(b!==e?y=t.substring(y,a):y=b,y!==e)if(b=a,_=Ji(),_!==e&&(oe=b,_=Gn(y,_)),b=_,b!==e){if(_=[],E=a,K=a,Q=[],I=a,L=a,p++,j=Sr(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Yr(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,L=a,p++,j=Sr(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Yr(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e);else Q=e;if(Q!==e?K=t.substring(K,a):K=Q,K!==e?(Q=a,I=Sr(),I!==e&&(oe=Q,I=an(y,b,K,I)),Q=I,Q!==e?(oe=E,K=ws(y,b,K,Q),E=K):(a=E,E=e)):(a=E,E=e),E===e&&(E=a,K=a,p++,Q=Ji(),p--,Q===e?K=void 0:(a=K,K=e),K!==e?(Q=a,p++,I=Sr(),p--,I===e?Q=void 0:(a=Q,Q=e),Q!==e?(I=Yr(),I!==e?(oe=E,K=Zr(y,b,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e)),E!==e)for(;E!==e;){if(_.push(E),E=a,K=a,Q=[],I=a,L=a,p++,j=Sr(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Yr(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e),I!==e)for(;I!==e;)Q.push(I),I=a,L=a,p++,j=Sr(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Yr(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e);else Q=e;Q!==e?K=t.substring(K,a):K=Q,K!==e?(Q=a,I=Sr(),I!==e&&(oe=Q,I=an(y,b,K,I)),Q=I,Q!==e?(oe=E,K=ws(y,b,K,Q),E=K):(a=E,E=e)):(a=E,E=e),E===e&&(E=a,K=a,p++,Q=Ji(),p--,Q===e?K=void 0:(a=K,K=e),K!==e?(Q=a,p++,I=Sr(),p--,I===e?Q=void 0:(a=Q,Q=e),Q!==e?(I=Yr(),I!==e?(oe=E,K=Zr(y,b,I),E=K):(a=E,E=e)):(a=E,E=e)):(a=E,E=e))}else _=e;_!==e?(oe=a,E=Lr(y,b,_),E?E=void 0:E=e,E!==e?(oe=u,d=W(y,b,_),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,b=a,_=a,E=a,p++,K=Sr(),p--,K===e?E=void 0:(a=E,E=e),E!==e?(K=Yr(),K!==e?(E=[E,K],_=E):(a=_,_=e)):(a=_,_=e),_!==e?b=t.substring(b,a):b=_,b!==e){for(_=[],E=Sr();E!==e;)_.push(E),E=Sr();_!==e?(oe=y,b=ji(b,_),y=b):(a=y,y=e)}else a=y,y=e;if(y!==e)for(;y!==e;)if(d.push(y),y=a,b=a,_=a,E=a,p++,K=Sr(),p--,K===e?E=void 0:(a=E,E=e),E!==e?(K=Yr(),K!==e?(E=[E,K],_=E):(a=_,_=e)):(a=_,_=e),_!==e?b=t.substring(b,a):b=_,b!==e){for(_=[],E=Sr();E!==e;)_.push(E),E=Sr();_!==e?(oe=y,b=ji(b,_),y=b):(a=y,y=e)}else a=y,y=e;else d=e;if(d!==e&&(oe=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 Rh(){var u,d,y,b,_,E,K,Q,I,L,j,ne,le,pe,at,Mr;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=Es(),y!==e)if(b=zt(),b!==e)if(_=$e(),_!==e)if(E=Zn(),E!==e)if(oe=a,K=ui(d,b,E),K?K=void 0:K=e,K!==e)if(oe=a,Q=fi(d,b,E),Q?Q=void 0:Q=e,Q!==e){for(I=a,L=[],j=Qr(),j===e&&(j=_s(),j===e&&(j=Ss(),j===e&&(j=Fs(),j===e&&(j=Is(),j===e&&(j=Ps(),j===e&&(j=Ts()))))));j!==e;)L.push(j),j=Qr(),j===e&&(j=_s(),j===e&&(j=Ss(),j===e&&(j=Fs(),j===e&&(j=Is(),j===e&&(j=Ps(),j===e&&(j=Ts()))))));L!==e&&(oe=I,L=go(d,b,E,L)),I=L,I!==e?(oe=a,L=Ta(d,b,E,I),L?L=void 0:L=e,L!==e?(j=a,ne=$e(),ne!==e?j=t.substring(j,a):j=ne,j!==e?(ne=a,le=mi(),le!==e?(pe=zt(),pe!==e?(oe=a,at=Wr(d,b,E,I,j,pe),at?at=void 0:at=e,at!==e?(Mr=Jn(),Mr===e&&(Mr=null),Mr!==e?(oe=ne,le=Mi(d,b,E,I,j,pe),ne=le):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e)):(a=ne,ne=e),ne!==e?(oe=u,d=ln(d,b,E,I,j,ne),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,b,_,E,K,Q,I,L,j,ne,le,pe,at;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=Es(),y!==e)if(b=zt(),b!==e)if(_=$e(),_!==e)if(E=Zn(),E!==e)if(oe=a,K=ui(d,b,E),K?K=void 0:K=e,K!==e)if(oe=a,Q=ks(d,b,E),Q?Q=void 0:Q=e,Q!==e){for(I=a,L=[],j=Qr();j!==e;)L.push(j),j=Qr();if(L!==e)if(j=za(),j!==e){for(ne=[],le=Qr();le!==e;)ne.push(le),le=Qr();ne!==e?(oe=I,L=vs(d,b,E,j),I=L):(a=I,I=e)}else a=I,I=e;else a=I,I=e;I!==e?(L=a,j=$e(),j!==e?L=t.substring(L,a):L=j,L!==e?(j=a,ne=mi(),ne!==e?(le=zt(),le!==e?(oe=a,pe=Wr(d,b,E,I,L,le),pe?pe=void 0:pe=e,pe!==e?(at=Jn(),at===e&&(at=null),at!==e?(oe=j,ne=Fa(d,b,E,I,L,le),j=ne):(a=j,j=e)):(a=j,j=e)):(a=j,j=e)):(a=j,j=e),j!==e?(oe=a,ne=Dr(d,b,E,I,L,j),ne?ne=void 0:ne=e,ne!==e?(oe=u,d=Ia(d,b,E,I,L,j),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 Ss(){var u,d,y,b,_,E,K,Q,I,L,j,ne,le;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=Es(),y!==e)if(b=zt(),b!==e)if(_=$e(),_!==e)if(E=Zn(),E!==e){if(K=[],Q=a,I=Qr(),I===e&&(I=_s(),I===e&&(I=Va(),I===e&&(I=Ss(),I===e&&(I=Fs(),I===e&&(I=Ka(),I===e&&(I=Is(),I===e&&(I=Ha(),I===e&&(I=Ga(),I===e&&(I=Ps(),I===e&&(I=Ua(),I===e&&(I=Ts()))))))))))),I!==e&&(oe=Q,I=yo(d,b,E,I)),Q=I,Q===e){for(Q=a,I=a,L=[],j=Ot();j!==e;)L.push(j),j=Ot();if(L!==e?I=t.substring(I,a):I=L,I!==e){if(L=a,j=[],ne=Qt(),ne!==e)for(;ne!==e;)j.push(ne),ne=Qt();else j=e;j!==e?L=t.substring(L,a):L=j,L!==e?(oe=Q,I=$o(d,b,E,I,L),Q=I):(a=Q,Q=e)}else a=Q,Q=e}for(;Q!==e;)if(K.push(Q),Q=a,I=Qr(),I===e&&(I=_s(),I===e&&(I=Va(),I===e&&(I=Ss(),I===e&&(I=Fs(),I===e&&(I=Ka(),I===e&&(I=Is(),I===e&&(I=Ha(),I===e&&(I=Ga(),I===e&&(I=Ps(),I===e&&(I=Ua(),I===e&&(I=Ts()))))))))))),I!==e&&(oe=Q,I=yo(d,b,E,I)),Q=I,Q===e){for(Q=a,I=a,L=[],j=Ot();j!==e;)L.push(j),j=Ot();if(L!==e?I=t.substring(I,a):I=L,I!==e){if(L=a,j=[],ne=Qt(),ne!==e)for(;ne!==e;)j.push(ne),ne=Qt();else j=e;j!==e?L=t.substring(L,a):L=j,L!==e?(oe=Q,I=$o(d,b,E,I,L),Q=I):(a=Q,Q=e)}else a=Q,Q=e}K!==e?(Q=a,I=$e(),I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(I=a,L=mi(),L!==e?(j=zt(),j!==e?(oe=a,ne=Wr(d,b,E,K,Q,j),ne?ne=void 0:ne=e,ne!==e?(le=Jn(),le===e&&(le=null),le!==e?(oe=I,L=Oa(d,b,E,K,Q,j),I=L):(a=I,I=e)):(a=I,I=e)):(a=I,I=e)):(a=I,I=e),I!==e?(oe=a,L=Dr(d,b,E,K,Q,I),L?L=void 0:L=e,L!==e?(oe=u,d=bo(d,b,E,K,Q,I),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 qh(){var u,d,y;if(u=a,d=[],y=Qt(),y!==e)for(;y!==e;)d.push(y),y=Qt();else d=e;return d!==e&&(oe=u,d=Kn()),u=d,u}function f1(){var u,d,y,b;if(u=a,d=[],y=a,b=Br(),b!==e&&(oe=y,b=Zt()),y=b,y===e){if(y=[],Wn.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(wn)),b!==e)for(;b!==e;)y.push(b),Wn.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(wn));else y=e;y===e&&(y=Qt())}if(y!==e){for(;y!==e;)if(d.push(y),y=a,b=Br(),b!==e&&(oe=y,b=Zt()),y=b,y===e){if(y=[],Wn.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(wn)),b!==e)for(;b!==e;)y.push(b),Wn.test(t.charAt(a))?(b=t.charAt(a),a++):(b=e,p===0&&O(wn));else y=e;y===e&&(y=Qt())}}else d=e;return d!==e&&(oe=u,d=jr(d)),u=d,u}function Ps(){var u,d,y,b,_,E,K,Q,I,L,j,ne;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=a,p++,b=Nn(),p--,b===e?y=void 0:(a=y,y=e),y!==e)if(b=hi(),b!==e)if(_=$e(),_!==e)if(E=Br(),E===e&&(E=null),E!==e)if(oe=a,K=Ra(d,b),K?K=void 0:K=e,K!==e){for(Q=a,I=[],L=a,j=a,p++,ne=Br(),p--,ne===e?j=void 0:(a=j,j=e),j!==e?(ne=Qt(),ne!==e?(j=[j,ne],L=j):(a=L,L=e)):(a=L,L=e);L!==e;)I.push(L),L=a,j=a,p++,ne=Br(),p--,ne===e?j=void 0:(a=j,j=e),j!==e?(ne=Qt(),ne!==e?(j=[j,ne],L=j):(a=L,L=e)):(a=L,L=e);I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(oe=u,d=wo(d,b,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,b,_,E,K,Q,I;return u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e?(y=a,p++,b=Nn(),p--,b===e?y=void 0:(a=y,y=e),y!==e?(b=hi(),b!==e?(_=$e(),_!==e?(E=Br(),E===e&&(E=null),E!==e?(oe=a,K=kn(d,b),K?K=void 0:K=e,K!==e?(oe=a,Q=ci(d,b),Q?Q=void 0:Q=e,Q!==e?(I=za(),I!==e?(oe=u,d=zi(d,b,I),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 Ts(){var u,d,y,b,_,E,K,Q,I,L,j;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=a,p++,b=Nn(),p--,b===e?y=void 0:(a=y,y=e),y!==e)if(b=hi(),b!==e)if(_=$e(),_!==e)if(E=Br(),E===e&&(E=Sh()),E!==e){for(K=a,Q=[],I=a,L=a,p++,j=Br(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Qt(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e);I!==e;)Q.push(I),I=a,L=a,p++,j=Br(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Qt(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e);Q!==e?K=t.substring(K,a):K=Q,K!==e?(oe=u,d=qa(d,b,E,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 Dh(){var u,d,y,b,_,E,K,Q,I,L,j;for(u=a,d=[],y=Xr();y!==e;)d.push(y),y=Xr();if(d!==e)if(y=pi(),y!==e){if(b=[],_=a,E=$e(),E!==e)if(t.substr(a,2)===Vi?(K=Vi,a+=2):(K=e,p===0&&O(ko)),K!==e)if(Q=$e(),Q!==e){if(I=[],L=Xr(),L!==e)for(;L!==e;)I.push(L),L=Xr();else I=e;I!==e?(L=$e(),L!==e?(j=pi(),j!==e?(oe=_,E=he(d,I),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;else a=_,_=e;for(;_!==e;)if(b.push(_),_=a,E=$e(),E!==e)if(t.substr(a,2)===Vi?(K=Vi,a+=2):(K=e,p===0&&O(ko)),K!==e)if(Q=$e(),Q!==e){if(I=[],L=Xr(),L!==e)for(;L!==e;)I.push(L),L=Xr();else I=e;I!==e?(L=$e(),L!==e?(j=pi(),j!==e?(oe=_,E=he(d,I),_=E):(a=_,_=e)):(a=_,_=e)):(a=_,_=e)}else a=_,_=e;else a=_,_=e;else a=_,_=e;b!==e?(oe=u,d=_e(d,b),u=d):(a=u,u=e)}else a=u,u=e;else a=u,u=e;return u}function Ha(){var u,d,y,b,_,E,K;return u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e?(t.substr(a,6)===te?(y=te,a+=6):(y=e,p===0&&O(xt)),y!==e?(b=$e(),b!==e?(_=a,E=Wa(),E!==e?_=t.substring(_,a):_=E,_!==e?(E=$e(),E!==e?(K=Dh(),K!==e?(oe=u,d=Da(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,b,_,E,K,Q;return u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e?(t.substr(a,7)===Ae?(y=Ae,a+=7):(y=e,p===0&&O(Qe)),y!==e?(b=$e(),b!==e?(_=a,E=zt(),E===e&&(E=a,Na.test(t.charAt(a))?(K=t.charAt(a),a++):(K=e,p===0&&O(La)),K!==e?(t.substr(a,2)===xs?(Q=xs,a+=2):(Q=e,p===0&&O(vo)),Q!==e?(K=[K,Q],E=K):(a=E,E=e)):(a=E,E=e)),E!==e?_=t.substring(_,a):_=E,_!==e?(E=$e(),E!==e?(K=Zn(),K!==e?(oe=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 Fs(){var u,d,y,b,_,E,K,Q,I,L,j,ne;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=xo(),y!==e)if(b=zt(),b!==e)if(_=$e(),_!==e)if(E=Zn(),E!==e)if(oe=a,K=Cs(d,y,b,E),K?K=void 0:K=e,K!==e){for(Q=a,I=[],L=a,j=a,p++,ne=Br(),p--,ne===e?j=void 0:(a=j,j=e),j!==e?(ne=Qt(),ne!==e?(j=[j,ne],L=j):(a=L,L=e)):(a=L,L=e);L!==e;)I.push(L),L=a,j=a,p++,ne=Br(),p--,ne===e?j=void 0:(a=j,j=e),j!==e?(ne=Qt(),ne!==e?(j=[j,ne],L=j):(a=L,L=e)):(a=L,L=e);I!==e?Q=t.substring(Q,a):Q=I,Q!==e?(oe=u,d=Et(d,y,b,E,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,b,_,E,K,Q,I;return u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e?(y=xo(),y!==e?(b=zt(),b!==e?(_=$e(),_!==e?(E=Zn(),E!==e?(oe=a,K=Le(d,y,b,E),K?K=void 0:K=e,K!==e?(oe=a,Q=Ui(d,y,b,E),Q?Q=void 0:Q=e,Q!==e?(I=za(),I!==e?(oe=u,d=Nf(d,y,b,E,I),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 Is(){var u,d,y,b,_,E,K,Q,I,L,j;if(u=a,d=a,y=$e(),y!==e?d=t.substring(d,a):d=y,d!==e)if(y=xo(),y!==e)if(b=zt(),b!==e)if(_=$e(),_!==e)if(E=Zn(),E!==e){for(K=a,Q=[],I=a,L=a,p++,j=Br(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Qt(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e);I!==e;)Q.push(I),I=a,L=a,p++,j=Br(),p--,j===e?L=void 0:(a=L,L=e),L!==e?(j=Qt(),j!==e?(L=[L,j],I=L):(a=I,I=e)):(a=I,I=e);Q!==e?K=t.substring(K,a):K=Q,K!==e?(oe=u,d=sr(d,y,b,E,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,b,_;if(u=a,d=a,vn.test(t.charAt(a))?(y=t.charAt(a),a++):(y=e,p===0&&O(ct)),y!==e){if(b=[],tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(xr)),_!==e)for(;_!==e;)b.push(_),tr.test(t.charAt(a))?(_=t.charAt(a),a++):(_=e,p===0&&O(xr));else b=e;b!==e?(y=[y,b],d=y):(a=d,d=e)}else a=d,d=e;return d!==e?u=t.substring(u,a):u=d,u}function c1(){var u,d;for(p++,u=[],Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(Gi));d!==e;)u.push(d),Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(Gi));return p--,u===e&&(d=e,p===0&&O(Ba)),u}function p1(){var u,d;for(p++,u=[],Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(Gi));d!==e;)u.push(d),Hi.test(t.charAt(a))?(d=t.charAt(a),a++):(d=e,p===0&&O(Gi));return p--,u===e&&(d=e,p===0&&O(Ma)),u}function Eo(u){return u!==u.toLowerCase()&&u!==u.toUpperCase()}function Nh(u){return u===u.toUpperCase()}function Zi(u){return u.reduce((d,y)=>Array.isArray(y)?d.concat(Zi(y)):d.concat(y),[])}function Lh(u){return["code","comment","data","defn","formula","head","include","input","item","markdown","nested","output","para","picture","pod","row","cell","table","toc"].includes(u)||Nh(u)||u.match(/^(head|item)\d+$/)||Eo(u)}function jh(u,d){return u.length==0?d:d.indexOf(u)==0?d.replace(u,""):d.replace(/^\s+/,"")}if(S=s(),S!==e&&a===t.length)return S;throw S!==e&&a<t.length&&O(T()),Lf(m,_r<t.length?t.charAt(_r):null,_r<t.length?B(_r,_r+1):B(_r,_r))}xd.exports={SyntaxError:Si,parse:rk}});var _d=ye((FC,Ed)=>{"use strict";function ik(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)}ik(Pi,Error);Pi.buildMessage=function(t,r){var e={literal:function(g){return'"'+s(g.text)+'"'},class:function(g){var h="",$;for($=0;$<g.parts.length;$++)h+=g.parts[$]instanceof Array?o(g.parts[$][0])+"-"+o(g.parts[$][1]):o(g.parts[$]);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 s(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 o(g){return g.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(h){return"\\x0"+n(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+n(h)})}function l(g){return e[g.type](g)}function f(g){var h=new Array(g.length),$,v;for($=0;$<g.length;$++)h[$]=l(g[$]);if(h.sort(),h.length>0){for($=1,v=1;$<h.length;$++)h[$-1]!==h[$]&&(h[v]=h[$],v++);h.length=v}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?'"'+s(g)+'"':"end of input"}return"Expected "+f(t)+" but "+c(r)+" found."};function sk(t,r){r=r!==void 0?r:{};var e={},n={Expression:ui},s=ui,o="A",l=Be("A",!1),f="V",c=Be("V",!1),g="R",h=Be("R",!1),$="B",v=Be("B",!1),A="I",x=Be("I",!1),F="C",N=Be("C",!1),z="D",Y=Be("D",!1),ae="E",be=Be("E",!1),ge="H",ee=Be("H",!1),de="J",ve=Be("J",!1),ke="K",De=Be("K",!1),Te="L",Se=Be("L",!1),me="O",Ae=Be("O",!1),Qe="S",te=Be("S",!1),xt="T",Xe=Be("T",!1),$t="F",nt=Be("F",!1),V="U",H=Be("U",!1),Ht="Z",Nt=Be("Z",!1),Ct="N",Pt=Be("N",!1),At="X",lt=Be("X",!1),qr=/^[a-zA-Z]/,jt=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]/,Gt=gr([" "," ","\f"],!1,!1),si=function(m){return!(r.allowed||[]).length||(r.allowed||[]).includes(m)},Ce=Gn(),Tn=function(m){return{content:m.content,type:"fcode",name:m.name,synonyms:m.items}},Fn=function(m){return{content:m.content,type:"fcode",name:m.name,entry:m.items}},Ne="<",Pe=Be("<",!1),Ze=">",bt=Be(">",!1),hr=function(){return bn()},Re="\xAB",qe=Be("\xAB",!1),mt="\xBB",it=Be("\xBB",!1),se=function(m){return m},fe=function(m){return m.code==="C"},we=function(m,p){return p===m.end_tag},Ee=function(m,p){return p},Lt=function(m,p,S){return S===m.end_tag},nn=function(m,p,S){return{content:p,type:"fcode",name:m.code}},st="|",wt=Be("|",!1),Tt=function(m){return m},sn=function(m){return m.code==="L"},ht=function(m,p,S){return S},In=function(m,p,S,w){return w===m.end_tag},Kt=function(m,p,S,w){return{content:p,type:"fcode",name:m.code,meta:S}},yn=";",Mn=Be(";",!1),Ur=/^[ \xA0\u2001\t\f\u2008]/,oi=gr([" ","\xA0","\u2001"," ","\f","\u2008"],!1,!1),ai=function(m,p){return Dn([m,p])},Li=function(m){return[m]},zn=/^[0-9]/,li=gr([["0","9"]],!1,!1),Vn="0d",Un=Be("0d",!1),$s=function(m){return parseInt(m,10)},On="0o",U=Be("0o",!1),q=function(m){return parseInt(m,8)},J="0b",re=Be("0b",!1),ie=function(m){return parseInt(m,2)},he="0x",_e=Be("0x",!1),je=/^[0-9A-Fa-f]/,Ge=gr([["0","9"],["A","F"],["a","f"]],!1,!1),yt=function(){return parseInt(bn())},Fe=/^[A-Z ]/,ot=gr([["A","Z"]," "],!1,!1),kt=function(){return bn()===bn().toUpperCase()},ut=/^[a-z]/,Ve=gr([["a","z"]],!1,!1),ft=/^[a-z0-9]/,Ye=gr([["a","z"],["0","9"]],!1,!1),Hr=function(m){return bn()},Wt=function(m){return{type:"number",value:parseInt(m,10)}},rr=function(m){return{type:"unicode_name",value:m}},et=function(m){return{type:"html_named",value:m}},Bt=function(m){return m==="E"},nr=function(m,p){return Dn(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"},Rn=function(m,p,S){return S===m.end_tag},qn=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,w){return w===_r(p)},Jt=function(m,p,S,w){return{content:S,type:"fcode",name:m}},on=function(m,p,S,w){return Dn(w)},Hn=function(m,p,S,w,k){return k===_r(p)},Kr=function(m,p,S,w,k){return{name:m,content:S,items:w}},i=0,ue=0,Wr=[{line:1,column:1}],Mt=0,Dr=[],C=0,Nr;if("startRule"in r){if(!(r.startRule in n))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');s=n[r.startRule]}function bn(){return t.substring(ue,i)}function bs(){return Lr(ue,i)}function ho(m,p){throw p=p!==void 0?p:Lr(ue,i),Bi([ws(m)],t.substring(ue,i),p)}function Jr(m,p){throw p=p!==void 0?p:Lr(ue,i),ji(m,p)}function Be(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 ws(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 Lr(m,p){var S=Zr(m),w=Zr(p);return{start:{offset:m,line:S.line,column:S.column},end:{offset:p,line:w.line,column:w.column}}}function W(m){i<Mt||(i>Mt&&(Mt=i,Dr=[]),Dr.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=sr(),p===e&&(p=ks())));p!==e;)m.push(p),p=fi(),p===e&&(p=Ui(),p===e&&(p=sr(),p===e&&(p=ks())));return m}function fi(){var m;return m=Ba(),m===e&&(m=Gi(),m===e&&(m=Wn(),m===e&&(m=$o(),m===e&&(m=ja(),m===e&&(m=Hi(),m===e&&(m=Ra(),m===e&&(m=Oa(),m===e&&(m=Ma())))))))),m}function go(){var m;return t.charCodeAt(i)===65?(m=o,i++):(m=e,C===0&&W(l)),m===e&&(t.charCodeAt(i)===86?(m=f,i++):(m=e,C===0&&W(c)),m===e&&(t.charCodeAt(i)===82?(m=g,i++):(m=e,C===0&&W(h)),m===e&&(t.charCodeAt(i)===66?(m=$,i++):(m=e,C===0&&W(v)),m===e&&(t.charCodeAt(i)===73?(m=A,i++):(m=e,C===0&&W(x)),m===e&&(t.charCodeAt(i)===67?(m=F,i++):(m=e,C===0&&W(N)),m===e&&(t.charCodeAt(i)===68?(m=z,i++):(m=e,C===0&&W(Y)),m===e&&(t.charCodeAt(i)===69?(m=ae,i++):(m=e,C===0&&W(be)),m===e&&(t.charCodeAt(i)===72?(m=ge,i++):(m=e,C===0&&W(ee)),m===e&&(t.charCodeAt(i)===74?(m=de,i++):(m=e,C===0&&W(ve)),m===e&&(t.charCodeAt(i)===75?(m=ke,i++):(m=e,C===0&&W(De)),m===e&&(t.charCodeAt(i)===76?(m=Te,i++):(m=e,C===0&&W(Se)),m===e&&(t.charCodeAt(i)===79?(m=me,i++):(m=e,C===0&&W(Ae)),m===e&&(t.charCodeAt(i)===83?(m=Qe,i++):(m=e,C===0&&W(te)),m===e&&(t.charCodeAt(i)===84?(m=xt,i++):(m=e,C===0&&W(Xe)),m===e&&(t.charCodeAt(i)===70?(m=$t,i++):(m=e,C===0&&W(nt)),m===e&&(t.charCodeAt(i)===85?(m=V,i++):(m=e,C===0&&W(H)),m===e&&(t.charCodeAt(i)===90?(m=Ht,i++):(m=e,C===0&&W(Nt)),m===e&&(t.charCodeAt(i)===78?(m=Ct,i++):(m=e,C===0&&W(Pt)),m===e&&(t.charCodeAt(i)===88?(m=At,i++):(m=e,C===0&&W(lt))))))))))))))))))))),m}function Ta(){var m,p,S,w,k;if(m=i,p=i,qr.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,C===0&&W(jt)),S!==e){if(w=[],mr.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,C===0&&W(tr)),k!==e)for(;k!==e;)w.push(k),mr.test(t.charAt(i))?(k=t.charAt(i),i++):(k=e,C===0&&W(tr));else w=e;w!==e?(S=[S,w],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,C===0&&W(Gt));p!==e;)m.push(p),xr.test(t.charAt(i))?(p=t.charAt(i),i++):(p=e,C===0&&W(Gt));return m}function ln(){var m,p,S;return m=i,p=go(),p!==e?(ue=i,S=si(p),S?S=void 0:S=e,S!==e?(p=[p,S],m=p):(i=m,m=e)):(i=m,m=e),m}function ks(){var m,p;return m=i,t.length>i?(p=t.charAt(i),i++):(p=e,C===0&&W(Ce)),p!==e?m=t.substring(m,i):m=p,m}function vs(){var m,p,S,w,k;for(m=i,p=[],S=i,w=i,C++,k=Le(),C--,k===e?w=void 0:(i=w,w=e),w!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,C===0&&W(Ce)),k!==e?(w=[w,k],S=w):(i=S,S=e)):(i=S,S=e);S!==e;)p.push(S),S=i,w=i,C++,k=Le(),C--,k===e?w=void 0:(i=w,w=e),w!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,C===0&&W(Ce)),k!==e?(w=[w,k],S=w):(i=S,S=e)):(i=S,S=e);return p!==e?m=t.substring(m,i):m=p,m}function Fa(){var m,p,S;if(m=i,p=[],S=Zt(),S!==e)for(;S!==e;)p.push(S),S=Zt();else p=e;return p!==e?m=t.substring(m,i):m=p,m}function Ia(){var m,p;if(m=[],p=jr(),p!==e)for(;p!==e;)m.push(p),p=jr();else m=e;return m}function yo(){var m,p;for(m=[],p=jr();p!==e;)m.push(p),p=jr();return m}function $o(){var m,p;return m=i,p=a(),p!==e&&(ue=m,p=Tn(p)),m=p,m}function Oa(){var m,p;return m=i,p=oe(),p!==e&&(ue=m,p=Fn(p)),m=p,m}function bo(){var m;return t.charCodeAt(i)===66?(m=$,i++):(m=e,C===0&&W(v)),m}function Kn(){var m,p,S,w,k;return m=i,p=i,S=i,C++,w=bo(),C--,w===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(w=t.charAt(i),i++):(w=e,C===0&&W(Ce)),w!==e?(S=[S,w],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===60?(S=Ne,i++):(S=e,C===0&&W(Pe)),S!==e?(w=vn(),w!==e?(t.charCodeAt(i)===62?(k=Ze,i++):(k=e,C===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,C++,w=bo(),C--,w===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(w=t.charAt(i),i++):(w=e,C===0&&W(Ce)),w!==e?(S=[S,w],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===171?(S=Re,i++):(S=e,C===0&&W(qe)),S!==e?(w=vn(),w!==e?(t.charCodeAt(i)===187?(k=mt,i++):(k=e,C===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 Zt(){var m,p,S,w,k,R,M,P;if(m=i,p=i,S=[],w=i,k=i,R=i,C++,t.charCodeAt(i)===60?(M=Ne,i++):(M=e,C===0&&W(Pe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(t.length>i?(M=t.charAt(i),i++):(M=e,C===0&&W(Ce)),M!==e?(R=[R,M],k=R):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===60?(R=Ne,i++):(R=e,C===0&&W(Pe)),R!==e?(M=Zt(),M===e&&(M=null),M!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,C===0&&W(bt)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,k=i,R=i,C++,t.charCodeAt(i)===171?(M=Re,i++):(M=e,C===0&&W(qe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(t.length>i?(M=t.charAt(i),i++):(M=e,C===0&&W(Ce)),M!==e?(R=[R,M],k=R):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===171?(R=Re,i++):(R=e,C===0&&W(qe)),R!==e?(M=Zt(),M===e&&(M=null),M!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,C===0&&W(it)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=Kn(),w===e&&(w=vn()))),w!==e)for(;w!==e;)S.push(w),w=i,k=i,R=i,C++,t.charCodeAt(i)===60?(M=Ne,i++):(M=e,C===0&&W(Pe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(t.length>i?(M=t.charAt(i),i++):(M=e,C===0&&W(Ce)),M!==e?(R=[R,M],k=R):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===60?(R=Ne,i++):(R=e,C===0&&W(Pe)),R!==e?(M=Zt(),M===e&&(M=null),M!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,C===0&&W(bt)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,k=i,R=i,C++,t.charCodeAt(i)===171?(M=Re,i++):(M=e,C===0&&W(qe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(t.length>i?(M=t.charAt(i),i++):(M=e,C===0&&W(Ce)),M!==e?(R=[R,M],k=R):(i=k,k=e)):(i=k,k=e),k===e&&(k=null),k!==e?(t.charCodeAt(i)===171?(R=Re,i++):(R=e,C===0&&W(qe)),R!==e?(M=Zt(),M===e&&(M=null),M!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,C===0&&W(it)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=Kn(),w===e&&(w=vn())));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=se(p)),m=p,m}function Wn(){var m,p,S,w,k,R,M,P,D,Z,T,X,G,B,O;if(m=i,p=Et(),p!==e)if(ue=i,S=fe(p),S?S=void 0:S=e,S!==e){if(w=[],k=i,R=i,M=[],P=i,D=i,Z=i,C++,t.charCodeAt(i)===60?(T=Ne,i++):(T=e,C===0&&W(Pe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],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,C===0&&W(Pe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,C===0&&W(bt)),X!==e?(D=[D,Z,T,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,C++,t.charCodeAt(i)===171?(T=Re,i++):(T=e,C===0&&W(qe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=Re,i++):(Z=e,C===0&&W(qe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,C===0&&W(it)),X!==e?(D=[D,Z,T,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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}if(P!==e){for(;P!==e;)if(M.push(P),P=i,D=i,Z=i,C++,t.charCodeAt(i)===60?(T=Ne,i++):(T=e,C===0&&W(Pe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],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,C===0&&W(Pe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,C===0&&W(bt)),X!==e?(D=[D,Z,T,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,C++,t.charCodeAt(i)===171?(T=Re,i++):(T=e,C===0&&W(qe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=Re,i++):(Z=e,C===0&&W(qe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,C===0&&W(it)),X!==e?(D=[D,Z,T,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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}}else M=e;if(M!==e?R=t.substring(R,i):R=M,R!==e&&(ue=k,R=Ee(p,R)),k=R,k!==e)for(;k!==e;){if(w.push(k),k=i,R=i,M=[],P=i,D=i,Z=i,C++,t.charCodeAt(i)===60?(T=Ne,i++):(T=e,C===0&&W(Pe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],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,C===0&&W(Pe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,C===0&&W(bt)),X!==e?(D=[D,Z,T,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,C++,t.charCodeAt(i)===171?(T=Re,i++):(T=e,C===0&&W(qe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=Re,i++):(Z=e,C===0&&W(qe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,C===0&&W(it)),X!==e?(D=[D,Z,T,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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}if(P!==e){for(;P!==e;)if(M.push(P),P=i,D=i,Z=i,C++,t.charCodeAt(i)===60?(T=Ne,i++):(T=e,C===0&&W(Pe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],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,C===0&&W(Pe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===62?(X=Ze,i++):(X=e,C===0&&W(bt)),X!==e?(D=[D,Z,T,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,C++,t.charCodeAt(i)===171?(T=Re,i++):(T=e,C===0&&W(qe)),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],D=Z):(i=D,D=e)):(i=D,D=e),D===e&&(D=null),D!==e?(t.charCodeAt(i)===171?(Z=Re,i++):(Z=e,C===0&&W(qe)),Z!==e?(T=Zt(),T===e&&(T=null),T!==e?(t.charCodeAt(i)===187?(X=mt,i++):(X=e,C===0&&W(it)),X!==e?(D=[D,Z,T,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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}}else M=e;M!==e?R=t.substring(R,i):R=M,R!==e&&(ue=k,R=Ee(p,R)),k=R}else w=e;w!==e?(k=Le(),k!==e?(ue=i,R=Lt(p,w,k),R?R=void 0:R=e,R!==e?(ue=m,p=nn(p,w,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=st,i++):(m=e,C===0&&W(wt)),m}function jr(){var m,p,S,w,k,R,M,P,D;if(m=i,p=i,S=[],w=i,k=i,R=i,C++,t.charCodeAt(i)===60?(M=Ne,i++):(M=e,C===0&&W(Pe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=ln(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,C===0&&W(Ce)),P!==e?(R=[R,M,P],k=R):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===60?(R=Ne,i++):(R=e,C===0&&W(Pe)),R!==e?(M=jr(),M!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,C===0&&W(bt)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,k=i,R=i,C++,t.charCodeAt(i)===171?(M=Re,i++):(M=e,C===0&&W(qe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=ln(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,C===0&&W(Ce)),P!==e?(R=[R,M,P],k=R):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===171?(R=Re,i++):(R=e,C===0&&W(qe)),R!==e?(M=jr(),M===e&&(M=null),M!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,C===0&&W(it)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,k=i,C++,R=wn(),C--,R===e?k=void 0:(i=k,k=e),k!==e?(R=i,C++,M=Le(),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=Cs(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(P=i,C++,D=ct(),C--,D===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(D=t.charAt(i),i++):(D=e,C===0&&W(Ce)),D!==e?(k=[k,R,M,P,D],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e))),w!==e)for(;w!==e;)S.push(w),w=i,k=i,R=i,C++,t.charCodeAt(i)===60?(M=Ne,i++):(M=e,C===0&&W(Pe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=ln(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,C===0&&W(Ce)),P!==e?(R=[R,M,P],k=R):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===60?(R=Ne,i++):(R=e,C===0&&W(Pe)),R!==e?(M=jr(),M!==e?(t.charCodeAt(i)===62?(P=Ze,i++):(P=e,C===0&&W(bt)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,k=i,R=i,C++,t.charCodeAt(i)===171?(M=Re,i++):(M=e,C===0&&W(qe)),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=ln(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,C===0&&W(Ce)),P!==e?(R=[R,M,P],k=R):(i=k,k=e)):(i=k,k=e)):(i=k,k=e),k!==e?(t.charCodeAt(i)===171?(R=Re,i++):(R=e,C===0&&W(qe)),R!==e?(M=jr(),M===e&&(M=null),M!==e?(t.charCodeAt(i)===187?(P=mt,i++):(P=e,C===0&&W(it)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,k=i,C++,R=wn(),C--,R===e?k=void 0:(i=k,k=e),k!==e?(R=i,C++,M=Le(),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=Cs(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(P=i,C++,D=ct(),C--,D===e?P=void 0:(i=P,P=e),P!==e?(t.length>i?(D=t.charAt(i),i++):(D=e,C===0&&W(Ce)),D!==e?(k=[k,R,M,P,D],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=Tt(p)),m=p,m}function Ra(){var m,p,S,w,k,R,M,P,D,Z,T;if(m=i,p=Et(),p!==e)if(ue=i,S=sn(p),S?S=void 0:S=e,S!==e){if(w=[],k=Wn(),k===e&&(k=jr()),k!==e)for(;k!==e;)w.push(k),k=Wn(),k===e&&(k=jr());else w=e;if(w!==e){if(k=i,R=wn(),R!==e){for(M=i,P=[],D=i,Z=i,C++,T=Le(),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],D=Z):(i=D,D=e)):(i=D,D=e);D!==e;)P.push(D),D=i,Z=i,C++,T=Le(),C--,T===e?Z=void 0:(i=Z,Z=e),Z!==e?(t.length>i?(T=t.charAt(i),i++):(T=e,C===0&&W(Ce)),T!==e?(Z=[Z,T],D=Z):(i=D,D=e)):(i=D,D=e);P!==e?M=t.substring(M,i):M=P,M!==e?(ue=k,R=ht(p,w,M),k=R):(i=k,k=e)}else i=k,k=e;k===e&&(k=null),k!==e?(R=Le(),R!==e?(ue=i,M=In(p,w,k,R),M?M=void 0:M=e,M!==e?(ue=m,p=Kt(p,w,k,R),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 wo(){var m,p,S,w,k,R;if(m=i,p=[],S=i,w=i,C++,t.charCodeAt(i)===59?(k=yn,i++):(k=e,C===0&&W(Mn)),C--,k===e?w=void 0:(i=w,w=e),w!==e?(k=i,C++,R=Le(),C--,R===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(R=t.charAt(i),i++):(R=e,C===0&&W(Ce)),R!==e?(w=[w,k,R],S=w):(i=S,S=e)):(i=S,S=e)):(i=S,S=e),S!==e)for(;S!==e;)p.push(S),S=i,w=i,C++,t.charCodeAt(i)===59?(k=yn,i++):(k=e,C===0&&W(Mn)),C--,k===e?w=void 0:(i=w,w=e),w!==e?(k=i,C++,R=Le(),C--,R===e?k=void 0:(i=k,k=e),k!==e?(t.length>i?(R=t.charAt(i),i++):(R=e,C===0&&W(Ce)),R!==e?(w=[w,k,R],S=w):(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,C===0&&W(oi)),m}function ci(){var m,p,S,w,k,R;if(m=i,p=wo(),p!==e){for(S=[],w=kn();w!==e;)S.push(w),w=kn();if(S!==e)if(t.charCodeAt(i)===59?(w=yn,i++):(w=e,C===0&&W(Mn)),w!==e){for(k=[],R=kn();R!==e;)k.push(R),R=kn();k!==e?(R=ci(),R!==e?(ue=m,p=ai(p,R),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=wo(),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,C===0&&W(li)),S!==e)for(;S!==e;)p.push(S),zn.test(t.charAt(i))?(S=t.charAt(i),i++):(S=e,C===0&&W(li));else p=e;return p!==e?m=t.substring(m,i):m=p,m}function qa(){var m,p,S;return m=i,t.substr(i,2)===Vn?(p=Vn,i+=2):(p=e,C===0&&W(Un)),p!==e?(S=zi(),S!==e?(ue=m,p=$s(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,C===0&&W(U)),p!==e?(S=zi(),S!==e?(ue=m,p=q(S),m=p):(i=m,m=e)):(i=m,m=e),m}function ko(){var m,p,S;return m=i,t.substr(i,2)===J?(p=J,i+=2):(p=e,C===0&&W(re)),p!==e?(S=zi(),S!==e?(ue=m,p=ie(S),m=p):(i=m,m=e)):(i=m,m=e),m}function Da(){var m,p,S,w,k,R;if(m=i,p=i,S=i,t.substr(i,2)===he?(w=he,i+=2):(w=e,C===0&&W(_e)),w!==e){if(k=[],je.test(t.charAt(i))?(R=t.charAt(i),i++):(R=e,C===0&&W(Ge)),R!==e)for(;R!==e;)k.push(R),je.test(t.charAt(i))?(R=t.charAt(i),i++):(R=e,C===0&&W(Ge));else k=e;k!==e?(w=[w,k],S=w):(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 Na(){var m,p,S,w;if(m=i,p=i,S=[],Fe.test(t.charAt(i))?(w=t.charAt(i),i++):(w=e,C===0&&W(ot)),w!==e)for(;w!==e;)S.push(w),Fe.test(t.charAt(i))?(w=t.charAt(i),i++):(w=e,C===0&&W(ot));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,w,k,R;if(m=i,p=i,S=i,ut.test(t.charAt(i))?(w=t.charAt(i),i++):(w=e,C===0&&W(Ve)),w!==e){if(k=[],ft.test(t.charAt(i))?(R=t.charAt(i),i++):(R=e,C===0&&W(Ye)),R!==e)for(;R!==e;)k.push(R),ft.test(t.charAt(i))?(R=t.charAt(i),i++):(R=e,C===0&&W(Ye));else k=e;k!==e?(w=[w,k],S=w):(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 xs(){var m,p,S;return m=i,p=Mi(),p!==e?(S=Vi(),S===e&&(S=qa(),S===e&&(S=ko(),S===e&&(S=Da(),S===e&&(S=zi())))),S!==e?(ue=m,p=Wt(S),m=p):(i=m,m=e)):(i=m,m=e),m===e&&(m=i,p=Mi(),p!==e?(S=Na(),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=et(S),m=p):(i=m,m=e)):(i=m,m=e))),m}function vo(){var m,p,S,w,k,R;if(m=i,p=xs(),p!==e){for(S=[],w=kn();w!==e;)S.push(w),w=kn();if(S!==e)if(t.charCodeAt(i)===59?(w=yn,i++):(w=e,C===0&&W(Mn)),w!==e){for(k=[],R=kn();R!==e;)k.push(R),R=kn();k!==e?(R=vo(),R!==e?(ue=m,p=ai(p,R),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=xs(),p!==e&&(ue=m,p=Li(p)),m=p),m}function ja(){var m,p,S,w,k;return m=i,p=Cs(),p!==e?(ue=i,S=Bt(p),S?S=void 0:S=e,S!==e?(w=i,k=vo(),k!==e&&(ue=w,k=nr(p,k)),w=k,w===e&&(w=null),w!==e?(k=Le(),k!==e?(ue=m,p=Cr(p,w),m=p):(i=m,m=e)):(i=m,m=e)):(i=m,m=e)):(i=m,m=e),m}function Cs(){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,C===0&&W(Pe)),S!==e?(ue=m,p=Gr(p),m=p):(i=m,m=e)):(i=m,m=e),m}function Et(){var m,p,S,w;return m=i,p=i,S=ln(),S!==e?p=t.substring(p,i):p=S,p!==e?(S=i,t.charCodeAt(i)===60?(w=Ne,i++):(w=e,C===0&&W(Pe)),w===e&&(t.charCodeAt(i)===171?(w=Re,i++):(w=e,C===0&&W(qe))),w!==e?S=t.substring(S,i):S=w,S!==e?(ue=m,p=Ar(p,S),m=p):(i=m,m=e)):(i=m,m=e),m}function Le(){var m;return t.charCodeAt(i)===62?(m=Ze,i++):(m=e,C===0&&W(bt)),m===e&&(t.charCodeAt(i)===187?(m=mt,i++):(m=e,C===0&&W(it))),m}function Ui(){var m,p,S,w,k,R,M,P,D,Z,T,X,G,B,O;if(m=i,p=Et(),p!==e)if(ue=i,S=$n(p),S?S=void 0:S=e,S!==e){if(w=[],k=fi(),k===e&&(k=Ui(),k===e)){if(k=i,R=i,M=[],P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,C===0&&W(Pe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===62?(T=Ze,i++):(T=e,C===0&&W(bt)),T!==e?(D=[D,Z,T],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=Re,i++):(D=e,C===0&&W(qe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===187?(T=mt,i++):(T=e,C===0&&W(it)),T!==e?(D=[D,Z,T],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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}if(P!==e){for(;P!==e;)if(M.push(P),P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,C===0&&W(Pe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===62?(T=Ze,i++):(T=e,C===0&&W(bt)),T!==e?(D=[D,Z,T],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=Re,i++):(D=e,C===0&&W(qe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===187?(T=mt,i++):(T=e,C===0&&W(it)),T!==e?(D=[D,Z,T],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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}}else M=e;M!==e?R=t.substring(R,i):R=M,R!==e&&(ue=k,R=Ee(p,R)),k=R}for(;k!==e;)if(w.push(k),k=fi(),k===e&&(k=Ui(),k===e)){if(k=i,R=i,M=[],P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,C===0&&W(Pe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===62?(T=Ze,i++):(T=e,C===0&&W(bt)),T!==e?(D=[D,Z,T],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=Re,i++):(D=e,C===0&&W(qe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===187?(T=mt,i++):(T=e,C===0&&W(it)),T!==e?(D=[D,Z,T],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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}if(P!==e){for(;P!==e;)if(M.push(P),P=i,t.charCodeAt(i)===60?(D=Ne,i++):(D=e,C===0&&W(Pe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===62?(T=Ze,i++):(T=e,C===0&&W(bt)),T!==e?(D=[D,Z,T],P=D):(i=P,P=e)):(i=P,P=e)):(i=P,P=e),P===e&&(P=i,t.charCodeAt(i)===171?(D=Re,i++):(D=e,C===0&&W(qe)),D!==e?(Z=sr(),Z!==e?(t.charCodeAt(i)===187?(T=mt,i++):(T=e,C===0&&W(it)),T!==e?(D=[D,Z,T],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=[],T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e),T!==e)for(;T!==e;)Z.push(T),T=i,X=i,C++,G=i,B=Le(),B!==e?(ue=i,O=we(p,B),O?O=void 0:O=e,O!==e?(B=[B,O],G=B):(i=G,G=e)):(i=G,G=e),C--,G===e?X=void 0:(i=X,X=e),X!==e?(G=i,C++,B=Et(),C--,B===e?G=void 0:(i=G,G=e),G!==e?(B=i,C++,O=ct(),C--,O===e?B=void 0:(i=B,B=e),B!==e?(t.length>i?(O=t.charAt(i),i++):(O=e,C===0&&W(Ce)),O!==e?(X=[X,G,B,O],T=X):(i=T,T=e)):(i=T,T=e)):(i=T,T=e)):(i=T,T=e);else Z=e;Z!==e?D=t.substring(D,i):D=Z,D!==e&&(ue=P,D=Ee(p,D)),P=D}}else M=e;M!==e?R=t.substring(R,i):R=M,R!==e&&(ue=k,R=Ee(p,R)),k=R}w!==e?(k=Le(),k!==e?(ue=i,R=Rn(p,w,k),R?R=void 0:R=e,R!==e?(ue=m,p=qn(p,w,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 Nf(){var m,p,S,w,k;for(m=i,p=[],S=i,w=i,C++,k=Le(),C--,k===e?w=void 0:(i=w,w=e),w!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,C===0&&W(Ce)),k!==e?(w=[w,k],S=w):(i=S,S=e)):(i=S,S=e);S!==e;)p.push(S),S=i,w=i,C++,k=Le(),C--,k===e?w=void 0:(i=w,w=e),w!==e?(t.length>i?(k=t.charAt(i),i++):(k=e,C===0&&W(Ce)),k!==e?(w=[w,k],S=w):(i=S,S=e)):(i=S,S=e);return p!==e?m=t.substring(m,i):m=p,m}function sr(){var m,p,S,w,k,R,M;if(m=i,p=i,S=[],w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k!==e?(R=sr(),R!==e?(t.charCodeAt(i)===62?(M=Ze,i++):(M=e,C===0&&W(bt)),M!==e?(k=[k,R,M],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe)),k!==e?(R=sr(),R!==e?(t.charCodeAt(i)===187?(M=mt,i++):(M=e,C===0&&W(it)),M!==e?(k=[k,R,M],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=ct(),w===e&&(w=vn()))),w!==e)for(;w!==e;)S.push(w),w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k!==e?(R=sr(),R!==e?(t.charCodeAt(i)===62?(M=Ze,i++):(M=e,C===0&&W(bt)),M!==e?(k=[k,R,M],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=i,t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe)),k!==e?(R=sr(),R!==e?(t.charCodeAt(i)===187?(M=mt,i++):(M=e,C===0&&W(it)),M!==e?(k=[k,R,M],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w===e&&(w=ct(),w===e&&(w=vn())));else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=se(p)),m=p,m}function vn(){var m,p,S,w,k,R,M,P;if(m=i,p=i,S=[],w=i,k=i,C++,R=Le(),C--,R===e?k=void 0:(i=k,k=e),k!==e?(R=i,C++,M=Et(),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=ct(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,C===0&&W(Ce)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e),w!==e)for(;w!==e;)S.push(w),w=i,k=i,C++,R=Le(),C--,R===e?k=void 0:(i=k,k=e),k!==e?(R=i,C++,M=Et(),C--,M===e?R=void 0:(i=R,R=e),R!==e?(M=i,C++,P=ct(),C--,P===e?M=void 0:(i=M,M=e),M!==e?(t.length>i?(P=t.charAt(i),i++):(P=e,C===0&&W(Ce)),P!==e?(k=[k,R,M,P],w=k):(i=w,w=e)):(i=w,w=e)):(i=w,w=e)):(i=w,w=e);else S=e;return S!==e?p=t.substring(p,i):p=S,p!==e&&(ue=m,p=se(p)),m=p,m}function ct(){var m,p,S,w,k;return m=i,p=i,S=i,C++,w=ln(),C--,w===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(w=t.charAt(i),i++):(w=e,C===0&&W(Ce)),w!==e?(S=[S,w],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===60?(S=Ne,i++):(S=e,C===0&&W(Pe)),S!==e?(w=vn(),w!==e?(t.charCodeAt(i)===62?(k=Ze,i++):(k=e,C===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,C++,w=ln(),C--,w===e?S=void 0:(i=S,S=e),S!==e?(t.length>i?(w=t.charAt(i),i++):(w=e,C===0&&W(Ce)),w!==e?(S=[S,w],p=S):(i=p,p=e)):(i=p,p=e),p!==e?(t.charCodeAt(i)===171?(S=Re,i++):(S=e,C===0&&W(qe)),S!==e?(w=vn(),w!==e?(t.charCodeAt(i)===187?(k=mt,i++):(k=e,C===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,w,k,R,M;return m=i,p=i,t.charCodeAt(i)===65?(S=o,i++):(S=e,C===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?(w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe))),k!==e?w=t.substring(w,i):w=k,w!==e?(k=jr(),k!==e?(R=Le(),R!==e?(ue=i,M=Er(p,w,k,R),M?M=void 0:M=e,M!==e?(ue=m,p=Jt(p,w,k,R),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,w,k,R,M;return m=i,p=i,t.charCodeAt(i)===86?(S=f,i++):(S=e,C===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?(w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe))),k!==e?w=t.substring(w,i):w=k,w!==e?(k=Fa(),k!==e?(R=Le(),R!==e?(ue=i,M=Er(p,w,k,R),M?M=void 0:M=e,M!==e?(ue=m,p=Jt(p,w,k,R),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,w,k,R,M;return m=i,p=i,t.charCodeAt(i)===83?(S=Qe,i++):(S=e,C===0&&W(te)),S!==e?p=t.substring(p,i):p=S,p!==e?(ue=i,S=ir(p),S?S=void 0:S=e,S!==e?(w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe))),k!==e?w=t.substring(w,i):w=k,w!==e?(k=vs(),k!==e?(R=Le(),R!==e?(ue=i,M=Er(p,w,k,R),M?M=void 0:M=e,M!==e?(ue=m,p=Jt(p,w,k,R),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,w,k,R,M;return m=i,p=i,t.charCodeAt(i)===90?(S=Ht,i++):(S=e,C===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?(w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe))),k!==e?w=t.substring(w,i):w=k,w!==e?(k=vs(),k!==e?(R=Le(),R!==e?(ue=i,M=Er(p,w,k,R),M?M=void 0:M=e,M!==e?(ue=m,p=Jt(p,w,k,R),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,w,k,R,M,P,D;if(m=i,p=i,t.charCodeAt(i)===68?(S=z,i++):(S=e,C===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(w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe))),k!==e?w=t.substring(w,i):w=k,w!==e)if(k=Ia(),k!==e){if(R=i,M=wn(),M!==e){for(P=[],D=ci();D!==e;)P.push(D),D=ci();P!==e?(ue=R,M=on(p,w,k,P),R=M):(i=R,R=e)}else i=R,R=e;R===e&&(R=null),R!==e?(M=Le(),M!==e?(ue=i,P=Hn(p,w,k,R,M),P?P=void 0:P=e,P!==e?(ue=m,p=Kr(p,w,k,R,M),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 oe(){var m,p,S,w,k,R,M,P,D;if(m=i,p=i,t.charCodeAt(i)===88?(S=At,i++):(S=e,C===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(w=i,t.charCodeAt(i)===60?(k=Ne,i++):(k=e,C===0&&W(Pe)),k===e&&(t.charCodeAt(i)===171?(k=Re,i++):(k=e,C===0&&W(qe))),k!==e?w=t.substring(w,i):w=k,w!==e)if(k=yo(),k!==e){if(R=i,M=wn(),M!==e){for(P=[],D=ci();D!==e;)P.push(D),D=ci();P!==e?(ue=R,M=on(p,w,k,P),R=M):(i=R,R=e)}else i=R,R=e;R===e&&(R=null),R!==e?(M=Le(),M!==e?(ue=i,P=Hn(p,w,k,R,M),P?P=void 0:P=e,P!==e?(ue=m,p=Kr(p,w,k,R,M),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 Dn(m){return m.reduce((p,S)=>Array.isArray(S)?p.concat(Dn(S)):p.concat(S),[])}function _r(m){return{"<":">","\xAB":"\xBB",">":"<","\xBB":"\xAB"}[m]}if(Nr=s(),Nr!==e&&i===t.length)return Nr;throw Nr!==e&&i<t.length&&W(an()),Bi(Dr,Mt<t.length?t.charAt(Mt):null,Mt<t.length?Lr(Mt,Mt+1):Lr(Mt,Mt))}Ed.exports={SyntaxError:Pi,parse:sk}});var zd=ye((uA,kk)=>{kk.exports={name:"@podlite/schema",version:"0.0.40",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 Gd=ye((WA,Hd)=>{Hd.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var tm=ye((JA,em)=>{"use strict";var fa=Object.prototype.hasOwnProperty,Yd=Object.prototype.toString,Kd=Object.defineProperty,Wd=Object.getOwnPropertyDescriptor,Jd=function(r){return typeof Array.isArray=="function"?Array.isArray(r):Yd.call(r)==="[object Array]"},Zd=function(r){if(!r||Yd.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 s;for(s in r);return typeof s>"u"||fa.call(r,s)},Qd=function(r,e){Kd&&e.name==="__proto__"?Kd(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},Xd=function(r,e){if(e==="__proto__")if(fa.call(r,e)){if(Wd)return Wd(r,e).value}else return;return r[e]};em.exports=function t(){var r,e,n,s,o,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=Xd(f,e),s=Xd(r,e),f!==s&&(h&&s&&(Zd(s)||(o=Jd(s)))?(o?(o=!1,l=n&&Jd(n)?n:[]):l=n&&Zd(n)?n:{},Qd(f,{name:e,newValue:t(h,l,s)})):typeof s<"u"&&Qd(f,{name:e,newValue:s}));return f}});var im=ye((XA,nm)=>{nm.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}});var o1={};Wf(o1,{PluginRegister:()=>i1,default:()=>s1,parseMd:()=>Sa,plugin:()=>Pa});module.exports=Hh(o1);var Vd=zr(ed()),xk=zr(id());var gA=zr(ld());var zw=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=zw(t),{name:e,type:n}=r;return n&&n==="*"?{name:e}:e&&e==="*"?{type:n}:r};function Vw(t,r){function e(s){for(var o in s)if(s.hasOwnProperty(o))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(s){return typeof s=="string"?!1:Vw(t,s)}},vu=(t,r)=>{if(t instanceof Array)return t.reduce((n,s)=>(n.push(...vu(s)),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=zr(require("crypto"),1);var ud="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var Uw=128,_i,cs,Hw=t=>{!_i||_i.length<t?(_i=Buffer.allocUnsafe(t*Uw),xu.default.randomFillSync(_i),cs=0):cs+t>_i.length&&(xu.default.randomFillSync(_i),cs=0),cs+=t};var fd=(t=21)=>{Hw(t);let r="";for(let e=cs-t;e<cs;e++)r+=ud[_i[e]&63];return r};var ps=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,s={id:fd(),margin:"",...t};var o=ps({type:e,...s,content:Cu(r)});return o};var sa=(t,r)=>ps({type:"fcode",...t,content:r}),Au=(t,r)=>ps({...t,type:"fcode",name:"L",content:Cu(r)}),cd=t=>ps({type:"fcode",name:"O",content:Cu(t)}),pd=t=>ps({type:"fcode",name:"F",content:[{type:"text",value:t}]}),to=t=>ps({type:"verbatim",value:t});var dd=t=>({type:"block",name:"caption",content:t}),md=(t,r)=>({type:"image",src:t,alt:r}),Eu=({margin:t=""},r)=>br({name:"root",margin:t},r);var hd=({value:t,location:r})=>br({name:"formula",location:r},[to(t)]);var _u=(t,r={})=>{let e=t.config instanceof Array?t.config:[],n=[];r.config&&r.config.hasOwnProperty(t.name)&&(n=r.config[t.name]);let s={};[...e,...n].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 o=function(){};return o.exists=l=>s.hasOwnProperty(l),o.getAllValues=l=>o.exists(l)?s[l]:[],o.getFirstValue=l=>o.exists(l)?o.getAllValues(l)[0]:void 0,o.getMapValue=l=>{let f=o.getFirstValue(l);return f&&typeof f=="object"&&!Array.isArray(f)?f:void 0},o.asHash=()=>s,o},Dt=_u;var Su=(t,r)=>{let e=Dt(t,r);return e.exists("id")?e.getFirstValue("id"):t.id};function gd(t){return Array.isArray(t)?t.reduce((r,e)=>Array.isArray(e)?r.concat(gd(e)):r.concat(e),[]):t}function Gw(t){function r(e,n){if(e==null)return e;if(e instanceof Array)return gd(e.map(l=>r(l,n))).filter(Boolean);if(typeof e=="string")return r({type:"text",value:e},n);let s=t.slice();s.reverse();let o=s.findIndex(l=>l.isFor(e));if(o!==-1){let l=s.slice(o+1),f=l.findIndex(g=>g.isFor(e)),c=(g=e,h=n,$=r)=>{if(f!==-1)l[f].fn(g,h,$,()=>{});else return};return typeof s[o].fn!="function"&&console.warn("[podlite] bad fn for "+JSON.stringify(e,null,2)),s[o].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=Gw;var ze=(t,r)=>(e,n)=>(s,o,l)=>{e.writeRaw(t),s.content&&l(s.content,o),e.writeRaw(r)},St=()=>()=>()=>{},wr=(t,r)=>(e,n,s)=>{if(e.content)return s(e.content,n)},Ir=t=>(r,e)=>(n,s,o)=>t(n,s)(r,e)(n,s,o);var la=(t,r)=>{let e=vu(t).reverse();return(n,s)=>{let o=e.map(c=>_n(c.rule,c.fn(n,s))).reverse(),l=r(n,s),f;return(c,g,h)=>(f||(f=aa([...h.rules,...o])),l(c,g,f))}},Or=(t,r)=>(e,n)=>{let s=t(e,n);return(o,l,f)=>{let c=Dt(o,l).getFirstValue("nested")||r;c!==void 0&&e.addLevel(c),s(o,l,f),c!==void 0&&e.removeLevel(c)}};function ro(t){return t&&t!==t.toLowerCase()&&t!==t.toUpperCase()}function yd(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(yd(e)):r.concat(e),[])}var oa=t=>{let r=[];function e(s,o){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(_n(Ei(s),o))}function n(s,o={}){if(s==null)return s;if(s instanceof Array)return yd(s.map(c=>n(c,o)));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,o,n);{let c={...s};return c.hasOwnProperty("content")&&(c.content=n(c.content,o)),c}}return e(t),n.rules=r,n},Rr=oa;var $d=zr(require("events")),Pu=class extends $d.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)}},no=Pu;var ds=(t={},r=[])=>{let e=r,n=t.processor||bd,s=t.writer;return o.use=l,o.run=f,o.getPlugins=()=>e,o;function o(c){}function l(c,g){if(c instanceof Array)return ds(t,[...e,...g]);if(c instanceof Object){for(var h in c)c.hasOwnProperty(h)&&l(h,c[h]);return o}return e.push(_n(Ei(c),g)),o}function f(c,g){let h="",$=g||s||new no(Y=>{h=h+Y}),v=typeof $=="function"?new $(Y=>{h=h+Y}):$,A=typeof c=="string"?n(c):c,x=e.slice();x.reverse();let F=aa(x.map(Y=>_n(Y.rule,Y.fn(v,n,A))).reverse()),N={};v.startWrite(A);let z=F(A,N);return v.endWrite(),{errors:v.errors,toString:()=>h,valueOf:()=>h,indexingTerms:v.INDEXTERMS,annotations:v.FOOTNOTES,defenitions:v.DEFINITIONS,interator:z}}};var wd=()=>t=>Rr({"*":(e,n,s)=>(e.content&&(e.content=s(e.content,n,s)),delete e.location,e)})(t,{}),ua=wd;var cC={":text":(t,r)=>(e,n,s)=>{e.value?t.write(e.value):s(e.content,n)},"A<>":(t,r)=>(e,n,s)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.writeRaw(`A<${e.content}>`);else{let o=n.alias[e.content].join(`
15
+ `),l=r(o),f=ua()(l);f[0].type==="para"?s(f[0].content,n):s(f,n)}},"C<>":ze("`","`"),"D<>":(t,r)=>(e,n,s)=>{t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:[e.content[0]]}),t.writeRaw("**"),s(e.content,n),t.writeRaw("**")},"B<>":ze("**","**"),"I<>":ze("*","*"),"R<>":ze("*","*"),"K<>":ze("`","`"),"O<>":ze("~~","~~"),"H<>":ze("<sup>","</sup>"),"J<>":ze("<sub>","</sub>"),"L<>":Ir((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),ze("[",`](${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
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,"&nbsp;").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(`**
20
+ `)}))}),(e,n,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let o=t.gid++;t.writeRaw(`[^${o}]`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:o,fnRefId:`fnref:${o}`,fnId:`fn:${o}`,make:()=>{s(e.content,n)}})}),"S<>":(t,r)=>(e,n,s)=>{let o=e.content||"";t.writeRaw(o.replace(/ /g,"&nbsp;").replace(/\n/g,`
21
+ `))},"T<>":ze("`","`"),"U<>":ze("",""),"V<>":wr,"X<>":(t,r)=>(e,n,s)=>{s(e.content,n);let{entry:o}=e;if(o===null&&e.content.length>0)o=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:o})},"Z<>":St,pod:wr,":code":(t,r)=>(e,n,s)=>{let o=Dt(e,n),l=o.exists("lang")?o.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):s([f],n)}),t.writeRaw("```\n")},code:Or((t,r)=>(e,n,s)=>{let o=Dt(e,n),l=o.exists("lang")?o.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):s([f],n)}),t.writeRaw("```\n")}),data:St,":verbatim":(t,r)=>(e,n,s)=>{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,s)=>{e.content&&s(e.content,n),t.writeRaw(`
24
+ `)},"head:block":la({":para":wr},Ir((t,r)=>{let{level:e}=t,n="#".repeat(e)+" ";return(s,o)=>(l,f,c)=>{s.writeRaw(n),l.content&&c(l.content,f),s.writeRaw(`
25
+ `)}})),":list":Ir((t,r)=>(e,n)=>(s,o,l)=>{let f={...o,listType:s.list,listCounter:{value:1},listDepth:(o.listDepth||0)+1};s.content&&l(s.content,f)}),"item:block":(t,r)=>(e,n,s)=>{let o=" ".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(o+f),e.content&&s(e.content,n)},"comment:block":St,defn:(t,r)=>(e,n,s)=>{e.content&&s(e.content,n),t.writeRaw(`
26
+ `)},"term:para":(t,r)=>(e,n,s)=>{t.writeRaw("**"),e.content&&s(e.content,n),t.writeRaw(":** ")},nested:Or(wr,1),output:Or((t,r)=>(e,n,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,n),t.writeRaw("```\n")},1),input:Or((t,r)=>(e,n,s)=>{t.writeRaw("```\n"),e.content&&s(e.content,n),t.writeRaw("```\n")},1),"table:block":Or((t,r)=>(e,n,s)=>{let o=Dt(e,n);o.exists("caption")&&(t.writeRaw("**"),t.write(o.getFirstValue("caption")),t.writeRaw(`**
27
27
 
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>
28
+ `));let l=(e.content||[]).filter($=>$.name==="row");if(l.length===0)return;let f=$=>Array.isArray($.config)&&$.config.some(v=>v.name==="header"&&v.value!==!1),c=($,v)=>{if(!Array.isArray($.config))return 0;let A=$.config.find(F=>F.name===v);if(!A)return 0;let x=Number(A.value);return Number.isFinite(x)&&x>1?x:0},g=l.some($=>($.content||[]).some(v=>v.name==="cell"&&(c(v,"colspan")||c(v,"rowspan")))),h=f(l[0]);if(g){t.writeRaw(`<table>
29
+ `),l.forEach($=>{let v=f($)?"th":"td";t.writeRaw("<tr>"),($.content||[]).filter(x=>x.name==="cell").forEach(x=>{let F=c(x,"colspan"),N=c(x,"rowspan"),z="";F&&(z+=` colspan="${F}"`),N&&(z+=` rowspan="${N}"`),t.writeRaw(`<${v}${z}>`),x.content&&x.content.forEach(Y=>{typeof Y=="string"?t.write(Y.trim()):s([Y],n)}),t.writeRaw(`</${v}>`)}),t.writeRaw(`</tr>
30
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
+ `);return}l.forEach(($,v)=>{let A=($.content||[]).filter(x=>x.name==="cell");t.writeRaw("|"),A.forEach(x=>{t.writeRaw(" "),x.content&&x.content.forEach(F=>{typeof F=="string"?t.write(F.trim()):s([F],n)}),t.writeRaw(" |")}),t.writeRaw(`
32
+ `),v===0&&h&&(t.writeRaw("|"),A.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
33
+ `)),v===0&&!h&&(t.writeRaw("|"),A.forEach(()=>{t.writeRaw(" --- |")}),t.writeRaw(`
34
34
  `))}),t.writeRaw(`
35
- `)}),":separator":St,row:St,cell:St,":toc":St,":toc-list":St,":toc-item":St,":image":(t,r)=>(e,n,o)=>{t.writeRaw(`![${e.alt||""}](${e.src})`)}};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,"&nbsp;").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[Lt],tr=Lt!==null&&lt.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=`
35
+ `)}),":separator":St,row:St,cell:St,":toc":St,":toc-list":St,":toc-item":St,":image":(t,r)=>(e,n,s)=>{t.writeRaw(`![${e.alt||""}](${e.src})`)}};var Ww=zr(kd());var Ud=zr(Cd());var nk=()=>t=>{let r=(n,s={})=>{if((n.type=="code"||n.type=="text")&&(n.margin&&s.margin&&s.margin.length>0&&s.margin.length==n.margin.length&&(n.type="para"),n.type==="code")){var o=new RegExp(`^[ ]{0,${n.margin.length}}`,"gm");n.text=n.text.replace(o,"")}if(n.type==="block"){s.margin=typeof n.margin!="string"?"":n.margin;let l={...s};l.nest=(l.nest||0)+1,n.content.map(f=>{r(f,s)})}};var e={};return t.forEach(n=>r(n,e)),t},Ad=nk;var io=zr(_d());var ok=()=>t=>{let r=Rr({":para":(e,n,s)=>Rr({":text":(o,l)=>io.parse(o.value),":verbatim":(o,l)=>io.parse(o.value)})(e,{...n}),":block":(e,n,s)=>{if("name"in e&&e.name==="pod")return{...e,content:s(e.content,n,s)};let o=Dt(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",$=[...o.getAllValues("allow"),...l?["NONE"]:[]];if(ro(e.name)||(l||f||c||g||h)&&$.length==0)return e;let v=$.sort(),A=Rr({":verbatim":(x,F)=>v.length==1&&v.includes("NONE")?x:io.parse(x.value,{allowed:v}),":text":(x,F)=>io.parse(x.value,{allowed:v}),":block":(x,F)=>r(x,{...F})});return{...e,content:A(e.content,{...n})}}});return r(t,{})},Sd=ok;var Pd=()=>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 s=(e.config||[]).find(o=>o.name==="checked");if(s&&(e.checked=s.value!==!1&&s.value!==0&&s.value!=="0"),e.content[0]){let o=e.content[0];if(o.text){if(!s){let c=/^\[( |x)\]\s*/,g=c.exec(o.text);g&&(e.checked=g[1]==="x",o.text=o.text.replace(c,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"checked",value:e.checked,type:"boolean"}))}let l=/^(\s*#\s*)/;l.exec(o.text)&&(o.text=o.text.replace(l,""),o.type==="para"&&(o.content=[o.text]),e.config=e.config||[],e.config.push({name:"numbered",value:!0,type:"boolean"}))}}}r(e.content)}};return r(t),t};var Td=()=>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 s=e.content[0];if(s.text){let o=/(\s*#\s*)/;o.exec(s.text)&&(s.text=s.text.replace(o,""),e.config={...e.config,numbered:!0})}}r(e.content)}};return r(t),t};var Fd=()=>t=>{let r=(o,l)=>(o.name==="item"||o.name==="defn")&&l.name===o.name&&o.level===l.level&&e(o)===e(l),e=o=>Boolean(o.config&&o.config.numbered),n=o=>{let l={};return o.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=(o=>Array.isArray(o)?n(o):(o.type==="block"&&o.name!=="table"&&(o.content=n(o.content)),o))(t),t};var Id=()=>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(Dt(l,{}).exists("numbered")),n=l=>l.checked!==void 0,s=(l,f=1)=>{let c=A=>A.length>0&&A[A.length-1].type==="list",g=A=>{if(c(A))return A[A.length-1]},h=(A,x)=>x.name&&x.name==="item"&&x.type&&x.type==="block"||x.type==="blankline",$={};return l.reduce((A,x)=>x.name==="item"&&x.type==="block"&&x.level<f?[...A,x]:(x.name==="item"&&x.type==="block"&&(!c(A)||Number(x.level)===f&&g(A).list!==(e(x)?"ordered":n(x)?"task":"itemized"))&&A.push({type:"list",level:x.level,content:[],list:e(x)?"ordered":n(x)?"task":"itemized"}),c(A)&&h(g(A),x)?g(A).content.push(x):A.push(x),A),[]).map(A=>(A.content&&A.type!=="fcode"&&(A.content=s(A.content,Number(A.level||0)+1)),A))};return t=(l=>(Array.isArray(l)?l=s(l):l.type==="block"&&l.name!=="table"&&(l.content=s(l.content)),l))(t),t};var Od=()=>t=>Rr({defn:e=>{let n=e.content,s=n.length,o=[],l=!1;for(let f=0;f<s;f++){let c=n[f];if(c.type==="para"&&!l){let g=c.content[0],$=g.value.split(`
36
+ `),v=$.shift(),A={type:"para",name:"term",text:v,content:[{type:"text",value:v}]};o.push(A),$.length==1&&$[0]===""||(g.value=$.join(`
37
+ `),c.text=g.value,o.push(c)),l=!0}else o.push(c)}return e.content=o,e}})(t,{});function so(t){return t.reduce((r,e)=>Array.isArray(e)?r.concat(so(e)):r.concat(e),[])}function ak(t){let r=[],e="",n=[],s=!1,o=0;for(;o<t.length;){let l=t[o];if(s){if(l==='"'&&t[o+1]==='"'){e+='"',o+=2;continue}if(l==='"'){s=!1,o++;continue}e+=l,o++;continue}if(l==='"'&&e===""){s=!0,o++;continue}if(l===","){n.push(e),e="",o++;continue}if(l==="\r"){o++;continue}if(l===`
38
+ `){n.push(e),r.push(n),n=[],e="",o++;continue}e+=l,o++}return(e!==""||n.length>0)&&(n.push(e),r.push(n)),r.filter(l=>!(l.length===1&&l[0].trim()===""))}function lk(t){return t.split(/\r?\n/).map(n=>n.split(" ")).filter(n=>!(n.length===1&&n[0].trim()===""))}function uk(t){if(!t||typeof t!="string")return{type:"",params:{}};let r=t.split(";").map(s=>s.trim()),e=(r.shift()||"").toLowerCase(),n={};for(let s of r){if(!s)continue;let o=s.indexOf("=");if(o<0)continue;let l=s.slice(0,o).trim().toLowerCase(),f=s.slice(o+1).trim();(f.startsWith('"')&&f.endsWith('"')||f.startsWith("'")&&f.endsWith("'"))&&(f=f.slice(1,-1)),l&&(n[l]=f)}return{type:e,params:n}}function fk(t,r){let e=null,n=s=>{if(!e){if(Array.isArray(s)){s.forEach(n);return}if(!(!s||typeof s!="object")){if(s.type==="block"&&s.name==="data"&&Dt(s,{}).getFirstValue("key")===r){e=s;return}Array.isArray(s.content)&&s.content.forEach(n)}}};return n(t),e}function ck(t){if(!t||!Array.isArray(t.content))return"";let r=t.content.find(e=>e&&e.type==="verbatim");return r&&typeof r.value=="string"?r.value:""}function pk(t){let r=[];Rr({"row:text":l=>(r.push(l.value),l),"head:text":l=>(r.push(l.value),l)})(t,{});let s=r.join(`
39
+ `).trim().split(/\r?\n/).map(l=>l.trim()).filter(l=>l.length>0);if(s.length!==1)return null;let o=s[0].match(/^(data|file):(\S+)$/);return o?{scheme:o[1],target:o[2]}:null}function qd(t){return{name:"cell",type:"block",margin:"",content:[{type:"text",value:t}]}}function dk(t,r){let e={name:"row",type:"block",margin:"",content:t};return r&&(e.config=[{name:"header",value:!0,type:"boolean"}]),e}function mk(t,r=!1){return t.map((e,n)=>{let s=e.map(o=>qd(o.trim()));return dk(s,r&&n===0)})}function Iu(t,r="table"){if(!t||!Array.isArray(t.content))return t;let e=t.content.filter($=>$&&$.type==="block"&&$.name==="row");if(e.length===0)return t;let n=$=>Array.isArray($.content)?$.content.filter(v=>v&&v.name==="cell"):[],s=$=>Array.isArray($.config)&&$.config.some(v=>v.name==="header"&&v.value===!0),o=$=>Array.isArray($.config)&&$.config.some(v=>v.name==="colspan"||v.name==="rowspan"),l=$=>n($).some(o);if(e.some(l))return t;let f=e.find(s),c=f?n(f).length:Math.max(...e.map($=>n($).length));if(c===0)return t;let g=!1,h=t.content.map($=>{if(!$||$.type!=="block"||$.name!=="row")return $;let v=n($);if(v.length===c)return $;if(v.length<c){let N=[];for(let z=v.length;z<c;z++)N.push(qd(""));return console.warn(`[${r}] row has ${v.length} cells, expected ${c} \u2014 padded with ${N.length} empty`),g=!0,{...$,content:[...$.content,...N]}}let A=v.length-c;console.warn(`[${r}] row has ${v.length} cells, expected ${c} \u2014 truncated ${A}`),g=!0;let x=c,F=[];for(let N of $.content||[])N&&N.type==="block"&&N.name==="cell"?x>0&&(F.push(N),x--):F.push(N);return{...$,content:F}});return g?{...t,content:h}:t}function hk(t){let r=new Set;for(let e of t)if(!(!e||typeof e!="string")&&(/\s\|\s/.test(e)?r.add("pipe"):/\s\+\s/.test(e)?r.add("plus"):e.trim().length>0&&r.add("whitespace"),r.size>1))break;r.size>1&&console.warn(`[table] mixed separator types detected: ${Array.from(r).join(", ")} \u2014 recommend a single style`)}function gk(t,r){return{type:"block",name:"code",margin:t.margin||"",content:Array.isArray(r.content)?r.content:[],config:Array.isArray(t.config)?t.config:[]}}var Ou=(t,r,e)=>{let n=[];for(let s=0;t.length>s;s++)n.push(e(parseInt(t[s],10),parseInt(r[s],10)));return n.join("")},yk=(t,r)=>{let e=Math.max(...[...t,...r].map(o=>o.length));return t.map(o=>{let l=o+" ".repeat(e-o.length),f=[],c=/\s+[+|\s]\s/g,g;for(;(g=c.exec(l))!=null;){let h="1".repeat(g.index)+"0".repeat(g[0].length);f.push(h+"1".repeat(e-h.length))}return f.reduce((h,$)=>Ou(h,$,(v,A)=>v&A),"1".repeat(e))}).map(o=>Ou(o,"",l=>l==0?1:0)).reduce((o,l)=>Ou(o,l,(f,c)=>f&c),"1".repeat(e))},Rd=(t,r)=>{let n=so(t.split(/\n/).filter(o=>o.length>0)).map(o=>{let l=/((1+|0+))/g,f=[],c;for(;(c=l.exec(r))!=null;)c[0][0]!="1"&&f.push(o.substring(c.index,c.index+c[0].length));return f}),s=[];return n.reduce((o,l)=>{for(let f=0;f<l.length;f++)o[f]=(o[f]===void 0?"":o[f])+" "+l[f];return o},s),s},Ru=t=>/(?:^|\s)\|(?:\s|$)/.test(t)?"pipe":/(?:^|\s)\+(?:\s|$)/.test(t)?"plus":"whitespace",Dd=t=>{let r=0,e=t.length;return t[r]===""&&r++,e>r&&t[e-1]===""&&e--,t.slice(r,e)},Nd=t=>Dd(t.split(/\s*\|\s*/).map(r=>r.trim())),Ld=t=>Dd(t.split(/\s*\+\s*/).map(r=>r.trim())),jd=t=>t.trim().split(/\s{2,}/).filter(r=>r!==""),Bd=t=>{if(t.trim()==="")return[];let e=Ru(t);return e==="pipe"?Nd(t):e==="plus"?Ld(t):jd(t)},$k=t=>{let r=t.split(/\r?\n/).filter(f=>f.trim()!=="");if(r.length===0)return[];if(r.length===1)return Bd(r[0]);let e=Ru(r[0]),n=e==="pipe"?Nd:e==="plus"?Ld:jd,s=r.map(n),o=Math.max(...s.map(f=>f.length)),l=[];for(let f=0;f<o;f++){let c=s.map(g=>g[f]??"").filter(g=>g!=="");l.push(c.join(" "))}return l},bk=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}},wk=t=>Array.isArray(t.content)&&t.content.some(r=>r&&r.type==="block"&&(r.name==="row"||r.name==="cell")),Md=()=>t=>Rr({table:e=>{let n=pk(e);if(n&&n.scheme==="data"){let ee=fk(t,n.target);if(!ee)return console.warn(`[table] no =data block found for data:${n.target} \u2014 rendered as empty`),{...e,content:[]};let de=Dt(ee,{}).getFirstValue("mime-type"),{type:ve,params:ke}=uk(de),De=ve==="text/csv";if(De||ve==="text/tab-separated-values"){let Se=ck(ee),me=De?ak(Se):lk(Se);if(me.length===0)return console.warn(`[table] ${De?"CSV":"TSV"} parse produced no rows for data:${n.target} \u2014 rendered as empty`),{...e,content:[]};let Ae=ke.header==="present",Qe={...e,content:mk(me,Ae)};return Iu(Qe,`table data:${n.target}`)}return console.warn(`[table] =data :key<${n.target}> has non-tabular mime-type ${de||"(none)"} \u2014 rendered as =code`),gk(e,ee)}if(wk(e)){let ee=(e.content||[]).map(de=>de&&de.name==="row"?bk(de):de);return Iu({...e,content:ee},"table")}let s=[],o=ee=>{s.push(ee.value)},l=[];if(Rr({"row:text":o,"head:text":o,":separator":ee=>{l.push(ee.text)}})(e),!s.length)return e;let f=ee=>ee.split(/\n/).filter(de=>de.length>0),c=so(s.map(f)),g=so(l.map(f));hk(c);let h=[];Rr({"row:text":ee=>{h.push(ee.value)}})(e);let $=(ee,de,ve={})=>({...ve,name:ee,type:"block",content:Array.isArray(de)?de:[de]}),v=ee=>$("row",ee),A=ee=>$("row",ee,{config:[{name:"header",value:!0,type:"boolean"}]}),x=ee=>$("cell",{type:"text",value:ee}),F=yk(c,g),N=new Set(c.map(Ru)),z=N.has("pipe")||N.has("plus"),Y=N.has("whitespace"),ae=z&&Y,be=ee=>ae&&ee.split(/\r?\n/).filter(ve=>ve.trim()!=="").length<=1?$k(ee):Rd(ee,F),ge=Rr({"row:text":ee=>{if(h.length==1){let de=so([ee.value].map(f));return ae?de.map(ve=>v(Bd(ve).map(x))):de.map(ve=>v(Rd(ve,F).map(x)))}return v(be(ee.value).map(x))},"head:text":ee=>A(be(ee.value).map(x))})(e);return Iu(ge,"table")}})(t,{});var rA={":text":(t,r)=>(e,n,s)=>{e.value?t.write(e.value):s(e.content,n)},"A<>":(t,r)=>(e,n,s)=>{if(!(n.alias&&n.alias.hasOwnProperty(e.content)))t.write(`A<${e.content}>`);else{let o=n.alias[e.content].join(`
40
+ `),l=r(o),f=ua()(l);f[0].type==="para"?s(f[0].content,n):s(f,n)}},"C<>":ze("<code>","</code>"),"D<>":(t,r)=>(e,n,s)=>{let o={node:e},l=[e.content[0]];o&&(l=o),t.hasOwnProperty("DEFINITIONS")||(t.DEFINITIONS=[]),t.DEFINITIONS.push({definition:l}),t.writeRaw("<dfn>"),s(e.content,n),t.writeRaw("</dfn>")},"B<>":ze("<strong>","</strong>"),"I<>":ze("<em>","</em>"),"R<>":ze("<var>","</var>"),"K<>":ze("<kbd>","</kbd>"),"O<>":ze("<del>","</del>"),"H<>":ze("<sup>","</sup>"),"J<>":ze("<sub>","</sub>"),"L<>":Ir((t,r)=>{let{meta:e}=t;return e===null&&(e=t.content),ze(`<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,s)=>{if(e.content.length<1)return;t.hasOwnProperty("gid")||(t.gid=1);let o=t.gid++,l=`fnref:${o}`,f=`fn:${o}`;t.writeRaw(`<sup id="${l}" class="footnote"><a href="#${f}">[${o}]</a></sup>`),t.hasOwnProperty("FOOTNOTES")||(t.FOOTNOTES=[]),t.FOOTNOTES.push({gid:o,fnRefId:l,fnId:f,make:()=>{s(e.content,n)}})}),"S<>":(t,r)=>(e,n,s)=>{let f=(e.content||"").replace(/ /g,"&nbsp;").replace(/\n/g,"</br>");t.writeRaw(f)},"T<>":ze("<samp>","</samp>"),"U<>":ze("<u>","</u>"),"V<>":wr,"X<>":(t,r)=>(e,n,s)=>{s(e.content,n);let{entry:o}=e;if(o===null&&e.content.length>0)o=[e.content[0]];else return;t.hasOwnProperty("INDEXTERMS")||(t.INDEXTERMS=[]),t.INDEXTERMS.push({entry:o})},"Z<>":St,pod:wr,":code":ze("<pre><code>","</code></pre>"),code:Or(ze("<pre><code>","</code></pre>")),data:St,":verbatim":(t,r)=>(e,n,s)=>{e.error&&t.emit("errors",e.location),s(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":ze("<p>","</p>"),"head:block":la({":para":wr},Ir((t,r)=>{let{level:e}=t,n=Su(t,r);return ze(`<h${e}${n?` id="${n}"`:""}>`,`</h${e}>`)})),":list":Ir((t,r)=>t.list==="ordered"?ze("<ol>","</ol>"):t.list==="variable"?ze("<dl>","</dl>"):t.list==="task"?ze('<ul class="task-list">',"</ul>"):ze("<ul>","</ul>")),"item:block":(t,r)=>(e,n,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,n),t.writeRaw("</li>")},"comment:block":St,defn:ze("","</dd>"),"term:para":ze("<dt>","</dt><dd>"),nested:Or(wr,1),output:Or(ze("<pre><samp>","</samp></pre>"),1),input:Or(ze("<pre><kbd>","</kbd></pre>"),1),"table:block":Or((t,r)=>(e,n,s)=>{let o=Dt(e,n);t.writeRaw("<table>"),o.exists("caption")&&(t.writeRaw("<caption>"),t.write(o.getFirstValue("caption")),t.writeRaw("</caption>"));let l={...n,...e.align&&{"table.align":e.align}},f=e.content||[],c=F=>F&&F.name==="row"&&Array.isArray(F.config)&&F.config.some(N=>N.name==="header"&&N.value!==!1);if(!f.some(c)){s(f,l),t.writeRaw("</table>");return}let h=f.filter(F=>F&&F.name==="row"),$=f.filter(F=>!F||F.name!=="row"),v=0;for(;v<h.length&&c(h[v]);)v++;let A=h.slice(0,v),x=h.slice(v);s($,l),t.writeRaw("<thead>"),s(A,l),t.writeRaw("</thead>"),x.length>0&&(t.writeRaw("<tbody>"),s(x,l),t.writeRaw("</tbody>")),t.writeRaw("</table>")}),":separator":St,row:(t,r)=>(e,n,s)=>{let o=Dt(e,n),l=o.exists("header")&&o.getFirstValue("header")!==!1;t.writeRaw("<tr>"),s(e.content,{...n,__row_header:l,cellinRow:0}),t.writeRaw("</tr>")},cell:(t,r)=>(e,n,s)=>{let o=n.__row_header?"th":"td",l=Dt(e,n),f=l.exists("colspan")?l.getFirstValue("colspan"):null,c=l.exists("rowspan")?l.getFirstValue("rowspan"):null,g=($=>{if(!Array.isArray($))return null;let v=n.cellinRow++;return $[v]||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(`<${o}${h}>`),s(e.content,n),t.writeRaw(`</${o}>`)},":toc":(t,r)=>(e,n,s)=>{t.writeRaw('<div className="toc">');let o=Dt(e,n);if(o.exists("title")){let l=o.getFirstValue("title");t.writeRaw('<div className="toctitle">'),t.write(l),t.writeRaw("</div>")}s(e.content,n),t.writeRaw("</div>")},":toc-list":Ir((t,r)=>ze(`<ul class="toc-list listlevel${t.level}">`,"</ul>")),":toc-item":Ir((t,r)=>ze('<li class="toc-item">',"</li>")),":image":(t,r)=>(e,n,s)=>{t.writeRaw(`<img src="${e.src}" alt="${e.alt}"/>`)}};var EA=new Vd.default({strict:!0,allowUnionTypes:!0});function vd(){var t=[];return r.use=e,r.parse=n,r.use(Ad),r.use(Pd),r.use(Td),r.use(Od),r.use(Md),r.use(Sd),r.use(Id),r.use(Fd),r;function r(){}function e(s){if(!["function"].includes(typeof s))throw s;return t.push(s),r}function n(s,o={skipChain:0,podMode:1}){let{skipChain:l=0,podMode:f=1}=o,c=Ud.parse(s,{podMode:f});if(!l)for(let g=0;g<t.length;g++){let h=t[g];c=h(o)(c)}return c}}var bd=vd().parse;var{version:_A}=zd();function qu(t){if(t)throw t}var pm=zr(Gd(),1),Hu=zr(tm(),1);function oo(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 rm(){let t=[],r={run:e,use:n};return r;function e(...s){let o=-1,l=s.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);f(null,...s);function f(c,...g){let h=t[++o],$=-1;if(c){l(c);return}for(;++$<s.length;)(g[$]===null||g[$]===void 0)&&(g[$]=s[$]);s=g,h?Ck(h,f)(...g):l(null,...g)}}function n(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),r}}function Ck(t,r){let e;return n;function n(...l){let f=t.length>l.length,c;f&&l.push(s);try{c=t.apply(this,l)}catch(g){let h=g;if(f&&e)throw h;return s(h)}f||(c instanceof Promise?c.then(o,s):c instanceof Error?s(c):o(c))}function s(l,...f){e||(e=!0,r(l,...f))}function o(l){s(null,l)}}var lm=zr(im(),1);function Ti(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?sm(t.position):"start"in t||"end"in t?sm(t):"line"in t||"column"in t?Du(t):""}function Du(t){return om(t&&t.line)+":"+om(t&&t.column)}function sm(t){return Du(t&&t.start)+"-"+Du(t&&t.end)}function om(t){return t&&typeof t=="number"?t:1}var kr=class extends Error{constructor(r,e,n){let s=[null,null],o={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?s[1]=n:(s[0]=n.slice(0,l),s[1]=n.slice(l+1))}e&&("type"in e||"position"in e?e.position&&(o=e.position):"start"in e||"end"in e?o=e:("line"in e||"column"in e)&&(o.start=e)),this.name=Ti(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=o.start.line,this.column=o.start.column,this.source=s[0],this.ruleId=s[1],this.position=o,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=zr(require("path"),1);var Nu=zr(require("process"),1);var Lu=require("url");function ca(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}var ju=["history","path","basename","stem","extname","dirname"],ao=class{constructor(r){let e;r?typeof r=="string"||(0,lm.default)(r)?e={value:r}:ca(r)?e={path:r}:e=r:e={},this.data={},this.messages=[],this.history=[],this.cwd=Nu.default.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<ju.length;){let o=ju[n];o in e&&e[o]!==void 0&&(this[o]=o==="history"?[...e[o]]:e[o])}let s;for(s in e)ju.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(r){ca(r)&&(r=(0,Lu.fileURLToPath)(r)),Mu(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){am(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){Mu(r,"basename"),Bu(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(Bu(r,"extname"),am(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){Mu(r,"stem"),Bu(r,"stem"),this.path=rn.default.join(this.dirname||"",r+(this.extname||""))}toString(r){return(this.value||"").toString(r)}message(r,e,n){let s=new kr(r,e,n);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(r,e,n){let s=this.message(r,e,n);return s.fatal=null,s}fail(r,e,n){let s=this.message(r,e,n);throw s.fatal=!0,s}};function Bu(t,r){if(t&&t.includes(rn.default.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+rn.default.sep+"`")}function Mu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function am(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}var Gu=mm().freeze(),dm={}.hasOwnProperty;function mm(){let t=rm(),r=[],e={},n,s=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=f,o.attachers=r,o.use=c,o.parse=g,o.stringify=h,o.run=$,o.runSync=v,o.process=A,o.processSync=x,o;function o(){let F=mm(),N=-1;for(;++N<r.length;)F.use(...r[N]);return F.data((0,Hu.default)(!0,{},e)),F}function l(F,N){return typeof F=="string"?arguments.length===2?(Uu("data",n),e[F]=N,o):dm.call(e,F)&&e[F]||null:F?(Uu("data",n),e=F,o):e}function f(){if(n)return o;for(;++s<r.length;){let[F,...N]=r[s];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);let z=F.call(o,...N);typeof z=="function"&&t.use(z)}return n=!0,s=Number.POSITIVE_INFINITY,o}function c(F,...N){let z;if(Uu("use",n),F!=null)if(typeof F=="function")ge(F,...N);else if(typeof F=="object")Array.isArray(F)?be(F):ae(F);else throw new TypeError("Expected usable value, not `"+F+"`");return z&&(e.settings=Object.assign(e.settings||{},z)),o;function Y(ee){if(typeof ee=="function")ge(ee);else if(typeof ee=="object")if(Array.isArray(ee)){let[de,...ve]=ee;ge(de,...ve)}else ae(ee);else throw new TypeError("Expected usable value, not `"+ee+"`")}function ae(ee){be(ee.plugins),ee.settings&&(z=Object.assign(z||{},ee.settings))}function be(ee){let de=-1;if(ee!=null)if(Array.isArray(ee))for(;++de<ee.length;){let ve=ee[de];Y(ve)}else throw new TypeError("Expected a list of plugins, not `"+ee+"`")}function ge(ee,de){let ve=-1,ke;for(;++ve<r.length;)if(r[ve][0]===ee){ke=r[ve];break}ke?(oo(ke[1])&&oo(de)&&(de=(0,Hu.default)(!0,ke[1],de)),ke[1]=de):r.push([...arguments])}}function g(F){o.freeze();let N=lo(F),z=o.Parser;return zu("parse",z),um(z,"parse")?new z(String(N),N).parse():z(String(N),N)}function h(F,N){o.freeze();let z=lo(N),Y=o.Compiler;return Vu("stringify",Y),fm(F),um(Y,"compile")?new Y(F,z).compile():Y(F,z)}function $(F,N,z){if(fm(F),o.freeze(),!z&&typeof N=="function"&&(z=N,N=void 0),!z)return new Promise(Y);Y(null,z);function Y(ae,be){t.run(F,lo(N),ge);function ge(ee,de,ve){de=de||F,ee?be(ee):ae?ae(de):z(null,de,ve)}}}function v(F,N){let z,Y;return o.run(F,N,ae),cm("runSync","run",Y),z;function ae(be,ge){qu(be),z=ge,Y=!0}}function A(F,N){if(o.freeze(),zu("process",o.Parser),Vu("process",o.Compiler),!N)return new Promise(z);z(null,N);function z(Y,ae){let be=lo(F);o.run(o.parse(be),be,(ee,de,ve)=>{if(ee||!de||!ve)ge(ee);else{let ke=o.stringify(de,ve);ke==null||(_k(ke)?ve.value=ke:ve.result=ke),ge(ee,ve)}});function ge(ee,de){ee||!de?ae(ee):Y?Y(de):N(null,de)}}}function x(F){let N;o.freeze(),zu("processSync",o.Parser),Vu("processSync",o.Compiler);let z=lo(F);return o.process(z,Y),cm("processSync","process",N),z;function Y(ae){N=!0,qu(ae)}}}function um(t,r){return typeof t=="function"&&t.prototype&&(Ak(t.prototype)||r in t.prototype)}function Ak(t){let r;for(r in t)if(dm.call(t,r))return!0;return!1}function zu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Vu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Uu(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 fm(t){if(!oo(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function cm(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function lo(t){return Ek(t)?t:new ao(t)}function Ek(t){return Boolean(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function _k(t){return typeof t=="string"||(0,pm.default)(t)}function gm(t,r){var{includeImageAlt:e=!0}=r||{};return ym(t,e)}function ym(t,r){return t&&typeof t=="object"&&(t.value||(r?t.alt:"")||"children"in t&&hm(t.children,r)||Array.isArray(t)&&hm(t,r))||""}function hm(t,r){for(var e=[],n=-1;++n<t.length;)e[n]=ym(t[n],r);return e.join("")}function It(t,r,e,n){let s=t.length,o=0,l;if(r<0?r=-r>s?0:s+r:r=r>s?s: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]);o<n.length;)l=n.slice(o,o+1e4),l.unshift(r,0),[].splice.apply(t,l),o+=1e4,r+=1e4}function vr(t,r){return t.length>0?(It(t,t.length,0,r),t):r}var $m={}.hasOwnProperty;function pa(t){let r={},e=-1;for(;++e<t.length;)Sk(r,t[e]);return r}function Sk(t,r){let e;for(e in r){let s=($m.call(t,e)?t[e]:void 0)||(t[e]={}),o=r[e],l;for(l in o){$m.call(s,l)||(s[l]=[]);let f=o[l];Pk(s[l],Array.isArray(f)?f:f?[f]:[])}}}function Pk(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 bm=/[!-/:-@[-`{-~\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]/),Fi=ni(/\d/),wm=ni(/[\dA-Fa-f]/),Ut=ni(/[\dA-Za-z]/),km=ni(/[!-/:-@[-`{-~]/),Ku=ni(/[#-'*+\--9=?A-Z^-~]/);function ri(t){return t!==null&&(t<32||t===127)}function rt(t){return t!==null&&(t<0||t===32)}function ce(t){return t!==null&&t<-2}function He(t){return t===-2||t===-1||t===32}var Ii=ni(/\s/),Oi=ni(bm);function ni(t){return r;function r(e){return e!==null&&t.test(String.fromCharCode(e))}}function xe(t,r,e,n){let s=n?n-1:Number.POSITIVE_INFINITY,o=0;return l;function l(c){return He(c)?(t.enter(e),f(c)):r(c)}function f(c){return He(c)&&o++<s?(t.consume(c),f):(t.exit(e),r(c))}}var vm={tokenize:Tk};function Tk(t){let r=t.attempt(this.parser.constructs.contentInitial,n,s),e;return r;function n(f){if(f===null){t.consume(f);return}return t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),xe(t,r,"linePrefix")}function s(f){return t.enter("paragraph"),o(f)}function o(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"),o):(t.consume(f),l)}}var Cm={tokenize:Fk},xm={tokenize:Ik};function Fk(t){let r=this,e=[],n=0,s,o,l;return f;function f(ae){if(n<e.length){let be=e[n];return r.containerState=be[1],t.attempt(be[0].continuation,c,g)(ae)}return g(ae)}function c(ae){if(n++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,s&&Y();let be=r.events.length,ge=be,ee;for(;ge--;)if(r.events[ge][0]==="exit"&&r.events[ge][1].type==="chunkFlow"){ee=r.events[ge][1].end;break}z(n);let de=be;for(;de<r.events.length;)r.events[de][1].end=Object.assign({},ee),de++;return It(r.events,ge+1,0,r.events.slice(be)),r.events.length=de,g(ae)}return f(ae)}function g(ae){if(n===e.length){if(!s)return v(ae);if(s.currentConstruct&&s.currentConstruct.concrete)return x(ae);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(xm,h,$)(ae)}function h(ae){return s&&Y(),z(n),v(ae)}function $(ae){return r.parser.lazy[r.now().line]=n!==e.length,l=r.now().offset,x(ae)}function v(ae){return r.containerState={},t.attempt(xm,A,x)(ae)}function A(ae){return n++,e.push([r.currentConstruct,r.containerState]),v(ae)}function x(ae){if(ae===null){s&&Y(),z(0),t.consume(ae);return}return s=s||r.parser.flow(r.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:s}),F(ae)}function F(ae){if(ae===null){N(t.exit("chunkFlow"),!0),z(0),t.consume(ae);return}return ce(ae)?(t.consume(ae),N(t.exit("chunkFlow")),n=0,r.interrupt=void 0,f):(t.consume(ae),F)}function N(ae,be){let ge=r.sliceStream(ae);if(be&&ge.push(null),ae.previous=o,o&&(o.next=ae),o=ae,s.defineSkip(ae.start),s.write(ge),r.parser.lazy[ae.start.line]){let ee=s.events.length;for(;ee--;)if(s.events[ee][1].start.offset<l&&(!s.events[ee][1].end||s.events[ee][1].end.offset>l))return;let de=r.events.length,ve=de,ke,De;for(;ve--;)if(r.events[ve][0]==="exit"&&r.events[ve][1].type==="chunkFlow"){if(ke){De=r.events[ve][1].end;break}ke=!0}for(z(n),ee=de;ee<r.events.length;)r.events[ee][1].end=Object.assign({},De),ee++;It(r.events,ve+1,0,r.events.slice(de)),r.events.length=ee}}function z(ae){let be=e.length;for(;be-- >ae;){let ge=e[be];r.containerState=ge[1],ge[0].exit.call(r,t)}e.length=ae}function Y(){s.write([null]),o=void 0,s=void 0,r.containerState._closeFlow=void 0}}function Ik(t,r,e){return xe(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ms(t){if(t===null||rt(t)||Ii(t))return 1;if(Oi(t))return 2}function ii(t,r,e){let n=[],s=-1;for(;++s<t.length;){let o=t[s].resolveAll;o&&!n.includes(o)&&(r=o(r,e),n.push(o))}return r}var uo={name:"attention",tokenize:Rk,resolveAll:Ok};function Ok(t,r){let e=-1,n,s,o,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 $=Object.assign({},t[n][1].end),v=Object.assign({},t[e][1].start);Am($,-c),Am(v,c),l={type:c>1?"strongSequence":"emphasisSequence",start:$,end:Object.assign({},t[n][1].end)},f={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[e][1].start),end:v},o={type:c>1?"strongText":"emphasisText",start:Object.assign({},t[n][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[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",s,r],["enter",l,r],["exit",l,r],["enter",o,r]]),g=vr(g,ii(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),g=vr(g,[["exit",o,r],["enter",f,r],["exit",f,r],["exit",s,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 Rk(t,r){let e=this.parser.constructs.attentionMarkers.null,n=this.previous,s=ms(n),o;return l;function l(c){return t.enter("attentionSequence"),o=c,f(c)}function f(c){if(c===o)return t.consume(c),f;let g=t.exit("attentionSequence"),h=ms(c),$=!h||h===2&&s||e.includes(c),v=!s||s===2&&h||e.includes(n);return g._open=Boolean(o===42?$:$&&(s||!v)),g._close=Boolean(o===42?v:v&&(h||!$)),r(c)}}function Am(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}var Wu={name:"autolink",tokenize:qk};function qk(t,r,e){let n=1;return s;function s(x){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(x){return fr(x)?(t.consume(x),l):Ku(x)?g(x):e(x)}function l(x){return x===43||x===45||x===46||Ut(x)?f(x):g(x)}function f(x){return x===58?(t.consume(x),c):(x===43||x===45||x===46||Ut(x))&&n++<32?(t.consume(x),f):g(x)}function c(x){return x===62?(t.exit("autolinkProtocol"),A(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):Ku(x)?(t.consume(x),g):e(x)}function h(x){return Ut(x)?$(x):e(x)}function $(x){return x===46?(t.consume(x),n=0,h):x===62?(t.exit("autolinkProtocol").type="autolinkEmail",A(x)):v(x)}function v(x){return(x===45||Ut(x))&&n++<63?(t.consume(x),x===45?v:$):e(x)}function A(x){return t.enter("autolinkMarker"),t.consume(x),t.exit("autolinkMarker"),t.exit("autolink"),r}}var Sn={tokenize:Dk,partial:!0};function Dk(t,r,e){return xe(t,n,"linePrefix");function n(s){return s===null||ce(s)?r(s):e(s)}}var da={name:"blockQuote",tokenize:Nk,continuation:{tokenize:Lk},exit:jk};function Nk(t,r,e){let n=this;return s;function s(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"),o}return e(l)}function o(l){return He(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(l))}}function Lk(t,r,e){return xe(t,t.attempt(da,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function jk(t){t.exit("blockQuote")}var ma={name:"characterEscape",tokenize:Bk};function Bk(t,r,e){return n;function n(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),s}function s(o){return km(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):e(o)}}var Ju={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
41
+ `,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 Mk={}.hasOwnProperty;function hs(t){return Mk.call(Ju,t)?Ju[t]:!1}var ha={name:"characterReference",tokenize:zk};function zk(t,r,e){let n=this,s=0,o,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"),g):(t.enter("characterReferenceValue"),o=31,l=Ut,h($))}function g($){return $===88||$===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume($),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,l=wm,h):(t.enter("characterReferenceValue"),o=7,l=Fi,h($))}function h($){let v;return $===59&&s?(v=t.exit("characterReferenceValue"),l===Ut&&!hs(n.sliceSerialize(v))?e($):(t.enter("characterReferenceMarker"),t.consume($),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)):l($)&&s++<o?(t.consume($),h):e($)}}var ga={name:"codeFenced",tokenize:Vk,concrete:!0};function Vk(t,r,e){let n=this,s={tokenize:ge,partial:!0},o={tokenize:be,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(ee){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g=ee,$(ee)}function $(ee){return ee===g?(t.consume(ee),c++,$):(t.exit("codeFencedFenceSequence"),c<3?e(ee):xe(t,v,"whitespace")(ee))}function v(ee){return ee===null||ce(ee)?N(ee):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),A(ee))}function A(ee){return ee===null||rt(ee)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),xe(t,x,"whitespace")(ee)):ee===96&&ee===g?e(ee):(t.consume(ee),A)}function x(ee){return ee===null||ce(ee)?N(ee):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),F(ee))}function F(ee){return ee===null||ce(ee)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),N(ee)):ee===96&&ee===g?e(ee):(t.consume(ee),F)}function N(ee){return t.exit("codeFencedFence"),n.interrupt?r(ee):z(ee)}function z(ee){return ee===null?ae(ee):ce(ee)?t.attempt(o,t.attempt(s,ae,f?xe(t,z,"linePrefix",f+1):z),ae)(ee):(t.enter("codeFlowValue"),Y(ee))}function Y(ee){return ee===null||ce(ee)?(t.exit("codeFlowValue"),z(ee)):(t.consume(ee),Y)}function ae(ee){return t.exit("codeFenced"),r(ee)}function be(ee,de,ve){let ke=this;return De;function De(Se){return ee.enter("lineEnding"),ee.consume(Se),ee.exit("lineEnding"),Te}function Te(Se){return ke.parser.lazy[ke.now().line]?ve(Se):de(Se)}}function ge(ee,de,ve){let ke=0;return xe(ee,De,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function De(me){return ee.enter("codeFencedFence"),ee.enter("codeFencedFenceSequence"),Te(me)}function Te(me){return me===g?(ee.consume(me),ke++,Te):ke<c?ve(me):(ee.exit("codeFencedFenceSequence"),xe(ee,Se,"whitespace")(me))}function Se(me){return me===null||ce(me)?(ee.exit("codeFencedFence"),de(me)):ve(me)}}}var fo={name:"codeIndented",tokenize:Hk},Uk={tokenize:Gk,partial:!0};function Hk(t,r,e){let n=this;return s;function s(g){return t.enter("codeIndented"),xe(t,o,"linePrefix",4+1)(g)}function o(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(Uk,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 Gk(t,r,e){let n=this;return s;function s(l){return n.parser.lazy[n.now().line]?e(l):ce(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):xe(t,o,"linePrefix",4+1)(l)}function o(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)?s(l):e(l)}}var Zu={name:"codeText",tokenize:Jk,resolve:Kk,previous:Wk};function Kk(t){let r=t.length-4,e=3,n,s;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;)s===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(s=n):(n===r||t[n][1].type==="lineEnding")&&(t[s][1].type="codeTextData",n!==s+2&&(t[s][1].end=t[n-1][1].end,t.splice(s+2,n-s-2),r-=n-s-2,n=s+2),s=void 0);return t}function Wk(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Jk(t,r,e){let n=this,s=0,o,l;return f;function f(v){return t.enter("codeText"),t.enter("codeTextSequence"),c(v)}function c(v){return v===96?(t.consume(v),s++,c):(t.exit("codeTextSequence"),g(v))}function g(v){return v===null?e(v):v===96?(l=t.enter("codeTextSequence"),o=0,$(v)):v===32?(t.enter("space"),t.consume(v),t.exit("space"),g):ce(v)?(t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),g):(t.enter("codeTextData"),h(v))}function h(v){return v===null||v===32||v===96||ce(v)?(t.exit("codeTextData"),g(v)):(t.consume(v),h)}function $(v){return v===96?(t.consume(v),o++,$):o===s?(t.exit("codeTextSequence"),t.exit("codeText"),r(v)):(l.type="codeTextData",h(v))}}function ya(t){let r={},e=-1,n,s,o,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,o=0,o<c.length&&c[o][1].type==="lineEndingBlank"&&(o+=2),o<c.length&&c[o][1].type==="content"))for(;++o<c.length&&c[o][1].type!=="content";)c[o][1].type==="chunkText"&&(c[o][1]._isInFirstContentOfListItem=!0,o++);if(n[0]==="enter")n[1].contentType&&(Object.assign(r,Zk(t,e)),e=r[e],g=!0);else if(n[1]._container){for(o=e,s=void 0;o--&&(l=t[o],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(s&&(t[s][1].type="lineEndingBlank"),l[1].type="lineEnding",s=o);s&&(n[1].end=Object.assign({},t[s][1].start),f=t.slice(s,e),f.unshift(n),It(t,s,e-s+1,f))}}return!g}function Zk(t,r){let e=t[r][1],n=t[r][2],s=r-1,o=[],l=e._tokenizer||n.parser[e.contentType](e.start),f=l.events,c=[],g={},h,$,v=-1,A=e,x=0,F=0,N=[F];for(;A;){for(;t[++s][1]!==A;);o.push(s),A._tokenizer||(h=n.sliceStream(A),A.next||h.push(null),$&&l.defineSkip(A.start),A._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(h),A._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),$=A,A=A.next}for(A=e;++v<f.length;)f[v][0]==="exit"&&f[v-1][0]==="enter"&&f[v][1].type===f[v-1][1].type&&f[v][1].start.line!==f[v][1].end.line&&(F=v+1,N.push(F),A._tokenizer=void 0,A.previous=void 0,A=A.next);for(l.events=[],A?(A._tokenizer=void 0,A.previous=void 0):N.pop(),v=N.length;v--;){let z=f.slice(N[v],N[v+1]),Y=o.pop();c.unshift([Y,Y+z.length-1]),It(t,Y,2,z)}for(v=-1;++v<c.length;)g[x+c[v][0]]=x+c[v][1],x+=c[v][1]-c[v][0]-1;return g}var Qu={tokenize:Yk,resolve:Xk},Qk={tokenize:ev,partial:!0};function Xk(t){return ya(t),t}function Yk(t,r){let e;return n;function n(f){return t.enter("content"),e=t.enter("chunkContent",{contentType:"content"}),s(f)}function s(f){return f===null?o(f):ce(f)?t.check(Qk,l,o)(f):(t.consume(f),s)}function o(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 ev(t,r,e){let n=this;return s;function s(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),xe(t,o,"linePrefix")}function o(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,s,o,l,f,c){let g=c||Number.POSITIVE_INFINITY,h=0;return $;function $(z){return z===60?(t.enter(n),t.enter(s),t.enter(o),t.consume(z),t.exit(o),v):z===null||z===41||ri(z)?e(z):(t.enter(n),t.enter(l),t.enter(f),t.enter("chunkString",{contentType:"string"}),F(z))}function v(z){return z===62?(t.enter(o),t.consume(z),t.exit(o),t.exit(s),t.exit(n),r):(t.enter(f),t.enter("chunkString",{contentType:"string"}),A(z))}function A(z){return z===62?(t.exit("chunkString"),t.exit(f),v(z)):z===null||z===60||ce(z)?e(z):(t.consume(z),z===92?x:A)}function x(z){return z===60||z===62||z===92?(t.consume(z),A):A(z)}function F(z){return z===40?++h>g?e(z):(t.consume(z),F):z===41?h--?(t.consume(z),F):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(z)):z===null||rt(z)?h?e(z):(t.exit("chunkString"),t.exit(f),t.exit(l),t.exit(n),r(z)):ri(z)?e(z):(t.consume(z),z===92?N:F)}function N(z){return z===40||z===41||z===92?(t.consume(z),F):F(z)}}function ba(t,r,e,n,s,o){let l=this,f=0,c;return g;function g(A){return t.enter(n),t.enter(s),t.consume(A),t.exit(s),t.enter(o),h}function h(A){return A===null||A===91||A===93&&!c||A===94&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?e(A):A===93?(t.exit(o),t.enter(s),t.consume(A),t.exit(s),t.exit(n),r):ce(A)?(t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),h):(t.enter("chunkString",{contentType:"string"}),$(A))}function $(A){return A===null||A===91||A===93||ce(A)||f++>999?(t.exit("chunkString"),h(A)):(t.consume(A),c=c||!He(A),A===92?v:$)}function v(A){return A===91||A===92||A===93?(t.consume(A),f++,$):$(A)}}function wa(t,r,e,n,s,o){let l;return f;function f(v){return t.enter(n),t.enter(s),t.consume(v),t.exit(s),l=v===40?41:v,c}function c(v){return v===l?(t.enter(s),t.consume(v),t.exit(s),t.exit(n),r):(t.enter(o),g(v))}function g(v){return v===l?(t.exit(o),c(l)):v===null?e(v):ce(v)?(t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),xe(t,g,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),h(v))}function h(v){return v===l||v===null||ce(v)?(t.exit("chunkString"),g(v)):(t.consume(v),v===92?$:h)}function $(v){return v===l||v===92?(t.consume(v),h):h(v)}}function Ri(t,r){let e;return n;function n(s){return ce(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e=!0,n):He(s)?xe(t,n,e?"linePrefix":"lineSuffix")(s):r(s)}}function cr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Xu={name:"definition",tokenize:rv},tv={tokenize:nv,partial:!0};function rv(t,r,e){let n=this,s;return o;function o(c){return t.enter("definition"),ba.call(n,t,l,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function l(c){return s=cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),c===58?(t.enter("definitionMarker"),t.consume(c),t.exit("definitionMarker"),Ri(t,$a(t,t.attempt(tv,xe(t,f,"whitespace"),xe(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(s)||n.parser.defined.push(s),r(c)):e(c)}}function nv(t,r,e){return n;function n(l){return rt(l)?Ri(t,s)(l):e(l)}function s(l){return l===34||l===39||l===40?wa(t,xe(t,o,"whitespace"),e,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):e(l)}function o(l){return l===null||ce(l)?r(l):e(l)}}var Yu={name:"hardBreakEscape",tokenize:iv};function iv(t,r,e){return n;function n(o){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(o),s}function s(o){return ce(o)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),r(o)):e(o)}}var ef={name:"headingAtx",tokenize:ov,resolve:sv};function sv(t,r){let e=t.length-2,n=3,s,o;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&&(s={type:"atxHeadingText",start:t[n][1].start,end:t[e][1].end},o={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},It(t,n,e-n+1,[["enter",s,r],["enter",o,r],["exit",o,r],["exit",s,r]])),t}function ov(t,r,e){let n=this,s=0;return o;function o(h){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),l(h)}function l(h){return h===35&&s++<6?(t.consume(h),l):h===null||rt(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)):He(h)?xe(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||rt(h)?(t.exit("atxHeadingText"),f(h)):(t.consume(h),g)}}var Em=["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"],tf=["pre","script","style","textarea"];var rf={name:"htmlFlow",tokenize:uv,resolveTo:lv,concrete:!0},av={tokenize:fv,partial:!0};function lv(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 uv(t,r,e){let n=this,s,o,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),$):H===47?(t.consume(H),x):H===63?(t.consume(H),s=3,n.interrupt?r:$t):fr(H)?(t.consume(H),l=String.fromCharCode(H),o=!0,F):e(H)}function $(H){return H===45?(t.consume(H),s=2,v):H===91?(t.consume(H),s=5,l="CDATA[",f=0,A):fr(H)?(t.consume(H),s=4,n.interrupt?r:$t):e(H)}function v(H){return H===45?(t.consume(H),n.interrupt?r:$t):e(H)}function A(H){return H===l.charCodeAt(f++)?(t.consume(H),f===l.length?n.interrupt?r:Te:A):e(H)}function x(H){return fr(H)?(t.consume(H),l=String.fromCharCode(H),F):e(H)}function F(H){return H===null||H===47||H===62||rt(H)?H!==47&&o&&tf.includes(l.toLowerCase())?(s=1,n.interrupt?r(H):Te(H)):Em.includes(l.toLowerCase())?(s=6,H===47?(t.consume(H),N):n.interrupt?r(H):Te(H)):(s=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(H):o?Y(H):z(H)):H===45||Ut(H)?(t.consume(H),l+=String.fromCharCode(H),F):e(H)}function N(H){return H===62?(t.consume(H),n.interrupt?r:Te):e(H)}function z(H){return He(H)?(t.consume(H),z):ke(H)}function Y(H){return H===47?(t.consume(H),ke):H===58||H===95||fr(H)?(t.consume(H),ae):He(H)?(t.consume(H),Y):ke(H)}function ae(H){return H===45||H===46||H===58||H===95||Ut(H)?(t.consume(H),ae):be(H)}function be(H){return H===61?(t.consume(H),ge):He(H)?(t.consume(H),be):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,ee):He(H)?(t.consume(H),ge):(c=null,de(H))}function ee(H){return H===null||ce(H)?e(H):H===c?(t.consume(H),ve):(t.consume(H),ee)}function de(H){return H===null||H===34||H===39||H===60||H===61||H===62||H===96||rt(H)?be(H):(t.consume(H),de)}function ve(H){return H===47||H===62||He(H)?Y(H):e(H)}function ke(H){return H===62?(t.consume(H),De):e(H)}function De(H){return He(H)?(t.consume(H),De):H===null||ce(H)?Te(H):e(H)}function Te(H){return H===45&&s===2?(t.consume(H),Qe):H===60&&s===1?(t.consume(H),te):H===62&&s===4?(t.consume(H),nt):H===63&&s===3?(t.consume(H),$t):H===93&&s===5?(t.consume(H),Xe):ce(H)&&(s===6||s===7)?t.check(av,nt,Se)(H):H===null||ce(H)?Se(H):(t.consume(H),Te)}function Se(H){return t.exit("htmlFlowData"),me(H)}function me(H){return H===null?V(H):ce(H)?t.attempt({tokenize:Ae,partial:!0},me,V)(H):(t.enter("htmlFlowData"),Te(H))}function Ae(H,Ht,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):Ht(At)}}function Qe(H){return H===45?(t.consume(H),$t):Te(H)}function te(H){return H===47?(t.consume(H),l="",xt):Te(H)}function xt(H){return H===62&&tf.includes(l.toLowerCase())?(t.consume(H),nt):fr(H)&&l.length<8?(t.consume(H),l+=String.fromCharCode(H),xt):Te(H)}function Xe(H){return H===93?(t.consume(H),$t):Te(H)}function $t(H){return H===62?(t.consume(H),nt):H===45&&s===2?(t.consume(H),$t):Te(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 fv(t,r,e){return n;function n(s){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),t.attempt(Sn,r,e)}}var nf={name:"htmlText",tokenize:cv};function cv(t,r,e){let n=this,s,o,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),de):V===63?(t.consume(V),ge):fr(V)?(t.consume(V),De):e(V)}function h(V){return V===45?(t.consume(V),$):V===91?(t.consume(V),o="CDATA[",l=0,N):fr(V)?(t.consume(V),be):e(V)}function $(V){return V===45?(t.consume(V),v):e(V)}function v(V){return V===null||V===62?e(V):V===45?(t.consume(V),A):x(V)}function A(V){return V===null||V===62?e(V):x(V)}function x(V){return V===null?e(V):V===45?(t.consume(V),F):ce(V)?(f=x,Xe(V)):(t.consume(V),x)}function F(V){return V===45?(t.consume(V),nt):x(V)}function N(V){return V===o.charCodeAt(l++)?(t.consume(V),l===o.length?z:N):e(V)}function z(V){return V===null?e(V):V===93?(t.consume(V),Y):ce(V)?(f=z,Xe(V)):(t.consume(V),z)}function Y(V){return V===93?(t.consume(V),ae):z(V)}function ae(V){return V===62?nt(V):V===93?(t.consume(V),ae):z(V)}function be(V){return V===null||V===62?nt(V):ce(V)?(f=be,Xe(V)):(t.consume(V),be)}function ge(V){return V===null?e(V):V===63?(t.consume(V),ee):ce(V)?(f=ge,Xe(V)):(t.consume(V),ge)}function ee(V){return V===62?nt(V):ge(V)}function de(V){return fr(V)?(t.consume(V),ve):e(V)}function ve(V){return V===45||Ut(V)?(t.consume(V),ve):ke(V)}function ke(V){return ce(V)?(f=ke,Xe(V)):He(V)?(t.consume(V),ke):nt(V)}function De(V){return V===45||Ut(V)?(t.consume(V),De):V===47||V===62||rt(V)?Te(V):e(V)}function Te(V){return V===47?(t.consume(V),nt):V===58||V===95||fr(V)?(t.consume(V),Se):ce(V)?(f=Te,Xe(V)):He(V)?(t.consume(V),Te):nt(V)}function Se(V){return V===45||V===46||V===58||V===95||Ut(V)?(t.consume(V),Se):me(V)}function me(V){return V===61?(t.consume(V),Ae):ce(V)?(f=me,Xe(V)):He(V)?(t.consume(V),me):Te(V)}function Ae(V){return V===null||V===60||V===61||V===62||V===96?e(V):V===34||V===39?(t.consume(V),s=V,Qe):ce(V)?(f=Ae,Xe(V)):He(V)?(t.consume(V),Ae):(t.consume(V),s=void 0,xt)}function Qe(V){return V===s?(t.consume(V),te):V===null?e(V):ce(V)?(f=Qe,Xe(V)):(t.consume(V),Qe)}function te(V){return V===62||V===47||rt(V)?Te(V):e(V)}function xt(V){return V===null||V===34||V===39||V===60||V===61||V===96?e(V):V===62||rt(V)?Te(V):(t.consume(V),xt)}function Xe(V){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),xe(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 qi={name:"labelEnd",tokenize:yv,resolveTo:gv,resolveAll:hv},pv={tokenize:$v},dv={tokenize:bv},mv={tokenize:wv};function hv(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 gv(t,r){let e=t.length,n=0,s,o,l,f;for(;e--;)if(s=t[e][1],o){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&&(o=e,s.type!=="labelLink")){n=2;break}}else s.type==="labelEnd"&&(l=e);let c={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},g={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[l][1].end)},h={type:"labelText",start:Object.assign({},t[o+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(o+1,o+n+3)),f=vr(f,[["enter",h,r]]),f=vr(f,ii(r.parser.constructs.insideSpan.null,t.slice(o+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,o,t.length,f),t}function yv(t,r,e){let n=this,s=n.events.length,o,l;for(;s--;)if((n.events[s][1].type==="labelImage"||n.events[s][1].type==="labelLink")&&!n.events[s][1]._balanced){o=n.events[s][1];break}return f;function f(h){return o?o._inactive?g(h):(l=n.parser.defined.includes(cr(n.sliceSerialize({start:o.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(pv,r,l?r:g)(h):h===91?t.attempt(dv,r,l?t.attempt(mv,r,g):g)(h):l?r(h):g(h)}function g(h){return o._balanced=!0,e(h)}}function $v(t,r,e){return n;function n(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),Ri(t,s)}function s(c){return c===41?f(c):$a(t,o,e,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function o(c){return rt(c)?Ri(t,l)(c):f(c)}function l(c){return c===34||c===39||c===40?wa(t,Ri(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 bv(t,r,e){let n=this;return s;function s(l){return ba.call(n,t,o,e,"reference","referenceMarker","referenceString")(l)}function o(l){return n.parser.defined.includes(cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?r(l):e(l)}}function wv(t,r,e){return n;function n(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),s}function s(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),r):e(o)}}var sf={name:"labelStartImage",tokenize:kv,resolveAll:qi.resolveAll};function kv(t,r,e){let n=this;return s;function s(f){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(f),t.exit("labelImageMarker"),o}function o(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 of={name:"labelStartLink",tokenize:vv,resolveAll:qi.resolveAll};function vv(t,r,e){let n=this;return s;function s(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?e(l):r(l)}}var co={name:"lineEnding",tokenize:xv};function xv(t,r){return e;function e(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),xe(t,r,"linePrefix")}}var Di={name:"thematicBreak",tokenize:Cv};function Cv(t,r,e){let n=0,s;return o;function o(c){return t.enter("thematicBreak"),s=c,l(c)}function l(c){return c===s?(t.enter("thematicBreakSequence"),f(c)):He(c)?xe(t,l,"whitespace")(c):n<3||c!==null&&!ce(c)?e(c):(t.exit("thematicBreak"),r(c))}function f(c){return c===s?(t.consume(c),n++,f):(t.exit("thematicBreakSequence"),l(c))}}var pr={name:"list",tokenize:_v,continuation:{tokenize:Sv},exit:Tv},Av={tokenize:Fv,partial:!0},Ev={tokenize:Pv,partial:!0};function _v(t,r,e){let n=this,s=n.events[n.events.length-1],o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,l=0;return f;function f(A){let x=n.containerState.type||(A===42||A===43||A===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!n.containerState.marker||A===n.containerState.marker:Fi(A)){if(n.containerState.type||(n.containerState.type=x,t.enter(x,{_container:!0})),x==="listUnordered")return t.enter("listItemPrefix"),A===42||A===45?t.check(Di,e,g)(A):g(A);if(!n.interrupt||A===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),c(A)}return e(A)}function c(A){return Fi(A)&&++l<10?(t.consume(A),c):(!n.interrupt||l<2)&&(n.containerState.marker?A===n.containerState.marker:A===41||A===46)?(t.exit("listItemValue"),g(A)):e(A)}function g(A){return t.enter("listItemMarker"),t.consume(A),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||A,t.check(Sn,n.interrupt?e:h,t.attempt(Av,v,$))}function h(A){return n.containerState.initialBlankLine=!0,o++,v(A)}function $(A){return He(A)?(t.enter("listItemPrefixWhitespace"),t.consume(A),t.exit("listItemPrefixWhitespace"),v):e(A)}function v(A){return n.containerState.size=o+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(A)}}function Sv(t,r,e){let n=this;return n.containerState._closeFlow=void 0,t.check(Sn,s,o);function s(f){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,xe(t,r,"listItemIndent",n.containerState.size+1)(f)}function o(f){return n.containerState.furtherBlankLines||!He(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(Ev,r,l)(f))}function l(f){return n.containerState._closeFlow=!0,n.interrupt=void 0,xe(t,t.attempt(pr,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function Pv(t,r,e){let n=this;return xe(t,s,"listItemIndent",n.containerState.size+1);function s(o){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(o):e(o)}}function Tv(t){t.exit(this.containerState.type)}function Fv(t,r,e){let n=this;return xe(t,s,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(o){let l=n.events[n.events.length-1];return!He(o)&&l&&l[1].type==="listItemPrefixWhitespace"?r(o):e(o)}}var ka={name:"setextUnderline",tokenize:Ov,resolveTo:Iv};function Iv(t,r){let e=t.length,n,s,o;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){n=e;break}t[e][1].type==="paragraph"&&(s=e)}else t[e][1].type==="content"&&t.splice(e,1),!o&&t[e][1].type==="definition"&&(o=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",o?(t.splice(s,0,["enter",l,r]),t.splice(o+1,0,["exit",t[n][1],r]),t[n][1].end=Object.assign({},t[o][1].end)):t[n][1]=l,t.push(["exit",l,r]),t}function Ov(t,r,e){let n=this,s=n.events.length,o,l;for(;s--;)if(n.events[s][1].type!=="lineEnding"&&n.events[s][1].type!=="linePrefix"&&n.events[s][1].type!=="content"){l=n.events[s][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"),o=h,c(h)):e(h)}function c(h){return h===o?(t.consume(h),c):(t.exit("setextHeadingLineSequence"),xe(t,g,"lineSuffix")(h))}function g(h){return h===null||ce(h)?(t.exit("setextHeadingLine"),r(h)):e(h)}}var _m={tokenize:Rv};function Rv(t){let r=this,e=t.attempt(Sn,n,t.attempt(this.parser.constructs.flowInitial,s,xe(t,t.attempt(this.parser.constructs.flow,s,t.attempt(Qu,s)),"linePrefix")));return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function s(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),r.currentConstruct=void 0,e}}var Sm={resolveAll:Im()},Pm=Fm("string"),Tm=Fm("text");function Fm(t){return{tokenize:r,resolveAll:Im(t==="text"?qv:void 0)};function r(e){let n=this,s=this.parser.constructs[t],o=e.attempt(s,l,f);return l;function l(h){return g(h)?o(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"),o(h)):(e.consume(h),c)}function g(h){if(h===null)return!0;let $=s[h],v=-1;if($)for(;++v<$.length;){let A=$[v];if(!A.previous||A.previous.call(n,n.previous))return!0}return!1}}}function Im(t){return r;function r(e,n){let s=-1,o;for(;++s<=e.length;)o===void 0?e[s]&&e[s][1].type==="data"&&(o=s,s++):(!e[s]||e[s][1].type!=="data")&&(s!==o+2&&(e[o][1].end=e[s-1][1].end,e.splice(o+2,s-o-2),s=o+2),o=void 0);return t?t(e,n):e}}function qv(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],s=r.sliceStream(n),o=s.length,l=-1,f=0,c;for(;o--;){let g=s[o];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){o++;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+o,_bufferIndex:o?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 Om(t,r,e){let n=Object.assign(e?Object.assign({},e):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},o=[],l=[],f=[],c=!0,g={consume:be,enter:ge,exit:ee,attempt:ke(de),check:ke(ve),interrupt:ke(ve,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:F,sliceSerialize:x,now:N,defineSkip:z,write:A},$=r.tokenize.call(h,g),v;return r.resolveAll&&o.push(r),h;function A(me){return l=vr(l,me),Y(),l[l.length-1]!==null?[]:(De(r,0),h.events=ii(o,h.events,h),h.events)}function x(me,Ae){return Nv(F(me),Ae)}function F(me){return Dv(l,me)}function N(){return Object.assign({},n)}function z(me){s[me.line]=me.column,Se()}function Y(){let me;for(;n._index<l.length;){let Ae=l[n._index];if(typeof Ae=="string")for(me=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===me&&n._bufferIndex<Ae.length;)ae(Ae.charCodeAt(n._bufferIndex));else ae(Ae)}}function ae(me){c=void 0,v=me,$=$(me)}function be(me){ce(me)?(n.line++,n.column=1,n.offset+=me===-3?2:1,Se()):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,Ae){let Qe=Ae||{};return Qe.type=me,Qe.start=N(),h.events.push(["enter",Qe,h]),f.push(Qe),Qe}function ee(me){let Ae=f.pop();return Ae.end=N(),h.events.push(["exit",Ae,h]),Ae}function de(me,Ae){De(me,Ae.from)}function ve(me,Ae){Ae.restore()}function ke(me,Ae){return Qe;function Qe(te,xt,Xe){let $t,nt,V,H;return Array.isArray(te)?Nt(te):"tokenize"in te?Nt([te]):Ht(te);function Ht(lt){return qr;function qr(jt){let mr=jt!==null&&lt[jt],tr=jt!==null&&lt.null,xr=[...Array.isArray(mr)?mr:mr?[mr]:[],...Array.isArray(tr)?tr:tr?[tr]:[]];return Nt(xr)(jt)}}function Nt(lt){return $t=lt,nt=0,lt.length===0?Xe:Ct(lt[nt])}function Ct(lt){return qr;function qr(jt){return H=Te(),V=lt,lt.partial||(h.currentConstruct=lt),lt.name&&h.parser.constructs.disable.null.includes(lt.name)?At(jt):lt.tokenize.call(Ae?Object.assign(Object.create(h),Ae):h,g,Pt,At)(jt)}}function Pt(lt){return c=!0,me(V,H),xt}function At(lt){return c=!0,H.restore(),++nt<$t.length?Ct($t[nt]):Xe}}}function De(me,Ae){me.resolveAll&&!o.includes(me)&&o.push(me),me.resolve&&It(h.events,Ae,h.events.length-Ae,me.resolve(h.events.slice(Ae),h)),me.resolveTo&&(h.events=me.resolveTo(h.events,h))}function Te(){let me=N(),Ae=h.previous,Qe=h.currentConstruct,te=h.events.length,xt=Array.from(f);return{restore:Xe,from:te};function Xe(){n=me,h.previous=Ae,h.currentConstruct=Qe,h.events.length=te,f=xt,Se()}}function Se(){n.line in s&&n.column<2&&(n.column=s[n.line],n.offset+=s[n.line]-1)}}function Dv(t,r){let e=r.start._index,n=r.start._bufferIndex,s=r.end._index,o=r.end._bufferIndex,l;return e===s?l=[t[e].slice(n,o)]:(l=t.slice(e,s),n>-1&&(l[0]=l[0].slice(n)),o>0&&l.push(t[s].slice(0,o))),l}function Nv(t,r){let e=-1,n=[],s;for(;++e<t.length;){let o=t[e],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
40
42
  `;break}case-3:{l=`\r
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:`
43
+ `;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&s)continue;l=" ";break}default:l=String.fromCharCode(o)}s=o===-2,n.push(l)}return n.join("")}var af={};Wf(af,{attentionMarkers:()=>Hv,contentInitial:()=>jv,disable:()=>Gv,document:()=>Lv,flow:()=>Mv,flowInitial:()=>Bv,insideSpan:()=>Uv,string:()=>zv,text:()=>Vv});var Lv={[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},jv={[91]:Xu},Bv={[-2]:fo,[-1]:fo,[32]:fo},Mv={[35]:ef,[42]:Di,[45]:[ka,Di],[60]:rf,[61]:ka,[95]:Di,[96]:ga,[126]:ga},zv={[38]:ha,[92]:ma},Vv={[-5]:co,[-4]:co,[-3]:co,[33]:sf,[38]:ha,[42]:uo,[60]:[Wu,nf],[91]:of,[92]:[Yu,ma],[93]:qi,[95]:uo,[96]:Zu},Uv={null:[uo,Sm]},Hv={null:[42,95]},Gv={null:[]};function Rm(t={}){let r=pa([af].concat(t.extensions||[])),e={defined:[],lazy:{},constructs:r,content:n(vm),document:n(Cm),flow:n(_m),string:n(Pm),text:n(Tm)};return e;function n(s){return o;function o(l){return Om(e,s,l)}}}var qm=/[\0\t\n\r]/g;function Dm(){let t=1,r="",e=!0,n;return s;function s(o,l,f){let c=[],g,h,$,v,A;for(o=r+o.toString(l),$=0,r="",e&&(o.charCodeAt(0)===65279&&$++,e=void 0);$<o.length;){if(qm.lastIndex=$,g=qm.exec(o),v=g&&g.index!==void 0?g.index:o.length,A=o.charCodeAt(v),!g){r=o.slice($);break}if(A===10&&$===v&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),$<v&&(c.push(o.slice($,v)),t+=v-$),A){case 0:{c.push(65533),t++;break}case 9:{for(h=Math.ceil(t/4)*4,c.push(-2);t++<h;)c.push(-1);break}case 10:{c.push(-4),t=1;break}default:n=!0,t=1}$=v+1}return f&&(n&&c.push(-5),r&&c.push(r),c.push(null)),c}}function Nm(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 Kv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xa(t){return t.replace(Kv,Wv)}function Wv(t,r,e){if(r)return r;if(e.charCodeAt(0)===35){let s=e.charCodeAt(1),o=s===120||s===88;return va(e.slice(o?2:1),o?16:10)}return hs(e)||t}var lf={}.hasOwnProperty,uf=function(t,r,e){return typeof r!="string"&&(e=r,r=void 0),Jv(e)(Nm(Rm(e).document().write(Dm()(t,r,!0))))};function Jv(t={}){let r=jm({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Ze),autolinkProtocol:Se,autolinkEmail:Se,atxHeading:c(Tn),blockQuote:c(tr),characterEscape:Se,characterReference:Se,codeFenced:c(xr),codeFencedFenceInfo:g,codeFencedFenceMeta:g,codeIndented:c(xr,g),codeText:c(Gt,g),codeTextData:Se,data:Se,codeFlowValue:Se,definition:c(si),definitionDestinationString:g,definitionLabelString:g,definitionTitleString:g,emphasis:c(Ce),hardBreakEscape:c(Fn),hardBreakTrailing:c(Fn),htmlFlow:c(Ne,g),htmlFlowData:Se,htmlText:c(Ne,g),htmlTextData:Se,image:c(Pe),label:g,link:c(Ze),listItem:c(hr),listItemValue:F,listOrdered:c(bt,x),listUnordered:c(bt),paragraph:c(Re),reference:Pt,referenceString:g,resourceDestinationString:g,resourceTitleString:g,setextHeading:c(Tn),strong:c(qe),thematicBreak:c(it)},exit:{atxHeading:$(),atxHeadingSequence:ve,autolink:$(),autolinkEmail:mr,autolinkProtocol:jt,blockQuote:$(),characterEscapeValue:me,characterReferenceMarkerHexadecimal:lt,characterReferenceMarkerNumeric:lt,characterReferenceValue:qr,codeFenced:$(ae),codeFencedFence:Y,codeFencedFenceInfo:N,codeFencedFenceMeta:z,codeFlowValue:me,codeIndented:$(be),codeText:$(Xe),codeTextData:me,data:me,definition:$(),definitionDestinationString:de,definitionLabelString:ge,definitionTitleString:ee,emphasis:$(),hardBreakEscape:$(Qe),hardBreakTrailing:$(Qe),htmlFlow:$(te),htmlFlowData:me,htmlText:$(xt),htmlTextData:me,image:$(nt),label:H,labelText:V,lineEnding:Ae,link:$($t),listItem:$(),listOrdered:$(),listUnordered:$(),paragraph:$(),referenceString:At,resourceDestinationString:Ht,resourceTitleString:Nt,resource:Ct,setextHeading:$(Te),setextHeadingLineSequence:De,setextHeadingText:ke,strong:$(),thematicBreak:$()}},t.mdastExtensions||[]),e={};return n;function n(se){let fe={type:"root",children:[]},we=[fe],Ee=[],Lt=[],nn={stack:we,tokenStack:Ee,config:r,enter:h,exit:v,buffer:g,resume:A,setData:o,getData:l},st=-1;for(;++st<se.length;)if(se[st][1].type==="listOrdered"||se[st][1].type==="listUnordered")if(se[st][0]==="enter")Lt.push(st);else{let wt=Lt.pop();st=s(se,wt,st)}for(st=-1;++st<se.length;){let wt=r[se[st][0]];lf.call(wt,se[st][1].type)&&wt[se[st][1].type].call(Object.assign({sliceSerialize:se[st][2].sliceSerialize},nn),se[st][1])}if(Ee.length>0){let wt=Ee[Ee.length-1];(wt[1]||Lm).call(nn,void 0,wt[0])}for(fe.position={start:f(se.length>0?se[0][1].start:{line:1,column:1,offset:0}),end:f(se.length>0?se[se.length-2][1].end:{line:1,column:1,offset:0})},st=-1;++st<r.transforms.length;)fe=r.transforms[st](fe)||fe;return fe}function s(se,fe,we){let Ee=fe-1,Lt=-1,nn=!1,st,wt,Tt,sn;for(;++Ee<=we;){let ht=se[Ee];if(ht[1].type==="listUnordered"||ht[1].type==="listOrdered"||ht[1].type==="blockQuote"?(ht[0]==="enter"?Lt++:Lt--,sn=void 0):ht[1].type==="lineEndingBlank"?ht[0]==="enter"&&(st&&!sn&&!Lt&&!Tt&&(Tt=Ee),sn=void 0):ht[1].type==="linePrefix"||ht[1].type==="listItemValue"||ht[1].type==="listItemMarker"||ht[1].type==="listItemPrefix"||ht[1].type==="listItemPrefixWhitespace"||(sn=void 0),!Lt&&ht[0]==="enter"&&ht[1].type==="listItemPrefix"||Lt===-1&&ht[0]==="exit"&&(ht[1].type==="listUnordered"||ht[1].type==="listOrdered")){if(st){let In=Ee;for(wt=void 0;In--;){let Kt=se[In];if(Kt[1].type==="lineEnding"||Kt[1].type==="lineEndingBlank"){if(Kt[0]==="exit")continue;wt&&(se[wt][1].type="lineEndingBlank",nn=!0),Kt[1].type="lineEnding",wt=In}else if(!(Kt[1].type==="linePrefix"||Kt[1].type==="blockQuotePrefix"||Kt[1].type==="blockQuotePrefixWhitespace"||Kt[1].type==="blockQuoteMarker"||Kt[1].type==="listItemIndent"))break}Tt&&(!wt||Tt<wt)&&(st._spread=!0),st.end=Object.assign({},wt?se[wt][1].start:ht[1].end),se.splice(wt||Ee,0,["exit",st,ht[2]]),Ee++,we++}ht[1].type==="listItemPrefix"&&(st={type:"listItem",_spread:!1,start:Object.assign({},ht[1].start)},se.splice(Ee,0,["enter",st,ht[2]]),Ee++,we++,Tt=void 0,sn=!0)}}return se[fe][1]._spread=nn,we}function o(se,fe){e[se]=fe}function l(se){return e[se]}function f(se){return{line:se.line,column:se.column,offset:se.offset}}function c(se,fe){return we;function we(Ee){h.call(this,se(Ee),Ee),fe&&fe.call(this,Ee)}}function g(){this.stack.push({type:"fragment",children:[]})}function h(se,fe,we){return this.stack[this.stack.length-1].children.push(se),this.stack.push(se),this.tokenStack.push([fe,we]),se.position={start:f(fe.start)},se}function $(se){return fe;function fe(we){se&&se.call(this,we),v.call(this,we)}}function v(se,fe){let we=this.stack.pop(),Ee=this.tokenStack.pop();if(Ee)Ee[0].type!==se.type&&(fe?fe.call(this,se,Ee[0]):(Ee[1]||Lm).call(this,se,Ee[0]));else throw new Error("Cannot close `"+se.type+"` ("+Ti({start:se.start,end:se.end})+"): it\u2019s not open");return we.position.end=f(se.end),we}function A(){return gm(this.stack.pop())}function x(){o("expectingFirstListItemValue",!0)}function F(se){if(l("expectingFirstListItemValue")){let fe=this.stack[this.stack.length-2];fe.start=Number.parseInt(this.sliceSerialize(se),10),o("expectingFirstListItemValue")}}function N(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.lang=se}function z(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.meta=se}function Y(){l("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function ae(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.value=se.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function be(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.value=se.replace(/(\r?\n|\r)$/g,"")}function ge(se){let fe=this.resume(),we=this.stack[this.stack.length-1];we.label=fe,we.identifier=cr(this.sliceSerialize(se)).toLowerCase()}function ee(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.title=se}function de(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.url=se}function ve(se){let fe=this.stack[this.stack.length-1];if(!fe.depth){let we=this.sliceSerialize(se).length;fe.depth=we}}function ke(){o("setextHeadingSlurpLineEnding",!0)}function De(se){let fe=this.stack[this.stack.length-1];fe.depth=this.sliceSerialize(se).charCodeAt(0)===61?1:2}function Te(){o("setextHeadingSlurpLineEnding")}function Se(se){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(se.start)},fe.children.push(we)),this.stack.push(we)}function me(se){let fe=this.stack.pop();fe.value+=this.sliceSerialize(se),fe.position.end=f(se.end)}function Ae(se){let fe=this.stack[this.stack.length-1];if(l("atHardBreak")){let we=fe.children[fe.children.length-1];we.position.end=f(se.end),o("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(fe.type)&&(Se.call(this,se),me.call(this,se))}function Qe(){o("atHardBreak",!0)}function te(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.value=se}function xt(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.value=se}function Xe(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.value=se}function $t(){let se=this.stack[this.stack.length-1];l("inReference")?(se.type+="Reference",se.referenceType=l("referenceType")||"shortcut",delete se.url,delete se.title):(delete se.identifier,delete se.label),o("referenceType")}function nt(){let se=this.stack[this.stack.length-1];l("inReference")?(se.type+="Reference",se.referenceType=l("referenceType")||"shortcut",delete se.url,delete se.title):(delete se.identifier,delete se.label),o("referenceType")}function V(se){let fe=this.stack[this.stack.length-2],we=this.sliceSerialize(se);fe.label=xa(we),fe.identifier=cr(we).toLowerCase()}function H(){let se=this.stack[this.stack.length-1],fe=this.resume(),we=this.stack[this.stack.length-1];o("inReference",!0),we.type==="link"?we.children=se.children:we.alt=fe}function Ht(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.url=se}function Nt(){let se=this.resume(),fe=this.stack[this.stack.length-1];fe.title=se}function Ct(){o("inReference")}function Pt(){o("referenceType","collapsed")}function At(se){let fe=this.resume(),we=this.stack[this.stack.length-1];we.label=fe,we.identifier=cr(this.sliceSerialize(se)).toLowerCase(),o("referenceType","full")}function lt(se){o("characterReferenceType",se.type)}function qr(se){let fe=this.sliceSerialize(se),we=l("characterReferenceType"),Ee;we?(Ee=va(fe,we==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):Ee=hs(fe);let Lt=this.stack.pop();Lt.value+=Ee,Lt.position.end=f(se.end)}function jt(se){me.call(this,se);let fe=this.stack[this.stack.length-1];fe.url=this.sliceSerialize(se)}function mr(se){me.call(this,se);let fe=this.stack[this.stack.length-1];fe.url="mailto:"+this.sliceSerialize(se)}function tr(){return{type:"blockquote",children:[]}}function xr(){return{type:"code",lang:null,meta:null,value:""}}function Gt(){return{type:"inlineCode",value:""}}function si(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ce(){return{type:"emphasis",children:[]}}function Tn(){return{type:"heading",depth:void 0,children:[]}}function Fn(){return{type:"break"}}function Ne(){return{type:"html",value:""}}function Pe(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function bt(se){return{type:"list",ordered:se.type==="listOrdered",start:null,spread:se._spread,children:[]}}function hr(se){return{type:"listItem",spread:se._spread,checked:null,children:[]}}function Re(){return{type:"paragraph",children:[]}}function qe(){return{type:"strong",children:[]}}function mt(){return{type:"text",value:""}}function it(){return{type:"thematicBreak"}}}function jm(t,r){let e=-1;for(;++e<r.length;){let n=r[e];Array.isArray(n)?jm(t,n):Zv(t,n)}return t}function Zv(t,r){let e;for(e in r)if(lf.call(r,e)){let n=e==="canContainEols"||e==="transforms",o=(lf.call(t,e)?t[e]:void 0)||(t[e]=n?[]:{}),l=r[e];l&&(n?t[e]=[...o,...l]:Object.assign(o,l))}}function Lm(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Ti({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Ti({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Ti({start:r.start,end:r.end})+") is still open")}function ff(t){Object.assign(this,{Parser:e=>{let n=this.data("settings");return uf(e,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var Bm=ff;var Qv={tokenize:t0,partial:!0},zm={tokenize:r0,partial:!0},Vm={tokenize:n0,partial:!0},gs={tokenize:s0,partial:!0},Um={tokenize:i0,partial:!0},Hm={tokenize:Yv,previous:Wm},Gm={tokenize:e0,previous:df},Bn={tokenize:Xv,previous:Jm},Pn={},cf={text:Pn},Ni=48;for(;Ni<123;)Pn[Ni]=Bn,Ni++,Ni===58?Ni=65:Ni===91&&(Ni=97);Pn[43]=Bn;Pn[45]=Bn;Pn[46]=Bn;Pn[95]=Bn;Pn[72]=[Bn,Gm];Pn[104]=[Bn,Gm];Pn[87]=[Bn,Hm];Pn[119]=[Bn,Hm];function Xv(t,r,e){let n=this,s,o;return l;function l(A){return!Mm(A)||!Jm(n.previous)||mf(n.events)?e(A):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),f(A))}function f(A){return Mm(A)?(t.consume(A),f):A===64?(t.consume(A),c):e(A)}function c(A){return A===46?t.check(gs,v,g)(A):A===45||A===95?t.check(gs,e,h)(A):Ut(A)?(!o&&Fi(A)&&(o=!0),t.consume(A),c):v(A)}function g(A){return t.consume(A),s=!0,o=void 0,c}function h(A){return t.consume(A),$}function $(A){return A===46?t.check(gs,e,g)(A):c(A)}function v(A){return s&&!o?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),r(A)):e(A)}}function Yv(t,r,e){let n=this;return s;function s(l){return l!==87&&l!==119||!Wm(n.previous)||mf(n.events)?e(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Qv,t.attempt(zm,t.attempt(Vm,o),e),e)(l))}function o(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),r(l)}}function e0(t,r,e){let n=this;return s;function s(x){return x!==72&&x!==104||!df(n.previous)||mf(n.events)?e(x):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),t.consume(x),o)}function o(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),$):e(x)}function $(x){return x===47?(t.consume(x),v):e(x)}function v(x){return x===null||ri(x)||Ii(x)||Oi(x)?e(x):t.attempt(zm,t.attempt(Vm,A),e)(x)}function A(x){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),r(x)}}function t0(t,r,e){return n;function n(c){return t.consume(c),s}function s(c){return c===87||c===119?(t.consume(c),o):e(c)}function o(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 r0(t,r,e){let n,s;return o;function o(c){return c===38?t.check(Um,f,l)(c):c===46||c===95?t.check(gs,f,l)(c):c===null||ri(c)||Ii(c)||c!==45&&Oi(c)?f(c):(t.consume(c),o)}function l(c){return c===46?(s=n,n=void 0,t.consume(c),o):(c===95&&(n=!0),t.consume(c),o)}function f(c){return!s&&!n?r(c):e(c)}}function n0(t,r){let e=0;return n;function n(l){return l===38?t.check(Um,r,s)(l):(l===40&&e++,l===41?t.check(gs,o,s)(l):pf(l)?r(l):Km(l)?t.check(gs,r,s)(l):(t.consume(l),n))}function s(l){return t.consume(l),n}function o(l){return e--,e<0?r(l):s(l)}}function i0(t,r,e){return n;function n(l){return t.consume(l),s}function s(l){return fr(l)?(t.consume(l),s):l===59?(t.consume(l),o):e(l)}function o(l){return pf(l)?r(l):e(l)}}function s0(t,r,e){return n;function n(o){return t.consume(o),s}function s(o){return Km(o)?(t.consume(o),s):pf(o)?r(o):e(o)}}function Km(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 pf(t){return t===null||t===60||rt(t)}function Mm(t){return t===43||t===45||t===46||t===95||Ut(t)}function Wm(t){return t===null||t===40||t===42||t===95||t===126||rt(t)}function df(t){return t===null||!fr(t)}function Jm(t){return t!==47&&df(t)}function mf(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 o0={tokenize:d0,partial:!0};function hf(){return{document:{[91]:{tokenize:f0,continuation:{tokenize:c0},exit:p0}},text:{[91]:{tokenize:u0},[93]:{add:"after",tokenize:a0,resolveTo:l0}}}}function a0(t,r,e){let n=this,s=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),l;for(;s--;){let c=n.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 g=cr(n.sliceSerialize({start:l.end,end:n.now()}));return g.charCodeAt(0)!==94||!o.includes(g.slice(1))?e(c):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),r(c))}}function l0(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 s={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},o.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",o,r],["exit",o,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 u0(t,r,e){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o=0,l;return f;function f(v){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(v),t.exit("gfmFootnoteCallLabelMarker"),c}function c(v){return v!==94?e(v):(t.enter("gfmFootnoteCallMarker"),t.consume(v),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(v){let A;return v===null||v===91||o++>999?e(v):v===93?l?(t.exit("chunkString"),A=t.exit("gfmFootnoteCallString"),s.includes(cr(n.sliceSerialize(A)))?$(v):e(v)):e(v):(t.consume(v),rt(v)||(l=!0),v===92?h:g)}function h(v){return v===91||v===92||v===93?(t.consume(v),o++,g):g(v)}function $(v){return t.enter("gfmFootnoteCallLabelMarker"),t.consume(v),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r}}function f0(t,r,e){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o,l=0,f;return c;function c(F){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(F),t.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(F){return F===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(F),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),h):e(F)}function h(F){let N;return F===null||F===91||l>999?e(F):F===93?f?(N=t.exit("gfmFootnoteDefinitionLabelString"),o=cr(n.sliceSerialize(N)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(F),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),A):e(F):ce(F)?(t.enter("lineEnding"),t.consume(F),t.exit("lineEnding"),l++,h):(t.enter("chunkString").contentType="string",$(F))}function $(F){return F===null||ce(F)||F===91||F===93||l>999?(t.exit("chunkString"),h(F)):(rt(F)||(f=!0),l++,t.consume(F),F===92?v:$)}function v(F){return F===91||F===92||F===93?(t.consume(F),l++,$):$(F)}function A(F){return F===58?(t.enter("definitionMarker"),t.consume(F),t.exit("definitionMarker"),xe(t,x,"gfmFootnoteDefinitionWhitespace")):e(F)}function x(F){return s.includes(o)||s.push(o),r(F)}}function c0(t,r,e){return t.check(Sn,r,t.attempt(o0,r,e))}function p0(t){t.exit("gfmFootnoteDefinition")}function d0(t,r,e){let n=this;return xe(t,s,"gfmFootnoteDefinitionIndent",4+1);function s(o){let l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(o):e(o)}}function gf(t={}){let r=t.singleTilde,e={tokenize:s,resolveAll:n};return r==null&&(r=!0),{text:{[126]:e},insideSpan:{null:[e]},attentionMarkers:{null:[126]}};function n(o,l){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let c=f;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[f][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";let g={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[f][1].end)},h={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[f][1].start)},$=[["enter",g,l],["enter",o[c][1],l],["exit",o[c][1],l],["enter",h,l]];It($,$.length,0,ii(l.parser.constructs.insideSpan.null,o.slice(c+1,f),l)),It($,$.length,0,[["exit",h,l],["enter",o[f][1],l],["exit",o[f][1],l],["exit",g,l]]),It(o,c-1,f-c+3,$),f=c+$.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function s(o,l,f){let c=this.previous,g=this.events,h=0;return $;function $(A){return c===126&&g[g.length-1][1].type!=="characterEscape"?f(A):(o.enter("strikethroughSequenceTemporary"),v(A))}function v(A){let x=ms(c);if(A===126)return h>1?f(A):(o.consume(A),h++,v);if(h<2&&!r)return f(A);let F=o.exit("strikethroughSequenceTemporary"),N=ms(A);return F._open=!N||N===2&&Boolean(x),F._close=!x||x===2&&Boolean(N),l(A)}}}var yf={flow:{null:{tokenize:h0,resolve:m0}}},Zm={tokenize:g0,partial:!0};function m0(t,r){let e=-1,n,s,o,l,f,c,g;for(;++e<t.length;){let h=t[e][1];if(o&&(h.type==="temporaryTableCellContent"&&(l=l||e,f=e),(h.type==="tableCellDivider"||h.type==="tableRow")&&f)){let $={type:"tableContent",start:t[l][1].start,end:t[f][1].end},v={type:"chunkText",start:$.start,end:$.end,contentType:"text"};t.splice(l,f-l+1,["enter",$,r],["enter",v,r],["exit",v,r],["exit",$,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 $={type:s?"tableDelimiter":n?"tableHeader":"tableData",start:t[c][1].start,end:t[e][1].end};t.splice(e+(h.type==="tableCellDivider"?1:0),0,["exit",$,r]),t.splice(c,0,["enter",$,r]),e+=2,c=e+1,g=!0}h.type==="tableRow"&&(o=t[e][0]==="enter",o&&(c=e+1,g=!1)),h.type==="tableDelimiterRow"&&(s=t[e][0]==="enter",s&&(c=e+1,g=!1)),h.type==="tableHead"&&(n=t[e][0]==="enter")}return t}function h0(t,r,e){let n=this,s=[],o=0,l,f;return c;function c(te){return t.enter("table")._align=s,t.enter("tableHead"),t.enter("tableRow"),te===124?g(te):(o++,t.enter("temporaryTableCellContent"),v(te))}function g(te){return t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),l=!0,h}function h(te){return te===null||ce(te)?x(te):He(te)?(t.enter("whitespace"),t.consume(te),$):(l&&(l=void 0,o++),te===124?g(te):(t.enter("temporaryTableCellContent"),v(te)))}function $(te){return He(te)?(t.consume(te),$):(t.exit("whitespace"),h(te))}function v(te){return te===null||te===124||rt(te)?(t.exit("temporaryTableCellContent"),h(te)):(t.consume(te),te===92?A:v)}function A(te){return te===92||te===124?(t.consume(te),v):v(te)}function x(te){if(te===null)return e(te);t.exit("tableRow"),t.exit("tableHead");let xt=n.interrupt;return n.interrupt=!0,t.attempt({tokenize:Qe,partial:!0},function(Xe){return n.interrupt=xt,t.enter("tableDelimiterRow"),F(Xe)},function(Xe){return n.interrupt=xt,e(Xe)})(te)}function F(te){return te===null||ce(te)?be(te):He(te)?(t.enter("whitespace"),t.consume(te),N):te===45?(t.enter("tableDelimiterFiller"),t.consume(te),f=!0,s.push("none"),z):te===58?(t.enter("tableDelimiterAlignment"),t.consume(te),t.exit("tableDelimiterAlignment"),s.push("left"),Y):te===124?(t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),F):e(te)}function N(te){return He(te)?(t.consume(te),N):(t.exit("whitespace"),F(te))}function z(te){return te===45?(t.consume(te),z):(t.exit("tableDelimiterFiller"),te===58?(t.enter("tableDelimiterAlignment"),t.consume(te),t.exit("tableDelimiterAlignment"),s[s.length-1]=s[s.length-1]==="left"?"center":"right",ae):F(te))}function Y(te){return te===45?(t.enter("tableDelimiterFiller"),t.consume(te),f=!0,z):e(te)}function ae(te){return te===null||ce(te)?be(te):He(te)?(t.enter("whitespace"),t.consume(te),N):te===124?(t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),F):e(te)}function be(te){return t.exit("tableDelimiterRow"),!f||o!==s.length?e(te):te===null?ge(te):t.check(Zm,ge,t.attempt({tokenize:Qe,partial:!0},xe(t,ee,"linePrefix",4),ge))(te)}function ge(te){return t.exit("table"),r(te)}function ee(te){return t.enter("tableBody"),de(te)}function de(te){return t.enter("tableRow"),te===124?ve(te):(t.enter("temporaryTableCellContent"),Te(te))}function ve(te){return t.enter("tableCellDivider"),t.consume(te),t.exit("tableCellDivider"),ke}function ke(te){return te===null||ce(te)?me(te):He(te)?(t.enter("whitespace"),t.consume(te),De):te===124?ve(te):(t.enter("temporaryTableCellContent"),Te(te))}function De(te){return He(te)?(t.consume(te),De):(t.exit("whitespace"),ke(te))}function Te(te){return te===null||te===124||rt(te)?(t.exit("temporaryTableCellContent"),ke(te)):(t.consume(te),te===92?Se:Te)}function Se(te){return te===92||te===124?(t.consume(te),Te):Te(te)}function me(te){return t.exit("tableRow"),te===null?Ae(te):t.check(Zm,Ae,t.attempt({tokenize:Qe,partial:!0},xe(t,de,"linePrefix",4),Ae))(te)}function Ae(te){return t.exit("tableBody"),ge(te)}function Qe(te,xt,Xe){return $t;function $t(V){return te.enter("lineEnding"),te.consume(V),te.exit("lineEnding"),xe(te,nt,"linePrefix")}function nt(V){if(n.parser.lazy[n.now().line]||V===null||ce(V))return Xe(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?Xe(V):(n._gfmTableDynamicInterruptHack=!0,te.check(n.parser.constructs.flow,function(Ht){return n._gfmTableDynamicInterruptHack=!1,Xe(Ht)},function(Ht){return n._gfmTableDynamicInterruptHack=!1,xt(Ht)})(V))}}}function g0(t,r,e){let n=0;return s;function s(l){return t.enter("check"),t.consume(l),o}function o(l){return l===-1||l===32?(t.consume(l),n++,n===4?r:o):l===null||rt(l)?r(l):e(l)}}var y0={tokenize:$0},$f={text:{[91]:y0}};function $0(t,r,e){let n=this;return s;function s(f){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(f):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(f),t.exit("taskListCheckMarker"),o)}function o(f){return rt(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:b0},r,e)):e(f)}}function b0(t,r,e){let n=this;return xe(t,s,"whitespace");function s(o){let l=n.events[n.events.length-1];return(l&&l[1].type==="whitespace"||ce(o))&&o!==null?r(o):e(o)}}function Qm(t){return pa([cf,hf(),gf(t),yf,$f])}function bf(t,r){let e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,s=e.indexOf(r);for(;s!==-1;)n++,s=e.indexOf(r,s+r.length);return n}function wf(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var po=function(t){if(t==null)return x0;if(typeof t=="string")return v0(t);if(typeof t=="object")return Array.isArray(t)?w0(t):k0(t);if(typeof t=="function")return Ca(t);throw new Error("Expected function, string, or object as test")};function w0(t){let r=[],e=-1;for(;++e<t.length;)r[e]=po(t[e]);return Ca(n);function n(...s){let o=-1;for(;++o<r.length;)if(r[o].call(this,...s))return!0;return!1}}function k0(t){return Ca(r);function r(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}}function v0(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 x0(){return!0}function Xm(t){return"\x1B[33m"+t+"\x1B[39m"}var C0=!0,A0="skip",Ym=!1,eh=function(t,r,e,n){typeof r=="function"&&typeof e!="function"&&(n=e,e=r,r=null);let s=po(r),o=n?-1:1;l(t,null,[])();function l(f,c,g){let h=typeof f=="object"&&f!==null?f:{},$;return typeof h.type=="string"&&($=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0,Object.defineProperty(v,"name",{value:"node ("+Xm(h.type+($?"<"+$+">":""))+")"})),v;function v(){let A=[],x,F,N;if((!r||s(f,c,g[g.length-1]||null))&&(A=E0(e(f,g)),A[0]===Ym))return A;if(f.children&&A[0]!==A0)for(F=(n?f.children.length:-1)+o,N=g.concat(f);F>-1&&F<f.children.length;){if(x=l(f.children[F],F,N)(),x[0]===Ym)return x;F=typeof x[1]=="number"?x[1]:F+o}return A}}};function E0(t){return Array.isArray(t)?t:typeof t=="number"?[C0,t]:[t]}var _0={}.hasOwnProperty,kf=function(t,r,e,n){let s,o;typeof r=="string"||r instanceof RegExp?(o=[[r,e]],s=n):(o=r,s=e),s||(s={});let l=po(s.ignore||[]),f=S0(o),c=-1;for(;++c<f.length;)eh(t,"text",g);return t;function g($,v){let A=-1,x;for(;++A<v.length;){let F=v[A];if(l(F,x?x.children.indexOf(F):void 0,x))return;x=F}if(x)return h($,v)}function h($,v){let A=v[v.length-1],x=f[c][0],F=f[c][1],N=0,z=A.children.indexOf($),Y=!1,ae=[],be;x.lastIndex=0;let ge=x.exec($.value);for(;ge;){be=ge.index;let ee={index:ge.index,input:ge.input,stack:[...v,$]},de=F(...ge,ee);if(typeof de=="string"&&(de=de.length>0?{type:"text",value:de}:void 0),de!==!1&&(N!==be&&ae.push({type:"text",value:$.value.slice(N,be)}),Array.isArray(de)?ae.push(...de):de&&ae.push(de),N=be+ge[0].length,Y=!0),!x.global)break;ge=x.exec($.value)}return Y?(N<$.value.length&&ae.push({type:"text",value:$.value.slice(N)}),A.children.splice(z,1,...ae)):ae=[$],z+ae.length}};function S0(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([th(t[e][0]),rh(t[e][1])])}else{let e;for(e in t)_0.call(t,e)&&r.push([th(e),rh(t[e])])}return r}function th(t){return typeof t=="string"?new RegExp(wf(t),"g"):t}function rh(t){return typeof t=="function"?t:()=>t}var vf="phrasing",xf=["autolink","link","image","label"],nh={transforms:[R0],enter:{literalAutolink:P0,literalAutolinkEmail:Cf,literalAutolinkHttp:Cf,literalAutolinkWww:Cf},exit:{literalAutolink:O0,literalAutolinkEmail:I0,literalAutolinkHttp:T0,literalAutolinkWww:F0}},ih={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:vf,notInConstruct:xf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:vf,notInConstruct:xf},{character:":",before:"[ps]",after:"\\/",inConstruct:vf,notInConstruct:xf}]};function P0(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Cf(t){this.config.enter.autolinkProtocol.call(this,t)}function T0(t){this.config.exit.autolinkProtocol.call(this,t)}function F0(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 R0(t){kf(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,q0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,D0]],{ignore:["link","linkReference"]})}function q0(t,r,e,n,s){let o="";if(!sh(s)||(/^w/i.test(r)&&(e=r+e,r="",o="http://"),!N0(e)))return!1;let l=L0(e+n);if(!l[0])return!1;let f={type:"link",title:null,url:o+r+l[0],children:[{type:"text",value:r+l[0]}]};return l[1]?[f,{type:"text",value:l[1]}]:f}function D0(t,r,e,n){return!sh(n,!0)||/[_-\d]$/.test(e)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+e,children:[{type:"text",value:r+"@"+e}]}}function N0(t){let r=t.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function L0(t){let r=/[!"&'),.:;<>?\]}]+$/.exec(t),e,n,s,o;if(r)for(t=t.slice(0,r.index),o=r[0],e=o.indexOf(")"),n=bf(t,"("),s=bf(t,")");e!==-1&&n>s;)t+=o.slice(0,e+1),o=o.slice(e+1),e=o.indexOf(")"),s++;return[t,o]}function sh(t,r){let e=t.input.charCodeAt(t.index-1);return(t.index===0||Ii(e)||Oi(e))&&(!r||e!==47)}function Af(t){return t.label||!t.identifier?t.label||"":xa(t.identifier)}function dr(t){let r=t||{},e=r.now||{},n=r.lineShift||0,s=e.line||1,o=e.column||1;return{move:c,current:l,shift:f};function l(){return{now:{line:s,column:o},lineShift:n}}function f(g){n+=g}function c(g=""){let h=g.split(/\r?\n|\r/g),$=h[h.length-1];return s+=h.length-1,o=h.length===1?o+$.length:1+$.length+n,g}}function Aa(t,r,e){let n=r.indexStack,s=t.children||[],o=dr(e),l=[],f=-1;for(n.push(-1);++f<s.length;){let g=s[f];n[n.length-1]=f,l.push(o.move(r.handle(g,t,r,{before:`
42
44
  `,after:`
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`
44
- `.repeat(1+E);if(E===!1)return`
45
+ `,...o.current()}))),g.type!=="list"&&(r.bulletLastUsed=void 0),f<s.length-1&&l.push(o.move(c(g,s[f+1])))}return n.pop(),l.join("");function c(g,h){let $=r.join.length;for(;$--;){let v=r.join[$](g,h,t,r);if(v===!0||v===1)break;if(typeof v=="number")return`
46
+ `.repeat(1+v);if(v===!1)return`
45
47
 
46
48
  <!---->
47
49
 
48
50
  `}return`
49
51
 
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});
52
+ `}}var j0=/\r?\n|\r/g;function Ea(t,r){let e=[],n=0,s=0,o;for(;o=j0.exec(t);)l(t.slice(n,o.index)),e.push(o[0]),n=o.index+o[0].length,s++;return l(t.slice(n)),e.join("");function l(f){e.push(r(f,s,!f))}}function ys(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 ah(t,r){return oh(t,r.inConstruct,!0)&&!oh(t,r.notInConstruct,!1)}function oh(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 mo(t,r,e){let n=(e.before||"")+(r||"")+(e.after||""),s=[],o=[],l={},f=-1;for(;++f<t.unsafe.length;){let h=t.unsafe[f];if(!ah(t.stack,h))continue;let $=ys(h),v;for(;v=$.exec(n);){let A="before"in h||Boolean(h.atBreak),x="after"in h,F=v.index+(A?v[1].length:0);s.includes(F)?(l[F].before&&!A&&(l[F].before=!1),l[F].after&&!x&&(l[F].after=!1)):(s.push(F),l[F]={before:A,after:x})}}s.sort(B0);let c=e.before?e.before.length:0,g=n.length-(e.after?e.after.length:0);for(f=-1;++f<s.length;){let h=s[f];h<c||h>=g||h+1<g&&s[f+1]===h+1&&l[h].after&&!l[h+1].before&&!l[h+1].after||s[f-1]===h-1&&l[h].before&&!l[h-1].before&&!l[h-1].after||(c!==h&&o.push(lh(n.slice(c,h),"\\")),c=h,/[!-/:-@[-`{-~]/.test(n.charAt(h))&&(!e.encode||!e.encode.includes(n.charAt(h)))?o.push("\\"):(o.push("&#x"+n.charCodeAt(h).toString(16).toUpperCase()+";"),c++))}return o.push(lh(n.slice(c,g),e.after)),o.join("")}function B0(t,r){return t-r}function lh(t,r){let e=/\\(?=[!-/:-@[-`{-~])/g,n=[],s=[],o=t+r,l=-1,f=0,c;for(;c=e.exec(o);)n.push(c.index);for(;++l<n.length;)f!==n[l]&&s.push(t.slice(f,n[l])),s.push("\\"),f=n[l];return s.push(t.slice(f)),s.join("")}function uh(){return{enter:{gfmFootnoteDefinition:t,gfmFootnoteDefinitionLabelString:r,gfmFootnoteCall:s,gfmFootnoteCallString:o},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 s(c){this.enter({type:"footnoteReference",identifier:"",label:""},c)}function o(){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 fh(){return t.peek=r,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:e,footnoteReference:t}};function t(n,s,o,l){let f=dr(l),c=f.move("[^"),g=o.enter("footnoteReference"),h=o.enter("reference");return c+=f.move(mo(o,Af(n),{...f.current(),before:c,after:"]"})),h(),g(),c+=f.move("]"),c}function r(){return"["}function e(n,s,o,l){let f=dr(l),c=f.move("[^"),g=o.enter("footnoteDefinition"),h=o.enter("label");return c+=f.move(mo(o,Af(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,o,f.current()),$)),g(),c;function $(v,A,x){return A?(x?"":" ")+v:v}}}function _a(t,r,e){let n=r.indexStack,s=t.children||[],o=[],l=-1,f=e.before;n.push(-1);let c=dr(e);for(;++l<s.length;){let g=s[l],h;if(n[n.length-1]=l,l+1<s.length){let $=r.handle.handlers[s[l+1].type];$&&$.peek&&($=$.peek),h=$?$(s[l+1],t,r,{before:"",after:"",...c.current()}).charAt(0):""}else h=e.after;o.length>0&&(f==="\r"||f===`
53
+ `)&&g.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),f=" ",c=dr(e),c.move(o.join(""))),o.push(c.move(r.handle(g,t,r,{...c.current(),before:f,after:h}))),f=o[o.length-1].slice(-1)}return n.pop(),o.join("")}var ch={canContainEols:["delete"],enter:{strikethrough:M0},exit:{strikethrough:z0}},ph={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:dh}};dh.peek=V0;function M0(t){this.enter({type:"delete",children:[]},t)}function z0(t){this.exit(t)}function dh(t,r,e,n){let s=dr(n),o=e.enter("emphasis"),l=s.move("~~");return l+=_a(t,e,{...s.current(),before:l,after:"~"}),l+=s.move("~~"),o(),l}function V0(){return"~"}Ef.peek=U0;function Ef(t,r,e){let n=t.value||"",s="`",o=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(n);)s+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<e.unsafe.length;){let l=e.unsafe[o],f=ys(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 s+n+s}function U0(){return"`"}function hh(t,r={}){let e=(r.align||[]).concat(),n=r.stringLength||G0,s=[],o=[],l=[],f=[],c=0,g=-1;for(;++g<t.length;){let x=[],F=[],N=-1;for(t[g].length>c&&(c=t[g].length);++N<t[g].length;){let z=H0(t[g][N]);if(r.alignDelimiters!==!1){let Y=n(z);F[N]=Y,(f[N]===void 0||Y>f[N])&&(f[N]=Y)}x.push(z)}o[g]=x,l[g]=F}let h=-1;if(typeof e=="object"&&"length"in e)for(;++h<c;)s[h]=mh(e[h]);else{let x=mh(e);for(;++h<c;)s[h]=x}h=-1;let $=[],v=[];for(;++h<c;){let x=s[h],F="",N="";x===99?(F=":",N=":"):x===108?F=":":x===114&&(N=":");let z=r.alignDelimiters===!1?1:Math.max(1,f[h]-F.length-N.length),Y=F+"-".repeat(z)+N;r.alignDelimiters!==!1&&(z=F.length+z+N.length,z>f[h]&&(f[h]=z),v[h]=z),$[h]=Y}o.splice(1,0,$),l.splice(1,0,v),g=-1;let A=[];for(;++g<o.length;){let x=o[g],F=l[g];h=-1;let N=[];for(;++h<c;){let z=x[h]||"",Y="",ae="";if(r.alignDelimiters!==!1){let be=f[h]-(F[h]||0),ge=s[h];ge===114?Y=" ".repeat(be):ge===99?be%2?(Y=" ".repeat(be/2+.5),ae=" ".repeat(be/2-.5)):(Y=" ".repeat(be/2),ae=Y):ae=" ".repeat(be)}r.delimiterStart!==!1&&!h&&N.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&z==="")&&(r.delimiterStart!==!1||h)&&N.push(" "),r.alignDelimiters!==!1&&N.push(Y),N.push(z),r.alignDelimiters!==!1&&N.push(ae),r.padding!==!1&&N.push(" "),(r.delimiterEnd!==!1||h!==c-1)&&N.push("|")}A.push(r.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return A.join(`
54
+ `)}function H0(t){return t==null?"":String(t)}function G0(t){return t.length}function mh(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 Sf={enter:{table:K0,tableData:gh,tableHeader:gh,tableRow:J0},exit:{codeText:Z0,table:W0,tableData:_f,tableHeader:_f,tableRow:_f}};function K0(t){let r=t._align;this.enter({type:"table",align:r.map(e=>e==="none"?null:e),children:[]},t),this.setData("inTable",!0)}function W0(t){this.exit(t),this.setData("inTable")}function J0(t){this.enter({type:"tableRow",children:[]},t)}function _f(t){this.exit(t)}function gh(t){this.enter({type:"tableCell",children:[]},t)}function Z0(t){let r=this.resume();this.getData("inTable")&&(r=r.replace(/\\([\\|])/g,Q0));let e=this.stack[this.stack.length-1];e.value=r,this.exit(t)}function Q0(t,r){return r==="|"?r:t}function Pf(t){let r=t||{},e=r.tableCellPadding,n=r.tablePipeAlign,s=r.stringLength,o=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
55
+ `,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:v}};function l(A,x,F,N){return g(h(A,F,N),A.align)}function f(A,x,F,N){let z=$(A,F,N),Y=g([z]);return Y.slice(0,Y.indexOf(`
56
+ `))}function c(A,x,F,N){let z=F.enter("tableCell"),Y=F.enter("phrasing"),ae=_a(A,F,{...N,before:o,after:o});return Y(),z(),ae}function g(A,x){return hh(A,{align:x,alignDelimiters:n,padding:e,stringLength:s})}function h(A,x,F){let N=A.children,z=-1,Y=[],ae=x.enter("table");for(;++z<N.length;)Y[z]=$(N[z],x,F);return ae(),Y}function $(A,x,F){let N=A.children,z=-1,Y=[],ae=x.enter("tableRow");for(;++z<N.length;)Y[z]=c(N[z],A,x,F);return ae(),Y}function v(A,x,F){let N=Ef(A,x,F);return F.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function yh(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 $h(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 bh(t,r,e,n){let s=$h(e),o=e.bulletCurrent||yh(e);r&&r.type==="list"&&r.ordered&&(o=(typeof r.start=="number"&&r.start>-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+o);let l=o.length+1;(s==="tab"||s==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(l=Math.ceil(l/4)*4);let f=dr(n);f.move(o+" ".repeat(l-o.length)),f.shift(l);let c=e.enter("listItem"),g=Ea(Aa(t,e,f.current()),h);return c(),g;function h($,v,A){return v?(A?"":" ".repeat(l))+$:(A?o:o+" ".repeat(l-o.length))+$}}var kh={exit:{taskListCheckValueChecked:wh,taskListCheckValueUnchecked:wh,paragraph:X0}},vh={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Y0}};function wh(t){let r=this.stack[this.stack.length-2];r.checked=t.type==="taskListCheckValueChecked"}function X0(t){let r=this.stack[this.stack.length-2],e=this.stack[this.stack.length-1],n=r.children,s=e.children[0],o=-1,l;if(r&&r.type==="listItem"&&typeof r.checked=="boolean"&&s&&s.type==="text"){for(;++o<n.length;){let f=n[o];if(f.type==="paragraph"){l=f;break}}l===e&&(s.value=s.value.slice(1),s.value.length===0?e.children.shift():e.position&&s.position&&typeof s.position.start.offset=="number"&&(s.position.start.column++,s.position.start.offset++,e.position.start=Object.assign({},s.position.start)))}this.exit(t)}function Y0(t,r,e,n){let s=t.children[0],o=typeof t.checked=="boolean"&&s&&s.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",f=dr(n);o&&f.move(l);let c=bh(t,r,e,{...n,...f.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,g)),c;function g(h){return h+l}}function Tf(){return[nh,uh(),ch,Sf,kh]}function Ff(t){return{extensions:[ih,fh(),ph,Pf(t),vh]}}function If(t={}){let r=this.data();e("micromarkExtensions",Qm(t)),e("fromMarkdownExtensions",Tf()),e("toMarkdownExtensions",Ff(t));function e(n,s){(r[n]?r[n]:r[n]=[]).push(s)}}var Ch={tokenize:e1,concrete:!0},xh={tokenize:t1,partial:!0};function e1(t,r,e){let n=this,s=n.events[n.events.length-1],o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[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"),xe(t,g,"whitespace")(Y))}function g(Y){return Y===null||ce(Y)?$(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"),$(Y)):Y===36?e(Y):(t.consume(Y),h)}function $(Y){return t.exit("mathFlowFence"),n.interrupt?r(Y):t.attempt(xh,v,N)(Y)}function v(Y){return t.attempt({tokenize:z,partial:!0},N,A)(Y)}function A(Y){return(o?xe(t,x,"linePrefix",o+1):x)(Y)}function x(Y){return Y===null?N(Y):ce(Y)?t.attempt(xh,v,N)(Y):(t.enter("mathFlowValue"),F(Y))}function F(Y){return Y===null||ce(Y)?(t.exit("mathFlowValue"),x(Y)):(t.consume(Y),F)}function N(Y){return t.exit("mathFlow"),r(Y)}function z(Y,ae,be){let ge=0;return xe(Y,ee,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ee(ke){return Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),de(ke)}function de(ke){return ke===36?(ge++,Y.consume(ke),de):ge<l?be(ke):(Y.exit("mathFlowFenceSequence"),xe(Y,ve,"whitespace")(ke))}function ve(ke){return ke===null||ce(ke)?(Y.exit("mathFlowFence"),ae(ke)):be(ke)}}}function t1(t,r,e){let n=this;return s;function s(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),o)}function o(l){return n.parser.lazy[n.now().line]?e(l):r(l)}}function Ah(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),{tokenize:n,resolve:r1,previous:n1};function n(s,o,l){let f=this,c=0,g,h;return $;function $(N){return s.enter("mathText"),s.enter("mathTextSequence"),v(N)}function v(N){return N===36?(s.consume(N),c++,v):c<2&&!e?l(N):(s.exit("mathTextSequence"),A(N))}function A(N){return N===null?l(N):N===36?(h=s.enter("mathTextSequence"),g=0,F(N)):N===32?(s.enter("space"),s.consume(N),s.exit("space"),A):ce(N)?(s.enter("lineEnding"),s.consume(N),s.exit("lineEnding"),A):(s.enter("mathTextData"),x(N))}function x(N){return N===null||N===32||N===36||ce(N)?(s.exit("mathTextData"),A(N)):(s.consume(N),x)}function F(N){return N===36?(s.consume(N),g++,F):g===c?(s.exit("mathTextSequence"),s.exit("mathText"),o(N)):(h.type="mathTextData",x(N))}}}function r1(t){let r=t.length-4,e=3,n,s;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;)s===void 0?n!==r&&t[n][1].type!=="lineEnding"&&(s=n):(n===r||t[n][1].type==="lineEnding")&&(t[s][1].type="mathTextData",n!==s+2&&(t[s][1].end=t[n-1][1].end,t.splice(s+2,n-s-2),r-=n-s-2,n=s+2),s=void 0);return t}function n1(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Of(t){return{flow:{[36]:Ch},text:{[36]:Ah(t)}}}function Eh(t,r){let e=String(t),n=e.indexOf(r),s=n,o=0,l=0;if(typeof r!="string"||r.length!==1)throw new Error("Expected character");for(;n!==-1;)n===s?++o>l&&(l=o):o=1,s=n+1,n=e.indexOf(r,s);return l}function Rf(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:o},exit:{mathFlow:s,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 s(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 o(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 qf(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
57
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(o,l,f,c){let g=o.value||"",h=dr(c),$="$".repeat(Math.max(Eh(g,"$")+1,2)),v=f.enter("mathFlow"),A=h.move($);if(o.meta){let x=f.enter("mathFlowMeta");A+=h.move(mo(f,o.meta,{before:A,after:`
58
+ `,encode:["$"],...h.current()})),x()}return A+=h.move(`
59
+ `),g&&(A+=h.move(g+`
60
+ `)),A+=h.move($),v(),A}function n(o,l,f){let c=o.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 $=-1;for(;++$<f.unsafe.length;){let v=f.unsafe[$],A=ys(v),x;if(!!v.atBreak)for(;x=A.exec(c);){let F=x.index;c.codePointAt(F)===10&&c.codePointAt(F-1)===13&&F--,c=c.slice(0,F)+" "+c.slice(x.index+1)}}return h+c+h}function s(){return"$"}}function Df(t={}){let r=this.data();e("micromarkExtensions",Of(t)),e("fromMarkdownExtensions",Rf()),e("toMarkdownExtensions",qf(t));function e(n,s){(r[n]?r[n]:r[n]=[]).push(s)}}var Sa=(t,{lineOffset:r}={lineOffset:0})=>{let e=Gu().use(Bm).use(If).use(Df).parse(t),n={},s=(f=>c=>{let{start:g,end:h}=c;return{start:{...g,line:g.line+f},end:{...h,line:h.line+f}}})(r);ds({processor:1}).use({"*:*":(f,c)=>(g,h,$)=>{g.children&&$(g.children,{...h})}}).use({":definition":(f,c)=>(g,h,$)=>{n[g.identifier]=g}}).run(e);let o=[];return ds({processor:1}).use({"*:*":(f,c)=>(g,h,$)=>{console.warn("[Podlite:md2ast]- unhandled MD node"),console.warn(JSON.stringify(g,null,2)),g.children&&$(g.children,{...h})}}).use({":root":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return Eu({},$(v,h))},":math":(f,c)=>(g,h,$)=>{let{value:v,children:A,position:x,...F}=g;return hd({value:v,location:s(x)})},":inlineMath":(f,c)=>(g,h,$)=>{let{value:v,children:A,position:x,...F}=g;return pd(v)},":heading":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return br({type:"block",level:g.depth,name:"head",location:s(A)},$(v,h))},":text":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return g.value},":list":(f,c)=>(g,h,$)=>{let v=h.listLevel||0,{children:A,position:x,...F}=g;return br({type:"list",level:v+1,list:g.ordered?"ordered":"itemized"},$(A,{...h,listLevel:v+1,ordered:g.ordered}))},":listItem":(f,c)=>(g,h,$)=>{let v=h.listLevel||0,{children:A,position:x,checked:F,...N}=g,z={name:"item",type:"block",level:h.listLevel,location:s(x)};return F!=null&&(z.checked=F,z.config=[{name:"checked",value:F,type:"boolean"}]),br(z,$(A,{...h,listLevel:v,ordered:g.ordered}))},":paragraph":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return br({type:"para",location:s(A),text:"text",margin:""},$(v,{...h}))},":linkReference":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g,F=n[x.identifier],N=(F==null?void 0:F.url)||"";return Au({meta:N},$(v,{...h}))},":definition":(f,c)=>(g,h,$)=>null,":inlineCode":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return sa({name:"C"},[g.value])},":strong":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return sa({name:"B"},$(v,{...h}))},":emphasis":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return sa({name:"I"},$(v,{...h}))},":link":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return Au({meta:g.url},$(v,{...h}))},":html":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return br({type:"block",name:"Html",location:s(A)},[to(g.value)])},":code":(f,c)=>(g,h,$)=>{let{children:v,position:A,lang:x,meta:F,...N}=g;if(x==="mermaid"||x==="diagram")return br({type:"block",name:"Mermaid",config:[],location:s(A)},[to(g.value)]);let z=[];return x&&z.push({name:"lang",value:x,type:"string"}),F&&z.push({name:"meta",value:F,type:"string"}),br({type:"block",name:"code",config:z,location:s(A)},[to(g.value)])},":image":(f,c)=>(g,h,$)=>{let{title:v,alt:A,url:x,position:F,...N}=g,z=[],Y=[md(x,A)];return v&&Y.push(dd([v])),br({type:"block",name:"Image",config:z,location:s(F)},Y)},":thematicBreak":(f,c)=>(g,h,$)=>null,":blockquote":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return br({name:"nested",location:s(A)},$(v,{...h}))},":table":(f,c)=>(g,h,$)=>{let{children:v,position:A,align:x,...F}=g;return br({name:"table",location:s(A),align:x},$(v,{...h,isHeaderUsed:0}))},":tableRow":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g,F=h.isHeaderUsed++,N={name:"row",location:s(A)};return F||(N.config=[{name:"header",value:!0,type:"boolean"}]),br(N,$(v,{...h}))},":tableCell":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return br({name:"cell",location:s(A)},$(v,{...h}))},":delete":(f,c)=>(g,h,$)=>{let{children:v,position:A,...x}=g;return cd($(v,{...h}))},":break":(f,c)=>(g,h,$)=>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 s=e.content[0];if(s&&typeof s!="string"&&"location"in e&&"value"in s){let o=e.location.start.line;return{...e,content:Sa(s,{lineOffset:o})}}return e}},toJSX:t=>wr},i1={Markdown:Pa,markdown:Pa},s1=Pa;0&&(module.exports={PluginRegister,parseMd,plugin});
59
61
  /*!
60
62
  * Determine if an object is a Buffer
61
63
  *