pulls.review 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/client/assets/ActionButton-V4dY2wPS.js +1 -0
- package/dist/client/assets/ActionIconButton-4b5xelMn.js +1 -0
- package/dist/client/assets/ChatMessage-Ccffh_8Z.js +80 -0
- package/dist/client/assets/ChatWidget-BFjNWi3R.js +1 -0
- package/dist/client/assets/DisplayFileIcon-DIcJdZir.js +151 -0
- package/dist/client/assets/GithubAvatar-DGJrpCsX.js +1 -0
- package/dist/client/assets/LandingHero-CS9lP7Qs.js +1 -0
- package/dist/client/assets/LocalAgentSettings-C4AeYCZ0.js +1 -0
- package/dist/client/assets/ModelPicker-CDTiUMZ3.js +3 -0
- package/dist/client/assets/SelectViewport-DF4P4Akh.js +1 -0
- package/dist/client/assets/_repo_-DtGh1V5_.js +22 -0
- package/dist/client/assets/analyze-CTcNbJBk.js +1 -0
- package/dist/client/assets/anthropic-messages-Btz8sjqp.js +41 -0
- package/dist/client/assets/browser-agent-rpc-BXhoSh1z-DrvKG05N.js +1 -0
- package/dist/client/assets/core-messages-CsAgH4H9.js +1 -0
- package/dist/client/assets/de-DQCc3irO.js +1 -0
- package/dist/client/assets/diagnostics-CrG4-M7r.js +1 -0
- package/dist/client/assets/{diff-BKQFn0my.js → diff-Bq6jHPox.js} +3 -3
- package/dist/client/assets/diff-BsZcYqbE.js +1 -0
- package/dist/client/assets/diffs-store-CzecLzBW.js +1431 -0
- package/dist/client/assets/en-CBwAorrh.js +1 -0
- package/dist/client/assets/{es-QcvEBShr.js → es-hetdr90_.js} +1 -1
- package/dist/client/assets/floating-ui.dom-CfpSQvPs.js +1 -0
- package/dist/client/assets/fr-Cayf6fbk.js +1 -0
- package/dist/client/assets/i18n-CgsK6PK3.js +2 -0
- package/dist/client/assets/{id-NIGs9Xhn.js → id-lw2zLhUO.js} +1 -1
- package/dist/client/assets/index-DP4XBqUv.js +2 -0
- package/dist/client/assets/index-DSHKSKKf.css +1 -0
- package/dist/client/assets/install-DKy8VRs5.js +4 -0
- package/dist/client/assets/{it-DjRuurmk.js → it-BfFzmCsC.js} +1 -1
- package/dist/client/assets/{ja-BAKkDsQ5.js → ja-DxaV4C1r.js} +1 -1
- package/dist/client/assets/ko-D93r2P2k.js +1 -0
- package/dist/client/assets/llm-XBWohzAo.js +87 -0
- package/dist/client/assets/llm-store-7CdL0d74.js +1 -0
- package/dist/client/assets/local-agents-BQLn-Ppw.js +1 -0
- package/dist/client/assets/models-D651LTTp.js +8 -0
- package/dist/client/assets/nanoid-Cya-tyvy.js +1 -0
- package/dist/client/assets/node.browser-C0q8i5sA.js +1 -0
- package/dist/client/assets/{openai-completions-CSvY9IVo.js → openai-completions-DvmbMyzl.js} +5 -5
- package/dist/client/assets/pages-Tf2MYsp8.js +1 -0
- package/dist/client/assets/pages-local-iBHcLWBK.js +1 -0
- package/dist/client/assets/pages-web-Bmq8l7JI.js +21 -0
- package/dist/client/assets/portalTarget-DQg8GgWm.js +1 -0
- package/dist/client/assets/pt-BR-Isafy_5V.js +1 -0
- package/dist/client/assets/rpc-backends-CLzNPIWN.js +1 -0
- package/dist/client/assets/ru-Bx9Wj7Aa.js +1 -0
- package/dist/client/assets/runtime-dom.esm-bundler-Du_ZCcVN.js +2 -0
- package/dist/client/assets/{source-hSji-yvG.js → source-Dk1PNoY7.js} +1 -1
- package/dist/client/assets/sync-interval-oKvsW-lT.js +1 -0
- package/dist/client/assets/{transform-messages-C8U1xonk.js → transform-messages-Cg_2u7I2.js} +1 -1
- package/dist/client/assets/upload-CFwsDMhO.js +1 -0
- package/dist/client/assets/useDocumentTitle-ByFCALbG.js +92 -0
- package/dist/client/assets/useNonce-CwUrgryd.js +1 -0
- package/dist/client/assets/{vue-i18n-DVI_S4Q5.js → vue-i18n-CGHHpbTP.js} +3 -3
- package/dist/client/assets/zh-CN-CgGEKuLF.js +1 -0
- package/dist/client/assets/zh-TW-DzNR26_1.js +1 -0
- package/dist/client/index.html +9 -8
- package/dist/devframe-D66W-pHy.mjs +1002 -0
- package/dist/devframe.mjs +1 -1
- package/dist/index.mjs +28 -8
- package/package.json +7 -3
- package/dist/client/assets/ChatWidget-BsnoQ6oS.js +0 -1
- package/dist/client/assets/DisplayFileIcon-DzBo3Ez5.js +0 -151
- package/dist/client/assets/GithubAvatar-CSsUV5vf.js +0 -1
- package/dist/client/assets/LandingHero-BkTBSu71.js +0 -1
- package/dist/client/assets/_repo_-Dcgj3PGg.js +0 -22
- package/dist/client/assets/analyze-509KQQBC.js +0 -1
- package/dist/client/assets/anthropic-messages-Cd2DkgOC.js +0 -41
- package/dist/client/assets/browser-agent-rpc-BXhoSh1z-DrxWeI3_.js +0 -1
- package/dist/client/assets/de-Bq9RfdAn.js +0 -1
- package/dist/client/assets/diff-Bx6SazPw.js +0 -1
- package/dist/client/assets/diffs-store-ncE62OUU.js +0 -1510
- package/dist/client/assets/dist-Dh0a8u-Y.js +0 -1
- package/dist/client/assets/en-8hQdak1X.js +0 -1
- package/dist/client/assets/fr-DAWKVvDP.js +0 -1
- package/dist/client/assets/i18n-CGV_MDS8.js +0 -2
- package/dist/client/assets/index-BCCy9wJJ.js +0 -2
- package/dist/client/assets/index-BDPZiDIt.css +0 -1
- package/dist/client/assets/install-B-q5w2uE.js +0 -4
- package/dist/client/assets/ko-DHculY2W.js +0 -1
- package/dist/client/assets/llm-DYDmh8Ki.js +0 -2
- package/dist/client/assets/llm-store-CVM33nlB.js +0 -2
- package/dist/client/assets/node.browser-BX-QLlU2.js +0 -1
- package/dist/client/assets/pages-B5mEqsbn.js +0 -1
- package/dist/client/assets/pages-local-x_ACBinc.js +0 -1
- package/dist/client/assets/pages-web-DitAPN6U.js +0 -21
- package/dist/client/assets/portalTarget-C60SzJiK.js +0 -1
- package/dist/client/assets/pt-BR-LLtJ99P6.js +0 -1
- package/dist/client/assets/ru-DvkrOLxc.js +0 -1
- package/dist/client/assets/runtime-dom.esm-bundler-CqL7__VR.js +0 -2
- package/dist/client/assets/upload-GnI9kmJu.js +0 -1
- package/dist/client/assets/useDocumentTitle-nuqxXiNo.js +0 -185
- package/dist/client/assets/zh-CN-BIibd6kG.js +0 -1
- package/dist/client/assets/zh-TW-3FtUHjoZ.js +0 -1
- package/dist/devframe-CX5butdC.mjs +0 -493
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{$ as t,Bt as n,Dr as r,F as i,G as a,H as o,K as s,Kt as c,M as l,Nt as u,Q as d,Rt as f,U as p,W as m,Wn as h,Yn as g,bt as _,er as v,et as y,ft as b,lt as x,mn as S,n as C,qn as w,tt as ee,yn as te}from"./vue-i18n-CGHHpbTP.js";import{t as ne}from"./ActionButton-V4dY2wPS.js";function re(e){let t=[],n=``,r=!1;for(let i=0;i<e.length;i++){let a=e[i],o=a===`|`&&i>0&&e[i-1]===`\\`;a===`|`&&!o?(r&&n&&(t.push(n.length),n=``),r=!0):r&&(n+=a)}return r&&n&&t.push(n.length),t}function ie(e){let t=[],n=``,r=!1;for(let i=0;i<e.length;i++){let a=e[i],o=a===`|`&&i>0&&e[i-1]===`\\`;a===`|`&&!o?(r&&(t.push(n.trim()),n=``),r=!0):r&&(n+=a)}return n.trim()&&t.push(n.trim()),t}function ae(e){let t=e.split(`
|
|
2
|
+
`),n=[],r=-1;for(let e=0;e<t.length;e++)t[e].trim().startsWith(`|`)?r===-1&&(r=e):r!==-1&&(n.push({start:r,end:e-1}),r=-1);if(r!==-1&&n.push({start:r,end:t.length-1}),n.length===0)return e;let{start:i,end:a}=n[n.length-1];t[i].trim().endsWith(`|`)||(t[i]+=` |`);let o=re(t[i].trim()).length,s=()=>`| `+Array(o).fill(`---`).join(` | `)+` |`,c=a-i>=1?t[i+1].trim():``,l=c.startsWith(`|`)&&(c.includes(`-`)||c.includes(`:`)),u=t[a].trim();if(u.startsWith(`|`)&&(u.includes(`-`)||u.includes(`:`))){let e=ie(u).map(e=>{let t=e.startsWith(`:`),n=e.endsWith(`:`)&&e.length>1,r=e.replace(/^:/,``).replace(/:$/,``);if(t&&n)return r.length<1&&(r=`-`),`:`+r+`:`;if(t)return r.length<1&&(r=`-`),`:`+r;if(n)return r.length<1&&(r=`-`),r+`:`;for(;r.length<3;)r+=`-`;return r});for(;e.length<o;)e.push(`---`);t[a]=`| `+e.join(` | `)+` |`}else if(u.startsWith(`|`)&&!u.endsWith(`|`)){let e=t[i].trim();for(let n=i+(l?2:1);n<a;n++){let r=t[n].trim();if(r.startsWith(`|`)&&r.endsWith(`|`)&&!r.includes(`-`)){e=r;break}}let n=re(e),r=ie(u),o=r[r.length-1]??``,s=/(?:\*\*?|__?|~~|`|\$)$/.test(o)||/(?:\*\*|__|~~|`)[^\s*_~`]+$/.test(o),c=`| `+r.map((e,t)=>{let r=n[t]||e.length+2;return e+` `.repeat(Math.max(0,r-e.length-2))}).join(` | `);t[a]=s?c:c+` |`}return l||t.splice(i+1,0,s()),t.join(`
|
|
3
|
+
`)}function oe(e,t={}){if(!e)return e;let n=t.syntax!==!1,r=t.attributes??n,i=t.linkMode??`protocol`,a=t.incompleteLinkPlaceholder??`comark:incomplete-link`,o=t.incompleteImagePlaceholder??`comark:incomplete-image`,s=t.math===!0;t.dropTrailingOpeners===!0&&(e=de(e));let c=e.split(`
|
|
4
|
+
`),l=c.length,u=!1,d=!1,f=-1,p=null,m=!1,h=!1,g=[],_=/^<(script|pre|style|textarea)(\s|>|$)/i;for(let e=0;e<l;e++){let r=c[e],i=r.trim();if(p){RegExp(`</${p}\\s*>`,`i`).test(r)&&(p=null);continue}let a=i.match(_);if(a){let e=a[1].toLowerCase();RegExp(`</${e}\\s*>`,`i`).test(r)||(p=e);continue}if(se(r)){let e=r.trim();if(e.startsWith("```")&&e.endsWith("``")&&!e.endsWith("```")&&!e.slice(3).includes("```"))continue;m=!m;continue}if(!m){if(s&&i===`$$`){h=!h;continue}if(e===0&&t.frontmatter&&i===`---`){u=!0;continue}if(u){i===`---`?u=!1:i&&(d=!0);continue}if(i===`---`&&g.length>0){let e=g[g.length-1];e.hasYamlProps=!e.hasYamlProps;continue}if(i.startsWith(`|`)?f=f===-1?e:f:f!==-1&&(f=-1),e===l-1&&n&&i[0]===`:`&&g.length===0){let t=0;for(;t<i.length&&i[t]===`:`;)t++;i.slice(t).trim()===``&&(c[e]=``)}if(n&&i[0]===`:`){let e=0;for(;e<i.length&&i[e]===`:`;)e++;if(e>=2){let t=0;for(;t<r.length&&(r[t]===` `||r[t]===` `);)t++;let n=r.slice(0,t),a=i[e]??``;if(a>=`a`&&a<=`z`||a>=`A`&&a<=`Z`||a===`$`){let t=e;for(;t<i.length;){let e=i[t];if(!(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e>=`0`&&e<=`9`||e===`$`||e===`.`||e===`-`||e===`_`))break;t++}g.push({depth:e,name:i.slice(e,t),indent:n,hasYamlProps:!1})}else e===i.length&&g.length>0&&g[g.length-1].depth===e&&g.pop()}}}}if(!m&&!u&&!h){let e=l-1;for(;e>0&&c[e]===``;)e--;let t=e>=0?c[e]:``,n=t.trim(),u=n.startsWith("```")&&n.endsWith("``")&&!n.endsWith("```");t!==``&&n!==`$$`&&(!se(t)||u)&&(c[e]=fe(t,{attributesEnabled:r,linkMode:i,linkPh:a,imagePh:o,math:s}))}let v=c.join(`
|
|
5
|
+
`);if(v=ve(v),f!==-1&&(v=ae(v)),s&&h&&(v+=v.endsWith(`
|
|
6
|
+
`)?`$$`:`
|
|
7
|
+
$$`),u&&d){let e=(v.includes(`
|
|
8
|
+
`)?v.slice(v.lastIndexOf(`
|
|
9
|
+
`)+1):v).trim().replace(/\u200B/g,``);e===`-`||e===`--`?v=v.replace(/\u200B+$/,``)+`-`.repeat(3-e.length):v+=v.endsWith(`
|
|
10
|
+
`)?`---`:`
|
|
11
|
+
---`}if(n&&e.includes(`::`)){let e=v.lastIndexOf(`
|
|
12
|
+
`)+1,t=v.slice(e),n=-1;for(let e=t.length-1;e>=0&&t[e]!==`}`;e--)if(t[e]===`{`){n=e;break}if(n>=0){let e=t.slice(n+1),r=0,i=0;for(let t=0;t<e.length;t++)e[t]===`"`&&r++,e[t]===`'`&&i++;v+=(r%2==1?`"`:``)+(i%2==1?`'`:``)+`}`}if(g.length>0){let e=g[g.length-1],t=v.slice(v.lastIndexOf(`
|
|
13
|
+
`)+1).trim().replace(/\u200B/g,``);e.hasYamlProps&&(t===`-`||t===`--`)&&(v=v.replace(/\u200B+$/,``)+`-`.repeat(3-t.length),e.hasYamlProps=!1);let n=[];for(;g.length;){let e=g.pop();e.hasYamlProps&&n.push(e.indent+`---`),n.push(e.indent+`:`.repeat(e.depth))}v+=`
|
|
14
|
+
`+n.join(`
|
|
15
|
+
`)}}return v}function se(e){let t=0;for(;t<e.length&&(e[t]===` `||e[t]===` `);)t++;let n=e[t];if(n!=="`"&&n!==`~`)return!1;let r=0;for(;t+r<e.length&&e[t+r]===n;)r++;return r>=3}function ce(e){if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===95}function le(e){return e===``||e===` `||e===` `||e===`
|
|
16
|
+
`}var ue=`*_$:[{!`;function de(e){let t=e.length;for(;t>0;){let n=e[t-1];if(n===` `||n===` `||n===`
|
|
17
|
+
`||n===`\r`)t--;else break}if(t===0)return e;let n=t;for(;n>0&&ue.includes(e[n-1])&&!(n>=2&&e[n-2]===`\\`);)n--;if(n===t)return e;let r=n>0?e[n-1]:``;if(r!==``&&r!==` `&&r!==` `&&r!==`
|
|
18
|
+
`&&r!==`\r`)return e;let i=n;return i>0&&(e[i-1]===` `||e[i-1]===` `)&&i--,e.slice(0,i)+e.slice(t)}function fe(e,t){if(e.endsWith(` `)&&!e.endsWith(` `)){let t=e.lastIndexOf(`
|
|
19
|
+
`),n=t===-1?e:e.slice(t+1);/^[ \t]*[A-Za-z_][\w.-]*: $/.test(n)||(e=e.slice(0,-1))}let n=e.length,r=[],i=[],a=!1,o=!1,s=!1,c=!1,l=!1,u=!1,d=0,f=0,p=0,m=!1,h=-1,g=0,_=0,v=0,y=(e,t,n)=>{let r=!le(t)&&i[i.length-1]===e,a=!le(n);r?i.pop():a&&i.push(e)},b=e=>{i[i.length-1]===e?i.pop():i.push(e)};for(let x=0;x<n;x++){let S=e[x],C=x>0?e[x-1]:``,w=x+1<n?e[x+1]:``;if(S===`
|
|
20
|
+
`){r.push(S),f=x+1;continue}if(x===f||x>0&&e[x-1]===`
|
|
21
|
+
`){let t=x;for(;t<n&&(e[t]===` `||e[t]===` `);)t++;let i=e[t];if(i==="`"||i===`~`){let o=0;for(;t+o<n&&e[t+o]===i;)o++;if(o>=3){let o=t;for(;o<n&&e[o]!==`
|
|
22
|
+
`;)o++;let s=e.slice(t,o);if(i==="`"&&s.startsWith("```")&&s.endsWith("``")&&!s.endsWith("```")&&!s.slice(3).includes("```")){for(;x<o;)r.push(e[x]),x++;r.push("`"),x--;continue}for(a=!a;x<n&&e[x]!==`
|
|
23
|
+
`;)r.push(e[x]),x++;x<n?(r.push(`
|
|
24
|
+
`),f=x+1):x--;continue}}}if(a){r.push(S);continue}if(S===`\\`){r.push(S),x+1<n&&r.push(e[++x]);continue}if(S===`>`){let t=x;for(;t>0&&e[t-1]!==`
|
|
25
|
+
`;)t--;let n=e.slice(t,x);if(/^(\s*(?:[-*+]|\d+[.)]) +)$/.test(n)&&/^=?\s*\$?\d/.test(e.slice(x+1))){r.push(`\\`,`>`);continue}}if(S===`~`&&w!==`~`&&C!==`~`&&ce(C)&&ce(w)&&!o&&!s&&!c&&!ye(e,x)){r.push(`\\`,`~`);continue}if(S===`<`&&(w>=`a`&&w<=`z`||w>=`A`&&w<=`Z`||w===`/`)&&(h=r.length),S===`>`&&(h=-1),o){r.push(S),S==="`"&&w!=="`"&&C!=="`"&&(o=!1,i[i.length-1]==="`"&&i.pop());continue}if(c){r.push(S),S===`$`&&w===`$`&&(r.push(`$`),x++,c=!1,i[i.length-1]===`$$`&&i.pop());continue}if(s){r.push(S),S===`$`&&w!==`$`&&(s=!1,i[i.length-1]===`$`&&i.pop());continue}if(l){r.push(S),S===`\\`&&w===`)`&&(r.push(`)`),x++,l=!1);continue}if(u){r.push(S),S===`\\`&&w===`]`&&(r.push(`]`),x++,u=!1);continue}if(t.attributesEnabled&&S===`{`&&C&&C!==` `&&C!==` `&&C!==`
|
|
26
|
+
`){d++,r.push(S);continue}if(t.attributesEnabled&&S===`}`){d>0&&d--,r.push(S);continue}if(d>0){r.push(S);continue}if(S===`[`){p++,r.push(S);continue}if(S===`]`){p>0&&p--,r.push(S),w===`(`&&(m=!0);continue}if(m){r.push(S),S===`)`&&p===0&&(m=!1);continue}if(p>0){r.push(S);continue}if(S==="`"){if(w==="`"&&e[x+2]==="`"){r.push("`","`","`"),x+=2;continue}r.push(S),o=!0,i.push("`");continue}if(S===`$`){r.push(S),w===`$`?(r.push(`$`),x++,t.math&&(c=!c,b(`$$`))):t.math&&be(e,x)&&(s=!0,i.push(`$`));continue}if(S===`*`){let t=x;for(;t+1<n&&e[t+1]===`*`;)t++;let a=t-x+1,o=t+1<n?e[t+1]:``,s=le(C),c=le(o),l=a===1&&s&&c;for(let e=x;e<=t;e++)r.push(`*`);if(!l){if(a===1&&ce(C)&&ce(o)&&g%2==0){x=t;continue}if(g+=a,a===1)y(`*`,C,o);else if(a===2)_++,y(`**`,C,o);else if(a>=3){let r=x;for(;r>0&&e[r-1]!==`
|
|
27
|
+
`;)r--;let c=t+1;for(;c<n&&e[c]!==`
|
|
28
|
+
`;)c++;let l=e.slice(r,c),u=!0;for(let e=0;e<l.length;e++){let t=l[e];if(t!==`*`&&t!==` `&&t!==` `){u=!1;break}}if(u){x=t;continue}if(a===3){let e=i.includes(`*`),t=i.includes(`**`);if(e&&t&&!s){for(let e=i.length-1;e>=0;e--)(i[e]===`*`||i[e]===`**`)&&i.splice(e,1);_++}else v++,y(`***`,C,o)}else{let e=Math.floor(a/2);for(let t=0;t<e;t++)_++,y(`**`,C,o);a%2==1&&y(`*`,C,o)}x=t;continue}}x=t;continue}if(S===`_`){let t=x;for(;t+1<n&&e[t+1]===`_`;)t++;let i=t-x+1,a=t+1<n?e[t+1]:``,o=le(C)&&le(a);for(let e=x;e<=t;e++)r.push(`_`);if(i>=3){let r=x;for(;r>0&&e[r-1]!==`
|
|
29
|
+
`;)r--;let i=t+1;for(;i<n&&e[i]!==`
|
|
30
|
+
`;)i++;let a=e.slice(r,i),o=!0;for(let e=0;e<a.length;e++){let t=a[e];if(t!==`_`&&t!==` `&&t!==` `){o=!1;break}}if(o){x=t;continue}}if(!(ce(C)&&ce(a))&&!o){if(i===1)y(`_`,C,a);else if(i>=2){let e=Math.floor(i/2);for(let t=0;t<e;t++)y(`__`,C,a);i%2==1&&y(`_`,C,a)}}x=t;continue}if(S===`~`){let t=x;for(;t+1<n&&e[t+1]===`~`;)t++;let i=t-x+1,a=t+1<n?e[t+1]:``,o=le(C)&&le(a);for(let e=x;e<=t;e++)r.push(`~`);if(!o&&i>=2){let e=Math.floor(i/2);for(let t=0;t<e;t++)y(`~~`,C,a)}x=t;continue}r.push(S)}let x=r.join(``);h>=0&&(x=pe(x));let S=ge(x,t);if(S!==x){if(t.linkMode===`protocol`&&(S.endsWith(`](${t.linkPh})`)||S.endsWith(`](${t.imagePh})`)))return S;x=S}if(i.length===0||me(x))return x;if(o){let e=x.lastIndexOf("`");if((e>=0?x.slice(e+1):``).length>0){let e=-1;for(let t=0;t<i.length;t++)i[t]==="`"&&(e=t);let t=``;if(e>0)for(let n=e-1;n>=0;n--){let e=i[n];(e===`**`||e===`*`||e===`__`||e===`_`||e===`~~`||e===`***`)&&(t+=e)}for(let n=i.length-1;n>e;n--){let e=i[n];(e===`**`||e===`*`||e===`__`||e===`_`||e===`~~`||e===`***`)&&(t+=e)}return x+t+"`"}return x}return x=he(x,i,{asteriskTotal:g,doubleAsteriskCount:_,tripleCount:v}),x}function pe(e){for(let t=e.length-1;t>=0;t--){if(e[t]===`>`||e[t]===`
|
|
31
|
+
`)return e;if(e[t]===`<`){let n=e[t+1]??``;return n>=`a`&&n<=`z`||n>=`A`&&n<=`Z`||n===`/`?e.slice(0,t).replace(/[ \t]+$/,``):e}}return e}function me(e){let t=e.lastIndexOf(`
|
|
32
|
+
`),n=(t===-1?e:e.slice(t+1)).trim();return n?!!(n===`*`||n===`**`||n===`***`||n===`****`||n===`_`||n===`__`||n===`___`||n===`~`||n===`~~`||n==="`"||/^\*{3,}$/.test(n)||/^_{3,}$/.test(n)||/^-{3,}$/.test(n)):!1}function he(e,t,n){if(/\*\*\*[^*]+\*{1,2}$/.test(e)&&!/\*{3}$/.test(e)){let r=e.match(/\*+$/)?.[0].length??0;if(r>=1&&r<=2&&(t.includes(`***`)||n.tripleCount%2==1))return e+`*`.repeat(3-r)}if(/\*\*[^*]+\*$/.test(e)&&t.includes(`**`)&&!t.includes(`***`))return e+`*`;if(/__[^_]+_$/.test(e)&&t.includes(`__`))return e+`_`;if(/~~[^~]+~$/.test(e)&&t.includes(`~~`))return e+`~`;let r=n.doubleAsteriskCount>=2&&n.doubleAsteriskCount%2==0&&n.asteriskTotal%2==0,i=t.slice();r&&(i=i.filter(e=>e!==`***`&&e!==`**`&&e!==`*`));let a=[];for(let t=i.length-1;t>=0;t--){let n=i[t];if(n===`$$`){a.push(`$$`);continue}if(n===`$`){a.push(`$`);continue}if(n==="`")continue;let r=n,o=e.lastIndexOf(r);o<0||xe(e.slice(o+r.length))&&a.push(n)}if(a.length===0)return e;if(a.includes(`*`)||a.includes(`**`)||a.includes(`***`)){let e=null;for(let t of a)if(t===`*`||t===`**`||t===`***`){e=t;break}if(e===`*`&&a.includes(`**`)&&!a.includes(`***`)&&a[0]===`*`)for(let e=a.length-1;e>=0;e--)(a[e]===`**`||a[e]===`***`)&&a.splice(e,1)}let o=``;for(let t of a)if(t===`$$`){if(e.endsWith(`$`)&&!e.endsWith(`$$`))o+=`$`;else{let t=e.indexOf(`$$`),n=t!==-1&&e.indexOf(`
|
|
33
|
+
`,t)!==-1;o+=n&&!e.endsWith(`
|
|
34
|
+
`)?`
|
|
35
|
+
$$`:`$$`}}else o+=t;if(e.endsWith(` `)&&!e.endsWith(` `))return e.slice(0,-1)+o;let s=e.length;for(;s>0&&e[s-1]===`
|
|
36
|
+
`;)s--;return s<e.length?e.slice(0,s)+o+e.slice(s):e+o}function ge(e,t){let n=e.lastIndexOf(`](`);if(n!==-1&&!e.slice(n+2).includes(`)`)&&!_e(e,n)){let r=1,i=-1;for(let t=n-1;t>=0;t--)if(e[t]===`]`)r++;else if(e[t]===`[`&&(r--,r===0)){i=t;break}if(i>=0&&!_e(e,i)){let r=i>0&&e[i-1]===`!`,a=r?i-1:i,o=e.slice(0,a),s=e.slice(i+1,n);return r?`${o}`:t.linkMode===`text-only`?o+s:`${o}[${s}](${t.linkPh})`}}for(let n=e.length-1;n>=0;n--){if(e[n]!==`[`||_e(e,n))continue;let r=n>0&&e[n-1]===`!`,i=1,a=-1;for(let t=n+1;t<e.length;t++)if(e[t]===`[`)i++;else if(e[t]===`]`&&(i--,i===0)){a=t;break}if(a===-1){let i=r?n-1:n,a=e.slice(0,i);return r?`${a}`:t.linkMode===`text-only`?e.slice(0,n)+e.slice(n+1):`${e}](${t.linkPh})`}if(r&&(a===e.length-1||e[a+1]!==`(`)&&e.slice(a+1).trim()===``)return`${e.slice(0,n-1)}`}return e}function _e(e,t){let n=!1,r=0;for(;r<t;){if(r===0||e[r-1]===`
|
|
37
|
+
`){let t=r;for(;t<e.length&&(e[t]===` `||e[t]===` `);)t++;let i=e[t];if(i==="`"||i===`~`){let a=0;for(;t+a<e.length&&e[t+a]===i;)a++;if(a>=3){for(n=!n;r<e.length&&e[r]!==`
|
|
38
|
+
`;)r++;r<e.length&&r++;continue}}}r++}return n}function ve(e){let t=e.lastIndexOf(`
|
|
39
|
+
`);if(t===-1)return e;let n=e.slice(t+1),r=n.trim();if(!/^(-{1,2}|={1,2})$/.test(r)||/\s$/.test(n)&&n!==r)return e;let i=e.slice(0,t),a=i.lastIndexOf(`
|
|
40
|
+
`),o=(a===-1?i:i.slice(a+1)).trim();return!o||o===`---`||/^[A-Za-z_][\w.-]*\s*:/.test(o)?e:e+``}function ye(e,t){let n=t=>{if(e[t]!==`~`)return!1;let n=t>0?e[t-1]:``,r=t+1<e.length?e[t+1]:``;return n!==`~`&&r!==`~`},r=(t,n)=>{if(n-t<1)return!1;for(let r=t;r<n;r++){let t=e[r];if(t===`~`||t===` `||t===` `||t===`
|
|
41
|
+
`||t===`\r`)return!1}return!0};for(let i=t-1;i>=0&&e[i]!==`
|
|
42
|
+
`;i--)if(e[i]===`~`)return!n(i)||!ce(i>0?e[i-1]:``)||!ce(t+1<e.length?e[t+1]:``)?!1:r(i+1,t);for(let i=t+1;i<e.length&&e[i]!==`
|
|
43
|
+
`;i++)if(e[i]===`~`)return!n(i)||!ce(t>0?e[t-1]:``)||!ce(i+1<e.length?e[i+1]:``)?!1:r(t+1,i);return!1}function be(e,t){let n=t+1<e.length?e[t+1]:``;return!(!n||n===` `||n===` `||n===`
|
|
44
|
+
`||n>=`0`&&n<=`9`||(t>0?e[t-1]:``)===`:`)}function xe(e){for(let t=0;t<e.length;t++){let n=e[t];if(n!==` `&&n!==` `&&n!==`
|
|
45
|
+
`&&n!==`\r`&&n!==`*`&&n!==`_`&&n!==`~`&&n!=="`")return!0}return!1}function Se(e){if(typeof e==`string`||e.length<2)return e;let[t,n,...r]=e,i=r.filter(e=>typeof e!=`string`||e&&e.trim());if(i.length===0)return e;if(i.length>1||typeof i[0]==`string`||i[0][0]!==`p`)return[t,n,...r.map(e=>Se(e))];let a=i[0][1];return[t,a&&Object.keys(a).length>0?{...a,...n}:n,...i[0].slice(2)]}var Ce=Object.defineProperty,we=(e,t)=>{let n={};for(var r in e)Ce(n,r,{get:e[r],enumerable:!0});return t&&Ce(n,Symbol.toStringTag,{value:`Module`}),n},Te=new Map([[0,65533],[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]]),Ee=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function De(e){return e>=55296&&e<=57343||e>1114111?65533:Te.get(e)??e}function Oe(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`binary`):new Buffer(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}var ke=Oe(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd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YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg`),T;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(T||={});var E;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(E||={});var Ae=32;function je(e){return e>=E.ZERO&&e<=E.NINE}function Me(e){return e>=E.UPPER_A&&e<=E.UPPER_F||e>=E.LOWER_A&&e<=E.LOWER_F}function Ne(e){return e>=E.UPPER_A&&e<=E.UPPER_Z||e>=E.LOWER_A&&e<=E.LOWER_Z||je(e)}function Pe(e){return e===E.EQUALS||Ne(e)}var D;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(D||={});var Fe;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Fe||={});var Ie=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=D.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Fe.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=D.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case D.EntityStart:return e.charCodeAt(t)===E.NUM?(this.state=D.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=D.NamedEntity,this.stateNamedEntity(e,t));case D.NumericStart:return this.stateNumericStart(e,t);case D.NumericDecimal:return this.stateNumericDecimal(e,t);case D.NumericHex:return this.stateNumericHex(e,t);case D.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Ae)===E.LOWER_X?(this.state=D.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=D.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(je(n)||Me(n)){let e=n<=E.NINE?n-E.ZERO:(n|Ae)-E.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(je(n))this.result=this.result*10+(n-E.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===E.SEMI)this.consumed+=1;else if(this.decodeMode===Fe.Strict)return 0;return this.emitCodePoint(De(this.result),this.consumed),this.errors&&(e!==E.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&T.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&T.FLAG13)!==0){let a=(r&T.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&T.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&T.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===E.SEMI&&i!==0&&(r&T.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=Re(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Fe.Attribute&&(i===0||Pe(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&T.VALUE_LENGTH)>>14,i!==0){if(a===E.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Fe.Strict&&(r&T.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&T.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(T.VALUE_LENGTH|T.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case D.NamedEntity:return this.result!==0&&(this.decodeMode!==Fe.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case D.NumericDecimal:return this.emitNumericEntity(0,2);case D.NumericHex:return this.emitNumericEntity(0,3);case D.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case D.EntityStart:return 0}}};function Le(e){let t=``,n=new Ie(e,e=>t+=Ee(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function Re(e,t,n,r){let i=(t&T.BRANCH_LENGTH)>>7,a=t&T.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}var ze=Le(ke);function Be(e,t=Fe.Legacy){return ze(e,t)}function Ve(e){return ze(e,Fe.Strict)}var He={};function Ue(e){let t=He[e];if(t)return t;t=He[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function We(e,t){typeof t!=`string`&&(t=We.defaultChars);let n=Ue(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128){t+=n[a];continue}if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;t+=e<128?`��`:String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;t+=e<2048||e>=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}return t})}We.defaultChars=`;/?:@&=+$,#`,We.componentChars=``;var Ge={};function Ke(e){let t=Ge[e];if(t)return t;t=Ge[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function qe(e,t,n){typeof t!=`string`&&(n=t,t=qe.defaultChars),n===void 0&&(n=!0);let r=Ke(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=r[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`;continue}i+=encodeURIComponent(e[t])}return i}qe.defaultChars=`;/?:@&=+$,-_.!~*'()#`,qe.componentChars=`-_.!~*'()`;function Je(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function Ye(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Xe=/^([a-z0-9.+-]+:)/i,Ze=/:[0-9]*$/,Qe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$e=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
|
|
46
|
+
`,` `],et=[`/`,`?`,`#`],tt=255,nt=/^[+a-z0-9A-Z_-]{0,63}$/,rt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,it={javascript:!0,"javascript:":!0},at={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ot(e,t){if(e&&e instanceof Ye)return e;let n=new Ye;return n.parse(e,t),n}Ye.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=Qe.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=Xe.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&it[o])&&(a=a.substr(2),this.slashes=!0)),!it[o]&&(i||o&&!at[o])){let e=-1;for(let t=0;t<et.length;t++)r=a.indexOf(et[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<$e.length;t++)r=a.indexOf($e[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(nt)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(nt)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(rt);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>tt&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),at[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},Ye.prototype.parseHost=function(e){let t=Ze.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var st=e({decode:()=>We,encode:()=>qe,format:()=>Je,parse:()=>ot}),ct=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,lt=/[\0-\x1F\x7F-\x9F]/,ut=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,dt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\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\u1B7D\u1B7E\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-\u2E5D\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]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,ft=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,pt=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,mt=e({Any:()=>ct,Cc:()=>lt,Cf:()=>ut,P:()=>dt,S:()=>ft,Z:()=>pt});function ht(e){let t={};e||={},t.src_Any=ct.source,t.src_Cc=lt.source,t.src_Z=pt.source,t.src_P=dt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(`|`),t.src_ZCc=[t.src_Z,t.src_Cc].join(`|`);let n=`[><|]`;return t.src_pseudo_letter=`(?:(?!${n}|${t.src_ZPCc})${t.src_Any})`,t.src_ip4=`(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)`,t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port=`(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?`,t.src_host_terminator=`(?=$|${n}|${t.src_ZPCc})(?!${e[`---`]?`-(?!--)|`:`-|`}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e[`---`]?`\\-(?!--(?:[^-]|$))(?:-*)|`:`\\-+|`)+`,(?!${t.src_ZCc}|$)|;(?!${t.src_ZCc}|$)|\\!+(?!${t.src_ZCc}|[!]|$)|\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name=`[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}`,t.src_xn=`xn--[a-z0-9\\-]{1,59}`,t.src_domain_root=`(?:`+t.src_xn+`|${t.src_pseudo_letter}{1,63})`,t.src_domain=`(?:`+t.src_xn+`|(?:${t.src_pseudo_letter})|(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy=`(?:`+t.src_ip4+`|(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|${n}|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${t.src_ZPCc}))((?![$+<=>^\`|\uff5c])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${t.src_ZPCc}))((?![$+<=>^\`|\uff5c])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}function gt(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function _t(e){return Object.prototype.toString.call(e)}function vt(e){return _t(e)===`[object String]`}function yt(e){return _t(e)===`[object Object]`}function bt(e){return _t(e)===`[object RegExp]`}function xt(e){return _t(e)===`[object Function]`}function St(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}var Ct={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function wt(e){return Object.keys(e||{}).reduce(function(e,t){return e||Ct.hasOwnProperty(t)},!1)}var Tt={"http:":{validate:function(e,t,n){let r=e.slice(t);return n.re.http||(n.re.http=RegExp(`^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`,`i`)),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":`http:`,"ftp:":`http:`,"//":{validate:function(e,t,n){let r=e.slice(t);return n.re.no_http||(n.re.no_http=RegExp(`^`+n.re.src_auth+`(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,`i`)),n.re.no_http.test(r)?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return n.re.mailto||(n.re.mailto=RegExp(`^${n.re.src_email_name}@${n.re.src_host_strict}`,`i`)),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Et=`a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]`,Dt=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`.split(`|`);function Ot(e){return function(t,n){let r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function kt(){return function(e,t){t.normalize(e)}}function At(e){let t=e.re=ht(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Et),n.push(t.src_xn),t.src_tlds=n.join(`|`);function r(e){return e.replace(`%TLDS%`,t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),`i`),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),`ig`),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),`i`),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),`ig`),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),`i`),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),`ig`),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),`i`);let i=[];e.__compiled__={};function a(e,t){throw Error(`(LinkifyIt) Invalid schema "${e}": ${t}`)}Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(n===null)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,yt(n)){bt(n.validate)?r.validate=Ot(n.validate):xt(n.validate)?r.validate=n.validate:a(t,n),xt(n.normalize)?r.normalize=n.normalize:n.normalize?a(t,n):r.normalize=kt();return}if(vt(n)){i.push(t);return}a(t,n)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[``]={validate:null,normalize:kt()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(St).join(`|`);e.re.schema_test=RegExp(`(^|(?!_)(?:[><\uff5c]|${t.src_ZPCc}))(${o})`,`i`),e.re.schema_search=RegExp(`(^|(?!_)(?:[><\uff5c]|${t.src_ZPCc}))(${o})`,`ig`),e.re.schema_at_start=RegExp(`^${e.re.schema_search.source}`,`i`),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,`i`)}function jt(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}function O(e,t){if(!(this instanceof O))return new O(e,t);t||wt(e)&&(t=e,e={}),this.__opts__=gt({},Ct,t),this.__schemas__=gt({},Tt,e),this.__compiled__={},this.__tlds__=Dt,this.__tlds_replaced__=!1,this.re={},At(this)}O.prototype.add=function(e,t){return this.__schemas__[e]=t,At(this),this},O.prototype.set=function(e){return this.__opts__=gt(this.__opts__,e),this},O.prototype.test=function(e){if(!e.length)return!1;let t,n;if(this.re.schema_test.test(e)){for(n=this.re.schema_search,n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__[`http:`]&&e.search(this.re.host_fuzzy_test)>=0&&e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`]&&e.indexOf(`@`)>=0&&e.match(this.re.email_fuzzy)!==null)},O.prototype.pretest=function(e){return this.re.pretest.test(e)},O.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},O.prototype.match=function(e){let t=[],n=[],r=[],i=[],a,o,s;function c(e,t){return e?t?e.index===t.index?e.lastIndex>=t.lastIndex?e:t:e.index<t.index?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;(a=s.exec(e))!==null;)o=this.testSchemaAt(e,a[2],s.lastIndex),o&&n.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__[`http:`])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)r.push({schema:``,index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`])for(s=this.re.email_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)i.push({schema:`mailto:`,index:a.index+a[1].length,lastIndex:a.index+a[0].length});let l=[0,0,0],u=0;for(;;){let a=[n[l[0]],i[l[1]],r[l[2]]],o=c(c(a[0],a[1]),a[2]);if(!o)break;if(o===a[0]?l[0]++:o===a[1]?l[1]++:l[2]++,o.index<u)continue;let s=new jt(e,o.schema,o.index,o.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=o.lastIndex}return t.length?t:null},O.prototype.matchAtStart=function(e){if(!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new jt(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__compiled__[r.schema].normalize(r,this),r},O.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),At(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,At(this),this)},O.prototype.normalize=function(e){e.schema||(e.url=`http://${e.url}`),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)},O.prototype.onCompile=function(){};var Mt=2147483647,Nt=36,Pt=1,Ft=26,It=38,Lt=700,Rt=72,zt=128,Bt=`-`,Vt=/^xn--/,Ht=/[^\0-\x7F]/,Ut=/[\x2E\u3002\uFF0E\uFF61]/g,Wt={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Gt=35,k=Math.floor,Kt=String.fromCharCode;function qt(e){throw RangeError(Wt[e])}function Jt(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Yt(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Ut,`.`);let i=Jt(e.split(`.`),t).join(`.`);return r+i}function Xt(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var Zt=e=>String.fromCodePoint(...e),Qt=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Nt},$t=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},en=function(e,t,n){let r=0;for(e=n?k(e/Lt):e>>1,e+=k(e/t);e>455;r+=Nt)e=k(e/Gt);return k(r+36*e/(e+It))},tn=function(e){let t=[],n=e.length,r=0,i=zt,a=Rt,o=e.lastIndexOf(Bt);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&qt(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Nt;;i+=Nt){s>=n&&qt(`invalid-input`);let o=Qt(e.charCodeAt(s++));o>=Nt&&qt(`invalid-input`),o>k((Mt-r)/t)&&qt(`overflow`),r+=o*t;let c=i<=a?Pt:i>=a+Ft?Ft:i-a;if(o<c)break;let l=Nt-c;t>k(Mt/l)&&qt(`overflow`),t*=l}let c=t.length+1;a=en(r-o,c,o==0),k(r/c)>Mt-i&&qt(`overflow`),i+=k(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},nn=function(e){let t=[];e=Xt(e);let n=e.length,r=zt,i=0,a=Rt;for(let n of e)n<128&&t.push(Kt(n));let o=t.length,s=o;for(o&&t.push(Bt);s<n;){let n=Mt;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>k((Mt-i)/c)&&qt(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>Mt&&qt(`overflow`),n===r){let e=i;for(let n=Nt;;n+=Nt){let r=n<=a?Pt:n>=a+Ft?Ft:n-a;if(e<r)break;let i=e-r,o=Nt-r;t.push(Kt($t(r+i%o,0))),e=k(i/o)}t.push(Kt($t(e,0))),a=en(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},rn={version:`2.3.1`,ucs2:{decode:Xt,encode:Zt},decode:tn,encode:nn,toASCII:function(e){return Yt(e,function(e){return Ht.test(e)?`xn--`+nn(e):e})},toUnicode:function(e){return Yt(e,function(e){return Vt.test(e)?tn(e.slice(4).toLowerCase()):e})}},an=we({arrayReplaceAt:()=>un,asciiTrim:()=>Mn,assign:()=>ln,escapeHtml:()=>Cn,escapeRE:()=>Tn,fromCodePoint:()=>fn,has:()=>cn,isMdAsciiPunct:()=>kn,isPromiseLike:()=>Nn,isPunctChar:()=>Dn,isPunctCharCode:()=>On,isSpace:()=>A,isString:()=>on,isValidEntityCode:()=>dn,isWhiteSpace:()=>En,lib:()=>Pn,normalizeReference:()=>An,unescapeAll:()=>vn,unescapeMd:()=>_n});function on(e){return typeof e==`string`}var sn=Object.prototype.hasOwnProperty;function cn(e,t){return sn.call(e,t)}function ln(e,...t){for(let n of t)if(n){if(typeof n!=`object`)throw TypeError(`source must be object`);Object.assign(e,n)}return e}function un(e,t,n){return e.slice(0,t).concat(n,e.slice(t+1))}function dn(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function fn(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var pn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,mn=RegExp(`${pn.source}|&([a-z#][a-z0-9]{1,31});`,`gi`),hn=/^#(x[a-f0-9]{1,8}|\d{1,8})$/i;function gn(e,t){if(t.charCodeAt(0)===35&&hn.test(t)){let n=t[1].toLowerCase()===`x`?Number.parseInt(t.slice(2),16):Number.parseInt(t.slice(1),10);return dn(n)?fn(n):e}let n=Be(e);return n===e?e:n}function _n(e){return e.includes(`\\`)?e.replace(pn,`$1`):e}function vn(e){return!e.includes(`\\`)&&!e.includes(`&`)?e:e.replace(mn,(e,t,n)=>t||gn(e,n))}var yn=/[&<>"]/,bn=/[&<>"]/g,xn={"&":`&`,"<":`<`,">":`>`,'"':`"`};function Sn(e){return xn[e]}function Cn(e){return yn.test(e)?e.replace(bn,Sn):e}var wn=/[.?*+^$[\]\\(){}|-]/g;function Tn(e){return e.replace(wn,`\\$&`)}function A(e){switch(e){case 9:case 32:return!0}return!1}function En(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Dn(e){return dt.test(e)||ft.test(e)}function On(e){return Dn(fn(e))}function kn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function An(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function jn(e){return e===32||e===9||e===10||e===13}function Mn(e){let t=0;for(;t<e.length&&jn(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&jn(e.charCodeAt(n));n--);return e.slice(t,n+1)}function Nn(e){return typeof e?.then==`function`}var Pn={mdurl:st,ucmicro:mt},Fn=class{type;tag;attrs=null;map=null;nesting;level=0;children=null;content=``;markup=``;info=``;meta=null;block=!1;hidden=!1;constructor(e,t,n){this.type=e,this.tag=t,this.nesting=n}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},In=class{src;md;env;tokens;bMarks=[];eMarks=[];tShift=[];sCount=[];bsCount=[];blkIndent=0;line=0;lineMax=0;tight=!1;ddIndent=-1;listIndent=-1;parentType=`root`;level=0;Token=Fn;constructor(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r;let i=this.src,a=i.length;for(let e=0;e<a;){let t=i.indexOf(`
|
|
47
|
+
`,e),n=t===-1?a:t,r=0,o=0,s=e;for(;s<n;){let e=i.charCodeAt(s);if(A(e)){r++,o+=e===9?4-o%4:1,s++;continue}break}this.bMarks.push(e),this.eMarks.push(n),this.tShift.push(r),this.sCount.push(o),this.bsCount.push(0),e=n+1}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let r=new Fn(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){let t=this.src;for(let n=t.length;e<n&&A(t.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;let n=this.src;for(;e>t;)if(!A(n.charCodeAt(--e)))return e+1;return e}skipChars(e,t){let n=this.src;for(let r=n.length;e<r&&n.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;let r=this.src;for(;e>n;)if(t!==r.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return``;let i=Array(t-e),a=this.src;for(let o=0,s=e;s<t;s++,o++){let e=0,c=this.bMarks[s],l=c,u;for(u=s+1<t||r?this.eMarks[s]+1:this.eMarks[s];l<u&&e<n;){let t=a.charCodeAt(l);if(A(t))t===9?e+=4-(e+this.bsCount[s])%4:e++;else if(l-c<this.tShift[s])e++;else break;l++}e>n?i[o]=` `.repeat(e-n)+this.src.slice(l,u):i[o]=this.src.slice(l,u)}return i.join(``)}},Ln=class{src;env;tokens=[];inlineMode=!1;md;constructor(e,t,n){this.src=e,this.env=n,this.md=t}Token=Fn},Rn=class{src;env;md;tokens;tokens_meta;pos=0;posMax;level=0;pending=``;pendingLevel=0;cache={};delimiters=[];_prev_delimiters=[];backticks={};backticksScanned=!1;linkLevel=0;constructor(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new Fn(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e}push(e,t,n){this.pending&&this.pushPending();let r=new Fn(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()??[]),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){let n=this.src,r=this.posMax,i=n.charCodeAt(e),a;if(e===0)a=32;else if(e===1)a=this.src.charCodeAt(0),(a&63488)==55296&&(a=65533);else if(a=this.src.charCodeAt(e-1),(a&64512)==56320){let t=this.src.charCodeAt(e-2);a=(t&64512)==55296?65536+(t-55296<<10)+(a-56320):65533}else(a&64512)==55296&&(a=65533);let o=e;for(;o<r&&n.charCodeAt(o)===i;)o++;let s=o-e,c=o<r?this.src.charCodeAt(o):32;if((c&64512)==55296){let e=this.src.charCodeAt(o+1);c=(e&64512)==56320?65536+(c-55296<<10)+(e-56320):65533}else(c&64512)==56320&&(c=65533);let l=kn(a)||On(a),u=kn(c)||On(c),d=En(a),f=En(c),p=!f&&(!u||d||l),m=!d&&(!l||f||u);return{can_open:p&&(t||!m||l),can_close:m&&(t||!p||u),length:s}}Token=Fn},zn=class{__rules__=[];__cache__=null;__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set([``]);for(let t of this.__rules__)if(t.enabled)for(let n of t.alt)e.add(n);this.__cache__={};for(let t of e){let e=[];for(let n of this.__rules__)n.enabled&&(!t||n.alt.includes(t))&&e.push(n.fn);this.__cache__[t]=e}}at(e,t,n={}){let r=this.__find__(e),i=n||{};if(r===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null}before(e,t,n,r){let i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null}after(e,t,n,r){let i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null}push(e,t,n){let r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null}enable(e,t){Array.isArray(e)||(e=[e]);let n=[];for(let r of e){let e=this.__find__(r);if(e<0){if(t)continue;throw Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[e].enabled=!0,n.push(r)}return this.__cache__=null,n}enableOnly(e,t){Array.isArray(e)||(e=[e]);for(let e of this.__rules__)e.enabled=!1;this.enable(e,t)}disable(e,t){Array.isArray(e)||(e=[e]);let n=[];for(let r of e){let e=this.__find__(r);if(e<0){if(t)continue;throw Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[e].enabled=!1,n.push(r)}return this.__cache__=null,n}getRules(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]}};function Bn(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(A(t))t===9?o+=4-(o+e.bsCount[m]+ +!!r)%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+ +!!n,l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function Vn(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let a=e.push(`code_block`,`code`,0);return a.content=`${e.getLines(t,i,4+e.blkIndent,!1)}\n`,a.map=[t,e.line],!0}function Hn(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.includes(String.fromCharCode(o)))return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+ +!!f;let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function Un(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!A(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&A(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h${String(s)}`,1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=Mn(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h${String(s)}`,-1);return d.markup=`########`.slice(0,s),!0}function Wn(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!A(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=String.fromCharCode(o).repeat(s),!0}var Gn=`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.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Kn=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,qn=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,Jn=RegExp(`^(?:${Kn}|${qn}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<\\?[\\s\\S]*?\\?>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Yn=RegExp(`^(?:${Kn}|${qn})`),Xn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(${Gn.join(`|`)})(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(`${Yn.source}\\s*$`),/^$/,!1]];function Zn(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<Xn.length&&!Xn[s][0].test(o);s++);if(s===Xn.length)return!1;if(r)return Xn[s][2];let c=t+1,l=Xn[s][1].test(``);if(!Xn[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),Xn[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function Qn(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a||o===void 0)return e.parentType=i,!1;let c=Mn(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h${String(a)}`,1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h${String(a)}`,-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function $n(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!A(e.src.charCodeAt(r))?-1:r}function er(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!A(a))?-1:i}function tr(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function nr(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p=er(e,c);if(p>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if(p=$n(e,c),p>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f.toString()]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){C=!0;break}if(C)break;if(d){if(p=er(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=$n(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&tr(e,h),!0}function rr(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,a=t+1;for(e.parentType=`paragraph`;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=Mn(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}function ir(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){let e=c.charCodeAt(i);if(e===91)return!1;if(e===93){l=i;break}if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(e===92&&(i++,i<a&&c.charCodeAt(i)===10)){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!A(e))break}let u=e.md.helpers.parseLinkDestination(c,i,a);if(!u.ok)return!1;let d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;let f=i,p=o,m=i;for(;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!A(e))break}let h=e.md.helpers.parseLinkTitle(c,i,a);for(;h.can_continue;){let t=s(o);if(t===null)break;c+=t,i=a,a=c.length,o++,h=e.md.helpers.parseLinkTitle(c,i,a,h)}let g;for(i<a&&m!==i&&h.ok?(g=h.str,i=h.pos):(g=``,i=f,o=p);i<a&&A(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&A(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=An(c.slice(1,l));if(!_)return!1;if(r)return!0;e.env.references===void 0&&(e.env.references={}),e.env.references[_]===void 0&&(e.env.references[_]={title:g,href:d}),e.line=o;let v=e.push(`reference`,``,0);return v.map=[t,e.line],v.info=_,v.meta={title:g,href:d},!0}var ar=65536;function or(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function sr(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),a=!1,o=0,s=``;for(;r<n;)i===124&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s=``,o=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function cr(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;let o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;let s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!A(s)||o===45&&A(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!A(t))return!1;a++}let c=or(e,t+1),l=c.split(`|`),u=[];for(let e=0;e<l.length;e++){let t=l[e].trim();if(!t){if(e===0||e===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?u.push(t.charCodeAt(0)===58?`center`:`right`):t.charCodeAt(0)===58?u.push(`left`):u.push(``)}if(c=or(e,t).trim(),!c.includes(`|`)||e.sCount[t]-e.blkIndent>=4)return!1;l=sr(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop();let d=l.length;if(d===0||d!==u.length)return!1;if(r)return!0;let f=e.parentType;e.parentType=`table`;let p=e.md.block.ruler.getRules(`blockquote`),m=e.push(`table_open`,`table`,1),h=[t,0];m.map=h;let g=e.push(`thead_open`,`thead`,1);g.map=[t,t+1];let _=e.push(`tr_open`,`tr`,1);_.map=[t,t+1];for(let t=0;t<l.length;t++){let n=e.push(`th_open`,`th`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t].trim(),r.children=[],e.push(`th_close`,`th`,-1)}e.push(`tr_close`,`tr`,-1),e.push(`thead_close`,`thead`,-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r||(c=or(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=sr(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>ar))break;if(i===t+2){let n=e.push(`tbody_open`,`tbody`,1);n.map=v=[t+2,0]}let a=e.push(`tr_open`,`tr`,1);a.map=[i,i+1];for(let t=0;t<d;t++){let n=e.push(`td_open`,`td`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t]?l[t].trim():``,r.children=[],e.push(`td_close`,`td`,-1)}e.push(`tr_close`,`tr`,-1)}return v&&(e.push(`tbody_close`,`tbody`,-1),v[1]=i),e.push(`table_close`,`table`,-1),h[1]=i,e.parentType=f,e.line=i,!0}var lr=[[`table`,cr,[`paragraph`,`reference`]],[`code`,Vn],[`fence`,Hn,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,Bn,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,Wn,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,nr,[`paragraph`,`reference`,`blockquote`]],[`reference`,ir],[`html_block`,Zn,[`paragraph`,`reference`,`blockquote`]],[`heading`,Un,[`paragraph`,`reference`,`blockquote`]],[`lheading`,Qn],[`paragraph`,rr]],ur=class{ruler;constructor(){this.ruler=new zn;for(let e=0;e<lr.length;e++)this.ruler.push(lr[e][0],lr[e][1],{alt:(lr[e][2]||[]).slice()})}tokenize(e,t,n,r){let i=this.ruler.getRules(``),a=i.length,o=e.md.options.maxNesting,s=t,c=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n||e.sCount[s]<e.blkIndent));){if(e.level>=o){e.line=n;break}let t=e.line,r=!1;for(let o=0;o<a;o++)if(r=i[o](e,s,n,!1),r){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!r)throw Error(`none of the block rules matched`);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),s=e.line,s<n&&e.isEmpty(s)&&(c=!0,s++,e.line=s)}}parse(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}State=In};function dr(e){let t;e.inlineMode?(t=new e.Token(`inline`,``,0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function fr(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.type===`inline`&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function pr(e){return/^<a[>\s]/i.test(e)}function mr(e){return/^<\/a\s*>/i.test(e)}function hr(e){if(!e.md.options.linkify)return;let t=e.tokens,n=e.md.linkify;for(let r=0,i=t.length;r<i;r++){if(t[r].type!==`inline`||!n.pretest(t[r].content))continue;let i=t[r].children,a=0;for(let t=i.length-1;t>=0;t--){let r=i[t];if(r.type===`link_close`){for(t--;i[t].level!==r.level&&i[t].type!==`link_open`;)t--;continue}if(r.type===`html_inline`&&(pr(r.content)&&a>0&&a--,mr(r.content)&&a++),!(a>0)&&r.type===`text`){let a=r.content;if(!n.pretest(a))continue;let o=n.match(a);if(!o?.length)continue;let s=[],c=r.level,l=0,u=+(o[0].index===0&&t>0&&i[t-1].type===`text_special`);for(let t=u;t<o.length;t++){let n=o[t],r=e.md.normalizeLink(n.url);if(!e.md.validateLink(r))continue;let i=n.text;i=n.schema?n.schema===`mailto:`&&!/^mailto:/i.test(i)?e.md.normalizeLinkText(`mailto:${i}`).replace(/^mailto:/,``):e.md.normalizeLinkText(i):e.md.normalizeLinkText(`http://${i}`).replace(/^http:\/\//,``);let u=n.index;if(u>l){let t=new e.Token(`text`,``,0);t.content=a.slice(l,u),t.level=c,s.push(t)}let d=new e.Token(`link_open`,`a`,1);d.attrs=[[`href`,r]],d.level=c++,d.markup=`linkify`,d.info=`auto`,s.push(d);let f=new e.Token(`text`,``,0);f.content=i,f.level=c,s.push(f);let p=new e.Token(`link_close`,`a`,-1);p.level=--c,p.markup=`linkify`,p.info=`auto`,s.push(p),l=n.lastIndex}if(l<a.length){let t=new e.Token(`text`,``,0);t.content=a.slice(l),t.level=c,s.push(t)}i.splice(t,1,...s)}}}}var gr=/\r\n?|\n/g,_r=/\0/g;function vr(e){let t=e.src,n=t.includes(`\r`),r=t.includes(`\0`);(n||r)&&(n&&(t=t.replace(gr,`
|
|
48
|
+
`)),r&&(t=t.replace(_r,`�`)),e.src=t)}var yr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,br=/\((?:c|tm|r)\)/i,xr=/\((c|tm|r)\)/gi,Sr={c:`©`,r:`®`,tm:`™`};function Cr(e,t){return Sr[t.toLowerCase()]}function wr(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&(r.content=r.content.replace(xr,Cr)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Tr(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&yr.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Er(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(br.test(e.tokens[t].content)&&wr(e.tokens[t].children),yr.test(e.tokens[t].content)&&Tr(e.tokens[t].children))}var Dr=/['"]/,Or=/['"]/g,kr=`’`;function Ar(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function jr(e,t){let n=``,r=0;t.sort((e,t)=>e.pos-t.pos);for(let i=0;i<t.length;i++){let a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}function Mr(e,t){let n,r=[],i={};for(let a=0;a<e.length;a++){let o=e[a],s=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=s);n--);if(r.length=n+1,o.type!==`text`)continue;let c=o.content,l=0,u=c.length;OUTER:for(;l<u;){Or.lastIndex=l;let o=Or.exec(c);if(!o)break;let d=!0,f=!0;l=o.index+1;let p=o[0]===`'`,m=32;if(o.index-1>=0)m=c.charCodeAt(o.index-1);else for(n=a-1;n>=0&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let h=32;if(l<u)h=c.charCodeAt(l);else for(n=a+1;n<e.length&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n++)if(e[n].content){h=e[n].content.charCodeAt(0);break}let g=kn(m)||On(m),_=kn(h)||On(h),v=En(m),y=En(h);if(y?d=!1:_&&(v||g||(d=!1)),v?f=!1:g&&(y||_||(f=!1)),h===34&&o[0]===`"`&&m>=48&&m<=57&&(f=d=!1),d&&f&&(d=g,f=_),!d&&!f){p&&Ar(i,a,o.index,kr);continue}if(f)for(n=r.length-1;n>=0;n--){let e=r[n];if(r[n].level<s)break;if(e.single===p&&r[n].level===s){e=r[n];let s,c;p?(s=t.md.options.quotes[2],c=t.md.options.quotes[3]):(s=t.md.options.quotes[0],c=t.md.options.quotes[1]),Ar(i,a,o.index,c),Ar(i,e.token,e.pos,s),r.length=n;continue OUTER}}d?r.push({token:a,pos:o.index,single:p,level:s}):f&&p&&Ar(i,a,o.index,kr)}}Object.keys(i).forEach(t=>{e[t].content=jr(e[t].content,i[t])})}function Nr(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&Dr.test(e.tokens[t].content)&&Mr(e.tokens[t].children,e)}function Pr(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if(r[e].type!==`inline`)continue;let i=r[e].children,a=i.length;for(t=0;t<a;t++)i[t].type===`text_special`&&(i[t].type=`text`);for(t=n=0;t<a;t++)i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}var Fr=[[`normalize`,vr],[`block`,dr],[`inline`,fr],[`linkify`,hr],[`replacements`,Er],[`smartquotes`,Nr],[`text_join`,Pr]],Ir=class{ruler;constructor(){this.ruler=new zn;for(let e=0;e<Fr.length;e++)this.ruler.push(Fr[e][0],Fr[e][1])}process(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)}State=Ln};function Lr(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=vn(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0?a:(a.str=vn(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function Rr(e,t,n=!1){let r,i=!1,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function zr(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=vn(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=vn(e.slice(t,a)),o}var Br={parseLinkDestination:Lr,parseLinkLabel:Rr,parseLinkTitle:zr},Vr=/^([\w.!#$%&'*+/=?^`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)$/i,Hr=/^([a-z][a-z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/i;function Ur(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(Hr.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(Vr.test(a)){let n=e.md.normalizeLink(`mailto:${a}`);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function Wr(e,t){let n=e.pos,r=e.src;if(r.charCodeAt(n)!==96)return!1;let i=n;n++;let a=e.posMax;for(;n<a&&r.charCodeAt(n)===96;)n++;let o=r.slice(i,n),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=o),e.pos+=s,!0;let c=n,l;for(;l=r.indexOf("`",c),l!==-1;){for(c=l+1;c<a&&r.charCodeAt(c)===96;)c++;let i=c-l;if(i===s){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=o,t.content=r.slice(n,l).replace(/\n/g,` `).replace(/^ (.+) $/,`$1`)}return e.pos=c,!0}e.backticks[i]=l}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}function Gr(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function Kr(e){let t=e.tokens_meta,n=e.tokens_meta.length;Gr(e.delimiters);for(let e=0;e<n;e++){let n=t[e]?.delimiters;n&&Gr(n)}}function qr(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Jr(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function Yr(e){let t=e.tokens_meta,n=e.tokens_meta.length;Jr(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&Jr(e,n)}}var Xr={tokenize:qr,postProcess:Yr},Zr=/^&#(x[a-f0-9]{1,6}|\d{1,7});/i,Qr=/^&([a-z][a-z0-9]{1,31});/i;function $r(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(Zr);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?Number.parseInt(r[1].slice(1),16):Number.parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=dn(t)?fn(t):fn(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(Qr);if(r){let n=Ve(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}var ei=[];for(let e=0;e<256;e++)ei.push(0);for(let e of`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``))ei[e.charCodeAt(0)]=1;function ti(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),A(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\${a}`;if(!t){let t=e.push(`text_special`,``,0);t.content=i<256&&ei[i]!==0?a:o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function ni(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}function ri(e){return/^<a[>\s]/i.test(e)}function ii(e){return/^<\/a\s*>/i.test(e)}function ai(e){let t=e|32;return t>=97&&t<=122}function oi(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!ai(i))return!1;let a=e.src.slice(r).match(Jn);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],ri(t.content)&&e.linkLevel++,ii(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}function si(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),A(n)||n===10);a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),A(n)||n===10);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),A(n)||n===10);a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),o=e.env.references[An(i)],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),i=[[`src`,u],[`alt`,``]];n.attrs=i,n.children=t,n.content=r,c&&i.push([`title`,c])}return e.pos=a,e.posMax=f,!0}function ci(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),A(n)||n===10);m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),A(n)||n===10);m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),A(n)||n===10);m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),a=e.env.references[An(r)],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];t.attrs=n,s&&n.push([`title`,s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}var li=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function ui(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=e.pending.match(li);if(!i)return!1;let a=i[1],o=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!o)return!1;let s=o.url;if(s.length<=a.length)return!1;let c=s.length;for(;c>0&&s.charCodeAt(c-1)===42;)c--;c!==s.length&&(s=s.slice(0,c));let l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,l]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(s);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=s.length-a.length,!0}function di(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t){if(r>=0&&e.pending.charCodeAt(r)===32){if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0)}else e.push(`softbreak`,`br`,0)}for(n++;n<i&&A(e.src.charCodeAt(n));)n++;return e.pos=n,!0}function fi(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function pi(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let o=t[i.end];n=e.tokens[i.token],n.type=`s_open`,n.tag=`s`,n.nesting=1,n.markup=`~~`,n.content=``,n=e.tokens[o.token],n.type=`s_close`,n.tag=`s`,n.nesting=-1,n.markup=`~~`,n.content=``,e.tokens[o.token-1].type===`text`&&e.tokens[o.token-1].content===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function mi(e){let t=e.tokens_meta,n=e.tokens_meta.length;pi(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&pi(e,n)}}var hi={tokenize:fi,postProcess:mi};function gi(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function _i(e,t){let n=e.pos,r=e.src;for(;n<e.posMax&&!gi(r.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=r.slice(e.pos,n)),e.pos=n,!0)}var vi=[[`text`,_i],[`linkify`,ui],[`newline`,di],[`escape`,ti],[`backticks`,Wr],[`strikethrough`,hi.tokenize],[`emphasis`,Xr.tokenize],[`link`,ci],[`image`,si],[`autolink`,Ur],[`html_inline`,oi],[`entity`,$r]],yi=[[`balance_pairs`,Kr],[`strikethrough`,hi.postProcess],[`emphasis`,Xr.postProcess],[`fragments_join`,ni]],bi=class{ruler;ruler2;constructor(){this.ruler=new zn;for(let e=0;e<vi.length;e++)this.ruler.push(vi[e][0],vi[e][1]);this.ruler2=new zn;for(let e=0;e<yi.length;e++)this.ruler2.push(yi[e][0],yi[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache,o=a[t];if(o!==void 0){e.pos=o;return}let s=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,s=n[i](e,!0),e.level--,s){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;s||e.pos++,a[t]=e.pos}tokenize(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)}State=Rn},xi=/^(vbscript|javascript|file|data):/,Si=/^data:image\/(gif|png|jpeg|webp);/;function Ci(e){let t=e.trim().toLowerCase();return!xi.test(t)||Si.test(t)}var wi=[`http:`,`https:`,`mailto:`];function Ti(e){let t=ot(e,!0);if(t.hostname&&(!t.protocol||wi.includes(t.protocol)))try{t.hostname=rn.toASCII(t.hostname)}catch{}return qe(Je(t))}function Ei(e){let t=ot(e,!0);if(t.hostname&&(!t.protocol||wi.includes(t.protocol)))try{t.hostname=rn.toUnicode(t.hostname)}catch{}return We(Je(t),`${We.defaultChars}%`)}var Di={html:!1,linkify:!1,typographer:!1,quotes:`“”‘’`,maxNesting:100},Oi=class{inline=new bi;block=new ur;core=new Ir;linkify=new O;validateLink=Ci;normalizeLink=Ti;normalizeLinkText=Ei;helpers={...Br};options={...Di};parse(e,t={}){if(typeof e!=`string`)throw TypeError(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}parseInline(e,t={}){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}},ki={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`fragments_join`]}}},Ai={options:{...Di,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,highlight:null},components:{core:{},block:{},inline:{}}},ji={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`fragments_join`]}}},j={};j.code_inline=function(e,t,n,r,i){let a=e[t];return`<code${i.renderAttrs(a)}>${Cn(a.content)}</code>`},j.code_block=function(e,t,n,r,i){let a=e[t];return`<pre${i.renderAttrs(a)}><code>${Cn(e[t].content)}</code></pre>\n`},j.fence=function(e,t,n,r,i){let a=e[t],o=a.info?vn(a.info).trim():``,s=``,c=``;if(o){let e=o.split(/(\s+)/g);s=e[0],c=e.slice(2).join(``)}function l(e){if(e.indexOf(`<pre`)===0)return`${e}\n`;if(o){let t=a.attrIndex(`class`),r=a.attrs?a.attrs.slice():[];t<0?r.push([`class`,n.langPrefix+s]):(r[t]=r[t].slice(),r[t][1]+=` ${n.langPrefix}${s}`);let o={attrs:r};return`<pre><code${i.renderAttrs(o)}>${e}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${e}</code></pre>\n`}let u=(()=>{if(!n.highlight)return Cn(a.content);let e=n.highlight(a.content,s,c,r);return Nn(e)?e.then(e=>e||Cn(a.content)):e||Cn(a.content)})();return Nn(u)?u.then(l):l(u)},j.image=function(e,t,n,r,i){let a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},j.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
49
|
+
`:`<br>
|
|
50
|
+
`},j.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
51
|
+
`:`<br>
|
|
52
|
+
`:`
|
|
53
|
+
`},j.text=function(e,t){return Cn(e[t].content)},j.html_block=function(e,t){return e[t].content},j.html_inline=function(e,t){return e[t].content},j.reference=function(e,t){return e[t].content};var Mi=class{rules=ln({},j);constructor(){}renderAttrs(e){let t=e.attrs;if(!t)return``;let n=t.length;if(n===0)return``;let r=``;for(let e=0;e<n;e++)r+=` ${Cn(t[e][0])}="${Cn(t[e][1])}"`;return r}renderToken(e,t,n,r={}){let i=e[t],a=``;if(i.hidden)return``;i.block&&i.nesting!==-1&&t&&e[t-1].hidden&&(a+=`
|
|
54
|
+
`),a+=(i.nesting===-1?`</`:`<`)+i.tag,a+=this.renderAttrs(i),i.nesting===0&&n.xhtmlOut&&(a+=` /`);let o=!1;if(i.block&&(o=!0,i.nesting===1&&t+1<e.length)){let n=e[t+1];(n.type===`inline`||n.type===`reference`||n.hidden||n.nesting===-1&&n.tag===i.tag)&&(o=!1)}return a+=o?`>
|
|
55
|
+
`:`>`,a}renderInline(e,t,n={}){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=i[e[a].type];if(o){let i=o(e,a,t,n,this);if(Nn(i))throw Error(`Renderer.renderInline: async rule detected, use renderInlineAsync()`);r+=i}else r+=this.renderToken(e,a,t,n)}return r}renderInlineAsText(e,t,n={}){let r=``;for(let i=0,a=e.length;i<a;i++){let a=e[i];switch(a.type){case`text`:r+=a.content;break;case`image`:r+=this.renderInlineAsText(a.children,t,n);break;case`html_inline`:case`html_block`:r+=a.content;break;case`softbreak`:case`hardbreak`:r+=`
|
|
56
|
+
`}}return r}render(e,t,n={}){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;if(o===`inline`)r+=this.renderInline(e[a].children,t,n);else{let s=i[o];if(s){let i=s(e,a,t,n,this);if(Nn(i))throw Error(`Renderer.render: async rule detected, use renderAsync()`);r+=i}else r+=this.renderToken(e,a,t,n)}}return r}async renderInlineAsync(e,t,n){let r=[],i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=i[e[a].type];o?r.push(Promise.resolve(o(e,a,t,n,this))):r.push(Promise.resolve(this.renderToken(e,a,t,n)))}return(await Promise.all(r)).join(``)}async renderAsync(e,t,n){let r=[],i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a],s=o.type;if(s===`inline`)r.push(this.renderInlineAsync(o.children,t,n));else{let o=i[s];o?r.push(Promise.resolve(o(e,a,t,n,this))):r.push(Promise.resolve(this.renderToken(e,a,t,n)))}}return(await Promise.all(r)).join(``)}},Ni={default:Ai,zero:ji,commonmark:ki},Pi=class extends Oi{renderer=new Mi;utils=an;options={...Ni.default.options};constructor(e,t){super();let[n,r]=typeof e==`string`?[e,t]:[`default`,e];this.configure(n),r&&this.set(r)}set(e){return ln(this.options,e),this}configure(e){if(typeof e==`string`){let t=e;if(e=Ni[t],!e)throw Error(`Wrong \`markdown-exit\` preset "${t}", check name`)}if(!e)throw Error("Wrong `markdown-exit` preset, can't be empty");if(e.options&&this.set(e.options),e.components)for(let t of Object.keys(e.components)){let n=e.components[t];n.rules&&this[t].ruler.enableOnly(n.rules),n.rules2&&this[t].ruler2?.enableOnly(n.rules2)}return this}enable(e,t){let n=[];Array.isArray(e)||(e=[e]);for(let t of[`core`,`block`,`inline`])n=n.concat(this[t].ruler.enable(e,!0));n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(e=>!n.includes(e));if(r.length&&!t)throw Error(`MarkdownExit. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t){let n=[];Array.isArray(e)||(e=[e]);for(let t of[`core`,`block`,`inline`])n=n.concat(this[t].ruler.disable(e,!0));n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(e=>!n.includes(e));if(r.length&&!t)throw Error(`MarkdownExit. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}renderAsync(e,t={}){return this.renderer.renderAsync(this.parse(e,t),this.options,t)}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}renderInlineAsync(e,t={}){return this.renderer.renderAsync(this.parseInline(e,t),this.options,t)}};function Fi(e){function t(...t){return new e(...t)}return Object.setPrototypeOf(t,Pi),t.prototype=Pi.prototype,t.prototype.constructor=t,t}var Ii=Fi(Pi);function Li(e){let t=Promise.resolve(null);return(...n)=>(t=t.then(()=>e(...n)).catch(()=>null),t)}function Ri(e,t){let n=new Map;for(let t of e)n.set(t.name,t);let r=new Set;for(let e of t)r.has(e.name)||(r.add(e.name),n.delete(e.name),n.set(e.name,e));return[...n.values()]}function zi(e){return e}function Bi(e,t){if(e[t]!==`[`)return-1;let n=t+1,r=0;for(;n<e.length;){if(e[n]===`\\`&&n+1<e.length){n+=2;continue}if(e[n]===`[`)r++;else if(e[n]===`]`){if(r===0)return n;r--}n+=1}return-1}function Vi(e,t){let n=Bi(e,t);return n===-1?null:{content:e.slice(t+1,n),endIndex:n+1}}var Hi=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function Ui(e){return e===0||e>=55296&&e<=57343||e>1114111}function Wi(e){return Ui(e)?65533:e>=128&&e<=159&&Hi[e-128]||e}function Gi(e){return Ui(e)?65533:e}function Ki(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Wi(e))}var M=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function qi(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=M[e.charCodeAt(c++)];return t<a?t:t*91-s+M[e.charCodeAt(c++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);let p=new Int32Array(d),m=new Int32Array(d);function h(t,n){let r=0,i=n,a=n+t;for(;i<a;){let t=M[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=M[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=M[e.charCodeAt(c++)];r+=89+(t<90?t*91+M[e.charCodeAt(c++)]:M[e.charCodeAt(c++)]*8281+M[e.charCodeAt(c++)]*91+M[e.charCodeAt(c++)]),f[i++]=r}}}h(r,0),h(u,a);let g=new Int32Array(i*2),_=0,v=0;function y(e,t){for(let n=0;n<e;n++){let e=t+n,r=l(),i=l();g[v*2]=r,g[v*2+1]=i,v+=1,p[e]=_;let a=(f[r]<0?m[r]:1)+(f[i]<0?m[i]:1);m[e]=a,_+=a}}y(i-a+r,a+u),y(a-r,r);let b=new Uint16Array(_),x=0;for(let e=0;e<v;e++)for(let t=0;t<2;t++){let n=g[e*2+t],r=f[n];if(r<0){let e=p[n],t=e+m[n];for(;e<t;)b[x++]=b[e++]}else b[x++]=r}let S=new Uint16Array(t),C=0;for(;c<o;){let t=M[e.charCodeAt(c++)];t>=a&&(t=t*91-s+M[e.charCodeAt(c++)]);let n=f[t];if(n<0){let e=p[t],n=e+m[t];for(;e<n;)S[C++]=b[e++]}else S[C++]=n}return S}var Ji=qi("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})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!/549C;ag>23ExY5@Dah89b^~689Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61),Yi=new Uint16Array([512,26465,29036,7,0,2,4,116,24638,116,24636,8693,29807,24610,621,1,0,0,3,112,24614,111,115,24615]),N;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`,e[e.VALUE_MASK=8191]=`VALUE_MASK`})(N||={});var P;(function(e){e[e.AMP=38]=`AMP`,e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_X=120]=`LOWER_X`})(P||={});var Xi=32,Zi=21,Qi=2097151,$i=2047,ea=0;function ta(e){let t=e>>>Zi;return t===$i?ea:t}function na(e){return e-P.ZERO>>>0<=9}function ra(e){return(e|Xi)-P.LOWER_A>>>0<=5}function ia(e){return(e|Xi)-P.LOWER_A>>>0<=25}function aa(e){return e===P.EQUALS||ia(e)||na(e)}var F;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(F||={});var I;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(I||={});var oa=class{decodeTree;emitCodePoint;errors;state=F.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=I.Strict;runConsumed=0;constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n}startEntity(e){this.decodeMode=e,this.state=F.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case F.EntityStart:return e.charCodeAt(t)===P.NUM?(this.state=F.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=F.NamedEntity,this.stateNamedEntity(e,t));case F.NumericStart:return this.stateNumericStart(e,t);case F.NumericDecimal:return this.stateNumericDecimal(e,t);case F.NumericHex:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Xi)===P.LOWER_X?(this.state=F.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=F.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t);if(na(n)||ra(n)){let e=n<=P.NINE?n-P.ZERO:(n|Xi)-P.LOWER_A+10;r=r*16+e,i+=1,t+=1}else return this.result=r,this.consumed=i,this.emitNumericEntity(n,3)}return this.result=r,this.consumed=i,-1}stateNumericDecimal(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t)-P.ZERO;if(n>>>0>9)return this.result=r,this.consumed=i,this.emitNumericEntity(n+P.ZERO,2);r=r*10+n,i+=1,t+=1}return this.result=r,this.consumed=i,-1}emitNumericEntity(e,t){if(this.consumed<=t)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===P.SEMI)this.consumed+=1;else if(this.decodeMode===I.Strict)return 0;return this.emitCodePoint((this.decodeTree===Yi?Gi:Wi)(this.result),this.consumed),this.errors&&(e!==P.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}flushAndEmitLegacyOrReject(e,t,n,r){return this.consumed=e,this.excess=t,this.result===0||this.decodeMode===I.Attribute&&(r===0||t>1||aa(n))?0:this.emitNotTerminatedNamedEntity()}stateNamedEntity(e,t){let{decodeTree:n}=this,r=e.length,i=this.decodeMode===I.Strict,{treeIndex:a}=this,{excess:o}=this,{consumed:s}=this,c=n[a];for(;t<r;){for(;(c&(N.VALUE_LENGTH|N.FLAG13))===0&&(c&N.JUMP_TABLE)!==0;){let i=e.charCodeAt(t),l=c&N.JUMP_TABLE,u=(c&N.BRANCH_LENGTH)>>7;if(u===0){if(i!==l)return this.flushAndEmitLegacyOrReject(s,o,i,0);a+=1}else{let e=i-l;if(e>>>0>=u)return this.flushAndEmitLegacyOrReject(s,o,i,0);let t=n[a+1+e];if(t===0)return this.flushAndEmitLegacyOrReject(s,o,i,0);a=a+u+t&65535}if(c=n[a],t+=1,o+=1,t>=r)break}if(t>=r)break;if((c&(N.VALUE_LENGTH|N.FLAG13))===N.FLAG13){let i=(c&N.BRANCH_LENGTH)>>7,{runConsumed:l}=this;if(l===0){let n=e.charCodeAt(t);if(n!==(c&N.JUMP_TABLE))return this.flushAndEmitLegacyOrReject(s,o,n,0);t+=1,o+=1,l=1}for(;l<i;){if(t>=r)return this.treeIndex=a,this.excess=o,this.consumed=s,this.runConsumed=l,-1;let i=l-1,c=n[a+1+(i>>1)]>>((i&1)<<3)&255,u=e.charCodeAt(t);if(u!==c)return this.runConsumed=0,this.flushAndEmitLegacyOrReject(s,o,u,0);t+=1,o+=1,l+=1}this.runConsumed=0,a+=1+(i>>1),c=n[a];continue}let l=c>>>14,u=e.charCodeAt(t);if(l!==0){if(!i&&(c&N.FLAG13)===0&&(this.result=a,s+=o-1,o=1),u===P.SEMI)return this.emitNamedEntityData(a,l,s+o);if(l===1)return this.flushAndEmitLegacyOrReject(s,o,u,l)}let d=sa(n,c,a+(l||1),u);if(d<0)return this.flushAndEmitLegacyOrReject(s,o,u,l);a=d,c=n[a],t+=1,o+=1}return!i&&c>>>14&&(c&N.FLAG13)===0&&(this.result=a,s+=o-1,o=1),this.treeIndex=a,this.excess=o,this.consumed=s,-1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,n=t[e]>>>14;return this.emitNamedEntityData(e,n,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&N.VALUE_MASK:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){switch(this.state){case F.NamedEntity:return this.result!==0&&(this.decodeMode!==I.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case F.NumericDecimal:return this.emitNumericEntity(0,2);case F.NumericHex:return this.emitNumericEntity(0,3);case F.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}};function sa(e,t,n,r){let i=(t&N.BRANCH_LENGTH)>>7,a=t&N.JUMP_TABLE;if(a){if(i===0)return r===a?n:-1;let t=r-a;if(t>>>0>=i)return-1;let o=e[n+t];return o===0?-1:n+i+o-1&65535}if(i===0)return-1;let o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){let i=e[n+(t>>1)]>>((t&1)<<3)&255;if(i===r)return s+e[n+o+t]&65535;if(i>r)return-1}return-1}function ca(e,t,n){return n===1?String.fromCharCode(e[t]&N.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function la(e,t,n){let r=t+1,i=0,a=r;if(r<n&&(e.charCodeAt(r)|Xi)===P.LOWER_X)for(r+=1,a=r;r<n;){let t=e.charCodeAt(r);if(na(t))i=i*16+(t-P.ZERO);else if(ra(t))i=i*16+((t|Xi)-P.LOWER_A+10);else break;r+=1}else for(;r<n;){let t=e.charCodeAt(r)-P.ZERO;if(t>>>0>9)break;i=i*10+t,r+=1}if(r===a)return 0;r<n&&e.charCodeAt(r)===P.SEMI&&(r+=1),i>1114111&&(i=1114112);let o=r-t;return o>=$i&&(ea=o,o=$i),o<<Zi|i}function ua(e,t,n){let r=Ji,i=e.indexOf(`&`);if(i<0)return e;let a=e.length,o=0,s=``,c=r[0],l=c&N.JUMP_TABLE,u=(c&N.BRANCH_LENGTH)>>7;do{let c=i+1,d=e.charCodeAt(c),f,p;if(d===P.NUM){let n=la(e,c,a);f=ta(n),t&&f>0&&e.charCodeAt(c+f-1)!==P.SEMI&&(f=0),p=f===0?``:Ki(n&Qi)}else if(ia(d)){f=0,p=``;let n=d-l,i;if(n>>>0<u){let e=r[1+n];i=e===0?-1:u+e&65535}else i=-1;let o=0,s=0,m=i<0?0:r[i],h=c+1;trie:for(;h<a;){for(;(m&(N.VALUE_LENGTH|N.FLAG13))===0&&(m&N.JUMP_TABLE)!==0;){let t=m&N.JUMP_TABLE,n=(m&N.BRANCH_LENGTH)>>7;if(n===0){if(e.charCodeAt(h)!==t)break trie;i+=1}else{let a=e.charCodeAt(h)-t;if(a>>>0>=n)break trie;let o=r[i+1+a];if(o===0)break trie;i=i+n+o&65535}if(m=r[i],h+=1,h>=a)break trie}if((m&(N.VALUE_LENGTH|N.FLAG13))===N.FLAG13){let t=(m&N.BRANCH_LENGTH)>>7;if(e.charCodeAt(h)!==(m&N.JUMP_TABLE))break;h+=1;let n=t-1,a=i+1,o=0;for(;o+1<n;o+=2){let t=r[a];if(e.charCodeAt(h)!==(t&255)||(h+=1,e.charCodeAt(h)!==(t>>8&255)))break trie;h+=1,a+=1}if(o<n){if(e.charCodeAt(h)!==(r[a]&255))break;h+=1}i+=1+(t>>1),m=r[i];continue}let n=m>>>14,l=e.charCodeAt(h);if(n!==0){if(l===P.SEMI){f=h-c+1,p=n===1?String.fromCharCode(m&N.VALUE_MASK):ca(r,i,n);break}if(!t&&(m&N.FLAG13)===0&&(f=h-c,o=i,s=n),n===1)break}let u=sa(r,m,i+(n||1),l);if(u<0)break;i=u,m=r[i],h+=1}if(p===``){let e=m>>>14;e!==0&&!t&&(m&N.FLAG13)===0&&(f=h-c,o=i,s=e),f>0&&(p=ca(r,o,s))}}else f=0,p=``;f===0||n&&d!==P.NUM&&e.charCodeAt(c+f-1)!==P.SEMI&&c+f<a&&aa(e.charCodeAt(c+f))?i=c:(o<i&&(s+=e.slice(o,i)),s+=p,i=o=c+f),e.charCodeAt(i)!==P.AMP&&(i=e.indexOf(`&`,i))}while(i>=0);return s+e.slice(o)}function da(e,t=I.Legacy){return ua(e,t===I.Strict,t===I.Attribute)}var L=Symbol(`NOT_RESOLVED`);function R(e,t){return{tagName:e,nodeKind:`scalar`,implicit:t.implicit??!1,matchByTagPrefix:t.matchByTagPrefix??!1,implicitFirstChars:t.implicitFirstChars??null,resolve:t.resolve,identify:t.identify,represent:t.represent??(e=>String(e)),representTagName:t.representTagName??(()=>e)}}function fa(e,t){let n=t.finalize===void 0;return{tagName:e,nodeKind:`sequence`,implicit:!1,matchByTagPrefix:t.matchByTagPrefix??!1,create:t.create,addItem:t.addItem,finalize:t.finalize??(e=>e),carrierIsResult:n,identify:t.identify,represent:t.represent??(e=>e),representTagName:t.representTagName??(()=>e)}}function pa(e,t){let n=t.finalize===void 0;return{tagName:e,nodeKind:`mapping`,implicit:!1,matchByTagPrefix:t.matchByTagPrefix??!1,create:t.create,addPair:t.addPair,has:t.has,keys:t.keys,get:t.get,finalize:t.finalize??(e=>e),carrierIsResult:n,identify:t.identify,represent:t.represent??(e=>e),representTagName:t.representTagName??(()=>e)}}var ma=R(`tag:yaml.org,2002:str`,{resolve:e=>e,identify:e=>typeof e==`string`}),ha=[``,`~`,`null`,`Null`,`NULL`],ga=R(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>ha.indexOf(e)===-1?L:null,identify:e=>e===null,represent:()=>`null`}),_a=R(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[`n`],resolve:(e,t)=>e===`null`||t&&e===``?null:L,identify:e=>e===null,represent:()=>`null`}),va=[``,`~`,`null`,`Null`,`NULL`],ya=R(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>va.indexOf(e)===-1?L:null,identify:e=>e===null,represent:()=>`null`}),ba=[`true`,`True`,`TRUE`],xa=[`false`,`False`,`FALSE`],Sa=R(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`T`,`f`,`F`],resolve:e=>ba.indexOf(e)!==-1||xa.indexOf(e)===-1&&L,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),Ca=[`true`],wa=[`false`],Ta=R(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`f`],resolve:e=>Ca.indexOf(e)!==-1||wa.indexOf(e)===-1&&L,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),Ea=[`true`,`True`,`TRUE`,`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`],Da=[`false`,`False`,`FALSE`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],Oa=R(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`y`,`Y`,`n`,`N`,`t`,`T`,`f`,`F`,`o`,`O`],resolve:e=>Ea.indexOf(e)!==-1||Da.indexOf(e)===-1&&L,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),ka=RegExp(`^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$`),Aa=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function ja(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function Ma(e,t){if(t){if(!Aa.test(e))return L}else if(!ka.test(e))return L;let n=ja(e);return Number.isFinite(n)?n:L}var Na=R(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:Ma,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),Pa=RegExp(`^-?(?:0|[1-9][0-9]*)$`),Fa=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function Ia(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function La(e,t){if(t){if(!Fa.test(e))return L}else if(!Pa.test(e))return L;let n=Ia(e);return Number.isFinite(n)?n:L}var Ra=R(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:La,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),za=RegExp(`^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$`);function Ba(e){let t=e.replace(/_/g,``),n=1;if((t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`))return n*parseInt(t.slice(2),2);if(t.startsWith(`0x`))return n*parseInt(t.slice(2),16);if(t.includes(`:`)){let e=0;for(let n of t.split(`:`))e=e*60+Number(n);return n*e}return t!==`0`&&t[0]===`0`?n*parseInt(t,8):n*parseInt(t,10)}function Va(e){if(!za.test(e))return L;let t=Ba(e);return Number.isFinite(t)?t:L}var Ha=R(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:Va,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),Ua=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),Wa=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function Ga(e){if(!Ua.test(e))return L;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)||Wa.test(e)?r:L}function Ka(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var qa=R(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:Ga,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:Ka}),Ja=RegExp(`^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$`),Ya=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function Xa(e,t){if(t){if(!Ya.test(e))return L;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)?r:L}if(!Ja.test(e))return L;let n=Number(e);return Number.isFinite(n)?n:L}function Za(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var Qa=R(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:Xa,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:Za}),$a=RegExp(`^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),eo=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function to(e){if(!$a.test(e))return L;let t=e.toLowerCase().replace(/_/g,``),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=0;if(t.includes(`:`)){for(let e of t.split(`:`))r=r*60+Number(e);r*=n}else r=n*parseFloat(t);return Number.isFinite(r)||eo.test(e)?r:L}function no(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var ro=R(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:to,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:no}),io=R(`tag:yaml.org,2002:merge`,{implicit:!0,implicitFirstChars:[`<`],resolve:(e,t)=>e===`<<`||t&&e===``?`<<`:L,identify:()=>!1}),ao=/^[A-Za-z0-9+/]*={0,2}$/;function oo(e){let t=e.replace(/\s/g,``);if(t.length%4!=0||!ao.test(t))return L;let n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r}function so(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}var co=R(`tag:yaml.org,2002:binary`,{resolve:oo,identify:e=>Object.prototype.toString.call(e)===`[object Uint8Array]`,represent:so}),lo=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),uo=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function fo(e,t,n,r=0,i=0,a=0,o=0){let s=new Date(Date.UTC(e,t,n,r,i,a,o));return s.setUTCFullYear(e,t,n),s}function po(e){let t=lo.exec(e);if(t===null&&(t=uo.exec(e)),t===null)return L;let n=+t[1],r=t[2]-1,i=+t[3];if(!t[4]){let e=fo(n,r,i);return e.getUTCFullYear()!==n||e.getUTCMonth()!==r||e.getUTCDate()!==i?L:e}let a=+t[4],o=+t[5],s=+t[6],c=0;if(a>23||o>59||s>59)return L;if(t[7]){let e=t[7].slice(0,3);for(;e.length<3;)e+=`0`;c=+e}let l=fo(n,r,i,a,o,s,c);if(l.getUTCFullYear()!==n||l.getUTCMonth()!==r||l.getUTCDate()!==i)return L;if(t[9]){let e=+t[10],n=+(t[11]||0);if(e>23||n>59)return L;let r=(e*60+n)*6e4;l.setTime(l.getTime()-(t[9]===`-`?-r:r))}return l}var mo=R(`tag:yaml.org,2002:timestamp`,{implicit:!0,implicitFirstChars:[...`0123456789`],resolve:po,identify:e=>e instanceof Date,represent:e=>e.toISOString()}),ho=fa(`tag:yaml.org,2002:seq`,{create:()=>[],addItem:(e,t)=>{e.push(t)},identify:Array.isArray});function go(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function _o(e,t){let n={};for(let r of t)e[r]!==void 0&&(n[r]=e[r]);return n}var vo=fa(`tag:yaml.org,2002:omap`,{create:()=>({list:[],seen:new Set}),addItem:(e,t)=>{let n;if(t instanceof Map){if(t.size!==1)return`cannot resolve an ordered map item`;n=t.keys().next().value}else if(go(t)){let e=Object.keys(t);if(e.length!==1)return`cannot resolve an ordered map item`;n=e[0]}else return`cannot resolve an ordered map item`;return e.seen.has(n)?`duplicate key in ordered map`:(e.seen.add(n),e.list.push(t),``)},finalize:e=>e.list,identify:()=>!1}),yo=fa(`tag:yaml.org,2002:pairs`,{create:()=>[],addItem:(e,t)=>{if(t instanceof Map)return t.size===1?(e.push(t.entries().next().value),``):`cannot resolve a pairs item`;if(Object.prototype.toString.call(t)!==`[object Object]`)return`cannot resolve a pairs item`;let n=t,r=Object.keys(n);return r.length===1?(e.push([r[0],n[r[0]]]),``):`cannot resolve a pairs item`},identify:()=>!1}),bo=pa(`tag:yaml.org,2002:map`,{create:()=>({}),identify:go,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{if(typeof t==`object`&&t)return`object-based map does not support complex keys`;let r=String(t);return r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``},has:(e,t)=>typeof t==`object`&&t?!1:Object.prototype.hasOwnProperty.call(e,String(t)),keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}}),xo=pa(`tag:yaml.org,2002:set`,{create:()=>new Set,identify:e=>e instanceof Set,represent:e=>{let t=new Map;for(let n of e)t.set(n,null);return t},addPair:(e,t,n)=>n===null?(e.add(t),``):`cannot resolve a set item`,has:(e,t)=>e.has(t),keys:e=>e.keys(),get:()=>null});function So(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}function Co(){return{scalar:[],sequence:[],mapping:[]}}function wo(e){let t=[];for(let n of e){let e=t.length;for(let r=0;r<t.length;r++){let i=t[r];if(i.nodeKind===n.nodeKind&&i.tagName===n.tagName&&i.matchByTagPrefix===n.matchByTagPrefix){e=r;break}}t[e]=n}return t}var To=class e{tags;implicitScalarTags;implicitScalarByFirstChar;implicitScalarAnyFirstChar;defaultScalarTag;defaultSequenceTag;defaultMappingTag;exact;prefix;constructor(e){let t=wo(e),n=[],r=So(),i=Co();for(let e of t){if(e.nodeKind===`scalar`&&e.implicit){if(e.matchByTagPrefix)throw Error(`Implicit scalar tags cannot match by tag prefix`);n.push(e)}switch(e.nodeKind){case`scalar`:e.matchByTagPrefix?i.scalar.push(e):r.scalar[e.tagName]=e;break;case`sequence`:e.matchByTagPrefix?i.sequence.push(e):r.sequence[e.tagName]=e;break;case`mapping`:e.matchByTagPrefix?i.mapping.push(e):r.mapping[e.tagName]=e}}let a=n.filter(e=>e.implicitFirstChars===null),o=new Set;for(let e of n)if(e.implicitFirstChars!==null)for(let t of e.implicitFirstChars)o.add(t);let s=new Map;for(let e of o)s.set(e,n.filter(t=>t.implicitFirstChars===null||t.implicitFirstChars.indexOf(e)!==-1));let c=r.scalar[`tag:yaml.org,2002:str`];if(!c)throw Error(`schema does not define the default scalar tag (tag:yaml.org,2002:str)`);this.tags=t,this.implicitScalarTags=n,this.implicitScalarByFirstChar=s,this.implicitScalarAnyFirstChar=a,this.defaultScalarTag=c,this.defaultSequenceTag=r.sequence[`tag:yaml.org,2002:seq`],this.defaultMappingTag=r.mapping[`tag:yaml.org,2002:map`],this.exact=r,this.prefix=i}lookupScalarTag(e){let t=this.exact.scalar[e];if(t)return t;for(let t of this.prefix.scalar)if(e.startsWith(t.tagName))return t}lookupSequenceTag(e){let t=this.exact.sequence[e];if(t)return t;for(let t of this.prefix.sequence)if(e.startsWith(t.tagName))return t}lookupMappingTag(e){let t=this.exact.mapping[e];if(t)return t;for(let t of this.prefix.mapping)if(e.startsWith(t.tagName))return t}resolveImplicitScalarTag(e){let t=this.implicitScalarByFirstChar.get(e.charAt(0))??this.implicitScalarAnyFirstChar;for(let n of t){let t=n.resolve(e,!1,n.tagName);if(t!==L)return{value:t,tag:n}}let n=this.defaultScalarTag;return{value:n.resolve(e,!1,n.tagName),tag:n}}withTags(...t){let n=[];for(let e of t)n=n.concat(e);return new e([...this.tags,...n])}},Eo=new To([ma,ho,bo]),Do=new To([...Eo.tags,_a,Ta,Ra,Qa]),Oo=new To([...Eo.tags,ga,Sa,Na,qa]);new To([...Eo.tags,ya,Oa,Ha,ro,mo,io,co,vo,yo,xo]).withTags({...Ha,resolve:(e,t,n)=>{let r=Ha.resolve(e,t,n);return r===L?Na.resolve(e,t,n):r}},{...ro,resolve:(e,t,n)=>{let r=ro.resolve(e,t,n);return r===L?qa.resolve(e,t,n):r}}),pa(`tag:yaml.org,2002:map`,{create:()=>new Map,addPair:(e,t,n)=>(e.set(t,n),``),has:(e,t)=>e.has(t),keys:e=>e.keys(),get:(e,t)=>e.get(t),identify:e=>e instanceof Map||go(e),represent:e=>{if(e instanceof Map)return e;let t=new Map,n=e;for(let e of Object.keys(n))t.set(e,n[e]);return t}});function ko(e){if(Array.isArray(e)){let t=Array.prototype.slice.call(e);for(let e=0;e<t.length;e++){if(Array.isArray(t[e]))return null;typeof t[e]==`object`&&Object.prototype.toString.call(t[e])===`[object Object]`&&(t[e]=`[object Object]`)}return String(t)}return typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`?`[object Object]`:String(e)}pa(`tag:yaml.org,2002:map`,{create:()=>({}),identify:go,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{let r=ko(t);return r===null?`nested arrays are not supported inside keys`:(r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``)},has:(e,t)=>{let n=ko(t);return n!==null&&Object.prototype.hasOwnProperty.call(e,n)},keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}});var Ao={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function jo(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function Mo(e,t){return` `.repeat(Math.max(t-e.length,0))+e}function No(e,t){if(!e.buffer)return null;let n={...Ao,...t},r=/\r?\n|\r|\0/g,i=[0],a=[],o,s=-1;for(;o=r.exec(e.buffer);)a.push(o.index),i.push(o.index+o[0].length),e.position<=o.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);let c=``,l=Math.min(e.line+n.linesAfter,a.length).toString().length,u=n.maxLength-(n.indent+l+3);for(let t=1;t<=n.linesBefore&&!(s-t<0);t++){let r=jo(e.buffer,i[s-t],a[s-t],e.position-(i[s]-i[s-t]),u);c=`${` `.repeat(n.indent)}${Mo((e.line-t+1).toString(),l)} | ${r.str}\n${c}`}let d=jo(e.buffer,i[s],a[s],e.position,u);c+=`${` `.repeat(n.indent)}${Mo((e.line+1).toString(),l)} | ${d.str}\n`,c+=`${`-`.repeat(n.indent+l+3+d.pos)}^\n`;for(let t=1;t<=n.linesAfter&&!(s+t>=a.length);t++){let r=jo(e.buffer,i[s+t],a[s+t],e.position-(i[s]-i[s+t]),u);c+=`${` `.repeat(n.indent)}${Mo((e.line+t+1).toString(),l)} | ${r.str}\n`}return c.replace(/\n$/,``)}function Po(e,t){let n=``;return e.mark?(e.mark.name&&(n+=`in "${e.mark.name}" `),n+=`(${e.mark.line+1}:${e.mark.column+1})`,!t&&e.mark.snippet&&(n+=`\n\n${e.mark.snippet}`),`${e.reason} ${n}`):e.reason}var Fo=class e extends Error{reason;mark;constructor(e,t){super(),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=Po(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${Po(this,e)}`}static throwAt(t,n,r,i=``){let a=0,o=0;for(let e=0;e<n;e++){let n=t.charCodeAt(e);n===10?(a++,o=e+1):n===13&&(a++,t.charCodeAt(e+1)===10&&e++,o=e+1)}let s={name:i,buffer:t,position:n,line:a,column:n-o};throw s.snippet=No(s),new e(r,s)}},z={DOCUMENT:1,SEQUENCE:2,MAPPING:3,SCALAR:4,ALIAS:5,POP:6},B={PLAIN:1,SINGLE_QUOTED:2,DOUBLE_QUOTED:3,LITERAL_BLOCK:4,FOLDED_BLOCK:5},Io={BLOCK:1,FLOW:2},V={CLIP:1,STRIP:2,KEEP:3},Lo=-1;function Ro(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
|
|
57
|
+
`;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`
`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}var zo=Array(256),Bo=Array(256);for(let e=0;e<256;e++)zo[e]=+!!Ro(e),Bo[e]=Ro(e);function Vo(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function Ho(e){return e>=48&&e<=57?e-48:(e|32)-97+10}function Uo(e){return e===120?2:e===117?4:8}function Wo(e,t,n){let r=0;for(;t<n;){let n=e.charCodeAt(t);if(n===10)r++,t++;else if(n===13)r++,t++,e.charCodeAt(t)===10&&t++;else if(n===32||n===9)t++;else break}return{position:t,breaks:r}}function Go(e){return e===1?` `:`
|
|
58
|
+
`.repeat(e-1)}function Ko(e,t,n){let r=``,i=t,a=t,o=t;for(;i<n;){let t=e.charCodeAt(i);if(t===10||t===13){r+=e.slice(a,o);let t=Wo(e,i,n);r+=Go(t.breaks),i=a=o=t.position}else i++,t!==32&&t!==9&&(o=i)}return r+e.slice(a,o)}function qo(e,t,n){let r=``,i=t,a=t,o=t;for(;i<n;){let t=e.charCodeAt(i);if(t===39)r+=e.slice(a,i)+`'`,i+=2,a=o=i;else if(t===10||t===13){r+=e.slice(a,o);let t=Wo(e,i,n);r+=Go(t.breaks),i=a=o=t.position}else i++,t!==32&&t!==9&&(o=i)}return r+e.slice(a,n)}function Jo(e,t,n){let r=``,i=t,a=t,o=t;for(;i<n;){let t=e.charCodeAt(i);if(t===92){r+=e.slice(a,i),i++;let t=e.charCodeAt(i);if(t===10||t===13)i=Wo(e,i,n).position;else if(t<256&&zo[t])r+=Bo[t],i++;else{let n=Uo(t),a=0;for(;n>0;n--){i++;let t=Ho(e.charCodeAt(i));a=(a<<4)+t}r+=Vo(a),i++}a=o=i}else if(t===10||t===13){r+=e.slice(a,o);let t=Wo(e,i,n);r+=Go(t.breaks),i=a=o=t.position}else i++,t!==32&&t!==9&&(o=i)}return r+e.slice(a,n)}function Yo(e,t,n,r,i,a){let o=r<0?0:r,s=e.slice(t,n).replace(/\r\n?/g,`
|
|
59
|
+
`),c=s===``?[]:(s.endsWith(`
|
|
60
|
+
`)?s.slice(0,-1):s).split(`
|
|
61
|
+
`),l=``,u=!1,d=0,f=!1;for(let e of c){let t=0;for(;t<o&&e.charCodeAt(t)===32;)t++;if(r<0||t>=e.length){d++;continue}let n=e.slice(o),i=n.charCodeAt(0);a?i===32||i===9?(f=!0,l+=`
|
|
62
|
+
`.repeat(u?1+d:d)):f?(f=!1,l+=`
|
|
63
|
+
`.repeat(d+1)):d===0?u&&(l+=` `):l+=`
|
|
64
|
+
`.repeat(d):l+=`
|
|
65
|
+
`.repeat(u?1+d:d),l+=n,u=!0,d=0}return i===V.KEEP?l+=`
|
|
66
|
+
`.repeat(u?1+d:d):i!==V.STRIP&&u&&(l+=`
|
|
67
|
+
`),l}function Xo(e,t){if(t.valueStart===Lo)return``;let{valueStart:n,valueEnd:r}=t;if(t.fast)return e.slice(n,r);switch(t.style){case B.SINGLE_QUOTED:return qo(e,n,r);case B.DOUBLE_QUOTED:return Jo(e,n,r);case B.LITERAL_BLOCK:return Yo(e,n,r,t.indent,t.chomping,!1);case B.FOLDED_BLOCK:return Yo(e,n,r,t.indent,t.chomping,!0);default:return Ko(e,n,r)}}var Zo=Object.assign(Object.create(null),{"!":`!`,"!!":`tag:yaml.org,2002:`});function Qo(e,t){if(e.startsWith(`!<`)&&e.endsWith(`>`))return decodeURIComponent(e.slice(2,-1));let n=e.indexOf(`!`,1),r=n===-1?`!`:e.slice(0,n+1),i=t?.[r]??Zo[r]??r;return decodeURIComponent(i)+decodeURIComponent(e.slice(r.length))}var $o=-1,es=`tag:yaml.org,2002:merge`,ts={filename:``,schema:Oo,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};function ns(e){return`tagStart`in e&&e.tagStart!==$o?e.tagStart:`anchorStart`in e&&e.anchorStart!==$o?e.anchorStart:`valueStart`in e&&e.valueStart!==$o?e.valueStart:`start`in e?e.start:0}function H(e,t){Fo.throwAt(e.source,e.position,t,e.filename)}function rs(e,t,n,r){try{return n.finalize(r)}catch(n){if(n instanceof Fo)throw n;Fo.throwAt(e.source,t,n instanceof Error?n.message:String(n),e.filename)}}function is(e,t){let n=Xo(e.source,t),r=t.tagStart===$o?``:e.source.slice(t.tagStart,t.tagEnd),i=e.schema.defaultScalarTag;if(r!==``){if(r===`!`)return{value:n,tag:i};let t=Qo(r,e.tagHandlers),a=e.schema.lookupScalarTag(t);if(a){let r=a.resolve(n,!0,t);return r===L&&H(e,`cannot resolve a node with !<${t}> explicit tag`),{value:r,tag:a}}let o=e.schema.lookupMappingTag(t)??e.schema.lookupSequenceTag(t);if(o){n!==``&&H(e,`cannot resolve a node with !<${t}> explicit tag`);let r=o.create(t);return{value:o.carrierIsResult?r:rs(e,e.position,o,r),tag:o}}H(e,`unknown scalar tag !<${t}>`)}return t.style===B.PLAIN?e.schema.resolveImplicitScalarTag(n):{value:i.resolve(n,!1,i.tagName),tag:i}}function as(e,t,n){let r=t.tagStart===$o?``:e.source.slice(t.tagStart,t.tagEnd);return r===``||r===`!`?n:Qo(r,e.tagHandlers)}function os(e){return e.nodeKind===`mapping`}function ss(e){e.totalMergeKeys++,e.maxTotalMergeKeys!==-1&&e.totalMergeKeys>e.maxTotalMergeKeys&&H(e,`merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`)}function cs(e,t,n,r){ss(e);for(let i of r.keys(n)){if(ss(e),t.tag.has(t.value,i))continue;let a=t.tag.addPair(t.value,i,r.get(n,i));a&&H(e,a),t.overridable??=new Set,t.overridable.add(i)}}function ls(e,t,n,r){if(e.position=t.keyPosition,os(r))cs(e,t,n,r);else if(r.nodeKind===`sequence`&&Array.isArray(n)){n.length>100&&H(e,`abnormal merge sequence size`);for(let r of n){let n=e.nodeTags.get(r);n||H(e,`cannot merge mappings; the provided source object is unacceptable`),cs(e,t,r,n)}}else H(e,`cannot merge mappings; the provided source object is unacceptable`)}function us(e,t,n,r,i){if(e.position=t.keyPosition,t.keyIsMerge){ls(e,t,r,i);return}!e.json&&t.tag.has(t.value,n)&&!t.overridable?.has(n)&&H(e,`duplicated mapping key`);let a=t.tag.addPair(t.value,n,r);a&&H(e,a),t.overridable?.delete(n)}function ds(e,t,n){let r=e.frames[e.frames.length-1];if(r.kind===`document`)r.value=t,r.hasValue=!0;else if(r.kind===`sequence`){os(n)&&e.nodeTags.set(t,n);let i=r.tag.addItem(r.value,t,r.index++);i&&H(e,i)}else if(r.hasKey){let i=r.key;r.key=void 0,r.hasKey=!1,us(e,r,i,t,n)}else r.key=t,r.keyPosition=e.position,r.hasKey=!0,r.keyIsMerge=n.tagName===es}function fs(e,t,n,r,i){if(t.anchorStart!==$o){let a={value:n,tag:r,isValueFinal:i};return e.anchors.set(e.source.slice(t.anchorStart,t.anchorEnd),a),a}return null}function ps(e,t){let n={...ts,...t,events:e,documents:[],eventIndex:0,position:0,frames:[],anchors:new Map,nodeTags:new Map,tagHandlers:Object.create(null),totalMergeKeys:0,aliasCount:0};for(;n.eventIndex<n.events.length;){let e=n.events[n.eventIndex++];switch(n.position=ns(e),e.type){case z.DOCUMENT:n.anchors=new Map,n.nodeTags=new Map,n.aliasCount=0,n.tagHandlers=Object.create(null);for(let t of e.directives)t.kind===`tag`&&(n.tagHandlers[t.handle]=t.prefix);n.frames.push({kind:`document`,position:n.position,value:void 0,hasValue:!1});break;case z.SCALAR:{let{value:t,tag:r}=is(n,e);fs(n,e,t,r,!0),ds(n,t,r);break}case z.SEQUENCE:{let t=as(n,e,`tag:yaml.org,2002:seq`),r=n.schema.lookupSequenceTag(t);r||H(n,`unknown sequence tag !<${t}>`);let i=r.create(t),a=fs(n,e,i,r,r.carrierIsResult);n.frames.push({kind:`sequence`,position:n.position,value:i,tag:r,anchor:a,index:0});break}case z.MAPPING:{let t=as(n,e,`tag:yaml.org,2002:map`),r=n.schema.lookupMappingTag(t);r||H(n,`unknown mapping tag !<${t}>`);let i=r.create(t),a=fs(n,e,i,r,r.carrierIsResult);n.frames.push({kind:`mapping`,position:n.position,value:i,tag:r,anchor:a,key:void 0,keyPosition:n.position,hasKey:!1,keyIsMerge:!1,overridable:null});break}case z.ALIAS:{n.maxAliases!==-1&&++n.aliasCount>n.maxAliases&&H(n,`aliases exceeded maxAliases (${n.maxAliases})`);let t=n.source.slice(e.anchorStart,e.anchorEnd),r=n.anchors.get(t);r||H(n,`unidentified alias "${t}"`),r.isValueFinal||H(n,`recursive alias "${t}" is not supported for tag ${r.tag.tagName} because it uses finalize()`),ds(n,r.value,r.tag);break}case z.POP:{let e=n.frames.pop();if(e.kind===`mapping`&&e.hasKey&&(n.position=e.keyPosition,H(n,`incomplete mapping pair in event stream`)),e.kind===`document`)n.documents.push(e.value);else{let t=e.tag.carrierIsResult?e.value:rs(n,e.position,e.tag,e.value);e.anchor&&(e.anchor.value=t,e.anchor.isValueFinal=!0),ds(n,t,e.tag)}break}}}return n.documents}var U=-1,ms=Object.prototype.hasOwnProperty,hs=1,gs=2,_s=3,vs=4,ys=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,bs=/[,\[\]{}]/,xs=/^(?:!|!!|![0-9A-Za-z-]+!)$/,Ss=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,Cs=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`,ws=RegExp(`^(?:${Ss})*$`),Ts=RegExp(`^(?:${Cs})+$`),Es=RegExp(`^(?:!(?:${Ss})*|${Cs}(?:${Ss})*)$`),Ds={filename:``,maxDepth:100};function Os(e,t,n){e.events.push({type:z.DOCUMENT,explicitStart:t,explicitEnd:n,directives:e.directives})}function ks(e,t,n,r,i,a,o){e.events.push({type:z.SEQUENCE,start:t,anchorStart:n,anchorEnd:r,tagStart:i,tagEnd:a,style:o})}function As(e,t,n,r,i,a,o){e.events.push({type:z.MAPPING,start:t,anchorStart:n,anchorEnd:r,tagStart:i,tagEnd:a,style:o})}function js(e,t){e.events.splice(t.eventsLength,0,{type:z.MAPPING,start:t.position,anchorStart:U,anchorEnd:U,tagStart:U,tagEnd:U,style:Io.FLOW})}function Ms(e,t,n,r,i,a,o,s,c=V.CLIP,l=-1,u=!1){e.events.push({type:z.SCALAR,valueStart:t,valueEnd:n,anchorStart:r,anchorEnd:i,tagStart:a,tagEnd:o,style:s,chomping:c,indent:l,fast:u})}function Ns(e,t,n){e.events.push({type:z.ALIAS,anchorStart:t,anchorEnd:n})}function Ps(e){e.events.push({type:z.POP})}function W(e){Ms(e,U,U,U,U,U,U,B.PLAIN)}function Fs(){return{anchorStart:U,anchorEnd:U,tagStart:U,tagEnd:U}}function Is(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,eventsLength:e.events.length}}function Ls(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.events.length=t.eventsLength}function G(e,t){Fo.throwAt(e.input.slice(0,e.length),e.position,t,e.filename)}function K(e){return e===10||e===13}function Rs(e){return e===9||e===32}function q(e){return Rs(e)||K(e)}function zs(e){return e===0||q(e)}function Bs(e){return e===44||e===91||e===93||e===123||e===125}function Vs(e){return e>=48&&e<=57?e-48:-1}function Hs(e){if(e>=48&&e<=57)return e-48;let t=e|32;return t>=97&&t<=102?t-97+10:-1}function Us(e){return e===120?2:e===117?4:e===85?8:0}function Ws(e){return e===48||e===97||e===98||e===116||e===9||e===110||e===118||e===102||e===114||e===101||e===32||e===34||e===47||e===92||e===78||e===95||e===76||e===80}function Gs(e){e.input.charCodeAt(e.position)===10?e.position++:(e.position++,e.input.charCodeAt(e.position)===10&&e.position++),e.line++,e.lineStart=e.position,e.lineIndent=0,e.firstTabInLine=-1}function J(e,t){let n=0,r=e.input.charCodeAt(e.position),i=e.position===e.lineStart||q(e.input.charCodeAt(e.position-1));for(;r!==0;){for(;Rs(r);)i=!0,r===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),r=e.input.charCodeAt(++e.position);if(t&&i&&r===35)do r=e.input.charCodeAt(++e.position);while(!K(r)&&r!==0);if(!K(r))break;for(Gs(e),n++,i=!0,r=e.input.charCodeAt(e.position);r===32;)e.lineIndent++,r=e.input.charCodeAt(++e.position)}return n}function Ks(e,t=e.position){let n=e.input.charCodeAt(t);if((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)){let n=e.input.charCodeAt(t+3);return n===0||q(n)}return!1}function qs(e){e.position===e.lineStart&&e.input.charCodeAt(e.position)===65279&&(e.position++,e.lineStart=e.position)}function Js(e){if(e.position!==e.lineStart)return!1;if(Ks(e))return!0;if(e.input.charCodeAt(e.position)!==65279)return!1;let t=Is(e);qs(e),J(e,!0);let n=e.input.charCodeAt(e.position),r=e.position===e.lineStart&&(n===37||n===45&&Ks(e));return Ls(e,t),r}function Ys(e){let t=e.input.charCodeAt(e.position);for(;t!==0&&!K(t);)t=e.input.charCodeAt(++e.position)}function Xs(e,t,n){ys.test(e.input.slice(t,n))&&G(e,`the stream contains non-printable characters`)}function Zs(e,t,n){if(e.input.charCodeAt(e.position)!==33)return!1;t.tagStart!==U&&G(e,`duplication of a tag property`);let r=e.position,i=!1,a=!1,o=`!`,s=e.input.charCodeAt(++e.position);s===60?(i=!0,s=e.input.charCodeAt(++e.position)):s===33&&(a=!0,o=`!!`,s=e.input.charCodeAt(++e.position));let c=e.position,l;if(i){for(;s!==0&&s!==62;)s=e.input.charCodeAt(++e.position);s!==62&&G(e,`unexpected end of the stream within a verbatim tag`),l=e.input.slice(c,e.position),e.position++}else{for(;s!==0&&!q(s)&&!(n&&Bs(s));)s===33&&(a?G(e,`tag suffix cannot contain exclamation marks`):(o=e.input.slice(c-1,e.position+1),xs.test(o)||G(e,`named tag handle cannot contain such characters`),a=!0,c=e.position+1)),s=e.input.charCodeAt(++e.position);l=e.input.slice(c,e.position),bs.test(l)&&G(e,`tag suffix cannot contain flow indicator characters`)}return l&&!(i?ws.test(l):Ts.test(l))&&G(e,`tag name cannot contain such characters: ${l}`),!i&&o!==`!`&&o!==`!!`&&!ms.call(e.tagHandlers,o)&&G(e,`undeclared tag handle "${o}"`),t.tagStart=r,t.tagEnd=e.position,!0}function Qs(e,t){if(e.input.charCodeAt(e.position)!==38)return!1;t.anchorStart!==U&&G(e,`duplication of an anchor property`),e.position++;let n=e.position;for(;e.input.charCodeAt(e.position)!==0&&!q(e.input.charCodeAt(e.position))&&!Bs(e.input.charCodeAt(e.position));)e.position++;return e.position===n&&G(e,`name of an anchor node must contain at least one character`),t.anchorStart=n,t.anchorEnd=e.position,!0}function $s(e,t){if(e.input.charCodeAt(e.position)!==42)return!1;(t.anchorStart!==U||t.tagStart!==U)&&G(e,`alias node should not have any properties`),e.position++;let n=e.position;for(;e.input.charCodeAt(e.position)!==0&&!q(e.input.charCodeAt(e.position))&&!Bs(e.input.charCodeAt(e.position));)e.position++;return e.position===n&&G(e,`name of an alias node must contain at least one character`),Ns(e,n,e.position),!0}function ec(e,t){J(e,!1),e.lineIndent<t&&G(e,`deficient indentation`)}function tc(e,t,n){if(e.input.charCodeAt(e.position)!==39)return!1;e.position++;let r=e.position,i=!0;for(;e.input.charCodeAt(e.position)!==0;){let a=e.input.charCodeAt(e.position);if(a===39){if(e.input.charCodeAt(e.position+1)===39){i=!1,e.position+=2;continue}let t=e.position;return e.position++,Ms(e,r,t,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,B.SINGLE_QUOTED,V.CLIP,-1,i),!0}K(a)?(i=!1,ec(e,t)):e.position===e.lineStart&&Ks(e)?G(e,`unexpected end of the document within a single quoted scalar`):a!==9&&a<32?G(e,`expected valid JSON character`):e.position++}G(e,`unexpected end of the stream within a single quoted scalar`)}function nc(e,t,n){if(e.input.charCodeAt(e.position)!==34)return!1;e.position++;let r=e.position,i=!0;for(;e.input.charCodeAt(e.position)!==0;){let a=e.input.charCodeAt(e.position);if(a===34){let t=e.position;return e.position++,Ms(e,r,t,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,B.DOUBLE_QUOTED,V.CLIP,-1,i),!0}if(a===92){i=!1;let n=e.input.charCodeAt(++e.position);if(K(n))ec(e,t);else if(Ws(n))e.position++;else{let t=Us(n);for(t===0&&G(e,`unknown escape sequence`);t-->0;)e.position++,Hs(e.input.charCodeAt(e.position))<0&&G(e,`expected hexadecimal character`);e.position++}}else K(a)?(i=!1,ec(e,t)):e.position===e.lineStart&&Ks(e)?G(e,`unexpected end of the document within a double quoted scalar`):a!==9&&a<32?G(e,`expected valid JSON character`):e.position++}G(e,`unexpected end of the stream within a double quoted scalar`)}function rc(e,t,n){let r=e.input.charCodeAt(e.position),i=V.CLIP,a=-1,o=!1;if(r!==124&&r!==62)return!1;let s=r===124?B.LITERAL_BLOCK:B.FOLDED_BLOCK;for(e.position++;e.input.charCodeAt(e.position)!==0;){let n=e.input.charCodeAt(e.position),r=Vs(n);if(n===43||n===45)i!==V.CLIP&&G(e,`repeat of a chomping mode identifier`),i=n===43?V.KEEP:V.STRIP,e.position++;else if(r>=0)r===0&&G(e,`bad explicit indentation width of a block scalar; it cannot be less than one`),o&&G(e,`repeat of an indentation width identifier`),a=t+r-1,o=!0,e.position++;else break}let c=!1;for(;Rs(e.input.charCodeAt(e.position));)c=!0,e.position++;c&&e.input.charCodeAt(e.position)===35&&Ys(e),K(e.input.charCodeAt(e.position))?Gs(e):e.input.charCodeAt(e.position)!==0&&G(e,`a line break is expected`);let l=o?a:-1,u=0,d=e.position,f=e.position;for(;e.input.charCodeAt(e.position)!==0;){let n=e.position,r=0;for(;e.input.charCodeAt(n+r)===32;)r++;let i=e.input.charCodeAt(n+r);if(i===0){l>=0?r>l&&(f=n+r):r>0&&(f=n+r);break}if(Js(e))break;if(!o&&l===-1&&K(i)&&(u=Math.max(u,r)),!o&&l===-1&&!K(i)&&(i===9&&r<t&&(e.position=n+r,G(e,`tab characters must not be used in indentation`)),r<u&&(e.position=n+r,G(e,`bad indentation of a mapping entry`))),l===-1&&i!==0&&!K(i)&&r<t){e.lineIndent=r,e.position=n+r;break}!o&&i!==0&&!K(i)&&l===-1&&(l=r);let a=l===-1?t+1:l;if(i!==0&&!K(i)&&r<a){e.lineIndent=r,e.position=n+r;break}Ys(e),f=e.position,K(e.input.charCodeAt(e.position))&&(Gs(e),f=e.position)}return Xs(e,d,f),Ms(e,d,f,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,s,i,l),!0}function ic(e,t){let n=e.input.charCodeAt(e.position),r=t===hs;if(n===0||q(n)||n===35||n===38||n===42||n===33||n===124||n===62||n===39||n===34||n===37||n===64||n===96||r&&Bs(n))return!1;if(n===63||n===45){let t=e.input.charCodeAt(e.position+1);if(zs(t)||r&&Bs(t))return!1}return!0}function ac(e,t,n,r){if(!ic(e,n))return!1;let i=e.position,a=e.position,o=e.input.charCodeAt(e.position),s=n===hs,c=!1;for(;o!==0&&!Js(e);){if(o===58){let t=e.input.charCodeAt(e.position+1);if(zs(t)||s&&Bs(t))break}else if(o===35){if(q(e.input.charCodeAt(e.position-1)))break}else if(s&&Bs(o))break;else if(K(o)){let n=e.position,r=e.line,i=e.lineStart,a=e.lineIndent;if(J(e,!1),e.lineIndent>=t){c=!0,o=e.input.charCodeAt(e.position);continue}e.position=n,e.line=r,e.lineStart=i,e.lineIndent=a;break}Rs(o)||(a=e.position+1),o=e.input.charCodeAt(++e.position)}return a!==i&&(Xs(e,i,a),Ms(e,i,a,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,B.PLAIN,V.CLIP,-1,!c),!0)}function oc(e,t){let n=e.line;J(e,!0),(e.line>n&&e.lineIndent<t||e.firstTabInLine!==-1&&e.lineIndent<t)&&G(e,`deficient indentation`)}function sc(e,t,n){let r=e.input.charCodeAt(e.position),i=r===123,a=e.position,o=!0;if(r!==91&&r!==123)return!1;let s=i?125:93;for(i?As(e,a,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,Io.FLOW):ks(e,a,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,Io.FLOW),e.position++;e.input.charCodeAt(e.position)!==0;){oc(e,t);let n=e.input.charCodeAt(e.position);if(n===s)return e.position++,Ps(e),!0;o?n===44&&G(e,`expected the node content, but found ','`):G(e,`missed comma between flow collection entries`);let r=!1,a=!1;n===63&&q(e.input.charCodeAt(e.position+1))&&(r=a=!0,e.position+=1,oc(e,t));let c=e.line,l=Is(e),u=uc(e,t,hs,!1,!0);oc(e,t),n=e.input.charCodeAt(e.position),(i||a||e.line===c)&&n===58?(r=!0,e.position++,oc(e,t),i||js(e,l),u||W(e),uc(e,t,hs,!1,!0)||W(e),oc(e,t),i||Ps(e)):i&&r?(u||W(e),W(e)):i?W(e):r&&(js(e,l),u||W(e),W(e),Ps(e)),n=e.input.charCodeAt(e.position),n===44?(o=!0,e.position++):o=!1}G(e,`unexpected end of the stream within a flow collection`)}function cc(e,t,n){if(e.firstTabInLine!==-1||e.input.charCodeAt(e.position)!==45||!zs(e.input.charCodeAt(e.position+1)))return!1;for(ks(e,e.position,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,Io.BLOCK);e.input.charCodeAt(e.position)===45&&zs(e.input.charCodeAt(e.position+1));){e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,G(e,`tab characters must not be used in indentation`));let n=e.line;e.position++;let r=J(e,!0)>0;if(e.firstTabInLine!==-1&&e.input.charCodeAt(e.position)===45&&zs(e.input.charCodeAt(e.position+1))&&G(e,`bad indentation of a sequence entry`),r&&e.lineIndent<=t?W(e):uc(e,t,_s,!1,!0),J(e,!0),e.lineIndent<t||e.position>=e.length)break;e.lineIndent>t&&G(e,`bad indentation of a sequence entry`),e.line===n&&e.input.charCodeAt(e.position)===45&&zs(e.input.charCodeAt(e.position+1))&&G(e,`bad indentation of a sequence entry`)}return Ps(e),!0}function lc(e,t,n,r){let i=!1,a=!1,o=!1,s=!1;if(e.firstTabInLine!==-1)return!1;let c=e.input.charCodeAt(e.position);for(;c!==0;){!i&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,G(e,`tab characters must not be used in indentation`));let l=e.input.charCodeAt(e.position+1),u=e.line;if((c===63||c===58)&&zs(l))o||=(As(e,e.position,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,Io.BLOCK),!0),c===63?(i&&W(e),a=!0,i=!0):i?i=!1:(W(e),a=!0,i=!1),e.position+=1,s=!0;else{i&&=(W(e),!1);let t=Is(e);if(!uc(e,n,gs,!1,!0))break;if(e.line===u){for(c=e.input.charCodeAt(e.position);Rs(c);)c=e.input.charCodeAt(++e.position);if(c===58){if(c=e.input.charCodeAt(++e.position),zs(c)||G(e,`a whitespace character is expected after the key-value separator within a block mapping`),!o){for(Ls(e,t),As(e,t.position,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,Io.BLOCK),o=!0,uc(e,n,gs,!1,!0),c=e.input.charCodeAt(e.position);Rs(c);)c=e.input.charCodeAt(++e.position);e.position++}a=!0,i=!1,s=!1}else if(a)G(e,`expected ':' after a mapping key`);else return r.anchorStart!==U||r.tagStart!==U?(Ls(e,t),!1):!0}else if(a)G(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return r.anchorStart!==U||r.tagStart!==U?(Ls(e,t),!1):!0}if(uc(e,t,vs,!0,s)&&(s=!1),i||(s&&=(W(e),!1)),J(e,!0),c=e.input.charCodeAt(e.position),(e.line===u||e.lineIndent>t)&&c!==0)G(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return a?(i&&W(e),o&&Ps(e),!0):!1}function uc(e,t,n,r,i,a=!0){e.depth>=e.maxDepth&&G(e,`nesting exceeded maxDepth (${e.maxDepth})`),e.depth++;let o=1,s=!1,c=!1,l=null,u=Fs(),d=n===vs||n===_s,f=d,p=d;if(r&&J(e,!0)&&(s=!0,o=e.lineIndent>t?1:e.lineIndent===t?0:-1),o===1)for(;;){let r=e.input.charCodeAt(e.position),i=Is(e);if(s&&o!==1&&(r===33||r===38))break;if(s&&p&&(u.tagStart!==U||u.anchorStart!==U)&&(r===33||r===38)){let n=Is(e),r=t+1;if(lc(e,e.position-e.lineStart,r,u)&&e.events[n.eventsLength]?.type===z.MAPPING)return e.depth--,!0;Ls(e,n)}if(s&&(r===33&&u.tagStart!==U||r===38&&u.anchorStart!==U)||!Zs(e,u,n===hs)&&!Qs(e,u))break;l===null&&(l=i),J(e,!0)?(s=!0,f=p,o=e.lineIndent>t?1:e.lineIndent===t?0:-1):f=!1}if(f&&=s||i,o===1||n===vs){let r=n===hs||n===gs?t:t+1,i=e.position-e.lineStart;if(o===1){if(f&&(cc(e,i,u)||lc(e,i,r,u))||sc(e,r,u))c=!0;else{let t=e.input.charCodeAt(e.position);if(l!==null&&a&&p&&!f&&t!==124&&t!==62){let t=Is(e),n=l.position-l.lineStart;Ls(e,l),lc(e,n,r,Fs())&&e.events[t.eventsLength]?.type===z.MAPPING?c=!0:Ls(e,t)}!c&&(d&&rc(e,r,u)||tc(e,r,u)||nc(e,r,u)||$s(e,u)||ac(e,r,n,u))&&(c=!0)}}else o===0&&(c=f&&cc(e,i,u))}return d&&=!c,!c&&(u.anchorStart!==U||u.tagStart!==U||d)&&(Ms(e,U,U,u.anchorStart,u.anchorEnd,u.tagStart,u.tagEnd,B.PLAIN),c=!0),e.depth--,c||u.anchorStart!==U||u.tagStart!==U}function dc(e){if(e.lineIndent>0||e.input.charCodeAt(e.position)!==37)return!1;e.position++;let t=e.position;for(;e.input.charCodeAt(e.position)!==0&&!q(e.input.charCodeAt(e.position));)e.position++;let n=e.input.slice(t,e.position),r=[];for(n.length===0&&G(e,`directive name must not be less than one character in length`);e.input.charCodeAt(e.position)!==0&&!K(e.input.charCodeAt(e.position));){for(;Rs(e.input.charCodeAt(e.position));)e.position++;if(e.input.charCodeAt(e.position)===35||K(e.input.charCodeAt(e.position))||e.input.charCodeAt(e.position)===0)break;let t=e.position;for(;e.input.charCodeAt(e.position)!==0&&!q(e.input.charCodeAt(e.position));)e.position++;r.push(e.input.slice(t,e.position))}if(K(e.input.charCodeAt(e.position))&&Gs(e),n===`YAML`){e.directives.some(e=>e.kind===`yaml`)&&G(e,`duplication of %YAML directive`),r.length!==1&&G(e,`YAML directive accepts exactly one argument`);let t=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);t===null&&G(e,`ill-formed argument of the YAML directive`),parseInt(t[1],10)!==1&&G(e,`unacceptable YAML version of the document`),e.directives.push({kind:`yaml`,version:r[0]})}else if(n===`TAG`){r.length!==2&&G(e,`TAG directive accepts exactly two arguments`);let[t,n]=r;xs.test(t)||G(e,`ill-formed tag handle (first argument) of the TAG directive`),ms.call(e.tagHandlers,t)&&G(e,`there is a previously declared suffix for "${t}" tag handle`),Es.test(n)||G(e,`ill-formed tag prefix (second argument) of the TAG directive`),e.tagHandlers[t]=n,e.directives.push({kind:`tag`,handle:t,prefix:n})}return!0}function fc(e){e.directives=[],e.tagHandlers=Object.create(null);let t=!1;for(J(e,!0);dc(e);)t=!0,J(e,!0);let n=!1,r=!1,i=!0;if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45&&zs(e.input.charCodeAt(e.position+3))){n=!0;let t=e.line;e.position+=3,J(e,!0),i=e.line>t}else t&&G(e,`directives end mark is expected`);let a=e.events.length;if(!n&&e.position===e.lineStart&&e.input.charCodeAt(e.position)===46&&Ks(e)){e.position+=3,J(e,!0);return}if(Os(e,n,!1),uc(e,e.lineIndent-1,vs,!1,i,i)||W(e),J(e,!0),e.position===e.lineStart&&Ks(e)&&(r=e.input.charCodeAt(e.position)===46,r)){let t=e.line;e.position+=3,J(e,!0),e.line===t&&e.position<e.length&&G(e,`end of the stream or a document separator is expected`)}let o=e.events[a];o?.type===z.DOCUMENT&&(o.explicitEnd=r),Ps(e),!r&&e.position<e.length&&!Js(e)&&G(e,`end of the stream or a document separator is expected`)}function pc(e,t){let n=e.length,r={...Ds,...t,input:`${e}\0`,length:n,position:0,line:0,lineStart:0,lineIndent:0,firstTabInLine:-1,depth:0,directives:[],tagHandlers:Object.create(null),events:[]},i=e.indexOf(`\0`);for(i!==-1&&Fo.throwAt(e,i,`null byte is not allowed in input`,r.filename);r.position<r.length&&(qs(r),J(r,!0),!(r.position>=r.length));){let e=r.position;fc(r),r.position===e&&G(r,`can not read a document`)}return r.events}var mc={...Ds,...ts};function hc(e,t={}){let n={...mc,...t},r=String(e),i=Object.keys(Ds),a=Object.keys(ts);return ps(pc(r,_o(n,i)),{..._o(n,a),source:r})}function gc(e,t,n){let r=null;typeof t==`function`?r=t:typeof t==`object`&&t&&(n=t);let i=hc(e,n);if(r===null)return i;for(let e of i)r(e)}function _c(e,t){return!!(e&1<<t)}var vc={applyQuoteFlowKeysOption:bc,doubleQuoteForInvisibles:xc,doubleQuoteWhitespaceOnly:Sc,applyForceQuotesOption:Cc,tryLongOrMultilineAsBlock:wc,quoteInvalidPlain:Tc,fallbackToDoubleQuoted:Ec};function yc(e){return e.presenterOptions.quoteStyle===`single`&&_c(e.allowedStylesMask,B.SINGLE_QUOTED)?B.SINGLE_QUOTED:B.DOUBLE_QUOTED}function bc(e){e.presenterOptions.quoteFlowKeys&&e.isKey&&e.flowOnly&&e.style===B.PLAIN&&(e.style=B.DOUBLE_QUOTED)}function xc(e){e.style===B.PLAIN&&/[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(e.node.value)&&(e.style=B.DOUBLE_QUOTED)}function Sc(e){e.style===B.PLAIN&&/^\s+$/.test(e.node.value)&&(e.style=B.DOUBLE_QUOTED)}function Cc(e){e.presenterOptions.forceQuotes&&(e.isKey||e.style!==B.PLAIN||e.node.tag===e.presenterOptions.schema.defaultScalarTag.tagName&&(e.style=e.node.value.includes(`
|
|
68
|
+
`)?B.DOUBLE_QUOTED:yc(e)))}function wc(e){if(e.style!==B.PLAIN||e.isKey)return;let t=e.node.value,n=t.indexOf(`
|
|
69
|
+
`)!==-1;if(!_c(e.allowedStylesMask,B.LITERAL_BLOCK)){n&&(e.style=B.DOUBLE_QUOTED);return}let r=e.presenterOptions.lineWidth;if(r===-1){n&&(e.style=B.LITERAL_BLOCK);return}let i=Math.max(Math.min(r,40),r-e.shiftOfContent),a=0,o=!1;for(;a<=t.length;){let e=t.length,n=t.indexOf(`
|
|
70
|
+
`,a);n!==-1&&(e=n);let r=t.slice(a,e);if(r.length>i&&r[0]!==` `&&/ [^ \t]/.test(r)&&(o=!0),n===-1)break;a=n+1}o?e.style=B.FOLDED_BLOCK:n&&(e.style=B.LITERAL_BLOCK)}function Tc(e){e.style===B.PLAIN&&!_c(e.allowedStylesMask,B.PLAIN)&&(e.style=yc(e))}function Ec(e){_c(e.allowedStylesMask,e.style)||(e.style=B.DOUBLE_QUOTED)}var Dc=`[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]`,Oc=`[\\n\\r]`,kc=`\\uFEFF`,Ac=`[ \\t]`,jc=`(?:(?!(?:${Oc}|${kc}))${Dc})`,Mc=`(?:(?!${Ac})${jc})`,Nc=`[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]`,Pc=`[-?:,\\[\\]{}#&*!|>'"%@\`]`,Fc=`[,\\[\\]{}]`,Ic=Mc,Lc=`(?:(?!${Fc})${Mc})`,Rc=`(?:(?:(?!${Pc})${Mc})|[?:-](?=${Ic}))`,zc=`(?:(?:(?!${Pc})${Mc})|[?:-](?=${Lc}))`,Bc=`(?:(?:(?![:#])${Ic})|:(?=${Ic}))#*`,Vc=`(?:(?:(?![:#])${Lc})|:(?=${Lc}))#*`,Hc=`(?:${Ac}*${Bc})*`,Uc=`(?:${Ac}*${Vc})*`,Wc=`${Rc}#*${Hc}`,Gc=`${zc}#*${Uc}`,Kc=Wc,qc=Gc,Jc=`\\n+${Bc}${Hc}`,Yc=`\\n+${Vc}${Uc}`,Xc=`${Wc}(?:${Jc})*`,Zc=`${Gc}(?:${Yc})*`;RegExp(`^(?:${Xc})$`,`u`),RegExp(`^(?:${Zc})$`,`u`),RegExp(`^(?:${Kc})$`,`u`),RegExp(`^(?:${qc})$`,`u`),RegExp(`^(?:${Nc})*$`,`u`),RegExp(`^(?:${Nc}|\\n)*$`,`u`),RegExp(`^(?:${jc}|\\n)*$`,`u`),Object.keys(vc).map(e=>Reflect.get(vc,e)),z.DOCUMENT,z.SEQUENCE,z.MAPPING,z.SCALAR,z.ALIAS,z.POP,B.PLAIN,B.SINGLE_QUOTED,B.DOUBLE_QUOTED,B.LITERAL_BLOCK,B.FOLDED_BLOCK,Io.BLOCK,Io.FLOW,V.CLIP,V.STRIP,V.KEEP;function Qc(e){let t=gc(e,{schema:Do});if(t.length>1)throw new Fo(`expected a single document in the stream, but found more`);return t[0]}var $c=[`javascript:`,`data:text/html`,`vbscript:`,`data:text/javascript`,`data:text/vbscript`,`data:text/css`,`data:text/plain`,`data:text/xml`],el={amp:`&`,lt:`<`,gt:`>`,quot:`"`,apos:`'`,colon:`:`,sol:`/`,bsol:`\\`,Tab:` `,NewLine:`
|
|
71
|
+
`};function tl(e){let t=e;for(let e=0;e<10;e++){let e=t.replace(/&#x([0-9a-f]+);?/gi,(e,t)=>{let n=Number.parseInt(t,16);return n<=1114111?String.fromCodePoint(n):e}).replace(/&#(\d+);?/g,(e,t)=>{let n=Number.parseInt(t,10);return n<=1114111?String.fromCodePoint(n):e}).replace(/&([a-z]+);?/gi,(e,t)=>el[t]??e);if(e===t)break;t=e}return t}function nl(e){let t=e;try{t=decodeURIComponent(e)}catch{}let n=tl(t),r;try{r=new URL(n)}catch{return!1}return $c.some(e=>r.href.toLowerCase().startsWith(e))}var rl=new Set([`innerhtml`,`dangerouslysetinnerhtml`,`textcontent`]);function il(e,t,n={}){let r={};for(let i in e){if(i===`$`)continue;let a=e[i],o=i.charCodeAt(0)===58,s=o?i.slice(1):i;if(rl.has(s.toLowerCase()))continue;let c,l=i;if(n.parseJson&&o){if(typeof a==`string`)try{c=JSON.parse(a)}catch{c=fl(t,a)}else c=a;l=s}else if(o&&typeof a==`string`){let e=fl(t,a);e===void 0?c=a:(c=e,l=s)}else c=a;let u=s.toLowerCase();(!o||u!==`href`&&u!==`src`&&u!==`xlink:href`||typeof c!=`string`||!nl(c))&&(r[l]=c)}return r}function al(e){return!!e&&typeof e==`object`&&Array.isArray(e.nodes)}function ol(e,t={}){if(typeof e==`string`)return t.decodeUnicodeEntities?da(e):e;let n=``,r=e.length;for(let i=2;i<r;i++)n+=ol(e[i],t);return n}function*sl(e,t){function*n(e,r,i){let a=e;if(t(e)){let t=yield e;if(t===!1)return r.splice(i,1),!0;t!==void 0&&(r[i]=t,a=t)}if(Array.isArray(a)&&a.length>2){let e=2;for(;e<a.length;)(yield*n(a[e],a,e))||(e+=1)}return!1}let r=0;for(;r<e.nodes.length;)(yield*n(e.nodes[r],e.nodes,r))||(r+=1)}function cl(e,t,n){let r=sl(e,t),i=r.next();for(;!i.done;){let e=n(i.value);i=r.next(e)}}function ll(e){return e?dl(e).map(e=>e?e[0].toUpperCase()+e.slice(1):``).join(``):``}function ul(e){return e?dl(e).map(e=>e.toLowerCase()).join(`-`):``}function dl(e){let t=[];if(!e)return t;let n=``,r,i;for(let a=0;a<e.length;a++){let o=e[a],s=o===`-`||o===`_`||o===`/`||o===`.`;if(s===!0){t.push(n),n=``,r=void 0;continue}let c=o.charCodeAt(0),l=c>=48&&c<=57?void 0:c>=65&&c<=90;if(i===!1){if(r===!1&&l===!0){t.push(n),n=o,r=l;continue}if(r===!0&&l===!1&&n.length>1){let e=n[n.length-1];t.push(n.slice(0,n.length-1)),n=e+o,r=l;continue}}n+=o,r=l,i=s}return t.push(n),t}function fl(e,t){let n=t.split(`.`),r=e;for(let e of n)if(r&&typeof r==`object`&&e in r)r=r[e];else return;return r}var pl={"[":`]`,"{":`}`,"(":`)`},ml={"'":`'`,'"':`"`,"`":"`"};function hl(e,t=0){if(e[t]!==`{`)throw Error(`Invalid props, expected \`{\` but got '${e[t]}'`);let n=[];if(e[t+1]===`{`)return;for(t+=1;t<e.length;)if(e[t]===`\\`)t+=2;else if(e[t]===`}`){t+=1;break}else if(e[t]===` `)t+=1;else if(e[t]===`.`)t+=1,n.push([`class`,r(` #.}`)]);else if(e[t]===`#`)t+=1,n.push([`id`,r(` #.}`)]);else{let r=t;for(;t<e.length&&(t+=1,!` }=`.includes(e[t])););let a=e[t];if(r!==t){let o=e.slice(r,t).trim(),s=``;a===`=`?(t+=1,s=i()):(o=o[0]===`:`?o:`:${o}`,s=`true`),o.match(/^:?[a-z_][a-z0-9_-]*$/gi)&&n.push([o,s])}}function r(n){let r=t;for(;t<e.length&&(t+=1,e[t]===`\\`&&(t+=2),!n.includes(e[t])););return e.slice(r,t)}function i(){let n=t;return e[t]in pl?(a(pl[e[t]]),t+=1,e.slice(n,t)):e[t]in ml?(o(ml[e[t]]),t+=1,e.slice(n,t)):r(` }`)}function a(n){for(;t<e.length;)if(t++,e[t]in ml)o(ml[e[t]]);else if(e[t]in pl)a(pl[e[t]]);else if(e[t]===n)return}function o(e){return r(e)}return n.forEach(e=>{/^(['"`]).*\1$/.test(e[1])&&(e[1]=e[1].slice(1,-1))}),{props:n,index:t}}var gl=/^[a-z$][$\w.-]*/i;function _l(e){if(e=e.trim(),!e)return{name:``};let t=e.match(gl)?.[0];if(!t)throw Error(`Invalid block params: ${e}`);let n=e.slice(t.length).trim(),r,i,a;if(n.startsWith(`[`)){let e=Vi(n,0);e&&(r=e.content,n=n.slice(e.endIndex).trim())}if(n.startsWith(`{`)){let e=hl(n,0);if(e){i=e.props;let t=n.slice(e.index).trim();t&&(a=t)}}else n&&(a=n);let o={name:ul(t)};return r!==void 0&&(o.content=r),i!==void 0&&(o.props=i),a&&(o.remaining=a),o}function vl(e,t,n){let r=e.bMarks[t],i=e.eMarks[t],a=r,o=0;for(;a<i&&o<n;){let r=e.src.charCodeAt(a);if(r===32)o++;else if(r===9){let r=4-(o+e.bsCount[t])%4;if(o+r>n)return!1;o+=r}else break;a++}return o>0&&(e.bMarks[t]=a,e.bsCount[t]+=o,e.sCount[t]-=o,e.tShift[t]-=a-r),!0}function yl(e,t,n,r){let i=[],a=[],o=[],s=[];for(let c=t;c<n;c++)if(i.push(e.bMarks[c]),a.push(e.bsCount[c]),o.push(e.sCount[c]),s.push(e.tShift[c]),!vl(e,c,r[c-t]))return bl(e,t,i,a,o,s),!1;let c=e.blkIndent;return e.blkIndent=0,e.md.block.tokenize(e,t,n),e.blkIndent=c,bl(e,t,i,a,o,s),!0}function bl(e,t,n,r,i,a){for(let o=0;o<n.length;o++){let s=t+o;e.bMarks[s]=n[o],e.bsCount[s]=r[o],e.sCount[s]=i[o],e.tShift[s]=a[o]}}var xl=/^[a-z$][\w$-]*/i;function Sl(e){return xl.test(e)}var Cl={"---":`---`,"```yaml [props]":"```","~~~yaml [props]":`~~~`,"```yml [props]":"```","~~~yml [props]":`~~~`},wl=e=>{e.block.ruler.before(`fence`,`comark_block_shorthand`,function(e,t,n,r){let i=e.src.slice(e.bMarks[t]+e.tShift[t],e.eMarks[t]);if(i[0]!==`:`||!Sl(i.slice(1)))return!1;let{name:a,content:o,props:s,remaining:c}=_l(i.slice(1));if(c)return!1;if(!r){if(o!==void 0){let n=e.push(`mdc_block_shorthand`,a,1);s?.forEach(([e,t])=>{e===`class`?n.attrJoin(e,t):n.attrSet(e,t)}),n.map=[t,t+1];let r=e.push(`inline`,``,0);r.content=o,r.children=[];let i=e.push(`mdc_block_shorthand`,a,-1);i.map=[t,t+1]}else{let n=e.push(`mdc_block_shorthand`,a,0);n.map=[t,t+1],s?.forEach(([e,t])=>{e===`class`?n.attrJoin(e,t):n.attrSet(e,t)})}}return e.line=t+1,!0}),e.block.ruler.before(`fence`,`comark_block`,function(e,t,n,r){let i,a,o=!1,s=e.bMarks[t]+e.tShift[t],c=e.eMarks[t],l=e.sCount[t],u=!1,d=0,f=0,p=0;if(e.src[s]!==`:`)return!1;for(i=s+1;i<=c&&e.src[i]===`:`;i++);let m=Math.floor(i-s);if(m<2)return!1;let h=e.src.slice(s,i),g=e.skipSpaces(i);if(g<c&&!Sl(e.src.slice(g,c)))return!1;let _=_l(e.src.slice(i,c));if(!_.name)return!1;if(r)return!0;let v=[],y=0,b=!1;for(a=t;a++,!(a>=n||(s=e.bMarks[a]+e.tShift[a],c=e.eMarks[a],s<c&&e.sCount[a]<e.blkIndent));){let t=s>=c?l:e.sCount[a];t<l&&(b=!0),v.push(s>=c?0:u?y:Math.min(l,t));let n=e.src.charCodeAt(s);if(u){if(n===d){let t=s+1;for(;t<c&&e.src.charCodeAt(t)===d;)t++;t-s>=f&&e.skipSpaces(t)>=c&&(u=!1)}continue}if(n===96||n===126){let t=s+1;for(;t<c&&e.src.charCodeAt(t)===n;)t++;if(t-s>=3){u=!0,d=n,f=t-s,y=v[v.length-1];continue}}if(n===58){for(i=s+1;i<=c&&e.src[i]===`:`;i++);if(i-s===m){if(i=e.skipSpaces(i),i<c){p++;continue}if(p>0){p--;continue}o=!0;break}}}let x=e.parentType,S=e.lineMax;e.parentType=`comark_block`,e.lineMax=a;let C=e.push(`mdc_block_open`,_.name,1);if(C.markup=h,C.block=!0,C.info=_.name,C.map=[t,a],_.props?.forEach(([e,t])=>{e===`class`?C.attrJoin(e,t):C.attrSet(e,t)}),_.content!==void 0){let n=e.push(`paragraph_open`,`p`,1);n.map=[t,t+1];let r=e.push(`inline`,``,0);r.content=_.content,r.children=[],e.push(`paragraph_close`,`p`,-1)}if(e.env.comarkBlockTokens||=[],e.env.comarkBlockTokens.unshift(C),!b||!yl(e,t+1,a,v)){let n=e.blkIndent;e.blkIndent=l,e.md.block.tokenize(e,t+1,a),e.blkIndent=n}e.env.comarkBlockTokens.shift();let w=e.push(`mdc_block_close`,_.name,-1);return w.map=[t,a],w.markup=e.src.slice(s,i),w.block=!0,e.tokens.slice(e.tokens.indexOf(C)+1,e.tokens.indexOf(w)).filter(e=>e.level===C.level+1).forEach((e,t,n)=>{n.length<=2&&e.tag===`p`&&(e.hidden=!0)}),e.parentType=x,e.lineMax=S,e.line=a+ +!!o,!0},{alt:[`paragraph`,`reference`,`blockquote`,`list`]}),e.block.ruler.after(`code`,`comark_block_yaml`,function(e,t,n,r){if(!e.env.comarkBlockTokens?.length)return!1;let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.src.slice(i,a),s=Cl[o]||``;if(!s)return!1;if(o===`---`){let n=e.env.comarkBlockTokens[0].map?.[0];if(n===void 0||t!==n+1)return!1}let c=t+1,l=!1;for(;c<n;){if(e.src.slice(e.bMarks[c]+e.tShift[t],e.eMarks[c])===s){l=!0;break}c+=1}if(!l)return!1;if(!r){let n=Qc(e.getLines(t+1,c,e.blkIndent,!1)),r=e.env.comarkBlockTokens[0];Object.entries(n||{}).forEach(([e,t])=>{if(e===`class`){r.attrJoin(e,t);return}typeof t==`string`?r.attrSet(e,t):r.attrSet(`:${e}`,JSON.stringify(t))})}return e.line=c+1,!0}),e.block.ruler.after(`code`,`comark_block_slots`,function(e,t,n,r){if(!e.env.comarkBlockTokens?.length)return!1;let i=e.bMarks[t]+e.tShift[t];if(e.src[i]!==`#`||e.src[i+1]===` `||e.src[i+1]===`#`)return!1;let{name:a,props:o}=_l(e.src.slice(i,e.eMarks[t]).slice(1)),s=t+1,c=!1,l=``,u=0;for(;s<n;){let n=e.src.slice(e.bMarks[s]+e.tShift[t],e.eMarks[s]);if(c){if(n[0]===l){let e=1;for(;e<n.length&&n[e]===l;)e++;e>=u&&n.slice(e).trim()===``&&(c=!1)}s+=1;continue}if(n[0]==="`"||n[0]===`~`){let e=n[0],t=1;for(;t<n.length&&n[t]===e;)t++;if(t>=3){c=!0,l=e,u=t,s+=1;continue}}if(/^#\w+/.test(n)||n.startsWith(`::`))break;s+=1}if(r)return e.line=s,!0;let d=e.lineMax,f=e.push(`mdc_block_slot`,`template`,1);return f.attrSet(`#${a}`,``),o?.forEach(([e,t])=>{e===`class`?f.attrJoin(e,t):f.attrSet(e,t)}),e.line=t+1,e.lineMax=s,e.md.block.tokenize(e,t+1,s),e.push(`mdc_block_slot`,`template`,-1),e.line=s,e.lineMax=d,!0})},Tl=new Set([` `,` `,`
|
|
72
|
+
`,`*`,`_`,`[`]),El=e=>{e.inline.ruler.after(`entity`,`comark_inline_component`,(e,t)=>{let n=e.pos;if(e.src[n]!==`:`)return!1;let r=e.src[n-1];if(n>0&&!Tl.has(r))return!1;let i=n+1,a=-1,o=-1,s=-1;for(;i<e.src.length;){let t=e.src[i];if(t===`[`){a=i;let t=Vi(e.src,i);t&&(o=i+1,s=t.endIndex-1,i=t.endIndex);break}if(!/[\w$-]/.test(t))break;i+=1}if(a===-1&&(a=i),a<=n+1)return!1;let c=e.src.slice(n+1,a);if(!Sl(c))return!1;if(e.pos=i,t)return!0;if(o!==-1){e.push(`mdc_inline_component`,c,1);let t=e.pos,n=e.posMax;e.pos=o,e.posMax=s,e.md.inline.tokenize(e),e.pos=t,e.posMax=n,e.push(`mdc_inline_component`,c,-1)}else e.push(`mdc_inline_component`,c,0);return!0})},Dl=e=>{e.inline.ruler.before(`link`,`comark_inline_span`,(e,t)=>{let n=e.pos;if(e.src[n]!==`[`)return!1;let r=Bi(e.src,n),i=r===-1?e.src.length:r,a=e.src[i+1];if(a===`(`||a===`[`||e.linkLevel>0&&a!==`{`||t)return!1;e.push(`mdc_inline_span`,`span`,1);let o=e.pos,s=e.posMax;return e.pos=n+1,e.posMax=i,e.md.inline.tokenize(e),e.pos=o,e.posMax=s,e.push(`mdc_inline_span`,`span`,-1),e.pos=i+1,!0})},Ol=e=>{e.use(wl),e.use(Dl),e.use(El)},kl=zi(()=>({name:`components`,markdownItPlugins:[Ol]})),Al=e=>{e.inline.ruler.after(`entity`,`comark_inline_props`,(e,t)=>{let n=e.pos;if(e.src[n]!==`{`||e.src[n+1]===`{`||e.src[n-1]===`{`||e.src[n-1]===`$`)return!1;let r=hl(e.src,n);if(!r)return!1;let{props:i,index:a}=r;if(a===n)return!1;if(e.pos=a,t)return!0;let o=e.push(`mdc_inline_props`,`span`,0);return o.attrs=i,o.hidden=!0,!0}),e.renderer.rules.mdc_inline_props=()=>``;let t=e.parse;e.parse=function(e,n){let r=t.call(this,e,n);return r.forEach((e,t)=>{let n=r[t-1],i=r[t+1];if(!n||![`heading_open`,`paragraph_open`,`list_item_open`].includes(n.type)||n.hidden||(e.hidden&&i?.type===`inline`&&(e=i),e.type!==`inline`||!e.children?.length))return;let a=e.children[e.children.length-1];if(a.type!==`mdc_inline_props`)return;let o=e.children.length-2;for(;o>=0;){let t=e.children[o];if(t.type===`text`&&!t.content){o--;continue}break}let s=o>=0?e.children[o]:void 0;if(!s||s.type!==`text`)return;typeof s.content==`string`&&(s.content=s.content.replace(/[ \t]+$/,``));let c=a.attrs;e.children.length=s.content?o+1:o,c?.forEach(([e,t])=>{e===`class`?n.attrJoin(`class`,t):n.attrSet(e,t)})}),r},e.renderer.renderInline=jl(e.renderer.renderInline),`renderInlineAsync`in e.renderer&&(e.renderer.renderInlineAsync=jl(e.renderer.renderInlineAsync))};function jl(e){return function(t,n,r){return t=[...t],t.forEach((e,n)=>{if(e.type!==`mdc_inline_props`)return;let r=n-1,i=t[r];for(;r>=0&&i.type===`text`&&!i.content.trim();)r--,i=t[r];if(!i.tag&&i.type===`text`){i=new Fn(`mdc_inline_span`,`span`,1),t.splice(n-1,0,i);let e=new Fn(`mdc_inline_span`,`span`,-1);t.splice(n+2,0,e)}else if(i.nesting===-1){let e=n-1;for(;e>=0;){let n=t[e];if(n.nesting===1&&n.tag===i.tag&&n.level===i.level){i=n;break}e--}}if(i.nesting===-1)throw Error(`No matching opening tag found for ${JSON.stringify(i)}`);e.attrs?.forEach(([e,t])=>{e===`class`?i.attrJoin(`class`,t):i.attrSet(e,t)})}),e.call(this,t,n,r)}}var Ml=Al,Nl=zi(()=>({name:`attributes`,markdownItPlugins:[Ml]}));function Pl(e,t,n){let r=e.attrIndex(t),i=[t,n];r<0?(e.attrs||=[],e.attrs.push(i)):e.attrs[r]=i}function Fl(e,t){let n=!(t?.enabled??!1);e.core.ruler.before(`inline`,`task-lists-mdc`,e=>{let t=e.tokens,n=[],r=[],i=[];for(let e=0;e<t.length;e++){let a=t[e];if(a.type===`bullet_list_open`||a.type===`ordered_list_open`){i.push(e);continue}if(a.type===`bullet_list_close`||a.type===`ordered_list_close`){i.pop();continue}if(a.type===`list_item_open`){n.push(e),r.push(i.length>0?i[i.length-1]:-1);continue}if(a.type===`list_item_close`){n.pop(),r.pop();continue}if(a.type===`inline`&&a.content&&n.length>0){let e=a.content.match(/^(\[[ x]\])\s+/i);if(e){let i=e[1].toLowerCase()===`[x]`;Pl(t[n[n.length-1]],`class`,`task-list-item`);let o=r[r.length-1];o>=0&&Pl(t[o],`class`,`contains-task-list`);let s=`TASK_CHECKBOX_${i?`CHECKED`:`UNCHECKED`} `;a.content=a.content.replace(/^\[[ x]\]\s+/i,s)}}}}),e.core.ruler.after(`inline`,`task-lists-mdc-post`,e=>{let t=e.tokens;for(let r=0;r<t.length;r++){let i=t[r];if(i.type===`inline`&&i.children)for(let t=0;t<i.children.length;t++){let r=i.children[t];if(r.type===`text`&&r.content){let a=r.content.match(/^TASK_CHECKBOX_CHECKED/),o=r.content.match(/^TASK_CHECKBOX_UNCHECKED/);if(a||o){let o=!!a,s=new e.Token(`mdc_inline_component`,`input`,0);s.attrs=[[`class`,`task-list-item-checkbox`],[`type`,`checkbox`]],n&&s.attrs.push([`:disabled`,`true`]),o&&s.attrs.push([`:checked`,`true`]),r.content=r.content.replace(/^TASK_CHECKBOX_(CHECKED|UNCHECKED)/,``),i.children.splice(t,0,s),t++}}}}})}var Il=zi(()=>({name:`task-list`,markdownItPlugins:[Fl]})),Ll={"!TIP":{type:`tip`,title:`Tip`,color:`#238636`},"!NOTE":{type:`note`,title:`Note`,color:`#1f6feb`},"!IMPORTANT":{type:`important`,title:`Important`,color:`#8957e5`},"!WARNING":{type:`warning`,title:`Warning`,color:`#9e6a03`},"!CAUTION":{type:`caution`,title:`Caution`,color:`#da3633`}},Rl=zi(()=>({name:`alert`,post(e){cl(e.tree,e=>Array.isArray(e)&&e[0]===`blockquote`,e=>{let t=e;if(e[2]?.[0]===`span`){let n=Ll[String(e[2][2]).toUpperCase()];n&&(typeof e[3]==`string`&&(t[3]=String(t[3]).trimStart()),t.splice(2,1),t[1].as=n.type)}else if(e[2]?.[0]===`p`){let n=e[2];if(n[2]?.[0]===`span`){let e=Ll[String(n[2][2]).toUpperCase()];e&&(typeof n[3]==`string`&&(n[3]=String(n[3]).trimStart()),n.splice(2,1),t[1].as=e.type)}}})}})),zl=`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.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Bl=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Vl=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,Hl=RegExp(`^(?:${Bl}|${Vl}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<\\?[\\s\\S]*?\\?>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Ul=RegExp(`^(?:${Bl}|${Vl})`),Wl=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(${zl.join(`|`)})(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(`${Ul.source}\\s*$`),/^$/,!1]];function Gl(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<Wl.length&&!Wl[s][0].test(o);s++);if(s===Wl.length)return!1;if(r)return Wl[s][2];let c=t+1;if(!Wl[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),Wl[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let l=e.push(`html_block`,``,1);return l.map=[t,c],l.content=e.getLines(t,c,e.blkIndent,!0),!0}function Kl(e){return/^<a[>\s]/i.test(e)}function ql(e){return/^<\/a\s*>/i.test(e)}function Jl(e){let t=e|32;return t>=97&&t<=122}function Yl(e,t){let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!Jl(i))return!1;let a=e.src.slice(r).match(Hl);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],Kl(t.content)&&e.linkLevel++,ql(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}function Xl(e){e.set({html:!0}),e.inline.ruler.before(`text`,`comark_html_inline`,Yl),e.block.ruler.before(`html_block`,`comark_html_block`,Gl,{alt:[`paragraph`,`reference`,`blockquote`]})}var Zl=zi(()=>({name:`html`,markdownItPlugins:[Xl]})),Ql=`---`,$l=`\r`;function eu(e){let t={},n=``;if(e.startsWith(Ql)){let r=e.indexOf(`
|
|
73
|
+
---`);if(r!==-1){let i=e[r-1]===$l;n=e.slice(4,r-+!!i),n&&(t=Qc(n)??{},e=e.slice(r+4+ +!!i))}}return{content:e,data:t,frontmatterText:n}}var tu=zi(()=>({name:`frontmatter`,pre(e){let{content:t,data:n,frontmatterText:r}=eu(e.markdown);e.markdown=t,e.frontmatter=n,e.frontmatterText=r,t&&r&&(e.parsedLines=(e.parsedLines??0)+r.split(`
|
|
74
|
+
`).length+1)}}));function nu(e){return e?e===!0?[`p`]:typeof e==`string`?e.split(/[,\s]/).map(e=>e.trim()).filter(Boolean):e.filter(Boolean):[]}function ru(e){return Array.isArray(e)&&typeof e[0]==`string`}function iu(e,t){return ru(e)&&(t===`*`||e[0]===t)}function au(e,t){if(t.length===0)return e;let[n,...r]=t,i=[];for(let t of e){let e=iu(t,n)?t.slice(2):[t];for(let t of au(e,r))i.push(t)}return i.filter(e=>typeof e!=`string`||e.trim()!==``)}function ou(e,t){if(t.length===0)return e;let n=au(e,t),r=[];for(let e of n)typeof e==`string`&&typeof r[r.length-1]==`string`?r[r.length-1]=r[r.length-1]+e:r.push(e);return r}var Y;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(Y||={});var X;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.DeclarationSequence=20]=`DeclarationSequence`,e[e.InSpecialComment=21]=`InSpecialComment`,e[e.InCommentLike=22]=`InCommentLike`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.InPlainText=25]=`InPlainText`,e[e.InEntity=26]=`InEntity`})(X||={});function su(e){return e===Y.Space||e===Y.NewLine||e===Y.Tab||e===Y.FormFeed||e===Y.CarriageReturn}function cu(e){return e===Y.Slash||e===Y.Gt||su(e)}function lu(e){return e>=Y.LowerA&&e<=Y.LowerZ||e>=Y.UpperA&&e<=Y.UpperZ}var uu;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(uu||={});var Z={Empty:new Uint8Array,Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},du=new Map([[Z.IframeEnd[2],Z.IframeEnd],[Z.NoembedEnd[2],Z.NoembedEnd],[Z.Plaintext[2],Z.Plaintext],[Z.ScriptEnd[2],Z.ScriptEnd],[Z.TitleEnd[2],Z.TitleEnd],[Z.XmpEnd[2],Z.XmpEnd]]),fu=class{cbs;state=X.Text;buffer=``;sectionStart=0;index=0;entityStart=0;baseState=X.Text;isSpecial=!1;running=!0;offset=0;xmlMode;decodeEntities;recognizeSelfClosing;entityDecoder;constructor({xmlMode:e=!1,decodeEntities:t=!0,recognizeSelfClosing:n=e},r){this.cbs=r,this.xmlMode=e,this.decodeEntities=t,this.recognizeSelfClosing=n,this.entityDecoder=new oa(e?Yi:Ji,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=X.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=X.Text,this.isSpecial=!1,this.currentSequence=Z.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===Y.Lt||!this.decodeEntities&&this.fastForwardTo(Y.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=X.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===Y.Amp&&this.startEntity()}currentSequence=Z.Empty;sequenceIndex=0;enterTagBody(){this.currentSequence===Z.Plaintext?(this.currentSequence=Z.Empty,this.state=X.InPlainText):this.isSpecial?(this.state=X.InSpecialTag,this.sequenceIndex=0):this.state=X.Text}stateSpecialStartSequence(e){let t=e|32;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex]){this.sequenceIndex++;return}if(this.sequenceIndex===3){if(this.currentSequence===Z.ScriptEnd&&t===Z.StyleEnd[3]){this.currentSequence=Z.StyleEnd,this.sequenceIndex=4;return}if(this.currentSequence===Z.TitleEnd&&t===Z.TextareaEnd[3]){this.currentSequence=Z.TextareaEnd,this.sequenceIndex=4;return}}else if(this.sequenceIndex===4&&this.currentSequence===Z.NoembedEnd&&t===Z.NoframesEnd[4]){this.currentSequence=Z.NoframesEnd,this.sequenceIndex=5;return}}else if(cu(e)){this.sequenceIndex=0,this.state=X.InTagName,this.stateInTagName(e);return}this.isSpecial=!1,this.currentSequence=Z.Empty,this.sequenceIndex=0,this.state=X.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===Z.Cdata[this.sequenceIndex]?++this.sequenceIndex===Z.Cdata.length&&(this.state=X.InCommentLike,this.currentSequence=Z.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=X.InDeclaration,this.stateInDeclaration(e)):(this.state=X.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=X.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===Z.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===Y.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===Z.CommentEnd&&this.sequenceIndex===2&&e===Y.Gt?this.emitComment(2):this.currentSequence===Z.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==Y.Gt?this.sequenceIndex=Number(e===Y.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Z.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=X.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!cu(e):lu(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(cu(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Z.TitleEnd||this.currentSequence===Z.TextareaEnd?this.decodeEntities&&e===Y.Amp&&this.startEntity():this.fastForwardTo(Y.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===Y.Lt)}stateBeforeTagName(e){if(e===Y.ExclamationMark)this.state=X.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===Y.Questionmark)this.xmlMode?(this.state=X.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=X.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;let t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:du.get(e|32);t===void 0?this.state=X.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=X.SpecialStartSequence)}else e===Y.Slash?this.state=X.BeforeClosingTagName:(this.state=X.Text,this.stateText(e))}stateInTagName(e){cu(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=X.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){su(e)?this.xmlMode||(this.state=X.InSpecialComment,this.sectionStart=this.index):e===Y.Gt?(this.state=X.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?X.InClosingTagName:X.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){cu(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=X.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.state=X.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===Y.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===Y.Slash?this.state=X.InSelfClosingTag:su(e)||(this.state=X.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===Y.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing){this.enterTagBody();return}this.state=X.Text,this.isSpecial=!1,this.currentSequence=Z.Empty}else su(e)||(this.state=X.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===Y.Eq||cu(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=X.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===Y.Eq?this.state=X.BeforeAttributeValue:e===Y.Slash||e===Y.Gt?(this.cbs.onattribend(uu.NoValue,this.sectionStart),this.sectionStart=-1,this.state=X.BeforeAttributeName,this.stateBeforeAttributeName(e)):su(e)||(this.cbs.onattribend(uu.NoValue,this.sectionStart),this.state=X.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===Y.DoubleQuote?(this.state=X.InAttributeValueDq,this.sectionStart=this.index+1):e===Y.SingleQuote?(this.state=X.InAttributeValueSq,this.sectionStart=this.index+1):su(e)||(this.sectionStart=this.index,this.state=X.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===Y.DoubleQuote?uu.Double:uu.Single,this.index+1),this.state=X.BeforeAttributeName):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,Y.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,Y.SingleQuote)}stateInAttributeValueNoQuotes(e){su(e)||e===Y.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(uu.Unquoted,this.index),this.state=X.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===Y.OpeningSquareBracket?(this.state=X.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===Y.Dash?X.BeforeComment:X.InDeclaration:(e|32)===Z.Doctype[0]?(this.state=X.DeclarationSequence,this.currentSequence=Z.Doctype,this.sequenceIndex=1):e===Y.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=X.Text,this.sectionStart=this.index+1):this.state=e===Y.Dash?X.BeforeComment:X.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=X.InDeclaration,this.stateInDeclaration(e)):(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===Y.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=X.Text,this.sectionStart=this.index+1):this.state=X.InSpecialComment}stateInDeclaration(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=X.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===Y.Questionmark?this.sequenceIndex=1:e===Y.Gt&&this.sequenceIndex===1?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=X.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(Y.Questionmark))}stateBeforeComment(e){e===Y.Dash?(this.state=X.InCommentLike,this.currentSequence=Z.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=X.InDeclaration:e===Y.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=X.Text,this.sectionStart=this.index+1):this.state=X.InSpecialComment}stateInSpecialComment(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=X.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=X.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?I.Strict:this.baseState===X.Text||this.baseState===X.InSpecialTag?I.Legacy:I.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,t===0&&--this.index;else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===Y.Amp){this.state=this.baseState,--this.index;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===X.Text||this.state===X.InPlainText||this.state===X.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===X.InAttributeValueDq||this.state===X.InAttributeValueSq||this.state===X.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case X.Text:this.stateText(e);break;case X.InPlainText:this.index=this.buffer.length+this.offset-1;break;case X.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case X.InSpecialTag:this.stateInSpecialTag(e);break;case X.CDATASequence:this.stateCDATASequence(e);break;case X.DeclarationSequence:this.stateDeclarationSequence(e);break;case X.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case X.InAttributeName:this.stateInAttributeName(e);break;case X.InCommentLike:this.stateInCommentLike(e);break;case X.InSpecialComment:this.stateInSpecialComment(e);break;case X.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case X.InTagName:this.stateInTagName(e);break;case X.InClosingTagName:this.stateInClosingTagName(e);break;case X.BeforeTagName:this.stateBeforeTagName(e);break;case X.AfterAttributeName:this.stateAfterAttributeName(e);break;case X.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case X.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case X.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case X.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case X.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case X.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case X.InDeclaration:this.stateInDeclaration(e);break;case X.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case X.BeforeComment:this.stateBeforeComment(e);break;case X.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case X.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===X.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==X.InCommentLike)return!1;if(this.currentSequence===Z.CdataEnd){if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{let t=this.sectionStart-Z.Cdata.length-1;this.cbs.oncomment(t,e,0)}}else{let t=this.xmlMode?0:Math.min(this.sequenceIndex,Z.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case X.InSpecialComment:case X.BeforeComment:case X.CDATASequence:case X.DeclarationSequence:case X.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case X.BeforeDeclaration:case X.InSpecialComment:case X.BeforeComment:case X.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case X.DeclarationSequence:return this.sequenceIndex!==Z.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case X.InDeclaration:return!0;default:return!1}}handleTrailingData(){let e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e))&&!(this.sectionStart>=e))switch(this.state){case X.InTagName:case X.BeforeAttributeName:case X.BeforeAttributeValue:case X.AfterAttributeName:case X.InAttributeName:case X.InAttributeValueSq:case X.InAttributeValueDq:case X.InAttributeValueNq:case X.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==X.Text&&this.baseState!==X.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}},{fromCodePoint:pu}=String,mu=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),Q=new Set([`p`]),hu=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`p`]),gu=new Set([`thead`,`tbody`]),_u=new Set([`dd`,`dt`]),vu=new Set([`rt`,`rp`]),yu=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`a`,new Set([`a`])],[`li`,new Set([`li`])],[`p`,Q],[`h1`,hu],[`h2`,hu],[`h3`,hu],[`h4`,hu],[`h5`,hu],[`h6`,hu],[`select`,mu],[`input`,mu],[`output`,mu],[`button`,mu],[`datalist`,mu],[`textarea`,mu],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,_u],[`dt`,_u],[`address`,Q],[`article`,Q],[`aside`,Q],[`blockquote`,Q],[`details`,Q],[`div`,Q],[`dl`,Q],[`fieldset`,Q],[`figcaption`,Q],[`figure`,Q],[`footer`,Q],[`form`,Q],[`header`,Q],[`hr`,Q],[`main`,Q],[`nav`,Q],[`ol`,Q],[`pre`,Q],[`section`,Q],[`table`,Q],[`ul`,Q],[`rt`,vu],[`rp`,vu],[`tbody`,gu],[`tfoot`,gu]]),bu=`doctype`,xu=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),Su=new Set([`math`,`svg`]),Cu=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),wu=new 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`],[`fedropshadow`,`feDropShadow`],[`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`]]),Tu;(function(e){e[e.None=0]=`None`,e[e.Svg=1]=`Svg`,e[e.MathML=2]=`MathML`})(Tu||={});var Eu=/\s|\//,Du=class{options;startIndex=0;endIndex=0;openTagStart=0;tagname=``;attribname=``;attribvalue=``;attribs=null;stack=[];foreignContext;cbs;lowerCaseTagNames;lowerCaseAttributeNames;recognizeSelfClosing;htmlMode;tokenizer;buffers=[];bufferOffset=0;writeIndex=0;ended=!1;constructor(e,t={}){this.options=t,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??fu)(this.options,this),this.foreignContext=[Tu.None],this.cbs.onparserinit?.(this)}ontext(e,t){let n=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(n),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(pu(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==Tu.None}isVoidElement(e){return this.htmlMode&&xu.has(e)}readTagName(e,t){let n=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!(this.lowerCaseTagNames&&this.htmlMode))return n;if(this.foreignContext[0]===Tu.Svg)return wu.get(n)??n;if(this.foreignContext.length>1){let e=wu.get(n);if(e!==void 0&&this.stack.includes(e))return e}return this.isInForeignContext()?n:n===`image`?`img`:n}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&e===`form`&&this.stack.includes(`form`)){this.tagname=``;return}let t=this.htmlMode&&yu.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(e===`svg`?this.foreignContext.unshift(Tu.Svg):e===`math`?this.foreignContext.unshift(Tu.MathML):Cu.has(e)&&this.foreignContext.unshift(Tu.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&=(this.cbs.onopentag?.(this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;let n=this.readTagName(e,t);if(this.isVoidElement(n))this.htmlMode&&n===`br`&&(this.cbs.onopentagname?.(`br`),this.cbs.onopentag?.(`br`,{},!0),this.cbs.onclosetag?.(`br`,!1));else{let e=this.stack.indexOf(n);if(e!==-1){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&n===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){let t=this.stack.shift();this.htmlMode&&(Su.has(t)||Cu.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){let t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=pu(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===uu.Double?`"`:e===uu.Single?`'`:e===uu.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(Eu),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.htmlMode?this.lowerCaseTagNames?bu:n.slice(0,7):this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-n)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,n){this.endIndex=t;let r=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(r),this.cbs.oncdataend?.()):this.isInForeignContext()?this.cbs.ontext?.(r):(this.cbs.oncomment?.(`[CDATA[${r}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(Tu.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return``;for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){if(this.ended){this.cbs.onerror?.(Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){if(this.ended){this.cbs.onerror?.(Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}},Ou=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function ku(e,t=!1){let n={$:{html:1,block:+!t}};for(let t in e){let r=e[t];r===``?n[`:${t}`]=`true`:n[t]=r}return n}function Au(e){let t=e.trim();if(!t.startsWith(`<`))return null;let n=t.match(/^<\/([a-z][a-z0-9]*)\s*>/i);if(n)return{tag:n[1].toLowerCase(),attrs:{},isVoid:!1,isClose:!0};let r=null,i=new Du({onopentag(e,t){r={tag:e,attrs:ku(t,!0),isVoid:Ou.has(e),isClose:!1}}},{decodeEntities:!1});return i.write(t),i.end(),r}function ju(e){let t=[],n=[],r=new Du({onopentag(e,r){let i=ku(r);if(Ou.has(e)){let r=[e,i];n.length>0?n[n.length-1].children.push(r):t.push(r);return}n.push({tag:e,attrs:i,children:[]})},ontext(e){let r=e.trim();r&&(n.length>0?n[n.length-1].children.push(r):t.push(r))},onclosetag(e){if(Ou.has(e))return;let r=n.length-1;for(;r>=0&&n[r].tag!==e;)r--;if(r>=0)for(;n.length>r;){let e=n.pop(),r=e.children.length>0?[e.tag,e.attrs,...e.children]:[e.tag,e.attrs];n.length>0?n[n.length-1].children.push(r):t.push(r)}},oncomment(e){let r=[null,{},e];n.length>0?n[n.length-1].children.push(r):t.push(r)}},{decodeEntities:!0});return r.write(e.trim()),r.end(),t}var Mu=new Set([`ul`,`ol`,`table`,`blockquote`,`pre`]),Nu={blockquote_open:`blockquote`,ordered_list_open:`ol`,bullet_list_open:`ul`,list_item_open:`li`,paragraph_open:`p`,table_open:`table`,thead_open:`thead`,tbody_open:`tbody`,tr_open:`tr`,th_open:`th`,td_open:`td`},Pu={strong_open:`strong`,em_open:`em`,s_open:`del`,sub_open:`sub`,sup_open:`sup`};function Fu(e,t){let n={startLine:0,preservePositions:!1,headingIds:!0,...t},r={headingSlugCounts:new Map,headingStack:[],preservePositions:n.preservePositions,headingIds:n.headingIds??!0},i=[],a=0,o=n.startLine;for(;a<e.length;){if(e[a].type===`html_block`){let t=Iu(e,a);i.push(...t.nodes),a=t.nextIndex;continue}let t=Bu(e,a,!1,r);if(t.node){if(n.preservePositions){for(let r=a;r<t.nextIndex;r++)e[r].map&&e[r].map[1]&&(o=e[r].map[1]+n.startLine+ +!!e[r].type?.endsWith(`_close`));t.node[1].$||(t.node[1].$={}),t.node[1].$.line=o}i.push(t.node)}a=t.nextIndex}return i}function Iu(e,t){return{nodes:ju(typeof e[t]?.content==`string`?e[t].content:``),nextIndex:t+1}}function $(e,t={}){let{handleJSON:n=!0,filterEmpty:r=!1}=t,i={};if(!e||!Array.isArray(e))return i;for(let t of e)if(Array.isArray(t)&&t.length>=2){let[e]=t,a=t[1];if(r&&(a===``||a==null))continue;if(n&&typeof a==`string`){if(a.startsWith(`{`)&&a.endsWith(`}`))try{a=JSON.parse(a)}catch{}else if(a.startsWith(`[`)&&a.endsWith(`]`))try{a=JSON.parse(a)}catch{}}i[e]=e===`class`&&typeof i[e]==`string`?`${i[e]} ${a}`:a}return i}var Lu=1e3;function Ru(e){if(!e)return{};let t={},n=e.trim(),r=n.match(/^([^\s[{}"'<>`]+)/);for(r&&(t.language=r[1],n=n.slice(r[1].length).trim());n&&(n.startsWith(`{`)||n.startsWith(`[`));)if(n.startsWith(`{`)){let e=n.match(/^\{([^}]+)\}/);if(e){let r=e[1];n=n.slice(e[0].length).trim();let i=[],a=r.split(`,`);for(let e of a){let t=e.trim();if(t.includes(`-`)){let[e,n]=t.split(`-`).map(e=>Number.parseInt(e.trim(),10));if(!Number.isNaN(e)&&!Number.isNaN(n)&&n-e<=Lu)for(let t=e;t<=n&&i.length<Lu;t++)i.push(t)}else{let e=Number.parseInt(t,10);!Number.isNaN(e)&&i.length<Lu&&i.push(e)}}i.length>0&&(t.highlights=i)}else break}else if(n.startsWith(`[`)){let e=0,r=0;for(;r<n.length;r++)if(n[r]===`[`)e++;else if(n[r]===`]`&&(e--,e===0)){t.filename=n.slice(1,r).replace(/\\\\/g,``),n=n.slice(r+1).trim();break}if(e!==0)break}return n&&(t.meta=n),t}function zu(e,t,n=!0){let r=t;if(n)for(;r<e.length&&e[r].type===`text`&&!e[r].content?.trim();)r++;if(r<e.length&&e[r].type===`mdc_inline_props`){let t=e[r];return{attrs:$(t.attrs),nextIndex:r+1}}return{attrs:{},nextIndex:t}}function Bu(e,t,n=!1,r){let i=e[t];if(i.type===`hr`)return{node:[`hr`,{}],nextIndex:t+1};if(i.type===`html_block`){let n=Iu(e,t);return{node:n.nodes[0]??null,nextIndex:n.nextIndex}}if(i.type===`mdc_block_open`){let n=i.tag||`component`,a=$(i.attrs),o=Vu(e,t+1,`mdc_block_close`,r);if(Mu.has(n)&&o.nodes.length===1&&Array.isArray(o.nodes[0])&&o.nodes[0][0]===n){let e=o.nodes[0],t=e[1],r=e.slice(2);return{node:[n,{...t,...a},...r],nextIndex:o.nextIndex+1}}return{node:[n,a,...o.nodes],nextIndex:o.nextIndex+1}}if(i.type===`mdc_block_shorthand`){let n=t+1,r=i.tag||`component`,a=$(i.attrs,{handleJSON:!1}),o=[];if(i.nesting===1)for(;n<e.length;){let t=e[n];if(n++,t.type===`mdc_block_shorthand`&&t.nesting===-1)break;if(t.type===`inline`){let e=Ku(t.children||[],!1);o.push(...e)}}return{node:[r,a,...o],nextIndex:n}}if(i.type===`math_block`)return{node:[`math`,{class:`math block`,content:i.content},i.content],nextIndex:t+1};if(i.type===`fence`||i.type===`fenced_code_block`||i.type===`code_block`){let e=i.content||``,n=Ru(i.info||i.params||``),r=n,a={};return n.language&&n.language.trim()&&(r.language=n.language,a.class=`language-${n.language}`),{node:[`pre`,r,[`code`,a,e.endsWith(`
|
|
75
|
+
`)?e.slice(0,-1):e]],nextIndex:t+1}}if(i.type===`heading_open`){let a=Number.parseInt(i.tag.replace(`h`,``),10),o=`h${a}`,s=$(i.attrs,{handleJSON:!1}),c=Hu(e,t+1,`heading_close`,!0,!0,n,r);if(c.nodes.length>0){let e;return e=r?.headingIds?{id:Gu(Wu(c.nodes.map(e=>ol(e)).join(``)),a,r),...s}:s,{node:[o,e,...c.nodes],nextIndex:c.nextIndex+1}}return{node:null,nextIndex:c.nextIndex+1}}if(i.type===`list_item_open`){let n=$(i.attrs,{handleJSON:!1}),a=Hu(e,t+1,`list_item_close`,!1,!1,!0,r);return a.nodes.length>0?{node:[`li`,n,...a.nodes],nextIndex:a.nextIndex+1}:{node:null,nextIndex:a.nextIndex+1}}let a=Nu[i.type];if(a){let n=$(i.attrs,{handleJSON:!1}),o=i.type.replace(`_open`,`_close`),s=[`td`,`th`].includes(a),c=Hu(e,t+1,o,!1,!1,s,r);return{node:[a,n,...c.nodes],nextIndex:c.nextIndex+1}}return{node:[i.tag||`component`,$(i.attrs,{handleJSON:!1})],nextIndex:t+1}}function Vu(e,t,n,r){let i=[],a=t,o=null,s={},c=[];for(;a<e.length&&e[a].type!==n;){let t=e[a];if(t.type===`html_block`){let t=Iu(e,a);o===null?i.push(...t.nodes):c.push(...t.nodes),a=t.nextIndex;continue}if(t.type===`mdc_block_slot`){if(t.attrs&&Array.isArray(t.attrs)&&t.attrs.length>0){let e=t.attrs[0];if(Array.isArray(e)&&e.length>0){let n=e[0];if(n.startsWith(`#`)){let e=n.substring(1),r=$(t.attrs.slice(1));o!==null&&c.length>0&&(i.push([`template`,{name:o,...s},...c]),c=[]),o=e,s=r,a++;continue}}}a++;continue}let n=Bu(e,a,!1,r);a=n.nextIndex,n.node&&(o===null?i.push(n.node):c.push(n.node))}return o!==null&&c.length>0&&i.push([`template`,{name:o,...s},...c]),{nodes:i,nextIndex:a}}function Hu(e,t,n,r,i=!1,a=!1,o){let s=[],c=t;for(;c<e.length&&e[c].type!==n;){let t=e[c];if(t.type===`html_block`){let t=Iu(e,c);s.push(...t.nodes),c=t.nextIndex;continue}if(t.type===`inline`){let e=Ku(t.children||[],i);s.push(...e),c++}else if(t.type===`hardbreak`||t.type===`hard_break`)s.push([`br`,{}]),c++;else if(t.type===`softbreak`)s.push(`
|
|
76
|
+
`),c++;else if(r&&(t.type===`text`||t.type===`code_inline`))t.content&&s.push(t.content),c++;else{let t=Bu(e,c,a,o);c=t.nextIndex,t.node&&s.push(t.node)}}return{nodes:Uu(s),nextIndex:c}}function Uu(e){let t=[];for(let n of e){let e=t[t.length-1];typeof n==`string`&&typeof e==`string`?t[t.length-1]=e+n:t.push(n)}return t}function Wu(e){let t=e.toLowerCase().trim().replace(/\s+/g,`-`).replace(/[^\w-]+/g,``).replace(/-{2,}/g,`-`).replace(/^-+|-+$/g,``);return/^\d/.test(t)&&(t=`_`+t),t}function Gu(e,t,n){if(!n)return e;for(;n.headingStack.length>0&&n.headingStack[n.headingStack.length-1].level>=t;)n.headingStack.pop();if(n.headingStack.length>0){let t=n.headingStack[n.headingStack.length-1];t.level>=2&&(e=t.id+`-`+e)}n.headingStack.push({level:t,id:e});let r=n.headingSlugCounts.get(e)??0;return n.headingSlugCounts.set(e,r+1),r===0?e:`${e}-${r}`}function Ku(e,t=!1){let n=[],r=0;for(;r<e.length;){let i=e[r];if(i.type===`mdc_inline_props`&&i.hidden){r++;continue}let a=Ju(e,r,t);r=a.nextIndex,a.node&&n.push(a.node)}return Uu(n)}var qu=100;function Ju(e,t,n=!1,r=0){let i=e[t];if(i.type===`text`||i.type===`emoji`)return{node:i.content||null,nextIndex:t+1};if(i.type===`html_inline`){let a=i.content||``,o=Au(a);if(!o)return{node:a||null,nextIndex:t+1};if(o.isClose)return{node:null,nextIndex:t+1};if(o.isVoid)return{node:[o.tag,o.attrs],nextIndex:t+1};if(r>=qu)return{node:a||null,nextIndex:t+1};let s=[],c=t+1;for(;c<e.length;){let t=e[c];if(t.type===`html_inline`){let e=Au(t.content||``);if(e?.isClose&&e.tag===o.tag){c++;break}}let i=Ju(e,c,n,r+1);c=i.nextIndex,i.node&&s.push(i.node)}return{node:s.length>0?[o.tag,o.attrs,...s]:[o.tag,o.attrs],nextIndex:c}}if(i.type===`mdc_inline_span`&&i.nesting===1){let i={},a=t+1,o=[];for(;a<e.length;){let t=e[a];if(t.type===`mdc_inline_span`&&t.nesting===-1)break;if(t.type===`text`&&!t.content?.trim()){a++;continue}let i=Ju(e,a,n,r);a=i.nextIndex,i.node&&o.push(i.node)}let{attrs:s,nextIndex:c}=zu(e,a+1);return Object.assign(i,s),o.length>0||Object.keys(i).length>0?{node:[`span`,i,...o],nextIndex:c}:{node:null,nextIndex:c}}if(i.type===`mdc_inline_span`&&i.nesting===-1)return{node:null,nextIndex:t+1};if(i.type===`code_inline`){let{attrs:n,nextIndex:r}=zu(e,t+1);return i.content?{node:[`code`,n,i.content],nextIndex:r}:{node:null,nextIndex:r}}if(i.type===`hardbreak`||i.type===`hard_break`)return{node:[`br`,{}],nextIndex:t+1};if(i.type===`softbreak`)return{node:`
|
|
77
|
+
`,nextIndex:t+1};if(i.type===`mdc_inline_component`){let a=i.tag||`component`;if(i.nesting===1){let i=[],o=t+1;for(;o<e.length;){let t=e[o];if(t.type===`mdc_inline_component`&&t.nesting===-1){let{attrs:t,nextIndex:n}=zu(e,o+1,!1);return{node:[a,t,...i],nextIndex:n}}let s=Ju(e,o,n,r);o=s.nextIndex,s.node&&i.push(s.node)}return{node:[a,{},...i],nextIndex:o}}if(i.nesting===-1)return{node:null,nextIndex:t+1};{let n={},{attrs:r,nextIndex:o}=zu(e,t+1,!1);Object.assign(n,r);let s=$(i.attrs,{handleBoolean:!1});Object.assign(n,s);let c=Object.keys(r).length>0?o:t+1;return{node:[a,n],nextIndex:c}}}if(i.type===`image`){let n=$(i.attrs,{handleJSON:!1,filterEmpty:!0});i.content&&(n.alt=i.content);let{attrs:r,nextIndex:a}=zu(e,t+1);return Object.assign(n,r),{node:[`img`,n],nextIndex:a}}if(i.type===`link_open`){let r=$(i.attrs,{handleJSON:!1}),a=Yu(e,t+1,`link_close`,n),{attrs:o,nextIndex:s}=zu(e,a.nextIndex+1);return Object.assign(r,o),a.nodes.length>0?{node:[`a`,r,...a.nodes],nextIndex:s}:{node:null,nextIndex:s}}if(i.type===`math_inline`)return{node:[`math`,{class:`math inline`,content:i.content},i.content],nextIndex:t+1};let a=Pu[i.type];if(a){let r=i.type.replace(`_open`,`_close`),o=Yu(e,t+1,r,n),{attrs:s,nextIndex:c}=zu(e,o.nextIndex+1);return o.nodes.length>0?{node:[a,s,...o.nodes],nextIndex:c}:{node:null,nextIndex:c}}if(i.children){let e=Ku(i.children,n);return{node:e.length===1?e[0]:null,nextIndex:t+1}}return{node:null,nextIndex:t+1}}function Yu(e,t,n,r=!1){let i=[],a=t;for(;a<e.length;){let t=e[a];if(t.type===n&&(n===`mdc_inline_span`&&t.nesting===-1||n!==`mdc_inline_span`))break;if(t.type===`mdc_inline_props`&&t.hidden){a++;continue}if(t.type===`mdc_inline_component`&&r){let n=t.tag||`component`,r={},{attrs:o,nextIndex:s}=zu(e,a+1,!1);Object.assign(r,o),Object.keys(o).length>0?a=s:a++,i.push([n,r]);continue}let o=Ju(e,a,r);a=o.nextIndex,o.node&&i.push(o.node)}return{nodes:Uu(i),nextIndex:a}}function Xu(e,t){let n=-1,r=t.nodes.length-1,i=!1;for(;r>=0;){let e=t.nodes[r];if(e[1]&&e[1].$?.line){if(i){n=r;break}i=!0}r--}let a=n===-1?null:t.nodes[n];if(a){let r=a[1].$?.line??0;return{remainingMarkdownStartLine:r,reusedNodes:t.nodes.slice(0,n+1),remainingMarkdown:e.split(`
|
|
78
|
+
`).slice(r).join(`
|
|
79
|
+
`)||``}}return{remainingMarkdownStartLine:0,remainingMarkdown:e,reusedNodes:[]}}var Zu={end:()=>{}},Qu={startSpan:()=>Zu,startActiveSpan:(e,t,n)=>(typeof t==`function`?t:n)(Zu)};function $u(e,t,n,r){return e.startActiveSpan(t,r??{},e=>{try{let t=n();return t instanceof Promise?t.finally(()=>e.end()):(e.end(),t)}catch(t){throw e.end(),t}})}function ed(e={}){let{autoUnwrap:t=!0,autoClose:n=!0,tracer:r=Qu}=e,i=nu(e.unwrap),a=e.plugins??[];e.html!==void 0&&console.warn("[comark] `ParserOptions.html` is deprecated and will be removed in a future major version. Use `registerDefaultPlugins: false` and register `html()` from `comark/plugins/html` only when needed.");let o=Ri(e.registerDefaultPlugins===!1?[]:[tu(),...e.html===!1?[]:[Zl()],Rl(),Il(),kl(),Nl()],a),s=e=>o.some(t=>t.name===e),c=new Ii({linkify:e.linkify??!0}).enable([`table`,`strikethrough`]);for(let e of o)for(let t of e.markdownItPlugins||[])c.use(t);let l=null,u=null;return async(a,d={})=>await $u(r,`comark:parse`,async()=>{let f={options:e,tokens:[],markdown:a,tree:null,parsedLines:0,reusableNodes:[],frontmatterText:``,frontmatter:{}},p=l,m=a.startsWith(u??``);if(d.streaming&&p&&m){let{remainingMarkdownStartLine:e,reusedNodes:t,remainingMarkdown:n}=Xu(a,p);if(!n)return p;f.parsedLines=e,f.markdown=n,f.reusableNodes=t}typeof n==`function`?f.markdown=$u(r,`comark:autoclose`,()=>n(f.markdown)):n&&(f.markdown=$u(r,`comark:autoclose`,()=>oe(f.markdown,{frontmatter:s(`frontmatter`)&&d.streaming,syntax:s(`components`),attributes:s(`components`)||s(`attributes`),math:s(`math`),dropTrailingOpeners:d.streaming===!0})));for(let e of o)e.pre&&await $u(r,`comark:pre:${e.name}`,()=>e.pre(f));try{f.tokens=$u(r,`comark:tokenize`,()=>c.parse(f.markdown,{}))}catch(e){if(d.streaming&&p)return p;throw e}let h=r.startSpan(`comark:nodes`),g=Fu(f.tokens,{startLine:f.parsedLines,preservePositions:d.streaming??!1,headingIds:e.headingIds??!0});t&&(g=g.map(e=>Se(e))),i.length>0&&(g=ou(g,i)),h.end();let _=f.frontmatter??{},v=f.frontmatterText??``;d.streaming?(f.tree={frontmatter:v?_:p?.frontmatter??_,meta:{},nodes:[...f.reusableNodes,...g]},l=f.tree,u=a):(f.tree={frontmatter:_,meta:{},nodes:g},l=null,u=null);for(let e of o)e.post&&await $u(r,`comark:post:${e.name}`,()=>e.post(f));return f.tree})}function td(e={}){return Li(ed(e))}var nd=` `,rd=`background-color: currentColor; display: inline-block; margin-left: 0.25rem; margin-right: 0.25rem; animation: pulse 0.75s cubic-bezier(0.4,0,0.6,1) infinite;`;function id(e){if(e===!0)return[`span`,{key:`stream-caret`,style:rd},nd];if(typeof e==`object`){let t=e?.class||``;return[`span`,{key:`stream-caret`,style:rd,...t?{class:t}:{}},nd]}return null}function ad(e,t){for(let n=e.length-1;n>=2;n--){let r=e[n];if(typeof r==`string`&&e[1]?.key!==`stream-caret`)return e.push(t),!0;if(Array.isArray(r)&&ad(r,t))return!0}return!1}var od=new Map;function sd(e){return!!e&&typeof e.then==`function`}function cd(e){return e&&typeof e==`object`&&`default`in e?e.default:e}function ld(e){return Array.isArray(e)&&e.length>=1?e[0]:null}function ud(e){return Array.isArray(e)&&e.length>=2&&e[1]||{}}function dd(e){return Array.isArray(e)&&e.length>2?e.slice(2):[]}function fd(e,t,n){let r=x()?.appContext?.components,i=ll(e),a=`Prose${i}`,o=t[a]||t[i]||t[e]||r?.[a]||r?.[i];if(!o&&n){let t=e;if(!od.has(t)){let r=n(e);sd(r)?od.set(t,y(()=>r)):r&&od.set(t,cd(r))}o=od.get(t)}return o}function pd(e,t={},n,r,i,a={frontmatter:{},meta:{},data:{},props:{}}){if(typeof e==`string`)return e;if(Array.isArray(e)){let o=ld(e);if(!o)return null;let s=ud(e),c=dd(e),l;i?.[0]!==`pre`&&(s.as&&(l=fd(s.as,t,r)),l||=fd(o,t,r));let u=l||o,d=il(s,a,{parseJson:!0}),f={};for(let e in d)e===`className`?f.class=d[e]:f[e]=d[e];if((u?.props?.__node||u?.__asyncResolved?.props?.__node)&&(f.__node=e),n!==void 0&&(f.key=n),e.length===2)return b(u,f);let p=Object.keys(d).length>0?{...a,props:f}:a,m={},h=[];for(let n=0;n<c.length;n++){let i=c[n];if(i==null)continue;let a=ld(i),o=ud(i);if(a===`template`&&o){let n;if(o.name)n=o.name;else for(let e in o)if(e.startsWith(`v-slot:`)){n=e.substring(7);break}if(n){let a=dd(i);m[n]=()=>a.map((n,i)=>pd(n,t,i,r,e,p)).filter(e=>e!==null);continue}}let s=pd(i,t,n,r,e,p);s!==null&&h.push(s)}return l?(h.length>0&&(m.default=()=>h),b(u,f,m)):b(u,f,h)}return null}var md=ee({name:`MarkdownDocument`,props:{value:{type:Object,default:void 0},components:{type:Object,default:()=>({})},componentsManifest:{type:Function,default:void 0},streaming:{type:Boolean,default:!1},caret:{type:[Boolean,Object],default:!1},data:{type:Object,default:()=>({})},documentKey:{type:String,default:void 0}},async setup(e){let t=o(()=>e.value??{nodes:[],frontmatter:{},meta:{}}),n=h(new Set),r=w(null),i=t.value.meta?.key||e.documentKey;if(i&&globalThis.comarkContext){let e=globalThis.comarkContext.get(i,g(t.value)).listen(e=>{r.value=e});f(()=>e(!0))}u((e,t,r)=>{let i=t?.$?.type?.name||t?.type?.name||`unknown`;return n.value.add(i),!1});let a=_(`comark`,{components:{},componentManifest:()=>null}),s=o(()=>({...a?.components,...e.components})),c=t=>{let n=e.componentsManifest?.(t);return n||=a?.componentManifest(t),n||null},l=o(()=>id(e.caret||!1));return()=>{let n=g(r.value??t.value),i=[...n.nodes||[]];e.streaming&&l.value&&i.length>0&&(ad(i[i.length-1],l.value)||i.push(l.value));let a={frontmatter:n.frontmatter||n.data||{},meta:n.meta||{},data:e.data||{},props:{}},o=i.map((e,t)=>pd(e,s.value,t,c,void 0,a)).filter(e=>e!==null);return b(`div`,{class:`comark-content`},o)}}}),hd=ee({name:`Markdown`,props:{value:{type:[String,Object],default:void 0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},unwrap:{type:[Boolean,String,Array],default:!1},components:{type:Object,default:()=>({})},componentsManifest:{type:Function,default:void 0},streaming:{type:Boolean,default:!1},summary:{type:Boolean,default:!1},caret:{type:[Boolean,Object],default:!1},data:{type:Object,default:()=>({})},documentKey:{type:String,default:void 0}},async setup(e,t){let n=o(()=>{if(al(e.value))return``;let n=e.value,r=t.slots.default?.();return r&&r.length>0&&typeof r[0].children==`string`&&(n=r[0].children),e.summary&&(n=n?.split(`<!-- more -->`)[0]),(n||``).trim()}),r=w(null),i=td({...e.options,...e.unwrap?{unwrap:e.unwrap}:{},plugins:e.plugins});return S(()=>[n.value,e.streaming],()=>{al(e.value)||i(n.value,{streaming:e.streaming}).then(e=>r.value=e)}),al(e.value)||await i(n.value,{streaming:e.streaming}).then(e=>r.value=e),()=>al(e.value)?b(md,{value:e.value,components:e.components,streaming:e.streaming,componentsManifest:e.componentsManifest,class:e.streaming?`comark-stream`:``,caret:e.caret,data:e.data,documentKey:e.documentKey}):b(md,{value:r.value||{nodes:[],frontmatter:{},meta:{}},components:e.components,streaming:e.streaming,componentsManifest:e.componentsManifest,class:e.streaming?`comark-stream`:``,caret:e.caret,data:e.data,documentKey:e.documentKey})}}),gd={key:0,class:`flex justify-end`},_d={class:`max-w-[85%] whitespace-pre-wrap break-words rounded-lg bg-active px-3 py-2 text-sm`},vd={key:1,class:`max-w-full flex flex-col items-start gap-1.5`},yd={key:1,class:`flex items-center gap-1.5 text-xs op-mute`},bd={key:0,class:`flex flex-wrap items-center gap-2 text-sm text-red-500`},xd={class:`break-words`},Sd={key:1,class:`border border-base rounded px-1.5 text-xs op-mute`},Cd={key:2,class:`flex items-center gap-1.5 text-xs op-mute`},wd={key:3,class:`flex items-start gap-1.5 text-xs op-mute`},Td={class:`whitespace-pre-wrap break-words`},Ed=ee({__name:`ChatMessage`,props:{message:{},retryable:{type:Boolean}},emits:[`retry`],setup(e){let u=e,{t:f}=C();function h(e){return typeof e==`string`?e:e.map(e=>e.text??``).join(`
|
|
80
|
+
`)}let g=o(()=>u.message.role===`user`?h(u.message.content):``),_=o(()=>{let e=u.message;if(e.role!==`toolResult`||e.toolName!==`update_grouping`||e.isError)return;let t=h(e.content).match(/(\d+) groups?/)?.[1];return t?f(`chat.updatedGrouping`,{n:t}):void 0}),y=o(()=>{let e=u.message;return e.role===`toolResult`&&e.isError?h(e.content):void 0});function b(e){if(e.name===`read_diffs`){let t=e.arguments.paths,n=Array.isArray(t)?t.length:0;return f(`chat.readFiles`,{n},n)}return e.name===`update_grouping`?f(`chat.updatingGrouping`):e.name===`submit_grouping`?f(`chat.submittingGrouping`):e.name}return(o,u)=>e.message.role===`user`?(n(),s(`div`,gd,[p(`div`,_d,r(g.value),1)])):e.message.role===`assistant`?(n(),s(`div`,vd,[(n(!0),s(l,null,c(e.message.content,(o,c)=>(n(),s(l,{key:c},[o.type===`text`&&o.text.trim()?(n(),m(i,{key:0},{default:te(()=>[t(v(hd),{value:o.text,streaming:e.message.stopReason===`pending`,class:`chat-markdown min-w-0 self-stretch`},null,8,[`value`,`streaming`])]),_:2},1024)):o.type===`toolCall`?(n(),s(`div`,yd,[u[1]||=p(`span`,{class:`i-ph:wrench-duotone`,"aria-hidden":`true`},null,-1),d(` `+r(b(o)),1)])):a(``,!0)],64))),128)),e.message.stopReason===`error`?(n(),s(`div`,bd,[p(`span`,xd,r(e.message.errorMessage??o.$t(`chat.requestFailed`)),1),e.retryable?(n(),m(ne,{key:0,size:`sm`,icon:`i-ph:arrow-clockwise-duotone`,onClick:u[0]||=e=>o.$emit(`retry`)},{default:te(()=>[d(r(o.$t(`common.retry`)),1)]),_:1})):a(``,!0)])):e.message.stopReason===`aborted`?(n(),s(`span`,Sd,r(o.$t(`chat.stopped`)),1)):a(``,!0)])):_.value?(n(),s(`div`,Cd,[u[2]||=p(`span`,{class:`i-ph:tree-structure-duotone`,"aria-hidden":`true`},null,-1),d(` `+r(_.value),1)])):y.value?(n(),s(`div`,wd,[u[3]||=p(`span`,{class:`i-ph:warning-duotone mt-0.5 shrink-0`,"aria-hidden":`true`},null,-1),p(`span`,Td,r(y.value),1)])):a(``,!0)}});export{hd as n,Ed as t};
|