@griddo/core 1.61.1 → 1.61.2
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/dist/index.js +1 -29
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
import*as e from"react";import t,{createContext as n,useContext as r,useRef as o,useState as i,useEffect as a}from"react";import s from"process";import{fileURLToPath as l}from"url";import c from"path";function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}function E(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(e,t):void 0}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=n(null),S=function(e){var n=e.children,r=e.translations;return t.createElement(v.Provider,{value:{translations:r}},n)};v.Consumer;var C=["children"],b=n(null),N=function(e){var n=e.children,r=E(e,C);return t.createElement(b.Provider,{value:p({},r)},n)},O=b.Consumer,k=n(null),I=function(e){var n=r(b),o=null==n?void 0:n.translations;return t.createElement(k.Provider,{value:p({},e)},t.createElement(S,{translations:o},e.children))},w=k.Consumer;function R(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}R('.--selected {\n display: block;\n position: relative;\n}\n\n.--selected::before {\n position: absolute;\n height: calc(100% - 8px);\n width: calc(100% - 8px);\n padding-bottom: 4px;\n content: "";\n border: 4px solid rgb(80, 87, 255);\n pointer-events: none;\n z-index: 99;\n}\n\n.--selected::after {\n position: absolute;\n padding: 8px 16px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n top: -34px;\n left: 50%;\n transform: translate(-50%, 0px);\n content: attr(data-text);\n z-index: 9;\n background: rgb(80, 87, 255);\n color: rgb(255, 255, 255);\n font-family: "Source Sans Pro", sans-serif;\n font-weight: 600;\n font-size: 14px;\n line-height: 18px;\n}\n');var P=function(e){var n=o(),s=g(i(),2),l=s[0],c=s[1],u=r(b).selectEditorID,p=e.selectedEditorID,f=e.editorID,d=e.component,h=e.children;a((function(){c(!!n&&n.current.scrollHeight)}),[h]),a((function(){T&&m()}),[n]);var m=function(){if(n.current){var e=n.current.style.position,t=n.current.style.top;n.current.style.position="relative",n.current.style.top="-34px",n.current.scrollIntoView({behavior:"smooth",block:"start"}),n.current.style.top=t,n.current.style.position=e}},T=!!p&&p===f;return T&&m(),t.createElement(t.Fragment,null,"Header"===d&&t.createElement("style",{dangerouslySetInnerHTML:{__html:'\n [data-text="Header"].--selected::before {\n height: '.concat(l-8,"px;\n }")}}),t.createElement("span",{className:"".concat(T?"--selected":""),"data-text":d,ref:n,onClick:function(t){!f&&"0"!==f||"undefined"==typeof window||u&&u(e,void 0,t)}},h))};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function D(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x(e,t){return e(t={exports:{}},t.exports),t.exports}function L(e){return e&&e.default||e}var M=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)l(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const a=new o("+");function s(e,...t){const n=[u(e[0])];let r=0;for(;r<t.length;)n.push(a),l(n,t[r]),n.push(a,u(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){const n=c(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function l(e,t){t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push(function(e){return"number"==typeof e||"boolean"==typeof e||null===e?e:u(Array.isArray(e)?e.join(","):e)}(t))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new o(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}}));D(M),M.regexpCode,M.getEsmExportName,M.getProperty,M.safeStringify,M.stringify,M.strConcat,M.addCodeArg,M.str,M._,M.nil,M._Code,M.Name,M.IDENTIFIER,M._CodeOrName;var F=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;class n extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var r;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(r=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new M.Name("const"),let:new M.Name("let"),var:new M.Name("var")};class o{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof M.Name?e:this.name(e)}name(e){return new M.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=o;class i extends M.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=M._`.${new M.Name(t)}[${n}]`}}t.ValueScopeName=i;const a=M._`\n`;t.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?a:M.nil}}get(){return this._scope}name(e){return new i(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let a=this._values[o];if(a){const e=a.get(i);if(e)return e}else a=this._values[o]=new Map;a.set(i,r);const s=this._scope[o]||(this._scope[o]=[]),l=s.length;return s[l]=t.ref,r.setValue(t,{property:o,itemIndex:l}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return M._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,o,i={},a){let s=M.nil;for(const l in e){const c=e[l];if(!c)continue;const u=i[l]=i[l]||new Map;c.forEach((e=>{if(u.has(e))return;u.set(e,r.Started);let i=o(e);if(i){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;s=M._`${s}${n} ${e} = ${i};${this.opts._n}`}else{if(!(i=null==a?void 0:a(e)))throw new n(e);s=M._`${s}${i}${this.opts._n}`}u.set(e,r.Completed)}))}return s}}}));D(F),F.ValueScope,F.ValueScopeName,F.Scope,F.varKinds,F.UsedValueState;var $=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;var n=M;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return n.Name}});var r=F;Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return r.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return r.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return r.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return r.varKinds}}),t.operators={GT:new M._Code(">"),GTE:new M._Code(">="),LT:new M._Code("<"),LTE:new M._Code("<="),EQ:new M._Code("==="),NEQ:new M._Code("!=="),NOT:new M._Code("!"),OR:new M._Code("||"),AND:new M._Code("&&"),ADD:new M._Code("+")};class o{optimizeNodes(){return this}optimizeNames(e,t){return this}}class i extends o{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?F.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=k(this.rhs,e,t)),this}get names(){return this.rhs instanceof M._CodeOrName?this.rhs.names:{}}}class a extends o{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof M.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=k(this.rhs,e,t),this}get names(){return O(this.lhs instanceof M.Name?{}:{...this.lhs.names},this.rhs)}}class s extends a{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class l extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class c extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class u extends o{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends o{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=k(this.code,e,t),this}get names(){return this.code instanceof M._CodeOrName?this.code.names:{}}}class f extends o{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(I(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>N(e,t.names)),{})}}class d extends f{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class h extends f{}class m extends d{}m.kind="else";class T extends d{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new m(e):e}return t?!1===e?t instanceof T?t:t.nodes:this.nodes.length?this:new T(w(e),t instanceof T?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=k(this.condition,e,t),this}get names(){const e=super.names;return O(e,this.condition),this.else&&N(e,this.else.names),e}}T.kind="if";class E extends d{}E.kind="for";class g extends E{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=k(this.iteration,e,t),this}get names(){return N(super.names,this.iteration.names)}}class _ extends E{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?F.varKinds.var:this.varKind,{name:n,from:r,to:o}=this;return`for(${t} ${n}=${r}; ${n}<${o}; ${n}++)`+super.render(e)}get names(){const e=O(super.names,this.from);return O(e,this.to)}}class y extends E{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=k(this.iterable,e,t),this}get names(){return N(super.names,this.iterable.names)}}class A extends d{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}A.kind="func";class v extends f{render(e){return"return "+super.render(e)}}v.kind="return";class S extends d{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&N(e,this.catch.names),this.finally&&N(e,this.finally.names),e}}class C extends d{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class b extends d{render(e){return"finally"+super.render(e)}}b.kind="finally";function N(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function O(e,t){return t instanceof M._CodeOrName?N(e,t.names):e}function k(e,t,n){return e instanceof M.Name?r(e):function(e){return e instanceof M._Code&&e._items.some((e=>e instanceof M.Name&&1===t[e.str]&&void 0!==n[e.str]))}(e)?new M._Code(e._items.reduce(((e,t)=>(t instanceof M.Name&&(t=r(t)),t instanceof M._Code?e.push(...t._items):e.push(t),e)),[])):e;function r(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function I(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function w(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:M._`!${x(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new F.Scope({parent:e}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new i(e,o,n)),o}const(e,t,n){return this._def(F.varKinds.const,e,t,n)}let(e,t,n){return this._def(F.varKinds.let,e,t,n)}var(e,t,n){return this._def(F.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new a(e,t,n))}add(e,n){return this._leafNode(new s(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==M.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,r]of e)t.length>1&&t.push(","),t.push(n),(n!==r||this.opts.es5)&&(t.push(":"),(0,M.addCodeArg)(t,r));return t.push("}"),new M._Code(t)}if(e,t,n){if(this._blockNode(new T(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new T(e))}else(){return this._elseNode(new m)}endIf(){return this._endBlockNode(T,m)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new g(e),t)}forRange(e,t,n,r,o=(this.opts.es5?F.varKinds.var:F.varKinds.let)){const i=this._scope.toName(e);return this._for(new _(o,i,t,n),(()=>r(i)))}forOf(e,t,n,r=F.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof M.Name?t:this.var("_arr",t);return this.forRange("_i",0,M._`${e}.length`,(t=>{this.var(o,M._`${e}[${t}]`),n(o)}))}return this._for(new y("of",r,o,t),(()=>n(o)))}forIn(e,t,n,r=(this.opts.es5?F.varKinds.var:F.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,M._`Object.keys(${t})`,n);const o=this._scope.toName(e);return this._for(new y("in",r,o,t),(()=>n(o)))}endFor(){return this._endBlockNode(E)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new c(e))}return(e){const t=new v;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(v)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new S;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new C(e),t(e)}return n&&(this._currNode=r.finally=new b,this.code(n)),this._endBlockNode(C,b)}throw(e){return this._leafNode(new u(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=M.nil,n,r){return this._blockNode(new A(e,t,n)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(A)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof T))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=w;const R=D(t.operators.AND);t.and=function(...e){return e.reduce(R)};const P=D(t.operators.OR);function D(e){return(t,n)=>t===M.nil?n:n===M.nil?t:M._`${x(t)} ${e} ${x(n)}`}function x(e){return e instanceof M.Name?e:M._`(${e})`}t.or=function(...e){return e.reduce(P)}}));D($),$.or,$.and,$.not,$.CodeGen,$.operators,$.varKinds,$.ValueScopeName,$.ValueScope,$.Scope,$.Name,$.regexpCode,$.stringify,$.getProperty,$.nil,$.strConcat,$.str,$._;var H=x((function(e,t){function n(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const n in t)o[n]||p(e,`unknown keyword: "${n}"`)}function r(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function o(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function i(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function a({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:r}){return(o,i,a,s)=>{const l=void 0===a?i:a instanceof $.Name?(i instanceof $.Name?e(o,i,a):t(o,i,a),a):i instanceof $.Name?(t(o,a,i),i):n(i,a);return s!==$.Name||l instanceof $.Name?l:r(o,l)}}function s(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",$._`{}`);return void 0!==t&&l(e,n,t),n}function l(e,t,n){Object.keys(n).forEach((n=>e.assign($._`${t}${(0,$.getProperty)(n)}`,!0)))}Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0,t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(n(e,t),!r(t,e.self.RULES.all))},t.checkUnknownRules=n,t.schemaHasRules=r,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,r,o){if(!o){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return $._`${n}`}return $._`${e}${t}${(0,$.getProperty)(r)}`},t.unescapeFragment=function(e){return i(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(o(e))},t.escapeJsonPointer=o,t.unescapeJsonPointer=i,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:a({mergeNames:(e,t,n)=>e.if($._`${n} !== true && ${t} !== undefined`,(()=>{e.if($._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,$._`${n} || {}`).code($._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if($._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,$._`${n} || {}`),l(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:s}),items:a({mergeNames:(e,t,n)=>e.if($._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,$._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if($._`${n} !== true`,(()=>e.assign(n,!0===t||$._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=s,t.setEvaluated=l;const c={};var u;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:c[t.code]||(c[t.code]=new M._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(u=t.Type||(t.Type={})),t.getErrorPath=function(e,t,n){if(e instanceof $.Name){const r=t===u.Num;return n?r?$._`"[" + ${e} + "]"`:$._`"['" + ${e} + "']"`:r?$._`"/" + ${e}`:$._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,$.getProperty)(e).toString():"/"+o(e)},t.checkStrictMode=p}));D(H),H.checkStrictMode,H.getErrorPath,H.Type,H.useFunc,H.setEvaluated,H.evaluatedPropsToName,H.mergeEvaluated,H.eachItem,H.unescapeJsonPointer,H.escapeJsonPointer,H.escapeFragment,H.unescapeFragment,H.schemaRefOrVal,H.schemaHasRulesButRef,H.schemaHasRules,H.checkUnknownRules,H.alwaysValidSchema,H.toHash;var U=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={data:new $.Name("data"),valCxt:new $.Name("valCxt"),instancePath:new $.Name("instancePath"),parentData:new $.Name("parentData"),parentDataProperty:new $.Name("parentDataProperty"),rootData:new $.Name("rootData"),dynamicAnchors:new $.Name("dynamicAnchors"),vErrors:new $.Name("vErrors"),errors:new $.Name("errors"),this:new $.Name("this"),self:new $.Name("self"),scope:new $.Name("scope"),json:new $.Name("json"),jsonPos:new $.Name("jsonPos"),jsonLen:new $.Name("jsonLen"),jsonPart:new $.Name("jsonPart")};t.default=n}));D(U);var B=x((function(e,t){function n(e,t){const n=e.const("err",t);e.if($._`${U.default.vErrors} === null`,(()=>e.assign(U.default.vErrors,$._`[${n}]`)),$._`${U.default.vErrors}.push(${n})`),e.code($._`${U.default.errors}++`)}function r(e,t){const{gen:n,validateName:r,schemaEnv:o}=e;o.$async?n.throw($._`new ${e.ValidationError}(${t})`):(n.assign($._`${r}.errors`,t),n.return(!1))}Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0,t.keywordError={message:({keyword:e})=>$.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?$.str`"${e}" keyword must be ${t} ($data)`:$.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,o=t.keywordError,a,s){const{it:l}=e,{gen:c,compositeRule:u,allErrors:p}=l,f=i(e,o,a);(null!=s?s:u||p)?n(c,f):r(l,$._`[${f}]`)},t.reportExtraError=function(e,o=t.keywordError,a){const{it:s}=e,{gen:l,compositeRule:c,allErrors:u}=s;n(l,i(e,o,a)),c||u||r(s,U.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(U.default.errors,t),e.if($._`${U.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign($._`${U.default.vErrors}.length`,t)),(()=>e.assign(U.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:r,errsCount:o,it:i}){if(void 0===o)throw new Error("ajv implementation error");const a=e.name("err");e.forRange("i",o,U.default.errors,(o=>{e.const(a,$._`${U.default.vErrors}[${o}]`),e.if($._`${a}.instancePath === undefined`,(()=>e.assign($._`${a}.instancePath`,(0,$.strConcat)(U.default.instancePath,i.errorPath)))),e.assign($._`${a}.schemaPath`,$.str`${i.errSchemaPath}/${t}`),i.opts.verbose&&(e.assign($._`${a}.schema`,n),e.assign($._`${a}.data`,r))}))};const o={keyword:new $.Name("keyword"),schemaPath:new $.Name("schemaPath"),params:new $.Name("params"),propertyName:new $.Name("propertyName"),message:new $.Name("message"),schema:new $.Name("schema"),parentSchema:new $.Name("parentSchema")};function i(e,t,n){const{createErrors:r}=e.it;return!1===r?$._`{}`:function(e,t,n={}){const{gen:r,it:i}=e,l=[a(i,n),s(e,n)];return function(e,{params:t,message:n},r){const{keyword:i,data:a,schemaValue:s,it:l}=e,{opts:c,propertyName:u,topSchemaRef:p,schemaPath:f}=l;r.push([o.keyword,i],[o.params,"function"==typeof t?t(e):t||$._`{}`]),c.messages&&r.push([o.message,"function"==typeof n?n(e):n]);c.verbose&&r.push([o.schema,s],[o.parentSchema,$._`${p}${f}`],[U.default.data,a]);u&&r.push([o.propertyName,u])}(e,t,l),r.object(...l)}(e,t,n)}function a({errorPath:e},{instancePath:t}){const n=t?$.str`${e}${(0,H.getErrorPath)(t,H.Type.Str)}`:e;return[U.default.instancePath,(0,$.strConcat)(U.default.instancePath,n)]}function s({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:r}){let i=r?t:$.str`${t}/${e}`;return n&&(i=$.str`${i}${(0,H.getErrorPath)(n,H.Type.Str)}`),[o.schemaPath,i]}}));D(B),B.extendErrors,B.resetErrorsCount,B.reportExtraError,B.reportError,B.keyword$DataError,B.keywordError;var j=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n={message:"boolean schema is false"};function r(e,t){const{gen:r,data:o}=e,i={gen:r,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,B.reportError)(i,n,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:o}=e;!1===n?r(e,!1):"object"==typeof n&&!0===n.$async?t.return(U.default.data):(t.assign($._`${o}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:o}=e;!1===o?(n.var(t,!1),r(e)):n.var(t,!0)}}));D(j),j.boolOrEmptySchema,j.topBoolOrEmptySchema;var G=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}}));D(G),G.getRules,G.isJSONType;var q=x((function(e,t){function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r}));D(q),q.shouldUseRule,q.shouldUseGroup,q.schemaHasRulesForType;var K=x((function(e,t){var n;function r(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(G.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0,function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(n=t.DataType||(t.DataType={})),t.getSchemaTypes=function(e){const t=r(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=r,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:i,opts:s}=e,c=function(e,t){return t?e.filter((e=>o.has(e)||"array"===t&&"array"===e)):[]}(t,s.coerceTypes),u=t.length>0&&!(0===c.length&&1===t.length&&(0,q.schemaHasRulesForType)(e,t[0]));if(u){const u=a(t,i,s.strictNumbers,n.Wrong);r.if(u,(()=>{c.length?function(e,t,n){const{gen:r,data:i,opts:s}=e,c=r.let("dataType",$._`typeof ${i}`),u=r.let("coerced",$._`undefined`);"array"===s.coerceTypes&&r.if($._`${c} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,(()=>r.assign(i,$._`${i}[0]`).assign(c,$._`typeof ${i}`).if(a(t,i,s.strictNumbers),(()=>r.assign(u,i)))));r.if($._`${u} !== undefined`);for(const e of n)(o.has(e)||"array"===e&&"array"===s.coerceTypes)&&p(e);function p(e){switch(e){case"string":return void r.elseIf($._`${c} == "number" || ${c} == "boolean"`).assign(u,$._`"" + ${i}`).elseIf($._`${i} === null`).assign(u,$._`""`);case"number":return void r.elseIf($._`${c} == "boolean" || ${i} === null
|
|
2
|
-
|| (${c} == "string" && ${i} && ${i} == +${i})`).assign(u,$._`+${i}`);case"integer":return void r.elseIf($._`${c} === "boolean" || ${i} === null
|
|
3
|
-
|| (${c} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(u,$._`+${i}`);case"boolean":return void r.elseIf($._`${i} === "false" || ${i} === 0 || ${i} === null`).assign(u,!1).elseIf($._`${i} === "true" || ${i} === 1`).assign(u,!0);case"null":return r.elseIf($._`${i} === "" || ${i} === 0 || ${i} === false`),void r.assign(u,null);case"array":r.elseIf($._`${c} === "string" || ${c} === "number"
|
|
4
|
-
|| ${c} === "boolean" || ${i} === null`).assign(u,$._`[${i}]`)}}r.else(),l(e),r.endIf(),r.if($._`${u} !== undefined`,(()=>{r.assign(i,u),function({gen:e,parentData:t,parentDataProperty:n},r){e.if($._`${t} !== undefined`,(()=>e.assign($._`${t}[${n}]`,r)))}(e,u)}))}(e,t,c):l(e)}))}return u};const o=new Set(["string","number","integer","boolean","null"]);function i(e,t,r,o=n.Correct){const i=o===n.Correct?$.operators.EQ:$.operators.NEQ;let a;switch(e){case"null":return $._`${t} ${i} null`;case"array":a=$._`Array.isArray(${t})`;break;case"object":a=$._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":a=s($._`!(${t} % 1) && !isNaN(${t})`);break;case"number":a=s();break;default:return $._`typeof ${t} ${i} ${e}`}return o===n.Correct?a:(0,$.not)(a);function s(e=$.nil){return(0,$.and)($._`typeof ${t} == "number"`,e,r?$._`isFinite(${t})`:$.nil)}}function a(e,t,n,r){if(1===e.length)return i(e[0],t,n,r);let o;const a=(0,H.toHash)(e);if(a.array&&a.object){const e=$._`typeof ${t} != "object"`;o=a.null?e:$._`!${t} || ${e}`,delete a.null,delete a.array,delete a.object}else o=$.nil;a.number&&delete a.integer;for(const e in a)o=(0,$.and)(o,i(e,t,n,r));return o}t.checkDataType=i,t.checkDataTypes=a;const s={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?$._`{type: ${e}}`:$._`{type: ${t}}`};function l(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,H.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,B.reportError)(t,s)}t.reportTypeError=l}));D(K),K.reportTypeError,K.checkDataTypes,K.checkDataType,K.coerceAndCheckDataType,K.getJSONTypes,K.getSchemaTypes,K.DataType;var z=x((function(e,t){function n(e,t,n){const{gen:r,compositeRule:o,data:i,opts:a}=e;if(void 0===n)return;const s=$._`${i}${(0,$.getProperty)(t)}`;if(o)return void(0,H.checkStrictMode)(e,`default is ignored for: ${s}`);let l=$._`${s} === undefined`;"empty"===a.useDefaults&&(l=$._`${l} || ${s} === null || ${s} === ""`),r.if(l,$._`${s} = ${(0,$.stringify)(n)}`)}Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0,t.assignDefaults=function(e,t){const{properties:r,items:o}=e.schema;if("object"===t&&r)for(const t in r)n(e,t,r[t].default);else"array"===t&&Array.isArray(o)&&o.forEach(((t,r)=>n(e,r,t.default)))}}));D(z),z.assignDefaults;var V=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=H;function r(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:$._`Object.prototype.hasOwnProperty`})}function o(e,t,n){return $._`${r(e)}.call(${t}, ${n})`}function i(e,t,n,r){const i=$._`${t}${(0,$.getProperty)(n)} === undefined`;return r?(0,$.or)(i,(0,$.not)(o(e,t,n))):i}function a(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:r,it:o}=e;n.if(i(n,r,t,o.opts.ownProperties),(()=>{e.setParams({missingProperty:$._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},r,o){return(0,$.or)(...r.map((r=>(0,$.and)(i(e,t,r,n.ownProperties),$._`${o} = ${r}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=r,t.isOwnProperty=o,t.propertyInData=function(e,t,n,r){const i=$._`${t}${(0,$.getProperty)(n)} !== undefined`;return r?$._`${i} && ${o(e,t,n)}`:i},t.noPropertyInData=i,t.allSchemaProperties=a,t.schemaProperties=function(e,t){return a(t).filter((n=>!(0,H.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:r,schemaPath:o,errorPath:i},it:a},s,l,c){const u=c?$._`${e}, ${t}, ${r}${o}`:t,p=[[U.default.instancePath,(0,$.strConcat)(U.default.instancePath,i)],[U.default.parentData,a.parentData],[U.default.parentDataProperty,a.parentDataProperty],[U.default.rootData,U.default.rootData]];a.opts.dynamicRef&&p.push([U.default.dynamicAnchors,U.default.dynamicAnchors]);const f=$._`${u}, ${n.object(...p)}`;return l!==$.nil?$._`${s}.call(${l}, ${f})`:$._`${s}(${f})`};const s=$._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},r){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(r,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:$._`${"new RegExp"===i.code?s:(0,n.useFunc)(e,i)}(${r}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:r,it:o}=e,i=t.name("valid");if(o.allErrors){const e=t.let("valid",!0);return a((()=>t.assign(e,!1))),e}return t.var(i,!0),a((()=>t.break())),i;function a(o){const a=t.const("len",$._`${n}.length`);t.forRange("i",0,a,(n=>{e.subschema({keyword:r,dataProp:n,dataPropType:H.Type.Num},i),t.if((0,$.not)(i),o)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:r,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,H.alwaysValidSchema)(o,e)))&&!o.opts.unevaluated)return;const i=t.let("valid",!1),a=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:r,schemaProp:o,compositeRule:!0},a);t.assign(i,$._`${i} || ${a}`);e.mergeValidEvaluated(s,a)||t.if((0,$.not)(i))})))),e.result(i,(()=>e.reset()),(()=>e.error(!0)))}}));D(V),V.validateUnion,V.validateArray,V.usePattern,V.callValidateCode,V.schemaProperties,V.allSchemaProperties,V.noPropertyInData,V.propertyInData,V.isOwnProperty,V.hasPropFunc,V.reportMissingProp,V.checkMissingProp,V.checkReportMissingProp;var Y=x((function(e,t){function n(e){const{gen:t,data:n,it:r}=e;t.if(r.parentData,(()=>t.assign(n,$._`${r.parentData}[${r.parentDataProperty}]`)))}function r(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,$.stringify)(n)})}Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0,t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:a,it:s}=e,l=t.macro.call(s.self,i,a,s),c=r(n,o,l);!1!==s.opts.validateSchema&&s.self.validateSchema(l,!0);const u=n.name("valid");e.subschema({schema:l,schemaPath:$.nil,errSchemaPath:`${s.errSchemaPath}/${o}`,topSchemaRef:c,compositeRule:!0},u),e.pass(u,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var o;const{gen:i,keyword:a,schema:s,parentSchema:l,$data:c,it:u}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(u,t);const p=!c&&t.compile?t.compile.call(u.self,s,l,u):t.validate,f=r(i,a,p),d=i.let("valid");function h(n=(t.async?$._`await `:$.nil)){const r=u.opts.passContext?U.default.this:U.default.self,o=!("compile"in t&&!c||!1===t.schema);i.assign(d,$._`${n}${(0,V.callValidateCode)(e,f,r,o)}`,t.modifying)}function m(e){var n;i.if((0,$.not)(null!==(n=t.valid)&&void 0!==n?n:d),e)}e.block$data(d,(function(){if(!1===t.errors)h(),t.modifying&&n(e),m((()=>e.error()));else{const r=t.async?function(){const e=i.let("ruleErrs",null);return i.try((()=>h($._`await `)),(t=>i.assign(d,!1).if($._`${t} instanceof ${u.ValidationError}`,(()=>i.assign(e,$._`${t}.errors`)),(()=>i.throw(t))))),e}():function(){const e=$._`${f}.errors`;return i.assign(e,null),h($.nil),e}();t.modifying&&n(e),m((()=>function(e,t){const{gen:n}=e;n.if($._`Array.isArray(${t})`,(()=>{n.assign(U.default.vErrors,$._`${U.default.vErrors} === null ? ${t} : ${U.default.vErrors}.concat(${t})`).assign(U.default.errors,$._`${U.default.vErrors}.length`),(0,B.extendErrors)(e)}),(()=>e.error()))}(e,r)))}})),e.ok(null!==(o=t.valid)&&void 0!==o?o:d)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const a=o.dependencies;if(null==a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${a.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}}));D(Y),Y.validateKeywordUsage,Y.validSchemaType,Y.funcKeywordCode,Y.macroKeywordCode;var W=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0,t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:r,schemaPath:o,errSchemaPath:i,topSchemaRef:a}){if(void 0!==t&&void 0!==r)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const r=e.schema[t];return void 0===n?{schema:r,schemaPath:$._`${e.schemaPath}${(0,$.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:r[n],schemaPath:$._`${e.schemaPath}${(0,$.getProperty)(t)}${(0,$.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,H.escapeFragment)(n)}`}}if(void 0!==r){if(void 0===o||void 0===i||void 0===a)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:r,schemaPath:o,topSchemaRef:a,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:r,data:o,dataTypes:i,propertyName:a}){if(void 0!==o&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:s}=t;if(void 0!==n){const{errorPath:o,dataPathArr:i,opts:a}=t;l(s.let("data",$._`${t.data}${(0,$.getProperty)(n)}`,!0)),e.errorPath=$.str`${o}${(0,H.getErrorPath)(n,r,a.jsPropertySyntax)}`,e.parentDataProperty=$._`${n}`,e.dataPathArr=[...i,e.parentDataProperty]}if(void 0!==o){l(o instanceof $.Name?o:s.let("data",o,!0)),void 0!==a&&(e.propertyName=a)}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}i&&(e.dataTypes=i)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}}));D(W),W.extendSubschemaMode,W.extendSubschemaData,W.getSubschema;var Q=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n},X=x((function(e){var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,a,s,l,c,u,p){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in r(i,a,s,l,c,u,p),i){var d=i[f];if(Array.isArray(d)){if(f in t.arrayKeywords)for(var h=0;h<d.length;h++)n(e,r,o,d[h],a+"/"+f+"/"+h,s,a,f,i,h)}else if(f in t.propsKeywords){if(d&&"object"==typeof d)for(var m in d)n(e,r,o,d[m],a+"/"+f+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,a,f,i,m)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,r,o,d,a+"/"+f,s,a,f,i)}o(i,a,s,l,c,u,p)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.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}})),J=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!o(e):!!t&&i(e)<=t)};const r=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function o(e){for(const t in e){if(r.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(o))return!0;if("object"==typeof n&&o(n))return!0}return!1}function i(e){let t=0;for(const r in e){if("$ref"===r)return 1/0;if(t++,!n.has(r)&&("object"==typeof e[r]&&(0,H.eachItem)(e[r],(e=>t+=i(e))),t===1/0))return 1/0}return t}function a(e,t="",n){!1!==n&&(t=c(t));const r=e.parse(t);return s(e,r)}function s(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=a,t._getFullPath=s;const l=/#\/?$/;function c(e){return e?e.replace(l,""):""}t.normalizeId=c,t.resolveUrl=function(e,t,n){return n=c(n),e.resolve(t,n)};const u=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,o=c(e[n]||t),i={"":o},s=a(r,o,!1),l={},p=new Set;return X(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const a=s+t;let h=i[o];function m(t){const n=this.opts.uriResolver.resolve;if(t=c(h?n(h,t):t),p.has(t))throw d(t);p.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?f(e,r.schema,t):t!==c(a)&&("#"===t[0]?(f(e,l[t],t),l[t]=e):this.refs[t]=a),t}function T(e){if("string"==typeof e){if(!u.test(e))throw new Error(`invalid anchor "${e}"`);m.call(this,`#${e}`)}}"string"==typeof e[n]&&(h=m.call(this,e[n])),T.call(this,e.$anchor),T.call(this,e.$dynamicAnchor),i[t]=h})),l;function f(e,t,n){if(void 0!==t&&!Q(e,t))throw d(n)}function d(e){return new Error(`reference "${e}" resolves to more than one schema`)}}}));D(J),J.getSchemaRefs,J.resolveUrl,J.normalizeId,J._getFullPath,J.getFullPath,J.inlineRef;var Z=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=K;function r({gen:e,validateName:t,schema:n,schemaEnv:r,opts:i},a){i.code.es5?e.func(t,$._`${U.default.data}, ${U.default.valCxt}`,r.$async,(()=>{e.code($._`"use strict"; ${o(n,i)}`),function(e,t){e.if(U.default.valCxt,(()=>{e.var(U.default.instancePath,$._`${U.default.valCxt}.${U.default.instancePath}`),e.var(U.default.parentData,$._`${U.default.valCxt}.${U.default.parentData}`),e.var(U.default.parentDataProperty,$._`${U.default.valCxt}.${U.default.parentDataProperty}`),e.var(U.default.rootData,$._`${U.default.valCxt}.${U.default.rootData}`),t.dynamicRef&&e.var(U.default.dynamicAnchors,$._`${U.default.valCxt}.${U.default.dynamicAnchors}`)}),(()=>{e.var(U.default.instancePath,$._`""`),e.var(U.default.parentData,$._`undefined`),e.var(U.default.parentDataProperty,$._`undefined`),e.var(U.default.rootData,U.default.data),t.dynamicRef&&e.var(U.default.dynamicAnchors,$._`{}`)}))}(e,i),e.code(a)})):e.func(t,$._`${U.default.data}, ${function(e){return $._`{${U.default.instancePath}="", ${U.default.parentData}, ${U.default.parentDataProperty}, ${U.default.rootData}=${U.default.data}${e.dynamicRef?$._`, ${U.default.dynamicAnchors}={}`:$.nil}}={}`}(i)}`,r.$async,(()=>e.code(o(n,i)).code(a)))}function o(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?$._`/*# sourceURL=${n} */`:$.nil}function i(e,t){s(e)&&(l(e),a(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&u(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,J.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",U.default.errors);c(e,i),r.var(t,$._`${i} === ${U.default.errors}`)}(e,t):(0,j.boolOrEmptySchema)(e,t)}function a({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function s(e){return"boolean"!=typeof e.schema}function l(e){(0,H.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,H.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function c(e,t){if(e.opts.jtd)return p(e,[],!1,t);const n=(0,K.getSchemaTypes)(e.schema);p(e,n,!(0,K.coerceAndCheckDataType)(e,n),t)}function u({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code($._`${U.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=$.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code($._`${U.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function p(e,t,r,o){const{gen:i,schema:a,data:s,allErrors:l,opts:c,self:u}=e,{RULES:p}=u;function T(u){(0,q.shouldUseGroup)(a,u)&&(u.type?(i.if((0,n.checkDataType)(u.type,s,c.strictNumbers)),f(e,u),1===t.length&&t[0]===u.type&&r&&(i.else(),(0,n.reportTypeError)(e)),i.endIf()):f(e,u),l||i.if($._`${U.default.errors} === ${o||0}`))}!a.$ref||!c.ignoreKeywordsWithRef&&(0,H.schemaHasRulesButRef)(a,p)?(c.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{h(e.dataTypes,t)||m(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),e.dataTypes=e.dataTypes.filter((e=>h(t,e)))})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&m(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,q.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>d(t,e)))&&m(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),i.block((()=>{for(const e of p.rules)T(e);T(p.post)}))):i.block((()=>E(e,"$ref",p.all.$ref.definition)))}function f(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,z.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,q.shouldUseRule)(r,n)&&E(e,n.keyword,n.definition,t.type)}))}function d(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function h(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function m(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,H.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){s(e)&&(l(e),a(e))?function(e){const{schema:t,opts:n,gen:o}=e;r(e,(()=>{n.$comment&&t.$comment&&u(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,H.checkStrictMode)(e,"default is ignored in the schema root")}(e),o.let(U.default.vErrors,null),o.let(U.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",$._`${n}.evaluated`),t.if($._`${e.evaluated}.dynamicProps`,(()=>t.assign($._`${e.evaluated}.props`,$._`undefined`))),t.if($._`${e.evaluated}.dynamicItems`,(()=>t.assign($._`${e.evaluated}.items`,$._`undefined`)))}(e),c(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if($._`${U.default.errors} === 0`,(()=>t.return(U.default.data)),(()=>t.throw($._`new ${o}(${U.default.vErrors})`))):(t.assign($._`${r}.errors`,U.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof $.Name&&e.assign($._`${t}.props`,n);r instanceof $.Name&&e.assign($._`${t}.items`,r)}(e),t.return($._`${U.default.errors} === 0`))}(e)}))}(e):r(e,(()=>(0,j.topBoolOrEmptySchema)(e)))};class T{constructor(e,t,n){if((0,Y.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,H.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",y(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,Y.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",U.default.errors))}result(e,t,n){this.failResult((0,$.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,$.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail($._`${t} !== undefined && (${(0,$.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?B.reportExtraError:B.reportError)(this,this.def.error,t)}$dataError(){(0,B.reportError)(this,this.def.$dataError||B.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,B.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=$.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=$.nil,t=$.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,$.or)($._`${r} === undefined`,t)),e!==$.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==$.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:o,it:i}=this;return(0,$.or)(function(){if(r.length){if(!(t instanceof $.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return $._`${(0,n.checkDataTypes)(e,t,i.opts.strictNumbers,n.DataType.Wrong)}`}return $.nil}(),function(){if(o.validateSchema){const n=e.scopeValue("validate$data",{ref:o.validateSchema});return $._`!${n}(${t})`}return $.nil}())}subschema(e,t){const n=(0,W.getSubschema)(this.it,e);(0,W.extendSubschemaData)(n,this.it,e),(0,W.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return i(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=H.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=H.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,$.Name))),!0}}function E(e,t,n,r){const o=new T(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,Y.funcKeywordCode)(o,n):"macro"in n?(0,Y.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,Y.funcKeywordCode)(o,n)}t.KeywordCxt=T;const g=/^\/(?:[^~]|~0|~1)*$/,_=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function y(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return U.default.rootData;if("/"===e[0]){if(!g.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=U.default.rootData}else{const a=_.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+a[1];if(o=a[2],"#"===o){if(s>=t)throw new Error(l("property/index",s));return r[t-s]}if(s>t)throw new Error(l("data",s));if(i=n[t-s],!o)return i}let a=i;const s=o.split("/");for(const e of s)e&&(i=$._`${i}${(0,$.getProperty)((0,H.unescapeJsonPointer)(e))}`,a=$._`${a} && ${i}`);return a;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=y}));D(Z),Z.getData,Z.KeywordCxt,Z.validateFunctionCode;var ee=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n}));D(ee);var te=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e,t,n,r){super(r||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,J.resolveUrl)(e,t,n),this.missingSchema=(0,J.normalizeId)((0,J.getFullPath)(e,this.missingRef))}}t.default=n}));D(te);var ne=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;class n{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,J.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function r(e){const t=i.call(this,e);if(t)return t;const n=(0,J.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:r,lines:o}=this.opts.code,{ownProperties:a}=this.opts,s=new $.CodeGen(this.scope,{es5:r,lines:o,ownProperties:a});let l;e.$async&&(l=s.scopeValue("Error",{ref:ee.default,code:$._`require("ajv/dist/runtime/validation_error").default`}));const c=s.scopeName("validate");e.validateName=c;const u={gen:s,allErrors:this.opts.allErrors,data:U.default.data,parentData:U.default.parentData,parentDataProperty:U.default.parentDataProperty,dataNames:[U.default.data],dataPathArr:[$.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,$.stringify)(e.schema)}:{ref:e.schema}),validateName:c,ValidationError:l,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:$.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:$._`""`,opts:this.opts,self:this};let p;try{this._compilations.add(e),(0,Z.validateFunctionCode)(u),s.optimize(this.opts.code.optimize);const t=s.toString();p=`${s.scopeRefs(U.default.scope)}return ${t}`,this.opts.code.process&&(p=this.opts.code.process(p,e));const n=new Function(`${U.default.self}`,`${U.default.scope}`,p)(this,this.scope.get());if(this.scope.value(c,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:c,validateCode:t,scopeValues:s._values}),this.opts.unevaluated){const{props:e,items:t}=u;n.evaluated={props:e instanceof $.Name?void 0:e,items:t instanceof $.Name?void 0:t,dynamicProps:e instanceof $.Name,dynamicItems:t instanceof $.Name},n.source&&(n.source.evaluated=(0,$.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,p&&this.logger.error("Error compiling schema, function code:",p),t}finally{this._compilations.delete(e)}}function o(e){return(0,J.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:r.call(this,e)}function i(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function a(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||s.call(this,e,t)}function s(e,t){const o=this.opts.uriResolver.parse(t),i=(0,J._getFullPath)(this.opts.uriResolver,o);let a=(0,J.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&i===a)return c.call(this,o,e);const l=(0,J.normalizeId)(i),u=this.refs[l]||this.schemas[l];if("string"==typeof u){const t=s.call(this,e,u);if("object"!=typeof(null==t?void 0:t.schema))return;return c.call(this,o,t)}if("object"==typeof(null==u?void 0:u.schema)){if(u.validate||r.call(this,u),l===(0,J.normalizeId)(t)){const{schema:t}=u,{schemaId:r}=this.opts,o=t[r];return o&&(a=(0,J.resolveUrl)(this.opts.uriResolver,a,o)),new n({schema:t,schemaId:r,root:e,baseId:a})}return c.call(this,o,u)}}t.SchemaEnv=n,t.compileSchema=r,t.resolveRef=function(e,t,r){var i;r=(0,J.resolveUrl)(this.opts.uriResolver,t,r);const s=e.refs[r];if(s)return s;let l=a.call(this,e,r);if(void 0===l){const o=null===(i=e.localRefs)||void 0===i?void 0:i[r],{schemaId:a}=this.opts;o&&(l=new n({schema:o,schemaId:a,root:e,baseId:t}))}return void 0!==l?e.refs[r]=o.call(this,l):void 0},t.getCompilingSchema=i,t.resolveSchema=s;const l=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function c(e,{baseId:t,schema:r,root:o}){var i;if("/"!==(null===(i=e.fragment)||void 0===i?void 0:i[0]))return;for(const n of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;const e=r[(0,H.unescapeFragment)(n)];if(void 0===e)return;const o="object"==typeof(r=e)&&r[this.opts.schemaId];!l.has(n)&&o&&(t=(0,J.resolveUrl)(this.opts.uriResolver,t,o))}let a;if("boolean"!=typeof r&&r.$ref&&!(0,H.schemaHasRulesButRef)(r,this.RULES)){const e=(0,J.resolveUrl)(this.opts.uriResolver,t,r.$ref);a=s.call(this,o,e)}const{schemaId:c}=this.opts;return a=a||new n({schema:r,schemaId:c,root:o,baseId:t}),a.schema!==a.root.schema?a:void 0}}));D(ne),ne.resolveSchema,ne.getCompilingSchema,ne.resolveRef,ne.compileSchema,ne.SchemaEnv;const re="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",oe="Meta-schema for $data reference (JSON AnySchema extension proposal)",ie=["$data"],ae={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}};var se={$id:re,description:oe,type:"object",required:ie,properties:ae,additionalProperties:false},le=Object.freeze({__proto__:null,$id:re,description:oe,type:"object",required:ie,properties:ae,additionalProperties:false,default:se}),ce=x((function(e,t){
|
|
5
|
-
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
6
|
-
!function(e){function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function s(e){var r="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",u=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");n(r+t(r,o,"[\\+\\-\\.]")+"*"),n(n(a+"|"+t(u,s,"[\\:]"))+"*");var p=n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o),f=n(p+"\\."+p+"\\."+p+"\\."+p),d=n(i+"{1,4}"),h=n(n(d+"\\:"+d)+"|"+f),m=n(n(d+"\\:")+"{6}"+h),T=n("\\:\\:"+n(d+"\\:")+"{5}"+h),E=n(n(d)+"?\\:\\:"+n(d+"\\:")+"{4}"+h),g=n(n(n(d+"\\:")+"{0,1}"+d)+"?\\:\\:"+n(d+"\\:")+"{3}"+h),_=n(n(n(d+"\\:")+"{0,2}"+d)+"?\\:\\:"+n(d+"\\:")+"{2}"+h),y=n(n(n(d+"\\:")+"{0,3}"+d)+"?\\:\\:"+d+"\\:"+h),A=n(n(n(d+"\\:")+"{0,4}"+d)+"?\\:\\:"+h),v=n(n(n(d+"\\:")+"{0,5}"+d)+"?\\:\\:"+d),S=n(n(n(d+"\\:")+"{0,6}"+d)+"?\\:\\:"),C=n([m,T,E,g,_,y,A,v,S].join("|")),b=n(n(u+"|"+a)+"+");n("[vV]"+i+"+\\."+t(u,s,"[\\:]")+"+"),n(n(a+"|"+t(u,s))+"*");var N=n(a+"|"+t(u,s,"[\\:\\@]"));return n(n(a+"|"+t(u,s,"[\\@]"))+"+"),n(n(N+"|"+t("[\\/\\?]",c))+"*"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,s),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,l),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+f+")$"),IPV6ADDRESS:new RegExp("^\\[?("+C+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+b+")")+"?\\]?$")}}var l=s(!1),c=s(!0),u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},f=2147483647,d=36,h=1,m=26,T=38,E=700,g=72,_=128,y="-",A=/^xn--/,v=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,C={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=d-h,N=Math.floor,O=String.fromCharCode;function k(e){throw new RangeError(C[e])}function I(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function w(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+I((e=e.replace(S,".")).split("."),t).join(".")}function R(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var P=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d},D=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},x=function(e,t,n){var r=0;for(e=n?N(e/E):e>>1,e+=N(e/t);e>b*m>>1;r+=d)e=N(e/b);return N(r+(b+1)*e/(e+T))},L=function(e){var t=[],n=e.length,r=0,o=_,i=g,a=e.lastIndexOf(y);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&k("not-basic"),t.push(e.charCodeAt(s));for(var l=a>0?a+1:0;l<n;){for(var c=r,u=1,p=d;;p+=d){l>=n&&k("invalid-input");var T=P(e.charCodeAt(l++));(T>=d||T>N((f-r)/u))&&k("overflow"),r+=T*u;var E=p<=i?h:p>=i+m?m:p-i;if(T<E)break;var A=d-E;u>N(f/A)&&k("overflow"),u*=A}var v=t.length+1;i=x(r-c,v,0==c),N(r/v)>f-o&&k("overflow"),o+=N(r/v),r%=v,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},M=function(e){var t=[],n=(e=R(e)).length,r=_,o=0,i=g,a=!0,s=!1,l=void 0;try{for(var c,u=e[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var p=c.value;p<128&&t.push(O(p))}}catch(e){s=!0,l=e}finally{try{!a&&u.return&&u.return()}finally{if(s)throw l}}var T=t.length,E=T;for(T&&t.push(y);E<n;){var A=f,v=!0,S=!1,C=void 0;try{for(var b,I=e[Symbol.iterator]();!(v=(b=I.next()).done);v=!0){var w=b.value;w>=r&&w<A&&(A=w)}}catch(e){S=!0,C=e}finally{try{!v&&I.return&&I.return()}finally{if(S)throw C}}var P=E+1;A-r>N((f-o)/P)&&k("overflow"),o+=(A-r)*P,r=A;var L=!0,M=!1,F=void 0;try{for(var $,H=e[Symbol.iterator]();!(L=($=H.next()).done);L=!0){var U=$.value;if(U<r&&++o>f&&k("overflow"),U==r){for(var B=o,j=d;;j+=d){var G=j<=i?h:j>=i+m?m:j-i;if(B<G)break;var q=B-G,K=d-G;t.push(O(D(G+q%K,0))),B=N(q/K)}t.push(O(D(B,0))),i=x(o,P,E==T),o=0,++E}}}catch(e){M=!0,F=e}finally{try{!L&&H.return&&H.return()}finally{if(M)throw F}}++o,++r}return t.join("")},F=function(e){return w(e,(function(e){return A.test(e)?L(e.slice(4).toLowerCase()):e}))},$=function(e){return w(e,(function(e){return v.test(e)?"xn--"+M(e):e}))},H={version:"2.1.0",ucs2:{decode:R,encode:function(e){return String.fromCodePoint.apply(String,p(e))}},decode:L,encode:M,toASCII:$,toUnicode:F},U={};function B(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function j(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function G(e,t){function n(e){var n=j(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,B).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,B).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,B).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,B).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,B).replace(t.PCT_ENCODED,o)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function K(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=u(n,2)[1];return r?r.split(".").map(q).join("."):e}function z(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=u(n,3),o=r[1],i=r[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=u(a,2),l=s[0],c=s[1],p=c?c.split(":").map(q):[],f=l.split(":").map(q),d=t.IPV4ADDRESS.test(f[f.length-1]),h=d?7:8,m=f.length-h,T=Array(h),E=0;E<h;++E)T[E]=p[E]||f[m+E]||"";d&&(T[h-1]=K(T[h-1],t));var g=T.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]),_=g.sort((function(e,t){return t.length-e.length}))[0],y=void 0;if(_&&_.length>1){var A=T.slice(0,_.index),v=T.slice(_.index+_.length);y=A.join(":")+"::"+v.join(":")}else y=T.join(":");return i&&(y+="%"+i),y}return e}var V=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Y=void 0==="".match(/(){0}/)[1];function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:l;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(V);if(o){Y?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=z(K(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=U[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)G(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=H.toASCII(n.host.replace(r.PCT_ENCODED,j).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}G(n,l)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function Q(e,t){var n=!1!==t.iri?c:l,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(z(K(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var X=/^\.\.?\//,J=/^\/\.(\/|$)/,Z=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(X))e=e.replace(X,"");else if(e.match(J))e=e.replace(J,"/");else if(e.match(Z))e=e.replace(Z,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:l,r=[],o=U[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?H.toUnicode(e.host):H.toASCII(e.host.replace(n.PCT_ENCODED,j).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}G(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=Q(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),r.push(a)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=W(ne(e,n),n),t=W(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=a({scheme:"null"},n);return ne(re(W(e,r),W(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(W(e,t),t):"object"===r(e)&&(e=W(ne(e,t),t)),e}function ae(e,t,n){return"string"==typeof e?e=ne(W(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(W(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:l.ESCAPE,B)}function le(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:l.PCT_ENCODED,j)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},ue={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function pe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var fe={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=pe(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(pe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=u(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},de={scheme:"wss",domainHost:fe.domainHost,parse:fe.parse,serialize:fe.serialize},he={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Te="[0-9A-Fa-f]",Ee=n(n("%[EFef]"+Te+"%"+Te+Te+"%"+Te+Te)+"|"+n("%[89A-Fa-f]"+Te+"%"+Te+Te)+"|"+n("%"+Te+Te)),ge="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",_e=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ye="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ae=new RegExp(me,"g"),ve=new RegExp(Ee,"g"),Se=new RegExp(t("[^]",ge,"[\\.]",'[\\"]',_e),"g"),Ce=new RegExp(t("[^]",me,ye),"g"),be=Ce;function Ne(e){var t=j(e);return t.match(Ae)?t:e}var Oe={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},a=n.query.split("&"),s=0,l=a.length;s<l;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var u=c[1].split(","),p=0,f=u.length;p<f;++p)r.push(u[p]);break;case"subject":n.subject=le(c[1],t);break;case"body":n.body=le(c[1],t);break;default:o=!0,i[le(c[0],t)]=le(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var d=0,h=r.length;d<h;++d){var m=r[d].split("@");if(m[0]=le(m[0]),t.unicodeSupport)m[1]=le(m[1],t).toLowerCase();else try{m[1]=H.toASCII(le(m[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[d]=m.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var a=0,s=r.length;a<s;++a){var l=String(r[a]),c=l.lastIndexOf("@"),u=l.slice(0,c).replace(ve,Ne).replace(ve,o).replace(Se,B),p=l.slice(c+1);try{p=t.iri?H.toUnicode(p):H.toASCII(le(p,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}r[a]=u+"@"+p}n.path=r.join(",")}var f=e.headers=e.headers||{};e.subject&&(f.subject=e.subject),e.body&&(f.body=e.body);var d=[];for(var h in f)f[h]!==he[h]&&d.push(h.replace(ve,Ne).replace(ve,o).replace(Ce,B)+"="+f[h].replace(ve,Ne).replace(ve,o).replace(be,B));return d.length&&(n.query=d.join("&")),n}},ke=/^([^\:]+)\:(.*)/,Ie={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ke),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),a=n[2],s=o+":"+(t.nid||i),l=U[s];r.nid=i,r.nss=a,r.path=void 0,l&&(r=l.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=U[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(r||t.nid)+":"+s,a}},we=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Re={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(we)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};U[ce.scheme]=ce,U[ue.scheme]=ue,U[fe.scheme]=fe,U[de.scheme]=de,U[Oe.scheme]=Oe,U[Ie.scheme]=Ie,U[Re.scheme]=Re,e.SCHEMES=U,e.pctEncChar=B,e.pctDecChars=j,e.parse=W,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=le,Object.defineProperty(e,"__esModule",{value:!0})}(t)}));D(ce);var ue=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),ce.code='require("ajv/dist/runtime/uri").default',t.default=ce}));D(ue);var pe=L(le),fe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0,Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return Z.KeywordCxt}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return $._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return $.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return $.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return $.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return $.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return $.CodeGen}});const n=$,r=(e,t)=>new RegExp(e,t);r.code="new RegExp";const o=["removeAdditional","useDefaults","coerceTypes"],i=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),a={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}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"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.",ajvErrors:"It is default now."},s={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function l(e){var t,n,o,i,a,s,l,c,u,p,f,d,h,m,T,E,g,_,y,A,v,S,C,b,N;const O=e.strict,k=null===(t=e.code)||void 0===t?void 0:t.optimize,I=!0===k||void 0===k?1:k||0,w=null!==(o=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==o?o:r,R=null!==(i=e.uriResolver)&&void 0!==i?i:ue.default;return{strictSchema:null===(s=null!==(a=e.strictSchema)&&void 0!==a?a:O)||void 0===s||s,strictNumbers:null===(c=null!==(l=e.strictNumbers)&&void 0!==l?l:O)||void 0===c||c,strictTypes:null!==(p=null!==(u=e.strictTypes)&&void 0!==u?u:O)&&void 0!==p?p:"log",strictTuples:null!==(d=null!==(f=e.strictTuples)&&void 0!==f?f:O)&&void 0!==d?d:"log",strictRequired:null!==(m=null!==(h=e.strictRequired)&&void 0!==h?h:O)&&void 0!==m&&m,code:e.code?{...e.code,optimize:I,regExp:w}:{optimize:I,regExp:w},loopRequired:null!==(T=e.loopRequired)&&void 0!==T?T:200,loopEnum:null!==(E=e.loopEnum)&&void 0!==E?E:200,meta:null===(g=e.meta)||void 0===g||g,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(y=e.inlineRefs)||void 0===y||y,schemaId:null!==(A=e.schemaId)&&void 0!==A?A:"$id",addUsedSchema:null===(v=e.addUsedSchema)||void 0===v||v,validateSchema:null===(S=e.validateSchema)||void 0===S||S,validateFormats:null===(C=e.validateFormats)||void 0===C||C,unicodeRegExp:null===(b=e.unicodeRegExp)||void 0===b||b,int32range:null===(N=e.int32range)||void 0===N||N,uriResolver:R}}class c{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...l(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new n.ValueScope({scope:{},prefixes:i,es5:t,lines:r}),this.logger=function(e){if(!1===e)return T;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const o=e.validateFormats;e.validateFormats=!1,this.RULES=(0,G.getRules)(),u.call(this,a,e,"NOT SUPPORTED"),u.call(this,s,e,"DEPRECATED","warn"),this._metaOpts=m.call(this),e.formats&&d.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&h.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),f.call(this),e.validateFormats=o}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=pe;"id"===n&&(r={...pe},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof te.default))throw t;return a.call(this,t),await s.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function s(e){const n=await l.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function l(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,J.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)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;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=p.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new ne.SchemaEnv({schema:{},schemaId:n});if(t=ne.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=p.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,J.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(g.call(this,n,t),!t)return(0,H.eachItem)(n,(e=>_.call(this,e))),this;A.call(this,t);const r={...t,type:(0,K.getJSONTypes)(t.type),schemaType:(0,K.getJSONTypes)(t.schemaType)};return(0,H.eachItem)(n,0===r.type.length?e=>_.call(this,e,r):e=>r.type.forEach((t=>_.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=S(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:a}=this.opts;if("object"==typeof e)i=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;n=(0,J.normalizeId)(i||n);const l=J.getSchemaRefs.call(this,e,n);return s=new ne.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:n,localRefs:l}),this._cache.set(s.schema,s),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),r&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):ne.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{ne.compileSchema.call(this,e)}finally{this.opts=t}}}function u(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function p(e){return e=(0,J.normalizeId)(e),this.schemas[e]||this.refs[e]}function f(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function d(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function h(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function m(){const e={...this.opts};for(const t of o)delete e[t];return e}t.default=c,c.ValidationError=ee.default,c.MissingRefError=te.default;const T={log(){},warn(){},error(){}};const E=/^[a-z_$][a-z0-9_$:-]*$/i;function g(e,t){const{RULES:n}=this;if((0,H.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!E.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function _(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let a=o?i.post:i.rules.find((({type:e})=>e===n));if(a||(a={type:n,rules:[]},i.rules.push(a)),i.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,K.getJSONTypes)(t.type),schemaType:(0,K.getJSONTypes)(t.schemaType)}};t.before?y.call(this,a,s,t.before):a.rules.push(s),i.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function y(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function A(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=S(t)),e.validateSchema=this.compile(t,!0))}const v={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function S(e){return{anyOf:[e,v]}}}));D(fe),fe.CodeGen,fe.Name,fe.nil,fe.stringify,fe.str,fe._,fe.KeywordCxt;var de=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n}));D(de);var he=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const n={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:i}=e,{baseId:a,schemaEnv:s,validateName:l,opts:c,self:u}=i,{root:p}=s;if(("#"===n||"#/"===n)&&a===p.baseId)return function(){if(s===p)return o(e,l,s,s.$async);const n=t.scopeValue("root",{ref:p});return o(e,$._`${n}.validate`,p,p.$async)}();const f=ne.resolveRef.call(u,p,a,n);if(void 0===f)throw new te.default(i.opts.uriResolver,a,n);return f instanceof ne.SchemaEnv?function(t){const n=r(e,t);o(e,n,t,t.$async)}(f):function(r){const o=t.scopeValue("schema",!0===c.code.source?{ref:r,code:(0,$.stringify)(r)}:{ref:r}),i=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:$.nil,topSchemaRef:o,errSchemaPath:n},i);e.mergeEvaluated(a),e.ok(i)}(f)}};function r(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):$._`${n.scopeValue("wrapper",{ref:t})}.validate`}function o(e,t,n,r){const{gen:o,it:i}=e,{allErrors:a,schemaEnv:s,opts:l}=i,c=l.passContext?U.default.this:$.nil;function u(e){const t=$._`${e}.errors`;o.assign(U.default.vErrors,$._`${U.default.vErrors} === null ? ${t} : ${U.default.vErrors}.concat(${t})`),o.assign(U.default.errors,$._`${U.default.vErrors}.length`)}function p(e){var t;if(!i.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==i.props)if(r&&!r.dynamicProps)void 0!==r.props&&(i.props=H.mergeEvaluated.props(o,r.props,i.props));else{const t=o.var("props",$._`${e}.evaluated.props`);i.props=H.mergeEvaluated.props(o,t,i.props,$.Name)}if(!0!==i.items)if(r&&!r.dynamicItems)void 0!==r.items&&(i.items=H.mergeEvaluated.items(o,r.items,i.items));else{const t=o.var("items",$._`${e}.evaluated.items`);i.items=H.mergeEvaluated.items(o,t,i.items,$.Name)}}r?function(){if(!s.$async)throw new Error("async schema referenced by sync schema");const n=o.let("valid");o.try((()=>{o.code($._`await ${(0,V.callValidateCode)(e,t,c)}`),p(t),a||o.assign(n,!0)}),(e=>{o.if($._`!(${e} instanceof ${i.ValidationError})`,(()=>o.throw(e))),u(e),a||o.assign(n,!1)})),e.ok(n)}():e.result((0,V.callValidateCode)(e,t,c),(()=>p(t)),(()=>u(t)))}t.getValidate=r,t.callRef=o,t.default=n}));D(he),he.callRef,he.getValidate;var me=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",de.default,he.default];t.default=n}));D(me);var Te=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=$.operators,r={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},o={message:({keyword:e,schemaCode:t})=>$.str`must be ${r[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>$._`{comparison: ${r[e].okStr}, limit: ${t}}`},i={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:o,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data($._`${n} ${r[t].fail} ${o} || isNaN(${n})`)}};t.default=i}));D(Te);var Ee=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>$.str`must be multiple of ${e}`,params:({schemaCode:e})=>$._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:r,it:o}=e,i=o.opts.multipleOfPrecision,a=t.let("res"),s=i?$._`Math.abs(Math.round(${a}) - ${a}) > 1e-${i}`:$._`${a} !== parseInt(${a})`;e.fail$data($._`(${r} === 0 || (${a} = ${n}/${r}, ${s}))`)}};t.default=n}));D(Ee);var ge=x((function(e,t){function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'}));D(ge);var _e=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return $.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>$._`{limit: ${e}}`},r={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:n,code(e){const{keyword:t,data:n,schemaCode:r,it:o}=e,i="maxLength"===t?$.operators.GT:$.operators.LT,a=!1===o.opts.unicode?$._`${n}.length`:$._`${(0,H.useFunc)(e.gen,ge.default)}(${n})`;e.fail$data($._`${a} ${i} ${r}`)}};t.default=r}));D(_e);var ye=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>$.str`must match pattern "${e}"`,params:({schemaCode:e})=>$._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:r,schemaCode:o,it:i}=e,a=i.opts.unicodeRegExp?"u":"",s=n?$._`(new RegExp(${o}, ${a}))`:(0,V.usePattern)(e,r);e.fail$data($._`!${s}.test(${t})`)}};t.default=n}));D(ye);var Ae=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return $.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>$._`{limit: ${e}}`},r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:n,code(e){const{keyword:t,data:n,schemaCode:r}=e,o="maxProperties"===t?$.operators.GT:$.operators.LT;e.fail$data($._`Object.keys(${n}).length ${o} ${r}`)}};t.default=r}));D(Ae);var ve=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>$.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>$._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:r,data:o,$data:i,it:a}=e,{opts:s}=a;if(!i&&0===n.length)return;const l=n.length>=s.loopRequired;if(a.allErrors?function(){if(l||i)e.block$data($.nil,c);else for(const t of n)(0,V.checkReportMissingProp)(e,t)}():function(){const a=t.let("missing");if(l||i){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,r,(()=>{t.assign(i,(0,V.propertyInData)(t,o,n,s.ownProperties)),t.if((0,$.not)(i),(()=>{e.error(),t.break()}))}),$.nil)}(a,n))),e.ok(n)}else t.if((0,V.checkMissingProp)(e,n,a)),(0,V.reportMissingProp)(e,a),t.else()}(),s.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${a.schemaEnv.baseId+a.errSchemaPath}" (strictRequired)`;(0,H.checkStrictMode)(a,t,a.opts.strictRequired)}}function c(){t.forOf("prop",r,(n=>{e.setParams({missingProperty:n}),t.if((0,V.noPropertyInData)(t,o,n,s.ownProperties),(()=>e.error()))}))}}};t.default=n}));D(ve);var Se=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return $.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>$._`{limit: ${e}}`},r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:n,code(e){const{keyword:t,data:n,schemaCode:r}=e,o="maxItems"===t?$.operators.GT:$.operators.LT;e.fail$data($._`${n}.length ${o} ${r}`)}};t.default=r}));D(Se);var Ce=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Q.code='require("ajv/dist/runtime/equal").default',t.default=Q}));D(Ce);var be=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>$.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>$._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:r,schema:o,parentSchema:i,schemaCode:a,it:s}=e;if(!r&&!o)return;const l=t.let("valid"),c=i.items?(0,K.getSchemaTypes)(i.items):[];function u(r,o){const i=t.name("item"),a=(0,K.checkDataTypes)(c,i,s.opts.strictNumbers,K.DataType.Wrong),u=t.const("indices",$._`{}`);t.for($._`;${r}--;`,(()=>{t.let(i,$._`${n}[${r}]`),t.if(a,$._`continue`),c.length>1&&t.if($._`typeof ${i} == "string"`,$._`${i} += "_"`),t.if($._`typeof ${u}[${i}] == "number"`,(()=>{t.assign(o,$._`${u}[${i}]`),e.error(),t.assign(l,!1).break()})).code($._`${u}[${i}] = ${r}`)}))}function p(r,o){const i=(0,H.useFunc)(t,Ce.default),a=t.name("outer");t.label(a).for($._`;${r}--;`,(()=>t.for($._`${o} = ${r}; ${o}--;`,(()=>t.if($._`${i}(${n}[${r}], ${n}[${o}])`,(()=>{e.error(),t.assign(l,!1).break(a)}))))))}e.block$data(l,(function(){const r=t.let("i",$._`${n}.length`),o=t.let("j");e.setParams({i:r,j:o}),t.assign(l,!0),t.if($._`${r} > 1`,(()=>(c.length>0&&!c.some((e=>"object"===e||"array"===e))?u:p)(r,o)))}),$._`${a} === false`),e.ok(l)}};t.default=n}));D(be);var Ne=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>$._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:r,schemaCode:o,schema:i}=e;r||i&&"object"==typeof i?e.fail$data($._`!${(0,H.useFunc)(t,Ce.default)}(${n}, ${o})`):e.fail($._`${i} !== ${n}`)}};t.default=n}));D(Ne);var Oe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>$._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:r,schema:o,schemaCode:i,it:a}=e;if(!r&&0===o.length)throw new Error("enum must have non-empty array");const s=o.length>=a.opts.loopEnum,l=(0,H.useFunc)(t,Ce.default);let c;if(s||r)c=t.let("valid"),e.block$data(c,(function(){t.assign(c,!1),t.forOf("v",i,(e=>t.if($._`${l}(${n}, ${e})`,(()=>t.assign(c,!0).break()))))}));else{if(!Array.isArray(o))throw new Error("ajv implementation error");const e=t.const("vSchema",i);c=(0,$.or)(...o.map(((t,r)=>function(e,t){const r=o[t];return"object"==typeof r&&null!==r?$._`${l}(${n}, ${e}[${t}])`:$._`${n} === ${r}`}(e,r))))}e.pass(c)}};t.default=n}));D(Oe);var ke=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=[Te.default,Ee.default,_e.default,ye.default,Ae.default,ve.default,Se.default,be.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Ne.default,Oe.default];t.default=n}));D(ke);var Ie=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>$.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>$._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:o}=t;Array.isArray(o)?r(e,o):(0,H.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function r(e,t){const{gen:n,schema:r,data:o,keyword:i,it:a}=e;a.items=!0;const s=n.const("len",$._`${o}.length`);if(!1===r)e.setParams({len:t.length}),e.pass($._`${s} <= ${t.length}`);else if("object"==typeof r&&!(0,H.alwaysValidSchema)(a,r)){const r=n.var("valid",$._`${s} <= ${t.length}`);n.if((0,$.not)(r),(()=>function(r){n.forRange("i",t.length,s,(t=>{e.subschema({keyword:i,dataProp:t,dataPropType:H.Type.Num},r),a.allErrors||n.if((0,$.not)(r),(()=>n.break()))}))}(r))),e.ok(r)}}t.validateAdditionalItems=r,t.default=n}));D(Ie),Ie.validateAdditionalItems;var we=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return r(e,"additionalItems",t);n.items=!0,(0,H.alwaysValidSchema)(n,t)||e.ok((0,V.validateArray)(e))}};function r(e,t,n=e.schema){const{gen:r,parentSchema:o,data:i,keyword:a,it:s}=e;!function(e){const{opts:r,errSchemaPath:o}=s,i=n.length,l=i===e.minItems&&(i===e.maxItems||!1===e[t]);if(r.strictTuples&&!l){const e=`"${a}" is ${i}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;(0,H.checkStrictMode)(s,e,r.strictTuples)}}(o),s.opts.unevaluated&&n.length&&!0!==s.items&&(s.items=H.mergeEvaluated.items(r,n.length,s.items));const l=r.name("valid"),c=r.const("len",$._`${i}.length`);n.forEach(((t,n)=>{(0,H.alwaysValidSchema)(s,t)||(r.if($._`${c} > ${n}`,(()=>e.subschema({keyword:a,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=r,t.default=n}));D(we),we.validateTuple;var Re=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,we.validateTuple)(e,"items")};t.default=n}));D(Re);var Pe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>$.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>$._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:o}=n;r.items=!0,(0,H.alwaysValidSchema)(r,t)||(o?(0,Ie.validateAdditionalItems)(e,o):e.ok((0,V.validateArray)(e)))}};t.default=n}));D(Pe);var De=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?$.str`must contain at least ${e} valid item(s)`:$.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?$._`{minContains: ${e}}`:$._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;let a,s;const{minContains:l,maxContains:c}=r;i.opts.next?(a=void 0===l?1:l,s=c):a=1;const u=t.const("len",$._`${o}.length`);if(e.setParams({min:a,max:s}),void 0===s&&0===a)return void(0,H.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==s&&a>s)return(0,H.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,H.alwaysValidSchema)(i,n)){let t=$._`${u} >= ${a}`;return void 0!==s&&(t=$._`${t} && ${u} <= ${s}`),void e.pass(t)}i.items=!0;const p=t.name("valid");function f(){const e=t.name("_valid"),n=t.let("count",0);d(e,(()=>t.if(e,(()=>function(e){t.code($._`${e}++`),void 0===s?t.if($._`${e} >= ${a}`,(()=>t.assign(p,!0).break())):(t.if($._`${e} > ${s}`,(()=>t.assign(p,!1).break())),1===a?t.assign(p,!0):t.if($._`${e} >= ${a}`,(()=>t.assign(p,!0))))}(n)))))}function d(n,r){t.forRange("i",0,u,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:H.Type.Num,compositeRule:!0},n),r()}))}void 0===s&&1===a?d(p,(()=>t.if(p,(()=>t.break())))):0===a?(t.let(p,!0),void 0!==s&&t.if($._`${o}.length > 0`,f)):(t.let(p,!1),f()),e.result(p,(()=>e.reset()))}};t.default=n}));D(De);var xe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0,t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const r=1===t?"property":"properties";return $.str`must have ${r} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:r}})=>$._`{property: ${e},
|
|
7
|
-
missingProperty: ${r},
|
|
8
|
-
depsCount: ${t},
|
|
9
|
-
deps: ${n}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);r(e,t),o(e,n)}};function r(e,t=e.schema){const{gen:n,data:r,it:o}=e;if(0===Object.keys(t).length)return;const i=n.let("missing");for(const a in t){const s=t[a];if(0===s.length)continue;const l=(0,V.propertyInData)(n,r,a,o.opts.ownProperties);e.setParams({property:a,depsCount:s.length,deps:s.join(", ")}),o.allErrors?n.if(l,(()=>{for(const t of s)(0,V.checkReportMissingProp)(e,t)})):(n.if($._`${l} && (${(0,V.checkMissingProp)(e,s,i)})`),(0,V.reportMissingProp)(e,i),n.else())}}function o(e,t=e.schema){const{gen:n,data:r,keyword:o,it:i}=e,a=n.name("valid");for(const s in t)(0,H.alwaysValidSchema)(i,t[s])||(n.if((0,V.propertyInData)(n,r,s,i.opts.ownProperties),(()=>{const t=e.subschema({keyword:o,schemaProp:s},a);e.mergeValidEvaluated(t,a)}),(()=>n.var(a,!0))),e.ok(a))}t.validatePropertyDeps=r,t.validateSchemaDeps=o,t.default=n}));D(xe),xe.validateSchemaDeps,xe.validatePropertyDeps,xe.error;var Le=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>$._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:r,it:o}=e;if((0,H.alwaysValidSchema)(o,n))return;const i=t.name("valid");t.forIn("key",r,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},i),t.if((0,$.not)(i),(()=>{e.error(!0),o.allErrors||t.break()}))})),e.ok(i)}};t.default=n}));D(Le);var Me=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>$._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:r,data:o,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=a;if(a.props=!0,"all"!==l.removeAdditional&&(0,H.alwaysValidSchema)(a,n))return;const c=(0,V.allSchemaProperties)(r.properties),u=(0,V.allSchemaProperties)(r.patternProperties);function p(e){t.code($._`delete ${o}[${e}]`)}function f(r){if("all"===l.removeAdditional||l.removeAdditional&&!1===n)p(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(s||t.break());if("object"==typeof n&&!(0,H.alwaysValidSchema)(a,n)){const n=t.name("valid");"failing"===l.removeAdditional?(d(r,n,!1),t.if((0,$.not)(n),(()=>{e.reset(),p(r)}))):(d(r,n),s||t.if((0,$.not)(n),(()=>t.break())))}}}function d(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:H.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",o,(n=>{c.length||u.length?t.if(function(n){let o;if(c.length>8){const e=(0,H.schemaRefOrVal)(a,r.properties,"properties");o=(0,V.isOwnProperty)(t,e,n)}else o=c.length?(0,$.or)(...c.map((e=>$._`${n} === ${e}`))):$.nil;return u.length&&(o=(0,$.or)(o,...u.map((t=>$._`${(0,V.usePattern)(e,t)}.test(${n})`)))),(0,$.not)(o)}(n),(()=>f(n))):f(n)})),e.ok($._`${i} === ${U.default.errors}`)}};t.default=n}));D(Me);var Fe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;"all"===i.opts.removeAdditional&&void 0===r.additionalProperties&&Me.default.code(new Z.KeywordCxt(i,Me.default,"additionalProperties"));const a=(0,V.allSchemaProperties)(n);for(const e of a)i.definedProperties.add(e);i.opts.unevaluated&&a.length&&!0!==i.props&&(i.props=H.mergeEvaluated.props(t,(0,H.toHash)(a),i.props));const s=a.filter((e=>!(0,H.alwaysValidSchema)(i,n[e])));if(0===s.length)return;const l=t.name("valid");for(const n of s)c(n)?u(n):(t.if((0,V.propertyInData)(t,o,n,i.opts.ownProperties)),u(n),i.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(l);function c(e){return i.opts.useDefaults&&!i.compositeRule&&void 0!==n[e].default}function u(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},l)}}};t.default=n}));D(Fe);var $e=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=H,r={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:o,parentSchema:i,it:a}=e,{opts:s}=a,l=(0,V.allSchemaProperties)(r),c=l.filter((e=>(0,H.alwaysValidSchema)(a,r[e])));if(0===l.length||c.length===l.length&&(!a.opts.unevaluated||!0===a.props))return;const u=s.strictSchema&&!s.allowMatchingProperties&&i.properties,p=t.name("valid");!0===a.props||a.props instanceof $.Name||(a.props=(0,n.evaluatedPropsToName)(t,a.props));const{props:f}=a;function d(e){for(const t in u)new RegExp(e).test(t)&&(0,H.checkStrictMode)(a,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function h(r){t.forIn("key",o,(o=>{t.if($._`${(0,V.usePattern)(e,r)}.test(${o})`,(()=>{const i=c.includes(r);i||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:o,dataPropType:n.Type.Str},p),a.opts.unevaluated&&!0!==f?t.assign($._`${f}[${o}]`,!0):i||a.allErrors||t.if((0,$.not)(p),(()=>t.break()))}))}))}!function(){for(const e of l)u&&d(e),a.allErrors?h(e):(t.var(p,!0),h(e),t.if(p))}()}};t.default=r}));D($e);var He=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:r}=e;if((0,H.alwaysValidSchema)(r,n))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=n}));D(He);var Ue=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:V.validateUnion,error:{message:"must match a schema in anyOf"}};t.default=n}));D(Ue);var Be=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>$._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:r,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(o.opts.discriminator&&r.discriminator)return;const i=n,a=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block((function(){i.forEach(((n,r)=>{let i;(0,H.alwaysValidSchema)(o,n)?t.var(l,!0):i=e.subschema({keyword:"oneOf",schemaProp:r,compositeRule:!0},l),r>0&&t.if($._`${l} && ${a}`).assign(a,!1).assign(s,$._`[${s}, ${r}]`).else(),t.if(l,(()=>{t.assign(a,!0),t.assign(s,r),i&&e.mergeEvaluated(i,$.Name)}))}))})),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}};t.default=n}));D(Be);var je=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach(((t,n)=>{if((0,H.alwaysValidSchema)(r,t))return;const i=e.subschema({keyword:"allOf",schemaProp:n},o);e.ok(o),e.mergeEvaluated(i)}))}};t.default=n}));D(je);var Ge=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>$.str`must match "${e.ifClause}" schema`,params:({params:e})=>$._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:o}=e;void 0===n.then&&void 0===n.else&&(0,H.checkStrictMode)(o,'"if" without "then" and "else" is ignored');const i=r(o,"then"),a=r(o,"else");if(!i&&!a)return;const s=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),i&&a){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,c("then",n),c("else",n))}else i?t.if(l,c("then")):t.if((0,$.not)(l),c("else"));function c(n,r){return()=>{const o=e.subschema({keyword:n},l);t.assign(s,l),e.mergeValidEvaluated(o,s),r?t.assign(r,$._`${n}`):e.setParams({ifClause:n})}}e.pass(s,(()=>e.error(!0)))}};function r(e,t){const n=e.schema[t];return void 0!==n&&!(0,H.alwaysValidSchema)(e,n)}t.default=n}));D(Ge);var qe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,H.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=n}));D(qe);var Ke=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=!1){const t=[He.default,Ue.default,Be.default,je.default,Ge.default,qe.default,Le.default,Me.default,xe.default,Fe.default,$e.default];return e?t.push(Re.default,Pe.default):t.push(Ie.default,we.default),t.push(De.default),t}}));D(Ke);var ze=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>$.str`must match format "${e}"`,params:({schemaCode:e})=>$._`{format: ${e}}`},code(e,t){const{gen:n,data:r,$data:o,schema:i,schemaCode:a,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:u,self:p}=s;l.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:p.formats,code:l.code.formats}),i=n.const("fDef",$._`${o}[${a}]`),s=n.let("fType"),c=n.let("format");n.if($._`typeof ${i} == "object" && !(${i} instanceof RegExp)`,(()=>n.assign(s,$._`${i}.type || "string"`).assign(c,$._`${i}.validate`)),(()=>n.assign(s,$._`"string"`).assign(c,i))),e.fail$data((0,$.or)(!1===l.strictSchema?$.nil:$._`${a} && !${c}`,function(){const e=u.$async?$._`(${i}.async ? await ${c}(${r}) : ${c}(${r}))`:$._`${c}(${r})`,n=$._`(typeof ${c} == "function" ? ${e} : ${c}.test(${r}))`;return $._`${c} && ${c} !== true && ${s} === ${t} && !${n}`}()))}():function(){const o=p.formats[i];if(!o)return void function(){if(!1===l.strictSchema)return void p.logger.warn(e());throw new Error(e());function e(){return`unknown format "${i}" ignored in schema at path "${c}"`}}();if(!0===o)return;const[a,s,f]=function(e){const t=e instanceof RegExp?(0,$.regexpCode)(e):l.code.formats?$._`${l.code.formats}${(0,$.getProperty)(i)}`:void 0,r=n.scopeValue("formats",{key:i,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,$._`${r}.validate`];return["string",e,r]}(o);a===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!u.$async)throw new Error("async format in sync schema");return $._`await ${f}(${r})`}return"function"==typeof s?$._`${f}(${r})`:$._`${f}.test(${r})`}())}())}};t.default=n}));D(ze);var Ve=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=[ze.default];t.default=n}));D(Ve);var Ye=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}));D(Ye),Ye.contentVocabulary,Ye.metadataVocabulary;var We=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=[me.default,ke.default,(0,Ke.default)(),Ve.default,Ye.metadataVocabulary,Ye.contentVocabulary];t.default=n}));D(We);var Qe=x((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,(n=t.DiscrError||(t.DiscrError={})).Tag="tag",n.Mapping="mapping"}));D(Qe),Qe.DiscrError;var Xe=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===Qe.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>$._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:r,parentSchema:o,it:i}=e,{oneOf:a}=o;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=r.propertyName;if("string"!=typeof s)throw new Error("discriminator: requires propertyName");if(r.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),c=t.const("tag",$._`${n}${(0,$.getProperty)(s)}`);function u(n){const r=t.name("valid"),o=e.subschema({keyword:"oneOf",schemaProp:n},r);return e.mergeEvaluated(o,$.Name),r}t.if($._`typeof ${c} == "string"`,(()=>function(){const n=function(){var e;const t={},n=l(o);let r=!0;for(let t=0;t<a.length;t++){let o=a[t];(null==o?void 0:o.$ref)&&!(0,H.schemaHasRulesButRef)(o,i.self.RULES)&&(o=ne.resolveRef.call(i.self,i.schemaEnv,i.baseId,null==o?void 0:o.$ref),o instanceof ne.SchemaEnv&&(o=o.schema));const u=null===(e=null==o?void 0:o.properties)||void 0===e?void 0:e[s];if("object"!=typeof u)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);r=r&&(n||l(o)),c(u,t)}if(!r)throw new Error(`discriminator: "${s}" must be required`);return t;function l({required:e}){return Array.isArray(e)&&e.includes(s)}function c(e,t){if(e.const)u(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`);for(const n of e.enum)u(n,t)}}function u(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${s}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf($._`${c} === ${e}`),t.assign(l,u(n[e]));t.else(),e.error(!1,{discrError:Qe.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}()),(()=>e.error(!1,{discrError:Qe.DiscrError.Tag,tag:c,tagName:s}))),e.ok(l)}};t.default=n}));D(Xe);const Je="http://json-schema.org/draft-07/schema#",Ze="http://json-schema.org/draft-07/schema#",et="Core schema meta-schema",tt={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:[]}},nt=["object","boolean"],rt={$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:"#"}};var ot={$schema:Je,$id:Ze,title:et,definitions:tt,type:nt,properties:rt,default:!0},it=L(Object.freeze({__proto__:null,$schema:Je,$id:Ze,title:et,definitions:tt,type:nt,properties:rt,default:ot})),at=x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=["/properties"],r="http://json-schema.org/draft-07/schema";class o extends fe.default{_addVocabularies(){super._addVocabularies(),We.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(Xe.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(it,n):it;this.addMetaSchema(e,r,!1),this.refs["http://json-schema.org/schema"]=r}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(r)?r:void 0)}}e.exports=t=o,Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return Z.KeywordCxt}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return $._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return $.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return $.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return $.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return $.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return $.CodeGen}})})),st=D(at);at.CodeGen,at.Name,at.nil,at.stringify,at.str,at._,at.KeywordCxt;var lt={type:"object",properties:{title:{type:"string"},key:{type:"string"},mandatory:{type:"boolean"},hideable:{type:"boolean"},advanced:{type:"boolean"},whiteList:{type:"array",minItems:1},options:{type:"array",minItems:1},maxItems:{type:["number","null"]}},required:["title","type","key"]},ct={type:"object",properties:{schemaType:{enum:["component","module","template","page"]},displayName:{type:"string"},component:{type:"string"},category:{type:["string","null"]},dataPacks:{type:["array","null"]},configTabs:{type:"array",items:{type:"object",properties:{title:{enum:["content","config"]},fields:{type:"array",items:p({},lt)}}}}},required:["schemaType","displayName","component","dataPacks"]},ut=Object.freeze({__proto__:null,AsyncSelect:{type:"object",properties:{entity:{type:"string"}},required:["entity"]},CheckGroup:{type:"object",properties:{}},ComponentArray:{type:"object",properties:{maxItems:{type:["null","number"]},whiteList:{type:"array",minItems:1},key:{type:"string",const:"elements"}},required:["whiteList"]},ComponentContainer:{type:"object",properties:{whiteList:{type:"array",minItems:1}},required:["whiteList"]},Components:ct,ConditionalField:{type:"object",properties:{}},DateField:{type:"object",properties:{}},FieldGroup:{type:"object",properties:{}},FileField:{type:"object",properties:{}},HeadingField:{type:"object",properties:{title:{type:"string"},type:{type:"string"},key:{type:"string"},mandatory:{type:"boolean"},advanced:{type:"boolean"},default:{type:"object",properties:{tag:{type:"string"},content:{type:"string"}},additionalProperties:!1},options:{type:"array"}},required:["title","type","key","advanced","options"]},Image:{type:"object",properties:{}},ImageField:{type:"object",properties:{}},Modules:{type:"object",properties:{schemaType:{enum:["component","module","template","page"]},displayName:{type:"string"},component:{type:"string"},category:{type:["string","null"]},dataPacks:{type:["array","null"]},configTabs:{type:"array",items:{type:"object",properties:{title:{enum:["content","config"]},fields:{type:"array",items:{type:"object",properties:{mandatory:{type:"boolean"},title:{type:"string"},key:{type:"string"},hideable:{type:"boolean"}},required:["key"]}}}}}},required:["schemaType","displayName","component","category","dataPacks"]},NumberField:{type:"object",properties:{default:{type:"number"}},required:[]},Pages:{type:"object",properties:{schemaType:{enum:["component","module","template","page"]},displayName:{type:"string"},component:{type:"string"},dataPacks:{type:["array","null"]}},required:["schemaType","displayName","component","dataPacks"]},RadioGroup:{type:"object",properties:{}},ReferenceField:{type:"object",properties:{source:{type:"array"}},required:["source"]},RichText:{type:"object",properties:{}},Select:{type:"object",properties:{options:{type:"array"}},required:["options"]},SliderField:{type:"object",properties:{}},template:{type:"object",properties:{source:{type:"array"}},required:["source"]},Templates:{type:"object",properties:{schemaType:{enum:["component","module","template","page"]},displayName:{type:"string"},component:{type:"string"},dataPacks:{type:["array","null"]},configTabs:{type:"array",items:{type:"object",properties:{title:{enum:["content","config"]},fields:{type:"array",items:{type:"object",properties:{mandatory:{type:"boolean"},title:{type:"string"},key:{type:"string"},hideable:{type:"boolean"}},required:["key"]}}}}}},required:["schemaType","displayName","component","dataPacks"]},TextArea:{type:"object",properties:{}},TextField:{type:"object",properties:{}},UniqueCheck:{type:"object",properties:{options:{type:"array"}},required:["options"]},UrlField:{type:"object",properties:{}},VisualUniqueSelection:{type:"object",properties:{options:{type:"array"}},required:["options"]},Wysiwyg:{type:"object",properties:{}}}),pt=new st({allErrors:!0,allowUnionTypes:!0}),ft=function(e,t){var n=t.component||t.id;return void 0!==e[n]?e[n]:(console.warn("The component <".concat(n,"> doesn't exist inside ").concat(JSON.stringify(Object.keys(e)))),null)};function dt(e,t,n){if(null!=e&&e.type){var r=pt.compile(t);r(e)||function(e,t,n){console.error("\\---------------\nERROR in schema validation:\nschema -> ".concat(e.component||e.displayName,"\ntype -> ").concat(t.type,"\nkey -> ").concat(t.key,"\n").concat(pt.errorsText(n.errors),"\n\\---------------"))}(n,e,r)}}function ht(e){var t=mt({title:"content",schema:e}),n=mt({title:"config",schema:e});return[].concat(_(t),[n]).forEach((function(t){dt(t,lt,e),dt(t,ut[null==t?void 0:t.type],e)})),e}function mt(e){var t,n=e.title;return null===(t=e.schema.configTabs.find((function(e){return e.title===n})))||void 0===t?void 0:t.fields}var Tt=function(){return r(b)},Et={domain:"https://res.cloudinary.com",uploadFolder:"image/upload",fallback404ImageId:"dx-placeholders/fallback-404-image",quality:51,crop:"fill",gravity:"faces:center",format:"auto",loading:"lazy",backgroundLazy:!1,decoding:"auto",responsive:[{breakpoint:null,width:"320px"}]},gt=function(e){return function(e,t){var n=parseFloat(e.match(/\d*\.?\d*/)[0]),r=e.split(n.toString())[1],o=t(n);return"".concat(o).concat(r)}(e,(function(e){return e/2}))},_t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n="#"===e[0]?e.substring(1,7):e,r=parseInt(n.substring(0,2),16),o=parseInt(n.substring(2,4),16),i=parseInt(n.substring(4,6),16);return"rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(t,")")},yt=function(e,t,n){return n?t===n?"":"".concat(e,": ").concat(n,";"):""},At=function(e,t,n){return t?"".concat(e,": ").concat(t,";"):n?"".concat(e,": ").concat(n,";"):""},vt=function(e){try{var t=e.mediaquery.mediaqueries,n={};return t.forEach((function(e){if("default"!==e.label){var t=e.minWidth?"and (min-width: ".concat(e.minWidth,")"):"",r=e.maxWidth?"and (max-width: ".concat(e.maxWidth,")"):"";n[e.label]="@media only screen ".concat(t," ").concat(r)}})),n}catch(e){return null}},St=function(e){try{return e.fontFamily.fontFamilies}catch(e){return null}},Ct=function(e){return"string"==typeof e?e.match(/\d*\.?\d+?/)[0]:"number"==typeof e?e:void 0},bt=function(e,t){return'\n &::before, &::after {\n content: "";\n display: block;\n }\n &::before {\n margin-bottom: '.concat(t,"em;\n }\n &::after {\n margin-top: ").concat(e,"em;\n }\n ")},Nt=function(e){try{return _(new Set(e.textStyle.textStyles.map((function(e){return e.fontSize})).filter(Boolean).reverse().map((function(e){return Number(e.split("px")[0])})).sort((function(e,t){return e-t}))))}catch(e){return null}},Ot=function(e){if(e.spacing&&Object.keys(e.spacing).length)return Object.entries(e.spacing).reduce((function(e,t){var n=g(t,2),r=n[0],o=n[1];return p(p({},e),{},m({},r,"string"==typeof o?function(e){return"-".concat(e)}(o):void 0))}),{})},kt=function(e){if(e.spacing&&Object.keys(e.spacing).length)return Object.entries(e.spacing).reduce((function(e,t){var n=g(t,2),r=n[0],o=n[1];return p(p({},e),{},m({},r,"string"==typeof o?gt(o):void 0))}),{})},It=function(e){if(e.spacing&&Object.keys(e.spacing).length)return Object.entries(e.spacing).reduce((function(e,t){var n=g(t,2),r=n[0],o=n[1];return p(p({},e),{},m({},r,"string"==typeof o?function(e){return"-".concat(e)}(gt(o)):void 0))}),{})},wt=function(e){var t=function(e){try{var t=e.color.colors,n=Object.keys(t).reduce((function(e,n){var r,o=function(e){return 1===e.opacity||void 0===e.opacity||null===e.opacity},i=function(e){try{return"#"===e.value[0]}catch(e){return!1}},a=function(e){try{return"hsl"===e.type.toLowerCase()}catch(e){return!1}},s=function(e){try{return"rgb"===e.type.toLowerCase()}catch(e){return!1}};return r=t[n],a(r)&&!o(r)&&(e[n]="hsla(".concat(t[n].value.map((function(e,t){return"".concat(0===t?e:"string"==typeof e?-1===e.indexOf("%")?e+"%":e:e+"%")})).join(", "),", ").concat(t[n].opacity,")")),function(e){return a(e)&&o(e)}(t[n])&&(e[n]="hsl(".concat(t[n].value.map((function(e,t){return"".concat(0===t?e:"string"==typeof e?-1===e.indexOf("%")?e+"%":e:e+"%")})).join(", "),")")),function(e){return i(e)&&o(e)}(t[n])&&(e[n]="".concat(t[n].value)),function(e){return i(e)&&!o(e)}(t[n])&&(e[n]="".concat(_t(t[n].value,t[n].opacity))),function(e){return s(e)&&o(e)}(t[n])&&(e[n]="rgb(".concat(t[n].value.join(", "),")")),function(e){return s(e)&&!o(e)}(t[n])&&(e[n]="rgba(".concat(t[n].value.join(", "),", ").concat(t[n].opacity,")")),e}),{});return n}catch(e){return null}}(e),n=function(e){try{var t=e.gradient.gradients;return Object.keys(t).reduce((function(e,n){return e[n]="linear-gradient(".concat(t[n].direction,", ").concat(t[n].stops.map((function(e){return"".concat(_t(e.color,e.opacity)," ").concat(e.position)})).join(","),")"),e}),{})}catch(e){return null}}(e),r=function(e){try{var t=e.shadow.shadows;return Object.keys(t).reduce((function(e,n){return e[n]="".concat(t[n].x,"px ").concat(t[n].y,"px ").concat(t[n].blur,"px ").concat(_t(t[n].color,t[n].opacity)),e}),{})}catch(e){return null}}(e),o=vt(e),i=function(e){try{var t=vt(e),n=St(e),r=e.textStyle.defaultStyles,o=e.textStyle.textStyles,i={};return o.forEach((function(e){var o=Ct(e.fontSize),a=void 0!==e.croptop?e.croptop:0,s=void 0!==e.cropbottom?e.cropbottom:0,l=Math.max(a+o/2*0,0)/o*-1,c=Math.max(s+o/2*0,0)/o*-1;i[e.name]="\n\n ".concat(At("font-family",n[e.fontFamily],n[r.fontFamily]),"\n ").concat(At("font-size",e.fontSize,r.fontSize),"\n ").concat(At("font-weight",e.fontWeight,r.fontWeight),"\n ").concat(At("letter-spacing",e.letterSpacing,r.letterSpacing),"\n ").concat(At("line-height",e.lineHeight,r.lineHeight),"\n ").concat(At("font-style",e.fontStyle,r.fontStyle),"\n ").concat(At("text-transform",e.textTransform,r.textTransform),"\n ").concat(a&&s?bt(l,c):"","\n \n ").concat(e.responsive?e.responsive.map((function(r,i){return o=Ct(r.fontSize),a=void 0!==r.croptop?r.croptop:0,s=void 0!==r.cropbottom?r.cropbottom:0,l=Math.max(a+o/2*0,0)/o*-1,c=Math.max(s+o/2*0,0)/o*-1,i<1?"\n ".concat(t[r.breakpoint]," {\n ").concat(yt("font-family",n[e.fontFamily],n[r.fontFamily]),"\n ").concat(yt("font-size",e.fontSize,r.fontSize),"\n ").concat(yt("font-weight",e.fontWeight,r.fontWeight),"\n ").concat(yt("line-height",e.lineHeight,r.lineHeight),"\n ").concat(yt("letter-spacing",e.letterSpacing,r.letterSpacing),"\n ").concat(yt("font-style",e.fontStyle,r.fontStyle),"\n ").concat(yt("text-transform",e.textTransform,r.textTransform),"\n ").concat(a&&s?bt(l,c):"","\n }\n "):(o=Ct(r.fontSize),a=void 0!==r.croptop?r.croptop:0,s=void 0!==r.cropbottom?r.cropbottom:0,l=Math.max(a+o/2*0,0)/o*-1,c=Math.max(s+o/2*0,0)/o*-1,"\n ".concat(t[r.breakpoint]," {\n ").concat(yt("font-family",n[e.responsive[i-1].fontFamily],n[r.fontFamily]),"\n ").concat(yt("font-size",e.responsive[i-1].fontSize,r.fontSize),"\n ").concat(yt("font-weight",e.responsive[i-1].fontWeight,r.fontWeight),"\n ").concat(yt("line-height",e.responsive[i-1].lineHeight,r.lineHeight),"\n ").concat(yt("letter-spacing",e.responsive[i-1].letterSpacing,r.letterSpacing),"\n ").concat(yt("font-style",e.responsive[i-1].fontStyle,r.fontStyle),"\n ").concat(yt("text-transform",e.responsive[i-1].textTransform,r.textTransform),"\n ").concat(a&&s?bt(l,c):"","\n }\n "))})).join(""):"","\n ")})),i}catch(e){return null}}(e),a=function(e){try{return e.mediaquery.mediaqueries.map((function(e){return e.minWidth})).filter(Boolean)}catch(e){return null}}(e),s=St(e);try{e.mediaquery.mediaqueries.forEach((function(e){a[e.label]=e.minWidth}))}catch(e){}return p(p({},e),{},{fontFamily:s,color:t,colors:t,gradient:n,shadow:r,mq:o,textStyle:i,breakpoints:a,fontSizes:Nt(e),negateSpacing:Ot(e),halfSpacing:kt(e),negateHalfSpacing:It(e)})},Rt=function(e){return e?e.toString().split(/cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%/)[0]:""},Pt=function(e){return Object.fromEntries(Object.entries(e).filter((function(e){return e[1]})))},Dt=function(e,t){return(null==t?void 0:t.startsWith("".concat(e,"#")))?"#".concat(t.split("#")[1]):t},xt="undefined"!=typeof window,Lt=function(){var e=xt&&JSON.parse(localStorage.getItem("persist:app"));if(!e)return null;var t=e.token;return t=JSON.parse(t),{Authorization:"bearer ".concat(t)}},Mt=function(){var e,t=f(xt)&&JSON.parse(localStorage.getItem("persist:root"));if(!t)return 1;var n=t.sites;return null===(e=(n=JSON.parse(n)).currentSiteInfo)||void 0===e?void 0:e.id},Ft=function(){return xt&&parseInt(localStorage.getItem("langID"))};function $t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.obj,n=e.searchKey,r=e.results,o=void 0===r?[]:r,i=e.unique,a=void 0===i||i,s=o;return Object.keys(t).forEach((function(e){var r=t[e];e===n&&"object"!==f(r)?s.push(r):"object"===f(r)&&r&&$t({obj:r,searchKey:n,results:s})})),a?_(new Set(s)):s}function Ht(e){var t=e.baseUrl,n=e.params,r=Object.keys(n).map((function(e){return function(e){return Array.isArray(e)&&e.length>0||"number"==typeof e||"string"==typeof e}(n[e])?"".concat(e,"/").concat(n[e]):""})).join("/");return"".concat(t).concat(r.split("/").filter(Boolean).join("/"))}var Ut=["root","imageConfig"],Bt=["publicId"],jt=function(e){var t,n=e.root,r=e.imageConfig,o=E(e,Ut),i=(t=o,p(p({},Pt(r)),Pt(t))),a=i.crop?"c_".concat(i.crop):"",s=i.quality?"q_".concat(i.quality):"",l=i.gravity?"g_".concat(i.gravity):"",c=i.format?"f_".concat(i.format):"",u=i.width?"w_".concat(Rt(i.width)):"",f=i.height?"h_".concat(Rt(i.height)):"",d=i.ar?"ar_".concat(i.ar):"",h="".concat(a,",").concat(l,",").concat(c,",").concat(s,",").concat(u,",").concat(f,",").concat(d).split(/._null|._undefined|,{1,}|._,|._$|undefined|null/).filter(Boolean).join(",");return"".concat(n,"/").concat(h)},Gt=function(e){var t,n,r,o=e.publicId,i=E(e,Bt),a=Tt(),s=a.cloudinaryCloudName,l=a.cloudinaryDefaults,c=p(p(p({},Et),l),i),u="".concat(c.domain,"/").concat(s,"/").concat(c.uploadFolder),f="".concat(jt({root:u,imageConfig:c,quality:20,width:"512"}),"/").concat(c.fallback404ImageId),d=c.responsive.map((function(e){var t=e.width,n=e.height,r=e.quality,i=e.crop,a=jt({root:u,imageConfig:c,quality:r,crop:i,width:t,height:n});return"".concat(a,"/").concat(o," ").concat(Rt(t),"w")})),h=(t=c.responsive.reverse(),n=t.filter((function(e){return null===e.breakpoint})),r=t.filter((function(e){return null!==e.breakpoint})),[].concat(_(r),_(n))).map((function(e,t){return t<c.responsive.length-1?"(min-width: ".concat(e.breakpoint,") ").concat(e.width):"".concat(e.width)})).join(", "),m=d.map((function(e){return e.split(" ")[0]})),T=c.responsive[0];return{src:"".concat(jt(p({root:u,imageConfig:c},T)),"/").concat(o),srcSet:d,sizes:h,fallbackSrcImage:f,srcSetURL:m}};function qt(){return r(b).linkComponent}var Kt={firstModule:"",siteSlug:"/",title:"Default page provider title",breadcrumb:[],fullPath:"/",apiUrl:"/",fullUrl:"/",languageId:null,pageLanguages:[]};function zt(){var e,t=r(k),n=null==t||null===(e=t.pageLanguages)||void 0===e?void 0:e.filter((function(e){return e.isLive}));return t?p(p({},t),{},{pageLanguages:n}):(console.warn("Griddo: You forgot to put <PageProvider>."),p(p({},Kt),{},{pageLanguages:n}))}var Vt=function(e,t){return!!e.find((function(e){return e.id===t}))},Yt=function(e,t){var n;return(null===(n=e.find((function(e){return e.id===t})))||void 0===n?void 0:n.locale)||"xx_XX"},Wt=function(e,t){return!!e.find((function(e){return(null==e?void 0:e.locale)===t}))},Qt={languageId:"internalLangId",siteLangs:[{id:"internalLangId",locale:"xx_XX"}],translations:{xx_XX:{griddo:"griddo"}}},Xt=function(e,t){return null==e?void 0:e.split(".").reduce((function(e,t){return e[t]?e[t]:""}),t)},Jt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locale,n=Tt(),o=(null==n?void 0:n.siteLangs)||Qt.siteLangs,i=zt(),a=(null==i?void 0:i.languageId)||Qt.languageId,s=r(v),l=(null==s?void 0:s.translations)||Qt.translations;l||console.warn("Griddo: <SiteProvider> needs to have the prop translations"),void 0===o&&console.warn("Griddo: <SiteProvider> needs to have the prop siteLangs set with the site languages"),a||console.warn("Griddo: <PageProvider> needs to have the prop languageId set with the page language id"),Vt(o,a)||console.warn("Griddo: languageId ".concat(a," doesn't exist in this site")),void 0===t||Wt(o,t)||console.warn("Griddo: locale ".concat(t," doesn't exist in this site"));var c=t||Yt(o,a),u=l?l[c]:void 0,p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return u&&u[e]||t},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return u&&Xt(e,u)||t};return c&&a?{getTranslation:p,getNestedTranslation:f}:(console.warn("Griddo: You forgot to put <I18nProvider> or exists an error in language id."),{})},Zt=function(e){var t=g(i(null),2),n=t[0],r=t[1],o=e||{},s=o.order,l=o.quantity,c=o.source,u=o.mode,f=o.fixed,d=o.filter,m=zt().apiUrl;return a((function(){var e=!!Ft(),t=Mt()||"global",n="".concat(m,"/site/").concat(t,"/distributor"),o=function(e){return{method:"POST",mode:"cors",cache:"no-cache",headers:p({"Content-Type":"application/json",lang:Ft()},Lt()),redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(e)}}("auto"===u?{mode:u,order:s,quantity:l,source:c,filter:d}:{mode:u,fixed:f}),i=function(){var e=h(regeneratorRuntime.mark((function e(){var t,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(n,o);case 2:return t=e.sent,e.next=5,t.json();case 5:i=e.sent,r(i);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e&&i()}),[u,s,l,f,d,c]),n},en=function(){var e=g(i(),2),t=e[0],n=e[1],r=g(i(!0),2),o=r[0],s=r[1],l=zt(),c=l.apiUrl,u=l.header,f=l.footer,d=l.fullPath,m=Tt().siteMetadata;a((function(){T()}),[]);var T=function(){var e=h(regeneratorRuntime.mark((function e(){var t,r,o,i,a,l,h,T,E,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((i={}).topMenu=[{label:null==m?void 0:m.title,children:null===(t=u.topMenu)||void 0===t?void 0:t.elements,url:{linkToURL:!!d&&"".concat(d.domainUrl).concat(d.site)}}],m){e.next=13;break}return a=Mt(),l="".concat(c,"/site/").concat(a),e.next=7,fetch(l,{method:"GET",mode:"cors",cache:"no-cache",headers:p({"Content-Type":"application/json",lang:Ft()},Lt())});case 7:return h=e.sent,e.next=10,h.json();case 10:T=e.sent,E=T.name,i.topMenu[0].label=E;case 13:i.mainMenu=null===(r=u.mainMenu)||void 0===r?void 0:r.elements,g=null===(o=f.legalMenu)||void 0===o?void 0:o.elements,i.footerMenu=[{label:null,children:g}],n(i),s(!1);case 18:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return[t,o]},tn=function(e){var t,n=e.emptyText,r=e.listElements,o=e.defaultOption,a=g(i(!1),2),s=a[0],l=a[1],c={label:n,value:null},u=[c].concat(_((t=null==r?void 0:r.reduce((function(e,t){if(!Array.isArray(t))return e;var n=null==t?void 0:t.map((function(e){return e.label}));return[].concat(_(e),_(n))}),[]),_(new Set(t)).map((function(e){return{label:e,value:e}}))))),p=u.find((function(e){return e.value===o})),f=g(i(p||c),2),d=f[0],h=f[1];return[u,d,function(e){return function(){h(u.find((function(t){return t.label===e}))),l(!1)}},s,l]},nn=["or","and"];function rn(e){return!!e&&nn.includes(e.toLowerCase())}function on(){var t=Tt(),n=t.publicApiUrl,r=t.siteId,o=t.renderer,i=zt().languageId,a=g(e.useState(),2),s=a[0],l=a[1],c=g(e.useState(),2),u=c[0],f=c[1],d=g(e.useState(!0),2),h=d[0],m=d[1],T=g(e.useState(!1),2),E=T[0],y=T[1],A=g(e.useState({}),2),v=A[0],S=A[1],C="editor"===o;return e.useEffect((function(){if(u){u&&function(){m(!0);var e=u.queryUrl,t=u.extra;fetch(e).then((function(e){return e.json()})).then((function(e){m(!1),y(!1),200!==(null==e?void 0:e.code)&&void 0!==(null==e?void 0:e.code)?(y(!0),S(e)):(y(!1),l(p(p({},e),{},{totalItems:t.totalItems?t.totalItems:e.totalItems})))})).catch((function(e){m(!1),y(!0),console.log(e)}))}()}}),[u]),[{query:s,isLoading:h,isError:E,msg:v},function(e){var t,o=e.data,a=e.apiUrl,s=void 0===a?"".concat(n):a,l=e.items,c=void 0===l?10:l,u=e.lang,p=void 0===u?i:u,d=e.page,h=void 0===d?1:d,m=e.site,T=void 0===m?r:m,E=e.fields,g=e.filterIds,y=e.cached,A=e.search,v=e.operator,S=e.exclude,b=C?(new Date).valueOf():y,N=null==A?void 0:A.replace(/\s/g,"+"),O="auto"===o.mode,k=o.source||o.fixed,I=function(e){var t=e.array,n=e.page,r=e.itemsPerPage;return Array.isArray(t)?_(t).splice((n-1)*r,r):[]}({array:k,page:h,itemsPerPage:c}),w=O?"/list/":"/list/fixed/",R="".concat(O?k:I,"/"),P=Ht({baseUrl:"".concat(s).concat(w).concat(R),params:{site:T,lang:p,get:E,page:O?h:null,items:O?c:null,order:O?o.order:null,filter:g,maxItems:o.quantity,search:N,operator:rn(v)?v:null,exclude:(t=S,Array.isArray(t)?S:null),cached:b}});return f({queryUrl:P,extra:{totalItems:"manual"===o.mode&&o.fixed.length}})}]}function an(){var t=Tt(),n=t.publicApiUrl,r=t.siteId,o=t.renderer,i=zt().languageId,a=g(e.useState(),2),s=a[0],l=a[1],c=g(e.useState(),2),u=c[0],f=c[1],d=g(e.useState(!0),2),h=d[0],m=d[1],T=g(e.useState(!1),2),E=T[0],_=T[1],y=g(e.useState({}),2),A=y[0],v=y[1],S="editor"===o;return e.useEffect((function(){if(u){u&&function(){m(!0);var e=u.queryUrl;fetch(e).then((function(e){return e.json()})).then((function(e){m(!1),_(!1),200!==(null==e?void 0:e.code)&&void 0!==(null==e?void 0:e.code)?(_(!0),v(e)):(_(!1),l(p({},e)))})).catch((function(e){m(!1),_(!0),console.log(e)}))}()}}),[u]),[{query:s,isLoading:h,isError:E,msg:A},function(e){var t=e.data,o=e.apiUrl,a=void 0===o?"".concat(n):o,s=e.lang,l=void 0===s?i:s,c=e.site,u=void 0===c?r:c,p=e.cached,d=S?(new Date).valueOf():p,h=t.source||t.fixed,m="".concat(h,"/"),T=Ht({baseUrl:"".concat(a).concat("/filters/").concat(m),params:{site:u,lang:l,cached:d}});return f({queryUrl:T})}]}var sn=["libComponents"],ln=function(e){var n=e.libComponents,r=E(e,sn),o=Tt().renderer,i="undefined"!=typeof window?parseInt(localStorage.getItem("selectedID")||0):null,a=ft(n,p({},r));return"editor"===o?t.createElement(P,T({selectedEditorID:i},r),t.createElement(a,r)):t.createElement(a,r)},cn=function(e){var n=e.header,r=e.footer,o=e.content,i=e.apiUrl,a=e.languageId,s=e.pageLanguages,l=e.library,c=l.templates,u=l.components,p=e.siteMetadata,f=c[o.template.templateType],d=o.template.heroSection?o.template.heroSection.modules[0]:void 0,h=d?d.component:void 0,m=$t({obj:o.template,searchKey:"component"});return t.createElement(I,{title:o.title,breadcrumb:o.breadcrumb,fullPath:o.fullPath,fullUrl:o.fullUrl,siteSlug:o.siteSlug,firstModule:h,apiUrl:i,languageId:a,pageLanguages:s,header:n,footer:r,siteMetadata:p,origin:o.origin,site:o.site,componentList:m,activeSectionSlug:o.template.activeSectionSlug||"/",activeSectionBase:o.template.activeSectionBase,modified:o.modified,published:o.published},!!n&&t.createElement(ln,T({},n,{libComponents:u})),t.createElement(f,o.template),!!r&&t.createElement(ln,T({},r,{libComponents:u})))},un=function(e){var n=e.content,r=e.library.components;return!!n&&t.createElement(ln,T({libComponents:r},n))},pn=function(e){var n=e.isPage;return void 0!==n&&n?t.createElement(cn,e):t.createElement(un,e)},fn=["url","linkProp","children"],dn=function(e){var n=e.url,r=e.linkProp,o=void 0===r?"to":r,i=e.children,a=E(e,fn),s=zt().fullUrl,l=qt()||"a",c=function(e){var t=null==e?void 0:e.href,n=null==e?void 0:e.linkToURL,r=null==n?void 0:n.match(/^\/{2}|^https?:/g),o=null==n?void 0:n.match(/^\/\w/g);return{href:t||(r?n:null),to:o?n:null}}(n),u=c.href,f=c.to,d=null==n?void 0:n.newTab,h=null==n?void 0:n.noFollow,T=p(p({},a),{},m({target:d&&"_blank",rel:"".concat(h?"nofollow":""," ").concat(d?"noreferrer":"").trim(),href:Dt(s,u)},o,Dt(s,f)));return f?t.createElement(t.Fragment,null,t.createElement("p",null,"Router"),t.createElement(l,T,i)):t.createElement("a",T,i)},hn=x((function(e,n){n.__esModule=!0,n.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(t);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s="--aspect-ratio";class l extends r.Component{constructor(){super(...arguments),a(this,"node",null),a(this,"setNode",(e=>{this.node=e}))}componentDidUpdate(){if(this.node){var{node:e}=this;e.style.getPropertyValue(s)||e.style.setProperty(s,"("+this.props.ratio+")")}}render(){var e=this.props,{children:t,ratio:n,style:o}=e,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","ratio","style"]),l=i({},o,{[s]:"("+n+")"});return r.default.createElement("div",i({},a,{ref:this.setNode,style:l}),t)}}a(l,"defaultProps",{className:"react-aspect-ratio-placeholder",ratio:1});var c=l;n.default=c}));D(hn);var mn=x((function(e,n){n.__esModule=!0,n.default=void 0;var r,o=(r=t)&&r.__esModule?r:{default:r};function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var a=e=>{var{children:t,ratio:n,style:r}=e,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","ratio","style"]),s=i({},r,{"--aspect-ratio":"("+n+")"});return o.default.createElement("div",i({},a,{style:s}),t)};a.defaultProps={className:"react-aspect-ratio-placeholder",ratio:1};var s=a;n.default=s}));D(mn);var Tn=hn,En=mn,gn=x((function(e,t){t.__esModule=!0,t.AspectRatio=t.default=void 0;var n=o(Tn),r=o(En);function o(e){return e&&e.__esModule?e:{default:e}}var i=n.default;t.default=i;var a=r.default;t.AspectRatio=a}));D(gn);var _n=gn.AspectRatio;R('[style*="--aspect-ratio"] > img {\n height: auto;\n}\n\n[style*="--aspect-ratio"] {\n position: relative;\n}\n\n[style*="--aspect-ratio"] > :first-child {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n[style*="--aspect-ratio"]::before {\n content: "";\n display: block;\n width: 100%;\n}\n\n@supports not (aspect-ratio: 1/1) {\n [style*="--aspect-ratio"]::before {\n height: 0;\n padding-bottom: calc(100% / (var(--aspect-ratio)));\n }\n}\n\n@supports (aspect-ratio: 1/1) {\n [style*="--aspect-ratio"]::before {\n aspect-ratio: calc(var(--aspect-ratio));\n }\n}\n');var yn=["alt","width","height","ratio","fixed","publicId","src","objectFit"],An=function(e){var n=e.alt,r=e.width,o=e.height,i=e.ratio,a=e.fixed,s=e.publicId,l=e.src,c=e.objectFit,u=void 0===c?"cover":c,f=E(e,yn),d=Tt().cloudinaryDefaults,h=p(p(p({},Et),d),f),m=Gt({crop:h.crop,format:h.format,gravity:h.gravity,quality:h.quality,sizes:h.sizes,responsive:h.responsive,width:r,height:o,ar:i,publicId:s}),g=m.srcSet,_=m.sizes,y=m.fallbackSrcImage,A=m.src,v={alt:n,width:r,height:o,loading:h.loading,style:{objectFit:u},decoding:h.decoding},S=p(p({},v),{},{src:l}),C=p(p({},v),{},{srcSet:g,sizes:_,src:A}),b=function(){return t.createElement("img",T({},l?S:C,{onError:function(e){e.target.src!==y&&(e.target.onerror=null,e.target.srcset="",e.target.sizes="",e.target.style="",e.target.src=y)}}))};return a?t.createElement(b,null):t.createElement(_n,{ratio:i,style:{maxWidth:"100%",alignSelf:"normal"}},t.createElement(b,null))};R('.Griddo-BgImage {\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.Griddo-BgImage::before {\n z-index: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n content: "";\n display: block;\n}\n\n.Griddo-BgImage.lazy {\n background-image: none;\n}\n');var vn=["backgroundRepeat","backgroundSize","backgroundPosition","children","overlayColor","overlayOpacity","overlayTransition","ratio","publicId","src","customLazyClassName","lazy"],Sn=function(e){var n=e.backgroundRepeat,r=void 0===n?"no-repeat":n,o=e.backgroundSize,i=void 0===o?"cover":o,a=e.backgroundPosition,s=void 0===a?"50% 50%":a,l=e.children,c=e.overlayColor,u=void 0===c?null:c,f=e.overlayOpacity,d=void 0===f?0:f,h=e.overlayTransition,m=void 0===h?"2s":h,T=e.ratio,g=e.publicId,y=e.src,A=e.customLazyClassName,v=void 0===A?"lazy":A,S=e.lazy,C=E(e,vn),b=Tt().cloudinaryDefaults,N=p(p(p(p({},b),Et),C),{},{backgroundLazy:b.backgroundLazy||Et.backgroundLazy||S}),O=Gt({responsive:_(N.responsive),quality:N.quality,crop:N.crop,gravity:N.gravity,format:N.format,publicId:g,ar:T}).srcSetURL,k=y?[y]:O,I=y?[]:N.responsive.map((function(e){return e.breakpoint})),w="Griddo-BgImage--".concat(Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,8)),R=N.backgroundLazy?v:"",P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array(e).fill(0).map((function(e,n){return n+t}))}(k.length-1,1).map((function(e){return"@media (min-width: ".concat(I[e],") {\n .").concat(w," {\n background-image: url(").concat(k[e],");\n }\n }\n ")})).join("");return t.createElement(t.Fragment,null,t.createElement("style",{dangerouslySetInnerHTML:{__html:"\n\n .".concat(w," {\n background-repeat: ").concat(r,";\n background-position: ").concat(s,";\n background-size: ").concat(i,";\n background-image: url(").concat(k[0],");\n }\n\n ").concat(P,"\n\n .").concat(w,"::before {\n transition: all ").concat(m," ease;\n background-color: rgba(0, 0, 0, ").concat(d,");\n ").concat(u?"\n background-color: ".concat(u,";\n opacity: ").concat(d,";\n "):"","\n }")}}),t.createElement("div",{className:"Griddo-BgImage ".concat(w," ").concat(R)},l))};function Cn(){}function bn(){}bn.resetWarningCache=Cn;var Nn=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:bn,resetWarningCache:Cn};return n.PropTypes=n,n},On=x((function(e){e.exports=Nn()}));var kn,In=(kn=t)&&"object"==typeof kn&&"default"in kn?kn.default:kn;function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rn=!("undefined"==typeof window||!window.document||!window.document.createElement);var Pn=function(e,n,r){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof n)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==r&&"function"!=typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!=typeof o)throw new Error("Expected WrappedComponent to be a React component.");var i,a=[];function s(){i=e(a.map((function(e){return e.props}))),l.canUseDOM?n(i):r&&(i=r(i))}var l=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.peek=function(){return i},r.rewind=function(){if(r.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=i;return i=void 0,a=[],e};var l=r.prototype;return l.UNSAFE_componentWillMount=function(){a.push(this),s()},l.componentDidUpdate=function(){s()},l.componentWillUnmount=function(){var e=a.indexOf(this);a.splice(e,1),s()},l.render=function(){return In.createElement(o,this.props)},r}(t.PureComponent);return wn(l,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(o)+")"),wn(l,"canUseDOM",Rn),l}},Dn="undefined"!=typeof Element,xn="function"==typeof Map,Ln="function"==typeof Set,Mn="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Fn(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,i;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Fn(e[r],t[r]))return!1;return!0}if(xn&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Fn(r.value[1],t.get(r.value[0])))return!1;return!0}if(Ln&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Mn&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Dn&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==o[r]&&"__v"!==o[r]&&"__o"!==o[r]||!e.$$typeof)&&!Fn(e[o[r]],t[o[r]]))return!1;return!0}return e!=e&&t!=t}var $n=function(e,t){try{return Fn(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},Hn=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable;
|
|
10
|
-
/*
|
|
11
|
-
object-assign
|
|
12
|
-
(c) Sindre Sorhus
|
|
13
|
-
@license MIT
|
|
14
|
-
*/function jn(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Gn=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=jn(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))Un.call(n,a)&&(o[a]=n[a]);if(Hn){r=Hn(n);for(var s=0;s<r.length;s++)Bn.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},qn="bodyAttributes",Kn="htmlAttributes",zn="titleAttributes",Vn={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(Vn).map((function(e){return Vn[e]}));var Yn,Wn="charset",Qn="cssText",Xn="href",Jn="http-equiv",Zn="innerHTML",er="itemprop",tr="name",nr="property",rr="rel",or="src",ir="target",ar={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},sr="defaultTitle",lr="defer",cr="encodeSpecialCharacters",ur="onChangeClientState",pr="titleTemplate",fr=Object.keys(ar).reduce((function(e,t){return e[ar[t]]=t,e}),{}),dr=[Vn.NOSCRIPT,Vn.SCRIPT,Vn.STYLE],hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mr=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Tr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Er=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gr=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},_r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},yr=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Ar=function(e){var t=Nr(e,Vn.TITLE),n=Nr(e,pr);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Nr(e,sr);return t||r||void 0},vr=function(e){return Nr(e,ur)||function(){}},Sr=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Er({},e,t)}),{})},Cr=function(e,t){return t.filter((function(e){return void 0!==e[Vn.BASE]})).map((function(e){return e[Vn.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},br=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&Rr("Helmet: "+e+' should be of type "Array". Instead found type "'+hr(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],l=s.toLowerCase();-1===t.indexOf(l)||n===rr&&"canonical"===e[n].toLowerCase()||l===rr&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==Zn&&s!==Qn&&s!==er||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][c]&&(o[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var s=i[a],l=Gn({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},Nr=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Or=(Yn=Date.now(),function(e){var t=Date.now();t-Yn>16?(Yn=t,e(t)):setTimeout((function(){Or(e)}),0)}),kr=function(e){return clearTimeout(e)},Ir="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Or:global.requestAnimationFrame||Or,wr="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||kr:global.cancelAnimationFrame||kr,Rr=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},Pr=null,Dr=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,p=e.title,f=e.titleAttributes;Mr(Vn.BODY,r),Mr(Vn.HTML,o),Lr(p,f);var d={baseTag:Fr(Vn.BASE,n),linkTags:Fr(Vn.LINK,i),metaTags:Fr(Vn.META,a),noscriptTags:Fr(Vn.NOSCRIPT,s),scriptTags:Fr(Vn.SCRIPT,c),styleTags:Fr(Vn.STYLE,u)},h={},m={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=d[e].oldTags)})),t&&t(),l(e,h,m)},xr=function(e){return Array.isArray(e)?e.join(""):e},Lr=function(e,t){void 0!==e&&document.title!==e&&(document.title=xr(e)),Mr(Vn.TITLE,t)},Mr=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===o.indexOf(l)&&o.push(l);var u=i.indexOf(l);-1!==u&&i.splice(u,1)}for(var p=i.length-1;p>=0;p--)n.removeAttribute(i[p]);o.length===i.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==a.join(",")&&n.setAttribute("data-react-helmet",a.join(","))}},Fr=function(e,t){var n=document.head||document.querySelector(Vn.HEAD),r=n.querySelectorAll(e+"[data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===Zn)n.innerHTML=t.innerHTML;else if(r===Qn)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute("data-react-helmet","true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},$r=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Hr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[ar[n]||n]=e[n],t}),t)},Ur=function(e,n,r){switch(e){case Vn.TITLE:return{toComponent:function(){return function(e,n,r){var o,i=((o={key:n})["data-react-helmet"]=!0,o),a=Hr(r,i);return[t.createElement(Vn.TITLE,a,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(e,t,n,r){var o=$r(n),i=xr(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+yr(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+yr(i,r)+"</"+e+">"}(e,n.title,n.titleAttributes,r)}};case qn:case Kn:return{toComponent:function(){return Hr(n)},toString:function(){return $r(n)}};default:return{toComponent:function(){return function(e,n){return n.map((function(n,r){var o,i=((o={key:r})["data-react-helmet"]=!0,o);return Object.keys(n).forEach((function(e){var t=ar[e]||e;if(t===Zn||t===Qn){var r=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[t]=n[e]})),t.createElement(e,i)}))}(e,n)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===Zn||e===Qn)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+yr(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===dr.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,n,r)}}}},Br=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,p=void 0===u?"":u,f=e.titleAttributes;return{base:Ur(Vn.BASE,t,r),bodyAttributes:Ur(qn,n,r),htmlAttributes:Ur(Kn,o,r),link:Ur(Vn.LINK,i,r),meta:Ur(Vn.META,a,r),noscript:Ur(Vn.NOSCRIPT,s,r),script:Ur(Vn.SCRIPT,l,r),style:Ur(Vn.STYLE,c,r),title:Ur(Vn.TITLE,{title:p,titleAttributes:f},r)}},jr=function(e){var n,r;return r=n=function(n){function r(){return mr(this,r),_r(this,n.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r.prototype.shouldComponentUpdate=function(e){return!$n(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case Vn.SCRIPT:case Vn.NOSCRIPT:return{innerHTML:t};case Vn.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return Er({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Er({},o,this.mapNestedChildrenToProps(n,i))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case Vn.TITLE:return Er({},o,((t={})[r.type]=a,t.titleAttributes=Er({},i),t));case Vn.BODY:return Er({},o,{bodyAttributes:Er({},i)});case Vn.HTML:return Er({},o,{htmlAttributes:Er({},i)})}return Er({},o,((n={})[r.type]=Er({},i),n))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Er({},t);return Object.keys(e).forEach((function(t){var r;n=Er({},n,((r={})[t]=e[t],r))})),n},r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.mapChildrenToProps=function(e,n){var r=this,o={};return t.Children.forEach(e,(function(e){if(e&&e.props){var t=e.props,i=t.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[fr[n]||n]=e[n],t}),t)}(gr(t,["children"]));switch(r.warnOnInvalidChildren(e,i),e.type){case Vn.LINK:case Vn.META:case Vn.NOSCRIPT:case Vn.SCRIPT:case Vn.STYLE:o=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:a,nestedChildren:i});break;default:n=r.mapObjectTypeChildren({child:e,newProps:n,newChildProps:a,nestedChildren:i})}}})),n=this.mapArrayTypeChildrenToProps(o,n)},r.prototype.render=function(){var n=this.props,r=n.children,o=gr(n,["children"]),i=Er({},o);return r&&(i=this.mapChildrenToProps(r,i)),t.createElement(e,i)},Tr(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(t.Component),n.propTypes={base:On.object,bodyAttributes:On.object,children:On.oneOfType([On.arrayOf(On.node),On.node]),defaultTitle:On.string,defer:On.bool,encodeSpecialCharacters:On.bool,htmlAttributes:On.object,link:On.arrayOf(On.object),meta:On.arrayOf(On.object),noscript:On.arrayOf(On.object),onChangeClientState:On.func,script:On.arrayOf(On.object),style:On.arrayOf(On.object),title:On.string,titleAttributes:On.object,titleTemplate:On.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=e.peek,n.rewind=function(){var t=e.rewind();return t||(t=Br({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(Pn((function(e){return{baseTag:Cr([Xn,ir],e),bodyAttributes:Sr(qn,e),defer:Nr(e,lr),encode:Nr(e,cr),htmlAttributes:Sr(Kn,e),linkTags:br(Vn.LINK,[rr,Xn],e),metaTags:br(Vn.META,[tr,Wn,Jn,nr,er],e),noscriptTags:br(Vn.NOSCRIPT,[Zn],e),onChangeClientState:vr(e),scriptTags:br(Vn.SCRIPT,[or,Zn],e),styleTags:br(Vn.STYLE,[Qn],e),title:Ar(e),titleAttributes:Sr(zn,e)}}),(function(e){Pr&&wr(Pr),e.defer?Pr=Ir((function(){Dr(e,(function(){Pr=null}))})):(Dr(e),Pr=null)}),Br)((function(){return null})));jr.renderStatic=jr.rewind;var Gr=function(t){var n=t.customLazyClassName,r=void 0===n?"lazy":n;return e.createElement(jr,null,e.createElement("script",null,'document.addEventListener("DOMContentLoaded", function() {\n var lazyloadImages;\n\n if ("IntersectionObserver" in window) {\n lazyloadImages = document.querySelectorAll(".'.concat(r,'");\n\n var imageObserver = new IntersectionObserver(function(entries, observer) {\n entries.forEach(function(entry) {\n if (entry.isIntersecting) {\n var image = entry.target;\n image.classList.remove("').concat(r,'");\n imageObserver.unobserve(image);\n }\n });\n });\n\n lazyloadImages.forEach(function(image) {\n imageObserver.observe(image);\n });\n } else {\n var lazyloadThrottleTimeout;\n lazyloadImages = document.querySelectorAll(".').concat(r,"\");\n\n function lazyload () {\n if(lazyloadThrottleTimeout) {\n clearTimeout(lazyloadThrottleTimeout);\n }\n\n lazyloadThrottleTimeout = setTimeout(function() {\n var scrollTop = window.pageYOffset;\n lazyloadImages.forEach(function(img) {\n if(img.offsetTop < (window.innerHeight + scrollTop)) {\n img.src = img.dataset.src;\n img.classList.remove('").concat(r,'\');\n }\n });\n if(lazyloadImages.length === 0) {\n document.removeEventListener("scroll", lazyload);\n window.removeEventListener("resize", lazyload);\n window.removeEventListener("orientationChange", lazyload);\n }\n }, 20);\n }\n\n document.addEventListener("scroll", lazyload);\n window.addEventListener("resize", lazyload);\n window.addEventListener("orientationChange", lazyload);\n }\n })\n')))};function qr(t){var n=t.data;return e.createElement("script",{dangerouslySetInnerHTML:{__html:"(function(){\n const ldJsonScript = document.createElement('script');\n ldJsonScript.setAttribute('type', 'application/ld+json');\n ldJsonScript.textContent = `".concat(JSON.stringify(n),"`;\n document.head.appendChild(ldJsonScript);\n})();")}})}var Kr="pre",zr="pro";var Vr=["activeClassName","activeStyle","style","children","getProps","partiallyActive","state","url","title","className"];function Yr(t){var n=t.activeClassName,r=void 0===n?"":n,o=t.activeStyle,i=void 0===o?{}:o,a=t.style,s=void 0===a?{}:a,l=t.children,c=t.getProps,u=t.partiallyActive,p=t.state,f=t.url,d=t.title,h=t.className,m=void 0===h?"":h,g=E(t,Vr),_=Tt(),y=_.renderer,A=_.linkComponent,v=zt().fullPath,S="editor"===y,C=null==f?void 0:f.href,b=null==f?void 0:f.linkToURL,N=null==f?void 0:f.newTab,O=null==f?void 0:f.noFollow,k=!(null!=f&&f.linkToURL||null!=f&&f.href),I=b==="".concat(null==v?void 0:v.domainUrl).concat(null==v?void 0:v.compose),w=function(e){var t;return null!=e&&null!==(t=e.domainUrl)&&void 0!==t&&t.endsWith("/".concat(e.domain))?zr:Kr}(v),R=function(e,t){return"".concat(t?"nofollow":""," ").concat(e?"noreferrer":"").trim()}(O,N),P=function(e){return e?"_blank":"_self"}(N),D=function(e){var t,n=e.env,r=e.fullPath,o=e.to;if(n===Kr){var i,a=null==r||null===(i=r.domainUrl)||void 0===i?void 0:i.split(r.domain).join("");return null==o?void 0:o.split(a)[1]}return n===zr?null==o||null===(t=o.split(null==r?void 0:r.domainUrl))||void 0===t?void 0:t.join(""):o}({env:w,fullPath:v,to:b}),x=N?b:!S&&!k&&D;return C?e.createElement("a",T({target:P,rel:R,href:C,className:m,title:d},g),l):e.createElement(A,T({},g,{rel:R,target:P,to:x,getProps:c,partiallyActive:u,state:p,activeStyle:i,activeClassName:r,title:S?D:d,style:I?i:s,className:I?"".concat(m," ").concat(r||"").trim():m}),l)}const Wr=["http","https","mailto","tel"];
|
|
15
|
-
/*!
|
|
16
|
-
* Determine if an object is a Buffer
|
|
17
|
-
*
|
|
18
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
19
|
-
* @license MIT
|
|
20
|
-
*/
|
|
21
|
-
var Qr=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)};function Xr(e){return e&&"object"==typeof e?"position"in e||"type"in e?Zr(e.position):"start"in e||"end"in e?Zr(e):"line"in e||"column"in e?Jr(e):"":""}function Jr(e){return eo(e&&e.line)+":"+eo(e&&e.column)}function Zr(e){return Jr(e&&e.start)+"-"+Jr(e&&e.end)}function eo(e){return e&&"number"==typeof e?e:1}class to extends Error{constructor(e,t,n){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=Xr(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="object"==typeof e?e.stack:"",this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.source=r[0],this.ruleId=r[1],this.position=o,this.actual,this.expected,this.file,this.url,this.note}}function no(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}to.prototype.file="",to.prototype.name="",to.prototype.reason="",to.prototype.message="",to.prototype.stack="",to.prototype.fatal=null,to.prototype.column=null,to.prototype.line=null,to.prototype.source=null,to.prototype.ruleId=null,to.prototype.position=null;const ro=["history","path","basename","stem","extname","dirname"];class oo{constructor(e){let t;t=e?"string"==typeof e||Qr(e)?{value:e}:no(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=s.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<ro.length;){const e=ro[r];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)ro.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){no(e)&&(e=l(e)),ao(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?c.dirname(this.path):void 0}set dirname(e){so(this.basename,"dirname"),this.path=c.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?c.basename(this.path):void 0}set basename(e){ao(e,"basename"),io(e,"basename"),this.path=c.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?c.extname(this.path):void 0}set extname(e){if(io(e,"extname"),so(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=c.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?c.basename(this.path,this.extname):void 0}set stem(e){ao(e,"stem"),io(e,"stem"),this.path=c.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){const r=new to(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function io(e,t){if(e&&e.includes(c.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+c.sep+"`")}function ao(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function so(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function lo(e){if(e)throw e}var co=Object.prototype.hasOwnProperty,uo=Object.prototype.toString,po=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,ho=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===uo.call(e)},mo=function(e){if(!e||"[object Object]"!==uo.call(e))return!1;var t,n=co.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&co.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||co.call(e,t)},To=function(e,t){po&&"__proto__"===t.name?po(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Eo=function(e,t){if("__proto__"===t){if(!co.call(e,t))return;if(fo)return fo(e,t).value}return e[t]},go=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=Eo(s,n),s!==(o=Eo(t,n))&&(u&&o&&(mo(o)||(i=ho(o)))?(i?(i=!1,a=r&&ho(r)?r:[]):a=r&&mo(r)?r:{},To(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&To(s,{name:n,newValue:o}));return s};function _o(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function yo(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(e){const t=e;if(r&&n)throw t;return o(t)}r||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...r){n||(n=!0,t(e,...r))}function i(e){o(null,e)}}(s,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const Ao=function e(){const t=yo(),n=[];let r,o={},i=-1;return a.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(No("data",r),o[e]=t,a):vo.call(o,e)&&o[e]||null;if(e)return No("data",r),o=e,a;return o},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++i<n.length;){const[e,...r]=n[i];if(!1===r[0])continue;!0===r[0]&&(r[1]=void 0);const o=e.call(a,...r);"function"==typeof o&&t.use(o)}return r=!0,i=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let i;if(No("use",r),null==e);else if("function"==typeof e)u(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?c(e):l(e)}i&&(o.settings=Object.assign(o.settings||{},i));return a;function s(e){if("function"==typeof e)u(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;u(t,...n)}else l(e)}}function l(e){c(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function c(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){s(e[t])}}}function u(e,t){let r,o=-1;for(;++o<n.length;)if(n[o][0]===e){r=n[o];break}r?(_o(r[1])&&_o(t)&&(t=go(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=Io(e),n=a.Parser;if(Co("parse",n),So(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=Io(t),r=a.Compiler;if(bo("stringify",r),Oo(e),So(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,n,r){Oo(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0);if(!r)return new Promise(o);function o(o,i){function a(t,n,a){n=n||e,t?i(t):o?o(n):r(null,n,a)}t.run(e,Io(n),a)}o(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,o),ko("runSync","run",r),n;function o(e,t){lo(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),Co("process",a.Parser),bo("process",a.Compiler),!t)return new Promise(n);function n(n,r){const o=Io(e);function i(e,o){e||!o?r(e):n?n(o):t(null,o)}a.run(a.parse(o),o,((e,t,n)=>{if(!e&&t&&n){const o=a.stringify(t,n);null==o||("string"==typeof(r=o)||Qr(r)?n.value=o:n.result=o),i(e,n)}else i(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),Co("processSync",a.Parser),bo("processSync",a.Compiler);const n=Io(e);return a.process(n,r),ko("processSync","process",t),n;function r(e){t=!0,lo(e)}},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(go(!0,{},o)),t}}().freeze(),vo={}.hasOwnProperty;function So(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(vo.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function Co(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function bo(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function No(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Oo(e){if(!_o(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function ko(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Io(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new oo(e)}function wo(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&Ro(e.children,t)||Array.isArray(e)&&Ro(e,t))||""}function Ro(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=wo(e[r],t);return n.join("")}function Po(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function Do(e,t){return e.length>0?(Po(e,e.length,0,t),e):t}const xo={}.hasOwnProperty;function Lo(e){const t={};let n=-1;for(;++n<e.length;)Mo(t,e[n]);return t}function Mo(e,t){let n;for(n in t){const r=(xo.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;for(i in o){xo.call(r,i)||(r[i]=[]);const e=o[i];Fo(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Fo(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Po(e,0,0,r)}const $o=Qo(/[A-Za-z]/),Ho=Qo(/\d/),Uo=Qo(/[\dA-Fa-f]/),Bo=Qo(/[\dA-Za-z]/),jo=Qo(/[!-/:-@[-`{-~]/),Go=Qo(/[#-'*+\--9=?A-Z^-~]/);function qo(e){return null!==e&&(e<32||127===e)}function Ko(e){return null!==e&&(e<0||32===e)}function zo(e){return null!==e&&e<-2}function Vo(e){return-2===e||-1===e||32===e}const Yo=Qo(/\s/),Wo=Qo(/[!-/:-@[-`{-~\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]/);function Qo(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function Xo(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Vo(r))return e.enter(n),a(r);return t(r)};function a(r){return Vo(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const Jo={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Xo(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):zo(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const Zo={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return s;function s(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&g();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}E(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return Po(t.events,i+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(o){if(a===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ei,u,p)(o)}function u(e){return r&&g(),E(a),f(e)}function p(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(ei,d,h)(n)}function d(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&g(),E(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(T(e.exit("chunkFlow"),!0),E(0),void e.consume(n)):zo(n)?(e.consume(n),T(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function T(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(E(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;Po(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function E(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function g(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ei={tokenize:function(e,t,n){return Xo(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function ti(e){return null===e||Ko(e)||Yo(e)?1:Wo(e)?2:void 0}function ni(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const ri={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=ti(r);let i;return function(t){return e.enter("attentionSequence"),i=t,a(t)};function a(s){if(s===i)return e.consume(s),a;const l=e.exit("attentionSequence"),c=ti(s),u=!c||2===c&&o||n.includes(s),p=!o||2===o&&c||n.includes(r);return l._open=Boolean(42===i?u:u&&(o||!p)),l._close=Boolean(42===i?p:p&&(c||!u)),t(s)}},resolveAll:function(e,t){let n,r,o,i,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const p=Object.assign({},e[n][1].end),f=Object.assign({},e[u][1].start);oi(p,-s),oi(f,s),i={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:f},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Do(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Do(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=Do(l,ni(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=Do(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Do(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Po(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function oi(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ii={name:"autolink",tokenize:function(e,t,n){let r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return $o(t)?(e.consume(t),i):Go(t)?l(t):n(t)}function i(e){return 43===e||45===e||46===e||Bo(e)?a(e):l(e)}function a(t){return 58===t?(e.consume(t),s):(43===t||45===t||46===t||Bo(t))&&r++<32?(e.consume(t),a):l(t)}function s(t){return 62===t?(e.exit("autolinkProtocol"),f(t)):null===t||32===t||60===t||qo(t)?n(t):(e.consume(t),s)}function l(t){return 64===t?(e.consume(t),r=0,c):Go(t)?(e.consume(t),l):n(t)}function c(e){return Bo(e)?u(e):n(e)}function u(t){return 46===t?(e.consume(t),r=0,c):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",f(t)):p(t)}function p(t){return(45===t||Bo(t))&&r++<63?(e.consume(t),45===t?p:u):n(t)}function f(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};const ai={tokenize:function(e,t,n){return Xo(e,(function(e){return null===e||zo(e)?t(e):n(e)}),"linePrefix")},partial:!0};const si={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Vo(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return Xo(e,e.attempt(si,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};const li={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return jo(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const ci={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""},ui={}.hasOwnProperty;function pi(e){return!!ui.call(ci,e)&&ci[e]}const fi={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=Bo,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Uo,c):(e.enter("characterReferenceValue"),o=7,i=Ho,c(t))}function c(s){let l;return 59===s&&a?(l=e.exit("characterReferenceValue"),i!==Bo||pi(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):i(s)&&a++<o?(e.consume(s),c):n(s)}}};const di={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let r=0;return Xo(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(t)}function i(t){return t===l?(e.consume(t),r++,i):r<c?n(t):(e.exit("codeFencedFenceSequence"),Xo(e,a,"whitespace")(t))}function a(r){return null===r||zo(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},i={tokenize:function(e,t,n){const r=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},a=this.events[this.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let l,c=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,u(t)};function u(t){return t===l?(e.consume(t),c++,u):(e.exit("codeFencedFenceSequence"),c<3?n(t):Xo(e,p,"whitespace")(t))}function p(t){return null===t||zo(t)?m(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||Ko(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Xo(e,d,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),f)}function d(t){return null===t||zo(t)?m(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||zo(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(t)):96===t&&t===l?n(t):(e.consume(t),h)}function m(n){return e.exit("codeFencedFence"),r.interrupt?t(n):T(n)}function T(t){return null===t?g(t):zo(t)?e.attempt(i,e.attempt(o,g,s?Xo(e,T,"linePrefix",s+1):T),g)(t):(e.enter("codeFlowValue"),E(t))}function E(t){return null===t||zo(t)?(e.exit("codeFlowValue"),T(t)):(e.consume(t),E)}function g(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const hi={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Xo(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):zo(t)?e.attempt(mi,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||zo(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},mi={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):zo(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Xo(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):zo(e)?o(e):n(e)}},partial:!0};const Ti={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):zo(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||zo(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};function Ei(e){const t={};let n,r,o,i,a,s,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(s=n[1]._tokenizer.events,o=0,o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,gi(e,c)),c=t[c],l=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,c),a.unshift(n),Po(e,r,c-r+1,a))}}return!l}function gi(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,p,f=-1,d=n,h=0,m=0;const T=[m];for(;d;){for(;e[++o][1]!==d;);i.push(o),d._tokenizer||(u=r.sliceStream(d),d.next||u.push(null),p&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=n;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,T.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):T.pop(),f=T.length;f--;){const t=s.slice(T[f],T[f+1]),n=i.pop();l.unshift([n,n+t.length-1]),Po(e,n,2,t)}for(f=-1;++f<l.length;)c[h+l[f][0]]=h+l[f][1],h+=l[f][1]-l[f][0]-1;return c}const _i={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):zo(t)?e.check(yi,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Ei(e),e}},yi={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Xo(e,o,"linePrefix")};function o(o){if(null===o||zo(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};function Ai(e,t,n,r,o,i,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),p;if(null===t||41===t||qo(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t)};function p(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),p(t)):null===t||60===t||zo(t)?n(t):(e.consume(t),92===t?d:f)}function d(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return 40===o?++u>c?n(o):(e.consume(o),h):41===o?u--?(e.consume(o),h):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o)):null===o||Ko(o)?u?n(o):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o)):qo(o)?n(o):(e.consume(o),92===o?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function vi(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(p){return null===p||91===p||93===p&&!s||94===p&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs||l>999?n(p):93===p?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):zo(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||zo(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s=s||!Vo(t),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Si(e,t,n,r,o,i){let a;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):zo(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Xo(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||zo(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ci(e,t){let n;return function r(o){if(zo(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Vo(o))return Xo(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function bi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ni={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),vi.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function i(t){return o=bi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Ci(e,Ai(e,e.attempt(Oi,Xo(e,a,"whitespace"),Xo(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(i){return null===i||zo(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(i)):n(i)}}},Oi={tokenize:function(e,t,n){return function(t){return Ko(t)?Ci(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Si(e,Xo(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||zo(e)?t(e):n(e)}},partial:!0};const ki={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return zo(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}};const Ii={name:"headingAtx",tokenize:function(e,t,n){const r=this;let o=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(t)};function i(s){return 35===s&&o++<6?(e.consume(s),i):null===s||Ko(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):a(s)):n(s)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||zo(n)?(e.exit("atxHeading"),t(n)):Vo(n)?Xo(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||Ko(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Po(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const wi=["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","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ri=["pre","script","style","textarea"],Pi={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),d):63===s?(e.consume(s),o=3,r.interrupt?t:x):$o(s)?(e.consume(s),a=String.fromCharCode(s),i=!0,h):n(s)}function u(i){return 45===i?(e.consume(i),o=2,p):91===i?(e.consume(i),o=5,a="CDATA[",s=0,f):$o(i)?(e.consume(i),o=4,r.interrupt?t:x):n(i)}function p(o){return 45===o?(e.consume(o),r.interrupt?t:x):n(o)}function f(o){return o===a.charCodeAt(s++)?(e.consume(o),s===a.length?r.interrupt?t:N:f):n(o)}function d(t){return $o(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(s){return null===s||47===s||62===s||Ko(s)?47!==s&&i&&Ri.includes(a.toLowerCase())?(o=1,r.interrupt?t(s):N(s)):wi.includes(a.toLowerCase())?(o=6,47===s?(e.consume(s),m):r.interrupt?t(s):N(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?E(s):T(s)):45===s||Bo(s)?(e.consume(s),a+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:N):n(o)}function T(t){return Vo(t)?(e.consume(t),T):C(t)}function E(t){return 47===t?(e.consume(t),C):58===t||95===t||$o(t)?(e.consume(t),g):Vo(t)?(e.consume(t),E):C(t)}function g(t){return 45===t||46===t||58===t||95===t||Bo(t)?(e.consume(t),g):_(t)}function _(t){return 61===t?(e.consume(t),y):Vo(t)?(e.consume(t),_):E(t)}function y(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,A):Vo(t)?(e.consume(t),y):(l=null,v(t))}function A(t){return null===t||zo(t)?n(t):t===l?(e.consume(t),S):(e.consume(t),A)}function v(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||Ko(t)?_(t):(e.consume(t),v)}function S(e){return 47===e||62===e||Vo(e)?E(e):n(e)}function C(t){return 62===t?(e.consume(t),b):n(t)}function b(t){return Vo(t)?(e.consume(t),b):null===t||zo(t)?N(t):n(t)}function N(t){return 45===t&&2===o?(e.consume(t),w):60===t&&1===o?(e.consume(t),R):62===t&&4===o?(e.consume(t),L):63===t&&3===o?(e.consume(t),x):93===t&&5===o?(e.consume(t),D):!zo(t)||6!==o&&7!==o?null===t||zo(t)?O(t):(e.consume(t),N):e.check(Di,L,O)(t)}function O(t){return e.exit("htmlFlowData"),k(t)}function k(t){return null===t?M(t):zo(t)?e.attempt({tokenize:I,partial:!0},k,M)(t):(e.enter("htmlFlowData"),N(t))}function I(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function w(t){return 45===t?(e.consume(t),x):N(t)}function R(t){return 47===t?(e.consume(t),a="",P):N(t)}function P(t){return 62===t&&Ri.includes(a.toLowerCase())?(e.consume(t),L):$o(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),P):N(t)}function D(t){return 93===t?(e.consume(t),x):N(t)}function x(t){return 62===t?(e.consume(t),L):45===t&&2===o?(e.consume(t),x):N(t)}function L(t){return null===t||zo(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),L)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Di={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ai,t,n)}},partial:!0};const xi={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),v):63===t?(e.consume(t),y):$o(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i="CDATA[",a=0,m):$o(t)?(e.consume(t),_):n(t)}function u(t){return 45===t?(e.consume(t),p):n(t)}function p(t){return null===t||62===t?n(t):45===t?(e.consume(t),f):d(t)}function f(e){return null===e||62===e?n(e):d(e)}function d(t){return null===t?n(t):45===t?(e.consume(t),h):zo(t)?(s=d,D(t)):(e.consume(t),d)}function h(t){return 45===t?(e.consume(t),L):d(t)}function m(t){return t===i.charCodeAt(a++)?(e.consume(t),a===i.length?T:m):n(t)}function T(t){return null===t?n(t):93===t?(e.consume(t),E):zo(t)?(s=T,D(t)):(e.consume(t),T)}function E(t){return 93===t?(e.consume(t),g):T(t)}function g(t){return 62===t?L(t):93===t?(e.consume(t),g):T(t)}function _(t){return null===t||62===t?L(t):zo(t)?(s=_,D(t)):(e.consume(t),_)}function y(t){return null===t?n(t):63===t?(e.consume(t),A):zo(t)?(s=y,D(t)):(e.consume(t),y)}function A(e){return 62===e?L(e):y(e)}function v(t){return $o(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||Bo(t)?(e.consume(t),S):C(t)}function C(t){return zo(t)?(s=C,D(t)):Vo(t)?(e.consume(t),C):L(t)}function b(t){return 45===t||Bo(t)?(e.consume(t),b):47===t||62===t||Ko(t)?N(t):n(t)}function N(t){return 47===t?(e.consume(t),L):58===t||95===t||$o(t)?(e.consume(t),O):zo(t)?(s=N,D(t)):Vo(t)?(e.consume(t),N):L(t)}function O(t){return 45===t||46===t||58===t||95===t||Bo(t)?(e.consume(t),O):k(t)}function k(t){return 61===t?(e.consume(t),I):zo(t)?(s=k,D(t)):Vo(t)?(e.consume(t),k):N(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,w):zo(t)?(s=I,D(t)):Vo(t)?(e.consume(t),I):(e.consume(t),o=void 0,P)}function w(t){return t===o?(e.consume(t),R):null===t?n(t):zo(t)?(s=w,D(t)):(e.consume(t),w)}function R(e){return 62===e||47===e||Ko(e)?N(e):n(e)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||Ko(t)?N(t):(e.consume(t),P)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Xo(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function x(t){return e.enter("htmlTextData"),s(t)}function L(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};const Li={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(t){if(!o)return n(t);return o._inactive?l(t):(i=r.parser.defined.includes(bi(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(n){return 40===n?e.attempt(Mi,t,i?t:l)(n):91===n?e.attempt(Fi,t,i?e.attempt($i,t,l):l)(n):i?t(n):l(n)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",l,t],["enter",c,t]],i=Do(i,e.slice(r+1,r+s+3)),i=Do(i,[["enter",u,t]]),i=Do(i,ni(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),i=Do(i,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),i=Do(i,e.slice(o+1)),i=Do(i,[["exit",l,t]]),Po(e,r,e.length,i),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)t=e[n][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},Mi={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),Ci(e,r)};function r(t){return 41===t?a(t):Ai(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return Ko(t)?Ci(e,i)(t):a(t)}function i(t){return 34===t||39===t||40===t?Si(e,Ci(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Fi={tokenize:function(e,t,n){const r=this;return function(t){return vi.call(r,e,o,n,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(bi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},$i={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Hi={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Li.resolveAll};const Ui={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Li.resolveAll};const Bi={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Xo(e,t,"linePrefix")}}};const ji={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),r=t,i(t)};function i(s){return s===r?(e.enter("thematicBreakSequence"),a(s)):Vo(s)?Xo(e,i,"whitespace")(s):o<3||null!==s&&!zo(s)?n(s):(e.exit("thematicBreak"),t(s))}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),i(t))}}};const Gi={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Ho(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ji,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Ho(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ai,r.interrupt?n:c,e.attempt(qi,p,u))}function c(e){return r.containerState.initialBlankLine=!0,i++,p(e)}function u(t){return Vo(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):n(t)}function p(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ai,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Xo(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Vo(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ki,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Xo(e,e.attempt(Gi,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},qi={tokenize:function(e,t,n){const r=this;return Xo(e,(function(e){const o=r.events[r.events.length-1];return!Vo(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Ki={tokenize:function(e,t,n){const r=this;return Xo(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const zi={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,s(t);return n(t)};function s(t){return t===o?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),Xo(e,l,"lineSuffix")(t))}function l(r){return null===r||zo(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Vi={tokenize:function(e){const t=this,n=e.attempt(ai,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,Xo(e,e.attempt(this.parser.constructs.flow,r,e.attempt(_i,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Yi={resolveAll:Ji()},Wi=Xi("string"),Qi=Xi("text");function Xi(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:Ji("text"===e?Zi:void 0)}}function Ji(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function Zi(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,s=-1,l=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)i=!0,l++;else if(-1!==e){a++;break}}if(l){const o={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function ea(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],s=[];const l={consume:function(e){zo(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=f(),c.events.push(["exit",t,c]),t},attempt:T((function(e,t){E(e,t.from)})),check:T(m),interrupt:T(m,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(p(e),t)},now:f,defineSkip:function(e){o[e.line]=e.column,g()},write:function(e){if(a=Do(a,e),d(),null!==a[a.length-1])return[];return E(t,0),c.events=ni(i,c.events,c),c.events}};let u=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;n===o?a=[e[n].slice(r,i)]:(a=e.slice(n,o),r>-1&&(a[0]=a[0].slice(r)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function f(){return Object.assign({},r)}function d(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)h(t.charCodeAt(r._bufferIndex));else h(t)}}function h(e){u=u(e)}function m(e,t){t.restore()}function T(e,t){return function(n,o,i){let a,u,p,d;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return h([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function h(e){return a=e,u=0,0===e.length?i:m(e[u])}function m(e){return function(n){d=function(){const e=f(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(s);return{restore:a,from:o};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,s=i,g()}}(),p=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return E();return e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,T,E)(n)}}function T(t){return e(p,d),o}function E(e){return d.restore(),++u<a.length?m(a[u]):i}}}function E(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Po(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const ta={42:Gi,43:Gi,45:Gi,48:Gi,49:Gi,50:Gi,51:Gi,52:Gi,53:Gi,54:Gi,55:Gi,56:Gi,57:Gi,62:si},na={91:Ni},ra={[-2]:hi,[-1]:hi,32:hi},oa={35:Ii,42:ji,45:[zi,ji],60:Pi,61:zi,95:ji,96:di,126:di},ia={38:fi,92:li},aa={[-5]:Bi,[-4]:Bi,[-3]:Bi,33:Hi,38:fi,42:ri,60:[ii,xi],91:Ui,92:[ki,li],93:Li,95:ri,96:Ti},sa={null:[ri,Yi]};var la=Object.freeze({__proto__:null,document:ta,contentInitial:na,flowInitial:ra,flow:oa,string:ia,text:aa,insideSpan:sa,attentionMarkers:{null:[42,95]},disable:{null:[]}});const ca=/[\0\t\n\r]/g;function ua(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const pa=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fa(e){return e.replace(pa,da)}function da(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return ua(n.slice(t?2:1),t?16:10)}return pi(n)||e}const ha={}.hasOwnProperty,ma=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e={}){const t=Ta({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(re),autolinkProtocol:k,autolinkEmail:k,atxHeading:l(Z),blockQuote:l(Y),characterEscape:k,characterReference:k,codeFenced:l(W),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(W,c),codeText:l(Q,c),codeTextData:k,data:k,codeFlowValue:k,definition:l(X),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(J),hardBreakEscape:l(ee),hardBreakTrailing:l(ee),htmlFlow:l(te,c),htmlFlowData:k,htmlText:l(te,c),htmlTextData:k,image:l(ne),label:c,link:l(re),listItem:l(ie),listItemValue:m,listOrdered:l(oe,h),listUnordered:l(oe),paragraph:l(ae),reference:j,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(Z),strong:l(se),thematicBreak:l(ce)},exit:{atxHeading:p(),atxHeadingSequence:C,autolink:p(),autolinkEmail:V,autolinkProtocol:z,blockQuote:p(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:K,codeFenced:p(_),codeFencedFence:g,codeFencedFenceInfo:T,codeFencedFenceMeta:E,codeFlowValue:I,codeIndented:p(y),codeText:p(x),codeTextData:I,data:I,definition:p(),definitionDestinationString:S,definitionLabelString:A,definitionTitleString:v,emphasis:p(),hardBreakEscape:p(R),hardBreakTrailing:p(R),htmlFlow:p(P),htmlFlowData:I,htmlText:p(D),htmlTextData:I,image:p(M),label:$,labelText:F,lineEnding:w,link:p(L),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:G,resourceDestinationString:H,resourceTitleString:U,resource:B,setextHeading:p(O),setextHeadingLineSequence:N,setextHeadingText:b,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),n={};return r;function r(e){let n={type:"root",children:[]};const r=[],l=[],p={stack:[n],tokenStack:r,config:t,enter:u,exit:f,buffer:c,resume:d,setData:i,getData:a};let h=-1;for(;++h<e.length;)if("listOrdered"===e[h][1].type||"listUnordered"===e[h][1].type)if("enter"===e[h][0])l.push(h);else{h=o(e,l.pop(),h)}for(h=-1;++h<e.length;){const n=t[e[h][0]];ha.call(n,e[h][1].type)&&n[e[h][1].type].call(Object.assign({sliceSerialize:e[h][2].sliceSerialize},p),e[h][1])}if(r.length>0){const e=r[r.length-1];(e[1]||ga).call(p,void 0,e[0])}for(n.position={start:s(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:s(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<t.transforms.length;)n=t.transforms[h](n)||n;return n}function o(e,t,n){let r,o,i,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),s++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",r,t[2]]),s++,n++,i=void 0,a=!0)}}return e[t][1]._spread=c,n}function i(e,t){n[e]=t}function a(e){return n[e]}function s(e){return{line:e.line,column:e.column,offset:e.offset}}function l(e,t){return n;function n(n){u.call(this,e(n),n),t&&t.call(this,n)}}function c(){this.stack.push({type:"fragment",children:[]})}function u(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:s(t.start)},e}function p(e){return t;function t(t){e&&e.call(this,t),f.call(this,t)}}function f(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Xr({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||ga).call(this,e,r[0])}return n.position.end=s(e.end),n}function d(){return function(e,t){var{includeImageAlt:n=!0}=t||{};return wo(e,n)}(this.stack.pop())}function h(){i("expectingFirstListItemValue",!0)}function m(e){if(a("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue")}}function T(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function E(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function g(){a("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function A(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=bi(this.sliceSerialize(e)).toLowerCase()}function v(){const e=this.resume();this.stack[this.stack.length-1].title=e}function S(){const e=this.resume();this.stack[this.stack.length-1].url=e}function C(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function b(){i("setextHeadingSlurpLineEnding",!0)}function N(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function O(){i("setextHeadingSlurpLineEnding")}function k(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=le(),n.position={start:s(e.start)},t.children.push(n)),this.stack.push(n)}function I(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=s(e.end)}function w(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak")){return n.children[n.children.length-1].position.end=s(e.end),void i("atHardBreak")}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(k.call(this,e),I.call(this,e))}function R(){i("atHardBreak",!0)}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function x(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),i("referenceType")}function M(){const e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),i("referenceType")}function F(e){const t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=fa(n),t.identifier=bi(n).toLowerCase()}function $(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];i("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t}function H(){const e=this.resume();this.stack[this.stack.length-1].url=e}function U(){const e=this.resume();this.stack[this.stack.length-1].title=e}function B(){i("inReference")}function j(){i("referenceType","collapsed")}function G(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=bi(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")}function q(e){i("characterReferenceType",e.type)}function K(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;n?(r=ua(t,"characterReferenceMarkerNumeric"===n?10:16),i("characterReferenceType")):r=pi(t);const o=this.stack.pop();o.value+=r,o.position.end=s(e.end)}function z(e){I.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function V(e){I.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Y(){return{type:"blockquote",children:[]}}function W(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function X(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function Z(){return{type:"heading",depth:void 0,children:[]}}function ee(){return{type:"break"}}function te(){return{type:"html",value:""}}function ne(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function oe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ie(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ae(){return{type:"paragraph",children:[]}}function se(){return{type:"strong",children:[]}}function le(){return{type:"text",value:""}}function ce(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Ei(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:Lo([la].concat(e.extensions||[])),content:n(Jo),document:n(Zo),flow:n(Vi),string:n(Wi),text:n(Qi)};return t;function n(e){return function(n){return ea(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){const s=[];let l,c,u,p,f;for(o=n+o.toString(i),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(ca.lastIndex=u,l=ca.exec(o),p=l&&void 0!==l.index?l.index:o.length,f=o.charCodeAt(p),!l){n=o.slice(u);break}if(10===f&&u===p&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<p&&(s.push(o.slice(u,p)),t+=p-u),f){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=p+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))};function Ta(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Ta(e,r):Ea(e,r)}return e}function Ea(e,t){let n;for(n in t)if(ha.call(t,n)){const r="canContainEols"===n||"transforms"===n,o=(ha.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),i=t[n];i&&(r?e[n]=[...o,...i]:Object.assign(o,i))}}function ga(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Xr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Xr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Xr({start:t.start,end:t.end})+") is still open")}function _a(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return ma(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var ya=function(e,t,n){var r={type:String(e)};return null!=n||"string"!=typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r};const Aa={}.hasOwnProperty;function va(e,t){const n=t.data||{};return"value"in t&&!(Aa.call(n,"hName")||Aa.call(n,"hProperties")||Aa.call(n,"hChildren"))?e.augment(t,ya("text",t.value)):e(t,"div",ba(e,t))}function Sa(e,t,n){const r=t&&t.type;let o;if(!r)throw new Error("Expected node, got `"+t+"`");return o=Aa.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?Ca:e.unknownHandler,("function"==typeof o?o:va)(e,t,n)}function Ca(e,t){return"children"in t?{...t,children:ba(e,t)}:t}function ba(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o<r.length;){const i=Sa(e,r[o],t);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}const Na=function(e){if(null==e)return ka;if("string"==typeof e)return function(e){return Oa(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Na(e[n]);return Oa(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return Oa(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return Oa(e);throw new Error("Expected function, string, or object as test")};function Oa(e){return function(...t){return Boolean(e.call(this,...t))}}function ka(){return!0}function Ia(e){return"[33m"+e+"[39m"}const wa=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=Na(t),i=r?-1:1;!function e(a,s,l){const c="object"==typeof a&&null!==a?a:{};let u;"string"==typeof c.type&&(u="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,Object.defineProperty(p,"name",{value:"node ("+Ia(c.type+(u?"<"+u+">":""))+")"}));return p;function p(){let c,u,p,f=[];if((!t||o(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,l)),false===f[0]))return f;if(a.children&&"skip"!==f[0])for(u=(r?a.children.length:-1)+i,p=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,p)(),false===c[0])return c;u="number"==typeof c[1]?c[1]:u+i}return f}}(e,null,[])()};var Ra=Da("start"),Pa=Da("end");function Da(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}function xa(e){return"[33m"+e+"[39m"}const La=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=Na(t),i=r?-1:1;!function e(a,s,l){var c,u="object"==typeof a&&null!==a?a:{};"string"==typeof u.type&&(c="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0,Object.defineProperty(p,"name",{value:"node ("+xa(u.type+(c?"<"+c+">":""))+")"}));return p;function p(){var c,u,p,f=[];if((!t||o(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,l)),false===f[0]))return f;if(a.children&&"skip"!==f[0])for(u=(r?a.children.length:-1)+i,p=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,p)(),false===c[0])return c;u="number"==typeof c[1]?c[1]:u+i}return f}}(e,null,[])()};const Ma={}.hasOwnProperty;function Fa(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");var n,r,o;return r=function(e){const n=$a(e.identifier);n&&!Ma.call(t,n)&&(t[n]=e)},"function"==typeof(n="definition")&&"function"!=typeof r&&(o=r,r=n,n=null),La(e,n,(function(e,t){var n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o),function(e){const n=$a(e);return n&&Ma.call(t,n)?t[n]:null}}function $a(e){return String(e||"").toUpperCase()}const Ha={'"':"quot","&":"amp","<":"lt",">":"gt"};function Ua(e,t){const n=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+Ha[e]+";"}))}(function(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&Bo(e.charCodeAt(n+1))&&Bo(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}(e||""));if(!t)return n;const r=n.indexOf(":"),o=n.indexOf("?"),i=n.indexOf("#"),a=n.indexOf("/");return r<0||a>-1&&r>a||o>-1&&r>o||i>-1&&r>i||t.test(n.slice(0,r))?n:""}function Ba(e,t){const n=[];let r=-1;for(t&&n.push(ya("text","\n"));++r<e.length;)r&&n.push(ya("text","\n")),n.push(e[r]);return t&&e.length>0&&n.push(ya("text","\n")),n}function ja(e,t){const n=String(t.identifier),r=Ua(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[ya("text",String(i))])])}var Ga={};function qa(e,t,n){var r,o,i,a,s,l="";for("string"!=typeof t&&(n=t,t=qa.defaultChars),void 0===n&&(n=!0),s=function(e){var t,n,r=Ga[e];if(r)return r;for(r=Ga[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}(t),r=0,o=e.length;r<o;r++)if(i=e.charCodeAt(r),n&&37===i&&r+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3)))l+=e.slice(r,r+3),r+=2;else if(i<128)l+=s[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&r+1<o&&(a=e.charCodeAt(r+1))>=56320&&a<=57343){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[r]);return l}qa.defaultChars=";/?:@&=+$,-_.!~*'()#",qa.componentChars="-_.!~*'()";var Ka=qa;function za(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return ya("text","!["+t.alt+r);const o=ba(e,t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(ya("text","["));const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push(ya("text",r)),o}function Va(e){const t=e.spread;return null==t?e.children.length>1:t}const Ya={blockquote:function(e,t){return e(t,"blockquote",Ba(ba(e,t),!0))},break:function(e,t){return[e(t,"br"),ya("text","\n")]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(t,"code",o,[ya("text",n)]);return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])},delete:function(e,t){return e(t,"del",ba(e,t))},emphasis:function(e,t){return e(t,"em",ba(e,t))},footnoteReference:ja,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},ja(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,ba(e,t))},html:function(e,t){return e.dangerous?e.augment(t,ya("raw",t.value)):null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return za(e,t);const r={src:Ka(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){const n={src:Ka(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[ya("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return za(e,t);const r={href:Ka(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,ba(e,t))},link:function(e,t){const n={href:Ka(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,ba(e,t))},listItem:function(e,t,n){const r=ba(e,t),o=n?function(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Va(n[r]);return Boolean(t)}(n):Va(t),i={},a=[];if("boolean"==typeof t.checked){let n;r[0]&&"element"===r[0].type&&"p"===r[0].tagName?n=r[0]:(n=e(null,"p",[]),r.unshift(n)),n.children.length>0&&n.children.unshift(ya("text"," ")),n.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(ya("text","\n")),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];return!l||!o&&"tagName"in l&&"p"===l.tagName||a.push(ya("text","\n")),e(t,"li",i,a)},list:function(e,t){const n={},r=t.ordered?"ol":"ul",o=ba(e,t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<o.length;){const e=o[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,Ba(o,!0))},paragraph:function(e,t){return e(t,"p",ba(e,t))},root:function(e,t){return e.augment(t,ya("root",Ba(ba(e,t))))},strong:function(e,t){return e(t,"strong",ba(e,t))},table:function(e,t){const n=t.children;let r=-1;const o=t.align||[],i=[];for(;++r<n.length;){const a=n[r].children,s=0===r?"th":"td",l=[];let c=-1;const u=t.align?o.length:a.length;for(;++c<u;){const t=a[c];l.push(e(t,s,{align:o[c]},t?ba(e,t):[]))}i[r]=e(n[r],"tr",Ba(l,!0))}return e(t,"table",Ba([e(i[0].position,"thead",Ba([i[0]],!0))].concat(i[1]?e({start:Ra(i[1]),end:Pa(i[i.length-1])},"tbody",Ba(i.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,ya("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:function(e,t){return e(t,"hr")},toml:Wa,yaml:Wa,definition:Wa,footnoteDefinition:Wa};function Wa(){return null}const Qa={}.hasOwnProperty;function Xa(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.definition=Fa(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.augment=i,a.handlers={...Ya,...n.handlers},a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),wa(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Qa.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};(n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:Ra(r),end:Pa(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Ja(e,t){const n=Xa(e,t),r=Sa(n,e,null),o=function(e){let t=-1;const n=[];for(;++t<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!r)continue;const o=ba(e,r),i=String(r.identifier),a=Ua(i.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[i];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else o.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:Ba(o,!0)};r.position&&(u.position=r.position),n.push(u)}return 0===n.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[ya("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Ba(n,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push(ya("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var Za=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(Ja(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>Ja(t,e)}(e||t)};class es{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function ts(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new es(n,r,t)}function ns(e){return e.toLowerCase()}es.prototype.property={},es.prototype.normal={},es.prototype.space=null;class rs{constructor(e,t){this.property=e,this.attribute=t}}rs.prototype.space=null,rs.prototype.boolean=!1,rs.prototype.booleanish=!1,rs.prototype.overloadedBoolean=!1,rs.prototype.number=!1,rs.prototype.commaSeparated=!1,rs.prototype.spaceSeparated=!1,rs.prototype.commaOrSpaceSeparated=!1,rs.prototype.mustUseProperty=!1,rs.prototype.defined=!1;let os=0;const is=fs(),as=fs(),ss=fs(),ls=fs(),cs=fs(),us=fs(),ps=fs();function fs(){return 2**++os}var ds=Object.freeze({__proto__:null,boolean:is,booleanish:as,overloadedBoolean:ss,number:ls,spaceSeparated:cs,commaSeparated:us,commaOrSpaceSeparated:ps});const hs=Object.keys(ds);class ms extends rs{constructor(e,t,n,r){let o=-1;if(super(e,t),Ts(this,"space",r),"number"==typeof n)for(;++o<hs.length;){const e=hs[o];Ts(this,hs[o],(n&ds[e])===ds[e])}}}function Ts(e,t,n){n&&(e[t]=n)}ms.prototype.defined=!0;const Es={}.hasOwnProperty;function gs(e){const t={},n={};let r;for(r in e.properties)if(Es.call(e.properties,r)){const o=e.properties[r],i=new ms(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ns(r)]=r,n[ns(i.attribute)]=r}return new es(t,n,e.space)}const _s=gs({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ys=gs({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function As(e,t){return t in e?e[t]:t}function vs(e,t){return As(e,t.toLowerCase())}const Ss=gs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:vs,properties:{xmlns:null,xmlnsXLink:null}}),Cs=gs({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:as,ariaAutoComplete:null,ariaBusy:as,ariaChecked:as,ariaColCount:ls,ariaColIndex:ls,ariaColSpan:ls,ariaControls:cs,ariaCurrent:null,ariaDescribedBy:cs,ariaDetails:null,ariaDisabled:as,ariaDropEffect:cs,ariaErrorMessage:null,ariaExpanded:as,ariaFlowTo:cs,ariaGrabbed:as,ariaHasPopup:null,ariaHidden:as,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:cs,ariaLevel:ls,ariaLive:null,ariaModal:as,ariaMultiLine:as,ariaMultiSelectable:as,ariaOrientation:null,ariaOwns:cs,ariaPlaceholder:null,ariaPosInSet:ls,ariaPressed:as,ariaReadOnly:as,ariaRelevant:null,ariaRequired:as,ariaRoleDescription:cs,ariaRowCount:ls,ariaRowIndex:ls,ariaRowSpan:ls,ariaSelected:as,ariaSetSize:ls,ariaSort:null,ariaValueMax:ls,ariaValueMin:ls,ariaValueNow:ls,ariaValueText:null,role:null}}),bs=gs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:vs,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:us,acceptCharset:cs,accessKey:cs,action:null,allow:null,allowFullScreen:is,allowPaymentRequest:is,allowUserMedia:is,alt:null,as:null,async:is,autoCapitalize:null,autoComplete:cs,autoFocus:is,autoPlay:is,capture:is,charSet:null,checked:is,cite:null,className:cs,cols:ls,colSpan:null,content:null,contentEditable:as,controls:is,controlsList:cs,coords:ls|us,crossOrigin:null,data:null,dateTime:null,decoding:null,default:is,defer:is,dir:null,dirName:null,disabled:is,download:ss,draggable:as,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:is,formTarget:null,headers:cs,height:ls,hidden:is,high:ls,href:null,hrefLang:null,htmlFor:cs,httpEquiv:cs,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:is,itemId:null,itemProp:cs,itemRef:cs,itemScope:is,itemType:cs,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:is,low:ls,manifest:null,max:null,maxLength:ls,media:null,method:null,min:null,minLength:ls,multiple:is,muted:is,name:null,nonce:null,noModule:is,noValidate:is,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:is,optimum:ls,pattern:null,ping:cs,placeholder:null,playsInline:is,poster:null,preload:null,readOnly:is,referrerPolicy:null,rel:cs,required:is,reversed:is,rows:ls,rowSpan:ls,sandbox:cs,scope:null,scoped:is,seamless:is,selected:is,shape:null,size:ls,sizes:null,slot:null,span:ls,spellCheck:as,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ls,step:null,style:null,tabIndex:ls,target:null,title:null,translate:null,type:null,typeMustMatch:is,useMap:null,value:as,width:ls,wrap:null,align:null,aLink:null,archive:cs,axis:null,background:null,bgColor:null,border:ls,borderColor:null,bottomMargin:ls,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:is,declare:is,event:null,face:null,frame:null,frameBorder:null,hSpace:ls,leftMargin:ls,link:null,longDesc:null,lowSrc:null,marginHeight:ls,marginWidth:ls,noResize:is,noHref:is,noShade:is,noWrap:is,object:null,profile:null,prompt:null,rev:null,rightMargin:ls,rules:null,scheme:null,scrolling:as,standby:null,summary:null,text:null,topMargin:ls,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ls,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:is,disableRemotePlayback:is,prefix:null,property:null,results:ls,security:null,unselectable:null}}),Ns=gs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:As,properties:{about:ps,accentHeight:ls,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ls,amplitude:ls,arabicForm:null,ascent:ls,attributeName:null,attributeType:null,azimuth:ls,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ls,by:null,calcMode:null,capHeight:ls,className:cs,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ls,diffuseConstant:ls,direction:null,display:null,dur:null,divisor:ls,dominantBaseline:null,download:is,dx:null,dy:null,edgeMode:null,editable:null,elevation:ls,enableBackground:null,end:null,event:null,exponent:ls,externalResourcesRequired:null,fill:null,fillOpacity:ls,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:us,g2:us,glyphName:us,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ls,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ls,horizOriginX:ls,horizOriginY:ls,id:null,ideographic:ls,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ls,k:ls,k1:ls,k2:ls,k3:ls,k4:ls,kernelMatrix:ps,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ls,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ls,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ls,overlineThickness:ls,paintOrder:null,panose1:null,path:null,pathLength:ls,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:cs,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ls,pointsAtY:ls,pointsAtZ:ls,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ps,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ps,rev:ps,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ps,requiredFeatures:ps,requiredFonts:ps,requiredFormats:ps,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ls,specularExponent:ls,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ls,strikethroughThickness:ls,string:null,stroke:null,strokeDashArray:ps,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ls,strokeOpacity:ls,strokeWidth:null,style:null,surfaceScale:ls,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ps,tabIndex:ls,tableValues:null,target:null,targetX:ls,targetY:ls,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ps,to:null,transform:null,u1:null,u2:null,underlinePosition:ls,underlineThickness:ls,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ls,values:null,vAlphabetic:ls,vMathematical:ls,vectorEffect:null,vHanging:ls,vIdeographic:ls,version:null,vertAdvY:ls,vertOriginX:ls,vertOriginY:ls,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ls,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Os=/^data[-\w.:]+$/i,ks=/-[a-z]/g,Is=/[A-Z]/g;function ws(e,t){const n=ns(t);let r=t,o=rs;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Os.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(ks,Ps);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!ks.test(e)){let n=e.replace(Is,Rs);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=ms}return new o(r,t)}function Rs(e){return"-"+e.toLowerCase()}function Ps(e){return e.charAt(1).toUpperCase()}const Ds={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},xs=ts([ys,_s,Ss,Cs,bs],"html"),Ls=ts([ys,_s,Ss,Cs,Ns],"svg");function Ms(e){return"[33m"+e+"[39m"}const Fs=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=Na(t),i=r?-1:1;!function e(a,s,l){const c="object"==typeof a&&null!==a?a:{};let u;"string"==typeof c.type&&(u="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,Object.defineProperty(p,"name",{value:"node ("+Ms(c.type+(u?"<"+u+">":""))+")"}));return p;function p(){let c,u,p,f=[];if((!t||o(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,l)),false===f[0]))return f;if(a.children&&"skip"!==f[0])for(u=(r?a.children.length:-1)+i,p=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,p)(),false===c[0])return c;u="number"==typeof c[1]?c[1]:u+i}return f}}(e,null,[])()};function $s(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{!function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Fs(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(t,"element",((t,n,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}
|
|
22
|
-
/** @license React v17.0.2
|
|
23
|
-
* react-is.production.min.js
|
|
24
|
-
*
|
|
25
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var Hs=60103,Us=60106,Bs=60107,js=60108,Gs=60114,qs=60109,Ks=60110,zs=60112,Vs=60113,Ys=60120,Ws=60115,Qs=60116,Xs=60121,Js=60122,Zs=60117,el=60129,tl=60131;if("function"==typeof Symbol&&Symbol.for){var nl=Symbol.for;Hs=nl("react.element"),Us=nl("react.portal"),Bs=nl("react.fragment"),js=nl("react.strict_mode"),Gs=nl("react.profiler"),qs=nl("react.provider"),Ks=nl("react.context"),zs=nl("react.forward_ref"),Vs=nl("react.suspense"),Ys=nl("react.suspense_list"),Ws=nl("react.memo"),Qs=nl("react.lazy"),Xs=nl("react.block"),Js=nl("react.server.block"),Zs=nl("react.fundamental"),el=nl("react.debug_trace_mode"),tl=nl("react.legacy_hidden")}function rl(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Hs:switch(e=e.type){case Bs:case Gs:case js:case Vs:case Ys:return e;default:switch(e=e&&e.$$typeof){case Ks:case zs:case Qs:case Ws:case qs:return e;default:return t}}case Us:return t}}}var ol={ContextConsumer:Ks,ContextProvider:qs,Element:Hs,ForwardRef:zs,Fragment:Bs,Lazy:Qs,Memo:Ws,Portal:Us,Profiler:Gs,StrictMode:js,Suspense:Vs,isAsyncMode:function(){return!1},isConcurrentMode:function(){return!1},isContextConsumer:function(e){return rl(e)===Ks},isContextProvider:function(e){return rl(e)===qs},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Hs},isForwardRef:function(e){return rl(e)===zs},isFragment:function(e){return rl(e)===Bs},isLazy:function(e){return rl(e)===Qs},isMemo:function(e){return rl(e)===Ws},isPortal:function(e){return rl(e)===Us},isProfiler:function(e){return rl(e)===Gs},isStrictMode:function(e){return rl(e)===js},isSuspense:function(e){return rl(e)===Vs},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Bs||e===Gs||e===el||e===js||e===Vs||e===Ys||e===tl||"object"==typeof e&&null!==e&&(e.$$typeof===Qs||e.$$typeof===Ws||e.$$typeof===qs||e.$$typeof===Ks||e.$$typeof===zs||e.$$typeof===Zs||e.$$typeof===Xs||e[0]===Js)},typeOf:rl},il=x((function(e){e.exports=ol}));function al(e){for(var t,n,r=[],o=String(e||""),i=o.indexOf(","),a=0;!t;)-1===i&&(i=o.length,t=!0),!(n=o.slice(a,i).trim())&&t||r.push(n),a=i+1,i=o.indexOf(",",a);return r}function sl(e,t){var n=t||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}var ll=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,cl=/\n/g,ul=/^\s*/,pl=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,fl=/^:\s*/,dl=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,hl=/^[;\s]*/,ml=/^\s+|\s+$/g;function Tl(e){return e?e.replace(ml,""):""}var El=function(e,t){var n,r=null;if(!e||"string"!=typeof e)return r;for(var o,i,a=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(e){var t=e.match(cl);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new a(e),c(),t}}function a(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function s(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i}function l(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function c(){l(ul)}function u(e){var t;for(e=e||[];t=p();)!1!==t&&e.push(t);return e}function p(){var t=i();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return s("End of comment missing");var a=e.slice(2,n-2);return r+=2,o(a),e=e.slice(n),r+=2,t({type:"comment",comment:a})}}function f(){var e=i(),t=l(pl);if(t){if(p(),!l(fl))return s("property missing ':'");var n=l(dl),r=e({type:"declaration",property:Tl(t[0].replace(ll,"")),value:n?Tl(n[0].replace(ll,"")):""});return l(hl),r}}return a.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=f();)!1!==e&&(t.push(e),u(t));return t}()}(e),s="function"==typeof t,l=0,c=a.length;l<c;l++)o=(n=a[l]).property,i=n.value,s?t(o,i,n):i&&(r||(r={}),r[o]=i);return r};const gl={}.hasOwnProperty,_l=new Set(["table","thead","tbody","tfoot","tr"]);function yl(e,t){const n=[];let r,o=-1;for(;++o<t.children.length;)r=t.children[o],"element"===r.type?n.push(Al(e,r,o,t)):"text"===r.type?"element"===t.type&&_l.has(t.tagName)&&(a=void 0,"string"==typeof(a=(i=r)&&"object"==typeof i&&"text"===i.type?i.value||"":i)&&""===a.replace(/[ \t\n\f\r]/g,""))||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);var i,a;return n}function Al(e,n,r,o){const i=e.options,a=e.schema,s=n.tagName,l={};let c,u=a;if("html"===a.space&&"svg"===s&&(u=Ls,e.schema=u),n.properties)for(c in n.properties)gl.call(n.properties,c)&&Sl(l,c,n.properties[c],e);"ol"!==s&&"ul"!==s||e.listDepth++;const p=yl(e,n);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;const f=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},d=i.components&&gl.call(i.components,s)?i.components[s]:s,h="string"==typeof d||d===t.Fragment;if(!il.isValidElementType(d))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=[s,f.start.line,f.start.column,r].join("-"),"a"===s&&i.linkTarget&&(l.target="function"==typeof i.linkTarget?i.linkTarget(String(l.href||""),n.children,"string"==typeof l.title?l.title:null):i.linkTarget),"a"===s&&i.transformLinkUri&&(l.href=i.transformLinkUri(String(l.href||""),n.children,"string"==typeof l.title?l.title:null)),h||"code"!==s||"element"!==o.type||"pre"===o.tagName||(l.inline=!0),h||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(l.level=Number.parseInt(s.charAt(1),10)),"img"===s&&i.transformImageUri&&(l.src=i.transformImageUri(String(l.src||""),String(l.alt||""),"string"==typeof l.title?l.title:null)),!h&&"li"===s&&"element"===o.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(n);l.checked=e&&e.properties?Boolean(e.properties.checked):null,l.index=vl(o,n),l.ordered="ol"===o.tagName}var m;return h||"ol"!==s&&"ul"!==s||(l.ordered="ol"===s,l.depth=e.listDepth),"td"!==s&&"th"!==s||(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),h||(l.isHeader="th"===s)),h||"tr"!==s||"element"!==o.type||(l.isHeader=Boolean("thead"===o.tagName)),i.sourcePos&&(l["data-sourcepos"]=[(m=f).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map((e=>String(e))).join("")),!h&&i.rawSourcePos&&(l.sourcePosition=n.position),!h&&i.includeElementIndex&&(l.index=vl(o,n),l.siblingCount=vl(o)),h||(l.node=n),p.length>0?t.createElement(d,l,p):t.createElement(d,l)}function vl(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function Sl(e,t,n,r){const o=ws(r.schema,t);let i=n;null!=i&&i==i&&(Array.isArray(i)&&(i=o.commaSeparated?sl(i):i.join(" ").trim()),"style"===o.property&&"string"==typeof i&&(i=function(e){const t={};try{El(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,Cl)]=n}}(i)),o.space&&o.property?e[gl.call(Ds,o.property)?Ds[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Cl(e,t){return t.toUpperCase()}const bl={}.hasOwnProperty,Nl={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Ol(e){for(const t in Nl)if(bl.call(Nl,t)&&bl.call(e,t)){const e=Nl[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete Nl[t]}const n=Ao().use(_a).use(e.remarkPlugins||[]).use(Za,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use($s,e),r=new oo;"string"==typeof e.children?r.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const o=n.runSync(n.parse(r),r);if("root"!==o.type)throw new TypeError("Expected a `root` node");let i=t.createElement(t.Fragment,{},yl({options:e,schema:xs,listDepth:0},o));return e.className&&(i=t.createElement("div",{className:e.className},i)),i}Ol.defaultProps={transformLinkUri:function(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++o<Wr.length;){const e=Wr[o];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return o=t.indexOf("?"),-1!==o&&r>o?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}},Ol.propTypes={children:On.string,className:On.string,allowElement:On.func,allowedElements:On.arrayOf(On.string),disallowedElements:On.arrayOf(On.string),unwrapDisallowed:On.bool,remarkPlugins:On.arrayOf(On.oneOfType([On.object,On.func,On.arrayOf(On.oneOfType([On.object,On.func]))])),rehypePlugins:On.arrayOf(On.oneOfType([On.object,On.func,On.arrayOf(On.oneOfType([On.object,On.func]))])),sourcePos:On.bool,rawSourcePos:On.bool,skipHtml:On.bool,includeElementIndex:On.bool,transformLinkUri:On.oneOfType([On.func,On.bool]),linkTarget:On.oneOfType([On.func,On.string]),transformImageUri:On.func,components:On.object};const kl={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||119===t?(e.consume(t),o):n(t)}function o(t){return 87===t||119===t?(e.consume(t),i):n(t)}function i(t){return 46===t?(e.consume(t),a):n(t)}function a(e){return null===e||zo(e)?n(e):t(e)}},partial:!0},Il={tokenize:function(e,t,n){let r,o;return i;function i(t){return 38===t?e.check(Pl,s,a)(t):46===t||95===t?e.check(Rl,s,a)(t):null===t||qo(t)||Yo(t)||45!==t&&Wo(t)?s(t):(e.consume(t),i)}function a(t){return 46===t?(o=r,r=void 0,e.consume(t),i):(95===t&&(r=!0),e.consume(t),i)}function s(e){return o||r?n(e):t(e)}},partial:!0},wl={tokenize:function(e,t){let n=0;return r;function r(a){return 38===a?e.check(Pl,t,o)(a):(40===a&&n++,41===a?e.check(Rl,i,o)(a):Ul(a)?t(a):Hl(a)?e.check(Rl,t,o)(a):(e.consume(a),r))}function o(t){return e.consume(t),r}function i(e){return n--,n<0?t(e):o(e)}},partial:!0},Rl={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(o){return Hl(o)?(e.consume(o),r):Ul(o)?t(o):n(o)}},partial:!0},Pl={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return $o(t)?(e.consume(t),r):59===t?(e.consume(t),o):n(t)}function o(e){return Ul(e)?t(e):n(e)}},partial:!0},Dl={tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!jl(r.previous)||Kl(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(kl,e.attempt(Il,e.attempt(wl,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:jl},xl={tokenize:function(e,t,n){const r=this;return function(t){if(72!==t&&104!==t||!Gl(r.previous)||Kl(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),o};function o(t){return 84===t||116===t?(e.consume(t),i):n(t)}function i(t){return 84===t||116===t?(e.consume(t),a):n(t)}function a(t){return 80===t||112===t?(e.consume(t),s):n(t)}function s(t){return 83===t||115===t?(e.consume(t),l):l(t)}function l(t){return 58===t?(e.consume(t),c):n(t)}function c(t){return 47===t?(e.consume(t),u):n(t)}function u(t){return 47===t?(e.consume(t),p):n(t)}function p(t){return null===t||qo(t)||Yo(t)||Wo(t)?n(t):e.attempt(Il,e.attempt(wl,f),n)(t)}function f(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Gl},Ll={tokenize:function(e,t,n){const r=this;let o,i;return function(t){if(!Bl(t)||!ql(r.previous)||Kl(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return Bl(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Rl,p,l)(t):45===t||95===t?e.check(Rl,n,c)(t):Bo(t)?(!i&&Ho(t)&&(i=!0),e.consume(t),s):p(t)}function l(t){return e.consume(t),o=!0,i=void 0,s}function c(t){return e.consume(t),u}function u(t){return 46===t?e.check(Rl,n,l)(t):s(t)}function p(r){return o&&!i?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(r)):n(r)}},previous:ql},Ml={},Fl={text:Ml};let $l=48;for(;$l<123;)Ml[$l]=Ll,$l++,58===$l?$l=65:91===$l&&($l=97);function Hl(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function Ul(e){return null===e||60===e||Ko(e)}function Bl(e){return 43===e||45===e||46===e||95===e||Bo(e)}function jl(e){return null===e||40===e||42===e||95===e||126===e||Ko(e)}function Gl(e){return null===e||!$o(e)}function ql(e){return 47!==e&&Gl(e)}function Kl(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Ml[43]=Ll,Ml[45]=Ll,Ml[46]=Ll,Ml[95]=Ll,Ml[72]=[Ll,xl],Ml[104]=[Ll,xl],Ml[87]=[Ll,Dl],Ml[119]=[Ll,Dl];const zl={tokenize:function(e,t,n){const r=this;return Xo(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Vl(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=bi(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.charCodeAt(0)||!i.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function Yl(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function Wl(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){let u;return null===s||91===s||a++>999?n(s):93===s?i?(e.exit("chunkString"),u=e.exit("gfmFootnoteCallString"),o.includes(bi(r.sliceSerialize(u)))?function(n){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(s):n(s)):n(s):(e.consume(s),Ko(s)||(i=!0),92===s?c:l)}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function Ql(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),c):n(t)}function c(t){let o;return null===t||91===t||s>999?n(t):93===t?a?(o=e.exit("gfmFootnoteDefinitionLabelString"),i=bi(r.sliceSerialize(o)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f):n(t):zo(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s++,c):(e.enter("chunkString").contentType="string",u(t))}function u(t){return null===t||zo(t)||91===t||93===t||s>999?(e.exit("chunkString"),c(t)):(Ko(t)||(a=!0),s++,e.consume(t),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Xo(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return o.includes(i)||o.push(i),t(e)}}function Xl(e,t,n){return e.check(ai,t,e.attempt(zl,t,n))}function Jl(e){e.exit("gfmFootnoteDefinition")}function Zl(e={}){let t=e.singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const l=ti(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=ti(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]];Po(a,a.length,0,ni(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),Po(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Po(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}const ec={flow:{null:{tokenize:function(e,t,n){const r=this,o=[];let i,a,s=0;return function(t){if(e.enter("table")._align=o,e.enter("tableHead"),e.enter("tableRow"),124===t)return l(t);return s++,e.enter("temporaryTableCellContent"),p(t)};function l(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,c}function c(t){return null===t||zo(t)?function(t){if(null===t)return n(t);e.exit("tableRow"),e.exit("tableHead");const o=r.interrupt;return r.interrupt=!0,e.attempt({tokenize:k,partial:!0},(function(t){return r.interrupt=o,e.enter("tableDelimiterRow"),d(t)}),(function(e){return r.interrupt=o,n(e)}))(t)}(t):Vo(t)?(e.enter("whitespace"),e.consume(t),u):(i&&(i=void 0,s++),124===t?l(t):(e.enter("temporaryTableCellContent"),p(t)))}function u(t){return Vo(t)?(e.consume(t),u):(e.exit("whitespace"),c(t))}function p(t){return null===t||124===t||Ko(t)?(e.exit("temporaryTableCellContent"),c(t)):(e.consume(t),92===t?f:p)}function f(t){return 92===t||124===t?(e.consume(t),p):p(t)}function d(t){return null===t||zo(t)?g(t):Vo(t)?(e.enter("whitespace"),e.consume(t),h):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),a=!0,o.push("none"),m):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o.push("left"),T):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function h(t){return Vo(t)?(e.consume(t),h):(e.exit("whitespace"),d(t))}function m(t){return 45===t?(e.consume(t),m):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o[o.length-1]="left"===o[o.length-1]?"center":"right",E):d(t))}function T(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),a=!0,m):n(t)}function E(t){return null===t||zo(t)?g(t):Vo(t)?(e.enter("whitespace"),e.consume(t),h):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function g(t){return e.exit("tableDelimiterRow"),a&&s===o.length?null===t?_(t):e.check(tc,_,e.attempt({tokenize:k,partial:!0},Xo(e,y,"linePrefix",4),_))(t):n(t)}function _(n){return e.exit("table"),t(n)}function y(t){return e.enter("tableBody"),A(t)}function A(t){return e.enter("tableRow"),124===t?v(t):(e.enter("temporaryTableCellContent"),b(t))}function v(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||zo(t)?function(t){if(e.exit("tableRow"),null===t)return O(t);return e.check(tc,O,e.attempt({tokenize:k,partial:!0},Xo(e,A,"linePrefix",4),O))(t)}(t):Vo(t)?(e.enter("whitespace"),e.consume(t),C):124===t?v(t):(e.enter("temporaryTableCellContent"),b(t))}function C(t){return Vo(t)?(e.consume(t),C):(e.exit("whitespace"),S(t))}function b(t){return null===t||124===t||Ko(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?N:b)}function N(t){return 92===t||124===t?(e.consume(t),b):b(t)}function O(t){return e.exit("tableBody"),_(t)}function k(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Xo(e,o,"linePrefix")};function o(o){if(r.parser.lazy[r.now().line]||null===o||zo(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(o):(r._gfmTableDynamicInterruptHack=!0,e.check(r.parser.constructs.flow,(function(e){return r._gfmTableDynamicInterruptHack=!1,n(e)}),(function(e){return r._gfmTableDynamicInterruptHack=!1,t(e)}))(o))}}},resolve:function(e,t){let n,r,o,i,a,s,l,c=-1;for(;++c<e.length;){const u=e[c][1];if(o&&("temporaryTableCellContent"===u.type&&(i=i||c,a=c),("tableCellDivider"===u.type||"tableRow"===u.type)&&a)){const n={type:"tableContent",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:n.start,end:n.end,contentType:"text"};e.splice(i,a-i+1,["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]),c-=a-i-3,i=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(l?0:1)<c&&("tableCellDivider"===u.type||"tableRow"===u.type&&(s+3<c||"whitespace"!==e[s][1].type))){const o={type:r?"tableDelimiter":n?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===u.type?1:0),0,["exit",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,l=!0}"tableRow"===u.type&&(o="enter"===e[c][0],o&&(s=c+1,l=!1)),"tableDelimiterRow"===u.type&&(r="enter"===e[c][0],r&&(s=c+1,l=!1)),"tableHead"===u.type&&(n="enter"===e[c][0])}return e}}}},tc={tokenize:function(e,t,n){let r=0;return function(t){return e.enter("check"),e.consume(t),o};function o(i){return-1===i||32===i?(e.consume(i),r++,4===r?t:o):null===i||Ko(i)?t(i):n(i)}},partial:!0};const nc={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return Ko(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:oc},t,n)):n(r)}}},rc={text:{91:nc}};function oc(e,t,n){const r=this;return Xo(e,(function(e){const o=r.events[r.events.length-1];return(o&&"whitespace"===o[1].type||zo(e))&&null!==e?t(e):n(e)}),"whitespace")}function ic(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function ac(e){return"[33m"+e+"[39m"}const sc=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=Na(t),i=r?-1:1;!function e(a,s,l){var c,u="object"==typeof a&&null!==a?a:{};"string"==typeof u.type&&(c="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0,Object.defineProperty(p,"name",{value:"node ("+ac(u.type+(c?"<"+c+">":""))+")"}));return p;function p(){var c,u,p,f=[];if((!t||o(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,l)),false===f[0]))return f;if(a.children&&"skip"!==f[0])for(u=(r?a.children.length:-1)+i,p=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,p)(),false===c[0])return c;u="number"==typeof c[1]?c[1]:u+i}return f}}(e,null,[])()};const lc={}.hasOwnProperty,cc=function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=Na(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([uc(e[n][0]),pc(e[n][1])])}else{let n;for(n in e)lc.call(e,n)&&t.push([uc(n),pc(e[n])])}return t}(i);let l=-1;for(;++l<s.length;)sc(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=s[l][0],r=s[l][1];let o,i=0,a=t.children.indexOf(e),c=[];n.lastIndex=0;let u=n.exec(e.value);for(;u;){o=u.index;let t=r(...u,{index:u.index,input:u.input});if("string"==typeof t&&(t=t.length>0?{type:"text",value:t}:void 0),!1!==t&&(i!==o&&c.push({type:"text",value:e.value.slice(i,o)}),Array.isArray(t)?c.push(...t):t&&c.push(t),i=o+u[0].length),!n.global)break;u=n.exec(e.value)}void 0===o?(c=[e],a--):(i<e.value.length&&c.push({type:"text",value:e.value.slice(i)}),t.children.splice(a,1,...c));return a+c.length+1}(e,n)}};function uc(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function pc(e){return"function"==typeof e?e:()=>e}const fc=["autolink","link","image","label"],dc={transforms:[function(e){cc(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Tc],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Ec]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:mc,literalAutolinkHttp:mc,literalAutolinkWww:mc},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},hc={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:"phrasing",notInConstruct:fc},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:"phrasing",notInConstruct:fc},{character:":",before:"[ps]",after:"\\/",inConstruct:"phrasing",notInConstruct:fc}]};function mc(e){this.config.enter.autolinkProtocol.call(this,e)}function Tc(e,t,n,r,o){let i="";if(!gc(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let n,r,o,i;if(t)for(e=e.slice(0,t.index),i=t[0],n=i.indexOf(")"),r=ic(e,"("),o=ic(e,")");-1!==n&&r>o;)e+=i.slice(0,n+1),i=i.slice(n+1),n=i.indexOf(")"),o++;return[e,i]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Ec(e,t,n,r){return!(!gc(r,!0)||/[_-\d]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function gc(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Yo(n)||Wo(n))&&(!t||47!==n)}function _c(e){return e.label||!e.identifier?e.label||"":fa(e.identifier)}function yc(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e=""){const t=e.split(/\r?\n|\r/g),n=t[t.length-1];return o+=t.length-1,i=1===t.length?i+n.length:1+n.length+r,e},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function Ac(e,t,n){const r=t.indexStack,o=e.children||[],i=yc(n),a=[];let s=-1;for(r.push(-1);++s<o.length;){const n=o[s];r[r.length-1]=s,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<o.length-1&&a.push(i.move(l(n,o[s+1])))}return r.pop(),a.join("");function l(n,r){let o=t.join.length;for(;o--;){const i=t.join[o](n,r,e,t);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}const vc=/\r?\n|\r/g;function Sc(e,t){const n=[];let r,o=0,i=0;for(;r=vc.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}function Cc(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function bc(e,t){return Nc(e,t.inConstruct,!0)&&!Nc(e,t.notInConstruct,!1)}function Nc(e,t,n){if(!t)return n;"string"==typeof t&&(t=[t]);let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Oc(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!bc(e.stack,t))continue;const n=Cc(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(kc);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<l||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&i.push(Ic(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):i.push("\\")))}return i.push(Ic(r.slice(l,c),n.after)),i.join("")}function kc(e,t){return e-t}function Ic(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,s=-1,l=0;for(;a=n.exec(i);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&o.push(e.slice(l,r[s])),o.push("\\"),l=r[s];return o.push(e.slice(l)),o.join("")}function wc(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,n,r){const o=yc(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(Oc(n,_c(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(Sc(Ac(e,n,o.current()),(function(e,t,n){if(t)return(n?"":" ")+e;return e}))),a(),i},footnoteReference:e}};function e(e,t,n,r){const o=yc(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(Oc(n,_c(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}}function Rc(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,s=n.before;r.push(-1);let l=yc(n);for(;++a<o.length;){const c=o[a];let u;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=yc(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}const Pc={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Dc={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:xc}};function xc(e,t,n,r){const o=yc(r),i=n.enter("emphasis");let a=o.move("~~");return a+=Rc(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Lc(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=Cc(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function Mc(e){return e.length}function Fc(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}xc.peek=function(){return"~"},Lc.peek=function(){return"`"};const $c={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:Uc,tableHeader:Uc,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Bc));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Hc,tableHeader:Hc,tableRow:Hc}};function Hc(e){this.exit(e)}function Uc(e){this.enter({type:"tableCell",children:[]},e)}function Bc(e,t){return"|"===t?t:e}function jc(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=s([l(e,n,r)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=Lc(e,0,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=Rc(e,n,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Mc,o=[],i=[],a=[],s=[];let l=0,c=-1;for(;++c<e.length;){const n=[],o=[];let p=-1;for(e[c].length>l&&(l=e[c].length);++p<e[c].length;){const i=null==(u=e[c][p])?"":String(u);if(!1!==t.alignDelimiters){const e=r(i);o[p]=e,(void 0===s[p]||e>s[p])&&(s[p]=e)}n.push(i)}i[c]=n,a[c]=o}var u;let p=-1;if("object"==typeof n&&"length"in n)for(;++p<l;)o[p]=Fc(n[p]);else{const e=Fc(n);for(;++p<l;)o[p]=e}p=-1;const f=[],d=[];for(;++p<l;){const e=o[p];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[p]-n.length-r.length);const a=n+"-".repeat(i)+r;!1!==t.alignDelimiters&&(i=n.length+i+r.length,i>s[p]&&(s[p]=i),d[p]=i),f[p]=a}i.splice(1,0,f),a.splice(1,0,d),c=-1;const h=[];for(;++c<i.length;){const e=i[c],n=a[c];p=-1;const r=[];for(;++p<l;){const i=e[p]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[p]-(n[p]||0),t=o[p];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||p||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!p||r.push(" "),!1!==t.alignDelimiters&&r.push(a),r.push(i),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&p===l-1||r.push("|")}h.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function Gc(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=yc(r);s.move(i+" ".repeat(a-i.length)),s.shift(a);const l=n.enter("listItem"),c=Sc(Ac(e,n,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?i:i+" ".repeat(a-i.length))+e}));return l(),c}const qc={exit:{taskListCheckValueChecked:zc,taskListCheckValueUnchecked:zc,paragraph:function(e){const t=this.stack[this.stack.length-2],n=this.stack[this.stack.length-1],r=t.children,o=n.children[0];let i,a=-1;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&o&&"text"===o.type){for(;++a<r.length;){const e=r[a];if("paragraph"===e.type){i=e;break}}i===n&&(o.value=o.value.slice(1),0===o.value.length?n.children.shift():n.position&&o.position&&"number"==typeof o.position.start.offset&&(o.position.start.column++,o.position.start.offset++,n.position.start=Object.assign({},o.position.start)))}this.exit(e)}}},Kc={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=yc(r);i&&s.move(a);let l=Gc(e,t,n,{...r,...s.current()});i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return l}}};function zc(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}const Vc=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];var Yc="�",Wc={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},Qc={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},Xc=function(e){return e>=55296&&e<=57343},Jc=function(e){return e>=56320&&e<=57343},Zc=function(e,t){return 1024*(e-55296)+9216+t},eu=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},tu=function(e){return e>=64976&&e<=65007||Vc.indexOf(e)>-1},nu="control-character-in-input-stream",ru="noncharacter-in-input-stream",ou="surrogate-in-input-stream",iu="non-void-html-element-start-tag-with-trailing-solidus",au="end-tag-with-attributes",su="end-tag-with-trailing-solidus",lu="unexpected-solidus-in-tag",cu="unexpected-null-character",uu="unexpected-question-mark-instead-of-tag-name",pu="invalid-first-character-of-tag-name",fu="unexpected-equals-sign-before-attribute-name",du="missing-end-tag-name",hu="unexpected-character-in-attribute-name",mu="unknown-named-character-reference",Tu="missing-semicolon-after-character-reference",Eu="unexpected-character-after-doctype-system-identifier",gu="unexpected-character-in-unquoted-attribute-value",_u="eof-before-tag-name",yu="eof-in-tag",Au="missing-attribute-value",vu="missing-whitespace-between-attributes",Su="missing-whitespace-after-doctype-public-keyword",Cu="missing-whitespace-between-doctype-public-and-system-identifiers",bu="missing-whitespace-after-doctype-system-keyword",Nu="missing-quote-before-doctype-public-identifier",Ou="missing-quote-before-doctype-system-identifier",ku="missing-doctype-public-identifier",Iu="missing-doctype-system-identifier",wu="abrupt-doctype-public-identifier",Ru="abrupt-doctype-system-identifier",Pu="cdata-in-html-content",Du="incorrectly-opened-comment",xu="eof-in-script-html-comment-like-text",Lu="eof-in-doctype",Mu="nested-comment",Fu="abrupt-closing-of-empty-comment",$u="eof-in-comment",Hu="incorrectly-closed-comment",Uu="eof-in-cdata",Bu="absence-of-digits-in-numeric-character-reference",ju="null-character-reference",Gu="surrogate-character-reference",qu="character-reference-outside-unicode-range",Ku="control-character-reference",zu="noncharacter-character-reference",Vu="missing-whitespace-before-doctype-name",Yu="missing-doctype-name",Wu="invalid-character-sequence-after-doctype-name",Qu="duplicate-attribute",Xu="non-conforming-doctype",Ju="missing-doctype",Zu="misplaced-doctype",ep="end-tag-without-matching-open-element",tp="closing-of-element-with-open-child-elements",np="disallowed-content-in-noscript-in-head",rp="open-elements-left-after-eof",op="abandoned-head-element-child",ip="misplaced-start-tag-for-head-element",ap="nested-noscript-in-head",sp="eof-in-element-that-can-contain-only-text";const lp=Wc;var cp=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(Jc(t))return this.pos++,this._addGap(),Zc(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,lp.EOF;return this._err(ou),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,lp.EOF;let e=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&e===lp.LINE_FEED)return this.skipNextNewLine=!1,this._addGap(),this.advance();if(e===lp.CARRIAGE_RETURN)return this.skipNextNewLine=!0,lp.LINE_FEED;this.skipNextNewLine=!1,Xc(e)&&(e=this._processSurrogate(e));return e>31&&e<127||e===lp.LINE_FEED||e===lp.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){eu(e)?this._err(nu):tu(e)&&this._err(ru)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}},up=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const pp=Wc,fp=Qc,dp={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},hp="DATA_STATE";function mp(e){return e===pp.SPACE||e===pp.LINE_FEED||e===pp.TABULATION||e===pp.FORM_FEED}function Tp(e){return e>=pp.DIGIT_0&&e<=pp.DIGIT_9}function Ep(e){return e>=pp.LATIN_CAPITAL_A&&e<=pp.LATIN_CAPITAL_Z}function gp(e){return e>=pp.LATIN_SMALL_A&&e<=pp.LATIN_SMALL_Z}function _p(e){return gp(e)||Ep(e)}function yp(e){return _p(e)||Tp(e)}function Ap(e){return e>=pp.LATIN_CAPITAL_A&&e<=pp.LATIN_CAPITAL_F}function vp(e){return e>=pp.LATIN_SMALL_A&&e<=pp.LATIN_SMALL_F}function Sp(e){return e+32}function Cp(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function bp(e){return String.fromCharCode(Sp(e))}function Np(e,t){const n=up[++e];let r=++e,o=r+n-1;for(;r<=o;){const e=r+o>>>1,i=up[e];if(i<t)r=e+1;else{if(!(i>t))return up[e+n];o=e-1}}return-1}class Op{constructor(){this.preprocessor=new cp,this.tokenQueue=[],this.allowCDATA=!1,this.state=hp,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Op.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0;const i=e.length;let a,s=0,l=t;for(;s<i;s++){if(s>0&&(l=this._consume(),r++),l===pp.EOF){o=!1;break}if(a=e[s],l!==a&&(n||l!==Sp(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==fp.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==fp.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:Op.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Op.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Op.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:Op.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:Op.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===Op.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(Qu),this.state=e}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const e=this.currentToken;this.currentToken=null,e.type===Op.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===Op.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(au),e.selfClosing&&this._err(su)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Op.CHARACTER_TOKEN;mp(e)?t=Op.WHITESPACE_CHARACTER_TOKEN:e===pp.NULL&&(t=Op.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,Cp(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken(Op.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=Np(0,e);for(this.tempBuff.push(e);r>-1;){const e=up[r],o=e<7;o&&1&e&&(t=2&e?[up[++r],up[++r]]:[up[++r]],n=0);const i=this._consume();if(this.tempBuff.push(i),n++,i===pp.EOF)break;r=o?4&e?Np(r,i):-1:i===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return"ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE"===this.returnState||"ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE"===this.returnState||"ATTRIBUTE_VALUE_UNQUOTED_STATE"===this.returnState}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===pp.EQUALS_SIGN||yp(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=Cp(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[hp](e){this.preprocessor.dropParsedChunk(),e===pp.LESS_THAN_SIGN?this.state="TAG_OPEN_STATE":e===pp.AMPERSAND?(this.returnState=hp,this.state="CHARACTER_REFERENCE_STATE"):e===pp.NULL?(this._err(cu),this._emitCodePoint(e)):e===pp.EOF?this._emitEOFToken():this._emitCodePoint(e)}RCDATA_STATE(e){this.preprocessor.dropParsedChunk(),e===pp.AMPERSAND?(this.returnState="RCDATA_STATE",this.state="CHARACTER_REFERENCE_STATE"):e===pp.LESS_THAN_SIGN?this.state="RCDATA_LESS_THAN_SIGN_STATE":e===pp.NULL?(this._err(cu),this._emitChars(Yc)):e===pp.EOF?this._emitEOFToken():this._emitCodePoint(e)}RAWTEXT_STATE(e){this.preprocessor.dropParsedChunk(),e===pp.LESS_THAN_SIGN?this.state="RAWTEXT_LESS_THAN_SIGN_STATE":e===pp.NULL?(this._err(cu),this._emitChars(Yc)):e===pp.EOF?this._emitEOFToken():this._emitCodePoint(e)}SCRIPT_DATA_STATE(e){this.preprocessor.dropParsedChunk(),e===pp.LESS_THAN_SIGN?this.state="SCRIPT_DATA_LESS_THAN_SIGN_STATE":e===pp.NULL?(this._err(cu),this._emitChars(Yc)):e===pp.EOF?this._emitEOFToken():this._emitCodePoint(e)}PLAINTEXT_STATE(e){this.preprocessor.dropParsedChunk(),e===pp.NULL?(this._err(cu),this._emitChars(Yc)):e===pp.EOF?this._emitEOFToken():this._emitCodePoint(e)}TAG_OPEN_STATE(e){e===pp.EXCLAMATION_MARK?this.state="MARKUP_DECLARATION_OPEN_STATE":e===pp.SOLIDUS?this.state="END_TAG_OPEN_STATE":_p(e)?(this._createStartTagToken(),this._reconsumeInState("TAG_NAME_STATE")):e===pp.QUESTION_MARK?(this._err(uu),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE")):e===pp.EOF?(this._err(_u),this._emitChars("<"),this._emitEOFToken()):(this._err(pu),this._emitChars("<"),this._reconsumeInState(hp))}END_TAG_OPEN_STATE(e){_p(e)?(this._createEndTagToken(),this._reconsumeInState("TAG_NAME_STATE")):e===pp.GREATER_THAN_SIGN?(this._err(du),this.state=hp):e===pp.EOF?(this._err(_u),this._emitChars("</"),this._emitEOFToken()):(this._err(pu),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE"))}TAG_NAME_STATE(e){mp(e)?this.state="BEFORE_ATTRIBUTE_NAME_STATE":e===pp.SOLIDUS?this.state="SELF_CLOSING_START_TAG_STATE":e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):Ep(e)?this.currentToken.tagName+=bp(e):e===pp.NULL?(this._err(cu),this.currentToken.tagName+=Yc):e===pp.EOF?(this._err(yu),this._emitEOFToken()):this.currentToken.tagName+=Cp(e)}RCDATA_LESS_THAN_SIGN_STATE(e){e===pp.SOLIDUS?(this.tempBuff=[],this.state="RCDATA_END_TAG_OPEN_STATE"):(this._emitChars("<"),this._reconsumeInState("RCDATA_STATE"))}RCDATA_END_TAG_OPEN_STATE(e){_p(e)?(this._createEndTagToken(),this._reconsumeInState("RCDATA_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("RCDATA_STATE"))}RCDATA_END_TAG_NAME_STATE(e){if(Ep(e))this.currentToken.tagName+=bp(e),this.tempBuff.push(e);else if(gp(e))this.currentToken.tagName+=Cp(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(mp(e))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(e===pp.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(e===pp.GREATER_THAN_SIGN)return this.state=hp,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("RCDATA_STATE")}}RAWTEXT_LESS_THAN_SIGN_STATE(e){e===pp.SOLIDUS?(this.tempBuff=[],this.state="RAWTEXT_END_TAG_OPEN_STATE"):(this._emitChars("<"),this._reconsumeInState("RAWTEXT_STATE"))}RAWTEXT_END_TAG_OPEN_STATE(e){_p(e)?(this._createEndTagToken(),this._reconsumeInState("RAWTEXT_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("RAWTEXT_STATE"))}RAWTEXT_END_TAG_NAME_STATE(e){if(Ep(e))this.currentToken.tagName+=bp(e),this.tempBuff.push(e);else if(gp(e))this.currentToken.tagName+=Cp(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(mp(e))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(e===pp.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(e===pp.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=hp)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("RAWTEXT_STATE")}}SCRIPT_DATA_LESS_THAN_SIGN_STATE(e){e===pp.SOLIDUS?(this.tempBuff=[],this.state="SCRIPT_DATA_END_TAG_OPEN_STATE"):e===pp.EXCLAMATION_MARK?(this.state="SCRIPT_DATA_ESCAPE_START_STATE",this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_STATE"))}SCRIPT_DATA_END_TAG_OPEN_STATE(e){_p(e)?(this._createEndTagToken(),this._reconsumeInState("SCRIPT_DATA_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("SCRIPT_DATA_STATE"))}SCRIPT_DATA_END_TAG_NAME_STATE(e){if(Ep(e))this.currentToken.tagName+=bp(e),this.tempBuff.push(e);else if(gp(e))this.currentToken.tagName+=Cp(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(mp(e))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(e===pp.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(e===pp.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=hp)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("SCRIPT_DATA_STATE")}}SCRIPT_DATA_ESCAPE_START_STATE(e){e===pp.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPE_START_DASH_STATE",this._emitChars("-")):this._reconsumeInState("SCRIPT_DATA_STATE")}SCRIPT_DATA_ESCAPE_START_DASH_STATE(e){e===pp.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",this._emitChars("-")):this._reconsumeInState("SCRIPT_DATA_STATE")}SCRIPT_DATA_ESCAPED_STATE(e){e===pp.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPED_DASH_STATE",this._emitChars("-")):e===pp.LESS_THAN_SIGN?this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE":e===pp.NULL?(this._err(cu),this._emitChars(Yc)):e===pp.EOF?(this._err(xu),this._emitEOFToken()):this._emitCodePoint(e)}SCRIPT_DATA_ESCAPED_DASH_STATE(e){e===pp.HYPHEN_MINUS?(this.state="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",this._emitChars("-")):e===pp.LESS_THAN_SIGN?this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE":e===pp.NULL?(this._err(cu),this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitChars(Yc)):e===pp.EOF?(this._err(xu),this._emitEOFToken()):(this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(e))}SCRIPT_DATA_ESCAPED_DASH_DASH_STATE(e){e===pp.HYPHEN_MINUS?this._emitChars("-"):e===pp.LESS_THAN_SIGN?this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE":e===pp.GREATER_THAN_SIGN?(this.state="SCRIPT_DATA_STATE",this._emitChars(">")):e===pp.NULL?(this._err(cu),this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitChars(Yc)):e===pp.EOF?(this._err(xu),this._emitEOFToken()):(this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(e))}SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE(e){e===pp.SOLIDUS?(this.tempBuff=[],this.state="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE"):_p(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE")):(this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE"))}SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE(e){_p(e)?(this._createEndTagToken(),this._reconsumeInState("SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE")):(this._emitChars("</"),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE"))}SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE(e){if(Ep(e))this.currentToken.tagName+=bp(e),this.tempBuff.push(e);else if(gp(e))this.currentToken.tagName+=Cp(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(mp(e))return void(this.state="BEFORE_ATTRIBUTE_NAME_STATE");if(e===pp.SOLIDUS)return void(this.state="SELF_CLOSING_START_TAG_STATE");if(e===pp.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=hp)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}}SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE(e){mp(e)||e===pp.SOLIDUS||e===pp.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?"SCRIPT_DATA_DOUBLE_ESCAPED_STATE":"SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(e)):Ep(e)?(this.tempBuff.push(Sp(e)),this._emitCodePoint(e)):gp(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}SCRIPT_DATA_DOUBLE_ESCAPED_STATE(e){e===pp.HYPHEN_MINUS?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",this._emitChars("-")):e===pp.LESS_THAN_SIGN?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<")):e===pp.NULL?(this._err(cu),this._emitChars(Yc)):e===pp.EOF?(this._err(xu),this._emitEOFToken()):this._emitCodePoint(e)}SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE(e){e===pp.HYPHEN_MINUS?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",this._emitChars("-")):e===pp.LESS_THAN_SIGN?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<")):e===pp.NULL?(this._err(cu),this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitChars(Yc)):e===pp.EOF?(this._err(xu),this._emitEOFToken()):(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(e))}SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE(e){e===pp.HYPHEN_MINUS?this._emitChars("-"):e===pp.LESS_THAN_SIGN?(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<")):e===pp.GREATER_THAN_SIGN?(this.state="SCRIPT_DATA_STATE",this._emitChars(">")):e===pp.NULL?(this._err(cu),this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitChars(Yc)):e===pp.EOF?(this._err(xu),this._emitEOFToken()):(this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(e))}SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE(e){e===pp.SOLIDUS?(this.tempBuff=[],this.state="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",this._emitChars("/")):this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPED_STATE")}SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE(e){mp(e)||e===pp.SOLIDUS||e===pp.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?"SCRIPT_DATA_ESCAPED_STATE":"SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(e)):Ep(e)?(this.tempBuff.push(Sp(e)),this._emitCodePoint(e)):gp(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPED_STATE")}BEFORE_ATTRIBUTE_NAME_STATE(e){mp(e)||(e===pp.SOLIDUS||e===pp.GREATER_THAN_SIGN||e===pp.EOF?this._reconsumeInState("AFTER_ATTRIBUTE_NAME_STATE"):e===pp.EQUALS_SIGN?(this._err(fu),this._createAttr("="),this.state="ATTRIBUTE_NAME_STATE"):(this._createAttr(""),this._reconsumeInState("ATTRIBUTE_NAME_STATE")))}ATTRIBUTE_NAME_STATE(e){mp(e)||e===pp.SOLIDUS||e===pp.GREATER_THAN_SIGN||e===pp.EOF?(this._leaveAttrName("AFTER_ATTRIBUTE_NAME_STATE"),this._unconsume()):e===pp.EQUALS_SIGN?this._leaveAttrName("BEFORE_ATTRIBUTE_VALUE_STATE"):Ep(e)?this.currentAttr.name+=bp(e):e===pp.QUOTATION_MARK||e===pp.APOSTROPHE||e===pp.LESS_THAN_SIGN?(this._err(hu),this.currentAttr.name+=Cp(e)):e===pp.NULL?(this._err(cu),this.currentAttr.name+=Yc):this.currentAttr.name+=Cp(e)}AFTER_ATTRIBUTE_NAME_STATE(e){mp(e)||(e===pp.SOLIDUS?this.state="SELF_CLOSING_START_TAG_STATE":e===pp.EQUALS_SIGN?this.state="BEFORE_ATTRIBUTE_VALUE_STATE":e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(yu),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState("ATTRIBUTE_NAME_STATE")))}BEFORE_ATTRIBUTE_VALUE_STATE(e){mp(e)||(e===pp.QUOTATION_MARK?this.state="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE":e===pp.APOSTROPHE?this.state="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE":e===pp.GREATER_THAN_SIGN?(this._err(Au),this.state=hp,this._emitCurrentToken()):this._reconsumeInState("ATTRIBUTE_VALUE_UNQUOTED_STATE"))}ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE(e){e===pp.QUOTATION_MARK?this.state="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE":e===pp.AMPERSAND?(this.returnState="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE"):e===pp.NULL?(this._err(cu),this.currentAttr.value+=Yc):e===pp.EOF?(this._err(yu),this._emitEOFToken()):this.currentAttr.value+=Cp(e)}ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE(e){e===pp.APOSTROPHE?this.state="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE":e===pp.AMPERSAND?(this.returnState="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE"):e===pp.NULL?(this._err(cu),this.currentAttr.value+=Yc):e===pp.EOF?(this._err(yu),this._emitEOFToken()):this.currentAttr.value+=Cp(e)}ATTRIBUTE_VALUE_UNQUOTED_STATE(e){mp(e)?this._leaveAttrValue("BEFORE_ATTRIBUTE_NAME_STATE"):e===pp.AMPERSAND?(this.returnState="ATTRIBUTE_VALUE_UNQUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE"):e===pp.GREATER_THAN_SIGN?(this._leaveAttrValue(hp),this._emitCurrentToken()):e===pp.NULL?(this._err(cu),this.currentAttr.value+=Yc):e===pp.QUOTATION_MARK||e===pp.APOSTROPHE||e===pp.LESS_THAN_SIGN||e===pp.EQUALS_SIGN||e===pp.GRAVE_ACCENT?(this._err(gu),this.currentAttr.value+=Cp(e)):e===pp.EOF?(this._err(yu),this._emitEOFToken()):this.currentAttr.value+=Cp(e)}AFTER_ATTRIBUTE_VALUE_QUOTED_STATE(e){mp(e)?this._leaveAttrValue("BEFORE_ATTRIBUTE_NAME_STATE"):e===pp.SOLIDUS?this._leaveAttrValue("SELF_CLOSING_START_TAG_STATE"):e===pp.GREATER_THAN_SIGN?(this._leaveAttrValue(hp),this._emitCurrentToken()):e===pp.EOF?(this._err(yu),this._emitEOFToken()):(this._err(vu),this._reconsumeInState("BEFORE_ATTRIBUTE_NAME_STATE"))}SELF_CLOSING_START_TAG_STATE(e){e===pp.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(yu),this._emitEOFToken()):(this._err(lu),this._reconsumeInState("BEFORE_ATTRIBUTE_NAME_STATE"))}BOGUS_COMMENT_STATE(e){e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===pp.NULL?(this._err(cu),this.currentToken.data+=Yc):this.currentToken.data+=Cp(e)}MARKUP_DECLARATION_OPEN_STATE(e){this._consumeSequenceIfMatch(fp.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state="COMMENT_START_STATE"):this._consumeSequenceIfMatch(fp.DOCTYPE_STRING,e,!1)?this.state="DOCTYPE_STATE":this._consumeSequenceIfMatch(fp.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state="CDATA_SECTION_STATE":(this._err(Pu),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state="BOGUS_COMMENT_STATE"):this._ensureHibernation()||(this._err(Du),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE"))}COMMENT_START_STATE(e){e===pp.HYPHEN_MINUS?this.state="COMMENT_START_DASH_STATE":e===pp.GREATER_THAN_SIGN?(this._err(Fu),this.state=hp,this._emitCurrentToken()):this._reconsumeInState("COMMENT_STATE")}COMMENT_START_DASH_STATE(e){e===pp.HYPHEN_MINUS?this.state="COMMENT_END_STATE":e===pp.GREATER_THAN_SIGN?(this._err(Fu),this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err($u),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState("COMMENT_STATE"))}COMMENT_STATE(e){e===pp.HYPHEN_MINUS?this.state="COMMENT_END_DASH_STATE":e===pp.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state="COMMENT_LESS_THAN_SIGN_STATE"):e===pp.NULL?(this._err(cu),this.currentToken.data+=Yc):e===pp.EOF?(this._err($u),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=Cp(e)}COMMENT_LESS_THAN_SIGN_STATE(e){e===pp.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state="COMMENT_LESS_THAN_SIGN_BANG_STATE"):e===pp.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState("COMMENT_STATE")}COMMENT_LESS_THAN_SIGN_BANG_STATE(e){e===pp.HYPHEN_MINUS?this.state="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE":this._reconsumeInState("COMMENT_STATE")}COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE(e){e===pp.HYPHEN_MINUS?this.state="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE":this._reconsumeInState("COMMENT_END_DASH_STATE")}COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE(e){e!==pp.GREATER_THAN_SIGN&&e!==pp.EOF&&this._err(Mu),this._reconsumeInState("COMMENT_END_STATE")}COMMENT_END_DASH_STATE(e){e===pp.HYPHEN_MINUS?this.state="COMMENT_END_STATE":e===pp.EOF?(this._err($u),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState("COMMENT_STATE"))}COMMENT_END_STATE(e){e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):e===pp.EXCLAMATION_MARK?this.state="COMMENT_END_BANG_STATE":e===pp.HYPHEN_MINUS?this.currentToken.data+="-":e===pp.EOF?(this._err($u),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState("COMMENT_STATE"))}COMMENT_END_BANG_STATE(e){e===pp.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state="COMMENT_END_DASH_STATE"):e===pp.GREATER_THAN_SIGN?(this._err(Hu),this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err($u),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState("COMMENT_STATE"))}DOCTYPE_STATE(e){mp(e)?this.state="BEFORE_DOCTYPE_NAME_STATE":e===pp.GREATER_THAN_SIGN?this._reconsumeInState("BEFORE_DOCTYPE_NAME_STATE"):e===pp.EOF?(this._err(Lu),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Vu),this._reconsumeInState("BEFORE_DOCTYPE_NAME_STATE"))}BEFORE_DOCTYPE_NAME_STATE(e){mp(e)||(Ep(e)?(this._createDoctypeToken(bp(e)),this.state="DOCTYPE_NAME_STATE"):e===pp.NULL?(this._err(cu),this._createDoctypeToken(Yc),this.state="DOCTYPE_NAME_STATE"):e===pp.GREATER_THAN_SIGN?(this._err(Yu),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=hp):e===pp.EOF?(this._err(Lu),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(Cp(e)),this.state="DOCTYPE_NAME_STATE"))}DOCTYPE_NAME_STATE(e){mp(e)?this.state="AFTER_DOCTYPE_NAME_STATE":e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):Ep(e)?this.currentToken.name+=bp(e):e===pp.NULL?(this._err(cu),this.currentToken.name+=Yc):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=Cp(e)}AFTER_DOCTYPE_NAME_STATE(e){mp(e)||(e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(fp.PUBLIC_STRING,e,!1)?this.state="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE":this._consumeSequenceIfMatch(fp.SYSTEM_STRING,e,!1)?this.state="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE":this._ensureHibernation()||(this._err(Wu),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE(e){mp(e)?this.state="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE":e===pp.QUOTATION_MARK?(this._err(Su),this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE"):e===pp.APOSTROPHE?(this._err(Su),this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE"):e===pp.GREATER_THAN_SIGN?(this._err(ku),this.currentToken.forceQuirks=!0,this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Nu),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE"))}BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE(e){mp(e)||(e===pp.QUOTATION_MARK?(this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE"):e===pp.APOSTROPHE?(this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE"):e===pp.GREATER_THAN_SIGN?(this._err(ku),this.currentToken.forceQuirks=!0,this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Nu),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE(e){e===pp.QUOTATION_MARK?this.state="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE":e===pp.NULL?(this._err(cu),this.currentToken.publicId+=Yc):e===pp.GREATER_THAN_SIGN?(this._err(wu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=hp):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Cp(e)}DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE(e){e===pp.APOSTROPHE?this.state="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE":e===pp.NULL?(this._err(cu),this.currentToken.publicId+=Yc):e===pp.GREATER_THAN_SIGN?(this._err(wu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=hp):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Cp(e)}AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE(e){mp(e)?this.state="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE":e===pp.GREATER_THAN_SIGN?(this.state=hp,this._emitCurrentToken()):e===pp.QUOTATION_MARK?(this._err(Cu),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):e===pp.APOSTROPHE?(this._err(Cu),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ou),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE"))}BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE(e){mp(e)||(e===pp.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=hp):e===pp.QUOTATION_MARK?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):e===pp.APOSTROPHE?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ou),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE(e){mp(e)?this.state="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE":e===pp.QUOTATION_MARK?(this._err(bu),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):e===pp.APOSTROPHE?(this._err(bu),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):e===pp.GREATER_THAN_SIGN?(this._err(Iu),this.currentToken.forceQuirks=!0,this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ou),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE"))}BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE(e){mp(e)||(e===pp.QUOTATION_MARK?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"):e===pp.APOSTROPHE?(this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"):e===pp.GREATER_THAN_SIGN?(this._err(Iu),this.currentToken.forceQuirks=!0,this.state=hp,this._emitCurrentToken()):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ou),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE(e){e===pp.QUOTATION_MARK?this.state="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE":e===pp.NULL?(this._err(cu),this.currentToken.systemId+=Yc):e===pp.GREATER_THAN_SIGN?(this._err(Ru),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=hp):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Cp(e)}DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE(e){e===pp.APOSTROPHE?this.state="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE":e===pp.NULL?(this._err(cu),this.currentToken.systemId+=Yc):e===pp.GREATER_THAN_SIGN?(this._err(Ru),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=hp):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Cp(e)}AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE(e){mp(e)||(e===pp.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=hp):e===pp.EOF?(this._err(Lu),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Eu),this._reconsumeInState("BOGUS_DOCTYPE_STATE")))}BOGUS_DOCTYPE_STATE(e){e===pp.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=hp):e===pp.NULL?this._err(cu):e===pp.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}CDATA_SECTION_STATE(e){e===pp.RIGHT_SQUARE_BRACKET?this.state="CDATA_SECTION_BRACKET_STATE":e===pp.EOF?(this._err(Uu),this._emitEOFToken()):this._emitCodePoint(e)}CDATA_SECTION_BRACKET_STATE(e){e===pp.RIGHT_SQUARE_BRACKET?this.state="CDATA_SECTION_END_STATE":(this._emitChars("]"),this._reconsumeInState("CDATA_SECTION_STATE"))}CDATA_SECTION_END_STATE(e){e===pp.GREATER_THAN_SIGN?this.state=hp:e===pp.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState("CDATA_SECTION_STATE"))}CHARACTER_REFERENCE_STATE(e){this.tempBuff=[pp.AMPERSAND],e===pp.NUMBER_SIGN?(this.tempBuff.push(e),this.state="NUMERIC_CHARACTER_REFERENCE_STATE"):yp(e)?this._reconsumeInState("NAMED_CHARACTER_REFERENCE_STATE"):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}NAMED_CHARACTER_REFERENCE_STATE(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[pp.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===pp.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(Tu),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state="AMBIGUOS_AMPERSAND_STATE"}AMBIGUOS_AMPERSAND_STATE(e){yp(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Cp(e):this._emitCodePoint(e):(e===pp.SEMICOLON&&this._err(mu),this._reconsumeInState(this.returnState))}NUMERIC_CHARACTER_REFERENCE_STATE(e){this.charRefCode=0,e===pp.LATIN_SMALL_X||e===pp.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE"):this._reconsumeInState("DECIMAL_CHARACTER_REFERENCE_START_STATE")}HEXADEMICAL_CHARACTER_REFERENCE_START_STATE(e){!function(e){return Tp(e)||Ap(e)||vp(e)}(e)?(this._err(Bu),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState("HEXADEMICAL_CHARACTER_REFERENCE_STATE")}DECIMAL_CHARACTER_REFERENCE_START_STATE(e){Tp(e)?this._reconsumeInState("DECIMAL_CHARACTER_REFERENCE_STATE"):(this._err(Bu),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}HEXADEMICAL_CHARACTER_REFERENCE_STATE(e){Ap(e)?this.charRefCode=16*this.charRefCode+e-55:vp(e)?this.charRefCode=16*this.charRefCode+e-87:Tp(e)?this.charRefCode=16*this.charRefCode+e-48:e===pp.SEMICOLON?this.state="NUMERIC_CHARACTER_REFERENCE_END_STATE":(this._err(Tu),this._reconsumeInState("NUMERIC_CHARACTER_REFERENCE_END_STATE"))}DECIMAL_CHARACTER_REFERENCE_STATE(e){Tp(e)?this.charRefCode=10*this.charRefCode+e-48:e===pp.SEMICOLON?this.state="NUMERIC_CHARACTER_REFERENCE_END_STATE":(this._err(Tu),this._reconsumeInState("NUMERIC_CHARACTER_REFERENCE_END_STATE"))}NUMERIC_CHARACTER_REFERENCE_END_STATE(){if(this.charRefCode===pp.NULL)this._err(ju),this.charRefCode=pp.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(qu),this.charRefCode=pp.REPLACEMENT_CHARACTER;else if(Xc(this.charRefCode))this._err(Gu),this.charRefCode=pp.REPLACEMENT_CHARACTER;else if(tu(this.charRefCode))this._err(zu);else if(eu(this.charRefCode)||this.charRefCode===pp.CARRIAGE_RETURN){this._err(Ku);const e=dp[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Op.CHARACTER_TOKEN="CHARACTER_TOKEN",Op.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Op.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Op.START_TAG_TOKEN="START_TAG_TOKEN",Op.END_TAG_TOKEN="END_TAG_TOKEN",Op.COMMENT_TOKEN="COMMENT_TOKEN",Op.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Op.EOF_TOKEN="EOF_TOKEN",Op.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Op.MODE={DATA:hp,RCDATA:"RCDATA_STATE",RAWTEXT:"RAWTEXT_STATE",SCRIPT_DATA:"SCRIPT_DATA_STATE",PLAINTEXT:"PLAINTEXT_STATE"},Op.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var kp=Op,Ip=x((function(e,t){const n=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}}));Ip.NAMESPACES,Ip.ATTRS,Ip.DOCUMENT_MODE,Ip.TAG_NAMES,Ip.SPECIAL_ELEMENTS;const wp=Ip.TAG_NAMES,Rp=Ip.NAMESPACES;function Pp(e){switch(e.length){case 1:return e===wp.P;case 2:return e===wp.RB||e===wp.RP||e===wp.RT||e===wp.DD||e===wp.DT||e===wp.LI;case 3:return e===wp.RTC;case 6:return e===wp.OPTION;case 8:return e===wp.OPTGROUP}return!1}function Dp(e){switch(e.length){case 1:return e===wp.P;case 2:return e===wp.RB||e===wp.RP||e===wp.RT||e===wp.DD||e===wp.DT||e===wp.LI||e===wp.TD||e===wp.TH||e===wp.TR;case 3:return e===wp.RTC;case 5:return e===wp.TBODY||e===wp.TFOOT||e===wp.THEAD;case 6:return e===wp.OPTION;case 7:return e===wp.CAPTION;case 8:return e===wp.OPTGROUP||e===wp.COLGROUP}return!1}function xp(e,t){switch(e.length){case 2:if(e===wp.TD||e===wp.TH)return t===Rp.HTML;if(e===wp.MI||e===wp.MO||e===wp.MN||e===wp.MS)return t===Rp.MATHML;break;case 4:if(e===wp.HTML)return t===Rp.HTML;if(e===wp.DESC)return t===Rp.SVG;break;case 5:if(e===wp.TABLE)return t===Rp.HTML;if(e===wp.MTEXT)return t===Rp.MATHML;if(e===wp.TITLE)return t===Rp.SVG;break;case 6:return(e===wp.APPLET||e===wp.OBJECT)&&t===Rp.HTML;case 7:return(e===wp.CAPTION||e===wp.MARQUEE)&&t===Rp.HTML;case 8:return e===wp.TEMPLATE&&t===Rp.HTML;case 13:return e===wp.FOREIGN_OBJECT&&t===Rp.SVG;case 14:return e===wp.ANNOTATION_XML&&t===Rp.MATHML}return!1}var Lp=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===wp.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Rp.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===Rp.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===wp.H1||e===wp.H2||e===wp.H3||e===wp.H4||e===wp.H5||e===wp.H6&&t===Rp.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===wp.TD||e===wp.TH&&t===Rp.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==wp.TABLE&&this.currentTagName!==wp.TEMPLATE&&this.currentTagName!==wp.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Rp.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==wp.TBODY&&this.currentTagName!==wp.TFOOT&&this.currentTagName!==wp.THEAD&&this.currentTagName!==wp.TEMPLATE&&this.currentTagName!==wp.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Rp.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==wp.TR&&this.currentTagName!==wp.TEMPLATE&&this.currentTagName!==wp.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Rp.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===wp.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===wp.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Rp.HTML)return!0;if(xp(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===wp.H1||t===wp.H2||t===wp.H3||t===wp.H4||t===wp.H5||t===wp.H6)&&n===Rp.HTML)return!0;if(xp(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Rp.HTML)return!0;if((n===wp.UL||n===wp.OL)&&r===Rp.HTML||xp(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Rp.HTML)return!0;if(n===wp.BUTTON&&r===Rp.HTML||xp(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Rp.HTML){if(n===e)return!0;if(n===wp.TABLE||n===wp.TEMPLATE||n===wp.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===Rp.HTML){if(t===wp.TBODY||t===wp.THEAD||t===wp.TFOOT)return!0;if(t===wp.TABLE||t===wp.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Rp.HTML){if(n===e)return!0;if(n!==wp.OPTION&&n!==wp.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Pp(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Dp(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;Pp(this.currentTagName)&&this.currentTagName!==e;)this.pop()}};class Mp{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const t=[];if(this.length>=3){const n=this.treeAdapter.getAttrList(e).length,r=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const i=this.entries[e];if(i.type===Mp.MARKER_ENTRY)break;const a=i.element,s=this.treeAdapter.getAttrList(a);this.treeAdapter.getTagName(a)===r&&this.treeAdapter.getNamespaceURI(a)===o&&s.length===n&&t.push({idx:e,attrs:s})}}return t.length<3?[]:t}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),o=r.length,i=Object.create(null);for(let e=0;e<o;e++){const t=r[e];i[t.name]=t.value}for(let e=0;e<o;e++)for(let r=0;r<n;r++){const o=t[r].attrs[e];if(i[o.name]!==o.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:Mp.MARKER_ENTRY}),this.length++}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.push({type:Mp.ELEMENT_ENTRY,element:e,token:t}),this.length++}insertElementAfterBookmark(e,t){let n=this.length-1;for(;n>=0&&this.entries[n]!==this.bookmark;n--);this.entries.splice(n+1,0,{type:Mp.ELEMENT_ENTRY,element:e,token:t}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===Mp.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===Mp.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(n.element)===e)return n}return null}getElementEntry(e){for(let t=this.length-1;t>=0;t--){const n=this.entries[t];if(n.type===Mp.ELEMENT_ENTRY&&n.element===e)return n}return null}}Mp.MARKER_ENTRY="MARKER_ENTRY",Mp.ELEMENT_ENTRY="ELEMENT_ENTRY";var Fp=Mp;class $p{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}$p.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n<e.__mixins.length;n++)if(e.__mixins[n].constructor===t)return e.__mixins[n];const r=new t(e,n);return e.__mixins.push(r),r};var Hp=$p;var Up=class extends Hp{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}};var Bp=class extends Hp{constructor(e){super(e),this.tokenizer=e,this.posTracker=Hp.install(e.preprocessor,Up),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===kp.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(kp.MODE).forEach((r=>{const o=kp.MODE[r];n[o]=function(n){e.ctLoc=e._getCurrentLocation(),t[o].call(this,n)}})),n}};var jp=class extends Hp{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}};const Gp=Ip.TAG_NAMES;var qp=class extends Hp{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o={};t.type===kp.END_TAG_TOKEN&&r===t.tagName?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const o=Hp.install(this.tokenizer,Bp);e.posTracker=o.posTracker,Hp.install(this.openElements,jp,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){e.currentToken=n,t._processToken.call(this,n);if(n.type===kp.END_TAG_TOKEN&&(n.tagName===Gp.HTML||n.tagName===Gp.BODY&&this.openElements.hasInScope(Gp.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),o=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(o,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),o=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,i=this.treeAdapter.getChildNodes(o),a=r&&e.lastFosterParentingLocation.beforeElement?i.indexOf(e.lastFosterParentingLocation.beforeElement)-1:i.length-1,s=i[a];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:e,endCol:t,endOffset:r}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:e,endCol:t,endOffset:r})}else this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}};var Kp=class extends Hp{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}};var zp=class extends Kp{constructor(e,t){super(e,t),this.posTracker=Hp.install(e,Up),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}};var Vp=class extends Kp{constructor(e,t){super(e,t);const n=Hp.install(e.preprocessor,zp,t);this.posTracker=n.posTracker}};var Yp=class extends Kp{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),Hp.install(this.tokenizer,Vp,e.opts),Hp.install(this.tokenizer,Bp)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}},Wp=x((function(e,t){const{DOCUMENT_MODE:n}=Ip;t.createDocument=function(){return{nodeName:"#document",mode:n.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const r=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},i=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let i=null;for(let t=0;t<e.childNodes.length;t++)if("#documentType"===e.childNodes[t].nodeName){i=e.childNodes[t];break}i?(i.name=t,i.publicId=n,i.systemId=r):o(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}o(e,r(t))},t.insertTextBefore=function(e,t,n){const o=e.childNodes[e.childNodes.indexOf(n)-1];o&&"#text"===o.nodeName?o.value+=t:i(e,r(t),n)},t.adoptAttributes=function(e,t){const n=[];for(let t=0;t<e.attrs.length;t++)n.push(e.attrs[t].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},t.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)}}));Wp.createDocument,Wp.createDocumentFragment,Wp.createElement,Wp.createCommentNode,Wp.appendChild,Wp.insertBefore,Wp.setTemplateContent,Wp.getTemplateContent,Wp.setDocumentType,Wp.setDocumentMode,Wp.getDocumentMode,Wp.detachNode,Wp.insertText,Wp.insertTextBefore,Wp.adoptAttributes,Wp.getFirstChild,Wp.getChildNodes,Wp.getParentNode,Wp.getAttrList,Wp.getTagName,Wp.getNamespaceURI,Wp.getTextNodeContent,Wp.getCommentNodeContent,Wp.getDocumentTypeNodeName,Wp.getDocumentTypeNodePublicId,Wp.getDocumentTypeNodeSystemId,Wp.isTextNode,Wp.isCommentNode,Wp.isDocumentTypeNode,Wp.isElementNode,Wp.setNodeSourceCodeLocation,Wp.getNodeSourceCodeLocation,Wp.updateNodeSourceCodeLocation;const{DOCUMENT_MODE:Qp}=Ip,Xp=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Jp=Xp.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),Zp=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],ef=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],tf=ef.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function nf(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}var rf=function(e){return"html"===e.name&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},of=function(e){if("html"!==e.name)return Qp.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Qp.QUIRKS;let n=e.publicId;if(null!==n){if(n=n.toLowerCase(),Zp.indexOf(n)>-1)return Qp.QUIRKS;let e=null===t?Jp:Xp;if(nf(n,e))return Qp.QUIRKS;if(e=null===t?ef:tf,nf(n,e))return Qp.LIMITED_QUIRKS}return Qp.NO_QUIRKS},af=x((function(e,t){const n=Ip.TAG_NAMES,r=Ip.NAMESPACES,o=Ip.ATTRS,i="text/html",a="application/xhtml+xml",s={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},l={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:r.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:r.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:r.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:r.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:r.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:r.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:r.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:r.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:r.XML},"xml:space":{prefix:"xml",name:"space",namespace:r.XML},xmlns:{prefix:"",name:"xmlns",namespace:r.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:r.XMLNS}},c=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},u={[n.B]:!0,[n.BIG]:!0,[n.BLOCKQUOTE]:!0,[n.BODY]:!0,[n.BR]:!0,[n.CENTER]:!0,[n.CODE]:!0,[n.DD]:!0,[n.DIV]:!0,[n.DL]:!0,[n.DT]:!0,[n.EM]:!0,[n.EMBED]:!0,[n.H1]:!0,[n.H2]:!0,[n.H3]:!0,[n.H4]:!0,[n.H5]:!0,[n.H6]:!0,[n.HEAD]:!0,[n.HR]:!0,[n.I]:!0,[n.IMG]:!0,[n.LI]:!0,[n.LISTING]:!0,[n.MENU]:!0,[n.META]:!0,[n.NOBR]:!0,[n.OL]:!0,[n.P]:!0,[n.PRE]:!0,[n.RUBY]:!0,[n.S]:!0,[n.SMALL]:!0,[n.SPAN]:!0,[n.STRONG]:!0,[n.STRIKE]:!0,[n.SUB]:!0,[n.SUP]:!0,[n.TABLE]:!0,[n.TT]:!0,[n.U]:!0,[n.UL]:!0,[n.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!!(t===n.FONT&&(null!==kp.getTokenAttr(e,o.COLOR)||null!==kp.getTokenAttr(e,o.SIZE)||null!==kp.getTokenAttr(e,o.FACE)))||u[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=s[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=l[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){const t=c[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,s,l){return!(l&&l!==r.HTML||!function(e,t,s){if(t===r.MATHML&&e===n.ANNOTATION_XML)for(let e=0;e<s.length;e++)if(s[e].name===o.ENCODING){const t=s[e].value.toLowerCase();return t===i||t===a}return t===r.SVG&&(e===n.FOREIGN_OBJECT||e===n.DESC||e===n.TITLE)}(e,t,s))||!(l&&l!==r.MATHML||!function(e,t){return t===r.MATHML&&(e===n.MI||e===n.MO||e===n.MN||e===n.MS||e===n.MTEXT)}(e,t))}}));af.SVG_TAG_NAMES_ADJUSTMENT_MAP,af.causesExit,af.adjustTokenMathMLAttrs,af.adjustTokenSVGAttrs,af.adjustTokenXMLAttrs,af.adjustTokenSVGTagName,af.isIntegrationPoint;const sf=Ip.TAG_NAMES,lf=Ip.NAMESPACES,cf=Ip.ATTRS,uf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:Wp},pf="IN_TABLE_MODE",ff={[sf.TR]:"IN_ROW_MODE",[sf.TBODY]:"IN_TABLE_BODY_MODE",[sf.THEAD]:"IN_TABLE_BODY_MODE",[sf.TFOOT]:"IN_TABLE_BODY_MODE",[sf.CAPTION]:"IN_CAPTION_MODE",[sf.COLGROUP]:"IN_COLUMN_GROUP_MODE",[sf.TABLE]:pf,[sf.BODY]:"IN_BODY_MODE",[sf.FRAMESET]:"IN_FRAMESET_MODE"},df={[sf.CAPTION]:pf,[sf.COLGROUP]:pf,[sf.TBODY]:pf,[sf.TFOOT]:pf,[sf.THEAD]:pf,[sf.COL]:"IN_COLUMN_GROUP_MODE",[sf.TR]:"IN_TABLE_BODY_MODE",[sf.TD]:"IN_ROW_MODE",[sf.TH]:"IN_ROW_MODE"},hf={INITIAL_MODE:{[kp.CHARACTER_TOKEN]:If,[kp.NULL_CHARACTER_TOKEN]:If,[kp.WHITESPACE_CHARACTER_TOKEN]:Sf,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ip.DOCUMENT_MODE.QUIRKS:of(t);rf(t)||e._err(Xu);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode="BEFORE_HTML_MODE"},[kp.START_TAG_TOKEN]:If,[kp.END_TAG_TOKEN]:If,[kp.EOF_TOKEN]:If},BEFORE_HTML_MODE:{[kp.CHARACTER_TOKEN]:wf,[kp.NULL_CHARACTER_TOKEN]:wf,[kp.WHITESPACE_CHARACTER_TOKEN]:Sf,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){t.tagName===sf.HTML?(e._insertElement(t,lf.HTML),e.insertionMode="BEFORE_HEAD_MODE"):wf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==sf.HTML&&n!==sf.HEAD&&n!==sf.BODY&&n!==sf.BR||wf(e,t)},[kp.EOF_TOKEN]:wf},BEFORE_HEAD_MODE:{[kp.CHARACTER_TOKEN]:Rf,[kp.NULL_CHARACTER_TOKEN]:Rf,[kp.WHITESPACE_CHARACTER_TOKEN]:Sf,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Cf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.HEAD?(e._insertElement(t,lf.HTML),e.headElement=e.openElements.current,e.insertionMode="IN_HEAD_MODE"):Rf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HEAD||n===sf.BODY||n===sf.HTML||n===sf.BR?Rf(e,t):e._err(ep)},[kp.EOF_TOKEN]:Rf},IN_HEAD_MODE:{[kp.CHARACTER_TOKEN]:xf,[kp.NULL_CHARACTER_TOKEN]:xf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Cf,[kp.START_TAG_TOKEN]:Pf,[kp.END_TAG_TOKEN]:Df,[kp.EOF_TOKEN]:xf},IN_HEAD_NO_SCRIPT_MODE:{[kp.CHARACTER_TOKEN]:Lf,[kp.NULL_CHARACTER_TOKEN]:Lf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Cf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.BASEFONT||n===sf.BGSOUND||n===sf.HEAD||n===sf.LINK||n===sf.META||n===sf.NOFRAMES||n===sf.STYLE?Pf(e,t):n===sf.NOSCRIPT?e._err(ap):Lf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.NOSCRIPT?(e.openElements.pop(),e.insertionMode="IN_HEAD_MODE"):n===sf.BR?Lf(e,t):e._err(ep)},[kp.EOF_TOKEN]:Lf},AFTER_HEAD_MODE:{[kp.CHARACTER_TOKEN]:Mf,[kp.NULL_CHARACTER_TOKEN]:Mf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Cf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.BODY?(e._insertElement(t,lf.HTML),e.framesetOk=!1,e.insertionMode="IN_BODY_MODE"):n===sf.FRAMESET?(e._insertElement(t,lf.HTML),e.insertionMode="IN_FRAMESET_MODE"):n===sf.BASE||n===sf.BASEFONT||n===sf.BGSOUND||n===sf.LINK||n===sf.META||n===sf.NOFRAMES||n===sf.SCRIPT||n===sf.STYLE||n===sf.TEMPLATE||n===sf.TITLE?(e._err(op),e.openElements.push(e.headElement),Pf(e,t),e.openElements.remove(e.headElement)):n===sf.HEAD?e._err(ip):Mf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.BODY||n===sf.HTML||n===sf.BR?Mf(e,t):n===sf.TEMPLATE?Df(e,t):e._err(ep)},[kp.EOF_TOKEN]:Mf},IN_BODY_MODE:{[kp.CHARACTER_TOKEN]:$f,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:Wf,[kp.END_TAG_TOKEN]:Zf,[kp.EOF_TOKEN]:ed},TEXT_MODE:{[kp.CHARACTER_TOKEN]:Of,[kp.NULL_CHARACTER_TOKEN]:Of,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:Sf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:Sf,[kp.END_TAG_TOKEN]:function(e,t){t.tagName===sf.SCRIPT&&(e.pendingScript=e.openElements.current);e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[kp.EOF_TOKEN]:function(e,t){e._err(sp),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[pf]:{[kp.CHARACTER_TOKEN]:td,[kp.NULL_CHARACTER_TOKEN]:td,[kp.WHITESPACE_CHARACTER_TOKEN]:td,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:nd,[kp.END_TAG_TOKEN]:rd,[kp.EOF_TOKEN]:ed},IN_TABLE_TEXT_MODE:{[kp.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[kp.COMMENT_TOKEN]:id,[kp.DOCTYPE_TOKEN]:id,[kp.START_TAG_TOKEN]:id,[kp.END_TAG_TOKEN]:id,[kp.EOF_TOKEN]:id},IN_CAPTION_MODE:{[kp.CHARACTER_TOKEN]:$f,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.CAPTION||n===sf.COL||n===sf.COLGROUP||n===sf.TBODY||n===sf.TD||n===sf.TFOOT||n===sf.TH||n===sf.THEAD||n===sf.TR?e.openElements.hasInTableScope(sf.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(sf.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=pf,e._processToken(t)):Wf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.CAPTION||n===sf.TABLE?e.openElements.hasInTableScope(sf.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(sf.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=pf,n===sf.TABLE&&e._processToken(t)):n!==sf.BODY&&n!==sf.COL&&n!==sf.COLGROUP&&n!==sf.HTML&&n!==sf.TBODY&&n!==sf.TD&&n!==sf.TFOOT&&n!==sf.TH&&n!==sf.THEAD&&n!==sf.TR&&Zf(e,t)},[kp.EOF_TOKEN]:ed},IN_COLUMN_GROUP_MODE:{[kp.CHARACTER_TOKEN]:ad,[kp.NULL_CHARACTER_TOKEN]:ad,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.COL?(e._appendElement(t,lf.HTML),t.ackSelfClosing=!0):n===sf.TEMPLATE?Pf(e,t):ad(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.COLGROUP?e.openElements.currentTagName===sf.COLGROUP&&(e.openElements.pop(),e.insertionMode=pf):n===sf.TEMPLATE?Df(e,t):n!==sf.COL&&ad(e,t)},[kp.EOF_TOKEN]:ed},IN_TABLE_BODY_MODE:{[kp.CHARACTER_TOKEN]:td,[kp.NULL_CHARACTER_TOKEN]:td,[kp.WHITESPACE_CHARACTER_TOKEN]:td,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,lf.HTML),e.insertionMode="IN_ROW_MODE"):n===sf.TH||n===sf.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(sf.TR),e.insertionMode="IN_ROW_MODE",e._processToken(t)):n===sf.CAPTION||n===sf.COL||n===sf.COLGROUP||n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=pf,e._processToken(t)):nd(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=pf):n===sf.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=pf,e._processToken(t)):(n!==sf.BODY&&n!==sf.CAPTION&&n!==sf.COL&&n!==sf.COLGROUP||n!==sf.HTML&&n!==sf.TD&&n!==sf.TH&&n!==sf.TR)&&rd(e,t)},[kp.EOF_TOKEN]:ed},IN_ROW_MODE:{[kp.CHARACTER_TOKEN]:td,[kp.NULL_CHARACTER_TOKEN]:td,[kp.WHITESPACE_CHARACTER_TOKEN]:td,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.TH||n===sf.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,lf.HTML),e.insertionMode="IN_CELL_MODE",e.activeFormattingElements.insertMarker()):n===sf.CAPTION||n===sf.COL||n===sf.COLGROUP||n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD||n===sf.TR?e.openElements.hasInTableScope(sf.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode="IN_TABLE_BODY_MODE",e._processToken(t)):nd(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.TR?e.openElements.hasInTableScope(sf.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode="IN_TABLE_BODY_MODE"):n===sf.TABLE?e.openElements.hasInTableScope(sf.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode="IN_TABLE_BODY_MODE",e._processToken(t)):n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(sf.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode="IN_TABLE_BODY_MODE",e._processToken(t)):(n!==sf.BODY&&n!==sf.CAPTION&&n!==sf.COL&&n!==sf.COLGROUP||n!==sf.HTML&&n!==sf.TD&&n!==sf.TH)&&rd(e,t)},[kp.EOF_TOKEN]:ed},IN_CELL_MODE:{[kp.CHARACTER_TOKEN]:$f,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.CAPTION||n===sf.COL||n===sf.COLGROUP||n===sf.TBODY||n===sf.TD||n===sf.TFOOT||n===sf.TH||n===sf.THEAD||n===sf.TR?(e.openElements.hasInTableScope(sf.TD)||e.openElements.hasInTableScope(sf.TH))&&(e._closeTableCell(),e._processToken(t)):Wf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.TD||n===sf.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode="IN_ROW_MODE"):n===sf.TABLE||n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD||n===sf.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==sf.BODY&&n!==sf.CAPTION&&n!==sf.COL&&n!==sf.COLGROUP&&n!==sf.HTML&&Zf(e,t)},[kp.EOF_TOKEN]:ed},IN_SELECT_MODE:{[kp.CHARACTER_TOKEN]:Of,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:sd,[kp.END_TAG_TOKEN]:ld,[kp.EOF_TOKEN]:ed},IN_SELECT_IN_TABLE_MODE:{[kp.CHARACTER_TOKEN]:Of,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.CAPTION||n===sf.TABLE||n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD||n===sf.TR||n===sf.TD||n===sf.TH?(e.openElements.popUntilTagNamePopped(sf.SELECT),e._resetInsertionMode(),e._processToken(t)):sd(e,t)},[kp.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.CAPTION||n===sf.TABLE||n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD||n===sf.TR||n===sf.TD||n===sf.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(sf.SELECT),e._resetInsertionMode(),e._processToken(t)):ld(e,t)},[kp.EOF_TOKEN]:ed},IN_TEMPLATE_MODE:{[kp.CHARACTER_TOKEN]:$f,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===sf.BASE||n===sf.BASEFONT||n===sf.BGSOUND||n===sf.LINK||n===sf.META||n===sf.NOFRAMES||n===sf.SCRIPT||n===sf.STYLE||n===sf.TEMPLATE||n===sf.TITLE)Pf(e,t);else{const r=df[n]||"IN_BODY_MODE";e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[kp.END_TAG_TOKEN]:function(e,t){t.tagName===sf.TEMPLATE&&Df(e,t)},[kp.EOF_TOKEN]:cd},AFTER_BODY_MODE:{[kp.CHARACTER_TOKEN]:ud,[kp.NULL_CHARACTER_TOKEN]:ud,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){t.tagName===sf.HTML?Wf(e,t):ud(e,t)},[kp.END_TAG_TOKEN]:function(e,t){t.tagName===sf.HTML?e.fragmentContext||(e.insertionMode="AFTER_AFTER_BODY_MODE"):ud(e,t)},[kp.EOF_TOKEN]:kf},IN_FRAMESET_MODE:{[kp.CHARACTER_TOKEN]:Sf,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.FRAMESET?e._insertElement(t,lf.HTML):n===sf.FRAME?(e._appendElement(t,lf.HTML),t.ackSelfClosing=!0):n===sf.NOFRAMES&&Pf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){t.tagName!==sf.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===sf.FRAMESET||(e.insertionMode="AFTER_FRAMESET_MODE"))},[kp.EOF_TOKEN]:kf},AFTER_FRAMESET_MODE:{[kp.CHARACTER_TOKEN]:Sf,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Of,[kp.COMMENT_TOKEN]:bf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.NOFRAMES&&Pf(e,t)},[kp.END_TAG_TOKEN]:function(e,t){t.tagName===sf.HTML&&(e.insertionMode="AFTER_AFTER_FRAMESET_MODE")},[kp.EOF_TOKEN]:kf},AFTER_AFTER_BODY_MODE:{[kp.CHARACTER_TOKEN]:pd,[kp.NULL_CHARACTER_TOKEN]:pd,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:Nf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){t.tagName===sf.HTML?Wf(e,t):pd(e,t)},[kp.END_TAG_TOKEN]:pd,[kp.EOF_TOKEN]:kf},AFTER_AFTER_FRAMESET_MODE:{[kp.CHARACTER_TOKEN]:Sf,[kp.NULL_CHARACTER_TOKEN]:Sf,[kp.WHITESPACE_CHARACTER_TOKEN]:Ff,[kp.COMMENT_TOKEN]:Nf,[kp.DOCTYPE_TOKEN]:Sf,[kp.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.NOFRAMES&&Pf(e,t)},[kp.END_TAG_TOKEN]:Sf,[kp.EOF_TOKEN]:kf}};var mf=class{constructor(e){this.options=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))}(uf,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&Hp.install(this,qp),this.options.onParseError&&Hp.install(this,Yp,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(sf.TEMPLATE,lf.HTML,[]));const n=this.treeAdapter.createElement("documentmock",lf.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===sf.TEMPLATE&&this._pushTmplInsertionMode("IN_TEMPLATE_MODE"),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new kp(this.options),this.stopped=!1,this.insertionMode="INITIAL_MODE",this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new Lp(this.document,this.treeAdapter),this.activeFormattingElements=new Fp(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===kp.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===kp.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==lf.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,lf.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode="TEXT_MODE"}switchToPlaintextParsing(){this.insertionMode="TEXT_MODE",this.originalInsertionMode="IN_BODY_MODE",this.tokenizer.state=kp.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===sf.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===lf.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===sf.TITLE||e===sf.TEXTAREA?this.tokenizer.state=kp.MODE.RCDATA:e===sf.STYLE||e===sf.XMP||e===sf.IFRAME||e===sf.NOEMBED||e===sf.NOFRAMES||e===sf.NOSCRIPT?this.tokenizer.state=kp.MODE.RAWTEXT:e===sf.SCRIPT?this.tokenizer.state=kp.MODE.SCRIPT_DATA:e===sf.PLAINTEXT&&(this.tokenizer.state=kp.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,lf.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,lf.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(sf.HTML,lf.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===lf.HTML)return!1;if(this.treeAdapter.getTagName(t)===sf.ANNOTATION_XML&&n===lf.MATHML&&e.type===kp.START_TAG_TOKEN&&e.tagName===sf.SVG)return!1;const r=e.type===kp.CHARACTER_TOKEN||e.type===kp.NULL_CHARACTER_TOKEN||e.type===kp.WHITESPACE_CHARACTER_TOKEN;return(!(e.type===kp.START_TAG_TOKEN&&e.tagName!==sf.MGLYPH&&e.tagName!==sf.MALIGNMARK)&&!r||!this._isIntegrationPoint(t,lf.MATHML))&&((e.type!==kp.START_TAG_TOKEN&&!r||!this._isIntegrationPoint(t,lf.HTML))&&e.type!==kp.EOF_TOKEN)}_processToken(e){hf[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){hf.IN_BODY_MODE[e.type](this,e)}_processTokenInForeignContent(e){e.type===kp.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===kp.NULL_CHARACTER_TOKEN?function(e,t){t.chars=Yc,e._insertCharacters(t)}(this,e):e.type===kp.WHITESPACE_CHARACTER_TOKEN?Of(this,e):e.type===kp.COMMENT_TOKEN?bf(this,e):e.type===kp.START_TAG_TOKEN?function(e,t){if(af.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==lf.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===lf.MATHML?af.adjustTokenMathMLAttrs(t):r===lf.SVG&&(af.adjustTokenSVGTagName(t),af.adjustTokenSVGAttrs(t)),af.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===kp.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===lf.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===kp.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(iu)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return af.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===Fp.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode="IN_ROW_MODE"}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(sf.P),this.openElements.popUntilTagNamePopped(sf.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),o=ff[r];if(o){this.insertionMode=o;break}if(!(t||r!==sf.TD&&r!==sf.TH)){this.insertionMode="IN_CELL_MODE";break}if(!t&&r===sf.HEAD){this.insertionMode="IN_HEAD_MODE";break}if(r===sf.SELECT){this._resetInsertionModeForSelect(e);break}if(r===sf.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===sf.HTML){this.insertionMode=this.headElement?"AFTER_HEAD_MODE":"BEFORE_HEAD_MODE";break}if(t){this.insertionMode="IN_BODY_MODE";break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===sf.TEMPLATE)break;if(n===sf.TABLE)return void(this.insertionMode="IN_SELECT_IN_TABLE_MODE")}this.insertionMode="IN_SELECT_MODE"}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===sf.TABLE||t===sf.TBODY||t===sf.TFOOT||t===sf.THEAD||t===sf.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===sf.TEMPLATE&&o===lf.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===sf.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return Ip.SPECIAL_ELEMENTS[n][t]}};function Tf(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Jf(e,t),n}function Ef(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o)&&(n=o)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function gf(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=_f(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function _f(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function yf(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),o=e.treeAdapter.getNamespaceURI(t);r===sf.TEMPLATE&&o===lf.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Af(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),o=n.token,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}function vf(e,t){let n;for(let r=0;r<8&&(n=Tf(e,t),n);r++){const t=Ef(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=gf(e,t,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),yf(e,o,r),Af(e,t,n)}}function Sf(){}function Cf(e){e._err(Zu)}function bf(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function Nf(e,t){e._appendCommentNode(t,e.document)}function Of(e,t){e._insertCharacters(t)}function kf(e){e.stopped=!0}function If(e,t){e._err(Ju,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,Ip.DOCUMENT_MODE.QUIRKS),e.insertionMode="BEFORE_HTML_MODE",e._processToken(t)}function wf(e,t){e._insertFakeRootElement(),e.insertionMode="BEFORE_HEAD_MODE",e._processToken(t)}function Rf(e,t){e._insertFakeElement(sf.HEAD),e.headElement=e.openElements.current,e.insertionMode="IN_HEAD_MODE",e._processToken(t)}function Pf(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.BASE||n===sf.BASEFONT||n===sf.BGSOUND||n===sf.LINK||n===sf.META?(e._appendElement(t,lf.HTML),t.ackSelfClosing=!0):n===sf.TITLE?e._switchToTextParsing(t,kp.MODE.RCDATA):n===sf.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,kp.MODE.RAWTEXT):(e._insertElement(t,lf.HTML),e.insertionMode="IN_HEAD_NO_SCRIPT_MODE"):n===sf.NOFRAMES||n===sf.STYLE?e._switchToTextParsing(t,kp.MODE.RAWTEXT):n===sf.SCRIPT?e._switchToTextParsing(t,kp.MODE.SCRIPT_DATA):n===sf.TEMPLATE?(e._insertTemplate(t,lf.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode="IN_TEMPLATE_MODE",e._pushTmplInsertionMode("IN_TEMPLATE_MODE")):n===sf.HEAD?e._err(ip):xf(e,t)}function Df(e,t){const n=t.tagName;n===sf.HEAD?(e.openElements.pop(),e.insertionMode="AFTER_HEAD_MODE"):n===sf.BODY||n===sf.BR||n===sf.HTML?xf(e,t):n===sf.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==sf.TEMPLATE&&e._err(tp),e.openElements.popUntilTagNamePopped(sf.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(ep)}function xf(e,t){e.openElements.pop(),e.insertionMode="AFTER_HEAD_MODE",e._processToken(t)}function Lf(e,t){const n=t.type===kp.EOF_TOKEN?rp:np;e._err(n),e.openElements.pop(),e.insertionMode="IN_HEAD_MODE",e._processToken(t)}function Mf(e,t){e._insertFakeElement(sf.BODY),e.insertionMode="IN_BODY_MODE",e._processToken(t)}function Ff(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function $f(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Hf(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML)}function Uf(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Bf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function jf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Gf(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,lf.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function qf(e,t){e._appendElement(t,lf.HTML),t.ackSelfClosing=!0}function Kf(e,t){e._switchToTextParsing(t,kp.MODE.RAWTEXT)}function zf(e,t){e.openElements.currentTagName===sf.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML)}function Vf(e,t){e.openElements.hasInScope(sf.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,lf.HTML)}function Yf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML)}function Wf(e,t){const n=t.tagName;switch(n.length){case 1:n===sf.I||n===sf.S||n===sf.B||n===sf.U?Bf(e,t):n===sf.P?Hf(e,t):n===sf.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(sf.A);n&&(vf(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):Yf(e,t);break;case 2:n===sf.DL||n===sf.OL||n===sf.UL?Hf(e,t):n===sf.H1||n===sf.H2||n===sf.H3||n===sf.H4||n===sf.H5||n===sf.H6?function(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==sf.H1&&n!==sf.H2&&n!==sf.H3&&n!==sf.H4&&n!==sf.H5&&n!==sf.H6||e.openElements.pop(),e._insertElement(t,lf.HTML)}(e,t):n===sf.LI||n===sf.DD||n===sf.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.items[t],o=e.treeAdapter.getTagName(r);let i=null;if(n===sf.LI&&o===sf.LI?i=sf.LI:n!==sf.DD&&n!==sf.DT||o!==sf.DD&&o!==sf.DT||(i=o),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(o!==sf.ADDRESS&&o!==sf.DIV&&o!==sf.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML)}(e,t):n===sf.EM||n===sf.TT?Bf(e,t):n===sf.BR?Gf(e,t):n===sf.HR?function(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._appendElement(t,lf.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===sf.RB?Vf(e,t):n===sf.RT||n===sf.RP?function(e,t){e.openElements.hasInScope(sf.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(sf.RTC),e._insertElement(t,lf.HTML)}(e,t):n!==sf.TH&&n!==sf.TD&&n!==sf.TR&&Yf(e,t);break;case 3:n===sf.DIV||n===sf.DIR||n===sf.NAV?Hf(e,t):n===sf.PRE?Uf(e,t):n===sf.BIG?Bf(e,t):n===sf.IMG||n===sf.WBR?Gf(e,t):n===sf.XMP?function(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,kp.MODE.RAWTEXT)}(e,t):n===sf.SVG?function(e,t){e._reconstructActiveFormattingElements(),af.adjustTokenSVGAttrs(t),af.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,lf.SVG):e._insertElement(t,lf.SVG),t.ackSelfClosing=!0}(e,t):n===sf.RTC?Vf(e,t):n!==sf.COL&&Yf(e,t);break;case 4:n===sf.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===sf.BASE||n===sf.LINK||n===sf.META?Pf(e,t):n===sf.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===sf.MAIN||n===sf.MENU?Hf(e,t):n===sf.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===sf.CODE||n===sf.FONT?Bf(e,t):n===sf.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(sf.NOBR)&&(vf(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,lf.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===sf.AREA?Gf(e,t):n===sf.MATH?function(e,t){e._reconstructActiveFormattingElements(),af.adjustTokenMathMLAttrs(t),af.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,lf.MATHML):e._insertElement(t,lf.MATHML),t.ackSelfClosing=!0}(e,t):n===sf.MENU?function(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML)}(e,t):n!==sf.HEAD&&Yf(e,t);break;case 5:n===sf.STYLE||n===sf.TITLE?Pf(e,t):n===sf.ASIDE?Hf(e,t):n===sf.SMALL?Bf(e,t):n===sf.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ip.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML),e.framesetOk=!1,e.insertionMode=pf}(e,t):n===sf.EMBED?Gf(e,t):n===sf.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,lf.HTML);const n=kp.getTokenAttr(t,cf.TYPE);n&&"hidden"===n.toLowerCase()||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===sf.PARAM||n===sf.TRACK?qf(e,t):n===sf.IMAGE?function(e,t){t.tagName=sf.IMG,Gf(e,t)}(e,t):n!==sf.FRAME&&n!==sf.TBODY&&n!==sf.TFOOT&&n!==sf.THEAD&&Yf(e,t);break;case 6:n===sf.SCRIPT?Pf(e,t):n===sf.CENTER||n===sf.FIGURE||n===sf.FOOTER||n===sf.HEADER||n===sf.HGROUP||n===sf.DIALOG?Hf(e,t):n===sf.BUTTON?function(e,t){e.openElements.hasInScope(sf.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(sf.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML),e.framesetOk=!1}(e,t):n===sf.STRIKE||n===sf.STRONG?Bf(e,t):n===sf.APPLET||n===sf.OBJECT?jf(e,t):n===sf.KEYGEN?Gf(e,t):n===sf.SOURCE?qf(e,t):n===sf.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,kp.MODE.RAWTEXT)}(e,t):n===sf.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lf.HTML),e.framesetOk=!1,e.insertionMode===pf||"IN_CAPTION_MODE"===e.insertionMode||"IN_TABLE_BODY_MODE"===e.insertionMode||"IN_ROW_MODE"===e.insertionMode||"IN_CELL_MODE"===e.insertionMode?e.insertionMode="IN_SELECT_IN_TABLE_MODE":e.insertionMode="IN_SELECT_MODE"}(e,t):n===sf.OPTION?zf(e,t):Yf(e,t);break;case 7:n===sf.BGSOUND?Pf(e,t):n===sf.DETAILS||n===sf.ADDRESS||n===sf.ARTICLE||n===sf.SECTION||n===sf.SUMMARY?Hf(e,t):n===sf.LISTING?Uf(e,t):n===sf.MARQUEE?jf(e,t):n===sf.NOEMBED?Kf(e,t):n!==sf.CAPTION&&Yf(e,t);break;case 8:n===sf.BASEFONT?Pf(e,t):n===sf.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,lf.HTML),e.insertionMode="IN_FRAMESET_MODE")}(e,t):n===sf.FIELDSET?Hf(e,t):n===sf.TEXTAREA?function(e,t){e._insertElement(t,lf.HTML),e.skipNextNewLine=!0,e.tokenizer.state=kp.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode="TEXT_MODE"}(e,t):n===sf.TEMPLATE?Pf(e,t):n===sf.NOSCRIPT?e.options.scriptingEnabled?Kf(e,t):Yf(e,t):n===sf.OPTGROUP?zf(e,t):n!==sf.COLGROUP&&Yf(e,t);break;case 9:n===sf.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(sf.P)&&e._closePElement(),e._insertElement(t,lf.HTML),e.tokenizer.state=kp.MODE.PLAINTEXT}(e,t):Yf(e,t);break;case 10:n===sf.BLOCKQUOTE||n===sf.FIGCAPTION?Hf(e,t):Yf(e,t);break;default:Yf(e,t)}}function Qf(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Xf(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Jf(e,t){const n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function Zf(e,t){const n=t.tagName;switch(n.length){case 1:n===sf.A||n===sf.B||n===sf.I||n===sf.S||n===sf.U?vf(e,t):n===sf.P?function(e){e.openElements.hasInButtonScope(sf.P)||e._insertFakeElement(sf.P),e._closePElement()}(e):Jf(e,t);break;case 2:n===sf.DL||n===sf.UL||n===sf.OL?Qf(e,t):n===sf.LI?function(e){e.openElements.hasInListItemScope(sf.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(sf.LI),e.openElements.popUntilTagNamePopped(sf.LI))}(e):n===sf.DD||n===sf.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===sf.H1||n===sf.H2||n===sf.H3||n===sf.H4||n===sf.H5||n===sf.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===sf.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(sf.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===sf.EM||n===sf.TT?vf(e,t):Jf(e,t);break;case 3:n===sf.BIG?vf(e,t):n===sf.DIR||n===sf.DIV||n===sf.NAV||n===sf.PRE?Qf(e,t):Jf(e,t);break;case 4:n===sf.BODY?function(e){e.openElements.hasInScope(sf.BODY)&&(e.insertionMode="AFTER_BODY_MODE")}(e):n===sf.HTML?function(e,t){e.openElements.hasInScope(sf.BODY)&&(e.insertionMode="AFTER_BODY_MODE",e._processToken(t))}(e,t):n===sf.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(sf.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(sf.FORM):e.openElements.remove(n))}(e):n===sf.CODE||n===sf.FONT||n===sf.NOBR?vf(e,t):n===sf.MAIN||n===sf.MENU?Qf(e,t):Jf(e,t);break;case 5:n===sf.ASIDE?Qf(e,t):n===sf.SMALL?vf(e,t):Jf(e,t);break;case 6:n===sf.CENTER||n===sf.FIGURE||n===sf.FOOTER||n===sf.HEADER||n===sf.HGROUP||n===sf.DIALOG?Qf(e,t):n===sf.APPLET||n===sf.OBJECT?Xf(e,t):n===sf.STRIKE||n===sf.STRONG?vf(e,t):Jf(e,t);break;case 7:n===sf.ADDRESS||n===sf.ARTICLE||n===sf.DETAILS||n===sf.SECTION||n===sf.SUMMARY||n===sf.LISTING?Qf(e,t):n===sf.MARQUEE?Xf(e,t):Jf(e,t);break;case 8:n===sf.FIELDSET?Qf(e,t):n===sf.TEMPLATE?Df(e,t):Jf(e,t);break;case 10:n===sf.BLOCKQUOTE||n===sf.FIGCAPTION?Qf(e,t):Jf(e,t);break;default:Jf(e,t)}}function ed(e,t){e.tmplInsertionModeStackTop>-1?cd(e,t):e.stopped=!0}function td(e,t){const n=e.openElements.currentTagName;n===sf.TABLE||n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD||n===sf.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode="IN_TABLE_TEXT_MODE",e._processToken(t)):od(e,t)}function nd(e,t){const n=t.tagName;switch(n.length){case 2:n===sf.TD||n===sf.TH||n===sf.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(sf.TBODY),e.insertionMode="IN_TABLE_BODY_MODE",e._processToken(t)}(e,t):od(e,t);break;case 3:n===sf.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(sf.COLGROUP),e.insertionMode="IN_COLUMN_GROUP_MODE",e._processToken(t)}(e,t):od(e,t);break;case 4:n===sf.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,lf.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):od(e,t);break;case 5:n===sf.TABLE?function(e,t){e.openElements.hasInTableScope(sf.TABLE)&&(e.openElements.popUntilTagNamePopped(sf.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===sf.STYLE?Pf(e,t):n===sf.TBODY||n===sf.TFOOT||n===sf.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,lf.HTML),e.insertionMode="IN_TABLE_BODY_MODE"}(e,t):n===sf.INPUT?function(e,t){const n=kp.getTokenAttr(t,cf.TYPE);n&&"hidden"===n.toLowerCase()?e._appendElement(t,lf.HTML):od(e,t),t.ackSelfClosing=!0}(e,t):od(e,t);break;case 6:n===sf.SCRIPT?Pf(e,t):od(e,t);break;case 7:n===sf.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,lf.HTML),e.insertionMode="IN_CAPTION_MODE"}(e,t):od(e,t);break;case 8:n===sf.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,lf.HTML),e.insertionMode="IN_COLUMN_GROUP_MODE"}(e,t):n===sf.TEMPLATE?Pf(e,t):od(e,t);break;default:od(e,t)}}function rd(e,t){const n=t.tagName;n===sf.TABLE?e.openElements.hasInTableScope(sf.TABLE)&&(e.openElements.popUntilTagNamePopped(sf.TABLE),e._resetInsertionMode()):n===sf.TEMPLATE?Df(e,t):n!==sf.BODY&&n!==sf.CAPTION&&n!==sf.COL&&n!==sf.COLGROUP&&n!==sf.HTML&&n!==sf.TBODY&&n!==sf.TD&&n!==sf.TFOOT&&n!==sf.TH&&n!==sf.THEAD&&n!==sf.TR&&od(e,t)}function od(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function id(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)od(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function ad(e,t){e.openElements.currentTagName===sf.COLGROUP&&(e.openElements.pop(),e.insertionMode=pf,e._processToken(t))}function sd(e,t){const n=t.tagName;n===sf.HTML?Wf(e,t):n===sf.OPTION?(e.openElements.currentTagName===sf.OPTION&&e.openElements.pop(),e._insertElement(t,lf.HTML)):n===sf.OPTGROUP?(e.openElements.currentTagName===sf.OPTION&&e.openElements.pop(),e.openElements.currentTagName===sf.OPTGROUP&&e.openElements.pop(),e._insertElement(t,lf.HTML)):n===sf.INPUT||n===sf.KEYGEN||n===sf.TEXTAREA||n===sf.SELECT?e.openElements.hasInSelectScope(sf.SELECT)&&(e.openElements.popUntilTagNamePopped(sf.SELECT),e._resetInsertionMode(),n!==sf.SELECT&&e._processToken(t)):n!==sf.SCRIPT&&n!==sf.TEMPLATE||Pf(e,t)}function ld(e,t){const n=t.tagName;if(n===sf.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===sf.OPTION&&n===sf.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===sf.OPTGROUP&&e.openElements.pop()}else n===sf.OPTION?e.openElements.currentTagName===sf.OPTION&&e.openElements.pop():n===sf.SELECT&&e.openElements.hasInSelectScope(sf.SELECT)?(e.openElements.popUntilTagNamePopped(sf.SELECT),e._resetInsertionMode()):n===sf.TEMPLATE&&Df(e,t)}function cd(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(sf.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function ud(e,t){e.insertionMode="IN_BODY_MODE",e._processToken(t)}function pd(e,t){e.insertionMode="IN_BODY_MODE",e._processToken(t)}var fd=hd("start"),dd=hd("end");function hd(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}function md(e){return"[33m"+e+"[39m"}const Td=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=Na(t),i=r?-1:1;!function e(a,s,l){const c="object"==typeof a&&null!==a?a:{};let u;"string"==typeof c.type&&(u="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,Object.defineProperty(p,"name",{value:"node ("+md(c.type+(u?"<"+u+">":""))+")"}));return p;function p(){let c,u,p,f=[];if((!t||o(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,l)),false===f[0]))return f;if(a.children&&"skip"!==f[0])for(u=(r?a.children.length:-1)+i,p=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,p)(),false===c[0])return c;u="number"==typeof c[1]?c[1]:u+i}return f}}(e,null,[])()};var Ed=/[#.]/g;function gd(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}const _d=new Set(["menu","submit","reset","button"]),yd={}.hasOwnProperty;function Ad(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,o,...i){let a,s=-1;if(null==n)a={type:"root",children:[]},i.unshift(o);else if(a=function(e,t="div"){for(var n,r,o,i=e||"",a={},s=0;s<i.length;)Ed.lastIndex=s,o=Ed.exec(i),(n=i.slice(s,o?o.index:i.length))&&(r?"#"===r?a.id=n:Array.isArray(a.className)?a.className.push(n):a.className=[n]:t=n,s+=n.length),o&&(r=o[0],s++);return{type:"element",tagName:t,properties:a,children:[]}}(n,t),a.tagName=a.tagName.toLowerCase(),r&&yd.call(r,a.tagName)&&(a.tagName=r[a.tagName]),function(e,t){if(null==e||"object"!=typeof e||Array.isArray(e))return!1;if("input"===t||!e.type||"string"!=typeof e.type)return!0;if("children"in e&&Array.isArray(e.children))return!1;if("button"===t)return _d.has(e.type.toLowerCase());return!("value"in e)}(o,a.tagName)){let t;for(t in o)yd.call(o,t)&&vd(e,a.properties,t,o[t])}else i.unshift(o);for(;++s<i.length;)Sd(a.children,i[s]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function vd(e,t,n,r){const o=ws(e,n);let i,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?gd(r):o.commaSeparated?al(r):o.commaOrSpaceSeparated?gd(al(r).join(" ")):Cd(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){const t=[];let n;for(n in e)yd.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(;++a<i.length;)e[a]=Cd(o,o.property,i[a]);i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}function Sd(e,t){let n=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Sd(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Sd(e,t.children):e.push(t)}}function Cd(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||ns(n)===ns(t)))return!0}return n}const bd=Ad(xs,"div"),Nd=Ad(Ls,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);const Od="http://www.w3.org/2000/svg",kd={}.hasOwnProperty,Id={"#document":Rd,"#document-fragment":Rd,"#text":function(e,t){return{type:"text",value:t.value}},"#comment":function(e,t){return{type:"comment",value:t.data}},"#documentType":function(){return{type:"doctype"}}};function wd(e,t){const n=e.schema,r=kd.call(Id,t.nodeName)?Id[t.nodeName]:Pd;let o;"tagName"in t&&(e.schema=t.namespaceURI===Od?Ls:xs),"childNodes"in t&&(o=function(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=wd(e,t[n]);return r}(e,t.childNodes));const i=r(e,t,o);if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=Dd(e,i,t.sourceCodeLocation);n&&(e.location=!0,i.position=n)}return e.schema=n,i}function Rd(e,t,n){const r={type:"root",children:n,data:{quirksMode:"quirks"===t.mode||"limited-quirks"===t.mode}};if(e.file&&e.location){const t=String(e.file),n=function(e){for(var t=String(e),n=[],r=/\r?\n|\r/g;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){var t=-1;if(e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(n[t-1]||0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){var t,r=e&&e.line,o=e&&e.column;return"number"!=typeof r||"number"!=typeof o||Number.isNaN(r)||Number.isNaN(o)||!(r-1 in n)||(t=(n[r-2]||0)+o-1||0),t>-1&&t<n[n.length-1]?t:-1}}}(t);r.position={start:n.toPoint(0),end:n.toPoint(t.length)}}return r}function Pd(e,t,n){const r="svg"===e.schema.space?Nd:bd;let o=-1;const i={};for(;++o<t.attrs.length;){const e=t.attrs[o];i[(e.prefix?e.prefix+":":"")+e.name]=e.value}const a=r(t.tagName,i,n);if("template"===a.tagName&&"content"in t){const n=t.sourceCodeLocation,r=n&&n.startTag&&xd(n.startTag),o=n&&n.endTag&&xd(n.endTag),i=wd(e,t.content);r&&o&&e.file&&(i.position={start:r.end,end:o.start}),a.content=i}return a}function Dd(e,t,n){const r=xd(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;for(o in n.attrs)kd.call(n.attrs,o)&&(r[ws(e.schema,o).property]=xd(n.attrs[o]));t.data={position:{opening:xd(n.startTag),closing:n.endTag?xd(n.endTag):null,properties:r}}}}return r}function xd(e){const t=Ld({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Ld({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:null}function Ld(e){return e.line&&e.column?e:null}const Md={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Fd=Ds,$d={}.hasOwnProperty,Hd=Na("root"),Ud=Na("element"),Bd=Na("text");function jd(e,t,n){if("function"!=typeof e)throw new TypeError("h is not a function");const r=function(e){const t=e("div",{});return Boolean(t&&("_owner"in t||"_store"in t)&&(void 0===t.key||null===t.key))}(e),o=function(e){const t=e("div",{});return Boolean(t&&t.context&&t.context._isVue)}(e),i=function(e){return"VirtualNode"===e("div",{}).type}(e);let a,s;if("string"==typeof n||"boolean"==typeof n?(a=n,n={}):(n||(n={}),a=n.prefix),Hd(t))s=1===t.children.length&&Ud(t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else{if(!Ud(t))throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");s=t}return Gd(e,s,{schema:"svg"===n.space?Ls:xs,prefix:null==a?r||o||i?"h-":null:"string"==typeof a?a:a?"h-":null,key:0,react:r,vue:o,vdom:i,hyperscript:Kd(e)})}function Gd(e,t,n){const r=n.schema;let o=r,i=t.tagName;const a={},s=[];let l,c=-1;for(l in"html"===r.space&&"svg"===i.toLowerCase()&&(o=Ls,n.schema=o),t.properties)t.properties&&$d.call(t.properties,l)&&qd(a,l,t.properties[l],n,i);if(n.vdom&&("html"===o.space?i=i.toUpperCase():o.space&&(a.namespace=Md[o.space])),n.prefix&&(n.key++,a.key=n.prefix+n.key),t.children)for(;++c<t.children.length;){const r=t.children[c];Ud(r)?s.push(Gd(e,r,n)):Bd(r)&&s.push(r.value)}return n.schema=r,s.length>0?e.call(t,i,a,s):e.call(t,i,a)}function qd(e,t,n,r,o){const i=ws(r.schema,t);let a;null==n||"number"==typeof n&&Number.isNaN(n)||!1===n&&(r.vue||r.vdom||r.hyperscript)||!n&&i.boolean&&(r.vue||r.vdom||r.hyperscript)||(Array.isArray(n)&&(n=i.commaSeparated?sl(n):n.join(" ").trim()),i.boolean&&r.hyperscript&&(n=""),"style"===i.property&&"string"==typeof n&&(r.react||r.vue||r.vdom)&&(n=function(e,t){const n={};try{El(e,((e,t)=>{"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),n[e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))]=t}))}catch(e){throw e.message=t+"[style]"+e.message.slice("undefined".length),e}return n}(n,o)),r.vue?"style"!==i.property&&(a="attrs"):i.mustUseProperty||(r.vdom?"style"!==i.property&&(a="attributes"):r.hyperscript&&(a="attrs")),a?e[a]=Object.assign(e[a]||{},{[i.attribute]:n}):i.space&&r.react?e[Fd[i.property]||i.property]=n:e[i.attribute]=n)}function Kd(e){return"context"in e&&"cleanup"in e}const zd={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};var Vd={}.hasOwnProperty;function Yd(e,t){var n=t||{};function r(t){var n=r.invalid,o=r.handlers;if(t&&Vd.call(t,e)&&(n=Vd.call(o,t[e])?o[t[e]]:r.unknown),n)return n.apply(this,arguments)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Wd={}.hasOwnProperty,Qd=Yd("type",{handlers:{root:function(e,t){var n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Xd(e.children,n,t),Jd(e,n)},element:function(e,t){var n=t.space;return jd((function(n,r){var o,i,a,s,l,c=[];for(a in r)Wd.call(r,a)&&!1!==r[a]&&((o=ws(t,a)).boolean&&!r[a]||(i={name:a,value:!0===r[a]?"":String(r[a])},o.space&&"html"!==o.space&&"svg"!==o.space&&((s=a.indexOf(":"))<0?i.prefix="":(i.name=a.slice(s+1),i.prefix=a.slice(0,s)),i.namespace=zd[o.space]),c.push(i)));"html"===t.space&&"svg"===e.tagName&&(t=Ls);(l=Jd(e,{nodeName:n,tagName:n,attrs:c,namespaceURI:zd[t.space],childNodes:[],parentNode:void 0})).childNodes=Xd(e.children,l,t),"template"===n&&(l.content=function(e,t){var n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Xd(e.children,n,t),Jd(e,n)}(e.content,t));return l}),Object.assign({},e,{children:[]}),{space:n})},text:function(e){return Jd(e,{nodeName:"#text",value:e.value,parentNode:void 0})},comment:function(e){return Jd(e,{nodeName:"#comment",data:e.value,parentNode:void 0})},doctype:function(e){return Jd(e,{nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0})}}});function Xd(e,t,n){var r,o=-1,i=[];if(e)for(;++o<e.length;)(r=Qd(e[o],n)).parentNode=t,i.push(r);return i}function Jd(e,t){var n=e.position;return n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset}),t}const Zd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],eh="http://www.w3.org/1999/xhtml",th={sourceCodeLocationInfo:!0,scriptingEnabled:!1},nh=function(e,t,n){let r=-1;const o=new mf(th),i=Yd("type",{handlers:{root:function(e){d(e.children)},element:function(e){T(),o._processToken(rh(e),eh),d(e.children),Zd.includes(e.tagName)||(T(),o._processToken(function(e){const t=Object.assign(ah(e));return t.startTag=Object.assign({},t),{type:"END_TAG_TOKEN",tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){T(),o._processToken({type:"CHARACTER_TOKEN",chars:e.value,location:ah(e)})},comment:h,doctype:function(e){T(),o._processToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ah(e)})},raw:function(e){const t=fd(e),n=t.line||1,r=t.column||1,i=t.offset||0;if(!l)throw new Error("Expected `preprocessor`");if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");l.html=void 0,l.pos=-1,l.lastGapPos=-1,l.lastCharPos=-1,l.gapStack=[],l.skipNextNewLine=!1,l.lastChunkWritten=!1,l.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=1-r,c.droppedBufferSize=i,c.offset=0,c.col=1,c.line=n,u.currentAttrLocation=void 0,u.ctLoc=ah(e),s.write(e.value),o._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===s.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===s.state)&&(l.lastChunkWritten=!0,s[s.state](s._consume()));const a=s.currentCharacterToken;a&&(a.location.endLine=c.line,a.location.endCol=c.col+1,a.location.endOffset=c.offset+1,o._processToken(a))}},unknown:ih});let a,s,l,c,u;var p;if(p=t,Boolean(p&&!("message"in p&&"messages"in p))&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)i.handlers[n.passThrough[r]]=m;const f=function(e,t={}){let n,r;return"messages"in t?(r=t,n={}):(r=t.file,n=t),wd({schema:"svg"===n.space?Ls:xs,file:r,verbose:n.verbose,location:!1},e)}(function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e)?function(){const t=o.treeAdapter.createDocument();if(o._bootstrap(t,void 0),s=o.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,u=s.__mixins[0],c=u.posTracker,i(e),t}():function(){const t={nodeName:"template",tagName:"template",attrs:[],namespaceURI:eh,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:eh,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(o._bootstrap(n,t),o._pushTmplInsertionMode("IN_TEMPLATE_MODE"),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),s=o.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,u=s.__mixins[0],c=u.posTracker,i(e),o._adoptNodes(n.childNodes[0],r),r}(),t);return a&&function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Td(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(f,"comment",((e,t,n)=>{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===f.type&&1===f.children.length?f.children[0]:f;function d(e){let t=-1;if(e)for(;++t<e.length;)i(e[t])}function h(e){T(),o._processToken({type:"COMMENT_TOKEN",data:e.value,location:ah(e)})}function m(e){let r;a=!0,r="children"in e?{...e,children:nh({type:"root",children:e.children},t,n).children}:{...e},h({type:"comment",value:{stitch:r}})}function T(){if(!s)throw new Error("Expected `tokenizer`");s.tokenQueue=[],s.state="DATA_STATE",s.returnState="",s.charRefCode=-1,s.tempBuff=[],s.lastStartTagName="",s.consumedAfterSnapshot=-1,s.active=!1,s.currentCharacterToken=void 0,s.currentToken=void 0,s.currentAttr=void 0}};function rh(e){const t=Object.assign(ah(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:oh(e),location:t}}function oh(e){return(t={tagName:e.tagName,type:"element",properties:e.properties,children:[]},Qd(t,"svg"===n?Ls:xs)).attrs;var t,n}function ih(e){throw new Error("Cannot compile `"+e.type+"` node")}function ah(e){const t=fd(e),n=dd(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}const sh={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto","xmpp","irc","ircs"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],attributes:{a:["href"],img:["src","longDesc"],input:[["type","checkbox"],["disabled",!0]],li:[["className","task-list-item"]],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},required:{input:{type:"checkbox",disabled:!0}}};var lh={}.hasOwnProperty,ch=[].push,uh={root:{children:fh},doctype:function(e){return e.allowDoctypes?{name:dh}:null},comment:function(e){return e.allowComments?{value:mh}:null},element:{tagName:hh,properties:function(e,t,n,r){var o,i,a,s=hh(e,n.tagName,n,r),l=e.required||{},c=t||{},u=Object.assign({},_h(e.attributes["*"]),_h(s&&lh.call(e.attributes,s)?e.attributes[s]:[])),p={};for(a in c)if(lh.call(c,a)){if(lh.call(u,a))o=u[a];else{if(!((f=a).length>4&&"data"===f.slice(0,4).toLowerCase()&&lh.call(u,"data*")))continue;o=u["data*"]}i=c[a],null!=(i=Array.isArray(i)?Eh(e,i,a,o):gh(e,i,a,o))&&(p[a]=i)}var f;if(s&&lh.call(l,s))for(a in l[s])lh.call(p,a)||(p[a]=l[s][a]);return p},children:fh},text:{value:function(e,t){return"string"==typeof t?t:""}},"*":{data:Th,position:Th}};function ph(e,t,n){var r,o,i,a,s,l=t&&t.type,c={type:t.type};if(lh.call(uh,l)&&("function"==typeof(o=uh[l])&&(o=o(e,t)),o))for(s in r=!0,i=Object.assign({},o,uh["*"]))lh.call(i,s)&&(!1===(a=i[s](e,t[s],t,n))?(r=null,c[s]=t[s]):null!=a&&(c[s]=a));return r?c:"element"!==c.type||e.strip.includes(c.tagName)?null:c.children}function fh(e,t,n,r){var o,i=[],a=-1;if(Array.isArray(t)){for("element"===n.type&&r.push(n.tagName);++a<t.length;)(o=ph(e,t[a],r))&&("length"in o?ch.apply(i,o):i.push(o));"element"===n.type&&r.pop()}return i}function dh(){return"html"}function hh(e,t,n,r){var o="string"==typeof t?t:"",i=-1;if(!o||"*"===o||!e.tagNames.includes(o))return!1;if(lh.call(e.ancestors,o)){for(;++i<e.ancestors[o].length;)if(r.includes(e.ancestors[o][i]))return o;return!1}return o}function mh(e,t){var n="string"==typeof t?t:"",r=n.indexOf("--\x3e");return r<0?n:n.slice(0,r)}function Th(e,t){return t}function Eh(e,t,n,r){for(var o,i=-1,a=[];++i<t.length;)null!=(o=gh(e,t[i],n,r))&&a.push(o);return a}function gh(e,t,n,r){if(("boolean"==typeof t||"number"==typeof t||"string"==typeof t)&&function(e,t,n){var r=String(t),o=r.indexOf(":"),i=r.indexOf("?"),a=r.indexOf("#"),s=r.indexOf("/"),l=lh.call(e.protocols,n)?e.protocols[n].concat():[],c=-1;if(0===l.length||o<0||s>-1&&o>s||i>-1&&o>i||a>-1&&o>a)return!0;for(;++c<l.length;)if(o===l[c].length&&r.slice(0,l[c].length)===l[c])return!0;return!1}(e,t,n)&&(0===r.length||r.includes(t)))return e.clobber.includes(n)?e.clobberPrefix+t:t}function _h(e){for(var t,n={},r=-1;++r<e.length;)t=e[r],Array.isArray(t)?n[t[0]]=t.slice(1):n[t]=[];return n}var yh=[function(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return Lo([Fl,{document:{91:{tokenize:Ql,continuation:{tokenize:Xl},exit:Jl}},text:{91:{tokenize:Wl},93:{add:"after",tokenize:Vl,resolveTo:Yl}}},Zl(e),ec,rc])}(e)),n("fromMarkdownExtensions",[dc,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=bi(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=bi(this.sliceSerialize(e)).toLowerCase()}}},Pc,$c,qc]),n("toMarkdownExtensions",function(e){return{extensions:[hc,wc(),Dc,jc(e),Kc]}}(e))}],Ah=[function(e={}){return(t,n)=>nh(t,n,e)},function(e=sh){return t=>function(e,t){var n,r={type:"root",children:[]};return e&&"object"==typeof e&&e.type&&(n=ph(Object.assign({},sh,t||{}),e,[]))&&(Array.isArray(n)?1===n.length?r=n[0]:r.children=n:r=n),r}(t,e)}];function vh(t){var n=t.children,r=t.source;return e.createElement(Ol,T({remarkPlugins:yh,rehypePlugins:Ah,children:n||r},t))}export{Gr as BackgroundImageLazyScript,Sn as CloudinaryBackgroundImage,An as CloudinaryImage,ln as Component,Yr as GriddoLink,qr as LdJson,dn as Link,cn as Page,w as PageConsumer,k as PageContext,I as PageProvider,pn as Preview,vh as RichText,O as SiteConsumer,b as SiteContext,N as SiteProvider,ht as createSchema,ft as getComponent,Ft as getLang,Mt as getSiteID,Lt as getToken,wt as parseTheme,an as useDataFilters,Zt as useDistributorData,tn as useFilter,Jt as useI18n,Gt as useImage,qt as useLink,on as useList,zt as usePage,Tt as useSite,en as useSitemap};
|
|
1
|
+
import*as t from"react";import e,{createContext as n,useContext as r,useRef as o,useState as a,useEffect as i}from"react";import c from"react-markdown";import l from"remark-gfm";import u from"rehype-raw";import s from"rehype-sanitize";function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function v(t,e,n,r,o,a,i){try{var c=t[a](i),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function m(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){v(a,r,o,i,c,"next",t)}function c(t){v(a,r,o,i,c,"throw",t)}i(void 0)}))}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(){return y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},y.apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,c=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(t){c=!0,o=t}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}(t,e)||x(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||x(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var O=n(null),j=function(t){var n=t.children,r=t.translations;return e.createElement(O.Provider,{value:{translations:r}},n)};O.Consumer;var k=["children"],I=n(null),P=function(t){var n=t.children,r=h(t,k);return e.createElement(I.Provider,{value:f({},r)},n)},E=I.Consumer,z=n(null),C=function(t){var n=r(I),o=null==n?void 0:n.translations;return e.createElement(z.Provider,{value:f({},t)},e.createElement(j,{translations:o},t.children))},_=z.Consumer;function L(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}L('.--selected {\n display: block;\n position: relative;\n}\n\n.--selected::before {\n position: absolute;\n height: calc(100% - 8px);\n width: calc(100% - 8px);\n padding-bottom: 4px;\n content: "";\n border: 4px solid rgb(80, 87, 255);\n pointer-events: none;\n z-index: 99;\n}\n\n.--selected::after {\n position: absolute;\n padding: 8px 16px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n top: -34px;\n left: 50%;\n transform: translate(-50%, 0px);\n content: attr(data-text);\n z-index: 9;\n background: rgb(80, 87, 255);\n color: rgb(255, 255, 255);\n font-family: "Source Sans Pro", sans-serif;\n font-weight: 600;\n font-size: 14px;\n line-height: 18px;\n}\n');var U=function(t){var n=o(),c=b(a(),2),l=c[0],u=c[1],s=r(I).selectEditorID,d=t.selectedEditorID,f=t.editorID,p=t.component,v=t.children;i((function(){u(!!n&&n.current.scrollHeight)}),[v]),i((function(){g&&m()}),[n]);var m=function(){if(n.current){var t=n.current.style.position,e=n.current.style.top;n.current.style.position="relative",n.current.style.top="-34px",n.current.scrollIntoView({behavior:"smooth",block:"start"}),n.current.style.top=e,n.current.style.position=t}},g=!!d&&d===f;return g&&m(),e.createElement(e.Fragment,null,"Header"===p&&e.createElement("style",{dangerouslySetInnerHTML:{__html:'\n [data-text="Header"].--selected::before {\n height: '.concat(l-8,"px;\n }")}}),e.createElement("span",{className:"".concat(g?"--selected":""),"data-text":p,ref:n,onClick:function(e){!f&&"0"!==f||"undefined"==typeof window||s&&s(t,void 0,e)}},v))},M=function(t,e){var n=e.component||e.id;return void 0!==t[n]?t[n]:(console.warn("The component <".concat(n,"> doesn't exist inside ").concat(JSON.stringify(Object.keys(t)))),null)},T=function(){return r(I)},A={domain:"https://res.cloudinary.com",uploadFolder:"image/upload",fallback404ImageId:"dx-placeholders/fallback-404-image",quality:51,crop:"fill",gravity:"faces:center",format:"auto",loading:"lazy",backgroundLazy:!1,decoding:"auto",responsive:[{breakpoint:null,width:"320px"}]},q=function(t){return function(t,e){var n=parseFloat(t.match(/\d*\.?\d*/)[0]),r=t.split(n.toString())[1],o=e(n);return"".concat(o).concat(r)}(t,(function(t){return t/2}))},N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n="#"===t[0]?t.substring(1,7):t,r=parseInt(n.substring(0,2),16),o=parseInt(n.substring(2,4),16),a=parseInt(n.substring(4,6),16);return"rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(e,")")},F=function(t,e,n){return n?e===n?"":"".concat(t,": ").concat(n,";"):""},D=function(t,e,n){return e?"".concat(t,": ").concat(e,";"):n?"".concat(t,": ").concat(n,";"):""},W=function(t){try{var e=t.mediaquery.mediaqueries,n={};return e.forEach((function(t){if("default"!==t.label){var e=t.minWidth?"and (min-width: ".concat(t.minWidth,")"):"",r=t.maxWidth?"and (max-width: ".concat(t.maxWidth,")"):"";n[t.label]="@media only screen ".concat(e," ").concat(r)}})),n}catch(t){return null}},R=function(t){try{return t.fontFamily.fontFamilies}catch(t){return null}},B=function(t){return"string"==typeof t?t.match(/\d*\.?\d+?/)[0]:"number"==typeof t?t:void 0},G=function(t,e){return'\n &::before, &::after {\n content: "";\n display: block;\n }\n &::before {\n margin-bottom: '.concat(e,"em;\n }\n &::after {\n margin-top: ").concat(t,"em;\n }\n ")},H=function(t){try{return S(new Set(t.textStyle.textStyles.map((function(t){return t.fontSize})).filter(Boolean).reverse().map((function(t){return Number(t.split("px")[0])})).sort((function(t,e){return t-e}))))}catch(t){return null}},J=function(t){if(t.spacing&&Object.keys(t.spacing).length)return Object.entries(t.spacing).reduce((function(t,e){var n=b(e,2),r=n[0],o=n[1];return f(f({},t),{},g({},r,"string"==typeof o?"-".concat(o):void 0))}),{})},X=function(t){if(t.spacing&&Object.keys(t.spacing).length)return Object.entries(t.spacing).reduce((function(t,e){var n=b(e,2),r=n[0],o=n[1];return f(f({},t),{},g({},r,"string"==typeof o?q(o):void 0))}),{})},K=function(t){if(t.spacing&&Object.keys(t.spacing).length)return Object.entries(t.spacing).reduce((function(t,e){var n,r=b(e,2),o=r[0],a=r[1];return f(f({},t),{},g({},o,"string"==typeof a?(n=q(a),"-".concat(n)):void 0))}),{})},V=function(t){var e=function(t){try{var e=t.color.colors;return Object.keys(e).reduce((function(t,n){var r,o=function(t){return 1===t.opacity||void 0===t.opacity||null===t.opacity},a=function(t){try{return"#"===t.value[0]}catch(t){return!1}},i=function(t){try{return"hsl"===t.type.toLowerCase()}catch(t){return!1}},c=function(t){try{return"rgb"===t.type.toLowerCase()}catch(t){return!1}};return r=e[n],i(r)&&!o(r)&&(t[n]="hsla(".concat(e[n].value.map((function(t,e){return"".concat(0===e?t:"string"==typeof t?-1===t.indexOf("%")?t+"%":t:t+"%")})).join(", "),", ").concat(e[n].opacity,")")),function(t){return i(t)&&o(t)}(e[n])&&(t[n]="hsl(".concat(e[n].value.map((function(t,e){return"".concat(0===e?t:"string"==typeof t?-1===t.indexOf("%")?t+"%":t:t+"%")})).join(", "),")")),function(t){return a(t)&&o(t)}(e[n])&&(t[n]="".concat(e[n].value)),function(t){return a(t)&&!o(t)}(e[n])&&(t[n]="".concat(N(e[n].value,e[n].opacity))),function(t){return c(t)&&o(t)}(e[n])&&(t[n]="rgb(".concat(e[n].value.join(", "),")")),function(t){return c(t)&&!o(t)}(e[n])&&(t[n]="rgba(".concat(e[n].value.join(", "),", ").concat(e[n].opacity,")")),t}),{})}catch(t){return null}}(t),n=function(t){try{var e=t.gradient.gradients;return Object.keys(e).reduce((function(t,n){return t[n]="linear-gradient(".concat(e[n].direction,", ").concat(e[n].stops.map((function(t){return"".concat(N(t.color,t.opacity)," ").concat(t.position)})).join(","),")"),t}),{})}catch(t){return null}}(t),r=function(t){try{var e=t.shadow.shadows;return Object.keys(e).reduce((function(t,n){return t[n]="".concat(e[n].x,"px ").concat(e[n].y,"px ").concat(e[n].blur,"px ").concat(N(e[n].color,e[n].opacity)),t}),{})}catch(t){return null}}(t),o=W(t),a=function(t){try{var e=W(t),n=R(t),r=t.textStyle.defaultStyles,o=t.textStyle.textStyles,a={};return o.forEach((function(t){var o=B(t.fontSize),i=void 0!==t.croptop?t.croptop:0,c=void 0!==t.cropbottom?t.cropbottom:0,l=Math.max(i+o/2*0,0)/o*-1,u=Math.max(c+o/2*0,0)/o*-1;a[t.name]="\n\n ".concat(D("font-family",n[t.fontFamily],n[r.fontFamily]),"\n ").concat(D("font-size",t.fontSize,r.fontSize),"\n ").concat(D("font-weight",t.fontWeight,r.fontWeight),"\n ").concat(D("letter-spacing",t.letterSpacing,r.letterSpacing),"\n ").concat(D("line-height",t.lineHeight,r.lineHeight),"\n ").concat(D("font-style",t.fontStyle,r.fontStyle),"\n ").concat(D("text-transform",t.textTransform,r.textTransform),"\n ").concat(i&&c?G(l,u):"","\n \n ").concat(t.responsive?t.responsive.map((function(r,a){return o=B(r.fontSize),i=void 0!==r.croptop?r.croptop:0,c=void 0!==r.cropbottom?r.cropbottom:0,l=Math.max(i+o/2*0,0)/o*-1,u=Math.max(c+o/2*0,0)/o*-1,a<1?"\n ".concat(e[r.breakpoint]," {\n ").concat(F("font-family",n[t.fontFamily],n[r.fontFamily]),"\n ").concat(F("font-size",t.fontSize,r.fontSize),"\n ").concat(F("font-weight",t.fontWeight,r.fontWeight),"\n ").concat(F("line-height",t.lineHeight,r.lineHeight),"\n ").concat(F("letter-spacing",t.letterSpacing,r.letterSpacing),"\n ").concat(F("font-style",t.fontStyle,r.fontStyle),"\n ").concat(F("text-transform",t.textTransform,r.textTransform),"\n ").concat(i&&c?G(l,u):"","\n }\n "):(o=B(r.fontSize),i=void 0!==r.croptop?r.croptop:0,c=void 0!==r.cropbottom?r.cropbottom:0,l=Math.max(i+o/2*0,0)/o*-1,u=Math.max(c+o/2*0,0)/o*-1,"\n ".concat(e[r.breakpoint]," {\n ").concat(F("font-family",n[t.responsive[a-1].fontFamily],n[r.fontFamily]),"\n ").concat(F("font-size",t.responsive[a-1].fontSize,r.fontSize),"\n ").concat(F("font-weight",t.responsive[a-1].fontWeight,r.fontWeight),"\n ").concat(F("line-height",t.responsive[a-1].lineHeight,r.lineHeight),"\n ").concat(F("letter-spacing",t.responsive[a-1].letterSpacing,r.letterSpacing),"\n ").concat(F("font-style",t.responsive[a-1].fontStyle,r.fontStyle),"\n ").concat(F("text-transform",t.responsive[a-1].textTransform,r.textTransform),"\n ").concat(i&&c?G(l,u):"","\n }\n "))})).join(""):"","\n ")})),a}catch(t){return null}}(t),i=function(t){try{return t.mediaquery.mediaqueries.map((function(t){return t.minWidth})).filter(Boolean)}catch(t){return null}}(t),c=R(t);try{t.mediaquery.mediaqueries.forEach((function(t){i[t.label]=t.minWidth}))}catch(t){}return f(f({},t),{},{fontFamily:c,color:e,colors:e,gradient:n,shadow:r,mq:o,textStyle:a,breakpoints:i,fontSizes:H(t),negateSpacing:J(t),halfSpacing:X(t),negateHalfSpacing:K(t)})},Y=function(t){return t?t.toString().split(/cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%/)[0]:""},$=function(t){return Object.fromEntries(Object.entries(t).filter((function(t){return t[1]})))},Q=function(t,e){return(null==e?void 0:e.startsWith("".concat(t,"#")))?"#".concat(e.split("#")[1]):e},Z="undefined"!=typeof window,tt=function(){var t=Z&&JSON.parse(localStorage.getItem("persist:app"));if(!t)return null;var e=t.token;return e=JSON.parse(e),{Authorization:"bearer ".concat(e)}},et=function(){var t,e=p(Z)&&JSON.parse(localStorage.getItem("persist:root"));if(!e)return 1;var n=e.sites;return null===(t=(n=JSON.parse(n)).currentSiteInfo)||void 0===t?void 0:t.id},nt=function(){return Z&&parseInt(localStorage.getItem("langID"))};function rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.obj,n=t.searchKey,r=t.results,o=void 0===r?[]:r,a=t.unique,i=void 0===a||a,c=o;return Object.keys(e).forEach((function(t){var r=e[t];t===n&&"object"!==p(r)?c.push(r):"object"===p(r)&&r&&rt({obj:r,searchKey:n,results:c})})),i?S(new Set(c)):c}function ot(t){var e=t.baseUrl,n=t.params,r=Object.keys(n).map((function(t){return e=n[t],Array.isArray(e)&&e.length>0||"number"==typeof e||"string"==typeof e?"".concat(t,"/").concat(n[t]):"";var e})).join("/");return"".concat(e).concat(r.split("/").filter(Boolean).join("/"))}var at=["root","imageConfig"],it=["publicId"],ct=function(t){var e,n=t.root,r=t.imageConfig,o=h(t,at),a=(e=o,f(f({},$(r)),$(e))),i=a.crop?"c_".concat(a.crop):"",c=a.quality?"q_".concat(a.quality):"",l=a.gravity?"g_".concat(a.gravity):"",u=a.format?"f_".concat(a.format):"",s=a.width?"w_".concat(Y(a.width)):"",d=a.height?"h_".concat(Y(a.height)):"",p=a.ar?"ar_".concat(a.ar):"",v="".concat(i,",").concat(l,",").concat(u,",").concat(c,",").concat(s,",").concat(d,",").concat(p).split(/._null|._undefined|,{1,}|._,|._$|undefined|null/).filter(Boolean).join(",");return"".concat(n,"/").concat(v)},lt=function(t){var e,n,r,o=t.publicId,a=h(t,it),i=T(),c=i.cloudinaryCloudName,l=i.cloudinaryDefaults,u=f(f(f({},A),l),a),s="".concat(u.domain,"/").concat(c,"/").concat(u.uploadFolder),d="".concat(ct({root:s,imageConfig:u,quality:20,width:"512"}),"/").concat(u.fallback404ImageId),p=u.responsive.map((function(t){var e=t.width,n=t.height,r=t.quality,a=t.crop,i=ct({root:s,imageConfig:u,quality:r,crop:a,width:e,height:n});return"".concat(i,"/").concat(o," ").concat(Y(e),"w")})),v=(e=u.responsive.reverse(),n=e.filter((function(t){return null===t.breakpoint})),r=e.filter((function(t){return null!==t.breakpoint})),[].concat(S(r),S(n))).map((function(t,e){return e<u.responsive.length-1?"(min-width: ".concat(t.breakpoint,") ").concat(t.width):"".concat(t.width)})).join(", "),m=p.map((function(t){return t.split(" ")[0]})),g=u.responsive[0];return{src:"".concat(ct(f({root:s,imageConfig:u},g)),"/").concat(o),srcSet:p,sizes:v,fallbackSrcImage:d,srcSetURL:m}};function ut(){return r(I).linkComponent}var st={firstModule:"",siteSlug:"/",title:"Default page provider title",breadcrumb:[],fullPath:"/",apiUrl:"/",fullUrl:"/",languageId:null,pageLanguages:[]};function dt(){var t,e=r(z),n=null==e||null===(t=e.pageLanguages)||void 0===t?void 0:t.filter((function(t){return t.isLive}));return e?f(f({},e),{},{pageLanguages:n}):(console.warn("Griddo: You forgot to put <PageProvider>."),f(f({},st),{},{pageLanguages:n}))}var ft=function(t,e){return!!t.find((function(t){return t.id===e}))},pt=function(t,e){var n;return(null===(n=t.find((function(t){return t.id===e})))||void 0===n?void 0:n.locale)||"xx_XX"},vt=function(t,e){return!!t.find((function(t){return(null==t?void 0:t.locale)===e}))},mt={languageId:"internalLangId",siteLangs:[{id:"internalLangId",locale:"xx_XX"}],translations:{xx_XX:{griddo:"griddo"}}},gt=function(t,e){return null==t?void 0:t.split(".").reduce((function(t,e){return t[e]?t[e]:""}),e)},yt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.locale,n=T(),o=(null==n?void 0:n.siteLangs)||mt.siteLangs,a=dt(),i=(null==a?void 0:a.languageId)||mt.languageId,c=r(O),l=(null==c?void 0:c.translations)||mt.translations;l||console.warn("Griddo: <SiteProvider> needs to have the prop translations"),void 0===o&&console.warn("Griddo: <SiteProvider> needs to have the prop siteLangs set with the site languages"),i||console.warn("Griddo: <PageProvider> needs to have the prop languageId set with the page language id"),ft(o,i)||console.warn("Griddo: languageId ".concat(i," doesn't exist in this site")),void 0===e||vt(o,e)||console.warn("Griddo: locale ".concat(e," doesn't exist in this site"));var u=e||pt(o,i),s=l?l[u]:void 0,d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return s&&s[t]||e},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return s&>(t,s)||e};return u&&i?{getTranslation:d,getNestedTranslation:f}:(console.warn("Griddo: You forgot to put <I18nProvider> or exists an error in language id."),{})},ht=function(t){var e=b(a(null),2),n=e[0],r=e[1],o=t||{},c=o.order,l=o.quantity,u=o.source,s=o.mode,d=o.fixed,p=o.filter,v=dt().apiUrl;return i((function(){var t=!!nt(),e=et()||"global",n="".concat(v,"/site/").concat(e,"/distributor"),o=function(t){return{method:"POST",mode:"cors",cache:"no-cache",headers:f({"Content-Type":"application/json",lang:nt()},tt()),redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(t)}}("auto"===s?{mode:s,order:c,quantity:l,source:u,filter:p}:{mode:s,fixed:d}),a=function(){var t=m(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(n,o);case 2:return e=t.sent,t.next=5,e.json();case 5:a=t.sent,r(a);case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t&&a()}),[s,c,l,d,p,u]),n},bt=function(){var t=b(a(),2),e=t[0],n=t[1],r=b(a(!0),2),o=r[0],c=r[1],l=dt(),u=l.apiUrl,s=l.header,d=l.footer,p=l.fullPath,v=T().siteMetadata;i((function(){g()}),[]);var g=function(){var t=m(regeneratorRuntime.mark((function t(){var e,r,o,a,i,l,m,g,y,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((a={}).topMenu=[{label:null==v?void 0:v.title,children:null===(e=s.topMenu)||void 0===e?void 0:e.elements,url:{linkToURL:!!p&&"".concat(p.domainUrl).concat(p.site)}}],v){t.next=13;break}return i=et(),l="".concat(u,"/site/").concat(i),t.next=7,fetch(l,{method:"GET",mode:"cors",cache:"no-cache",headers:f({"Content-Type":"application/json",lang:nt()},tt())});case 7:return m=t.sent,t.next=10,m.json();case 10:g=t.sent,y=g.name,a.topMenu[0].label=y;case 13:a.mainMenu=null===(r=s.mainMenu)||void 0===r?void 0:r.elements,h=null===(o=d.legalMenu)||void 0===o?void 0:o.elements,a.footerMenu=[{label:null,children:h}],n(a),c(!1);case 18:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return[e,o]},St=function(t){var e,n=t.emptyText,r=t.listElements,o=t.defaultOption,i=b(a(!1),2),c=i[0],l=i[1],u={label:n,value:null},s=[u].concat(S((e=null==r?void 0:r.reduce((function(t,e){if(!Array.isArray(e))return t;var n=null==e?void 0:e.map((function(t){return t.label}));return[].concat(S(t),S(n))}),[]),S(new Set(e)).map((function(t){return{label:t,value:t}}))))),d=s.find((function(t){return t.value===o})),f=b(a(d||u),2),p=f[0],v=f[1];return[s,p,function(t){return function(){v(s.find((function(e){return e.label===t}))),l(!1)}},c,l]},xt=["or","and"];function wt(t){return!!t&&xt.includes(t.toLowerCase())}function Ot(){var e=T(),n=e.publicApiUrl,r=e.siteId,o=e.renderer,a=dt().languageId,i=b(t.useState(),2),c=i[0],l=i[1],u=b(t.useState(),2),s=u[0],d=u[1],p=b(t.useState(!0),2),v=p[0],m=p[1],g=b(t.useState(!1),2),y=g[0],h=g[1],x=b(t.useState({}),2),w=x[0],O=x[1],j="editor"===o;return t.useEffect((function(){if(s){s&&function(){m(!0);var t=s.queryUrl,e=s.extra;fetch(t).then((function(t){return t.json()})).then((function(t){m(!1),h(!1),200!==(null==t?void 0:t.code)&&void 0!==(null==t?void 0:t.code)?(h(!0),O(t)):(h(!1),l(f(f({},t),{},{totalItems:e.totalItems?e.totalItems:t.totalItems})))})).catch((function(t){m(!1),h(!0),console.log(t)}))}()}}),[s]),[{query:c,isLoading:v,isError:y,msg:w},function(t){var e,o=t.data,i=t.apiUrl,c=void 0===i?"".concat(n):i,l=t.items,u=void 0===l?10:l,s=t.lang,f=void 0===s?a:s,p=t.page,v=void 0===p?1:p,m=t.site,g=void 0===m?r:m,y=t.fields,h=t.filterIds,b=t.cached,x=t.search,w=t.operator,O=t.exclude,k=j?(new Date).valueOf():b,I=null==x?void 0:x.replace(/\s/g,"+"),P="auto"===o.mode,E=o.source||o.fixed,z=function(t){var e=t.array,n=t.page,r=t.itemsPerPage;return Array.isArray(e)?S(e).splice((n-1)*r,r):[]}({array:E,page:v,itemsPerPage:u}),C=P?"/list/":"/list/fixed/",_="".concat(P?E:z,"/"),L=ot({baseUrl:"".concat(c).concat(C).concat(_),params:{site:g,lang:f,get:y,page:P?v:null,items:P?u:null,order:P?o.order:null,filter:h,maxItems:o.quantity,search:I,operator:wt(w)?w:null,exclude:(e=O,Array.isArray(e)?O:null),cached:k}});return d({queryUrl:L,extra:{totalItems:"manual"===o.mode&&o.fixed.length}})}]}function jt(){var e=T(),n=e.publicApiUrl,r=e.siteId,o=e.renderer,a=dt().languageId,i=b(t.useState(),2),c=i[0],l=i[1],u=b(t.useState(),2),s=u[0],d=u[1],p=b(t.useState(!0),2),v=p[0],m=p[1],g=b(t.useState(!1),2),y=g[0],h=g[1],S=b(t.useState({}),2),x=S[0],w=S[1],O="editor"===o;return t.useEffect((function(){if(s){s&&function(){m(!0);var t=s.queryUrl;fetch(t).then((function(t){return t.json()})).then((function(t){m(!1),h(!1),200!==(null==t?void 0:t.code)&&void 0!==(null==t?void 0:t.code)?(h(!0),w(t)):(h(!1),l(f({},t)))})).catch((function(t){m(!1),h(!0),console.log(t)}))}()}}),[s]),[{query:c,isLoading:v,isError:y,msg:x},function(t){var e=t.data,o=t.apiUrl,i=void 0===o?"".concat(n):o,c=t.lang,l=void 0===c?a:c,u=t.site,s=void 0===u?r:u,f=t.cached,p=O?(new Date).valueOf():f,v=e.source||e.fixed,m="".concat(v,"/"),g=ot({baseUrl:"".concat(i).concat("/filters/").concat(m),params:{site:s,lang:l,cached:p}});return d({queryUrl:g})}]}var kt=["libComponents"],It=function(t){var n=t.libComponents,r=h(t,kt),o=T().renderer,a="undefined"!=typeof window?parseInt(localStorage.getItem("selectedID")||0):null,i=M(n,f({},r));return"editor"===o?e.createElement(U,y({selectedEditorID:a},r),e.createElement(i,r)):e.createElement(i,r)},Pt=function(t){var n=t.header,r=t.footer,o=t.content,a=t.apiUrl,i=t.languageId,c=t.pageLanguages,l=t.library,u=l.templates,s=l.components,d=t.siteMetadata,f=u[o.template.templateType],p=o.template.heroSection?o.template.heroSection.modules[0]:void 0,v=p?p.component:void 0,m=rt({obj:o.template,searchKey:"component"});return e.createElement(C,{title:o.title,breadcrumb:o.breadcrumb,fullPath:o.fullPath,fullUrl:o.fullUrl,siteSlug:o.siteSlug,firstModule:v,apiUrl:a,languageId:i,pageLanguages:c,header:n,footer:r,siteMetadata:d,origin:o.origin,site:o.site,componentList:m,activeSectionSlug:o.template.activeSectionSlug||"/",activeSectionBase:o.template.activeSectionBase,modified:o.modified,published:o.published},!!n&&e.createElement(It,y({},n,{libComponents:s})),e.createElement(f,o.template),!!r&&e.createElement(It,y({},r,{libComponents:s})))},Et=function(t){var n=t.content,r=t.library.components;return!!n&&e.createElement(It,y({libComponents:r},n))},zt=function(t){var n=t.isPage;return void 0!==n&&n?e.createElement(Pt,t):e.createElement(Et,t)},Ct=["url","linkProp","children"],_t=function(t){var n=t.url,r=t.linkProp,o=void 0===r?"to":r,a=t.children,i=h(t,Ct),c=dt().fullUrl,l=ut()||"a",u=function(t){var e=null==t?void 0:t.href,n=null==t?void 0:t.linkToURL,r=null==n?void 0:n.match(/^\/{2}|^https?:/g),o=null==n?void 0:n.match(/^\/\w/g);return{href:e||(r?n:null),to:o?n:null}}(n),s=u.href,d=u.to,p=null==n?void 0:n.newTab,v=null==n?void 0:n.noFollow,m=f(f({},i),{},g({target:p&&"_blank",rel:"".concat(v?"nofollow":""," ").concat(p?"noreferrer":"").trim(),href:Q(c,s)},o,Q(c,d)));return d?e.createElement(e.Fragment,null,e.createElement("p",null,"Router"),e.createElement(l,m,a)):e.createElement("a",m,a)};function Lt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ut(t,e){return t(e={exports:{}},e.exports),e.exports}var Mt=Ut((function(t,n){n.__esModule=!0,n.default=void 0;var r=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var i=r?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=t[a]}n.default=t,e&&e.set(t,n);return n}(e);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c="--aspect-ratio";class l extends r.Component{constructor(){super(...arguments),i(this,"node",null),i(this,"setNode",(t=>{this.node=t}))}componentDidUpdate(){if(this.node){var{node:t}=this;t.style.getPropertyValue(c)||t.style.setProperty(c,"("+this.props.ratio+")")}}render(){var t=this.props,{children:e,ratio:n,style:o}=t,i=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["children","ratio","style"]),l=a({},o,{[c]:"("+n+")"});return r.default.createElement("div",a({},i,{ref:this.setNode,style:l}),e)}}i(l,"defaultProps",{className:"react-aspect-ratio-placeholder",ratio:1});var u=l;n.default=u}));Lt(Mt);var Tt=Ut((function(t,n){n.__esModule=!0,n.default=void 0;var r,o=(r=e)&&r.__esModule?r:{default:r};function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}var i=t=>{var{children:e,ratio:n,style:r}=t,i=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["children","ratio","style"]),c=a({},r,{"--aspect-ratio":"("+n+")"});return o.default.createElement("div",a({},i,{style:c}),e)};i.defaultProps={className:"react-aspect-ratio-placeholder",ratio:1};var c=i;n.default=c}));Lt(Tt);var At=Mt,qt=Tt,Nt=Ut((function(t,e){e.__esModule=!0,e.AspectRatio=e.default=void 0;var n=o(At),r=o(qt);function o(t){return t&&t.__esModule?t:{default:t}}var a=n.default;e.default=a;var i=r.default;e.AspectRatio=i}));Lt(Nt);var Ft=Nt.AspectRatio;L('[style*="--aspect-ratio"] > img {\n height: auto;\n}\n\n[style*="--aspect-ratio"] {\n position: relative;\n}\n\n[style*="--aspect-ratio"] > :first-child {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n[style*="--aspect-ratio"]::before {\n content: "";\n display: block;\n width: 100%;\n}\n\n@supports not (aspect-ratio: 1/1) {\n [style*="--aspect-ratio"]::before {\n height: 0;\n padding-bottom: calc(100% / (var(--aspect-ratio)));\n }\n}\n\n@supports (aspect-ratio: 1/1) {\n [style*="--aspect-ratio"]::before {\n aspect-ratio: calc(var(--aspect-ratio));\n }\n}\n');var Dt=["alt","width","height","ratio","fixed","publicId","src","objectFit"],Wt=function(t){var n=t.alt,r=t.width,o=t.height,a=t.ratio,i=t.fixed,c=t.publicId,l=t.src,u=t.objectFit,s=void 0===u?"cover":u,d=h(t,Dt),p=T().cloudinaryDefaults,v=f(f(f({},A),p),d),m=lt({crop:v.crop,format:v.format,gravity:v.gravity,quality:v.quality,sizes:v.sizes,responsive:v.responsive,width:r,height:o,ar:a,publicId:c}),g=m.srcSet,b=m.sizes,S=m.fallbackSrcImage,x=m.src,w={alt:n,width:r,height:o,loading:v.loading,style:{objectFit:s},decoding:v.decoding},O=f(f({},w),{},{src:l}),j=f(f({},w),{},{srcSet:g,sizes:b,src:x}),k=function(){return e.createElement("img",y({},l?O:j,{onError:function(t){t.target.src!==S&&(t.target.onerror=null,t.target.srcset="",t.target.sizes="",t.target.style="",t.target.src=S)}}))};return i?e.createElement(k,null):e.createElement(Ft,{ratio:a,style:{maxWidth:"100%",alignSelf:"normal"}},e.createElement(k,null))};L('.Griddo-BgImage {\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.Griddo-BgImage::before {\n z-index: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n content: "";\n display: block;\n}\n\n.Griddo-BgImage.lazy {\n background-image: none;\n}\n');var Rt=["backgroundRepeat","backgroundSize","backgroundPosition","children","overlayColor","overlayOpacity","overlayTransition","ratio","publicId","src","customLazyClassName","lazy"],Bt=function(t){var n=t.backgroundRepeat,r=void 0===n?"no-repeat":n,o=t.backgroundSize,a=void 0===o?"cover":o,i=t.backgroundPosition,c=void 0===i?"50% 50%":i,l=t.children,u=t.overlayColor,s=void 0===u?null:u,d=t.overlayOpacity,p=void 0===d?0:d,v=t.overlayTransition,m=void 0===v?"2s":v,g=t.ratio,y=t.publicId,b=t.src,x=t.customLazyClassName,w=void 0===x?"lazy":x,O=t.lazy,j=h(t,Rt),k=T().cloudinaryDefaults,I=f(f(f(f({},k),A),j),{},{backgroundLazy:k.backgroundLazy||A.backgroundLazy||O}),P=lt({responsive:S(I.responsive),quality:I.quality,crop:I.crop,gravity:I.gravity,format:I.format,publicId:y,ar:g}).srcSetURL,E=b?[b]:P,z=b?[]:I.responsive.map((function(t){return t.breakpoint})),C="Griddo-BgImage--".concat(Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,8)),_=I.backgroundLazy?w:"",L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array(t).fill(0).map((function(t,n){return n+e}))}(E.length-1,1).map((function(t){return"@media (min-width: ".concat(z[t],") {\n .").concat(C," {\n background-image: url(").concat(E[t],");\n }\n }\n ")})).join("");return e.createElement(e.Fragment,null,e.createElement("style",{dangerouslySetInnerHTML:{__html:"\n\n .".concat(C," {\n background-repeat: ").concat(r,";\n background-position: ").concat(c,";\n background-size: ").concat(a,";\n background-image: url(").concat(E[0],");\n }\n\n ").concat(L,"\n\n .").concat(C,"::before {\n transition: all ").concat(m," ease;\n background-color: rgba(0, 0, 0, ").concat(p,");\n ").concat(s?"\n background-color: ".concat(s,";\n opacity: ").concat(p,";\n "):"","\n }")}}),e.createElement("div",{className:"Griddo-BgImage ".concat(C," ").concat(_)},l))};function Gt(e){var n=e.data;return t.createElement("script",{dangerouslySetInnerHTML:{__html:"(function(){\n const ldJsonScript = document.createElement('script');\n ldJsonScript.setAttribute('type', 'application/ld+json');\n ldJsonScript.textContent = `".concat(JSON.stringify(n),"`;\n document.head.appendChild(ldJsonScript);\n})();")}})}var Ht="pre",Jt="pro";var Xt=["activeClassName","activeStyle","style","children","getProps","partiallyActive","state","url","title","className"];function Kt(e){var n=e.activeClassName,r=void 0===n?"":n,o=e.activeStyle,a=void 0===o?{}:o,i=e.style,c=void 0===i?{}:i,l=e.children,u=e.getProps,s=e.partiallyActive,d=e.state,f=e.url,p=e.title,v=e.className,m=void 0===v?"":v,g=h(e,Xt),b=T(),S=b.renderer,x=b.linkComponent,w=dt().fullPath,O="editor"===S,j=null==f?void 0:f.href,k=null==f?void 0:f.linkToURL,I=null==f?void 0:f.newTab,P=null==f?void 0:f.noFollow,E=!(null!=f&&f.linkToURL||null!=f&&f.href),z=k==="".concat(null==w?void 0:w.domainUrl).concat(null==w?void 0:w.compose),C=function(t){var e;return null!=t&&null!==(e=t.domainUrl)&&void 0!==e&&e.endsWith("/".concat(t.domain))?Jt:Ht}(w),_=function(t,e){return"".concat(e?"nofollow":""," ").concat(t?"noreferrer":"").trim()}(P,I),L=function(t){return t?"_blank":"_self"}(I),U=function(t){var e,n=t.env,r=t.fullPath,o=t.to;if(n===Ht){var a,i=null==r||null===(a=r.domainUrl)||void 0===a?void 0:a.split(r.domain).join("");return null==o?void 0:o.split(i)[1]}return n===Jt?null==o||null===(e=o.split(null==r?void 0:r.domainUrl))||void 0===e?void 0:e.join(""):o}({env:C,fullPath:w,to:k}),M=I?k:!O&&!E&&U;return j?t.createElement("a",y({target:L,rel:_,href:j,className:m,title:p},g),l):t.createElement(x,y({},g,{rel:_,target:L,to:M,getProps:u,partiallyActive:s,state:d,activeStyle:a,activeClassName:r,title:O?U:p,style:z?a:c,className:z?"".concat(m," ").concat(r||"").trim():m}),l)}var Vt=[l],Yt=[u,s];function $t(e){var n=e.children,r=e.source;return t.createElement(c,y({remarkPlugins:Vt,rehypePlugins:Yt,children:n||r},e))}export{Bt as CloudinaryBackgroundImage,Wt as CloudinaryImage,It as Component,Kt as GriddoLink,Gt as LdJson,_t as Link,Pt as Page,_ as PageConsumer,z as PageContext,C as PageProvider,zt as Preview,$t as RichText,E as SiteConsumer,I as SiteContext,P as SiteProvider,M as getComponent,nt as getLang,et as getSiteID,tt as getToken,V as parseTheme,jt as useDataFilters,ht as useDistributorData,St as useFilter,yt as useI18n,lt as useImage,ut as useLink,Ot as useList,dt as usePage,T as useSite,bt as useSitemap};
|