vendor: 15,560 bytes, lines 1-16
1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="27a2289c-06bd-5aae-bfe4-799ba48c3f2f")}catch(e){}}(); 3import{a as e,c as t,d as n,i as r,l as i,s as a,u as o}from"./lib-V61EcWBh.js";function s(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var c=u(/\p{P}|\p{S}/u),l=u(/\s/);function u(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function d(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function f(t,n,i){let a=e((i||{}).ignore||[]),o=p(n),s=-1;for(;++s<o.length;)r(t,`text`,c);function c(e,t){let n=-1,r;for(;++n<t.length;){let e=t[n],i=r?r.children:void 0;if(a(e,i?i.indexOf(e):void 0,r))return;r=e}if(r)return l(e,t)}function l(e,t){let n=t[t.length-1],r=o[s][0],i=o[s][1],a=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,o={index:d.index,input:d.input,stack:[...t,e]},s=i(...d,o);if(typeof s==`string`&&(s=s.length>0?{type:`text`,value:s}:void 0),s===!1?r.lastIndex=n+1:(a!==n&&u.push({type:`text`,value:e.value.slice(a,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),a=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(a<e.value.length&&u.push({type:`text`,value:e.value.slice(a)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function p(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([m(e[0]),h(e[1])])}return t}function m(e){return typeof e==`string`?new RegExp(d(e),`g`):e}function h(e){return typeof e==`function`?e:function(){return e}}var g=`phrasing`,_=[`autolink`,`link`,`image`,`label`];function v(){return{transforms:[ee],enter:{literalAutolink:b,literalAutolinkEmail:x,literalAutolinkHttp:x,literalAutolinkWww:x},exit:{literalAutolink:T,literalAutolinkEmail:w,literalAutolinkHttp:S,literalAutolinkWww:C}}}function y(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:g,notInConstruct:_},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:g,notInConstruct:_},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:g,notInConstruct:_}]}}function b(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function x(e){this.config.enter.autolinkProtocol.call(this,e)}function S(e){this.config.exit.autolinkProtocol.call(this,e)}function C(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function w(e){this.config.exit.autolinkEmail.call(this,e)}function T(e){this.exit(e)}function ee(e){f(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,te],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,ne]],{ignore:[`link`,`linkReference`]})}function te(e,t,n,r,i){let a=``;if(!ae(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!re(n)))return!1;let o=ie(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function ne(e,t,n,r){return!ae(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function re(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function ie(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=s(e,`(`),a=s(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function ae(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||l(n)||c(n))&&(!t||n!==47)}he.peek=me;function oe(){this.buffer()}function se(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function ce(){this.buffer()}function le(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function ue(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=o(this.sliceSerialize(e)).toLowerCase(),n.label=t}function de(e){this.exit(e)}function fe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=o(this.sliceSerialize(e)).toLowerCase(),n.label=t}function pe(e){this.exit(e)}function me(){return`[`}function he(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function ge(){return{enter:{gfmFootnoteCallString:oe,gfmFootnoteCall:se,gfmFootnoteDefinitionLabelString:ce,gfmFootnoteDefinition:le},exit:{gfmFootnoteCallString:ue,gfmFootnoteCall:de,gfmFootnoteDefinitionLabelString:fe,gfmFootnoteDefinition:pe}}}function _e(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:he},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?` 4`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?ye:ve))),s(),o}}function ve(e,t,n){return t===0?e:ye(e,t,n)}function ye(e,t,n){return(n?``:` `)+e}var be=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];Te.peek=Ee;function xe(){return{canContainEols:[`delete`],enter:{strikethrough:Ce},exit:{strikethrough:we}}}function Se(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:be}],handlers:{delete:Te}}}function Ce(e){this.enter({type:`delete`,children:[]},e)}function we(e){this.exit(e)}function Te(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function Ee(){return`~`}function De(e){return e.length}function Oe(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||De,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=ke(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=Ae(r[d]);else{let e=Ae(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(` 5`)}function ke(e){return e==null?``:String(e)}function Ae(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function je(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Me);return i(),o}function Me(e,t,n){return`>`+(n?``:` `)+e}function Ne(e,t){return Pe(e,t.inConstruct,!0)&&!Pe(e,t.notInConstruct,!1)}function Pe(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Fe(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===` 6`&&Ne(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\ 7`}function Ie(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function Le(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Re(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function ze(e,t,n,r){let i=Re(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(Le(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,Be);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(Ie(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:` 8`,encode:["`"],...s.current()})),t()}return u+=s.move(` 9`),a&&(u+=s.move(a+` 10`)),u+=s.move(c),l(),u}function Be(e,t,n){return(n?``:` `)+e}function E(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Ve(e,t,n,r){let i=E(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:` 11`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function He(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function D(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function O(e,n,r){let i=t(e),a=t(n);return i===void 0?a===void 0?r===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:i===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Ue.peek=We;function Ue(e,t,n,r){let i=He(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=O(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=D(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=O(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+D(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function We(e,t,n){return n.options.emphasis||`*`}function Ge(e,t,n,i){let a,o,s;typeof t==`function`&&typeof n!=`function`?(o=void 0,s=t,a=n):(o=t,s=n,a=i),r(e,o,c,a);function c(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)}}var Ke={};function qe(e,t){let n=t||Ke;return Je(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function Je(e,t,n){if(Xe(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return Ye(e.children,t,n)}return Array.isArray(e)?Ye(e,t,n):``}function Ye(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Je(e[i],t,n);return r.join(``)}function Xe(e){return!!(e&&typeof e==`object`)}function Ze(e,t){let n=!1;return Ge(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&qe(e)&&(t.options.setext||n))}function Qe(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(Ze(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:` 12`,after:` 13`});return r(),t(),o+` 14`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(` 15`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:` 16`,...a.current()});return/^[\t ]/.test(l)&&(l=D(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}k.peek=$e;function k(e){return e.value||``}function $e(){return`<`}et.peek=tt;function et(e,t,n,r){let i=E(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function tt(){return`!`}nt.peek=rt;function nt(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function rt(){return`!`}it.peek=at;function it(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function at(){return"`"}function ot(e,t){let n=qe(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}st.peek=ct;function st(e,t,n,r){let i=E(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(ot(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}
vendor: 7,569 bytes, lines 16-18
16))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function ct(e,t,n){return ot(e,n)?`<`:`[`}lt.peek=ut;function lt(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function ut(){return`[`}function A(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function dt(e){let t=A(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ft(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function j(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function pt(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?ft(n):A(n),s=e.ordered?o===`.`?`)`:`.`:dt(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),j(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function mt(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function ht(e,t,n,r){let i=mt(n),a=n.bulletCurrent||A(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function gt(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var _t=e([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function vt(e,t,n,r){return(e.children.some(function(e){return _t(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function yt(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}M.peek=bt;function M(e,t,n,r){let i=yt(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=O(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=D(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=O(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+D(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function bt(e,t,n){return n.options.strong||`*`}function xt(e,t,n,r){return n.safe(e.value,r)}function St(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Ct(e,t,n){let r=(j(n)+(n.options.ruleSpaces?` `:``)).repeat(St(n));return n.options.ruleSpaces?r.slice(0,-1):r}var N={blockquote:je,break:Fe,code:ze,definition:Ve,emphasis:Ue,hardBreak:Fe,heading:Qe,html:k,image:et,imageReference:nt,inlineCode:it,link:st,linkReference:lt,list:pt,listItem:ht,paragraph:gt,root:vt,strong:M,text:xt,thematicBreak:Ct};function wt(){return{enter:{table:Tt,tableData:F,tableHeader:F,tableRow:Dt},exit:{codeText:Ot,table:Et,tableData:P,tableHeader:P,tableRow:P}}}function Tt(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function Et(e){this.exit(e),this.data.inTable=void 0}function Dt(e){this.enter({type:`tableRow`,children:[]},e)}function P(e){this.exit(e)}function F(e){this.enter({type:`tableCell`,children:[]},e)}function Ot(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,kt));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function kt(e,t){return t===`|`?t:e}function At(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:` 17`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(` 18`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return Oe(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=N.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function jt(){return{exit:{taskListCheckValueChecked:I,taskListCheckValueUnchecked:I,paragraph:Nt}}}function Mt(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Pt}}}function I(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function Nt(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Pt(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.
vendor: 17,370 bytes, line 18
18createTracker(r);a&&s.move(o);let c=N.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function Ft(){return[v(),ge(),xe(),wt(),jt()]}function It(e){return{extensions:[y(),_e(e),Se(),At(e),Mt()]}}var L={}.hasOwnProperty;function Lt(e){let t={},n=-1;for(;++n<e.length;)Rt(t,e[n]);return t}function Rt(e,t){let n;for(n in t){let r=(L.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){L.call(r,a)||(r[a]=[]);let e=i[a];zt(r[a],Array.isArray(e)?e:e?[e]:[])}}}function zt(e,t){let r=-1,i=[];for(;++r<t.length;)(t[r].add===`after`?e:i).push(t[r]);n(e,0,0,i)}var R=H(/[A-Za-z]/),z=H(/[\dA-Za-z]/);function Bt(e){return e!==null&&(e<32||e===127)}function B(e){return e!==null&&(e<0||e===32)}var Vt=H(/\p{P}|\p{S}/u),V=H(/\s/);function H(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}var Ht={tokenize:Qt,partial:!0},Ut={tokenize:$t,partial:!0},U={tokenize:en,partial:!0},Wt={tokenize:tn,partial:!0},Gt={tokenize:nn,partial:!0},Kt={name:`wwwAutolink`,tokenize:Xt,previous:rn},qt={name:`protocolAutolink`,tokenize:Zt,previous:an},W={name:`emailAutolink`,tokenize:Yt,previous:on},G={};function Jt(){return{text:G}}for(var K=48;K<123;)G[K]=W,K++,K===58?K=65:K===91&&(K=97);G[43]=W,G[45]=W,G[46]=W,G[95]=W,G[72]=[W,qt],G[104]=[W,qt],G[87]=[W,Kt],G[119]=[W,Kt];function Yt(e,t,n){let r=this,i,a;return o;function o(t){return!q(t)||!on.call(r,r.previous)||J(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return q(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(Gt,u,l)(t):t===45||t===95||z(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&R(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Xt(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!rn.call(r,r.previous)||J(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(Ht,e.attempt(Ut,e.attempt(U,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Zt(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&an.call(r,r.previous)&&!J(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(R(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||Bt(t)||B(t)||V(t)||Vt(t)?n(t):e.attempt(Ut,e.attempt(U,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Qt(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function $t(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(Wt,c,s)(t):t===null||B(t)||V(t)||t!==45&&Vt(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function en(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Wt,t,a)(o):o===null||B(o)||V(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function tn(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||B(o)||V(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||B(e)||V(e)?t(e):r(e)}function a(e){return R(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):R(t)?(e.consume(t),o):n(t)}}function nn(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return z(e)?n(e):t(e)}}function rn(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||B(e)}function an(e){return!R(e)}function on(e){return!(e===47||q(e))}function q(e){return e===43||e===45||e===46||e===95||z(e)}function J(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function sn(e){return e!==null&&e<-2}function Y(e){return e!==null&&(e<0||e===32)}function cn(e){return e===-2||e===-1||e===32}var ln={partial:!0,tokenize:un};function un(e,t,n){return r;function r(t){return cn(t)?i(e,a,`linePrefix`)(t):a(t)}function a(e){return e===null||sn(e)?t(e):n(e)}}var dn={tokenize:yn,partial:!0};function fn(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:gn,continuation:{tokenize:_n},exit:vn}},text:{91:{name:`gfmFootnoteCall`,tokenize:hn},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:pn,resolveTo:mn}}}}function pn(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),s;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){s=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return c;function c(i){if(!s||!s._balanced)return n(i);let c=o(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function mn(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function hn(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,s;return c;function c(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(c){if(a>999||c===93&&!s||c===null||c===91||Y(c))return n(c);if(c===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(o(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(c),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(c)}return Y(c)||(s=!0),a++,e.consume(c),c===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),a++,u):u(t)}}function gn(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),s,c=0,l;return u;function u(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),d}function d(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,f):n(t)}function f(t){if(c>999||t===93&&!l||t===null||t===91||Y(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return s=o(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),m}return Y(t)||(l=!0),c++,e.consume(t),t===92?p:f}function p(t){return t===91||t===92||t===93?(e.consume(t),c++,f):f(t)}function m(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),a.includes(s)||a.push(s),i(e,h,`gfmFootnoteDefinitionWhitespace`)):n(t)}function h(e){return t(e)}}function _n(e,t,n){return e.check(ln,t,e.attempt(dn,t,n))}function vn(e){e.exit(`gfmFootnoteDefinition`)}function yn(e,t,n){let r=this;return i(e,a,`gfmFootnoteDefinitionIndent`,5);function a(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function bn(e){let r=(e||{}).singleTilde,i={name:`strikethrough`,tokenize:s,resolveAll:o};return r??=!0,{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function o(e,t){let r=-1;for(;++r<e.length;)if(e[r][0]===`enter`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._close){let i=r;for(;i--;)if(e[i][0]===`exit`&&e[i][1].type===`strikethroughSequenceTemporary`&&e[i][1]._open&&e[r][1].end.offset-e[r][1].start.offset===e[i][1].end.offset-e[i][1].start.offset){e[r][1].type=`strikethroughSequence`,e[i][1].type=`strikethroughSequence`;let o={type:`strikethrough`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[r][1].end)},s={type:`strikethroughText`,start:Object.assign({},e[i][1].end),end:Object.assign({},e[r][1].start)},c=[[`enter`,o,t],[`enter`,e[i][1],t],[`exit`,e[i][1],t],[`enter`,s,t]],l=t.parser.constructs.insideSpan.null;l&&n(c,c.length,0,a(l,e.slice(i+1,r),t)),n(c,c.length,0,[[`exit`,s,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`exit`,o,t]]),n(e,i-1,r-i+3,c),r=i+c.length-2;break}}for(r=-1;++r<e.length;)e[r][1].type===`strikethroughSequenceTemporary`&&(e[r][1].type=`data`);return e}function s(e,n,i){let a=this.previous,o=this.events,s=0;return c;function c(t){return a===126&&o[o.length-1][1].type!==`characterEscape`?i(t):(e.enter(`strikethroughSequenceTemporary`),l(t))}function l(o){let c=t(a);if(o===126)return s>1?i(o):(e.consume(o),s++,l);if(s<2&&!r)return i(o);let u=e.exit(`strikethroughSequenceTemporary`),d=t(o);return u._open=!d||d===2&&!!c,u._close=!c||c===2&&!!d,n(o)}}}function X(e){return e!==null&&e<-2}function xn(e){return e!==null&&(e<0||e===32)}function Z(e){return e===-2||e===-1||e===32}var Sn=class{constructor(){this.map=[]}add(e,t,n){Cn(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function Cn(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function wn(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function Tn(){return{flow:{null:{name:`table`,tokenize:En,resolveAll:Dn}}}}function En(e,t,n){let r=this,a=0,o=0,s;return c;function c(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?C:l;return a===C&&r.parser.lazy[r.now().line]?n(e):a(e)}function l(t){return e.enter(`tableHead`),e.enter(`tableRow`),u(t)}function u(e){return e===124?d(e):(s=!0,o+=1,d(e))}function d(t){return t===null?n(t):X(t)?o>1?(o=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),m):n(t):Z(t)?i(e,d,`whitespace`)(t):(o+=1,s&&(s=!1,a+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),s=!0,d):(e.enter(`data`),f(t)))}function f(t){return t===null||t===124||xn(t)?(e.exit(`data`),d(t)):(e.consume(t),t===92?p:f)}function p(t){return t===92||t===124?(e.consume(t),f):f(t)}function m(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),s=!1,Z(t)?i(e,h,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):h(t))}function h(t){return t===45||t===58?_(t):t===124?(s=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),g):S(t)}function g(t){return Z(t)?i(e,_,`whitespace`)(t):_(t)}function _(t){return t===58?(o+=1,s=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),v):t===45?(o+=1,v(t)):t===null||X(t)?x(t):S(t)}function v(t){return t===45?(e.enter(`tableDelimiterFiller`),y(t)):S(t)}function y(t){return t===45?(e.consume(t),y):t===58?(s=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),b):(e.exit(`tableDelimiterFiller`),b(t))}function b(t){return Z(t)?i(e,x,`whitespace`)(t):x(t)}function x(n){return n===124?h(n):n===null||X(n)?!s||a!==o?S(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):S(n)}function S(e){return n(e)}function C(t){return e.enter(`tableRow`),w(t)}function w(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),w):n===null||X(n)?(e.exit(`tableRow`),t(n)):Z(n)?i(e,w,`whitespace`)(n):(e.enter(`data`),T(n))}function T(t){return t===null||t===124||xn(t)?(e.exit(`data`),w(t)):(e.consume(t),t===92?ee:T)}function ee(t){return t===92||t===124?(e.consume(t),T):T(t)}}function Dn(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new Sn;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(On(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=Q(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=Q(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=Q(f,t,o,i,n,d)):(o[0]=o[1],d=Q(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&On(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=wn(t.events,n))}return e}function Q(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},$(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=$(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=$(t.events,n[2]),a=$(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},$(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function On(e,t,n,r,i){let a=[],o=$(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function $(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}function kn(e){return e!==null&&e<-2}function An(e){return e!==null&&(e<0||e===32)}function jn(e){return e===-2||e===-1||e===32}var Mn={name:`tasklistCheck`,tokenize:Pn};function Nn(){return{text:{91:Mn}}}function Pn(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return An(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return kn(r)?t(r):jn(r)?e.check({tokenize:Fn},t,n)(r):n(r)}}function Fn(e,t,n){return i(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function In(e){return Lt([Jt(),fn(),bn(e),Tn(),Nn()])}var Ln={};function Rn(e){let t=this,n=e||Ln,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(In(n)),a.push(Ft()),o.push(It(n))}
18export{d as n,Rn as t}; 19//# sourceMappingURL=lib-DeYZLsf9.js.map 20//# debugId=27a2289c-06bd-5aae-bfe4-799ba48c3f2f
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.