PageSourceSearch

https://roadmap.sh/assets/index-BwqomJjk.js

js roadmap.sh collected 2026-09-24 17:11:53 UTC 70,202 bytes, 3 lines download raw bytes

vendor: 17,635 bytes, line 1
1import{k as Ht}from"./chunk-LFPYN7LY-CxYJBB4n.js";function nt(n){if(n)throw n}var Fn,tt;function jt(){if(tt)return Fn;tt=1;var n=Object.prototype.hasOwnProperty,e=Object.prototype.toString,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(s){return typeof Array.isArray=="function"?Array.isArray(s):e.call(s)==="[object Array]"},u=function(s){if(!s||e.call(s)!=="[object Object]")return!1;var f=n.call(s,"constructor"),m=s.constructor&&s.constructor.prototype&&n.call(s.constructor.prototype,"isPrototypeOf");if(s.constructor&&!f&&!m)return!1;var g;for(g in s);return typeof g>"u"||n.call(s,g)},l=function(s,f){t&&f.name==="__proto__"?t(s,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):s[f.name]=f.newValue},a=function(s,f){if(f==="__proto__")if(n.call(s,f)){if(r)return r(s,f).value}else return;return s[f]};return Fn=function p(){var s,f,m,g,h,C,E=arguments[0],P=1,y=arguments.length,M=!1;for(typeof E=="boolean"&&(M=E,E=arguments[1]||{},P=2),(E==null||typeof E!="object"&&typeof E!="function")&&(E={});P<y;++P)if(s=arguments[P],s!=null)for(f in s)m=a(E,f),g=a(s,f),E!==g&&(M&&g&&(u(g)||(h=i(g)))?(h?(h=!1,C=m&&i(m)?m:[]):C=m&&u(m)?m:{},l(E,{name:f,newValue:p(M,C,g)})):typeof g<"u"&&l(E,{name:f,newValue:g}));return E},Fn}var Qt=jt();const _n=Ht(Qt);function Vn(n){if(typeof n!="object"||n===null)return!1;const e=Object.getPrototypeOf(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function Ut(){const n=[],e={run:t,use:r};return e;function t(...i){let u=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...i);function a(p,...s){const f=n[++u];let m=-1;if(p){l(p);return}for(;++m<i.length;)(s[m]===null||s[m]===void 0)&&(s[m]=i[m]);i=s,f?Wt(f,a)(...s):l(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return n.push(i),e}}function Wt(n,e){let t;return r;function r(...l){const a=n.length>l.length;let p;a&&l.push(i);try{p=n.apply(this,l)}catch(s){const f=s;if(a&&t)throw f;return i(f)}a||(p&&p.then&&typeof p.then=="function"?p.then(u,i):p instanceof Error?i(p):u(p))}function i(l,...a){t||(t=!0,e(l,...a))}function u(l){i(null,l)}}function Sn(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?et(n.position):"start"in n||"end"in n?et(n):"line"in n||"column"in n?qn(n):""}function qn(n){return rt(n&&n.line)+":"+rt(n&&n.column)}function et(n){return qn(n&&n.start)+"-"+qn(n&&n.end)}function rt(n){return n&&typeof n=="number"?n:1}class $ extends Error{constructor(e,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",u={},l=!1;if(t&&("line"in t&&"column"in t?u={place:t}:"start"in t&&"end"in t?u={place:t}:"type"in t?u={ancestors:[t],place:t.position}:u={...t}),typeof e=="string"?i=e:!u.cause&&e&&(l=!0,i=e.message,u.cause=e),!u.ruleId&&!u.source&&typeof r=="string"){const p=r.indexOf(":");p===-1?u.ruleId=r:(u.source=r.slice(0,p),u.ruleId=r.slice(p+1))}if(!u.place&&u.ancestors&&u.ancestors){const p=u.ancestors[u.ancestors.length-1];p&&(u.place=p.position)}const a=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=Sn(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=l&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}$.prototype.file="";$.prototype.name="";$.prototype.reason="";$.prototype.message="";$.prototype.stack="";$.prototype.column=void 0;$.prototype.line=void 0;$.prototype.ancestors=void 0;$.prototype.cause=void 0;$.prototype.fatal=void 0;$.prototype.place=void 0;$.prototype.ruleId=void 0;$.prototype.source=void 0;const tn={basename:Yt,dirname:$t,extname:Zt,join:Gt,sep:"/"};function Yt(n,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');En(n);let t=0,r=-1,i=n.length,u;if(e===void 0||e.length===0||e.length>n.length){for(;i--;)if(n.codePointAt(i)===47){if(u){t=i+1;break}}else r<0&&(u=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let l=-1,a=e.length-1;for(;i--;)if(n.codePointAt(i)===47){if(u){t=i+1;break}}else l<0&&(u=!0,l=i+1),a>-1&&(n.codePointAt(i)===e.codePointAt(a--)?a<0&&(r=i):(a=-1,r=l));return t===r?r=l:r<0&&(r=n.length),n.slice(t,r)}function $t(n){if(En(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.codePointAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.codePointAt(0)===47?"/":".":e===1&&n.codePointAt(0)===47?"//":n.slice(0,e)}function Zt(n){En(n);let e=n.length,t=-1,r=0,i=-1,u=0,l;for(;e--;){const a=n.codePointAt(e);if(a===47){if(l){r=e+1;break}continue}t<0&&(l=!0,t=e+1),a===46?i<0?i=e:u!==1&&(u=1):i>-1&&(u=-1)}return i<0||t<0||u===0||u===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function Gt(...n){let e=-1,t;for(;++e<n.length;)En(n[e]),n[e]&&(t=t===void 0?n[e]:t+"/"+n[e]);return t===void 0?".":Jt(t)}function Jt(n){En(n);const e=n.codePointAt(0)===47;let t=Kt(n,!e);return t.length===0&&!e&&(t="."),t.length>0&&n.codePointAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function Kt(n,e){let t="",r=0,i=-1,u=0,l=-1,a,p;for(;++l<=n.length;){if(l<n.length)a=n.codePointAt(l);else{if(a===47)break;a=47}if(a===47){if(!(i===l-1||u===1))if(i!==l-1&&u===2){if(t.length<2||r!==2||t.codePointAt(t.length-1)!==46||t.codePointAt(t.length-2)!==46){if(t.length>2){if(p=t.lastIndexOf("/"),p!==t.length-1){p<0?(t="",r=0):(t=t.slice(0,p),r=t.length-1-t.lastIndexOf("/")),i=l,u=0;continue}}else if(t.length>0){t="",r=0,i=l,u=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,l):t=n.slice(i+1,l),r=l-i-1;i=l,u=0}else a===46&&u>-1?u++:u=-1}return t}function En(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Xt={cwd:vt};function vt(){return"/"}function Hn(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function ne(n){if(typeof n=="string")n=new URL(n);else if(!Hn(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return te(n)}function te(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t<e.length;)if(e.codePointAt(t)===37&&e.codePointAt(t+1)===50){const r=e.codePointAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const Pn=["history","path","basename","stem","extname","dirname"];class ee{constructor(e){let t;e?Hn(e)?t={path:e}:typeof e=="string"||re(e)?t={value:e}:t=e:t={},this.cwd="cwd"in t?"":Xt.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Pn.length;){const u=Pn[r];u in t&&t[u]!==void 0&&t[u]!==null&&(this[u]=u==="history"?[...t[u]]:t[u])}let i;for(i in t)Pn.includes(i)||(this[i]=t[i])}get basename(){return typeof this.path=="string"?tn.basename(this.path):void 0}set basename(e){Bn(e,"basename"),Ln(e,"basename"),this.path=tn.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?tn.dirname(this.path):void 0}set dirname(e){it(this.basename,"dirname"),this.path=tn.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?tn.extname(this.path):void 0}set extname(e){if(Ln(e,"extname"),it(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=tn.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Hn(e)&&(e=ne(e)),Bn(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?tn.basename(this.path,this.extname):void 0}set stem(e){Bn(e,"stem"),Ln(e,"stem"),this.path=tn.join(this.dirname||"",e+(this.extname||""))}fail(e,t,r){const i=this.message(e,t,r);throw i.fatal=!0,i}info(e,t,r){const i=this.message(e,t,r);return i.fatal=void 0,i}message(e,t,r){const i=new $(e,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Ln(n,e){if(n&&n.includes(tn.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+tn.sep+"`")}function Bn(n,e){if(!n)throw new Error("`"+e+"` cannot be empty")}function it(n,e){if(!n)throw new Error("Setting `"+e+"` requires `path` to be set too")}function re(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const ie=(function(n){const r=this.constructor.prototype,i=r[n],u=function(){return i.apply(u,arguments)};return Object.setPrototypeOf(u,r),u}),ue={}.hasOwnProperty;class Wn extends ie{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Ut()}copy(){const e=new Wn;let t=-1;for(;++t<this.attachers.length;){const r=this.attachers[t];e.use(...r)}return e.data(_n(!0,{},this.namespace)),e}data(e,t){return typeof e=="string"?arguments.length===2?(On("data",this.frozen),this.namespace[e]=t,this):ue.call(this.namespace,e)&&this.namespace[e]||void 0:e?(On("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=t.call(e,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Cn(e),r=this.parser||this.Parser;return Mn("parse",r),r(String(t),t)}process(e,t){const r=this;return this.freeze(),Mn("process",this.parser||this.Parser),Nn("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(u,l){const a=Cn(e),p=r.parse(a);r.run(p,a,function(f,m,g){if(f||!m||!g)return s(f);const h=m,C=r.stringify(h,g);ae(C)?g.value=C:g.result=C,s(f,g)});function s(f,m){f||!m?l(f):u?u(m):t(void 0,m)}}}processSync(e){let t=!1,r;return this.freeze(),Mn("processSync",this.parser||this.Parser),Nn("processSync",this.compiler||this.Compiler),this.process(e,i),lt("processSync","process",t),r;function i(u,l){t=!0,nt(u),r=l}}run(e,t,r){ut(e),this.freeze();const i=this.transformers;return!r&&typeof t=="function"&&(r=t,t=void 0),r?u(void 0,r):new Promise(u);function u(l,a){const p=Cn(t);i.run(e,p,s);function s(f,m,g){const h=m||e;f?a(f):l?l(h):r(void 0,h,g)}}}runSync(e,t){let r=!1,i;return this.run(e,t,u),lt("runSync","run",r),i;function u(l,a){nt(l),i=a,r=!0}}stringify(e,t){this.freeze();const r=Cn(t),i=this.compiler||this.Compiler;return Nn("stringify",i),ut(e),i(e,r)}use(e,...t){const r=this.attachers,i=this.namespace;if(On("use",this.frozen),e!=null)if(typeof e=="function")p(e,t);else if(typeof e=="object")Array.isArray(e)?a(e):l(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function u(s){if(typeof s=="function")p(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[f,...m]=s;p(f,m)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(s.plugins),s.settings&&(i.settings=_n(!0,i.settings,s.settings))}function a(s){let f=-1;if(s!=null)if(Array.isArray(s))for(;++f<s.length;){const m=s[f];u(m)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function p(s,f){let m=-1,g=-1;for(;++m<r.length;)if(r[m][0]===s){g=m;break}if(g===-1)r.push([s,...f]);else if(f.length>0){let[h,...C]=f;const E=r[g][1];Vn(E)&&Vn(h)&&(h=_n(!0,E,h)),r[g]=[s,h,...C]}}}}const gi=new Wn().freeze();function Mn(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Nn(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function On(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ut(n){if(!Vn(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function lt(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function Cn(n){return le(n)?n:new ee(n)}function le(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function ae(n){return typeof n=="string"||se(n)}function se(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const oe={};function ce(n,e){const t=oe,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return yt(n,r,i)}function yt(n,e,t){if(he(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(e&&"alt"in n&&n.alt)return n.alt;if("children"in n)return at(n.children,e,t)}return Array.isArray(n)?at(n,e,t):""}function at(n,e,t){const r=[];let i=-1;for(;++i<n.length;)r[i]=yt(n[i],e,t);return r.join("")}function he(n){return!!(n&&typeof n=="object")}const st=document.createElement("i");function Yn(n){const e="&"+n+";";st.innerHTML=e;const t=st.textContent;return t.charCodeAt(t.length-1)===59&&n!=="semi"||t===e?!1:t}function rn(n,e,t,r){const i=n.length;let u=0,l;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)l=Array.from(r),l.unshift(e,t),n.splice(...l);else for(t&&n.splice(e,t);u<r.length;)l=r.slice(u,u+1e4),l.unshift(e,0),n.splice(...l),u+=1e4,e+=1e4}function G(n,e){return n.length>0?(rn(n,n.length,0,e),n):e}const ot={}.hasOwnProperty;function fe(n){const e={};let t=-1;for(;++t<n.length;)pe(e,n[t]);return e}function pe(n,e){let t;for(t in e){const i=(ot.call(n,t)?n[t]:void 0)||(n[t]={}),u=e[t];let l;if(u)for(l in u){ot.call(i,l)||(i[l]=[]);const a=u[l];me(i[l],Array.isArray(a)?a:a?[a]:[])}}}function me(n,e){let t=-1;const r=[];for(;++t<e.length;)(e[t].add==="after"?n:r).push(e[t]);rn(n,0,0,r)}function bt(n,e){const t=Number.parseInt(n,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function xn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const en=hn(/[A-Za-z]/),nn=hn(/[\dA-Za-z]/),ge=hn(/[#-'*+\--9=?A-Z^-~]/);function jn(n){return n!==null&&(n<32||n===127)}const Qn=hn(/\d/),de=hn(/[\dA-Fa-f]/),xe=hn(/[!-/:-@[-`{-~]/);function I(n){return n!==null&&n<-2}function Y(n){return n!==null&&(n<0||n===32)}function F(n){return n===-2||n===-1||n===32}const ke=hn(new RegExp("\\p{P}|\\p{S}","u")),ye=hn(/\s/);function hn(n){return e;function e(t){return t!==null&&t>-1&&n.test(String.fromCharCode(t))}}function N(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return l;function l(p){return F(p)?(n.enter(t),a(p)):e(p)}function a(p){return F(p)&&u++<i?(n.consume(p),a):(n.exit(t),e(p))}}const be={tokenize:we};function we(n){const e=n.attempt(this.parser.constructs.contentInitial,r,i);let t;return e;function r(a){if(a===null){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),N(n,e,"linePrefix")}function i(a){return n.enter("paragraph"),u(a)}function u(a){const p=n.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=p),t=p,l(a)}function l(a){if(a===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(a);return}return I(a)?(n.consume(a),n.exit("chunkText"),u):(n.consume(a),l)}}const Se={tokenize:Ie},ct={tokenize:Ee};function Ie(n){const e=this,t=[];let r=0,i,u,l;return a;function a(b){if(r<t.length){const R=t[r];return e.containerState=R[1],n.attempt(R[0].continuation,p,s)(b)}return s(b)}function p(b){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&M();const R=e.events.length;let V=R,x;for(;V--;)if(e.events[V][0]==="exit"&&e.events[V][1].type==="chunkFlow"){x=e.events[V][1].end;break}y(r);let _=R;for(;_<e.events.length;)e.events[_][1].end={...x},_++;return rn(e.events,V+1,0,e.events.slice(R)),e.events.length=_,s(b)}return a(b)}function s(b){if(r===t.length){if(!i)return g(b);if(i.currentConstruct&&i.currentConstruct.concrete)return C(b);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},n.check(ct,f,m)(b)}function f(b){return i&&M(),y(r),g(b)}function m(b){return e.parser.lazy[e.now().line]=r!==t.length,l=e.now().offset,C(b)}function g(b){return e.containerState={},n.attempt(ct,h,C)(b)}function h(b){return r++,t.push([e.currentConstruct,e.containerState]),g(b)}function C(b){if(b===null){i&&M(),y(0),n.consume(b);return}return i=i||e.parser.flow(e.now()),n.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:u}),E(b)}function E(b){if(b===null){P(n.exit("chunkFlow"),!0),y(0),n.consume(b);return}return I(b)?(n.consume(b),P(n.exit("chunkFlow")),r=0,e.interrupt=void 0,a):(n.consume(b),E)}function P(b,R){const V=e.sliceStream(b);
vendor: 10,216 bytes, line 1
1if(R&&V.push(null),b.previous=u,u&&(u.next=b),u=b,i.defineSkip(b.start),i.write(V),e.parser.lazy[b.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;const _=e.events.length;let q=_,L,O;for(;q--;)if(e.events[q][0]==="exit"&&e.events[q][1].type==="chunkFlow"){if(L){O=e.events[q][1].end;break}L=!0}for(y(r),x=_;x<e.events.length;)e.events[x][1].end={...O},x++;rn(e.events,q+1,0,e.events.slice(_)),e.events.length=x}}function y(b){let R=t.length;for(;R-- >b;){const V=t[R];e.containerState=V[1],V[0].exit.call(e,n)}t.length=b}function M(){i.write([null]),u=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Ee(n,e,t){return N(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ht(n){if(n===null||Y(n)||ye(n))return 1;if(ke(n))return 2}function $n(n,e,t){const r=[];let i=-1;for(;++i<n.length;){const u=n[i].resolveAll;u&&!r.includes(u)&&(e=u(e,t),r.push(u))}return e}const Un={name:"attention",resolveAll:ze,tokenize:Ce};function ze(n,e){let t=-1,r,i,u,l,a,p,s,f;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(r=t;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&e.sliceSerialize(n[r][1]).charCodeAt(0)===e.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[r][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;p=n[r][1].end.offset-n[r][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const m={...n[r][1].end},g={...n[t][1].start};ft(m,-p),ft(g,p),l={type:p>1?"strongSequence":"emphasisSequence",start:m,end:{...n[r][1].end}},a={type:p>1?"strongSequence":"emphasisSequence",start:{...n[t][1].start},end:g},u={type:p>1?"strongText":"emphasisText",start:{...n[r][1].end},end:{...n[t][1].start}},i={type:p>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},n[r][1].end={...l.start},n[t][1].start={...a.end},s=[],n[r][1].end.offset-n[r][1].start.offset&&(s=G(s,[["enter",n[r][1],e],["exit",n[r][1],e]])),s=G(s,[["enter",i,e],["enter",l,e],["exit",l,e],["enter",u,e]]),s=G(s,$n(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),s=G(s,[["exit",u,e],["enter",a,e],["exit",a,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(f=2,s=G(s,[["enter",n[t][1],e],["exit",n[t][1],e]])):f=0,rn(n,r-1,t-r+3,s),t=r+s.length-f-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function Ce(n,e){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ht(r);let u;return l;function l(p){return u=p,n.enter("attentionSequence"),a(p)}function a(p){if(p===u)return n.consume(p),a;const s=n.exit("attentionSequence"),f=ht(p),m=!f||f===2&&i||t.includes(p),g=!i||i===2&&f||t.includes(r);return s._open=!!(u===42?m:m&&(i||!g)),s._close=!!(u===42?g:g&&(f||!m)),e(p)}}function ft(n,e){n.column+=e,n.offset+=e,n._bufferIndex+=e}const Te={name:"autolink",tokenize:Ae};function Ae(n,e,t){let r=0;return i;function i(h){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(h),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),u}function u(h){return en(h)?(n.consume(h),l):h===64?t(h):s(h)}function l(h){return h===43||h===45||h===46||nn(h)?(r=1,a(h)):s(h)}function a(h){return h===58?(n.consume(h),r=0,p):(h===43||h===45||h===46||nn(h))&&r++<32?(n.consume(h),a):(r=0,s(h))}function p(h){return h===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(h),n.exit("autolinkMarker"),n.exit("autolink"),e):h===null||h===32||h===60||jn(h)?t(h):(n.consume(h),p)}function s(h){return h===64?(n.consume(h),f):ge(h)?(n.consume(h),s):t(h)}function f(h){return nn(h)?m(h):t(h)}function m(h){return h===46?(n.consume(h),r=0,f):h===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(h),n.exit("autolinkMarker"),n.exit("autolink"),e):g(h)}function g(h){if((h===45||nn(h))&&r++<63){const C=h===45?g:m;return n.consume(h),C}return t(h)}}const An={partial:!0,tokenize:Fe};function Fe(n,e,t){return r;function r(u){return F(u)?N(n,i,"linePrefix")(u):i(u)}function i(u){return u===null||I(u)?e(u):t(u)}}const wt={continuation:{tokenize:Pe},exit:Le,name:"blockQuote",tokenize:_e};function _e(n,e,t){const r=this;return i;function i(l){if(l===62){const a=r.containerState;return a.open||(n.enter("blockQuote",{_container:!0}),a.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(l),n.exit("blockQuoteMarker"),u}return t(l)}function u(l){return F(l)?(n.enter("blockQuotePrefixWhitespace"),n.consume(l),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),e):(n.exit("blockQuotePrefix"),e(l))}}function Pe(n,e,t){const r=this;return i;function i(l){return F(l)?N(n,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):u(l)}function u(l){return n.attempt(wt,e,t)(l)}}function Le(n){n.exit("blockQuote")}const St={name:"characterEscape",tokenize:Be};function Be(n,e,t){return r;function r(u){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(u),n.exit("escapeMarker"),i}function i(u){return xe(u)?(n.enter("characterEscapeValue"),n.consume(u),n.exit("characterEscapeValue"),n.exit("characterEscape"),e):t(u)}}const It={name:"characterReference",tokenize:Me};function Me(n,e,t){const r=this;let i=0,u,l;return a;function a(m){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(m),n.exit("characterReferenceMarker"),p}function p(m){return m===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(m),n.exit("characterReferenceMarkerNumeric"),s):(n.enter("characterReferenceValue"),u=31,l=nn,f(m))}function s(m){return m===88||m===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(m),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),u=6,l=de,f):(n.enter("characterReferenceValue"),u=7,l=Qn,f(m))}function f(m){if(m===59&&i){const g=n.exit("characterReferenceValue");return l===nn&&!Yn(r.sliceSerialize(g))?t(m):(n.enter("characterReferenceMarker"),n.consume(m),n.exit("characterReferenceMarker"),n.exit("characterReference"),e)}return l(m)&&i++<u?(n.consume(m),f):t(m)}}const pt={partial:!0,tokenize:Oe},mt={concrete:!0,name:"codeFenced",tokenize:Ne};function Ne(n,e,t){const r=this,i={partial:!0,tokenize:V};let u=0,l=0,a;return p;function p(x){return s(x)}function s(x){const _=r.events[r.events.length-1];return u=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,a=x,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),f(x)}function f(x){return x===a?(l++,n.consume(x),f):l<3?t(x):(n.exit("codeFencedFenceSequence"),F(x)?N(n,m,"whitespace")(x):m(x))}function m(x){return x===null||I(x)?(n.exit("codeFencedFence"),r.interrupt?e(x):n.check(pt,E,R)(x)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===null||I(x)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),m(x)):F(x)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),N(n,h,"whitespace")(x)):x===96&&x===a?t(x):(n.consume(x),g)}function h(x){return x===null||I(x)?m(x):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),C(x))}function C(x){return x===null||I(x)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),m(x)):x===96&&x===a?t(x):(n.consume(x),C)}function E(x){return n.attempt(i,R,P)(x)}function P(x){return n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),y}function y(x){return u>0&&F(x)?N(n,M,"linePrefix",u+1)(x):M(x)}function M(x){return x===null||I(x)?n.check(pt,E,R)(x):(n.enter("codeFlowValue"),b(x))}function b(x){return x===null||I(x)?(n.exit("codeFlowValue"),M(x)):(n.consume(x),b)}function R(x){return n.exit("codeFenced"),e(x)}function V(x,_,q){let L=0;return O;function O(A){return x.enter("lineEnding"),x.consume(A),x.exit("lineEnding"),S}function S(A){return x.enter("codeFencedFence"),F(A)?N(x,w,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):w(A)}function w(A){return A===a?(x.enter("codeFencedFenceSequence"),D(A)):q(A)}function D(A){return A===a?(L++,x.consume(A),D):L>=l?(x.exit("codeFencedFenceSequence"),F(A)?N(x,H,"whitespace")(A):H(A)):q(A)}function H(A){return A===null||I(A)?(x.exit("codeFencedFence"),_(A)):q(A)}}}function Oe(n,e,t){const r=this;return i;function i(l){return l===null?t(l):(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),u)}function u(l){return r.parser.lazy[r.now().line]?t(l):e(l)}}const Rn={name:"codeIndented",tokenize:De},Re={partial:!0,tokenize:Ve};function De(n,e,t){const r=this;return i;function i(s){return n.enter("codeIndented"),N(n,u,"linePrefix",5)(s)}function u(s){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(s):t(s)}function l(s){return s===null?p(s):I(s)?n.attempt(Re,l,p)(s):(n.enter("codeFlowValue"),a(s))}function a(s){return s===null||I(s)?(n.exit("codeFlowValue"),l(s)):(n.consume(s),a)}function p(s){return n.exit("codeIndented"),e(s)}}function Ve(n,e,t){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?t(l):I(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),i):N(n,u,"linePrefix",5)(l)}function u(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(l):I(l)?i(l):t(l)}}const qe={name:"codeText",previous:je,resolve:He,tokenize:Qe};function He(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r<e;)if(n[r][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(r=t-1,e++;++r<=e;)i===void 0?r!==e&&n[r][1].type!=="lineEnding"&&(i=r):(r===e||n[r][1].type==="lineEnding")&&(n[i][1].type="codeTextData",r!==i+2&&(n[i][1].end=n[r-1][1].end,n.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return n}function je(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Qe(n,e,t){let r=0,i,u;return l;
vendor: 4,430 bytes, line 1
1function l(m){return n.enter("codeText"),n.enter("codeTextSequence"),a(m)}function a(m){return m===96?(n.consume(m),r++,a):(n.exit("codeTextSequence"),p(m))}function p(m){return m===null?t(m):m===32?(n.enter("space"),n.consume(m),n.exit("space"),p):m===96?(u=n.enter("codeTextSequence"),i=0,f(m)):I(m)?(n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),p):(n.enter("codeTextData"),s(m))}function s(m){return m===null||m===32||m===96||I(m)?(n.exit("codeTextData"),p(m)):(n.consume(m),s)}function f(m){return m===96?(n.consume(m),i++,f):i===r?(n.exit("codeTextSequence"),n.exit("codeText"),e(m)):(u.type="codeTextData",s(m))}}class Ue{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){const i=t||0;this.setCursor(Math.trunc(e));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&wn(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),wn(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),wn(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);wn(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);wn(this.left,t.reverse())}}}function wn(n,e){let t=0;if(e.length<1e4)n.push(...e);else for(;t<e.length;)n.push(...e.slice(t,t+1e4)),t+=1e4}function Et(n){const e={};let t=-1,r,i,u,l,a,p,s;const f=new Ue(n);for(;++t<f.length;){for(;t in e;)t=e[t];if(r=f.get(t),t&&r[1].type==="chunkFlow"&&f.get(t-1)[1].type==="listItemPrefix"&&(p=r[1]._tokenizer.events,u=0,u<p.length&&p[u][1].type==="lineEndingBlank"&&(u+=2),u<p.length&&p[u][1].type==="content"))for(;++u<p.length&&p[u][1].type!=="content";)p[u][1].type==="chunkText"&&(p[u][1]._isInFirstContentOfListItem=!0,u++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,We(f,t)),t=e[t],s=!0);else if(r[1]._container){for(u=t,i=void 0;u--;)if(l=f.get(u),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=u);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},a=f.slice(i,t),a.unshift(r),f.splice(i,t-i+1,a))}}return rn(n,0,Number.POSITIVE_INFINITY,f.slice(0)),!s}function We(n,e){const t=n.get(e)[1],r=n.get(e)[2];let i=e-1;const u=[];let l=t._tokenizer;l||(l=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,p=[],s={};let f,m,g=-1,h=t,C=0,E=0;const P=[E];for(;h;){for(;n.get(++i)[1]!==h;);u.push(i),h._tokenizer||(f=r.sliceStream(h),h.next||f.push(null),m&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),m=h,h=h.next}for(h=t;++g<a.length;)a[g][0]==="exit"&&a[g-1][0]==="enter"&&a[g][1].type===a[g-1][1].type&&a[g][1].start.line!==a[g][1].end.line&&(E=g+1,P.push(E),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):P.pop(),g=P.length;g--;){const y=a.slice(P[g],P[g+1]),M=u.pop();p.push([M,M+y.length-1]),n.splice(M,2,y)}for(p.reverse(),g=-1;++g<p.length;)s[C+p[g][0]]=C+p[g][1],C+=p[g][1]-p[g][0]-1;return s}const Ye={resolve:Ze,tokenize:Ge},$e={partial:!0,tokenize:Je};function Ze(n){return Et(n),n}function Ge(n,e){let t;return r;function r(a){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),i(a)}
vendor: 21,852 bytes, line 1
1function i(a){return a===null?u(a):I(a)?n.check($e,l,u)(a):(n.consume(a),i)}function u(a){return n.exit("chunkContent"),n.exit("content"),e(a)}function l(a){return n.consume(a),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function Je(n,e,t){const r=this;return i;function i(l){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),N(n,u,"linePrefix")}function u(l){if(l===null||I(l))return t(l);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(l):n.interrupt(r.parser.constructs.flow,t,e)(l)}}function zt(n,e,t,r,i,u,l,a,p){const s=p||Number.POSITIVE_INFINITY;let f=0;return m;function m(y){return y===60?(n.enter(r),n.enter(i),n.enter(u),n.consume(y),n.exit(u),g):y===null||y===32||y===41||jn(y)?t(y):(n.enter(r),n.enter(l),n.enter(a),n.enter("chunkString",{contentType:"string"}),E(y))}function g(y){return y===62?(n.enter(u),n.consume(y),n.exit(u),n.exit(i),n.exit(r),e):(n.enter(a),n.enter("chunkString",{contentType:"string"}),h(y))}function h(y){return y===62?(n.exit("chunkString"),n.exit(a),g(y)):y===null||y===60||I(y)?t(y):(n.consume(y),y===92?C:h)}function C(y){return y===60||y===62||y===92?(n.consume(y),h):h(y)}function E(y){return!f&&(y===null||y===41||Y(y))?(n.exit("chunkString"),n.exit(a),n.exit(l),n.exit(r),e(y)):f<s&&y===40?(n.consume(y),f++,E):y===41?(n.consume(y),f--,E):y===null||y===32||y===40||jn(y)?t(y):(n.consume(y),y===92?P:E)}function P(y){return y===40||y===41||y===92?(n.consume(y),E):E(y)}}function Ct(n,e,t,r,i,u){const l=this;let a=0,p;return s;function s(h){return n.enter(r),n.enter(i),n.consume(h),n.exit(i),n.enter(u),f}function f(h){return a>999||h===null||h===91||h===93&&!p||h===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?t(h):h===93?(n.exit(u),n.enter(i),n.consume(h),n.exit(i),n.exit(r),e):I(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),f):(n.enter("chunkString",{contentType:"string"}),m(h))}function m(h){return h===null||h===91||h===93||I(h)||a++>999?(n.exit("chunkString"),f(h)):(n.consume(h),p||(p=!F(h)),h===92?g:m)}function g(h){return h===91||h===92||h===93?(n.consume(h),a++,m):m(h)}}function Tt(n,e,t,r,i,u){let l;return a;function a(g){return g===34||g===39||g===40?(n.enter(r),n.enter(i),n.consume(g),n.exit(i),l=g===40?41:g,p):t(g)}function p(g){return g===l?(n.enter(i),n.consume(g),n.exit(i),n.exit(r),e):(n.enter(u),s(g))}function s(g){return g===l?(n.exit(u),p(l)):g===null?t(g):I(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),N(n,s,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===l||g===null||I(g)?(n.exit("chunkString"),s(g)):(n.consume(g),g===92?m:f)}function m(g){return g===l||g===92?(n.consume(g),f):f(g)}}function In(n,e){let t;return r;function r(i){return I(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):F(i)?N(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}const Ke={name:"definition",tokenize:ve},Xe={partial:!0,tokenize:nr};function ve(n,e,t){const r=this;let i;return u;function u(h){return n.enter("definition"),l(h)}function l(h){return Ct.call(r,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function a(h){return i=xn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(n.enter("definitionMarker"),n.consume(h),n.exit("definitionMarker"),p):t(h)}function p(h){return Y(h)?In(n,s)(h):s(h)}function s(h){return zt(n,f,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function f(h){return n.attempt(Xe,m,m)(h)}function m(h){return F(h)?N(n,g,"whitespace")(h):g(h)}function g(h){return h===null||I(h)?(n.exit("definition"),r.parser.defined.push(i),e(h)):t(h)}}function nr(n,e,t){return r;function r(a){return Y(a)?In(n,i)(a):t(a)}function i(a){return Tt(n,u,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function u(a){return F(a)?N(n,l,"whitespace")(a):l(a)}function l(a){return a===null||I(a)?e(a):t(a)}}const tr={name:"hardBreakEscape",tokenize:er};function er(n,e,t){return r;function r(u){return n.enter("hardBreakEscape"),n.consume(u),i}function i(u){return I(u)?(n.exit("hardBreakEscape"),e(u)):t(u)}}const rr={name:"headingAtx",resolve:ir,tokenize:ur};function ir(n,e){let t=n.length-2,r=3,i,u;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},u={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},rn(n,r,t-r+1,[["enter",i,e],["enter",u,e],["exit",u,e],["exit",i,e]])),n}function ur(n,e,t){let r=0;return i;function i(f){return n.enter("atxHeading"),u(f)}function u(f){return n.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(n.consume(f),l):f===null||Y(f)?(n.exit("atxHeadingSequence"),a(f)):t(f)}function a(f){return f===35?(n.enter("atxHeadingSequence"),p(f)):f===null||I(f)?(n.exit("atxHeading"),e(f)):F(f)?N(n,a,"whitespace")(f):(n.enter("atxHeadingText"),s(f))}function p(f){return f===35?(n.consume(f),p):(n.exit("atxHeadingSequence"),a(f))}function s(f){return f===null||f===35||Y(f)?(n.exit("atxHeadingText"),a(f)):(n.consume(f),s)}}const lr=["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"],gt=["pre","script","style","textarea"],ar={concrete:!0,name:"htmlFlow",resolveTo:cr,tokenize:hr},sr={partial:!0,tokenize:pr},or={partial:!0,tokenize:fr};function cr(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function hr(n,e,t){const r=this;let i,u,l,a,p;return s;function s(c){return f(c)}function f(c){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(c),m}function m(c){return c===33?(n.consume(c),g):c===47?(n.consume(c),u=!0,E):c===63?(n.consume(c),i=3,r.interrupt?e:o):en(c)?(n.consume(c),l=String.fromCharCode(c),P):t(c)}function g(c){return c===45?(n.consume(c),i=2,h):c===91?(n.consume(c),i=5,a=0,C):en(c)?(n.consume(c),i=4,r.interrupt?e:o):t(c)}function h(c){return c===45?(n.consume(c),r.interrupt?e:o):t(c)}function C(c){const X="CDATA[";return c===X.charCodeAt(a++)?(n.consume(c),a===X.length?r.interrupt?e:w:C):t(c)}function E(c){return en(c)?(n.consume(c),l=String.fromCharCode(c),P):t(c)}function P(c){if(c===null||c===47||c===62||Y(c)){const X=c===47,fn=l.toLowerCase();return!X&&!u&&gt.includes(fn)?(i=1,r.interrupt?e(c):w(c)):lr.includes(l.toLowerCase())?(i=6,X?(n.consume(c),y):r.interrupt?e(c):w(c)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(c):u?M(c):b(c))}return c===45||nn(c)?(n.consume(c),l+=String.fromCharCode(c),P):t(c)}function y(c){return c===62?(n.consume(c),r.interrupt?e:w):t(c)}function M(c){return F(c)?(n.consume(c),M):O(c)}function b(c){return c===47?(n.consume(c),O):c===58||c===95||en(c)?(n.consume(c),R):F(c)?(n.consume(c),b):O(c)}function R(c){return c===45||c===46||c===58||c===95||nn(c)?(n.consume(c),R):V(c)}function V(c){return c===61?(n.consume(c),x):F(c)?(n.consume(c),V):b(c)}function x(c){return c===null||c===60||c===61||c===62||c===96?t(c):c===34||c===39?(n.consume(c),p=c,_):F(c)?(n.consume(c),x):q(c)}function _(c){return c===p?(n.consume(c),p=null,L):c===null||I(c)?t(c):(n.consume(c),_)}function q(c){return c===null||c===34||c===39||c===47||c===60||c===61||c===62||c===96||Y(c)?V(c):(n.consume(c),q)}function L(c){return c===47||c===62||F(c)?b(c):t(c)}function O(c){return c===62?(n.consume(c),S):t(c)}function S(c){return c===null||I(c)?w(c):F(c)?(n.consume(c),S):t(c)}function w(c){return c===45&&i===2?(n.consume(c),U):c===60&&i===1?(n.consume(c),j):c===62&&i===4?(n.consume(c),K):c===63&&i===3?(n.consume(c),o):c===93&&i===5?(n.consume(c),un):I(c)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(sr,ln,D)(c)):c===null||I(c)?(n.exit("htmlFlowData"),D(c)):(n.consume(c),w)}function D(c){return n.check(or,H,ln)(c)}function H(c){return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),A}function A(c){return c===null||I(c)?D(c):(n.enter("htmlFlowData"),w(c))}function U(c){return c===45?(n.consume(c),o):w(c)}function j(c){return c===47?(n.consume(c),l="",J):w(c)}function J(c){if(c===62){const X=l.toLowerCase();return gt.includes(X)?(n.consume(c),K):w(c)}return en(c)&&l.length<8?(n.consume(c),l+=String.fromCharCode(c),J):w(c)}function un(c){return c===93?(n.consume(c),o):w(c)}function o(c){return c===62?(n.consume(c),K):c===45&&i===2?(n.consume(c),o):w(c)}function K(c){return c===null||I(c)?(n.exit("htmlFlowData"),ln(c)):(n.consume(c),K)}function ln(c){return n.exit("htmlFlow"),e(c)}}function fr(n,e,t){const r=this;return i;function i(l){return I(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),u):t(l)}function u(l){return r.parser.lazy[r.now().line]?t(l):e(l)}}function pr(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(An,e,t)}}const mr={name:"htmlText",tokenize:gr};function gr(n,e,t){const r=this;let i,u,l;return a;function a(o){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(o),p}function p(o){return o===33?(n.consume(o),s):o===47?(n.consume(o),V):o===63?(n.consume(o),b):en(o)?(n.consume(o),q):t(o)}function s(o){return o===45?(n.consume(o),f):o===91?(n.consume(o),u=0,C):en(o)?(n.consume(o),M):t(o)}function f(o){return o===45?(n.consume(o),h):t(o)}function m(o){return o===null?t(o):o===45?(n.consume(o),g):I(o)?(l=m,j(o)):(n.consume(o),m)}function g(o){return o===45?(n.consume(o),h):m(o)}function h(o){return o===62?U(o):o===45?g(o):m(o)}function C(o){const K="CDATA[";return o===K.charCodeAt(u++)?(n.consume(o),u===K.length?E:C):t(o)}function E(o){return o===null?t(o):o===93?(n.consume(o),P):I(o)?(l=E,j(o)):(n.consume(o),E)}function P(o){return o===93?(n.consume(o),y):E(o)}function y(o){return o===62?U(o):o===93?(n.consume(o),y):E(o)}function M(o){return o===null||o===62?U(o):I(o)?(l=M,j(o)):(n.consume(o),M)}function b(o){return o===null?t(o):o===63?(n.consume(o),R):I(o)?(l=b,j(o)):(n.consume(o),b)}function R(o){return o===62?U(o):b(o)}function V(o){return en(o)?(n.consume(o),x):t(o)}function x(o){return o===45||nn(o)?(n.consume(o),x):_(o)}function _(o){return I(o)?(l=_,j(o)):F(o)?(n.consume(o),_):U(o)}function q(o){return o===45||nn(o)?(n.consume(o),q):o===47||o===62||Y(o)?L(o):t(o)}function L(o){return o===47?(n.consume(o),U):o===58||o===95||en(o)?(n.consume(o),O):I(o)?(l=L,j(o)):F(o)?(n.consume(o),L):U(o)}function O(o){return o===45||o===46||o===58||o===95||nn(o)?(n.consume(o),O):S(o)}function S(o){return o===61?(n.consume(o),w):I(o)?(l=S,j(o)):F(o)?(n.consume(o),S):L(o)}function w(o){return o===null||o===60||o===61||o===62||o===96?t(o):o===34||o===39?(n.consume(o),i=o,D):I(o)?(l=w,j(o)):F(o)?(n.consume(o),w):(n.consume(o),H)}function D(o){return o===i?(n.consume(o),i=void 0,A):o===null?t(o):I(o)?(l=D,j(o)):(n.consume(o),D)}function H(o){return o===null||o===34||o===39||o===60||o===61||o===96?t(o):o===47||o===62||Y(o)?L(o):(n.consume(o),H)}function A(o){return o===47||o===62||Y(o)?L(o):t(o)}function U(o){return o===62?(n.consume(o),n.exit("htmlTextData"),n.exit("htmlText"),e):t(o)}function j(o){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),J}function J(o){return F(o)?N(n,un,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):un(o)}function un(o){return n.enter("htmlTextData"),l(o)}}const Zn={name:"labelEnd",resolveAll:yr,resolveTo:br,tokenize:wr},dr={tokenize:Sr},xr={tokenize:Ir},kr={tokenize:Er};function yr(n){let e=-1;const t=[];for(;++e<n.length;){const r=n[e][1];if(t.push(n[e]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",e+=i}}return n.length!==t.length&&rn(n,0,n.length,t),n}function br(n,e){let t=n.length,r=0,i,u,l,a;for(;t--;)if(i=n[t][1],u){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;n[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(n[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(u=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=t);const p={type:n[u][1].type==="labelLink"?"link":"image",start:{...n[u][1].start},end:{...n[n.length-1][1].end}},s={type:"label",start:{...n[u][1].start},end:{...n[l][1].end}},f={type:"labelText",start:{...n[u+r+2][1].end},end:{...n[l-2][1].start}};return a=[["enter",p,e],["enter",s,e]],a=G(a,n.slice(u+1,u+r+3)),a=G(a,[["enter",f,e]]),a=G(a,$n(e.parser.constructs.insideSpan.null,n.slice(u+r+4,l-3),e)),a=G(a,[["exit",f,e],n[l-2],n[l-1],["exit",s,e]]),a=G(a,n.slice(l+1)),a=G(a,[["exit",p,e]]),rn(n,u,n.length,a),n}function wr(n,e,t){const r=this;let i=r.events.length,u,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){u=r.events[i][1];break}return a;function a(g){return u?u._inactive?m(g):(l=r.parser.defined.includes(xn(r.sliceSerialize({start:u.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(g),n.exit("labelMarker"),n.exit("labelEnd"),p):t(g)}function p(g){return g===40?n.attempt(dr,f,l?f:m)(g):g===91?n.attempt(xr,f,l?s:m)(g):l?f(g):m(g)}function s(g){return n.attempt(kr,f,m)(g)}function f(g){return e(g)}function m(g){return u._balanced=!0,t(g)}}function Sr(n,e,t){return r;function r(m){return n.enter("resource"),n.enter("resourceMarker"),n.consume(m),n.exit("resourceMarker"),i}function i(m){return Y(m)?In(n,u)(m):u(m)}function u(m){return m===41?f(m):zt(n,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function l(m){return Y(m)?In(n,p)(m):f(m)}function a(m){return t(m)}function p(m){return m===34||m===39||m===40?Tt(n,s,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):f(m)}function s(m){return Y(m)?In(n,f)(m):f(m)}function f(m){return m===41?(n.enter("resourceMarker"),n.consume(m),n.exit("resourceMarker"),n.exit("resource"),e):t(m)}}function Ir(n,e,t){const r=this;return i;function i(a){return Ct.call(r,n,u,l,"reference","referenceMarker","referenceString")(a)}function u(a){return r.parser.defined.includes(xn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(a):t(a)}function l(a){return t(a)}}function Er(n,e,t){return r;function r(u){return n.enter("reference"),n.enter("referenceMarker"),n.consume(u),n.exit("referenceMarker"),i}function i(u){return u===93?(n.enter("referenceMarker"),n.consume(u),n.exit("referenceMarker"),n.exit("reference"),e):t(u)}}const zr={name:"labelStartImage",resolveAll:Zn.resolveAll,tokenize:Cr};function Cr(n,e,t){const r=this;return i;function i(a){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(a),n.exit("labelImageMarker"),u}function u(a){return a===91?(n.enter("labelMarker"),n.consume(a),n.exit("labelMarker"),n.exit("labelImage"),l):t(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):e(a)}}const Tr={name:"labelStartLink",resolveAll:Zn.resolveAll,tokenize:Ar};function Ar(n,e,t){const r=this;return i;function i(l){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(l),n.exit("labelMarker"),n.exit("labelLink"),u}function u(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(l):e(l)}}const Dn={name:"lineEnding",tokenize:Fr};function Fr(n,e){return t;function t(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),N(n,e,"linePrefix")}}const Tn={name:"thematicBreak",tokenize:_r};function _r(n,e,t){let r=0,i;return u;function u(s){return n.enter("thematicBreak"),l(s)}function l(s){return i=s,a(s)}function a(s){return s===i?(n.enter("thematicBreakSequence"),p(s)):r>=3&&(s===null||I(s))?(n.exit("thematicBreak"),e(s)):t(s)}function p(s){return s===i?(n.consume(s),r++,p):(n.exit("thematicBreakSequence"),F(s)?N(n,a,"whitespace")(s):a(s))}}const W={continuation:{tokenize:Mr},exit:Or,name:"list",tokenize:Br},Pr={partial:!0,tokenize:Rr},Lr={partial:!0,tokenize:Nr};function Br(n,e,t){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(h){const C=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:Qn(h)){if(r.containerState.type||(r.containerState.type=C,n.enter(C,{_container:!0})),C==="listUnordered")return n.enter("listItemPrefix"),h===42||h===45?n.check(Tn,t,s)(h):s(h);if(!r.interrupt||h===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),p(h)}return t(h)}function p(h){return Qn(h)&&++l<10?(n.consume(h),p):(!r.interrupt||l<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(n.exit("listItemValue"),s(h)):t(h)}function s(h){return n.enter("listItemMarker"),n.consume(h),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,n.check(An,r.interrupt?t:f,n.attempt(Pr,g,m))}function f(h){return r.containerState.initialBlankLine=!0,u++,g(h)}function m(h){return F(h)?(n.enter("listItemPrefixWhitespace"),n.consume(h),n.exit("listItemPrefixWhitespace"),g):t(h)}function g(h){return r.containerState.size=u+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(h)}}function Mr(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(An,i,u);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,N(n,e,"listItemIndent",r.containerState.size+1)(a)}function u(a){return r.containerState.furtherBlankLines||!F(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(Lr,e,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,N(n,n.attempt(W,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Nr(n,e,t){const r=this;return N(n,i,"listItemIndent",r.containerState.size+1);function i(u){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?e(u):t(u)}}function Or(n){n.exit(this.containerState.type)}function Rr(n,e,t){const r=this;return N(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const l=r.events[r.events.length-1];return!F(u)&&l&&l[1].type==="listItemPrefixWhitespace"?e(u):t(u)}}const dt={name:"setextUnderline",resolveTo:Dr,tokenize:Vr};function Dr(n,e){let t=n.length,r,i,u;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!u&&n[t][1].type==="definition"&&(u=t);const l={type:"setextHeading",start:{...n[r][1].start},end:{...n[n.length-1][1].end}};return n[i][1].type="setextHeadingText",u?(n.splice(i,0,["enter",l,e]),n.splice(u+1,0,["exit",n[r][1],e]),n[r][1].end={...n[u][1].end}):n[r][1]=l,n.push(["exit",l,e]),n}function Vr(n,e,t){const r=this;let i;return u;function u(s){let f=r.events.length,m;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){m=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(n.enter("setextHeadingLine"),i=s,l(s)):t(s)}function l(s){return n.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===i?(n.consume(s),a):(n.exit("setextHeadingLineSequence"),F(s)?N(n,p,"lineSuffix")(s):p(s))}function p(s){return s===null||I(s)?(n.exit("setextHeadingLine"),e(s)):t(s)}}const qr={tokenize:Hr};function Hr(n){const e=this,t=n.attempt(An,r,n.attempt(this.parser.constructs.flowInitial,i,N(n,n.attempt(this.parser.constructs.flow,i,n.attempt(Ye,i)),"linePrefix")));return t;function r(u){if(u===null){n.consume(u);return}return n.enter("lineEndingBlank"),n.consume(u),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(u){if(u===null){n.consume(u);return}return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const jr={resolveAll:Ft()},Qr=At("string"),Ur=At("text");function At(n){return{resolveAll:Ft(n==="text"?Wr:void 0),tokenize:e};function e(t){const r=this,i=this.parser.constructs[n],u=t.attempt(i,l,a);return l;function l(f){return s(f)?u(f):a(f)}function a(f){if(f===null){t.consume(f);return}return t.enter("data"),t.consume(f),p}function p(f){return s(f)?(t.exit("data"),u(f)):(t.consume(f),p)}function s(f){if(f===null)return!0;const m=i[f];let g=-1;if(m)for(;++g<m.length;){const h=m[g];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function Ft(n){return e;function e(t,r){let i=-1,u;for(;++i<=t.length;)u===void 0?t[i]&&t[i][1].type==="data"&&(u=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==u+2&&(t[u][1].end=t[i-1][1].end,t.splice(u+2,i-u-2),i=u+2),u=void 0);return n?n(t,r):t}}function Wr(n,e){let t=0;for(;++t<=n.length;)if((t===n.length||n[t][1].type==="lineEnding")&&n[t-1][1].type==="data"){const r=n[t-1][1],i=e.sliceStream(r);let u=i.length,l=-1,a=0,p;for(;u--;){const s=i[u];if(typeof s=="string"){for(l=s.length;
vendor: 3,092 bytes, line 1
1s.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(s===-2)p=!0,a++;else if(s!==-1){u++;break}}if(e._contentTypeTextTrailing&&t===n.length&&(a=0),a){const s={type:t===n.length||p||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?l:r.start._bufferIndex+l,_index:r.start._index+u,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(n.splice(t,0,["enter",s,e],["exit",s,e]),t+=2)}t++}return n}const Yr={42:W,43:W,45:W,48:W,49:W,50:W,51:W,52:W,53:W,54:W,55:W,56:W,57:W,62:wt},$r={91:Ke},Zr={[-2]:Rn,[-1]:Rn,32:Rn},Gr={35:rr,42:Tn,45:[dt,Tn],60:ar,61:dt,95:Tn,96:mt,126:mt},Jr={38:It,92:St},Kr={[-5]:Dn,[-4]:Dn,[-3]:Dn,33:zr,38:It,42:Un,60:[Te,mr],91:Tr,92:[tr,St],93:Zn,95:Un,96:qe},Xr={null:[Un,jr]},vr={null:[42,95]},ni={null:[]},ti=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:vr,contentInitial:$r,disable:ni,document:Yr,flow:Gr,flowInitial:Zr,insideSpan:Xr,string:Jr,text:Kr},Symbol.toStringTag,{value:"Module"}));function ei(n,e,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},u=[];let l=[],a=[];const p={attempt:_(V),check:_(x),consume:M,enter:b,exit:R,interrupt:_(x,{interrupt:!0})},s={code:null,containerState:{},defineSkip:E,events:[],now:C,parser:n,previous:null,sliceSerialize:g,sliceStream:h,write:m};let f=e.tokenize.call(s,p);return e.resolveAll&&u.push(e),s;function m(S){return l=G(l,S),P(),l[l.length-1]!==null?[]:(q(e,0),s.events=$n(u,s.events,s),s.events)}function g(S,w){return ii(h(S),w)}function h(S){return ri(l,S)}function C(){const{_bufferIndex:S,_index:w,line:D,column:H,offset:A}=r;return{_bufferIndex:S,_index:w,line:D,column:H,offset:A}}function E(S){i[S.line]=S.column,O()}function P(){let S;for(;r._index<l.length;){const w=l[r._index];if(typeof w=="string")for(S=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===S&&r._bufferIndex<w.length;)y(w.charCodeAt(r._bufferIndex));else y(w)}}function y(S){f=f(S)}function M(S){I(S)?(r.line++,r.column=1,r.offset+=S===-3?2:1,O()):S!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=S}function b(S,w){const D=w||{};return D.type=S,D.start=C(),s.events.push(["enter",D,s]),a.push(D),D}function R(S){const w=a.pop();return w.end=C(),s.events.push(["exit",w,s]),w}function V(S,w){q(S,w.from)}function x(S,w){w.restore()}function _(S,w){return D;function D(H,A,U){let j,J,un,o;return Array.isArray(H)?ln(H):"tokenize"in H?ln([H]):K(H);function K(Q){return kn;function kn(on){const mn=on!==null&&Q[on],gn=on!==null&&Q.null,zn=[...Array.isArray(mn)?mn:mn?[mn]:[],...Array.isArray(gn)?gn:gn?[gn]:[]];return ln(zn)(on)}}function ln(Q){return j=Q,J=0,Q.length===0?U:c(Q[J])}function c(Q){return kn;function kn(on){return o=L(),un=Q,Q.partial||(s.currentConstruct=Q),Q.name&&s.parser.constructs.disable.null.includes(Q.name)?fn():Q.tokenize.call(w?Object.assign(Object.create(s),w):s,p,X,fn)(on)}}function X(Q){return S(un,o),A}
vendor: 12,977 bytes, lines 1-3
1function fn(Q){return o.restore(),++J<j.length?c(j[J]):U}}}function q(S,w){S.resolveAll&&!u.includes(S)&&u.push(S),S.resolve&&rn(s.events,w,s.events.length-w,S.resolve(s.events.slice(w),s)),S.resolveTo&&(s.events=S.resolveTo(s.events,s))}function L(){const S=C(),w=s.previous,D=s.currentConstruct,H=s.events.length,A=Array.from(a);return{from:H,restore:U};function U(){r=S,s.previous=w,s.currentConstruct=D,s.events.length=H,a=A,O()}}function O(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function ri(n,e){const t=e.start._index,r=e.start._bufferIndex,i=e.end._index,u=e.end._bufferIndex;let l;if(t===i)l=[n[t].slice(r,u)];else{if(l=n.slice(t,i),r>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}u>0&&l.push(n[i].slice(0,u))}return l}function ii(n,e){let t=-1;const r=[];let i;for(;++t<n.length;){const u=n[t];let l;if(typeof u=="string")l=u;else switch(u){case-5:{l="\r";break}case-4:{l=`
2`;break}case-3:{l=`\r
3`;break}case-2:{l=e?" ":"	";break}case-1:{if(!e&&i)continue;l=" ";break}default:l=String.fromCharCode(u)}i=u===-2,r.push(l)}return r.join("")}function ui(n){const r={constructs:fe([ti,...(n||{}).extensions||[]]),content:i(be),defined:[],document:i(Se),flow:i(qr),lazy:{},string:i(Qr),text:i(Ur)};return r;function i(u){return l;function l(a){return ei(r,u,a)}}}function li(n){for(;!Et(n););return n}const xt=/[\0\t\n\r]/g;function ai(){let n=1,e="",t=!0,r;return i;function i(u,l,a){const p=[];let s,f,m,g,h;for(u=e+(typeof u=="string"?u.toString():new TextDecoder(l||void 0).decode(u)),m=0,e="",t&&(u.charCodeAt(0)===65279&&m++,t=void 0);m<u.length;){if(xt.lastIndex=m,s=xt.exec(u),g=s&&s.index!==void 0?s.index:u.length,h=u.charCodeAt(g),!s){e=u.slice(m);break}if(h===10&&m===g&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),m<g&&(p.push(u.slice(m,g)),n+=g-m),h){case 0:{p.push(65533),n++;break}case 9:{for(f=Math.ceil(n/4)*4,p.push(-2);n++<f;)p.push(-1);break}case 10:{p.push(-4),n=1;break}default:r=!0,n=1}m=g+1}return a&&(r&&p.push(-5),e&&p.push(e),p.push(null)),p}}const si=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function oi(n){return n.replace(si,ci)}function ci(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),u=i===120||i===88;return bt(t.slice(u?2:1),u?16:10)}return Yn(t)||n}const _t={}.hasOwnProperty;function hi(n,e,t){return e&&typeof e=="object"&&(t=e,e=void 0),fi(t)(li(ui(t).document().write(ai()(n,e,!0))))}function fi(n){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Xn),autolinkProtocol:L,autolinkEmail:L,atxHeading:u(Gn),blockQuote:u(gn),characterEscape:L,characterReference:L,codeFenced:u(zn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(zn,l),codeText:u(Lt,l),codeTextData:L,data:L,codeFlowValue:L,definition:u(Bt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(Mt),hardBreakEscape:u(Jn),hardBreakTrailing:u(Jn),htmlFlow:u(Kn,l),htmlFlowData:L,htmlText:u(Kn,l),htmlTextData:L,image:u(Nt),label:l,link:u(Xn),listItem:u(Ot),listItemValue:g,listOrdered:u(vn,m),listUnordered:u(vn),paragraph:u(Rt),reference:c,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(Gn),strong:u(Dt),thematicBreak:u(qt)},exit:{atxHeading:p(),atxHeadingSequence:V,autolink:p(),autolinkEmail:mn,autolinkProtocol:on,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:fn,characterReferenceMarkerNumeric:fn,characterReferenceValue:Q,characterReference:kn,codeFenced:p(P),codeFencedFence:E,codeFencedFenceInfo:h,codeFencedFenceMeta:C,codeFlowValue:O,codeIndented:p(y),codeText:p(A),codeTextData:O,data:O,definition:p(),definitionDestinationString:R,definitionLabelString:M,definitionTitleString:b,emphasis:p(),hardBreakEscape:p(w),hardBreakTrailing:p(w),htmlFlow:p(D),htmlFlowData:O,htmlText:p(H),htmlTextData:O,image:p(j),label:un,labelText:J,lineEnding:S,link:p(U),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:X,resourceDestinationString:o,resourceTitleString:K,resource:ln,setextHeading:p(q),setextHeadingLineSequence:_,setextHeadingText:x,strong:p(),thematicBreak:p()}};Pt(e,(n||{}).mdastExtensions||[]);const t={};return r;function r(d){let k={type:"root",children:[]};const z={stack:[k],tokenStack:[],config:e,enter:a,exit:s,buffer:l,resume:f,data:t},T=[];let B=-1;for(;++B<d.length;)if(d[B][1].type==="listOrdered"||d[B][1].type==="listUnordered")if(d[B][0]==="enter")T.push(B);else{const v=T.pop();B=i(d,v,B)}for(B=-1;++B<d.length;){const v=e[d[B][0]];_t.call(v,d[B][1].type)&&v[d[B][1].type].call(Object.assign({sliceSerialize:d[B][2].sliceSerialize},z),d[B][1])}if(z.tokenStack.length>0){const v=z.tokenStack[z.tokenStack.length-1];(v[1]||kt).call(z,void 0,v[0])}for(k.position={start:cn(d.length>0?d[0][1].start:{line:1,column:1,offset:0}),end:cn(d.length>0?d[d.length-2][1].end:{line:1,column:1,offset:0})},B=-1;++B<e.transforms.length;)k=e.transforms[B](k)||k;return k}function i(d,k,z){let T=k-1,B=-1,v=!1,pn,an,yn,bn;for(;++T<=z;){const Z=d[T];switch(Z[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Z[0]==="enter"?B++:B--,bn=void 0;break}case"lineEndingBlank":{Z[0]==="enter"&&(pn&&!bn&&!B&&!yn&&(yn=T),bn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:bn=void 0}if(!B&&Z[0]==="enter"&&Z[1].type==="listItemPrefix"||B===-1&&Z[0]==="exit"&&(Z[1].type==="listUnordered"||Z[1].type==="listOrdered")){if(pn){let dn=T;for(an=void 0;dn--;){const sn=d[dn];if(sn[1].type==="lineEnding"||sn[1].type==="lineEndingBlank"){if(sn[0]==="exit")continue;an&&(d[an][1].type="lineEndingBlank",v=!0),sn[1].type="lineEnding",an=dn}else if(!(sn[1].type==="linePrefix"||sn[1].type==="blockQuotePrefix"||sn[1].type==="blockQuotePrefixWhitespace"||sn[1].type==="blockQuoteMarker"||sn[1].type==="listItemIndent"))break}yn&&(!an||yn<an)&&(pn._spread=!0),pn.end=Object.assign({},an?d[an][1].start:Z[1].end),d.splice(an||T,0,["exit",pn,Z[2]]),T++,z++}if(Z[1].type==="listItemPrefix"){const dn={type:"listItem",_spread:!1,start:Object.assign({},Z[1].start),end:void 0};pn=dn,d.splice(T,0,["enter",dn,Z[2]]),T++,z++,yn=void 0,bn=!0}}}return d[k][1]._spread=v,z}function u(d,k){return z;function z(T){a.call(this,d(T),T),k&&k.call(this,T)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(d,k,z){this.stack[this.stack.length-1].children.push(d),this.stack.push(d),this.tokenStack.push([k,z||void 0]),d.position={start:cn(k.start),end:void 0}}function p(d){return k;function k(z){d&&d.call(this,z),s.call(this,z)}}function s(d,k){const z=this.stack.pop(),T=this.tokenStack.pop();if(T)T[0].type!==d.type&&(k?k.call(this,d,T[0]):(T[1]||kt).call(this,d,T[0]));else throw new Error("Cannot close `"+d.type+"` ("+Sn({start:d.start,end:d.end})+"): it’s not open");z.position.end=cn(d.end)}function f(){return ce(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function g(d){if(this.data.expectingFirstListItemValue){const k=this.stack[this.stack.length-2];k.start=Number.parseInt(this.sliceSerialize(d),10),this.data.expectingFirstListItemValue=void 0}}function h(){const d=this.resume(),k=this.stack[this.stack.length-1];k.lang=d}function C(){const d=this.resume(),k=this.stack[this.stack.length-1];k.meta=d}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function P(){const d=this.resume(),k=this.stack[this.stack.length-1];k.value=d.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const d=this.resume(),k=this.stack[this.stack.length-1];k.value=d.replace(/(\r?\n|\r)$/g,"")}function M(d){const k=this.resume(),z=this.stack[this.stack.length-1];z.label=k,z.identifier=xn(this.sliceSerialize(d)).toLowerCase()}function b(){const d=this.resume(),k=this.stack[this.stack.length-1];k.title=d}function R(){const d=this.resume(),k=this.stack[this.stack.length-1];k.url=d}function V(d){const k=this.stack[this.stack.length-1];if(!k.depth){const z=this.sliceSerialize(d).length;k.depth=z}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function _(d){const k=this.stack[this.stack.length-1];k.depth=this.sliceSerialize(d).codePointAt(0)===61?1:2}function q(){this.data.setextHeadingSlurpLineEnding=void 0}function L(d){const z=this.stack[this.stack.length-1].children;let T=z[z.length-1];(!T||T.type!=="text")&&(T=Vt(),T.position={start:cn(d.start),end:void 0},z.push(T)),this.stack.push(T)}function O(d){const k=this.stack.pop();k.value+=this.sliceSerialize(d),k.position.end=cn(d.end)}function S(d){const k=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=k.children[k.children.length-1];z.position.end=cn(d.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(k.type)&&(L.call(this,d),O.call(this,d))}function w(){this.data.atHardBreak=!0}function D(){const d=this.resume(),k=this.stack[this.stack.length-1];k.value=d}function H(){const d=this.resume(),k=this.stack[this.stack.length-1];k.value=d}function A(){const d=this.resume(),k=this.stack[this.stack.length-1];k.value=d}function U(){const d=this.stack[this.stack.length-1];if(this.data.inReference){const k=this.data.referenceType||"shortcut";d.type+="Reference",d.referenceType=k,delete d.url,delete d.title}else delete d.identifier,delete d.label;this.data.referenceType=void 0}function j(){const d=this.stack[this.stack.length-1];if(this.data.inReference){const k=this.data.referenceType||"shortcut";d.type+="Reference",d.referenceType=k,delete d.url,delete d.title}else delete d.identifier,delete d.label;this.data.referenceType=void 0}function J(d){const k=this.sliceSerialize(d),z=this.stack[this.stack.length-2];z.label=oi(k),z.identifier=xn(k).toLowerCase()}function un(){const d=this.stack[this.stack.length-1],k=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const T=d.children;z.children=T}else z.alt=k}function o(){const d=this.resume(),k=this.stack[this.stack.length-1];k.url=d}function K(){const d=this.resume(),k=this.stack[this.stack.length-1];k.title=d}function ln(){this.data.inReference=void 0}function c(){this.data.referenceType="collapsed"}function X(d){const k=this.resume(),z=this.stack[this.stack.length-1];z.label=k,z.identifier=xn(this.sliceSerialize(d)).toLowerCase(),this.data.referenceType="full"}function fn(d){this.data.characterReferenceType=d.type}function Q(d){const k=this.sliceSerialize(d),z=this.data.characterReferenceType;let T;z?(T=bt(k,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):T=Yn(k);const B=this.stack[this.stack.length-1];B.value+=T}function kn(d){const k=this.stack.pop();k.position.end=cn(d.end)}function on(d){O.call(this,d);const k=this.stack[this.stack.length-1];k.url=this.sliceSerialize(d)}function mn(d){O.call(this,d);const k=this.stack[this.stack.length-1];k.url="mailto:"+this.sliceSerialize(d)}function gn(){return{type:"blockquote",children:[]}}function zn(){return{type:"code",lang:null,meta:null,value:""}}function Lt(){return{type:"inlineCode",value:""}}function Bt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Mt(){return{type:"emphasis",children:[]}}function Gn(){return{type:"heading",depth:0,children:[]}}function Jn(){return{type:"break"}}function Kn(){return{type:"html",value:""}}function Nt(){return{type:"image",title:null,url:"",alt:null}}function Xn(){return{type:"link",title:null,url:"",children:[]}}function vn(d){return{type:"list",ordered:d.type==="listOrdered",start:null,spread:d._spread,children:[]}}function Ot(d){return{type:"listItem",spread:d._spread,checked:null,children:[]}}function Rt(){return{type:"paragraph",children:[]}}function Dt(){return{type:"strong",children:[]}}function Vt(){return{type:"text",value:""}}function qt(){return{type:"thematicBreak"}}}function cn(n){return{line:n.line,column:n.column,offset:n.offset}}function Pt(n,e){let t=-1;for(;++t<e.length;){const r=e[t];Array.isArray(r)?Pt(n,r):pi(n,r)}}function pi(n,e){let t;for(t in e)if(_t.call(e,t))switch(t){case"canContainEols":{const r=e[t];r&&n[t].push(...r);break}case"transforms":{const r=e[t];r&&n[t].push(...r);break}case"enter":case"exit":{const r=e[t];r&&Object.assign(n[t],r);break}}}function kt(n,e){throw n?new Error("Cannot close `"+n.type+"` ("+Sn({start:n.start,end:n.end})+"): a different token (`"+e.type+"`, "+Sn({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Sn({start:e.start,end:e.end})+") is still open")}function di(n){const e=this;e.parser=t;function t(r){return hi(r,{...e.data("settings"),...n,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}export{$ as V,nn as a,ee as b,ye as c,ke as d,ht as e,en as f,jn as g,An as h,N as i,$n as j,I as k,F as l,Y as m,xn as n,fe as o,di as r,rn as s,ce as t,gi as u};

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.