import{d as mr}from"./index-BagLllOy.js";import{j as rt}from"./ui-vendor-8uIfD_JC.js";import{g as li}from"./react-vendor-28t7dxFl.js";/**
* @license lucide-react v0.546.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Es=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],QE=mr("calendar",Es);/**
* @license lucide-react v0.546.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ts=[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]],jE=mr("newspaper",Ts);/**
* @license lucide-react v0.546.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gs=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],XE=mr("user",gs),ci=6048e5,bs=864e5,zr=Symbol.for("constructDateFrom");function Xe(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&zr in e?e[zr](t):e instanceof Date?new e.constructor(t):new Date(t)}function xe(e,t){return Xe(t||e,e)}let _s={};function An(){return _s}function at(e,t){const n=An(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,u=xe(e,t?.in),i=u.getDay(),a=(i<r?7:0)+i-r;return u.setDate(u.getDate()-a),u.setHours(0,0,0,0),u}function mn(e,t){return at(e,{...t,weekStartsOn:1})}function fi(e,t){const n=xe(e,t?.in),r=n.getFullYear(),u=Xe(n,0);u.setFullYear(r+1,0,4),u.setHours(0,0,0,0);const i=mn(u),a=Xe(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const o=mn(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=o.getTime()?r:r-1}function Wr(e){const t=xe(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function hi(e,...t){const n=Xe.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function qr(e,t){const n=xe(e,t?.in);return n.setHours(0,0,0,0),n}function As(e,t,n){const[r,u]=hi(n?.in,e,t),i=qr(r),a=qr(u),o=+i-Wr(i),l=+a-Wr(a);return Math.round((o-l)/bs)}function Cs(e,t){const n=fi(e,t),r=Xe(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),mn(r)}function Is(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ys(e){return!(!Is(e)&&typeof e!="number"||isNaN(+xe(e)))}function ks(e,t){const n=xe(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Ns={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ss=(e,t,n)=>{let r;const u=Ns[e];return typeof u=="string"?r=u:t===1?r=u.one:r=u.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function bt(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const xs={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Os={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ls={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ds={date:bt({formats:xs,defaultWidth:"full"}),time:bt({formats:Os,defaultWidth:"full"}),dateTime:bt({formats:Ls,defaultWidth:"full"})},Rs={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ps=(e,t,n,r)=>Rs[e];function Re(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let u;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):a;u=e.formattingValues[o]||e.formattingValues[a]}else{const a=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;u=e.values[o]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return u[i]}}const ws={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ms={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Bs={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Fs={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Hs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Us={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},vs=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ys={ordinalNumber:vs,era:Re({values:ws,defaultWidth:"wide"}),quarter:Re({values:Ms,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Re({values:Bs,defaultWidth:"wide"}),day:Re({values:Fs,defaultWidth:"wide"}),dayPeriod:Re({values:Hs,defaultWidth:"wide",formattingValues:Us,defaultFormattingWidth:"wide"})};function Pe(e){return(t,n={})=>{const r=n.width,u=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(u);if(!i)return null;const a=i[0],o=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(o)?Ws(o,f=>f.test(a)):zs(o,f=>f.test(a));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const h=t.slice(a.length);return{value:c,rest:h}}}function zs(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Ws(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function di(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const u=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const o=t.slice(u.length);return{value:a,rest:o}}}const qs=/^(\d+)(th|st|nd|rd)?/i,Gs=/\d+/i,Vs={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Qs={any:[/^b/i,/^(a|c)/i]},js={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Xs={any:[/1/i,/2/i,/3/i,/4/i]},$s={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ks={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Js={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Zs={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},eo={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},to={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},no={ordinalNumber:di({matchPattern:qs,parsePattern:Gs,valueCallback:e=>parseInt(e,10)}),era:Pe({matchPatterns:Vs,defaultMatchWidth:"wide",parsePatterns:Qs,defaultParseWidth:"any"}),quarter:Pe({matchPatterns:js,defaultMatchWidth:"wide",parsePatterns:Xs,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Pe({matchPatterns:$s,defaultMatchWidth:"wide",parsePatterns:Ks,defaultParseWidth:"any"}),day:Pe({matchPatterns:Js,defaultMatchWidth:"wide",parsePatterns:Zs,defaultParseWidth:"any"}),dayPeriod:Pe({matchPatterns:eo,defaultMatchWidth:"any",parsePatterns:to,defaultParseWidth:"any"})},ro={code:"en-US",formatDistance:Ss,formatLong:Ds,formatRelative:Ps,localize:Ys,match:no,options:{weekStartsOn:0,firstWeekContainsDate:1}};function uo(e,t){const n=xe(e,t?.in);return As(n,ks(n))+1}function io(e,t){const n=xe(e,t?.in),r=+mn(n)-+Cs(n);return Math.round(r/ci)+1}function mi(e,t){const n=xe(e,t?.in),r=n.getFullYear(),u=An(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,a=Xe(t?.in||e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const o=at(a,t),l=Xe(t?.in||e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const c=at(l,t);return+n>=+o?r+1:+n>=+c?r:r-1}function ao(e,t){const n=An(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,u=mi(e,t),i=Xe(t?.in||e,0);return i.setFullYear(u,0,r),i.setHours(0,0,0,0),at(i,t)}function so(e,t){const n=xe(e,t?.in),r=+at(n,t)-+ao(n,t);return Math.round(r/ci)+1}function J(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const We={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return J(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):J(n+1,2)},d(e,t){return J(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return J(e.getHours()%12||12,t.length)},H(e,t){return J(e.getHours(),t.length)},m(e,t){return J(e.getMinutes(),t.length)},s(e,t){return J(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),u=Math.trunc(r*Math.pow(10,n-3));return J(u,t.length)}},mt={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Gr={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),u=r>0?r:1-r;return n.ordinalNumber(u,{unit:"year"})}return We.y(e,t)},Y:function(e,t,n,r){const u=mi(e,r),i=u>0?u:1-u;if(t==="YY"){const a=i%100;return J(a,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):J(i,t.length)},R:function(e,t){const n=fi(e);return J(n,t.length)},u:function(e,t){const n=e.getFullYear();return J(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return J(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return J(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return We.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return J(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const u=so(e,r);return t==="wo"?n.ordinalNumber(u,{unit:"week"}):J(u,t.length)},I:function(e,t,n){const r=io(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):J(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):We.d(e,t)},D:function(e,t,n){const r=uo(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):J(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const u=e.getDay(),i=(u-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return J(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(u,{width:"short",context:"formatting"});case"eeee":default:return n.day(u,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const u=e.getDay(),i=(u-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return J(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(u,{width:"narrow",context:"standalone"});case"cccccc":return n.day(u,{width:"short",context:"standalone"});case"cccc":default:return n.day(u,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),u=r===0?7:r;switch(t){case"i":return String(u);case"ii":return J(u,t.length);case"io":return n.ordinalNumber(u,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const u=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let u;switch(r===12?u=mt.noon:r===0?u=mt.midnight:u=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let u;switch(r>=17?u=mt.evening:r>=12?u=mt.afternoon:r>=4?u=mt.morning:u=mt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return We.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):We.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):J(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):J(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):We.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):We.s(e,t)},S:function(e,t){return We.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Qr(r);case"XXXX":case"XX":return nt(r);case"XXXXX":case"XXX":default:return nt(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Qr(r);case"xxxx":case"xx":return nt(r);case"xxxxx":case"xxx":default:return nt(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Vr(r,":");case"OOOO":default:return"GMT"+nt(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Vr(r,":");case"zzzz":default:return"GMT"+nt(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return J(r,t.length)},T:function(e,t,n){return J(+e,t.length)}};function Vr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),u=Math.trunc(r/60),i=r%60;return i===0?n+String(u):n+String(u)+t+J(i,2)}function Qr(e,t){return e%60===0?(e>0?"-":"+")+J(Math.abs(e)/60,2):nt(e,t)}function nt(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),u=J(Math.trunc(r/60),2),i=J(r%60,2);return n+u+t+i}const jr=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},pi=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},oo=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],u=n[2];if(!u)return jr(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",jr(r,t)).replace("{{time}}",pi(u,t))},lo={p:pi,P:oo},co=/^D+$/,fo=/^Y+$/,ho=["D","DD","YY","YYYY"];function mo(e){return co.test(e)}function po(e){return fo.test(e)}function Eo(e,t,n){const r=To(e,t,n);if(console.warn(r),ho.includes(e))throw new RangeError(r)}function To(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const go=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_o=/^'([^]*?)'?$/,Ao=/''/g,Co=/[a-zA-Z]/;function $E(e,t,n){const r=An(),u=n?.locale??r.locale??ro,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=xe(e,n?.in);if(!ys(o))throw new RangeError("Invalid time value");let l=t.match(bo).map(h=>{const f=h[0];if(f==="p"||f==="P"){const E=lo[f];return E(h,u.formatLong)}return h}).join("").match(go).map(h=>{if(h==="''")return{isToken:!1,value:"'"};const f=h[0];if(f==="'")return{isToken:!1,value:Io(h)};if(Gr[f])return{isToken:!0,value:h};if(f.match(Co))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:h}});u.localize.preprocessor&&(l=u.localize.preprocessor(o,l));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:u};return l.map(h=>{if(!h.isToken)return h.value;const f=h.value;(!n?.useAdditionalWeekYearTokens&&po(f)||!n?.useAdditionalDayOfYearTokens&&mo(f))&&Eo(f,t,String(e));const E=Gr[f[0]];return E(o,f,u.localize,c)}).join("")}function Io(e){const t=e.match(_o);return t?t[1].replace(Ao,"'"):e}function Xr(e,t,n){const[r,u]=hi(n?.in,e,t);return+at(r,n)==+at(u,n)}function Dt(e,t){if(e.one!==void 0&&t===1)return e.one;const n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function de(e){return(t,n)=>n?.addSuffix?n.comparison&&n.comparison>0?e.future?Dt(e.future,t):"через "+Dt(e.regular,t):e.past?Dt(e.past,t):Dt(e.regular,t)+" назад":Dt(e.regular,t)}const yo={lessThanXSeconds:de({regular:{one:"меньше Ñекунды",singularNominative:"меньше {{count}} Ñекунды",singularGenitive:"меньше {{count}} Ñекунд",pluralGenitive:"меньше {{count}} Ñекунд"},future:{one:"меньше, чем через Ñекунду",singularNominative:"меньше, чем через {{count}} Ñекунду",singularGenitive:"меньше, чем через {{count}} Ñекунды",pluralGenitive:"меньше, чем через {{count}} Ñекунд"}}),xSeconds:de({regular:{singularNominative:"{{count}} Ñекунда",singularGenitive:"{{count}} Ñекунды",pluralGenitive:"{{count}} Ñекунд"},past:{singularNominative:"{{count}} Ñекунду назад",singularGenitive:"{{count}} Ñекунды назад",pluralGenitive:"{{count}} Ñекунд назад"},future:{singularNominative:"через {{count}} Ñекунду",singularGenitive:"через {{count}} Ñекунды",pluralGenitive:"через {{count}} Ñекунд"}}),halfAMinute:(e,t)=>t?.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:de({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:de({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:de({regular:{singularNominative:"около {{count}} чаÑа",singularGenitive:"около {{count}} чаÑов",pluralGenitive:"около {{count}} чаÑов"},future:{singularNominative:"приблизительно через {{count}} чаÑ",singularGenitive:"приблизительно через {{count}} чаÑа",pluralGenitive:"приблизительно через {{count}} чаÑов"}}),xHours:de({regular:{singularNominative:"{{count}} чаÑ",singularGenitive:"{{count}} чаÑа",pluralGenitive:"{{count}} чаÑов"}}),xDays:de({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днÑ",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:de({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:de({regular:{singularNominative:"{{count}} неделÑ",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:de({regular:{singularNominative:"около {{count}} меÑÑца",singularGenitive:"около {{count}} меÑÑцев",pluralGenitive:"около {{count}} меÑÑцев"},future:{singularNominative:"приблизительно через {{count}} меÑÑц",singularGenitive:"приблизительно через {{count}} меÑÑца",pluralGenitive:"приблизительно через {{count}} меÑÑцев"}}),xMonths:de({regular:{singularNominative:"{{count}} меÑÑц",singularGenitive:"{{count}} меÑÑца",pluralGenitive:"{{count}} меÑÑцев"}}),aboutXYears:de({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:de({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:de({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:de({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},ko=(e,t,n)=>yo[e](t,n),No={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},So={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},xo={any:"{{date}}, {{time}}"},Oo={date:bt({formats:No,defaultWidth:"full"}),time:bt({formats:So,defaultWidth:"full"}),dateTime:bt({formats:xo,defaultWidth:"any"})},pr=["воÑкреÑенье","понедельник","вторник","Ñреду","четверг","пÑтницу","Ñубботу"];function Lo(e){const t=pr[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function $r(e){const t=pr[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function Do(e){const t=pr[e];switch(e){case 0:return"'в Ñледующее "+t+" в' p";case 1:case 2:case 4:return"'в Ñледующий "+t+" в' p";case 3:case 5:case 6:return"'в Ñледующую "+t+" в' p"}}const Ro={lastWeek:(e,t,n)=>{const r=e.getDay();return Xr(e,t,n)?$r(r):Lo(r)},yesterday:"'вчера в' p",today:"'ÑÐµÐ³Ð¾Ð´Ð½Ñ Ð²' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const r=e.getDay();return Xr(e,t,n)?$r(r):Do(r)},other:"P"},Po=(e,t,n,r)=>{const u=Ro[e];return typeof u=="function"?u(t,n,r):u},wo={narrow:["до н.Ñ.","н.Ñ."],abbreviated:["до н. Ñ.","н. Ñ."],wide:["до нашей Ñры","нашей Ñры"]},Mo={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Bo={narrow:["Я","Ф","М","Ð","М","И","И","Ð","С","О","Ð","Д"],abbreviated:["Ñнв.","фев.","март","апр.","май","июнь","июль","авг.","Ñент.","окт.","ноÑб.","дек."],wide:["Ñнварь","февраль","март","апрель","май","июнь","июль","авгуÑÑ‚","ÑентÑбрь","октÑбрь","ноÑбрь","декабрь"]},Fo={narrow:["Я","Ф","М","Ð","М","И","И","Ð","С","О","Ð","Д"],abbreviated:["Ñнв.","фев.","мар.","апр.","маÑ","июн.","июл.","авг.","Ñент.","окт.","ноÑб.","дек."],wide:["ÑнварÑ","февралÑ","марта","апрелÑ","маÑ","июнÑ","июлÑ","авгуÑта","ÑентÑбрÑ","октÑбрÑ","ноÑбрÑ","декабрÑ"]},Ho={narrow:["Ð’","П","Ð’","С","Ч","П","С"],short:["вÑ","пн","вт","ÑÑ€","чт","пт","Ñб"],abbreviated:["вÑк","пнд","втр","Ñрд","чтв","птн","Ñуб"],wide:["воÑкреÑенье","понедельник","вторник","Ñреда","четверг","пÑтница","Ñуббота"]},Uo={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},vo={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"днÑ",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"днÑ",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"днÑ",evening:"вечера",night:"ночи"}},Yo=(e,t)=>{const n=Number(e),r=t?.unit;let u;return r==="date"?u="-е":r==="week"||r==="minute"||r==="second"?u="-Ñ":u="-й",n+u},zo={ordinalNumber:Yo,era:Re({values:wo,defaultWidth:"wide"}),quarter:Re({values:Mo,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Re({values:Bo,defaultWidth:"wide",formattingValues:Fo,defaultFormattingWidth:"wide"}),day:Re({values:Ho,defaultWidth:"wide"}),dayPeriod:Re({values:Uo,defaultWidth:"any",formattingValues:vo,defaultFormattingWidth:"wide"})},Wo=/^(\d+)(-?(е|Ñ|й|ое|ье|аÑ|ÑŒÑ|ый|ой|ий|ый))?/i,qo=/\d+/i,Go={narrow:/^((до )?н\.?\s?Ñ\.?)/i,abbreviated:/^((до )?н\.?\s?Ñ\.?)/i,wide:/^(до нашей Ñры|нашей Ñры|наша Ñра)/i},Vo={any:[/^д/i,/^н/i]},Qo={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},jo={any:[/1/i,/2/i,/3/i,/4/i]},Xo={narrow:/^[ÑфмаиÑонд]/i,abbreviated:/^(Ñнв|фев|март?|апр|ма[йÑ]|июн[ÑŒÑ]?|июл[ÑŒÑ]?|авг|Ñент?|окт|ноÑб?|дек)\.?/i,wide:/^(Ñнвар[ÑŒÑ]|феврал[ÑŒÑ]|марта?|апрел[ÑŒÑ]|ма[йÑ]|июн[ÑŒÑ]|июл[ÑŒÑ]|авгуÑта?|ÑентÑбр[ÑŒÑ]|октÑбр[ÑŒÑ]|октÑбр[ÑŒÑ]|ноÑбр[ÑŒÑ]|декабр[ÑŒÑ])/i},$o={narrow:[/^Ñ/i,/^Ñ„/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^Ñ/i,/^о/i,/^н/i,/^Ñ/i],any:[/^Ñ/i,/^Ñ„/i,/^мар/i,/^ап/i,/^ма[йÑ]/i,/^июн/i,/^июл/i,/^ав/i,/^Ñ/i,/^о/i,/^н/i,/^д/i]},Ko={narrow:/^[впÑч]/i,short:/^(вÑ|во|пн|по|вт|ÑÑ€|чт|че|пт|пÑ|Ñб|Ñу)\.?/i,abbreviated:/^(вÑк|воÑ|пнд|пон|втр|вто|Ñрд|Ñре|чтв|чет|птн|пÑÑ‚|Ñуб).?/i,wide:/^(воÑкреÑень[еÑ]|понедельника?|вторника?|Ñред[аы]|четверга?|пÑтниц[аы]|Ñуббот[аы])/i},Jo={narrow:[/^в/i,/^п/i,/^в/i,/^Ñ/i,/^ч/i,/^п/i,/^Ñ/i],any:[/^в[оÑ]/i,/^п[он]/i,/^в/i,/^ÑÑ€/i,/^ч/i,/^п[ÑÑ‚]/i,/^Ñ[уб]/i]},Zo={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|днÑ|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|днÑ|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|днÑ|вечера?|ноч[ьи])/i},el={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},tl={ordinalNumber:di({matchPattern:Wo,parsePattern:qo,valueCallback:e=>parseInt(e,10)}),era:Pe({matchPatterns:Go,defaultMatchWidth:"wide",parsePatterns:Vo,defaultParseWidth:"any"}),quarter:Pe({matchPatterns:Qo,defaultMatchWidth:"wide",parsePatterns:jo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Pe({matchPatterns:Xo,defaultMatchWidth:"wide",parsePatterns:$o,defaultParseWidth:"any"}),day:Pe({matchPatterns:Ko,defaultMatchWidth:"wide",parsePatterns:Jo,defaultParseWidth:"any"}),dayPeriod:Pe({matchPatterns:Zo,defaultMatchWidth:"wide",parsePatterns:el,defaultParseWidth:"any"})},KE={code:"ru",formatDistance:ko,formatLong:Oo,formatRelative:Po,localize:zo,match:tl,options:{weekStartsOn:1,firstWeekContainsDate:1}};function Kr(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const a=n.slice(u,r).trim();(a||!i)&&t.push(a),u=r+1,r=n.indexOf(",",u)}return t}function Ei(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const nl=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rl=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ul={};function Jr(e,t){return(ul.jsx?rl:nl).test(e)}const il=/[ \t\n\f\r]/g;function al(e){return typeof e=="object"?e.type==="text"?Zr(e.value):!1:Zr(e)}function Zr(e){return e.replace(il,"")===""}class Kt{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Kt.prototype.normal={};Kt.prototype.property={};Kt.prototype.space=void 0;function Ti(e,t){const n={},r={};for(const u of e)Object.assign(n,u.property),Object.assign(r,u.normal);return new Kt(n,r,t)}function Qt(e){return e.toLowerCase()}class Te{constructor(t,n){this.attribute=n,this.property=t}}Te.prototype.attribute="";Te.prototype.booleanish=!1;Te.prototype.boolean=!1;Te.prototype.commaOrSpaceSeparated=!1;Te.prototype.commaSeparated=!1;Te.prototype.defined=!1;Te.prototype.mustUseProperty=!1;Te.prototype.number=!1;Te.prototype.overloadedBoolean=!1;Te.prototype.property="";Te.prototype.spaceSeparated=!1;Te.prototype.space=void 0;let sl=0;const W=lt(),ie=lt(),Zn=lt(),R=lt(),ne=lt(),_t=lt(),be=lt();function lt(){return 2**++sl}const er=Object.freeze(Object.defineProperty({__proto__:null,boolean:W,booleanish:ie,commaOrSpaceSeparated:be,commaSeparated:_t,number:R,overloadedBoolean:Zn,spaceSeparated:ne},Symbol.toStringTag,{value:"Module"})),wn=Object.keys(er);class Er extends Te{constructor(t,n,r,u){let i=-1;if(super(t,n),eu(this,"space",u),typeof r=="number")for(;++i<wn.length;){const a=wn[i];eu(this,wn[i],(r&er[a])===er[a])}}}Er.prototype.defined=!0;function eu(e,t,n){n&&(e[t]=n)}function It(e){const t={},n={};for(const[r,u]of Object.entries(e.properties)){const i=new Er(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Qt(r)]=r,n[Qt(i.attribute)]=r}return new Kt(t,n,e.space)}const gi=It({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:ne,ariaCurrent:null,ariaDescribedBy:ne,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:ne,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:ne,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ne,ariaLevel:R,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:ne,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:ne,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:ie,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function bi(e,t){return t in e?e[t]:t}function _i(e,t){return bi(e,t.toLowerCase())}const ol=It({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_t,acceptCharset:ne,accessKey:ne,action:null,allow:null,allowFullScreen:W,allowPaymentRequest:W,allowUserMedia:W,alt:null,as:null,async:W,autoCapitalize:null,autoComplete:ne,autoFocus:W,autoPlay:W,blocking:ne,capture:null,charSet:null,checked:W,cite:null,className:ne,cols:R,colSpan:null,content:null,contentEditable:ie,controls:W,controlsList:ne,coords:R|_t,crossOrigin:null,data:null,dateTime:null,decoding:null,default:W,defer:W,dir:null,dirName:null,disabled:W,download:Zn,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:W,formTarget:null,headers:ne,height:R,hidden:Zn,high:R,href:null,hrefLang:null,htmlFor:ne,httpEquiv:ne,id:null,imageSizes:null,imageSrcSet:null,inert:W,inputMode:null,integrity:null,is:null,isMap:W,itemId:null,itemProp:ne,itemRef:ne,itemScope:W,itemType:ne,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:W,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:W,muted:W,name:null,nonce:null,noModule:W,noValidate:W,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:W,optimum:R,pattern:null,ping:ne,placeholder:null,playsInline:W,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:W,referrerPolicy:null,rel:ne,required:W,reversed:W,rows:R,rowSpan:R,sandbox:ne,scope:null,scoped:W,seamless:W,selected:W,shadowRootClonable:W,shadowRootDelegatesFocus:W,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:W,useMap:null,value:ie,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ne,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:W,declare:W,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:W,noHref:W,noShade:W,noWrap:W,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:W,disableRemotePlayback:W,prefix:null,property:null,results:R,security:null,unselectable:null},space:"html",transform:_i}),ll=It({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:be,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:ne,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:W,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_t,g2:_t,glyphName:_t,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:be,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ne,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:be,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:be,rev:be,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:be,requiredFeatures:be,requiredFonts:be,requiredFormats:be,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:be,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:be,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:be,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:bi}),Ai=It({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ci=It({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:_i}),Ii=It({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),cl={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fl=/[A-Z]/g,tu=/-[a-z]/g,hl=/^data[-\w.:]+$/i;function Cn(e,t){const n=Qt(t);let r=t,u=Te;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&hl.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(tu,ml);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!tu.test(i)){let a=i.replace(fl,dl);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Er}return new u(r,t)}function dl(e){return"-"+e.toLowerCase()}function ml(e){return e.charAt(1).toUpperCase()}const Jt=Ti([gi,ol,Ai,Ci,Ii],"html"),$e=Ti([gi,ll,Ai,Ci,Ii],"svg");function nu(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function yi(e){return e.join(" ").trim()}var pt={},Mn,ru;function pl(){if(ru)return Mn;ru=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
`,c="/",h="*",f="",E="comment",m="declaration";function _(O,C){if(typeof O!="string")throw new TypeError("First argument must be a string");if(!O)return[];C=C||{};var P=1,D=1;function Y(U){var M=U.match(t);M&&(P+=M.length);var Z=U.lastIndexOf(l);D=~Z?U.length-Z:D+U.length}function z(){var U={line:P,column:D};return function(M){return M.position=new N(U),X(),M}}function N(U){this.start=U,this.end={line:P,column:D},this.source=C.source}N.prototype.content=O;function V(U){var M=new Error(C.source+":"+P+":"+D+": "+U);if(M.reason=U,M.filename=C.source,M.line=P,M.column=D,M.source=O,!C.silent)throw M}function $(U){var M=U.exec(O);if(M){var Z=M[0];return Y(Z),O=O.slice(Z.length),M}}function X(){$(n)}function y(U){var M;for(U=U||[];M=B();)M!==!1&&U.push(M);return U}function B(){var U=z();if(!(c!=O.charAt(0)||h!=O.charAt(1))){for(var M=2;f!=O.charAt(M)&&(h!=O.charAt(M)||c!=O.charAt(M+1));)++M;if(M+=2,f===O.charAt(M-1))return V("End of comment missing");var Z=O.slice(2,M-2);return D+=2,Y(Z),O=O.slice(M),D+=2,U({type:E,comment:Z})}}function F(){var U=z(),M=$(r);if(M){if(B(),!$(u))return V("property missing ':'");var Z=$(i),ae=U({type:m,property:S(M[0].replace(e,f)),value:Z?S(Z[0].replace(e,f)):f});return $(a),ae}}function K(){var U=[];y(U);for(var M;M=F();)M!==!1&&(U.push(M),y(U));return U}return X(),K()}function S(O){return O?O.replace(o,f):f}return Mn=_,Mn}var uu;function El(){if(uu)return pt;uu=1;var e=pt&&pt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(pt,"__esModule",{value:!0}),pt.default=n;const t=e(pl());function n(r,u){let i=null;if(!r||typeof r!="string")return i;const a=(0,t.default)(r),o=typeof u=="function";return a.forEach(l=>{if(l.type!=="declaration")return;const{property:c,value:h}=l;o?u(c,h,l):h&&(i=i||{},i[c]=h)}),i}return pt}var Rt={},iu;function Tl(){if(iu)return Rt;iu=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,i=function(c){return!c||n.test(c)||e.test(c)},a=function(c,h){return h.toUpperCase()},o=function(c,h){return"".concat(h,"-")},l=function(c,h){return h===void 0&&(h={}),i(c)?c:(c=c.toLowerCase(),h.reactCompat?c=c.replace(u,o):c=c.replace(r,o),c.replace(t,a))};return Rt.camelCase=l,Rt}var Pt,au;function gl(){if(au)return Pt;au=1;var e=Pt&&Pt.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},t=e(El()),n=Tl();function r(u,i){var a={};return!u||typeof u!="string"||(0,t.default)(u,function(o,l){o&&l&&(a[(0,n.camelCase)(o,i)]=l)}),a}return r.default=r,Pt=r,Pt}var bl=gl();const _l=li(bl),In=ki("end"),we=ki("start");function ki(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Ni(e){const t=we(e),n=In(e);if(t&&n)return{start:t,end:n}}function Ut(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?su(e.position):"start"in e||"end"in e?su(e):"line"in e||"column"in e?tr(e):""}function tr(e){return ou(e&&e.line)+":"+ou(e&&e.column)}function su(e){return tr(e&&e.start)+"-"+tr(e&&e.end)}function ou(e){return e&&typeof e=="number"?e:1}class fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?u=t:!i.cause&&t&&(a=!0,u=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=o?o.line:void 0,this.name=Ut(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}fe.prototype.file="";fe.prototype.name="";fe.prototype.reason="";fe.prototype.message="";fe.prototype.stack="";fe.prototype.column=void 0;fe.prototype.line=void 0;fe.prototype.ancestors=void 0;fe.prototype.cause=void 0;fe.prototype.fatal=void 0;fe.prototype.place=void 0;fe.prototype.ruleId=void 0;fe.prototype.source=void 0;const Tr={}.hasOwnProperty,Al=new Map,Cl=/[A-Z]/g,Il=new Set(["table","tbody","thead","tfoot","tr"]),yl=new Set(["td","th"]),Si="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function kl(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Pl(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Rl(n,t.jsx,t.jsxs)}const u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?$e:Jt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=xi(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function xi(e,t,n){if(t.type==="element")return Nl(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Sl(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Ol(e,t,n);if(t.type==="mdxjsEsm")return xl(e,t);if(t.type==="root")return Ll(e,t,n);if(t.type==="text")return Dl(e,t)}function Nl(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=$e,e.schema=u),e.ancestors.push(t);const i=Li(e,t.tagName,!1),a=wl(e,t);let o=br(e,t);return Il.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!al(l):!0})),Oi(e,a,i,t),gr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Sl(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}jt(e,t.position)}function xl(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);jt(e,t.position)}function Ol(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=$e,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:Li(e,t.name,!0),a=Ml(e,t),o=br(e,t);return Oi(e,a,i,t),gr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Ll(e,t,n){const r={};return gr(r,br(e,t)),e.create(t,e.Fragment,r,n)}function Dl(e,t){return t.value}function Oi(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function gr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Rl(e,t,n){return r;function r(u,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function Pl(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=we(r);return t(u,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function wl(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Tr.call(t.properties,u)){const i=Bl(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&yl.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Ml(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else jt(e,t.position);else{const u=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else jt(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function br(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:Al;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=u.get(l)||0;a=l+"-"+c,u.set(l,c+1)}}const o=xi(e,i,a);o!==void 0&&n.push(o)}return n}function Bl(e,t,n){const r=Cn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Ei(n):yi(n)),r.property==="style"){let u=typeof n=="object"?n:Fl(e,String(n));return e.stylePropertyNameCase==="css"&&(u=Hl(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?cl[r.property]||r.property:r.attribute,n]}}function Fl(e,t){try{return _l(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,u=new fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=Si+"#cannot-parse-style-attribute",u}}function Li(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let i=-1,a;for(;++i<u.length;){const o=Jr(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=Jr(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Tr.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);jt(e)}function jt(e,t){const n=new fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Si+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Hl(e){const t={};let n;for(n in e)Tr.call(e,n)&&(t[Ul(n)]=e[n]);return t}function Ul(e){let t=e.replace(Cl,vl);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function vl(e){return"-"+e.toLowerCase()}const Bn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Yl={};function _r(e,t){const n=Yl,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Di(e,r,u)}function Di(e,t,n){if(zl(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 lu(e.children,t,n)}return Array.isArray(e)?lu(e,t,n):""}function lu(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Di(e[u],t,n);return r.join("")}function zl(e){return!!(e&&typeof e=="object")}const cu=document.createElement("i");function Ar(e){const t="&"+e+";";cu.innerHTML=t;const n=cu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function _e(e,t,n,r){const u=e.length;let i=0,a;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function Ae(e,t){return e.length>0?(_e(e,e.length,0,t),e):t}const fu={}.hasOwnProperty;function Ri(e){const t={};let n=-1;for(;++n<e.length;)Wl(t,e[n]);return t}function Wl(e,t){let n;for(n in t){const u=(fu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){fu.call(u,a)||(u[a]=[]);const o=i[a];ql(u[a],Array.isArray(o)?o:o?[o]:[])}}}function ql(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);_e(e,0,0,r)}function Pi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Se(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const me=Ke(/[A-Za-z]/),ce=Ke(/[\dA-Za-z]/),Gl=Ke(/[#-'*+\--9=?A-Z^-~]/);function pn(e){return e!==null&&(e<32||e===127)}const nr=Ke(/\d/),Vl=Ke(/[\dA-Fa-f]/),Ql=Ke(/[!-/:-@[-`{-~]/);function H(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function G(e){return e===-2||e===-1||e===32}const yn=Ke(new RegExp("\\p{P}|\\p{S}","u")),st=Ke(/\s/);function Ke(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function yt(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&ce(e.charCodeAt(n+1))&&ce(e.charCodeAt(n+2)))u=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),u=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+u+1,a=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function j(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return G(l)?(e.enter(n),o(l)):t(l)}function o(l){return G(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const jl={tokenize:Xl};function Xl(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),j(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return H(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const $l={tokenize:Kl},hu={tokenize:Jl};function Kl(e){const t=this,n=[];let r=0,u,i,a;return o;function o(D){if(r<n.length){const Y=n[r];return t.containerState=Y[1],e.attempt(Y[0].continuation,l,c)(D)}return c(D)}function l(D){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&P();const Y=t.events.length;let z=Y,N;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){N=t.events[z][1].end;break}C(r);let V=Y;for(;V<t.events.length;)t.events[V][1].end={...N},V++;return _e(t.events,z+1,0,t.events.slice(Y)),t.events.length=V,c(D)}return o(D)}function c(D){if(r===n.length){if(!u)return E(D);if(u.currentConstruct&&u.currentConstruct.concrete)return _(D);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(hu,h,f)(D)}function h(D){return u&&P(),C(r),E(D)}function f(D){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,_(D)}function E(D){return t.containerState={},e.attempt(hu,m,_)(D)}function m(D){return r++,n.push([t.currentConstruct,t.containerState]),E(D)}function _(D){if(D===null){u&&P(),C(0),e.consume(D);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),S(D)}function S(D){if(D===null){O(e.exit("chunkFlow"),!0),C(0),e.consume(D);return}return H(D)?(e.consume(D),O(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(D),S)}function O(D,Y){const z=t.sliceStream(D);if(Y&&z.push(null),D.previous=i,i&&(i.next=D),i=D,u.defineSkip(D.start),u.write(z),t.parser.lazy[D.start.line]){let N=u.events.length;for(;N--;)if(u.events[N][1].start.offset<a&&(!u.events[N][1].end||u.events[N][1].end.offset>a))return;const V=t.events.length;let $=V,X,y;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){if(X){y=t.events[$][1].end;break}X=!0}for(C(r),N=V;N<t.events.length;)t.events[N][1].end={...y},N++;_e(t.events,$+1,0,t.events.slice(V)),t.events.length=N}}function C(D){let Y=n.length;for(;Y-- >D;){const z=n[Y];t.containerState=z[1],z[0].exit.call(t,e)}n.length=D}function P(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Jl(e,t,n){return j(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function At(e){if(e===null||te(e)||st(e))return 1;if(yn(e))return 2}function kn(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const i=e[u].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const rr={name:"attention",resolveAll:Zl,tokenize:ec};function Zl(e,t){let n=-1,r,u,i,a,o,l,c,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},E={...e[n][1].start};du(f,-l),du(E,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:E},i={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},u={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ae(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ae(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=Ae(c,kn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ae(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=Ae(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,_e(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function ec(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=At(r);let i;return a;function a(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),h=At(l),f=!h||h===2&&u||n.includes(l),E=!u||u===2&&h||n.includes(r);return c._open=!!(i===42?f:f&&(u||!E)),c._close=!!(i===42?E:E&&(h||!f)),t(l)}}function du(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const tc={name:"autolink",tokenize:nc};function nc(e,t,n){let r=0;return u;function u(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return me(m)?(e.consume(m),a):m===64?n(m):c(m)}function a(m){return m===43||m===45||m===46||ce(m)?(r=1,o(m)):c(m)}function o(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||ce(m))&&r++<32?(e.consume(m),o):(r=0,c(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||pn(m)?n(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),h):Gl(m)?(e.consume(m),c):n(m)}function h(m){return ce(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):E(m)}function E(m){if((m===45||ce(m))&&r++<63){const _=m===45?E:f;return e.consume(m),_}return n(m)}}const Zt={partial:!0,tokenize:rc};function rc(e,t,n){return r;function r(i){return G(i)?j(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||H(i)?t(i):n(i)}}const wi={continuation:{tokenize:ic},exit:ac,name:"blockQuote",tokenize:uc};function uc(e,t,n){const r=this;return u;function u(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return G(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function ic(e,t,n){const r=this;return u;function u(a){return G(a)?j(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(wi,t,n)(a)}}function ac(e){e.exit("blockQuote")}const Mi={name:"characterEscape",tokenize:sc};function sc(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),u}function u(i){return Ql(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Bi={name:"characterReference",tokenize:oc};function oc(e,t,n){const r=this;let u=0,i,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=ce,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Vl,h):(e.enter("characterReferenceValue"),i=7,a=nr,h(f))}function h(f){if(f===59&&u){const E=e.exit("characterReferenceValue");return a===ce&&!Ar(r.sliceSerialize(E))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&u++<i?(e.consume(f),h):n(f)}}const mu={partial:!0,tokenize:cc},pu={concrete:!0,name:"codeFenced",tokenize:lc};function lc(e,t,n){const r=this,u={partial:!0,tokenize:z};let i=0,a=0,o;return l;function l(N){return c(N)}function c(N){const V=r.events[r.events.length-1];return i=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,o=N,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(N)}function h(N){return N===o?(a++,e.consume(N),h):a<3?n(N):(e.exit("codeFencedFenceSequence"),G(N)?j(e,f,"whitespace")(N):f(N))}function f(N){return N===null||H(N)?(e.exit("codeFencedFence"),r.interrupt?t(N):e.check(mu,S,Y)(N)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),E(N))}function E(N){return N===null||H(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(N)):G(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),j(e,m,"whitespace")(N)):N===96&&N===o?n(N):(e.consume(N),E)}function m(N){return N===null||H(N)?f(N):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(N))}function _(N){return N===null||H(N)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(N)):N===96&&N===o?n(N):(e.consume(N),_)}function S(N){return e.attempt(u,Y,O)(N)}function O(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),C}function C(N){return i>0&&G(N)?j(e,P,"linePrefix",i+1)(N):P(N)}function P(N){return N===null||H(N)?e.check(mu,S,Y)(N):(e.enter("codeFlowValue"),D(N))}function D(N){return N===null||H(N)?(e.exit("codeFlowValue"),P(N)):(e.consume(N),D)}function Y(N){return e.exit("codeFenced"),t(N)}function z(N,V,$){let X=0;return y;function y(M){return N.enter("lineEnding"),N.consume(M),N.exit("lineEnding"),B}function B(M){return N.enter("codeFencedFence"),G(M)?j(N,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):F(M)}function F(M){return M===o?(N.enter("codeFencedFenceSequence"),K(M)):$(M)}function K(M){return M===o?(X++,N.consume(M),K):X>=a?(N.exit("codeFencedFenceSequence"),G(M)?j(N,U,"whitespace")(M):U(M)):$(M)}function U(M){return M===null||H(M)?(N.exit("codeFencedFence"),V(M)):$(M)}}}function cc(e,t,n){const r=this;return u;function u(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Fn={name:"codeIndented",tokenize:hc},fc={partial:!0,tokenize:dc};function hc(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),j(e,i,"linePrefix",5)(c)}function i(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):H(c)?e.attempt(fc,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||H(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function dc(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):H(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):j(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):H(a)?u(a):n(a)}}const mc={name:"codeText",previous:Ec,resolve:pc,tokenize:Tc};function pc(e){let t=e.length-4,n=3,r,u;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function Ec(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Tc(e,t,n){let r=0,u,i;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(i=e.enter("codeTextSequence"),u=0,h(f)):H(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||H(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),u++,h):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",c(f))}}class gc{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const u=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&wt(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),wt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),wt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);wt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);wt(this.left,n.reverse())}}}function wt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Fi(e){const t={};let n=-1,r,u,i,a,o,l,c;const h=new gc(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,bc(h,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--;)if(a=h.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(u&&(h.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;u&&(r[1].end={...h.get(u)[1].start},o=h.slice(u,n),o.unshift(r),h.splice(u,n-u+1,o))}}return _e(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function bc(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,l=[],c={};let h,f,E=-1,m=n,_=0,S=0;const O=[S];for(;m;){for(;e.get(++u)[1]!==m;);i.push(u),m._tokenizer||(h=r.sliceStream(m),m.next||h.push(null),f&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++E<o.length;)o[E][0]==="exit"&&o[E-1][0]==="enter"&&o[E][1].type===o[E-1][1].type&&o[E][1].start.line!==o[E][1].end.line&&(S=E+1,O.push(S),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):O.pop(),E=O.length;E--;){const C=o.slice(O[E],O[E+1]),P=i.pop();l.push([P,P+C.length-1]),e.splice(P,2,C)}for(l.reverse(),E=-1;++E<l.length;)c[_+l[E][0]]=_+l[E][1],_+=l[E][1]-l[E][0]-1;return c}const _c={resolve:Cc,tokenize:Ic},Ac={partial:!0,tokenize:yc};function Cc(e){return Fi(e),e}function Ic(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?i(o):H(o)?e.check(Ac,a,i)(o):(e.consume(o),u)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function yc(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),j(e,i,"linePrefix")}function i(a){if(a===null||H(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Hi(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(C){return C===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(C),e.exit(i),E):C===null||C===32||C===41||pn(C)?n(C):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),S(C))}function E(C){return C===62?(e.enter(i),e.consume(C),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(C))}function m(C){return C===62?(e.exit("chunkString"),e.exit(o),E(C)):C===null||C===60||H(C)?n(C):(e.consume(C),C===92?_:m)}function _(C){return C===60||C===62||C===92?(e.consume(C),m):m(C)}function S(C){return!h&&(C===null||C===41||te(C))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(C)):h<c&&C===40?(e.consume(C),h++,S):C===41?(e.consume(C),h--,S):C===null||C===32||C===40||pn(C)?n(C):(e.consume(C),C===92?O:S)}function O(C){return C===40||C===41||C===92?(e.consume(C),S):S(C)}}function Ui(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(m){return e.enter(r),e.enter(u),e.consume(m),e.exit(u),e.enter(i),h}function h(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(m):m===93?(e.exit(i),e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):H(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||H(m)||o++>999?(e.exit("chunkString"),h(m)):(e.consume(m),l||(l=!G(m)),m===92?E:f)}function E(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}}function vi(e,t,n,r,u,i){let a;return o;function o(E){return E===34||E===39||E===40?(e.enter(r),e.enter(u),e.consume(E),e.exit(u),a=E===40?41:E,l):n(E)}function l(E){return E===a?(e.enter(u),e.consume(E),e.exit(u),e.exit(r),t):(e.enter(i),c(E))}function c(E){return E===a?(e.exit(i),l(a)):E===null?n(E):H(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),j(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(E))}function h(E){return E===a||E===null||H(E)?(e.exit("chunkString"),c(E)):(e.consume(E),E===92?f:h)}function f(E){return E===a||E===92?(e.consume(E),h):h(E)}}function vt(e,t){let n;return r;function r(u){return H(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):G(u)?j(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const kc={name:"definition",tokenize:Sc},Nc={partial:!0,tokenize:xc};function Sc(e,t,n){const r=this;let u;return i;function i(m){return e.enter("definition"),a(m)}function a(m){return Ui.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return u=Se(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return te(m)?vt(e,c)(m):c(m)}function c(m){return Hi(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(Nc,f,f)(m)}function f(m){return G(m)?j(e,E,"whitespace")(m):E(m)}function E(m){return m===null||H(m)?(e.exit("definition"),r.parser.defined.push(u),t(m)):n(m)}}function xc(e,t,n){return r;function r(o){return te(o)?vt(e,u)(o):n(o)}function u(o){return vi(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return G(o)?j(e,a,"whitespace")(o):a(o)}function a(o){return o===null||H(o)?t(o):n(o)}}const Oc={name:"hardBreakEscape",tokenize:Lc};function Lc(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return H(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Dc={name:"headingAtx",resolve:Rc,tokenize:Pc};function Rc(e,t){let n=e.length-2,r=3,u,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},_e(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function Pc(e,t,n){let r=0;return u;function u(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),a(h)}function a(h){return h===35&&r++<6?(e.consume(h),a):h===null||te(h)?(e.exit("atxHeadingSequence"),o(h)):n(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||H(h)?(e.exit("atxHeading"),t(h)):G(h)?j(e,o,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),o(h))}function c(h){return h===null||h===35||te(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const wc=["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"],Eu=["pre","script","style","textarea"],Mc={concrete:!0,name:"htmlFlow",resolveTo:Hc,tokenize:Uc},Bc={partial:!0,tokenize:Yc},Fc={partial:!0,tokenize:vc};function Hc(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Uc(e,t,n){const r=this;let u,i,a,o,l;return c;function c(b){return h(b)}function h(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),f}function f(b){return b===33?(e.consume(b),E):b===47?(e.consume(b),i=!0,S):b===63?(e.consume(b),u=3,r.interrupt?t:g):me(b)?(e.consume(b),a=String.fromCharCode(b),O):n(b)}function E(b){return b===45?(e.consume(b),u=2,m):b===91?(e.consume(b),u=5,o=0,_):me(b)?(e.consume(b),u=4,r.interrupt?t:g):n(b)}function m(b){return b===45?(e.consume(b),r.interrupt?t:g):n(b)}function _(b){const ke="CDATA[";return b===ke.charCodeAt(o++)?(e.consume(b),o===ke.length?r.interrupt?t:F:_):n(b)}function S(b){return me(b)?(e.consume(b),a=String.fromCharCode(b),O):n(b)}function O(b){if(b===null||b===47||b===62||te(b)){const ke=b===47,Je=a.toLowerCase();return!ke&&!i&&Eu.includes(Je)?(u=1,r.interrupt?t(b):F(b)):wc.includes(a.toLowerCase())?(u=6,ke?(e.consume(b),C):r.interrupt?t(b):F(b)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):i?P(b):D(b))}return b===45||ce(b)?(e.consume(b),a+=String.fromCharCode(b),O):n(b)}function C(b){return b===62?(e.consume(b),r.interrupt?t:F):n(b)}function P(b){return G(b)?(e.consume(b),P):y(b)}function D(b){return b===47?(e.consume(b),y):b===58||b===95||me(b)?(e.consume(b),Y):G(b)?(e.consume(b),D):y(b)}function Y(b){return b===45||b===46||b===58||b===95||ce(b)?(e.consume(b),Y):z(b)}function z(b){return b===61?(e.consume(b),N):G(b)?(e.consume(b),z):D(b)}function N(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),l=b,V):G(b)?(e.consume(b),N):$(b)}function V(b){return b===l?(e.consume(b),l=null,X):b===null||H(b)?n(b):(e.consume(b),V)}function $(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||te(b)?z(b):(e.consume(b),$)}function X(b){return b===47||b===62||G(b)?D(b):n(b)}function y(b){return b===62?(e.consume(b),B):n(b)}function B(b){return b===null||H(b)?F(b):G(b)?(e.consume(b),B):n(b)}function F(b){return b===45&&u===2?(e.consume(b),Z):b===60&&u===1?(e.consume(b),ae):b===62&&u===4?(e.consume(b),ye):b===63&&u===3?(e.consume(b),g):b===93&&u===5?(e.consume(b),Be):H(b)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(Bc,Fe,K)(b)):b===null||H(b)?(e.exit("htmlFlowData"),K(b)):(e.consume(b),F)}function K(b){return e.check(Fc,U,Fe)(b)}function U(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),M}function M(b){return b===null||H(b)?K(b):(e.enter("htmlFlowData"),F(b))}function Z(b){return b===45?(e.consume(b),g):F(b)}function ae(b){return b===47?(e.consume(b),a="",Ie):F(b)}function Ie(b){if(b===62){const ke=a.toLowerCase();return Eu.includes(ke)?(e.consume(b),ye):F(b)}return me(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),Ie):F(b)}function Be(b){return b===93?(e.consume(b),g):F(b)}function g(b){return b===62?(e.consume(b),ye):b===45&&u===2?(e.consume(b),g):F(b)}function ye(b){return b===null||H(b)?(e.exit("htmlFlowData"),Fe(b)):(e.consume(b),ye)}function Fe(b){return e.exit("htmlFlow"),t(b)}}function vc(e,t,n){const r=this;return u;function u(a){return H(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Yc(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Zt,t,n)}}const zc={name:"htmlText",tokenize:Wc};function Wc(e,t,n){const r=this;let u,i,a;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),l}function l(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),z):g===63?(e.consume(g),D):me(g)?(e.consume(g),$):n(g)}function c(g){return g===45?(e.consume(g),h):g===91?(e.consume(g),i=0,_):me(g)?(e.consume(g),P):n(g)}function h(g){return g===45?(e.consume(g),m):n(g)}function f(g){return g===null?n(g):g===45?(e.consume(g),E):H(g)?(a=f,ae(g)):(e.consume(g),f)}function E(g){return g===45?(e.consume(g),m):f(g)}function m(g){return g===62?Z(g):g===45?E(g):f(g)}function _(g){const ye="CDATA[";return g===ye.charCodeAt(i++)?(e.consume(g),i===ye.length?S:_):n(g)}function S(g){return g===null?n(g):g===93?(e.consume(g),O):H(g)?(a=S,ae(g)):(e.consume(g),S)}function O(g){return g===93?(e.consume(g),C):S(g)}function C(g){return g===62?Z(g):g===93?(e.consume(g),C):S(g)}function P(g){return g===null||g===62?Z(g):H(g)?(a=P,ae(g)):(e.consume(g),P)}function D(g){return g===null?n(g):g===63?(e.consume(g),Y):H(g)?(a=D,ae(g)):(e.consume(g),D)}function Y(g){return g===62?Z(g):D(g)}function z(g){return me(g)?(e.consume(g),N):n(g)}function N(g){return g===45||ce(g)?(e.consume(g),N):V(g)}function V(g){return H(g)?(a=V,ae(g)):G(g)?(e.consume(g),V):Z(g)}function $(g){return g===45||ce(g)?(e.consume(g),$):g===47||g===62||te(g)?X(g):n(g)}function X(g){return g===47?(e.consume(g),Z):g===58||g===95||me(g)?(e.consume(g),y):H(g)?(a=X,ae(g)):G(g)?(e.consume(g),X):Z(g)}function y(g){return g===45||g===46||g===58||g===95||ce(g)?(e.consume(g),y):B(g)}function B(g){return g===61?(e.consume(g),F):H(g)?(a=B,ae(g)):G(g)?(e.consume(g),B):X(g)}function F(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),u=g,K):H(g)?(a=F,ae(g)):G(g)?(e.consume(g),F):(e.consume(g),U)}function K(g){return g===u?(e.consume(g),u=void 0,M):g===null?n(g):H(g)?(a=K,ae(g)):(e.consume(g),K)}function U(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||te(g)?X(g):(e.consume(g),U)}function M(g){return g===47||g===62||te(g)?X(g):n(g)}function Z(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function ae(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Ie}function Ie(g){return G(g)?j(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Be(g)}function Be(g){return e.enter("htmlTextData"),a(g)}}const Cr={name:"labelEnd",resolveAll:Qc,resolveTo:jc,tokenize:Xc},qc={tokenize:$c},Gc={tokenize:Kc},Vc={tokenize:Jc};function Qc(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const u=r.type==="labelImage"?4:2;r.type="data",t+=u}}return e.length!==n.length&&_e(e,0,e.length,n),e}function jc(e,t){let n=e.length,r=0,u,i,a,o;for(;n--;)if(u=e[n][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(a=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=Ae(o,e.slice(i+1,i+r+3)),o=Ae(o,[["enter",h,t]]),o=Ae(o,kn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=Ae(o,[["exit",h,t],e[a-2],e[a-1],["exit",c,t]]),o=Ae(o,e.slice(a+1)),o=Ae(o,[["exit",l,t]]),_e(e,i,e.length,o),e}function Xc(e,t,n){const r=this;let u=r.events.length,i,a;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){i=r.events[u][1];break}return o;function o(E){return i?i._inactive?f(E):(a=r.parser.defined.includes(Se(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(E),e.exit("labelMarker"),e.exit("labelEnd"),l):n(E)}function l(E){return E===40?e.attempt(qc,h,a?h:f)(E):E===91?e.attempt(Gc,h,a?c:f)(E):a?h(E):f(E)}function c(E){return e.attempt(Vc,h,f)(E)}function h(E){return t(E)}function f(E){return i._balanced=!0,n(E)}}function $c(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return te(f)?vt(e,i)(f):i(f)}function i(f){return f===41?h(f):Hi(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return te(f)?vt(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?vi(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return te(f)?vt(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Kc(e,t,n){const r=this;return u;function u(o){return Ui.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(Se(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function Jc(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),u}function u(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const Zc={name:"labelStartImage",resolveAll:Cr.resolveAll,tokenize:e0};function e0(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const t0={name:"labelStartLink",resolveAll:Cr.resolveAll,tokenize:n0};function n0(e,t,n){const r=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Hn={name:"lineEnding",tokenize:r0};function r0(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),j(e,t,"linePrefix")}}const fn={name:"thematicBreak",tokenize:u0};function u0(e,t,n){let r=0,u;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||H(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),G(c)?j(e,o,"whitespace")(c):o(c))}}const Ee={continuation:{tokenize:o0},exit:c0,name:"list",tokenize:s0},i0={partial:!0,tokenize:f0},a0={partial:!0,tokenize:l0};function s0(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(m){const _=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:nr(m)){if(r.containerState.type||(r.containerState.type=_,e.enter(_,{_container:!0})),_==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(fn,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return nr(m)&&++a<10?(e.consume(m),l):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Zt,r.interrupt?n:h,e.attempt(i0,E,f))}function h(m){return r.containerState.initialBlankLine=!0,i++,E(m)}function f(m){return G(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),E):n(m)}function E(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function o0(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Zt,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,j(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!G(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(a0,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,j(e,e.attempt(Ee,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function l0(e,t,n){const r=this;return j(e,u,"listItemIndent",r.containerState.size+1);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function c0(e){e.exit(this.containerState.type)}function f0(e,t,n){const r=this;return j(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const a=r.events[r.events.length-1];return!G(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Tu={name:"setextUnderline",resolveTo:h0,tokenize:d0};function h0(e,t){let n=e.length,r,u,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[u][1].type="setextHeadingText",i?(e.splice(u,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function d0(e,t,n){const r=this;let u;return i;function i(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),u=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),G(c)?j(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||H(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const m0={tokenize:p0};function p0(e){const t=this,n=e.attempt(Zt,r,e.attempt(this.parser.constructs.flowInitial,u,j(e,e.attempt(this.parser.constructs.flow,u,e.attempt(_c,u)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const E0={resolveAll:zi()},T0=Yi("string"),g0=Yi("text");function Yi(e){return{resolveAll:zi(e==="text"?b0:void 0),tokenize:t};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(h){return c(h)?i(h):o(h)}function o(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),l}function l(h){return c(h)?(n.exit("data"),i(h)):(n.consume(h),l)}function c(h){if(h===null)return!0;const f=u[h];let E=-1;if(f)for(;++E<f.length;){const m=f[E];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function zi(e){return t;function t(n,r){let u=-1,i;for(;++u<=n.length;)i===void 0?n[u]&&n[u][1].type==="data"&&(i=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==i+2&&(n[i][1].end=n[u-1][1].end,n.splice(i+2,u-i-2),u=i+2),i=void 0);return e?e(n,r):n}}function b0(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],u=t.sliceStream(r);let i=u.length,a=-1,o=0,l;for(;i--;){const c=u[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const _0={42:Ee,43:Ee,45:Ee,48:Ee,49:Ee,50:Ee,51:Ee,52:Ee,53:Ee,54:Ee,55:Ee,56:Ee,57:Ee,62:wi},A0={91:kc},C0={[-2]:Fn,[-1]:Fn,32:Fn},I0={35:Dc,42:fn,45:[Tu,fn],60:Mc,61:Tu,95:fn,96:pu,126:pu},y0={38:Bi,92:Mi},k0={[-5]:Hn,[-4]:Hn,[-3]:Hn,33:Zc,38:Bi,42:rr,60:[tc,zc],91:t0,92:[Oc,Mi],93:Cr,95:rr,96:mc},N0={null:[rr,E0]},S0={null:[42,95]},x0={null:[]},O0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:S0,contentInitial:A0,disable:x0,document:_0,flow:I0,flowInitial:C0,insideSpan:N0,string:y0,text:k0},Symbol.toStringTag,{value:"Module"}));function L0(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const u={},i=[];let a=[],o=[];const l={attempt:V(z),check:V(N),consume:P,enter:D,exit:Y,interrupt:V(N,{interrupt:!0})},c={code:null,containerState:{},defineSkip:S,events:[],now:_,parser:e,previous:null,sliceSerialize:E,sliceStream:m,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function f(B){return a=Ae(a,B),O(),a[a.length-1]!==null?[]:($(t,0),c.events=kn(i,c.events,c),c.events)}function E(B,F){return R0(m(B),F)}function m(B){return D0(a,B)}function _(){const{_bufferIndex:B,_index:F,line:K,column:U,offset:M}=r;return{_bufferIndex:B,_index:F,line:K,column:U,offset:M}}function S(B){u[B.line]=B.column,y()}function O(){let B;for(;r._index<a.length;){const F=a[r._index];if(typeof F=="string")for(B=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===B&&r._bufferIndex<F.length;)C(F.charCodeAt(r._bufferIndex));else C(F)}}function C(B){h=h(B)}function P(B){H(B)?(r.line++,r.column=1,r.offset+=B===-3?2:1,y()):B!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=B}function D(B,F){const K=F||{};return K.type=B,K.start=_(),c.events.push(["enter",K,c]),o.push(K),K}function Y(B){const F=o.pop();return F.end=_(),c.events.push(["exit",F,c]),F}function z(B,F){$(B,F.from)}function N(B,F){F.restore()}function V(B,F){return K;function K(U,M,Z){let ae,Ie,Be,g;return Array.isArray(U)?Fe(U):"tokenize"in U?Fe([U]):ye(U);function ye(le){return xt;function xt(ze){const ft=ze!==null&&le[ze],ht=ze!==null&&le.null,un=[...Array.isArray(ft)?ft:ft?[ft]:[],...Array.isArray(ht)?ht:ht?[ht]:[]];return Fe(un)(ze)}}function Fe(le){return ae=le,Ie=0,le.length===0?Z:b(le[Ie])}function b(le){return xt;function xt(ze){return g=X(),Be=le,le.partial||(c.currentConstruct=le),le.name&&c.parser.constructs.disable.null.includes(le.name)?Je():le.tokenize.call(F?Object.assign(Object.create(c),F):c,l,ke,Je)(ze)}}function ke(le){return B(Be,g),M}function Je(le){return g.restore(),++Ie<ae.length?b(ae[Ie]):Z}}}function $(B,F){B.resolveAll&&!i.includes(B)&&i.push(B),B.resolve&&_e(c.events,F,c.events.length-F,B.resolve(c.events.slice(F),c)),B.resolveTo&&(c.events=B.resolveTo(c.events,c))}function X(){const B=_(),F=c.previous,K=c.currentConstruct,U=c.events.length,M=Array.from(o);return{from:U,restore:Z};function Z(){r=B,c.previous=F,c.currentConstruct=K,c.events.length=U,o=M,y()}}function y(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function D0(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,i=t.end._bufferIndex;let a;if(n===u)a=[e[n].slice(r,i)];else{if(a=e.slice(n,u),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function R0(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
`;break}case-3:{a=`\r
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&u)continue;a=" ";break}default:a=String.fromCharCode(i)}u=i===-2,r.push(a)}return r.join("")}function P0(e){const r={constructs:Ri([O0,...(e||{}).extensions||[]]),content:u(jl),defined:[],document:u($l),flow:u(m0),lazy:{},string:u(T0),text:u(g0)};return r;function u(i){return a;function a(o){return L0(r,i,o)}}}function w0(e){for(;!Fi(e););return e}const gu=/[\0\t\n\r]/g;function M0(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,h,f,E,m;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(gu.lastIndex=f,c=gu.exec(i),E=c&&c.index!==void 0?c.index:i.length,m=i.charCodeAt(E),!c){t=i.slice(f);break}if(m===10&&f===E&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<E&&(l.push(i.slice(f,E)),e+=E-f),m){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=E+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const B0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function F0(e){return e.replace(B0,H0)}function H0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return Pi(n.slice(i?2:1),i?16:10)}return Ar(n)||e}const Wi={}.hasOwnProperty;function U0(e,t,n){return typeof t!="string"&&(n=t,t=void 0),v0(n)(w0(P0(n).document().write(M0()(e,t,!0))))}function v0(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(vr),autolinkProtocol:X,autolinkEmail:X,atxHeading:i(Fr),blockQuote:i(ht),characterEscape:X,characterReference:X,codeFenced:i(un),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(un,a),codeText:i(ss,a),codeTextData:X,data:X,codeFlowValue:X,definition:i(os),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(ls),hardBreakEscape:i(Hr),hardBreakTrailing:i(Hr),htmlFlow:i(Ur,a),htmlFlowData:X,htmlText:i(Ur,a),htmlTextData:X,image:i(cs),label:a,link:i(vr),listItem:i(fs),listItemValue:E,listOrdered:i(Yr,f),listUnordered:i(Yr),paragraph:i(hs),reference:b,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Fr),strong:i(ds),thematicBreak:i(ps)},exit:{atxHeading:l(),atxHeadingSequence:z,autolink:l(),autolinkEmail:ft,autolinkProtocol:ze,blockQuote:l(),characterEscapeValue:y,characterReferenceMarkerHexadecimal:Je,characterReferenceMarkerNumeric:Je,characterReferenceValue:le,characterReference:xt,codeFenced:l(O),codeFencedFence:S,codeFencedFenceInfo:m,codeFencedFenceMeta:_,codeFlowValue:y,codeIndented:l(C),codeText:l(M),codeTextData:y,data:y,definition:l(),definitionDestinationString:Y,definitionLabelString:P,definitionTitleString:D,emphasis:l(),hardBreakEscape:l(F),hardBreakTrailing:l(F),htmlFlow:l(K),htmlFlowData:y,htmlText:l(U),htmlTextData:y,image:l(ae),label:Be,labelText:Ie,lineEnding:B,link:l(Z),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:ke,resourceDestinationString:g,resourceTitleString:ye,resource:Fe,setextHeading:l($),setextHeadingLineSequence:V,setextHeadingText:N,strong:l(),thematicBreak:l()}};qi(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(k){let w={type:"root",children:[]};const v={stack:[w],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},Q=[];let ee=-1;for(;++ee<k.length;)if(k[ee][1].type==="listOrdered"||k[ee][1].type==="listUnordered")if(k[ee][0]==="enter")Q.push(ee);else{const Ne=Q.pop();ee=u(k,Ne,ee)}for(ee=-1;++ee<k.length;){const Ne=t[k[ee][0]];Wi.call(Ne,k[ee][1].type)&&Ne[k[ee][1].type].call(Object.assign({sliceSerialize:k[ee][2].sliceSerialize},v),k[ee][1])}if(v.tokenStack.length>0){const Ne=v.tokenStack[v.tokenStack.length-1];(Ne[1]||bu).call(v,void 0,Ne[0])}for(w.position={start:qe(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:qe(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},ee=-1;++ee<t.transforms.length;)w=t.transforms[ee](w)||w;return w}function u(k,w,v){let Q=w-1,ee=-1,Ne=!1,Ze,He,Ot,Lt;for(;++Q<=v;){const ge=k[Q];switch(ge[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ge[0]==="enter"?ee++:ee--,Lt=void 0;break}case"lineEndingBlank":{ge[0]==="enter"&&(Ze&&!Lt&&!ee&&!Ot&&(Ot=Q),Lt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Lt=void 0}if(!ee&&ge[0]==="enter"&&ge[1].type==="listItemPrefix"||ee===-1&&ge[0]==="exit"&&(ge[1].type==="listUnordered"||ge[1].type==="listOrdered")){if(Ze){let dt=Q;for(He=void 0;dt--;){const Ue=k[dt];if(Ue[1].type==="lineEnding"||Ue[1].type==="lineEndingBlank"){if(Ue[0]==="exit")continue;He&&(k[He][1].type="lineEndingBlank",Ne=!0),Ue[1].type="lineEnding",He=dt}else if(!(Ue[1].type==="linePrefix"||Ue[1].type==="blockQuotePrefix"||Ue[1].type==="blockQuotePrefixWhitespace"||Ue[1].type==="blockQuoteMarker"||Ue[1].type==="listItemIndent"))break}Ot&&(!He||Ot<He)&&(Ze._spread=!0),Ze.end=Object.assign({},He?k[He][1].start:ge[1].end),k.splice(He||Q,0,["exit",Ze,ge[2]]),Q++,v++}if(ge[1].type==="listItemPrefix"){const dt={type:"listItem",_spread:!1,start:Object.assign({},ge[1].start),end:void 0};Ze=dt,k.splice(Q,0,["enter",dt,ge[2]]),Q++,v++,Ot=void 0,Lt=!0}}}return k[w][1]._spread=Ne,v}function i(k,w){return v;function v(Q){o.call(this,k(Q),Q),w&&w.call(this,Q)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(k,w,v){this.stack[this.stack.length-1].children.push(k),this.stack.push(k),this.tokenStack.push([w,v||void 0]),k.position={start:qe(w.start),end:void 0}}function l(k){return w;function w(v){k&&k.call(this,v),c.call(this,v)}}function c(k,w){const v=this.stack.pop(),Q=this.tokenStack.pop();if(Q)Q[0].type!==k.type&&(w?w.call(this,k,Q[0]):(Q[1]||bu).call(this,k,Q[0]));else throw new Error("Cannot close `"+k.type+"` ("+Ut({start:k.start,end:k.end})+"): it’s not open");v.position.end=qe(k.end)}function h(){return _r(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function E(k){if(this.data.expectingFirstListItemValue){const w=this.stack[this.stack.length-2];w.start=Number.parseInt(this.sliceSerialize(k),10),this.data.expectingFirstListItemValue=void 0}}function m(){const k=this.resume(),w=this.stack[this.stack.length-1];w.lang=k}function _(){const k=this.resume(),w=this.stack[this.stack.length-1];w.meta=k}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function O(){const k=this.resume(),w=this.stack[this.stack.length-1];w.value=k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const k=this.resume(),w=this.stack[this.stack.length-1];w.value=k.replace(/(\r?\n|\r)$/g,"")}function P(k){const w=this.resume(),v=this.stack[this.stack.length-1];v.label=w,v.identifier=Se(this.sliceSerialize(k)).toLowerCase()}function D(){const k=this.resume(),w=this.stack[this.stack.length-1];w.title=k}function Y(){const k=this.resume(),w=this.stack[this.stack.length-1];w.url=k}function z(k){const w=this.stack[this.stack.length-1];if(!w.depth){const v=this.sliceSerialize(k).length;w.depth=v}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function V(k){const w=this.stack[this.stack.length-1];w.depth=this.sliceSerialize(k).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function X(k){const v=this.stack[this.stack.length-1].children;let Q=v[v.length-1];(!Q||Q.type!=="text")&&(Q=ms(),Q.position={start:qe(k.start),end:void 0},v.push(Q)),this.stack.push(Q)}function y(k){const w=this.stack.pop();w.value+=this.sliceSerialize(k),w.position.end=qe(k.end)}function B(k){const w=this.stack[this.stack.length-1];if(this.data.atHardBreak){const v=w.children[w.children.length-1];v.position.end=qe(k.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(w.type)&&(X.call(this,k),y.call(this,k))}function F(){this.data.atHardBreak=!0}function K(){const k=this.resume(),w=this.stack[this.stack.length-1];w.value=k}function U(){const k=this.resume(),w=this.stack[this.stack.length-1];w.value=k}function M(){const k=this.resume(),w=this.stack[this.stack.length-1];w.value=k}function Z(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const w=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=w,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function ae(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const w=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=w,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function Ie(k){const w=this.sliceSerialize(k),v=this.stack[this.stack.length-2];v.label=F0(w),v.identifier=Se(w).toLowerCase()}function Be(){const k=this.stack[this.stack.length-1],w=this.resume(),v=this.stack[this.stack.length-1];if(this.data.inReference=!0,v.type==="link"){const Q=k.children;v.children=Q}else v.alt=w}function g(){const k=this.resume(),w=this.stack[this.stack.length-1];w.url=k}function ye(){const k=this.resume(),w=this.stack[this.stack.length-1];w.title=k}function Fe(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function ke(k){const w=this.resume(),v=this.stack[this.stack.length-1];v.label=w,v.identifier=Se(this.sliceSerialize(k)).toLowerCase(),this.data.referenceType="full"}function Je(k){this.data.characterReferenceType=k.type}function le(k){const w=this.sliceSerialize(k),v=this.data.characterReferenceType;let Q;v?(Q=Pi(w,v==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Q=Ar(w);const ee=this.stack[this.stack.length-1];ee.value+=Q}function xt(k){const w=this.stack.pop();w.position.end=qe(k.end)}function ze(k){y.call(this,k);const w=this.stack[this.stack.length-1];w.url=this.sliceSerialize(k)}function ft(k){y.call(this,k);const w=this.stack[this.stack.length-1];w.url="mailto:"+this.sliceSerialize(k)}function ht(){return{type:"blockquote",children:[]}}function un(){return{type:"code",lang:null,meta:null,value:""}}function ss(){return{type:"inlineCode",value:""}}function os(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ls(){return{type:"emphasis",children:[]}}function Fr(){return{type:"heading",depth:0,children:[]}}function Hr(){return{type:"break"}}function Ur(){return{type:"html",value:""}}function cs(){return{type:"image",title:null,url:"",alt:null}}function vr(){return{type:"link",title:null,url:"",children:[]}}function Yr(k){return{type:"list",ordered:k.type==="listOrdered",start:null,spread:k._spread,children:[]}}function fs(k){return{type:"listItem",spread:k._spread,checked:null,children:[]}}function hs(){return{type:"paragraph",children:[]}}function ds(){return{type:"strong",children:[]}}function ms(){return{type:"text",value:""}}function ps(){return{type:"thematicBreak"}}}function qe(e){return{line:e.line,column:e.column,offset:e.offset}}function qi(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?qi(e,r):Y0(e,r)}}function Y0(e,t){let n;for(n in t)if(Wi.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function bu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ut({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ut({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ut({start:t.start,end:t.end})+") is still open")}function z0(e){const t=this;t.parser=n;function n(r){return U0(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function W0(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function q0(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
`}]}function G0(e,t){const n=t.value?t.value+`
`:"",r={},u=t.lang?t.lang.split(/\s+/):[];u.length>0&&(r.className=["language-"+u[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function V0(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Q0(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function j0(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=yt(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function X0(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $0(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Gi(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const u=e.all(t),i=u[0];i&&i.type==="text"?i.value="["+i.value:u.unshift({type:"text",value:"["});const a=u[u.length-1];return a&&a.type==="text"?a.value+=r:u.push({type:"text",value:r}),u}function K0(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Gi(e,t);const u={src:yt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,i),e.applyData(t,i)}function J0(e,t){const n={src:yt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Z0(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function ef(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Gi(e,t);const u={href:yt(r.url||"")};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function tf(e,t){const n={href:yt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function nf(e,t,n){const r=e.all(t),u=n?rf(n):Vi(t),i={},a=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const h=r[o];(u||o!==0||h.type!=="element"||h.tagName!=="p")&&a.push({type:"text",value:`
`}),h.type==="element"&&h.tagName==="p"&&!u?a.push(...h.children):a.push(h)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function rf(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Vi(n[r])}return t}function Vi(e){const t=e.spread;return t??e.children.length>1}function uf(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const a=r[u];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function af(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sf(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function of(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lf(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),u.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=we(t.children[1]),l=In(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),u.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,i),e.applyData(t,i)}function cf(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],E={},m=a?a[l]:void 0;m&&(E.align=m);let _={type:"element",tagName:i,properties:E,children:[]};f&&(_.children=e.all(f),e.patch(f,_),_=e.applyData(f,_)),c.push(_)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function ff(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const _u=9,Au=32;function hf(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(Cu(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(Cu(t.slice(u),u>0,!1)),i.join("")}function Cu(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===_u||i===Au;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===_u||i===Au;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function df(e,t){const n={type:"text",value:hf(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function mf(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const pf={blockquote:W0,break:q0,code:G0,delete:V0,emphasis:Q0,footnoteReference:j0,heading:X0,html:$0,imageReference:K0,image:J0,inlineCode:Z0,linkReference:ef,link:tf,listItem:nf,list:uf,paragraph:af,root:sf,strong:of,table:lf,tableCell:ff,tableRow:cf,text:df,thematicBreak:mf,toml:an,yaml:an,definition:an,footnoteDefinition:an};function an(){}const Qi=-1,Nn=0,Yt=1,En=2,Ir=3,yr=4,kr=5,Nr=6,ji=7,Xi=8,Iu=typeof self=="object"?self:globalThis,Ef=(e,t)=>{const n=(u,i)=>(e.set(i,u),u),r=u=>{if(e.has(u))return e.get(u);const[i,a]=t[u];switch(i){case Nn:case Qi:return n(a,u);case Yt:{const o=n([],u);for(const l of a)o.push(r(l));return o}case En:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case Ir:return n(new Date(a),u);case yr:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case kr:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case Nr:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case ji:{const{name:o,message:l}=a;return n(new Iu[o](l),u)}case Xi:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(new Iu[i](a),u)};return r},yu=e=>Ef(new Map,e)(0),Et="",{toString:Tf}={},{keys:gf}=Object,Mt=e=>{const t=typeof e;if(t!=="object"||!e)return[Nn,t];const n=Tf.call(e).slice(8,-1);switch(n){case"Array":return[Yt,Et];case"Object":return[En,Et];case"Date":return[Ir,Et];case"RegExp":return[yr,Et];case"Map":return[kr,Et];case"Set":return[Nr,Et];case"DataView":return[Yt,n]}return n.includes("Array")?[Yt,n]:n.includes("Error")?[ji,n]:[En,n]},sn=([e,t])=>e===Nn&&(t==="function"||t==="symbol"),bf=(e,t,n,r)=>{const u=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},i=a=>{if(n.has(a))return n.get(a);let[o,l]=Mt(a);switch(o){case Nn:{let h=a;switch(l){case"bigint":o=Xi,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return u([Qi],a)}return u([o,h],a)}case Yt:{if(l){let E=a;return l==="DataView"?E=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(E=new Uint8Array(a)),u([l,[...E]],a)}const h=[],f=u([o,h],a);for(const E of a)h.push(i(E));return f}case En:{if(l)switch(l){case"BigInt":return u([l,a.toString()],a);case"Boolean":case"Number":case"String":return u([l,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const h=[],f=u([o,h],a);for(const E of gf(a))(e||!sn(Mt(a[E])))&&h.push([i(E),i(a[E])]);return f}case Ir:return u([o,a.toISOString()],a);case yr:{const{source:h,flags:f}=a;return u([o,{source:h,flags:f}],a)}case kr:{const h=[],f=u([o,h],a);for(const[E,m]of a)(e||!(sn(Mt(E))||sn(Mt(m))))&&h.push([i(E),i(m)]);return f}case Nr:{const h=[],f=u([o,h],a);for(const E of a)(e||!sn(Mt(E)))&&h.push(i(E));return f}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},ku=(e,{json:t,lossy:n}={})=>{const r=[];return bf(!(t||n),!!t,new Map,r)(e),r},ot=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?yu(ku(e,t)):structuredClone(e):(e,t)=>yu(ku(e,t));function _f(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Af(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Cf(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||_f,r=e.options.footnoteBackLabel||Af,u=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const h=e.all(c),f=String(c.identifier).toUpperCase(),E=yt(f.toLowerCase());let m=0;const _=[],S=e.footnoteCounts.get(f);for(;S!==void 0&&++m<=S;){_.length>0&&_.push({type:"text",value:" "});let P=typeof n=="string"?n:n(l,m);typeof P=="string"&&(P={type:"text",value:P}),_.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+E+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,m),className:["data-footnote-backref"]},children:Array.isArray(P)?P:[P]})}const O=h[h.length-1];if(O&&O.type==="element"&&O.tagName==="p"){const P=O.children[O.children.length-1];P&&P.type==="text"?P.value+=" ":O.children.push({type:"text",value:" "}),O.children.push(..._)}else h.push(..._);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+E},children:e.wrap(h,!0)};e.patch(c,C),o.push(C)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...ot(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
`}]}}const Sn=(function(e){if(e==null)return Nf;if(typeof e=="function")return xn(e);if(typeof e=="object")return Array.isArray(e)?If(e):yf(e);if(typeof e=="string")return kf(e);throw new Error("Expected function, string, or object as test")});function If(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Sn(e[n]);return xn(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function yf(e){const t=e;return xn(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function kf(e){return xn(t);function t(n){return n&&n.type===e}}function xn(e){return t;function t(n,r,u){return!!(Sf(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function Nf(){return!0}function Sf(e){return e!==null&&typeof e=="object"&&"type"in e}const $i=[],xf=!0,ur=!1,Of="skip";function Ki(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=Sn(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,h){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(E,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return E;function E(){let m=$i,_,S,O;if((!t||i(l,c,h[h.length-1]||void 0))&&(m=Lf(n(l,h)),m[0]===ur))return m;if("children"in l&&l.children){const C=l;if(C.children&&m[0]!==Of)for(S=(r?C.children.length:-1)+a,O=h.concat(C);S>-1&&S<C.children.length;){const P=C.children[S];if(_=o(P,S,O)(),_[0]===ur)return _;S=typeof _[1]=="number"?_[1]:S+a}}return m}}}function Lf(e){return Array.isArray(e)?e:typeof e=="number"?[xf,e]:e==null?$i:[e]}function On(e,t,n,r){let u,i,a;typeof t=="function"&&typeof n!="function"?(i=void 0,a=t,u=n):(i=t,a=n,u=r),Ki(e,i,o,u);function o(l,c){const h=c[c.length-1],f=h?h.children.indexOf(l):void 0;return a(l,f,h)}}const ir={}.hasOwnProperty,Df={};function Rf(e,t){const n=t||Df,r=new Map,u=new Map,i=new Map,a={...pf,...n.handlers},o={all:c,applyData:wf,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:Pf,wrap:Bf};return On(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,E=String(h.identifier).toUpperCase();f.has(E)||f.set(E,h)}}),o;function l(h,f){const E=h.type,m=o.handlers[E];if(ir.call(o.handlers,E)&&m)return m(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(E)){if("children"in h){const{children:S,...O}=h,C=ot(O);return C.children=o.all(h),C}return ot(h)}return(o.options.unknownHandler||Mf)(o,h,f)}function c(h){const f=[];if("children"in h){const E=h.children;let m=-1;for(;++m<E.length;){const _=o.one(E[m],h);if(_){if(m&&E[m-1].type==="break"&&(!Array.isArray(_)&&_.type==="text"&&(_.value=Nu(_.value)),!Array.isArray(_)&&_.type==="element")){const S=_.children[0];S&&S.type==="text"&&(S.value=Nu(S.value))}Array.isArray(_)?f.push(..._):f.push(_)}}}return f}}function Pf(e,t){e.position&&(t.position=Ni(e))}function wf(e,t){let n=t;if(e&&e.data){const r=e.data.hName,u=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&i&&Object.assign(n.properties,ot(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function Mf(e,t){const n=t.data||{},r="value"in t&&!(ir.call(n,"hProperties")||ir.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Bf(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
`});++r<e.length;)r&&n.push({type:"text",value:`
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
`}),n}function Nu(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Su(e,t){const n=Rf(e,t),r=n.one(e,void 0),u=Cf(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:`
`},u),i}function Ff(e,t){return e&&"run"in e?async function(n,r){const u=Su(n,{file:r,...t});await e.run(u,r)}:function(n,r){return Su(n,{file:r,...e||t})}}function xu(e){if(e)throw e}var Un,Ou;function Hf(){if(Ou)return Un;Ou=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,u=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},i=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var h=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!h&&!f)return!1;var E;for(E in c);return typeof E>"u"||e.call(c,E)},a=function(c,h){n&&h.name==="__proto__"?n(c,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):c[h.name]=h.newValue},o=function(c,h){if(h==="__proto__")if(e.call(c,h)){if(r)return r(c,h).value}else return;return c[h]};return Un=function l(){var c,h,f,E,m,_,S=arguments[0],O=1,C=arguments.length,P=!1;for(typeof S=="boolean"&&(P=S,S=arguments[1]||{},O=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});O<C;++O)if(c=arguments[O],c!=null)for(h in c)f=o(S,h),E=o(c,h),S!==E&&(P&&E&&(i(E)||(m=u(E)))?(m?(m=!1,_=f&&u(f)?f:[]):_=f&&i(f)?f:{},a(S,{name:h,newValue:l(P,_,E)})):typeof E<"u"&&a(S,{name:h,newValue:E}));return S},Un}var Uf=Hf();const vn=li(Uf);function ar(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function vf(){const e=[],t={run:n,use:r};return t;function n(...u){let i=-1;const a=u.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...u);function o(l,...c){const h=e[++i];let f=-1;if(l){a(l);return}for(;++f<u.length;)(c[f]===null||c[f]===void 0)&&(c[f]=u[f]);u=c,h?Yf(h,o)(...c):a(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function Yf(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(u);try{l=e.apply(this,a)}catch(c){const h=c;if(o&&n)throw h;return u(h)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,u):l instanceof Error?u(l):i(l))}function u(a,...o){n||(n=!0,t(a,...o))}function i(a){u(null,a)}}const Le={basename:zf,dirname:Wf,extname:qf,join:Gf,sep:"/"};function zf(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');en(e);let n=0,r=-1,u=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else r<0&&(i=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Wf(e){if(en(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function qf(e){en(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?u<0?u=t:i!==1&&(i=1):u>-1&&(i=-1)}return u<0||n<0||i===0||i===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function Gf(...e){let t=-1,n;for(;++t<e.length;)en(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Vf(n)}function Vf(e){en(e);const t=e.codePointAt(0)===47;let n=Qf(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Qf(e,t){let n="",r=0,u=-1,i=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(u===a-1||i===1))if(u!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=a,i=0;continue}}else if(n.length>0){n="",r=0,u=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,a):n=e.slice(u+1,a),r=a-u-1;u=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function en(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const jf={cwd:Xf};function Xf(){return"/"}function sr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function $f(e){if(typeof e=="string")e=new URL(e);else if(!sr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Kf(e)}function Kf(e){if(e.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 t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const Yn=["history","path","basename","stem","extname","dirname"];class Ji{constructor(t){let n;t?sr(t)?n={path:t}:typeof t=="string"||Jf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":jf.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Yn.length;){const i=Yn[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let u;for(u in n)Yn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Le.basename(this.path):void 0}set basename(t){Wn(t,"basename"),zn(t,"basename"),this.path=Le.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Le.dirname(this.path):void 0}set dirname(t){Lu(this.basename,"dirname"),this.path=Le.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Le.extname(this.path):void 0}set extname(t){if(zn(t,"extname"),Lu(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Le.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){sr(t)&&(t=$f(t)),Wn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Le.basename(this.path,this.extname):void 0}set stem(t){Wn(t,"stem"),zn(t,"stem"),this.path=Le.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new fe(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function zn(e,t){if(e&&e.includes(Le.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Le.sep+"`")}function Wn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Lu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Jf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Zf=(function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i}),eh={}.hasOwnProperty;class Sr extends Zf{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=vf()}copy(){const t=new Sr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(vn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Vn("data",this.frozen),this.namespace[t]=n,this):eh.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Vn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=on(t),r=this.parser||this.Parser;return qn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),qn("process",this.parser||this.Parser),Gn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=on(t),l=r.parse(o);r.run(l,o,function(h,f,E){if(h||!f||!E)return c(h);const m=f,_=r.stringify(m,E);rh(_)?E.value=_:E.result=_,c(h,E)});function c(h,f){h||!f?a(h):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),qn("processSync",this.parser||this.Parser),Gn("processSync",this.compiler||this.Compiler),this.process(t,u),Ru("processSync","process",n),r;function u(i,a){n=!0,xu(i),r=a}}run(t,n,r){Du(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const l=on(n);u.run(t,l,c);function c(h,f,E){const m=f||t;h?o(h):a?a(m):r(void 0,m,E)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),Ru("runSync","run",r),u;function i(a,o){xu(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=on(n),u=this.compiler||this.Compiler;return Gn("stringify",u),Du(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Vn("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;l(h,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))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");o(c.plugins),c.settings&&(u.settings=vn(!0,u.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];i(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,E=-1;for(;++f<r.length;)if(r[f][0]===c){E=f;break}if(E===-1)r.push([c,...h]);else if(h.length>0){let[m,..._]=h;const S=r[E][1];ar(S)&&ar(m)&&(m=vn(!0,S,m)),r[E]=[c,m,..._]}}}}const th=new Sr().freeze();function qn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Gn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Vn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Du(e){if(!ar(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ru(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function on(e){return nh(e)?e:new Ji(e)}function nh(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rh(e){return typeof e=="string"||uh(e)}function uh(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ih="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Pu=[],wu={allowDangerousHtml:!0},ah=/^(https?|ircs?|mailto|xmpp)$/i,sh=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function oh(e){const t=lh(e),n=ch(e);return fh(t.runSync(t.parse(n),n),e)}function lh(e){const t=e.rehypePlugins||Pu,n=e.remarkPlugins||Pu,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...wu}:wu;return th().use(z0).use(n).use(Ff,r).use(t)}function ch(e){const t=e.children||"",n=new Ji;return typeof t=="string"&&(n.value=t),n}function fh(e,t){const n=t.allowedElements,r=t.allowElement,u=t.components,i=t.disallowedElements,a=t.skipHtml,o=t.unwrapDisallowed,l=t.urlTransform||hh;for(const h of sh)Object.hasOwn(t,h.from)&&(""+h.from+(h.to?"use `"+h.to+"` instead":"remove it")+ih+h.id,void 0);return On(e,c),kl(e,{Fragment:rt.Fragment,components:u,ignoreInvalidStyle:!0,jsx:rt.jsx,jsxs:rt.jsxs,passKeys:!0,passNode:!0});function c(h,f,E){if(h.type==="raw"&&E&&typeof f=="number")return a?E.children.splice(f,1):E.children[f]={type:"text",value:h.value},f;if(h.type==="element"){let m;for(m in Bn)if(Object.hasOwn(Bn,m)&&Object.hasOwn(h.properties,m)){const _=h.properties[m],S=Bn[m];(S===null||S.includes(h.tagName))&&(h.properties[m]=l(String(_||""),m,h))}}if(h.type==="element"){let m=n?!n.includes(h.tagName):i?i.includes(h.tagName):!1;if(!m&&r&&typeof f=="number"&&(m=!r(h,f,E)),m&&E&&typeof f=="number")return o&&h.children?E.children.splice(f,1,...h.children):E.children.splice(f,1),f}}}function hh(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),u=e.indexOf("/");return t===-1||u!==-1&&t>u||n!==-1&&t>n||r!==-1&&t>r||ah.test(e.slice(0,t))?e:""}function Mu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function dh(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function mh(e,t,n){const u=Sn((n||{}).ignore||[]),i=ph(t);let a=-1;for(;++a<i.length;)Ki(e,"text",o);function o(c,h){let f=-1,E;for(;++f<h.length;){const m=h[f],_=E?E.children:void 0;if(u(m,_?_.indexOf(m):void 0,E))return;E=m}if(E)return l(c,h)}function l(c,h){const f=h[h.length-1],E=i[a][0],m=i[a][1];let _=0;const O=f.children.indexOf(c);let C=!1,P=[];E.lastIndex=0;let D=E.exec(c.value);for(;D;){const Y=D.index,z={index:D.index,input:D.input,stack:[...h,c]};let N=m(...D,z);if(typeof N=="string"&&(N=N.length>0?{type:"text",value:N}:void 0),N===!1?E.lastIndex=Y+1:(_!==Y&&P.push({type:"text",value:c.value.slice(_,Y)}),Array.isArray(N)?P.push(...N):N&&P.push(N),_=Y+D[0].length,C=!0),!E.global)break;D=E.exec(c.value)}return C?(_<c.value.length&&P.push({type:"text",value:c.value.slice(_)}),f.children.splice(O,1,...P)):P=[c],O+P.length}}function ph(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const u=n[r];t.push([Eh(u[0]),Th(u[1])])}return t}function Eh(e){return typeof e=="string"?new RegExp(dh(e),"g"):e}function Th(e){return typeof e=="function"?e:function(){return e}}const Qn="phrasing",jn=["autolink","link","image","label"];function gh(){return{transforms:[kh],enter:{literalAutolink:_h,literalAutolinkEmail:Xn,literalAutolinkHttp:Xn,literalAutolinkWww:Xn},exit:{literalAutolink:yh,literalAutolinkEmail:Ih,literalAutolinkHttp:Ah,literalAutolinkWww:Ch}}}function bh(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Qn,notInConstruct:jn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Qn,notInConstruct:jn},{character:":",before:"[ps]",after:"\\/",inConstruct:Qn,notInConstruct:jn}]}}function _h(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Xn(e){this.config.enter.autolinkProtocol.call(this,e)}function Ah(e){this.config.exit.autolinkProtocol.call(this,e)}function Ch(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Ih(e){this.config.exit.autolinkEmail.call(this,e)}function yh(e){this.exit(e)}function kh(e){mh(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Nh],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Sh]],{ignore:["link","linkReference"]})}function Nh(e,t,n,r,u){let i="";if(!Zi(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!xh(n)))return!1;const a=Oh(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function Sh(e,t,n,r){return!Zi(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function xh(e){const 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 Oh(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const u=Mu(e,"(");let i=Mu(e,")");for(;r!==-1&&u>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function Zi(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||st(n)||yn(n))&&(!t||n!==47)}ea.peek=Hh;function Lh(){this.buffer()}function Dh(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Rh(){this.buffer()}function Ph(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function wh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Se(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Mh(e){this.exit(e)}function Bh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Se(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Fh(e){this.exit(e)}function Hh(){return"["}function ea(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{after:"]",before:i})),o(),a(),i+=u.move("]"),i}function Uh(){return{enter:{gfmFootnoteCallString:Lh,gfmFootnoteCall:Dh,gfmFootnoteDefinitionLabelString:Rh,gfmFootnoteDefinition:Ph},exit:{gfmFootnoteCallString:wh,gfmFootnoteCall:Mh,gfmFootnoteDefinitionLabelString:Bh,gfmFootnoteDefinition:Fh}}}function vh(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:ea},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,u,i,a){const o=i.createTracker(a);let l=o.move("[^");const c=i.enter("footnoteDefinition"),h=i.enter("label");return l+=o.move(i.safe(i.associationId(r),{before:l,after:"]"})),h(),l+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),l+=o.move((t?`
`:" ")+i.indentLines(i.containerFlow(r,o.current()),t?ta:Yh))),c(),l}}function Yh(e,t,n){return t===0?e:ta(e,t,n)}function ta(e,t,n){return(n?"":" ")+e}const zh=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];na.peek=Qh;function Wh(){return{canContainEols:["delete"],enter:{strikethrough:Gh},exit:{strikethrough:Vh}}}function qh(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:zh}],handlers:{delete:na}}}function Gh(e){this.enter({type:"delete",children:[]},e)}function Vh(e){this.exit(e)}function na(e,t,n,r){const u=n.createTracker(r),i=n.enter("strikethrough");let a=u.move("~~");return a+=n.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),i(),a}function Qh(){return"~"}function jh(e){return e.length}function Xh(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||jh,i=[],a=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const S=[],O=[];let C=-1;for(e[h].length>c&&(c=e[h].length);++C<e[h].length;){const P=$h(e[h][C]);if(n.alignDelimiters!==!1){const D=u(P);O[C]=D,(l[C]===void 0||D>l[C])&&(l[C]=D)}S.push(P)}a[h]=S,o[h]=O}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=Bu(r[f]);else{const S=Bu(r);for(;++f<c;)i[f]=S}f=-1;const E=[],m=[];for(;++f<c;){const S=i[f];let O="",C="";S===99?(O=":",C=":"):S===108?O=":":S===114&&(C=":");let P=n.alignDelimiters===!1?1:Math.max(1,l[f]-O.length-C.length);const D=O+"-".repeat(P)+C;n.alignDelimiters!==!1&&(P=O.length+P+C.length,P>l[f]&&(l[f]=P),m[f]=P),E[f]=D}a.splice(1,0,E),o.splice(1,0,m),h=-1;const _=[];for(;++h<a.length;){const S=a[h],O=o[h];f=-1;const C=[];for(;++f<c;){const P=S[f]||"";let D="",Y="";if(n.alignDelimiters!==!1){const z=l[f]-(O[f]||0),N=i[f];N===114?D=" ".repeat(z):N===99?z%2?(D=" ".repeat(z/2+.5),Y=" ".repeat(z/2-.5)):(D=" ".repeat(z/2),Y=D):Y=" ".repeat(z)}n.delimiterStart!==!1&&!f&&C.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&P==="")&&(n.delimiterStart!==!1||f)&&C.push(" "),n.alignDelimiters!==!1&&C.push(D),C.push(P),n.alignDelimiters!==!1&&C.push(Y),n.padding!==!1&&C.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&C.push("|")}_.push(n.delimiterEnd===!1?C.join("").replace(/ +$/,""):C.join(""))}return _.join(`
`)}function $h(e){return e==null?"":String(e)}function Bu(e){const 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}const Fu={}.hasOwnProperty;function ra(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Fu.call(u,e)){const l=String(u[e]);a=Fu.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Kh(e,t,n,r){const u=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),Jh);return u(),a}function Jh(e,t,n){return">"+(n?"":" ")+e}function Zh(e,t){return Hu(e,t.inConstruct,!0)&&!Hu(e,t.notInConstruct,!1)}function Hu(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 Uu(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
`&&Zh(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
`}function ed(e,t){const n=String(e);let r=n.indexOf(t),u=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===u?++i>a&&(a=i):i=1,u=r+t.length,r=n.indexOf(t,u);return a}function td(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 nd(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function rd(e,t,n,r){const u=nd(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(td(e,n)){const f=n.enter("codeIndented"),E=n.indentLines(i,ud);return f(),E}const o=n.createTracker(r),l=u.repeat(Math.max(ed(i,u)+1,3)),c=n.enter("codeFenced");let h=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${a}`);h+=o.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);h+=o.move(" "),h+=o.move(n.safe(e.meta,{before:h,after:`
`,encode:["`"],...o.current()})),f()}return h+=o.move(`
`),i&&(h+=o.move(i+`
`)),h+=o.move(l),c(),h}function ud(e,t,n){return(n?"":" ")+e}function xr(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function id(e,t,n,r){const u=xr(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
`,...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),a(),c}function ad(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Xt(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Tn(e,t,n){const r=At(e),u=At(t);return r===void 0?u===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}ua.peek=sd;function ua(e,t,n,r){const u=ad(n),i=n.enter("emphasis"),a=n.createTracker(r),o=a.move(u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=Tn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Xt(c)+l.slice(1));const f=l.charCodeAt(l.length-1),E=Tn(r.after.charCodeAt(0),f,u);E.inside&&(l=l.slice(0,-1)+Xt(f));const m=a.move(u);return i(),n.attentionEncodeSurroundingInfo={after:E.outside,before:h.outside},o+l+m}function sd(e,t,n){return n.options.emphasis||"*"}function od(e,t){let n=!1;return On(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,ur}),!!((!e.depth||e.depth<3)&&_r(e)&&(t.options.setext||n))}function ld(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(od(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),E=n.containerPhrasing(e,{...i.current(),before:`
`,after:`
`});return f(),h(),E+`
`+(u===1?"=":"-").repeat(E.length-(Math.max(E.lastIndexOf("\r"),E.lastIndexOf(`
`))+1))}const a="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
`,...i.current()});return/^[\t ]/.test(c)&&(c=Xt(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}ia.peek=cd;function ia(e){return e.value||""}function cd(){return"<"}aa.peek=fd;function aa(e,t,n,r){const u=xr(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),c+=l.move(")"),a(),c}function fd(){return"!"}sa.peek=hd;function sa(e,t,n,r){const u=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function hd(){return"!"}oa.peek=dd;function oa(e,t,n){let r=e.value||"",u="`",i=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(r);)u+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return u+r+u}function dd(){return"`"}function la(e,t){const n=_r(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))}ca.peek=md;function ca(e,t,n,r){const u=xr(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(la(e,n)){const h=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=h,f}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=a.move(" "+u),c+=a.move(n.safe(e.title,{before:c,after:u,...a.current()})),c+=a.move(u),l()),c+=a.move(")"),o(),c}function md(e,t,n){return la(e,n)?"<":"["}fa.peek=pd;function fa(e,t,n,r){const u=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function pd(){return"["}function Or(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ed(e){const t=Or(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Td(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function ha(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function gd(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?Td(n):Or(n);const o=e.ordered?a==="."?")":".":Ed(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&h&&(!h.children||!h.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&&(l=!0),ha(n)===a&&h){let f=-1;for(;++f<e.children.length;){const E=e.children[f];if(E&&E.type==="listItem"&&E.children&&E.children[0]&&E.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,u(),c}function bd(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function _d(e,t,n,r){const u=bd(n);let i=n.bulletCurrent||Or(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let a=i.length+1;(u==="tab"||u==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(i+" ".repeat(a-i.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),h);return l(),c;function h(f,E,m){return E?(m?"":" ".repeat(a))+f:(m?i:i+" ".repeat(a-i.length))+f}}function Ad(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const Cd=Sn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Id(e,t,n,r){return(e.children.some(function(a){return Cd(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function yd(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}da.peek=kd;function da(e,t,n,r){const u=yd(n),i=n.enter("strong"),a=n.createTracker(r),o=a.move(u+u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=Tn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Xt(c)+l.slice(1));const f=l.charCodeAt(l.length-1),E=Tn(r.after.charCodeAt(0),f,u);E.inside&&(l=l.slice(0,-1)+Xt(f));const m=a.move(u+u);return i(),n.attentionEncodeSurroundingInfo={after:E.outside,before:h.outside},o+l+m}function kd(e,t,n){return n.options.strong||"*"}function Nd(e,t,n,r){return n.safe(e.value,r)}function Sd(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function xd(e,t,n){const r=(ha(n)+(n.options.ruleSpaces?" ":"")).repeat(Sd(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ma={blockquote:Kh,break:Uu,code:rd,definition:id,emphasis:ua,hardBreak:Uu,heading:ld,html:ia,image:aa,imageReference:sa,inlineCode:oa,link:ca,linkReference:fa,list:gd,listItem:_d,paragraph:Ad,root:Id,strong:da,text:Nd,thematicBreak:xd};function Od(){return{enter:{table:Ld,tableData:vu,tableHeader:vu,tableRow:Rd},exit:{codeText:Pd,table:Dd,tableData:$n,tableHeader:$n,tableRow:$n}}}function Ld(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Dd(e){this.exit(e),this.data.inTable=void 0}function Rd(e){this.enter({type:"tableRow",children:[]},e)}function $n(e){this.exit(e)}function vu(e){this.enter({type:"tableCell",children:[]},e)}function Pd(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,wd));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function wd(e,t){return t==="|"?t:e}function Md(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:E,table:a,tableCell:l,tableRow:o}};function a(m,_,S,O){return c(h(m,S,O),m.align)}function o(m,_,S,O){const C=f(m,S,O),P=c([C]);return P.slice(0,P.indexOf(`
`))}function l(m,_,S,O){const C=S.enter("tableCell"),P=S.enter("phrasing"),D=S.containerPhrasing(m,{...O,before:i,after:i});return P(),C(),D}function c(m,_){return Xh(m,{align:_,alignDelimiters:r,padding:n,stringLength:u})}function h(m,_,S){const O=m.children;let C=-1;const P=[],D=_.enter("table");for(;++C<O.length;)P[C]=f(O[C],_,S);return D(),P}function f(m,_,S){const O=m.children;let C=-1;const P=[],D=_.enter("tableRow");for(;++C<O.length;)P[C]=l(O[C],m,_,S);return D(),P}function E(m,_,S){let O=ma.inlineCode(m,_,S);return S.stack.includes("tableCell")&&(O=O.replace(/\|/g,"\\$&")),O}}function Bd(){return{exit:{taskListCheckValueChecked:Yu,taskListCheckValueUnchecked:Yu,paragraph:Hd}}}function Fd(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Ud}}}function Yu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Hd(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const u=t.children;let i=-1,a;for(;++i<u.length;){const o=u[i];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Ud(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let l=ma.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+a}}function vd(){return[gh(),Uh(),Wh(),Od(),Bd()]}function Yd(e){return{extensions:[bh(),vh(e),qh(),Md(e),Fd()]}}const zd={tokenize:jd,partial:!0},pa={tokenize:Xd,partial:!0},Ea={tokenize:$d,partial:!0},Ta={tokenize:Kd,partial:!0},Wd={tokenize:Jd,partial:!0},ga={name:"wwwAutolink",tokenize:Vd,previous:_a},ba={name:"protocolAutolink",tokenize:Qd,previous:Aa},Ye={name:"emailAutolink",tokenize:Gd,previous:Ca},Me={};function qd(){return{text:Me}}let et=48;for(;et<123;)Me[et]=Ye,et++,et===58?et=65:et===91&&(et=97);Me[43]=Ye;Me[45]=Ye;Me[46]=Ye;Me[95]=Ye;Me[72]=[Ye,ba];Me[104]=[Ye,ba];Me[87]=[Ye,ga];Me[119]=[Ye,ga];function Gd(e,t,n){const r=this;let u,i;return a;function a(f){return!or(f)||!Ca.call(r,r.previous)||Lr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return or(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(Wd,h,c)(f):f===45||f===95||ce(f)?(i=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return i&&u&&me(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function Vd(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!_a.call(r,r.previous)||Lr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(zd,e.attempt(pa,e.attempt(Ea,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Qd(e,t,n){const r=this;let u="",i=!1;return a;function a(f){return(f===72||f===104)&&Aa.call(r,r.previous)&&!Lr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(me(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const E=u.toLowerCase();if(E==="http"||E==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),i?c:(i=!0,l)):n(f)}function c(f){return f===null||pn(f)||te(f)||st(f)||yn(f)?n(f):e.attempt(pa,e.attempt(Ea,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function jd(e,t,n){let r=0;return u;function u(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),u):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function Xd(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(Ta,l,o)(c):c===null||te(c)||st(c)||c!==45&&yn(c)?l(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),a}function l(c){return u||r||!i?n(c):t(c)}}function $d(e,t){let n=0,r=0;return u;function u(a){return a===40?(n++,e.consume(a),u):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(Ta,t,i)(a):a===null||te(a)||st(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function Kd(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),i):o===93?(e.consume(o),u):o===60||o===null||te(o)||st(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||te(o)||st(o)?t(o):r(o)}function i(o){return me(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):me(o)?(e.consume(o),a):n(o)}}function Jd(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return ce(i)?n(i):t(i)}}function _a(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||te(e)}function Aa(e){return!me(e)}function Ca(e){return!(e===47||or(e))}function or(e){return e===43||e===45||e===46||e===95||ce(e)}function Lr(e){let t=e.length,n=!1;for(;t--;){const 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}const Zd={tokenize:sm,partial:!0};function em(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:um,continuation:{tokenize:im},exit:am}},text:{91:{name:"gfmFootnoteCall",tokenize:rm},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:tm,resolveTo:nm}}}}function tm(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Se(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function nm(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";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function rm(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(i>999||f===93&&!a||f===null||f===91||te(f))return n(f);if(f===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return u.includes(Se(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return te(f)||(a=!0),i++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),i++,c):c(f)}}function um(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(_){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(_){return _===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(_)}function h(_){if(a>999||_===93&&!o||_===null||_===91||te(_))return n(_);if(_===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return i=Se(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return te(_)||(o=!0),a++,e.consume(_),_===92?f:h}function f(_){return _===91||_===92||_===93?(e.consume(_),a++,h):h(_)}function E(_){return _===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),u.includes(i)||u.push(i),j(e,m,"gfmFootnoteDefinitionWhitespace")):n(_)}function m(_){return t(_)}}function im(e,t,n){return e.check(Zt,t,e.attempt(Zd,t,n))}function am(e){e.exit("gfmFootnoteDefinition")}function sm(e,t,n){const r=this;return j(e,u,"gfmFootnoteDefinitionIndent",5);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function om(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},E=[["enter",h,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],m=o.parser.constructs.insideSpan.null;m&&_e(E,E.length,0,kn(m,a.slice(c+1,l),o)),_e(E,E.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),_e(a,c-1,l-c+3,E),l=c+E.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function i(a,o,l){const c=this.previous,h=this.events;let f=0;return E;function E(_){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(_):(a.enter("strikethroughSequenceTemporary"),m(_))}function m(_){const S=At(c);if(_===126)return f>1?l(_):(a.consume(_),f++,m);if(f<2&&!n)return l(_);const O=a.exit("strikethroughSequenceTemporary"),C=At(_);return O._open=!C||C===2&&!!S,O._close=!S||S===2&&!!C,o(_)}}}class lm{constructor(){this.map=[]}add(t,n,r){cm(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let u=r.pop();for(;u;){for(const i of u)t.push(i);u=r.pop()}this.map.length=0}}function cm(e,t,n,r){let u=0;if(!(n===0&&r.length===0)){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=n,e.map[u][2].push(...r);return}u+=1}e.map.push([t,n,r])}}function fm(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function hm(){return{flow:{null:{name:"table",tokenize:dm,resolveAll:mm}}}}function dm(e,t,n){const r=this;let u=0,i=0,a;return o;function o(y){let B=r.events.length-1;for(;B>-1;){const U=r.events[B][1].type;if(U==="lineEnding"||U==="linePrefix")B--;else break}const F=B>-1?r.events[B][1].type:null,K=F==="tableHead"||F==="tableRow"?N:l;return K===N&&r.parser.lazy[r.now().line]?n(y):K(y)}function l(y){return e.enter("tableHead"),e.enter("tableRow"),c(y)}function c(y){return y===124||(a=!0,i+=1),h(y)}function h(y){return y===null?n(y):H(y)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),m):n(y):G(y)?j(e,h,"whitespace")(y):(i+=1,a&&(a=!1,u+=1),y===124?(e.enter("tableCellDivider"),e.consume(y),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(y)))}function f(y){return y===null||y===124||te(y)?(e.exit("data"),h(y)):(e.consume(y),y===92?E:f)}function E(y){return y===92||y===124?(e.consume(y),f):f(y)}function m(y){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(y):(e.enter("tableDelimiterRow"),a=!1,G(y)?j(e,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y):_(y))}function _(y){return y===45||y===58?O(y):y===124?(a=!0,e.enter("tableCellDivider"),e.consume(y),e.exit("tableCellDivider"),S):z(y)}function S(y){return G(y)?j(e,O,"whitespace")(y):O(y)}function O(y){return y===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(y),e.exit("tableDelimiterMarker"),C):y===45?(i+=1,C(y)):y===null||H(y)?Y(y):z(y)}function C(y){return y===45?(e.enter("tableDelimiterFiller"),P(y)):z(y)}function P(y){return y===45?(e.consume(y),P):y===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(y),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(y))}function D(y){return G(y)?j(e,Y,"whitespace")(y):Y(y)}function Y(y){return y===124?_(y):y===null||H(y)?!a||u!==i?z(y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(y)):z(y)}function z(y){return n(y)}function N(y){return e.enter("tableRow"),V(y)}function V(y){return y===124?(e.enter("tableCellDivider"),e.consume(y),e.exit("tableCellDivider"),V):y===null||H(y)?(e.exit("tableRow"),t(y)):G(y)?j(e,V,"whitespace")(y):(e.enter("data"),$(y))}function $(y){return y===null||y===124||te(y)?(e.exit("data"),V(y)):(e.consume(y),y===92?X:$)}function X(y){return y===92||y===124?(e.consume(y),$):$(y)}}function mm(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,h,f;const E=new lm;for(;++n<e.length;){const m=e[n],_=m[1];m[0]==="enter"?_.type==="tableHead"?(o=!1,l!==0&&(zu(E,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},E.add(n,0,[["enter",c,t]])):_.type==="tableRow"||_.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},E.add(n,0,[["enter",h,t]])),u=_.type==="tableDelimiterRow"?2:h?3:1):u&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=ln(E,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):_.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=ln(E,t,i,u,void 0,f)),i=a,a=[i[1],n,0,0])):_.type==="tableHead"?(o=!0,l=n):_.type==="tableRow"||_.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],f=ln(E,t,i,u,n,f)):a[1]!==0&&(f=ln(E,t,a,u,n,f)),u=0):u&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&zu(E,t,l,c,h),E.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=fm(t.events,n))}return e}function ln(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},Tt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Tt(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=Tt(t.events,n[2]),h=Tt(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const E=t.events[n[2]],m=t.events[n[3]];if(E[1].end=Object.assign({},m[1].end),E[1].type="chunkText",E[1].contentType="text",n[3]>n[2]+1){const _=n[2]+1,S=n[3]-n[2]-1;e.add(_,S,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(i.end=Object.assign({},Tt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function zu(e,t,n,r,u){const i=[],a=Tt(t.events,n);u&&(u.end=Object.assign({},a),i.push(["exit",u,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function Tt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const pm={name:"tasklistCheck",tokenize:Tm};function Em(){return{text:{91:pm}}}function Tm(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return te(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return H(l)?t(l):G(l)?e.check({tokenize:gm},t,n)(l):n(l)}}function gm(e,t,n){return j(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function bm(e){return Ri([qd(),em(),om(e),hm(),Em()])}const _m={};function Am(e){const t=this,n=e||_m,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(bm(n)),i.push(vd()),a.push(Yd(n))}const Wu=/[#.]/g;function Cm(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Wu.lastIndex=u;const o=Wu.exec(n),l=n.slice(u,o?o.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,u+=l.length),o&&(i=o[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function Ia(e,t,n){const r=n?Nm(n):void 0;function u(i,a,...o){let l;if(i==null){l={type:"root",children:[]};const c=a;o.unshift(c)}else{l=Cm(i,t);const c=l.tagName.toLowerCase(),h=r?r.get(c):void 0;if(l.tagName=h||c,Im(a))o.unshift(a);else for(const[f,E]of Object.entries(a))ym(e,l.properties,f,E)}for(const c of o)lr(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return u}function Im(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const u=t[r];if(u&&typeof u=="object"){if(!Array.isArray(u))return!0;const i=u;for(const a of i)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function ym(e,t,n,r){const u=Cn(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?u.spaceSeparated?i=nu(r):u.commaSeparated?i=Kr(r):u.commaOrSpaceSeparated?i=nu(Kr(r).join(" ")):i=qu(u,u.property,r):Array.isArray(r)?i=[...r]:i=u.property==="style"?km(r):String(r);if(Array.isArray(i)){const a=[];for(const o of i)a.push(qu(u,u.property,o));i=a}u.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[u.property]=i}}function lr(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)lr(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?lr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function qu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Qt(n)===Qt(t)))return!0}return n}function km(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Nm(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Sm=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],xm=Ia(Jt,"div"),Om=Ia($e,"g",Sm);function Lm(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=Gu(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>i)return{line:a+1,column:i-(a>0?n[a-1]:0)+1,offset:i};a++}}}function u(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const o=n[n.length-1],l=Gu(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function Gu(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const ut={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ya={}.hasOwnProperty,Dm=Object.prototype;function Rm(e,t){const n=t||{};return Dr({file:n.file||void 0,location:!1,schema:n.space==="svg"?$e:Jt,verbose:n.verbose||!1},e)}function Dr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},hn(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:ka(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=Lm(i),o=a.toPoint(0),l=a.toPoint(i.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},hn(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},hn(e,r,n),n}default:return n=Pm(e,t),n}}function ka(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=Dr(e,t[n]);r.push(u)}return r}function Pm(e,t){const n=e.schema;e.schema=t.namespaceURI===ut.svg?$e:Jt;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;ya.call(Dm,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?Om:xm)(t.tagName,u,ka(e,t.childNodes));if(hn(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&>(l.startTag),h=l&&l.endTag&>(l.endTag),f=Dr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function hn(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=wm(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function wm(e,t,n){const r=gt(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const i={};let a;if(n.attrs)for(a in n.attrs)ya.call(n.attrs,a)&&(i[Cn(e.schema,a).property]=gt(n.attrs[a]));n.startTag;const o=gt(n.startTag),l=n.endTag?gt(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function gt(e){const t=Vu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Vu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Vu(e){return e.line&&e.column?e:void 0}const Mm={},Bm={}.hasOwnProperty,Na=ra("type",{handlers:{root:Hm,element:Wm,text:Ym,comment:zm,doctype:vm}});function Fm(e,t){const r=(t||Mm).space;return Na(e,r==="svg"?$e:Jt)}function Hm(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Rr(e.children,n,t),kt(e,n),n}function Um(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Rr(e.children,n,t),kt(e,n),n}function vm(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return kt(e,t),t}function Ym(e){const t={nodeName:"#text",value:e.value,parentNode:null};return kt(e,t),t}function zm(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return kt(e,t),t}function Wm(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=$e);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&Bm.call(e.properties,i)){const l=qm(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:ut[a],childNodes:[],parentNode:null};return o.childNodes=Rr(e.children,o,r),kt(e,o),e.tagName==="template"&&e.content&&(o.content=Um(e.content,r)),o}function qm(e,t,n){const r=Cn(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Ei(n):yi(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=u.name.indexOf(":");i<0?u.prefix="":(u.name=u.name.slice(i+1),u.prefix=r.attribute.slice(0,i)),u.namespace=ut[r.space]}return u}function Rr(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Na(e[r],n);i.parentNode=t,u.push(i)}return u}function kt(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Gm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Vm=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),re="�";var d;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(d||(d={}));const pe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Sa(e){return e>=55296&&e<=57343}function Qm(e){return e>=56320&&e<=57343}function jm(e,t){return(e-55296)*1024+9216+t}function xa(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Oa(e){return e>=64976&&e<=65007||Vm.has(e)}var I;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(I||(I={}));const Xm=65536;class $m{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Xm,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:u,offset:i}=this,a=u+n,o=i+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Qm(n))return this.pos++,this._addGap(),jm(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,d.EOF;return this._err(I.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;const r=this.html.charCodeAt(n);return r===d.CARRIAGE_RETURN?d.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;let t=this.html.charCodeAt(this.pos);return t===d.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,d.LINE_FEED):t===d.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Sa(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===d.LINE_FEED||t===d.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){xa(t)?this._err(I.controlCharacterInInputStream):Oa(t)&&this._err(I.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var q;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(q||(q={}));function La(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Km=new Uint16Array('áµ<ÕıʊÒÕ»×ٵ۞ޢߖà ੊ઑඡà¹à¼‰à¼¦áƒŠáˆ¨á‹¡á•á’ᓃᓟᔥ\0\0\0\0\0\0á•«á›á¦á°’á·á½¾â ↰âŠâ€â»â‘‚â ¤â¤’â´ˆâ¹ˆâ¿Žã€–ãŠºã˜¹ãž¬ã£¾ã¨¨ã©±ã« ã¬®à €EMabcfglmnoprstu\\bfms„‹Â•˜¦³¹ÈÃlig耻Æ䃆P耻&䀦cute耻Ãäƒreve;ä„‚Ä€iyx}rc耻Â䃂;är;쀀ð”„rave耻À䃀pha;䎑acr;ä„€d;æ©“Ä€gp¡on;ä„„f;쀀ð”¸plyFunction;æ¡ing耻Å䃅Ācs¾Ãr;쀀ð’œign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䑯€crtąċĔause;戵noullis;愬a;䎒r;쀀ð”…pf;쀀ð”¹eve;䋘còēmpeq;扎܀HOacdefhilorsuÅőŖƀƞƢƵƷƺǜȕɳɸɾcy;ä§PY耻©䂩ƀcpyÅŢźute;䄆Ā;iŧŨ拒talDifferentialD;æ……leys;æ„È€aeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧÆilla;䂸terDot;䂷òſi;䎧rcleÈ€DMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oÄ€csǢǸkwiseContourIntegral;戲eCurlyÄ€DQȃÈoubleQuote;æ€uote;怙ȀlnpuȞȨɇɕonÄ€;eȥȦ户;æ©´Æ€gitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;æ„‚oduct;æˆnterClockwiseContourIntegral;戳oss;樯cr;쀀ð’žpÄ€;Cʄʅ拓ap;æ‰Ö€DJSZacefiosÊ Ê¬Ê°Ê´Ê¸Ë‹Ë—Ë¡Ë¦Ì³ÒÄ€;oŹʥtrahd;椑cy;ä‚cy;ä…cy;䯀grsʿ˄ˇger;怡r;憡hv;櫤ĀayËË•ron;䄎;ä”lÄ€;tË˞戇a;䎔r;쀀ð”‡Ä€af˫̧Ācm˰̢riticalÈ€ADGT̖̜̀̆cute;ä‚´oÅ´Ì‹Ì;ä‹™bleAcute;ä‹rave;ä ilde;䋜ond;æ‹„ferentialD;慆Ѱ̽\0\0\0͔͂\0Ð…f;ì€€ð”»Æ€;DE͈͉Í䂨ot;惜qual;æ‰bleÌ€CDLRUVͣͲ΂ÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftÆ€ARTÎΖΡrrow;æ‡ightArrow;懔eåˊngÄ€LRΫτeftÄ€ARγιrrow;柸ightArrow;柺ightArrow;柹ightÄ€ATϘϞrrow;懒ee;抨pÉÏ©\0\0ϯrrow;懑ownArrow;懕erticalBar;戥nÌ€ABLRTaВЪаўѿͼrrowÆ€;BUÐОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ÑightVector;æ¥eeVector;楞ectorÄ€;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorÄ€;BѺѻæ‡ar;楗eeÄ€;A҆҇护rrow;憧ĀctÒ’Ò—r;쀀ð’Ÿrok;ä„à €NTacdfglmopqstuxÒ½Ó€Ó„Ó‹ÓžÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶Õ’ÕÕ Õ¥G;ä…ŠH耻Ãäƒcute耻É䃉ƀaiyÓ’Ó—Óœron;䄚rc耻Ê䃊;äot;ä„–r;쀀ð”ˆrave耻È䃈ement;戈ĀapÓºÓ¾cr;ä„’tyɓԆ\0\0Ô’mallSquare;æ—»erySmallSquare;æ–«Ä€gpÔ¦Ôªon;䄘f;쀀ð”¼silon;䎕uÄ€aiÔ¼Õ‰lÄ€;TՂՃ橵ilde;扂librium;懌ĀciÕ—Õšr;æ„°m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosÖ…ÖˆÖֲ׌y;ä¤r;쀀ð”‰lledɓ֗\0\0Ö£mallSquare;æ—¼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀ð”½All;戀riertrf;愱cò׋؀JTabcdfgorst×¨×¬×¯×ºØ€Ø’Ø–Ø›ØØ£Ù¬Ù²cy;äƒè€»>䀾mmaÄ€;d׷׸䎓;äœreve;䄞ƀeiy؇،Ødil;ä„¢rc;䄜;ä“ot;ä„ r;쀀ð”Š;æ‹™pf;쀀ð”¾eaterÌ€EFGLSTصلَٖٛ٦qualÄ€;Lؾؿ扥ess;æ‹›ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀ð’¢;扫ЀAacfiosuÚ…Ú‹Ú–Ú›ÚžÚªÚ¾ÛŠRDcy;äªÄ€ctÚÚ”ek;䋇;äžirc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;æ„izontalLine;攀Āctۃۅòکrok;䄦mpÅ„ÛÛ˜ownHumðįqual;æ‰Ü€EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދÞÞ•cy;ä•lig;䄲cy;äcute耻ÃäƒÄ€iyܓܘrc耻Î䃎;ä˜ot;ä„°r;æ„‘rave耻Ì䃌ƀ;apÜ Ü¯Ü¿Ä€cgÜ´Ü·r;䄪inaryI;æ…ˆlieóÏǴ݉\0ݢĀ;eÝݎ戬Āgrݓݘral;戫section;æ‹‚isibleÄ€CTݬݲomma;æ£imes;æ¢Æ€gptݿރވon;ä„®f;쀀ð•€a;䎙cr;æ„ilde;䄨ǫޚ\0Þžcy;ä†l耻ÃäƒÊ€cfosuެ޷޼߂ßÄ€iyÞ±Þµrc;ä„´;ä™r;쀀ð”pf;쀀ð•ǣ߇\0ߌr;쀀ð’¥rcy;äˆkcy;ä„΀HJacfosß¤ß¨ß¬ß±ß½à ‚à ˆcy;ä¥cy;äŒppa;䎚Āeyß¶ß»dil;ä„¶;äšr;쀀ð”Žpf;쀀ð•‚cr;쀀ð’¦Ö€JTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§‡à§à¨·à©‡cy;ä‰è€»<䀼ʀcmnprà ·à ¼à¡à¡„à¡ute;䄹bda;䎛g;柪lacetrf;æ„’r;憞ƀaeyࡗ࡜ࡡron;䄽dil;ä„»;ä›Ä€fsࡨ॰tÔ€ACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़Î४Ānrࢃà¢gleBracket;柨rowÆ€;BR࢙࢚࢞æ†ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorÄ€;Bࣛࣜ懃ar;楙loor;挊ightÄ€AV࣯ࣵrrow;憔ector;楎Āerà¤à¤—eÆ€;AVà¤‰à¤Šà¤æŠ£rrow;憤ector;楚iangleÆ€;BEतथऩ抲ar;æ§qual;抴pÆ€DTVषूौownVector;楑eeVector;æ¥ ectorÄ€;Bॖॗ憿ar;楘ectorÄ€;B॥०憼ar;楒ightáΜsÌ€EFGLSTॾঋকà¦à¦¢à¦qualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀ð”Ä€;eঽা拘ftarrow;懚idot;ä„¿Æ€npw৔ਖਛgÈ€LRlr৞৷ਂà¨eftÄ€AR০৬rrow;柵ightArrow;柷ightArrow;柶eftÄ€arγਊightáοightáϊf;쀀ð•ƒerÄ€LRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;ä…;扪Ѐacefiosuਗ਼à©à© ੷੼અઋ઎p;椅y;äœÄ€dl੥੯iumSpace;æŸlintrf;愳r;쀀ð”nusPlus;戓pf;쀀ð•„cò੶;䎜ҀJacefostuણધàªà«€à¬”ଙඑ඗ඞcy;äŠcute;䅃ƀaey઴હાron;ä…‡dil;ä……;䯀gswે૰଎ativeÆ€MTV૓૟૨ediumSpace;怋hiÄ€cn૦૘ë૙eryThiî૙tedÄ€GL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀ð”‘È€Bnptଢନଷ଺reak;æ BreakingSpace;ä‚ f;æ„•Ú€;CDEGHLNPRSTVà•à–àªà¼à®¡à¯«à°„౞಄ದ೘ൡඅ櫬Āouà›à¤ngruent;扢pCap;æ‰oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualÄ€;Tà®’à®“æ‰ ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀â‰Ì¸eÄ€fsà°Šà°§tTriangleÆ€;BEచఛడ拪ar;쀀â§Ì¸qual;括sÌ€;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedÄ€GL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesÆ€;ESಒಓಛ技qual;쀀⪯̸lantEqual;æ‹ Ä€eiಫಹverseElement;戌ghtTriangleÆ€;BEೋೌ೒拫ar;쀀â§Ì¸qual;æ‹Ä€quà³à´ŒuareSuÄ€bp೨೹setÄ€;E೰ೳ쀀âŠÌ¸qual;æ‹¢ersetÄ€;Eഃആ쀀âŠÌ¸qual;拣ƀbcpഓതൎsetÄ€;Eഛഞ쀀⊂⃒qual;抈ceedsÈ€;ESTലള഻െæŠqual;쀀⪰̸lantEqual;æ‹¡ilde;쀀≿̸ersetÄ€;E൘൛쀀⊃⃒qual;抉ildeÈ€;EFT൮൯൵ൿæ‰qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀ð’©ilde耻Ñ䃑;äŽÜ€Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;ä…’cute耻Ó䃓Āiyà·Žà·“rc耻Ô䃔;äžblac;ä…r;쀀ð”’rave耻Ò䃒ƀaei෮ෲ෶cr;ä…Œga;䎩cron;䎟pf;쀀ð•†enCurlyÄ€DQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀ð’ªash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erÄ€BP๋๠Āarà¹à¹“r;怾acÄ€ek๚๜;æžet;掴arenthesis;æœÒ€acfhilors๿ງຊàºàº’ດàºàº°à»¼rtialD;戂y;äŸr;쀀ð”“i;䎦;äŽ usMinus;䂱ĀipຢàºncareplanÃ¥Úf;愙Ȁ;eio຺ູ໠໤檻cedesÈ€;EST່້à»à»šæ‰ºqual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;æˆortionÄ€;aȥ໹l;æˆÄ€cià¼à¼†r;쀀ð’«;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀ð””pf;愚cr;ì€€ð’¬Ø€BEacefhiorsu༾གྷཇའཱིྦྷྪà¾á‚–ႩႴႾarr;æ¤G耻®䂮ƀcnrཎནབute;ä…”g;柫rÄ€;tà½œà½æ† l;椖ƀaeyཧཬཱron;ä…˜dil;ä…–;ä Ä€;vླྀཹ愜erseÄ€EUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVaà¿à¿«à¿³á€¢á€¨á›á‚‡Ï˜Ä€nr࿆࿒gleBracket;柩rowÆ€;BL࿜à¿à¿¡æ†’ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;æ¥ectorÄ€;Bá€á€žæ‡‚ar;楕loor;挋Āerá€áƒeÆ€;AVဵံြ抢rrow;憦ector;楛iangleÆ€;BEáá‘á•æŠ³ar;æ§qual;抵pÆ€DTVá£á®á¸ownVector;æ¥eeVector;楜ectorÄ€;Bႂႃ憾ar;楔ectorÄ€;B႑႒懀ar;楓Āpuႛ႞f;æ„ndImplies;楰ightarrow;懛ĀchႹႼr;æ„›;憱leDelayed;æ§´Ú€HOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;ä©y;ä¨FTcy;ä¬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;ä… dil;ä…žrc;ä…œ;ä¡r;쀀ð”–ortÈ€DLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»à¿pArrow;憑gma;䎣allCircle;战pf;쀀ð•ŠÉ²á…\0\0á…°t;戚areÈ€;ISUᅻᅼᆉᆯ斡ntersection;抓uÄ€bpá†á†žsetÄ€;EᆗᆘæŠqual;抑ersetÄ€;EᆨᆩæŠqual;抒nion;抔cr;쀀ð’®ar;拆ȀbcmpᇈᇛሉላĀ;sá‡á‡Žæ‹etÄ€;Eá‡á‡•qual;抆ĀchᇠህeedsÈ€;ESTá‡á‡®á‡´á‡¿æ‰»qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetÄ€;EáˆœáˆæŠƒqual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;ä‹y;ä¦Ä€buቚቜ;䀉;䎤ƀaeyብቪቯron;ä…¤dil;ä…¢;ä¢r;쀀ð”—Ä€eiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀âŸâ€ŠSpace;怉ldeÈ€;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀ð•‹ipleDot;惛Āctá‹–á‹›r;쀀ð’¯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽá·áŽ…\0á¿á„áŠáÄ€crá‹»áŒute耻Ú䃚rÄ€;oጇገ憟cir;楉rǣጓ\0጖y;äŽve;䅬Āiyጞጣrc耻Û䃛;ä£blac;ä…°r;쀀ð”˜rave耻Ù䃙acr;䅪Ādiáá©erÄ€BPáˆáÄ€aráár;äŸacÄ€eká—á™;æŸet;掵arenthesis;æonÄ€;Pá°á±æ‹ƒlus;抎Āgpá»á¿on;ä…²f;쀀ð•ŒÐ€ADETadps᎕ᎮᎸá„Ϩá’á—á³rrowÆ€;BDá…ᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeÄ€;Aá‹áŒæŠ¥rrow;憥ownáϳerÄ€LRážá¨eftArrow;憖ightArrow;憗iÄ€;lá¹áºä’on;䎥ing;ä…®cr;쀀ð’°ilde;ä…¨ml耻Ü䃜ҀDbcdefosvá§á¬á°á³á¾á’…á’Šá’á’–ash;披ar;æ««y;ä’ashÄ€;lá»á¼æŠ©;櫦Āerᑃᑅ;æ‹Æ€btyᑌá‘ᑺar;怖Ā;iá‘á‘•calÈ€BLSTᑡᑥᑪᑴar;戣ine;ä¼eparator;æ˜ilde;所ThinSpace;怊r;쀀ð”™pf;쀀ð•cr;쀀ð’±dash;抪ʀcefosᒧᒬᒱᒶᒼirc;ä…´dge;æ‹€r;쀀ð”špf;쀀ð•Žcr;쀀ð’²È€fiosá“‹á“ᓒᓘr;쀀ð”›;䎞pf;쀀ð•cr;쀀ð’³Ò€AIUacfosuᓱᓵᓹᓽᔄá”ᔔᔚᔠcy;ä¯cy;ä‡cy;ä®cute耻ÃäƒÄ€iyᔉá”rc;ä…¶;ä«r;쀀ð”œpf;쀀ð•cr;쀀ð’´ml;䅸ЀHacdefosᔵᔹᔿᕋá•á•ᕠᕤcy;ä–cute;䅹Āayᕄᕉron;ä…½;ä—ot;䅻Dzᕔ\0á•›oWidtè૙a;䎖r;愨pf;愤cr;쀀ð’µà¯¡á–ƒá–Šá–\0á–°á–¶á–¿\0\0\0\0ᗆᗛᗫᙟá™\0ᚕ᚛ᚲᚹ\0áš¾cute耻á䃡reve;䄃̀;Ediuyá–œá–á–¡á–£á–¨á–æˆ¾;쀀∾̳;房rc耻â䃢te肻´̆;ä°lig耻æ䃦Ā;r²ᖺ;쀀ð”žraveè€»Ã äƒ Ä€epá—Šá—–Ä€fpá—á—”sym;愵èᗓha;䎱Āapá—ŸcÄ€clᗤᗧr;ä„g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿá˜á˜‡æˆ§nd;æ©•;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿá™á™™æˆ ;榤e»ᘙsdÄ€;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ€;vᙅᙆ戟bÄ€;dá™Œá™æŠ¾;æ¦Ä€ptᙔᙗh;戢»¹arr;æ¼Ä€gpᙣᙧon;ä„…f;쀀ð•’΀;Eaeiopá‹á™»á™½áš‚ᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxÄ€;eá‹áš’ñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀ð’¶;䀪mpÄ€;eá‹áš¯Ã±Êˆilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;æ¨‘à €Nabcdefiklnoprsuá›á›±áœ°áœ¼áƒáˆá¸á½áŸ áŸ¦á ¹á¡áœá¤½á¥ˆá¥°ot;æ«Ä€crᛶ᜞kÈ€cepsᜀᜅáœáœ“ong;扌psilon;ä¶rime;怵imÄ€;e᜚᜛戽q;æ‹Å¶áœ¢áœ¦ee;抽edÄ€;gáœ¬áœæŒ…e»áœrkÄ€;táœáœ·brk;掶Āoyáœá;ä±quo;怞ʀcmprtá“á›á¡á¤á¨ausÄ€;eĊĉptyv;榰séᜌnoõēƀahwá¯á±á³;䎲;æ„¶een;扬r;쀀ð”Ÿg΀costuvwážážáž³áŸáŸ•៛៞ƀaiuáž”áž–ážšÃ°Ý rc;æ—¯pÂ»á±Æ€dptឤឨážot;樀lus;æ¨imes;樂ɱឹ\0\0áž¾cup;樆ar;昅riangleÄ€duáŸáŸ’own;æ–½p;æ–³plus;樄eåᑄåá’arow;æ¤Æ€akoáŸá ¦á µÄ€cnáŸ²á £kÆ€lstáŸºÖ«á ‚ozenge;æ§«riangleÈ€;dlrá ’á “á ˜á æ–´own;æ–¾eft;æ—‚ight;æ–¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ–’;æ–‘4;æ–“ck;斈Āeoá ¾á¡Ä€;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;æŒÈ€ptwxᡙᡞᡧᡬf;쀀ð•“Ä€;tá‹á¡£om»áŒtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊá¤á¤¡È€LRlrᢎá¢á¢’ᢔ;æ•—;æ•”;æ•–;æ•“Ê€;DUduᢡᢢᢤᢦᢨæ•;敦;æ•©;敤;æ•§È€LRlrᢳᢵᢷᢹ;æ•;敚;敜;教΀;HLRhlrᣊᣋá£á£á£‘ᣓᣕ救;敬;æ•£;æ• ;æ•«;æ•¢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;æ••;æ•’;æ”;攌ʀ;DUduڽ᣷᣹᣻᣽;æ•¥;敨;攬;æ”´inus;抟lus;択imes;æŠ È€LRlrᤙᤛá¤á¤Ÿ;æ•›;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;æ•¡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀ð’·mi;æmÄ€;e᜚᜜lÆ€;bhᥨᥩᥫäœ;æ§…sub;柈Ŭᥴ᥾lÄ€;e᥹᥺怢t»᥺pÆ€;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá’\0᯽\0ᰌƀcprá¦á¦²á§ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;æ©„rcup;橉Āauá§á§’p;æ©‹p;橇ot;æ©€;쀀∩︀Āeo᧢᧥t;æÃ®Ú“È€aeiuá§°á§»á¨á¨…ǰ᧵\0᧸s;æ©on;ä„dil耻ç䃧rc;䄉psÄ€;sá¨Œá¨æ©Œm;æ©ot;ä„‹Æ€dmnᨛᨠᨦil肻¸Æptyv;榲t脀¢;eá¨á¨®ä‚¢räƲr;ì€€ð” Æ€ceiᨽᩀá©y;䑇ckÄ€;mᩇᩈ朓ark»ᩈ;ä‡r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪá©ä‹†q;扗eɡᩴ\0\0᪈rrowÄ€lr᩼áªeft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;æŠnint;æ¨id;櫯cir;æ§‚ubsÄ€;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonÄ€;eá«á«Žä€ºÄ€;qÇÆÉá«™\0\0á«¢aÄ€;t᫞᫟䀬;䀯€;fl᫨᫩᫫æˆÃ®á… eÄ€mx᫱᫶ent»᫩eóÉǧ᫾\0ᬇĀ;dኻᬂot;æ©nôɆƀfryá¬á¬”ᬗ;쀀ð•”oäɔ脀©;sÅ•á¬r;æ„—Ä€aoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀ð’¸Ä€bpᬼá„Ä€;eáá‚æ«;æ«‘Ä€;eá‰áŠæ«;æ«’dot;拯΀delprvwá á¬á·á®‚ᮬᯔ᯹arrÄ€lrá¨áª;椸;椵ɰá²\0\0áµr;拞c;拟arrÄ€;pá¿á®€æ†¶;椽̀;bcdosá®á®á®–ᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;æŠr;æ©…;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrÄ€;mᮼᮽ憷;椼yÆ€evwᯇᯔᯘqɰᯎ\0\0ᯒreãá³uãáµee;拎edge;æ‹en耻¤䂤earrowÄ€lrᯮ᯳eft»ᮀight»ᮽeäá¯Ä€ciá°á°‡oninôǷnt;戱lcty;æŒà¦€AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²Šá²žá²¬á²·á³»á³¿á´áµ»á¶‘ᶫᶻ᷆á·ròÎar;楥Ȁglrs᱈á±á±’á±”ger;æ€ eth;愸òᄳhÄ€;vᱚᱛæ€Â»à¤ŠÅ«á±¡á±§arow;æ¤aã̕Āayᱮᱳron;ä„;ä´Æ€;ao̲ᱼᲄĀgrÊ¿á²r;懊tseq;æ©·Æ€glmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀ð”¡arÄ€lrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mÆ€;oș᳊᳔ndÄ€;ș᳑uit;晦amma;äin;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;ä‘’cɯᴆ\0\0á´Šrn;挞op;æŒÊ€lptuwá´˜á´á´¢áµ‰áµ•lar;䀤f;쀀ð••Ê€;empsÌ‹á´á´·á´½áµ‚qÄ€;dÍ’á´³ot;扑inus;戸lus;戔quare;抡blebarwedgåúnÆ€adhá„®áµáµ§ownarrowóᲃarpoonÄ€lrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0á¶Žrn;挟op;挌ƀcotᶘᶣᶦĀryá¶á¶¡;쀀ð’¹;ä‘•l;æ§¶rok;ä„‘Ä€drá¶°á¶´ot;拱iÄ€;fá¶ºá –æ–¿Ä€ah᷀᷃ròЩaòྦangle;榦Āciá·’á·•y;䑟grarr;柿ऀDacdefglmnopqrstuxá¸á¸‰á¸™á¸¸Õ¸á¸¼á¹‰á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½„὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;ä„›rÄ€;cá¸á¸®æ‰–耻ê䃪lon;払;ä‘ot;ä„—Ä€Drá¹á¹…ot;扒;ì€€ð”¢Æ€;rsá¹á¹‘ṗ檚ave耻è䃨Ā;dá¹œá¹æª–ot;檘Ȁ;ilsṪṫṲṴ檙nters;æ§;æ„“Ä€;dṹṺ檕ot;檗ƀapsẅẉẗcr;ä„“tyÆ€;svẒẓẕ戅et»ẓpÄ€1;áºáº¤Ä³áº¡áº£;怄;怅怃ĀgsẪẬ;ä…‹p;怂ĀgpẴẸon;ä„™f;ì€€ð•–Æ€alsỄỎỒrÄ€;sỊị拕l;æ§£us;橱iÆ€;lvỚớở䎵on»ớ;äµÈ€csuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0á»»ÃÕˆantÄ€glἂἆtr»á¹ess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vÄ€;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiá¼¾á½á»¸r;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0á¿“\0ῦῪ \0 âšllingdotseñṄy;ä‘„male;晀ƀilrá¾á¾³á¿lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀ð”£lig;耀ï¬lig;쀀fjÆ€altῙ῜ῡt;æ™ig;耀flns;æ–±of;䆒ǰ΅\0ῳf;쀀ð•—Ä€akÖ¿á¿·Ä€;vῼ´拔;æ«™artint;æ¨Ä€ao‌â•Ä€cs‑â’ႉ‸â…âˆ\0âβ•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;æ…•;æ…™;慛Ƴ‴\0‶;æ…”;慖ʴ‾â\0\0âƒè€»Â¾ä‚¾;æ…—;æ…œ5;慘ƶâŒ\0âŽ;æ…š;æ…8;æ…žl;æ„wn;挢cr;쀀ð’»à¢€Eabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lÙ₇;檌ƀcmpâ‚â‚•â‚ute;䇵maÄ€;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;ä„;ä³ot;ä„¡È€;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otÄ€;oâƒœâƒæª€Ä€;l⃢⃣檂;檄Ā;e⃪âƒì€€â‹›ï¸€s;檔r;쀀ð”¤Ä€;gٳ؛mel;æ„·cy;ä‘“È€;Eajٚℌℎâ„;檒;檥;檤ȀEaesâ„›â„â„©â„´;扩pÄ€;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;æ‹§pf;쀀ð•˜Ä€ci⅃ⅆr;愊mÆ€;elÙ«â…Žâ…;檎;æªèŒ€>;cdlqr×®â… â…ªâ…®â…³â…¹Ä€ciⅥⅧ;檧r;橺ot;æ‹—Par;榕uest;橼ʀadelsↄⅪâ†Ù–↛ǰ↉\0↎proø₞r;楸qÄ€lqؿ↖lesó₈iÃÙ«Ä€en↣â†rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘âˆâˆ¯â‰¨â‰½ròΠȀilmrâ‡â‡”⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;æ†ar;æ„irc;䄥ƀalrâˆâˆŽâˆ“rtsÄ€;u∉∊晥it»∊lip;怦con;抹r;쀀ð”¥sÄ€ew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kÄ€lr≉≓eftarrow;憩ightarrow;憪f;쀀ð•™bar;怕ƀclt≯≴≸r;쀀ð’½asè⇴rok;ä„§Ä€bp⊂⊇ull;æƒhen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢â§â¢â¿\0⎆⎪⎴cute耻ÃäƒÆ€;iyݱ⊰⊵rc耻î䃮;ä¸Ä€cx⊼⊿y;äµcl耻¡䂡ĀfrΟ⋉;쀀ð”¦rave耻ì䃬Ȁ;inoܾâ‹â‹©â‹®Ä€in⋢⋦nt;樌t;æˆfin;æ§œta;æ„©lig;䄳ƀaopâ‹¾âŒšâŒÆ€cgt⌅⌈⌗r;ä„«Æ€elpÜŸâŒâŒ“inÃ¥ÞŽarÃ´Ü h;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽âare;æ„…inÄ€;t⌸⌹戞ie;æ§doô⌙ʀ;celpÝ—âŒââ›â¡al;抺Āgrâ•â™eróᕣãâarhk;樗rod;樼Ȁcgptâ¯â²â¶â»y;ä‘‘on;䄯f;쀀ð•ša;䎹uest耻¿䂿Āci⎊âŽr;쀀ð’¾nÊ€;EdsvӴ⎛âŽâޡӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;ä‘–l耻ï䃯̀cfmosuâŒâ—âœâ¡â§âµÄ€iyâ‘â•rc;䄵;ä¹r;쀀ð”§ath;䈷pf;쀀ð•›Ç£â¬\0â±r;쀀ð’¿rcy;䑘kcy;䑔Ѐacfghjosâ‹â–â¢â§ââ±âµâ»ppaÄ€;vâ“â”䎺;ä°Ä€eyâ›â dil;ä„·;äºr;쀀ð”¨reen;䄸cy;ä‘…cy;䑜pf;쀀ð•œcr;쀀ð“€à®€ABEHabcdefghjlmnoprstuvâ‘°â’â’†â’⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘ââ¨âž‹âŸ€â â ’Æ€art⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0â’ª\0â’±\0\0\0\0\0⒵Ⓔ\0ⓆⓈâ“\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gÆ€;dlࢎâ“Ⓝ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;fà¢â“£s;椟s;æ¤Ã«â‰’p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊æª;쀀âªï¸€Æ€abr┕┙â”rr;椌rk;æ²Ä€ak┢┬cÄ€ek┨┪;ä»;ä›Ä€es┱┳;榋lÄ€du┹┻;æ¦;æ¦È€aeuy╆╋╖╘ron;䄾Ādiâ•â•”il;䄼ìࢰâ┩;ä»È€cqrs╣╦â•╽a;椶uoÄ€;rนá†Ä€du╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tÊ€ahlrt▘▤▷◂◨rrowÄ€;t࢙□aé⓶arpoonÄ€du▯▴own»њp»०eftarrows;懇ightÆ€ahsâ—â—–â—žrrowÄ€;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;æ‹‹Æ€;qs▋ও◺lanôবʀ;cdgsব☊â˜â˜â˜¨c;檨otÄ€;o☔☕橿Ā;r☚☛æª;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;æ‹–qÄ€gq♃♅ôউgtò⒌ôছiÃলƀilr♕࣡♚sht;楼;쀀ð”©Ä€;Eজ♣;檑š♩♶rÄ€du▲♮Ā;l॥♳;楪lk;æ–„cy;䑙ʀ;achtੈ⚈⚋⚑⚖ròâ—orneòᴈard;楫ri;旺Āio⚟⚤dot;ä…€ustÄ€;aâš¬âšæŽ°che»âšÈ€Eaes⚻⚽⛉⛔;扨pÄ€;p⛃⛄檉rox»⛄Ā;qâ›Žâ›æª‡Ä€;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯ââ‡âÄ€nr⛮⛱g;柬r;懽rëà£gÆ€lmr⛿âœâœ”eftÄ€ar০✇ightá৲apsto;柼ightá৽parrowÄ€lr✥✩efôâ“ight;憬ƀafl✶✹✽r;榅;쀀ð•us;æ¨imes;樴šâ‹âst;æˆ—Ã¡áŽÆ€;efâ—â˜á €æ—Šnge»â˜arÄ€;lâ¤â¥ä€¨t;榓ʀachmtâ³â¶â¼âž…➇ròࢨorneòᶌarÄ€;d྘➃;æ¥;怎ri;抿̀achiqt➘âžà©€âž¢âž®âž»quo;怹r;쀀ð“mÆ€;egল➪➬;æª;æªÄ€bu┪➳oÄ€;rฟ➹;怚rok;ä…‚è€<;cdhilqrà «âŸ’â˜¹âŸœâŸ âŸ¥âŸªâŸ°Ä€ci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;efâ €à¤á ›æ—ƒrÄ€duâ ‡â shar;楊har;楦Āenâ —â ¡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āetâ¡—â¡™;時Ā;eâ¡žâ¡Ÿæœ se»⡟Ā;sျ⡨toÈ€;dluျ⡳⡷⡻owîҌefôà¤Ã°á‘ker;斮Āoy⢇⢌mma;権;ä¼ash;怔asuredangle»ᘦr;쀀ð”ªo;æ„§Æ€cdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;æ«°ot肻·ƵusÆ€;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðàªÄ€dp⣩⣮els;抧f;쀀ð•žÄ€ct⣸⣽r;쀀ð“‚posÂ»á–Æ€;lm⤉⤊â¤ä޼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘â©âªƒâª•⪤⪨⬄⬇â„â¿â®®â°´â±§â±¼â³©Ä€gt⥇⥋;쀀⋙̸Ā;vâ¥à¯ì€€â‰«âƒ’Æ€elt⥚⥲⥶ftÄ€ar⥡⥧rrow;æ‡ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;æ‡Ä€Dd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;ä…„g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;ä…‰roø඄urÄ€;a⧓⧔普lÄ€;s⧓ସdz⧟\0â§£p肻 ଷmpÄ€;e௹ఀʀaeouy⧴⧾⨃â¨â¨“ǰ⧹\0â§»;橃on;ä…ˆdil;ä…†ngÄ€;dൾ⨊ot;쀀â©Ì¸p;æ©‚;ä½ash;怓΀;Aadqsxஒ⨩â¨â¨»â©â©…â©rr;懗rÄ€hr⨳⨶k;椤Ā;oá²á°ot;쀀â‰Ì¸uiöà£Ä€ei⩊⩎ar;椨Ã஘istÄ€;s஠டr;쀀ð”«È€Eest௅⩦⩹⩼ƀ;qs஼â©à¯¡Æ€;qs஼௅⩴lanô௢iÃ௪Ā;rà®¶âªÂ»à®·Æ€Aap⪊âªâª‘rò⥱rr;憮ar;櫲ƀ;svà¾âªœà¾ŒÄ€;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tÄ€ar⫔⫙rro÷â«ightarroÃ·âªÆ€;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiÃà±Ä€;rవ⫾iÄ€;eà°šà°¥iäà¶Ä€pt⬌⬑f;쀀ð•Ÿè†€Â¬;in⬙⬚⬶䂬nÈ€;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;æ‹·;æ‹¶iÄ€;vಸ⬼ǡಸââƒ;拾;拽ƀaorâ‹â£â©rÈ€;astà»â•âšâŸlleìà»l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒâ°â³uåಥĀ;cಘâ¸Ä€;eಒâ½Ã±à²˜È€Aait⮈⮋â®â®§rò⦈rrÆ€;cw⮔⮕⮙憛;쀀⤳̸;쀀â†Ì¸ghtarrow»⮕riÄ€;eೋೖ΀chimpqu⮽â¯â¯™â¬„à¸â¯¤â¯¯È€;cerല⯆ഷ⯉uå൅;쀀ð“ƒortÉ⬅\0\0⯖aráâ–mÄ€;e൮⯟Ā;q൴൳suÄ€bp⯫â¯Ã¥à³¸Ã¥à´‹Æ€bcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etÄ€;eഛⰋqÄ€;qണⰀcÄ€;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etÄ€;e൘ⰮqÄ€;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleÄ€lrⱒⱜeftÄ€;eచⱚñదightÄ€;eೋⱥñ೗Ā;mⱬâ±äŽ½Æ€;esⱴⱵⱹ䀣ro;æ„–p;怇ҀDHadgilrsâ²â²”ⲙⲞⲣⲰⲶⳓⳣash;æŠarr;椄p;쀀â‰âƒ’ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetâ²½â³â³…rr;椂;쀀≤⃒Ā;rⳊâ³ì€€<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAanâ³°â³´â´‚rr;懖rÄ€hr⳺⳽k;椣Ā;oá§á¥ear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0â¶â¶«\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrÄ€;c᪞ⵂ耻ô䃴;ä¾Ê€abios᪠ⵒⵗLjⵚlac;ä…‘v;樸old;榼lig;ä…“Ä€cr⵩âµir;榿;쀀ð”¬Í¯âµ¹\0\0âµ¼\0â¶‚n;ä‹›ave耻ò䃲;æ§Ä€bmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āirâ¶â¶ r;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;ä…ga;䉯€cdnⷀⷅÇron;䎿;榶pf;ì€€ð• Æ€aelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈â¸â¸â¸–戨rò᪆Ȁ;efmⷷⷸ⸂⸅æ©rÄ€;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;æ©–lope;æ©—;橛ƀclo⸟⸡⸧òâ¸ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esÄ€;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0â¹½\0⺀âº\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rÈ€;astЃ⹧⹲຅脀¶;lâ¹â¹®ä‚¶leìЃɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊ€cimpt⺋âºâº“ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;ì€€ð”Æ€imo⺨⺰⺴Ā;vâºâº®ä†;ä•maô੶ne;明ƀ;tv⺿⻀⻈ä€chfork»´;ä–Ä€auâ»â»ŸnÄ€ck⻕â»kÄ€;h⇴⻛;愎ö⇴sÒ€;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±àºim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀ð•¡nd耻£䂣Ԁ;Eaceinosu່⼿â½â½„⽇â¾â¾‰â¾’⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iÃໟmeÄ€;s⾈ຮ怲ƀEas⽸â¾â½ºÃ°â½µÆ€dfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀ð“…;äˆncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀ð”®pf;쀀ð•¢rime;æ—cr;ì€€ð“†Æ€aeo⿸〉〓tÄ€ei⿾々rnionóڰnt;樖stÄ€;eã€ã€‘䀿ñἙô༔઀ABHabcdefhilmnoprstuxã€ã‘ã•ã™ãƒ ㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲ãŠãŠ°ãŠ·Æ€artã‡ãŠãŒròႳòÏail;検aròᱥar;楤΀cdenqrtã¨ãµã¸ã¿ã‚ゔヌĀeuãã±;쀀∽̱te;ä…•iãᅮmptyv;榳gÈ€;del࿑らるã‚;榒;榥å࿑uo耻»䂻rÖ€;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;fà¿ ã‚´s;æ¤ ;椳s;椞ëâ‰Ã°âœ®l;楅im;楴l;憣;æ†Ä€aiパフil;椚oÄ€;nホボ戶aló༞ƀabrョリヮrò៥rk;æ³Ä€akンヽcÄ€ekヹ・;ä½;äÄ€esã„‚ã„„;榌lÄ€duㄊㄌ;榎;æ¦È€aeuyㄗㄜㄧㄩron;䅙Ādiã„¡ã„¥il;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoÄ€;rÈŽÈh;憳ƀacgㅎㅟངlÈ€;ipsླྀㅘㅛႜnåႻarôྩt;æ–Æ€ilrㅩဣㅮsht;楽;쀀ð”¯Ä€aoㅷㆆrÄ€duㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌä;䱯€gns㆕ㇹㇼhtÌ€ahlrstㆤㆰ㇂㇘㇤㇮rrowÄ€;t࿜ã†aéトarpoonÄ€duㆻㆿowîㅾp»႒eftÄ€ah㇊ã‡rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahmãˆãˆãˆ“rò࿪aòՑ;æ€oustÄ€;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;æŸr;懾rëဃƀafl㉇㉊㉎r;榆;쀀ð•£us;樮imes;樵Āapã‰ã‰§rÄ€;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀ð“‡Ä€bu・㊊oÄ€;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iÈ€;efl㊪á™á ¡ãŠ«æ–¹tri;æ§Žluhar;楨;愞ൡ㋕㋛㋟㌬㌸ã±\0ãºãޤ\0\0ã¬ã°\0ã¨ã‘ˆã‘šã’㒱㓊㓱\0㘖\0\0㘳cute;ä…›quï➺Ԁ;Eaceinpsyá‡ã‹³ã‹µã‹¿ãŒ‚㌋ãŒãŒŸãŒ¦ãŒ©;檴ǰ㋺\0㋼;檸on;ä…¡uåᇾĀ;dᇳ㌇il;ä…Ÿrc;ä…Æ€Eas㌖㌘㌛;檶p;檺im;æ‹©olint;樓iÃሄ;ä‘otÆ€;be㌴ᵇ㌵担;橦΀Aacmstxã†ãŠã—ã›ãžã£ãrr;懘rÄ€hrãã’ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mÄ€inã©Ã°nuóñt;朶rÄ€;oã¶â•쀀ð”°È€acoy㎂㎆㎑㎠rp;景Āhy㎋ãŽcy;䑉;䑈rtÉ㎙\0\0㎜iäᑤaraì⹯耻Âä‚Ä€gm㎨㎴maÆ€;fv㎱㎲㎲äƒ;ä‚Ѐ;deglnprካã…ã‰ãŽã–ãžã¡ã¦ot;橪Ā;q኱ኰĀ;Eã“ã”æªž;æª Ä€;Eã›ãœæª;檟e;扆lus;樤arr;楲aròᄽȀaeitã¸ãˆãã—Ä€lsã½ã„lsetméãªhp;樳parsl;槤Ādlá‘£ã”e;挣Ā;eãœã檪Ā;sã¢ã£æª¬;쀀⪬︀ƀflpã®ã³ã‘‚tcy;䑌Ā;bã¸ã¹ä€¯Ä€;aã¾ã¿æ§„r;挿f;쀀ð•¤aÄ€drã‘ЂesÄ€;uã‘”ã‘•æ™ it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pÄ€;sᆈ㑫;쀀⊓︀pÄ€;sᆴ㑵;쀀⊔︀uÄ€bpã‘¿ã’Æ€;esᆗᆜ㒆etÄ€;eᆗã’Ã±á†Æ€;esᆨá†ã’–etÄ€;eᆨã’ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀ð“ˆtmîñiìã•aræᆾĀar㓎㓕rÄ€;f㓔ឿ昆Āan㓚ã“ightÄ€ep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎ã”㔑㔕㔞㔣㔬㔱㔶抂;æ«…ot;檽Ā;dᇚ㔚ot;櫃ult;æ«Ä€Ee㔨㔪;æ«‹;把lus;檿arr;楹ƀeiu㔽㕒㕕tÆ€;en㔎㕅㕋qÄ€;qᇚã”eqÄ€;q㔫㔨m;櫇Ābp㕚㕜;æ«•;æ«“cÌ€;acensá‡ã•¬ã•²ã•¹ã•»ãŒ¦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨ã—耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;æ«„sÄ€ouã—ã—’l;柉b;æ«—arr;楻ult;æ«‚Ä€Ee㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tÆ€;enሜ㗼㘂qÄ€;qሢ㖲eqÄ€;qã—§ã—¤m;櫈Ābp㘑㘓;æ«”;æ«–Æ€Aan㘜㘠ã˜rr;懙rÄ€hr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑ã™ã™ ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉ã¬\0\0\0㞇ɲ㙖\0\0ã™›get;挖;ä„rë๟ƀaey㙦㙫㙰ron;ä…¥dil;ä…£;ä‘‚lrec;挕r;쀀ð”±È€eiko㚆ãšãšµãš¼Ç²ãš‹\0ãš‘eÄ€4fኄáŠaÆ€;sv㚘㚙㚛䎸ym;ä‘Ä€cn㚢㚲kÄ€as㚨㚮pproøá‹im»ኬsðኞĀas㚺㚮ðá‹rn耻þ䃾Ǭ̟㛆⋧es膀×;bdã›ã›ã›˜äƒ—Ä€;aá¤ã›•r;樱;樰ƀeps㛡㛣㜀áâ©È€;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀ð•¥rk;櫚áã¢rime;怴ƀaipãœãœ’ã¤dåቈ΀adempst㜡ãã€ã‘ã—ãœãŸngleÊ€;dlqr㜰㜱㜶ã€ã‚æ–µown»ᶻeftÄ€;e⠀㜾ñम;扜ightÄ€;e㊪ã‹Ã±ášot;æ—¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æ€chtã²ã½ãžÄ€ryã·ã»;쀀ð“‰;䑆cy;ä‘›rok;ä…§Ä€io㞋㞎xôá·headÄ€lrãž—ãž eftarro÷à¡ightarrow»à½à¤€AHabcdfghlmoprstuwãŸãŸ“㟗㟤㟰㟼㠎㠜㠣㠴㡑ã¡ã¡«ã¢©ã£Œã£’㣪㣶ròÏar;楣Ācr㟜㟢ute耻ú䃺òá…rǣ㟪\0ãŸy;䑞ve;ä…Ä€iy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròáŽlac;ä…±aòáƒÄ€irã “ã ˜sht;楾;쀀ð”²rave耻ù䃹š㠧㠱rÄ€lr㠬㠮»ॗ»ႃlk;斀Āctã ¹ã¡É¯ã ¿\0\0㡊rnÄ€;e㡅㡆挜r»㡆op;æŒri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;ä…³f;쀀ð•¦Ì€adhlsuᅋ㡸㡽á²ã¢‘㢠ownáᎳarpoonÄ€lr㢈㢌efôã ighô㠯iÆ€;hl㢙㢚㢜ä…»áºon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0ã£rnÄ€;e㢼㢽æŒr»㢽op;挎ng;ä…¯ri;æ—¹cr;ì€€ð“ŠÆ€dir㣙ã£ã£¢ot;æ‹°lde;ä…©iÄ€;fãœ°ã£¨Â»á “Ä€am㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩ã¤ã¦µã¦¸ã¦½ã§Ÿã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ€;v㤦㤧櫨;æ«©asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒ã¥ã¥¤ã¦–appáâ•othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïã†Ä€iu㥩ã¥gmá㎳Ābp㥲㦄setneqÄ€;q㥽㦀쀀⊊︀;쀀⫋︀setneqÄ€;qã¦ã¦’쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleÄ€lr㦪㦯eft»थight»á‘y;ä²ash»ံƀelrã§„ã§’ã§—Æ€;beⷪ㧋ã§ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀ð”³tré㦮suÄ€bp㧯㧱»ജ»൙pf;쀀ð•§roð໻tré㦴Ācu㨆㨋r;쀀ð“‹Ä€bpã¨ã¨˜nÄ€Ee㦀㨖»㥾nÄ€Ee㦒㨞»ã¦igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eÄ€;qá—ºã©;扙erp;愘r;쀀ð”´pf;쀀ð•¨Ä€;eᑹ㩦atèᑹcr;쀀ð“Œà«£ážŽãª‡\0㪋\0ãªãª›\0\0ãªãª¨ãª«ãª¯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀ð”µÄ€Aa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀ð•©imåឲĀAa㫇㫊ròώròà¨Ä€cq㫒ីr;쀀ð“Ä€pt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cÄ€uyã«¶ã«»te耻ý䃽;ä‘Ä€iy㬂㬆rc;ä…·;ä‘‹n耻¥䂥r;쀀ð”¶cy;ä‘—pf;쀀ð•ªcr;쀀ð“ŽÄ€cm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhioswã‚ãˆã”ã˜ã¤ã©ãã´ãºã®€cute;䅺Āayãã’ron;ä…¾;ä·ot;䅼Āetãã¡træᕟa;䎶r;쀀ð”·cy;ä¶grarr;æ‡pf;쀀ð•«cr;쀀ð“Ä€jn㮅㮇;æ€j;怌'.split("").map(e=>e.charCodeAt(0))),Jm=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Zm(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Jm.get(e))!==null&&t!==void 0?t:e}var oe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(oe||(oe={}));const e1=32;var je;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(je||(je={}));function cr(e){return e>=oe.ZERO&&e<=oe.NINE}function t1(e){return e>=oe.UPPER_A&&e<=oe.UPPER_F||e>=oe.LOWER_A&&e<=oe.LOWER_F}function n1(e){return e>=oe.UPPER_A&&e<=oe.UPPER_Z||e>=oe.LOWER_A&&e<=oe.LOWER_Z||cr(e)}function r1(e){return e===oe.EQUALS||n1(e)}var se;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(se||(se={}));var ve;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ve||(ve={}));class u1{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=se.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ve.Strict}startEntity(t){this.decodeMode=t,this.state=se.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case se.EntityStart:return t.charCodeAt(n)===oe.NUM?(this.state=se.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=se.NamedEntity,this.stateNamedEntity(t,n));case se.NumericStart:return this.stateNumericStart(t,n);case se.NumericDecimal:return this.stateNumericDecimal(t,n);case se.NumericHex:return this.stateNumericHex(t,n);case se.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|e1)===oe.LOWER_X?(this.state=se.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=se.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+Number.parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(cr(u)||t1(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(cr(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===oe.SEMI)this.consumed+=1;else if(this.decodeMode===ve.Strict)return 0;return this.emitCodePoint(Zm(this.result),this.consumed),this.errors&&(t!==oe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&je.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=i1(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===ve.Attribute&&(i===0||r1(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&je.VALUE_LENGTH)>>14,i!==0){if(a===oe.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ve.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&je.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~je.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case se.NamedEntity:return this.result!==0&&(this.decodeMode!==ve.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case se.NumericDecimal:return this.emitNumericEntity(0,2);case se.NumericHex:return this.emitNumericEntity(0,3);case se.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case se.EntityStart:return 0}}}function i1(e,t,n,r){const u=(t&je.BRANCH_LENGTH)>>7,i=t&je.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=u?-1:e[n+l]-1}let a=n,o=a+u-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}var x;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(x||(x={}));var it;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(it||(it={}));var Ce;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ce||(Ce={}));var A;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(A||(A={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(s||(s={}));const a1=new Map([[A.A,s.A],[A.ADDRESS,s.ADDRESS],[A.ANNOTATION_XML,s.ANNOTATION_XML],[A.APPLET,s.APPLET],[A.AREA,s.AREA],[A.ARTICLE,s.ARTICLE],[A.ASIDE,s.ASIDE],[A.B,s.B],[A.BASE,s.BASE],[A.BASEFONT,s.BASEFONT],[A.BGSOUND,s.BGSOUND],[A.BIG,s.BIG],[A.BLOCKQUOTE,s.BLOCKQUOTE],[A.BODY,s.BODY],[A.BR,s.BR],[A.BUTTON,s.BUTTON],[A.CAPTION,s.CAPTION],[A.CENTER,s.CENTER],[A.CODE,s.CODE],[A.COL,s.COL],[A.COLGROUP,s.COLGROUP],[A.DD,s.DD],[A.DESC,s.DESC],[A.DETAILS,s.DETAILS],[A.DIALOG,s.DIALOG],[A.DIR,s.DIR],[A.DIV,s.DIV],[A.DL,s.DL],[A.DT,s.DT],[A.EM,s.EM],[A.EMBED,s.EMBED],[A.FIELDSET,s.FIELDSET],[A.FIGCAPTION,s.FIGCAPTION],[A.FIGURE,s.FIGURE],[A.FONT,s.FONT],[A.FOOTER,s.FOOTER],[A.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[A.FORM,s.FORM],[A.FRAME,s.FRAME],[A.FRAMESET,s.FRAMESET],[A.H1,s.H1],[A.H2,s.H2],[A.H3,s.H3],[A.H4,s.H4],[A.H5,s.H5],[A.H6,s.H6],[A.HEAD,s.HEAD],[A.HEADER,s.HEADER],[A.HGROUP,s.HGROUP],[A.HR,s.HR],[A.HTML,s.HTML],[A.I,s.I],[A.IMG,s.IMG],[A.IMAGE,s.IMAGE],[A.INPUT,s.INPUT],[A.IFRAME,s.IFRAME],[A.KEYGEN,s.KEYGEN],[A.LABEL,s.LABEL],[A.LI,s.LI],[A.LINK,s.LINK],[A.LISTING,s.LISTING],[A.MAIN,s.MAIN],[A.MALIGNMARK,s.MALIGNMARK],[A.MARQUEE,s.MARQUEE],[A.MATH,s.MATH],[A.MENU,s.MENU],[A.META,s.META],[A.MGLYPH,s.MGLYPH],[A.MI,s.MI],[A.MO,s.MO],[A.MN,s.MN],[A.MS,s.MS],[A.MTEXT,s.MTEXT],[A.NAV,s.NAV],[A.NOBR,s.NOBR],[A.NOFRAMES,s.NOFRAMES],[A.NOEMBED,s.NOEMBED],[A.NOSCRIPT,s.NOSCRIPT],[A.OBJECT,s.OBJECT],[A.OL,s.OL],[A.OPTGROUP,s.OPTGROUP],[A.OPTION,s.OPTION],[A.P,s.P],[A.PARAM,s.PARAM],[A.PLAINTEXT,s.PLAINTEXT],[A.PRE,s.PRE],[A.RB,s.RB],[A.RP,s.RP],[A.RT,s.RT],[A.RTC,s.RTC],[A.RUBY,s.RUBY],[A.S,s.S],[A.SCRIPT,s.SCRIPT],[A.SEARCH,s.SEARCH],[A.SECTION,s.SECTION],[A.SELECT,s.SELECT],[A.SOURCE,s.SOURCE],[A.SMALL,s.SMALL],[A.SPAN,s.SPAN],[A.STRIKE,s.STRIKE],[A.STRONG,s.STRONG],[A.STYLE,s.STYLE],[A.SUB,s.SUB],[A.SUMMARY,s.SUMMARY],[A.SUP,s.SUP],[A.TABLE,s.TABLE],[A.TBODY,s.TBODY],[A.TEMPLATE,s.TEMPLATE],[A.TEXTAREA,s.TEXTAREA],[A.TFOOT,s.TFOOT],[A.TD,s.TD],[A.TH,s.TH],[A.THEAD,s.THEAD],[A.TITLE,s.TITLE],[A.TR,s.TR],[A.TRACK,s.TRACK],[A.TT,s.TT],[A.U,s.U],[A.UL,s.UL],[A.SVG,s.SVG],[A.VAR,s.VAR],[A.WBR,s.WBR],[A.XMP,s.XMP]]);function Nt(e){var t;return(t=a1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const L=s,s1={[x.HTML]:new Set([L.ADDRESS,L.APPLET,L.AREA,L.ARTICLE,L.ASIDE,L.BASE,L.BASEFONT,L.BGSOUND,L.BLOCKQUOTE,L.BODY,L.BR,L.BUTTON,L.CAPTION,L.CENTER,L.COL,L.COLGROUP,L.DD,L.DETAILS,L.DIR,L.DIV,L.DL,L.DT,L.EMBED,L.FIELDSET,L.FIGCAPTION,L.FIGURE,L.FOOTER,L.FORM,L.FRAME,L.FRAMESET,L.H1,L.H2,L.H3,L.H4,L.H5,L.H6,L.HEAD,L.HEADER,L.HGROUP,L.HR,L.HTML,L.IFRAME,L.IMG,L.INPUT,L.LI,L.LINK,L.LISTING,L.MAIN,L.MARQUEE,L.MENU,L.META,L.NAV,L.NOEMBED,L.NOFRAMES,L.NOSCRIPT,L.OBJECT,L.OL,L.P,L.PARAM,L.PLAINTEXT,L.PRE,L.SCRIPT,L.SECTION,L.SELECT,L.SOURCE,L.STYLE,L.SUMMARY,L.TABLE,L.TBODY,L.TD,L.TEMPLATE,L.TEXTAREA,L.TFOOT,L.TH,L.THEAD,L.TITLE,L.TR,L.TRACK,L.UL,L.WBR,L.XMP]),[x.MATHML]:new Set([L.MI,L.MO,L.MN,L.MS,L.MTEXT,L.ANNOTATION_XML]),[x.SVG]:new Set([L.TITLE,L.FOREIGN_OBJECT,L.DESC]),[x.XLINK]:new Set,[x.XML]:new Set,[x.XMLNS]:new Set},fr=new Set([L.H1,L.H2,L.H3,L.H4,L.H5,L.H6]);A.STYLE,A.SCRIPT,A.XMP,A.IFRAME,A.NOEMBED,A.NOFRAMES,A.PLAINTEXT;var p;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(p||(p={}));const ue={DATA:p.DATA,RCDATA:p.RCDATA,RAWTEXT:p.RAWTEXT,SCRIPT_DATA:p.SCRIPT_DATA,PLAINTEXT:p.PLAINTEXT,CDATA_SECTION:p.CDATA_SECTION};function o1(e){return e>=d.DIGIT_0&&e<=d.DIGIT_9}function Ht(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_Z}function l1(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_Z}function Ge(e){return l1(e)||Ht(e)}function Qu(e){return Ge(e)||o1(e)}function cn(e){return e+32}function Da(e){return e===d.SPACE||e===d.LINE_FEED||e===d.TABULATION||e===d.FORM_FEED}function ju(e){return Da(e)||e===d.SOLIDUS||e===d.GREATER_THAN_SIGN}function c1(e){return e===d.NULL?I.nullCharacterReference:e>1114111?I.characterReferenceOutsideUnicodeRange:Sa(e)?I.surrogateCharacterReference:Oa(e)?I.noncharacterCharacterReference:xa(e)||e===d.CARRIAGE_RETURN?I.controlCharacterReference:null}class f1{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=p.DATA,this.returnState=p.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new $m(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new u1(Km,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(I.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(I.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const u=c1(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:q.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:q.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:q.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:q.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(La(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(I.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Nt(t.tagName),t.type===q.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(I.endTagWithAttributes),t.selfClosing&&this._err(I.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case q.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case q.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case q.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:q.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Da(t)?q.WHITESPACE_CHARACTER:t===d.NULL?q.NULL_CHARACTER:q.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(q.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=p.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ve.Attribute:ve.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===p.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===p.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===p.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case p.DATA:{this._stateData(t);break}case p.RCDATA:{this._stateRcdata(t);break}case p.RAWTEXT:{this._stateRawtext(t);break}case p.SCRIPT_DATA:{this._stateScriptData(t);break}case p.PLAINTEXT:{this._statePlaintext(t);break}case p.TAG_OPEN:{this._stateTagOpen(t);break}case p.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case p.TAG_NAME:{this._stateTagName(t);break}case p.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case p.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case p.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case p.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case p.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case p.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case p.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case p.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case p.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case p.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case p.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case p.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case p.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case p.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case p.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case p.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case p.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case p.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case p.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case p.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case p.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case p.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case p.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case p.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case p.BOGUS_COMMENT:{this._stateBogusComment(t);break}case p.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case p.COMMENT_START:{this._stateCommentStart(t);break}case p.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case p.COMMENT:{this._stateComment(t);break}case p.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case p.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case p.COMMENT_END:{this._stateCommentEnd(t);break}case p.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case p.DOCTYPE:{this._stateDoctype(t);break}case p.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case p.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case p.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case p.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case p.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case p.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case p.CDATA_SECTION:{this._stateCdataSection(t);break}case p.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case p.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case p.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case p.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.TAG_OPEN;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitCodePoint(t);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case d.AMPERSAND:{this._startCharacterReference();break}case d.LESS_THAN_SIGN:{this.state=p.RCDATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitChars(re);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.RAWTEXT_LESS_THAN_SIGN;break}case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitChars(re);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitChars(re);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitChars(re);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ge(t))this._createStartTagToken(),this.state=p.TAG_NAME,this._stateTagName(t);else switch(t){case d.EXCLAMATION_MARK:{this.state=p.MARKUP_DECLARATION_OPEN;break}case d.SOLIDUS:{this.state=p.END_TAG_OPEN;break}case d.QUESTION_MARK:{this._err(I.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t);break}case d.EOF:{this._err(I.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(I.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=p.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ge(t))this._createEndTagToken(),this.state=p.TAG_NAME,this._stateTagName(t);else switch(t){case d.GREATER_THAN_SIGN:{this._err(I.missingEndTagName),this.state=p.DATA;break}case d.EOF:{this._err(I.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(I.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.SOLIDUS:{this.state=p.SELF_CLOSING_START_TAG;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentTagToken();break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.tagName+=re;break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Ht(t)?cn(t):t)}}_stateRcdataLessThanSign(t){t===d.SOLIDUS?this.state=p.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=p.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ge(t)?(this.state=p.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=p.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=p.BEFORE_ATTRIBUTE_NAME,!1;case d.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=p.SELF_CLOSING_START_TAG,!1;case d.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=p.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===d.SOLIDUS?this.state=p.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ge(t)?(this.state=p.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case d.SOLIDUS:{this.state=p.SCRIPT_DATA_END_TAG_OPEN;break}case d.EXCLAMATION_MARK:{this.state=p.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=p.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Ge(t)?(this.state=p.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===d.HYPHEN_MINUS?(this.state=p.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===d.HYPHEN_MINUS?(this.state=p.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitChars(re);break}case d.EOF:{this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_ESCAPED,this._emitChars(re);break}case d.EOF:{this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case d.HYPHEN_MINUS:{this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.GREATER_THAN_SIGN:{this.state=p.SCRIPT_DATA,this._emitChars(">");break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_ESCAPED,this._emitChars(re);break}case d.EOF:{this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===d.SOLIDUS?this.state=p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ge(t)?(this._emitChars("<"),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ge(t)?(this.state=p.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(pe.SCRIPT,!1)&&ju(this.preprocessor.peek(pe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<pe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.NULL:{this._err(I.unexpectedNullCharacter),this._emitChars(re);break}case d.EOF:{this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(re);break}case d.EOF:{this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case d.HYPHEN_MINUS:{this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.GREATER_THAN_SIGN:{this.state=p.SCRIPT_DATA,this._emitChars(">");break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(re);break}case d.EOF:{this._err(I.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===d.SOLIDUS?(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(pe.SCRIPT,!1)&&ju(this.preprocessor.peek(pe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<pe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=p.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.SOLIDUS:case d.GREATER_THAN_SIGN:case d.EOF:{this.state=p.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case d.EQUALS_SIGN:{this._err(I.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=p.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=p.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:case d.SOLIDUS:case d.GREATER_THAN_SIGN:case d.EOF:{this._leaveAttrName(),this.state=p.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case d.EQUALS_SIGN:{this._leaveAttrName(),this.state=p.BEFORE_ATTRIBUTE_VALUE;break}case d.QUOTATION_MARK:case d.APOSTROPHE:case d.LESS_THAN_SIGN:{this._err(I.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.currentAttr.name+=re;break}default:this.currentAttr.name+=String.fromCodePoint(Ht(t)?cn(t):t)}}_stateAfterAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.SOLIDUS:{this.state=p.SELF_CLOSING_START_TAG;break}case d.EQUALS_SIGN:{this.state=p.BEFORE_ATTRIBUTE_VALUE;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=p.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{this.state=p.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this.state=p.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(I.missingAttributeValue),this.state=p.DATA,this.emitCurrentTagToken();break}default:this.state=p.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.currentAttr.value+=re;break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case d.APOSTROPHE:{this.state=p.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.currentAttr.value+=re;break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this._leaveAttrValue(),this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=p.DATA,this.emitCurrentTagToken();break}case d.NULL:{this._err(I.unexpectedNullCharacter),this.currentAttr.value+=re;break}case d.QUOTATION_MARK:case d.APOSTROPHE:case d.LESS_THAN_SIGN:case d.EQUALS_SIGN:case d.GRAVE_ACCENT:{this._err(I.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this._leaveAttrValue(),this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.SOLIDUS:{this._leaveAttrValue(),this.state=p.SELF_CLOSING_START_TAG;break}case d.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:this._err(I.missingWhitespaceBetweenAttributes),this.state=p.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case d.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(I.eofInTag),this._emitEOFToken();break}default:this._err(I.unexpectedSolidusInTag),this.state=p.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.data+=re;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(pe.DASH_DASH,!0)?(this._createCommentToken(pe.DASH_DASH.length+1),this.state=p.COMMENT_START):this._consumeSequenceIfMatch(pe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(pe.DOCTYPE.length+1),this.state=p.DOCTYPE):this._consumeSequenceIfMatch(pe.CDATA_START,!0)?this.inForeignNode?this.state=p.CDATA_SECTION:(this._err(I.cdataInHtmlContent),this._createCommentToken(pe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=p.BOGUS_COMMENT):this._ensureHibernation()||(this._err(I.incorrectlyOpenedComment),this._createCommentToken(2),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_START_DASH;break}case d.GREATER_THAN_SIGN:{this._err(I.abruptClosingOfEmptyComment),this.state=p.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=p.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END;break}case d.GREATER_THAN_SIGN:{this._err(I.abruptClosingOfEmptyComment),this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this._err(I.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=p.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END_DASH;break}case d.LESS_THAN_SIGN:{n.data+="<",this.state=p.COMMENT_LESS_THAN_SIGN;break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.data+=re;break}case d.EOF:{this._err(I.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case d.EXCLAMATION_MARK:{n.data+="!",this.state=p.COMMENT_LESS_THAN_SIGN_BANG;break}case d.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=p.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===d.HYPHEN_MINUS?this.state=p.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=p.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===d.HYPHEN_MINUS?this.state=p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=p.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==d.GREATER_THAN_SIGN&&t!==d.EOF&&this._err(I.nestedComment),this.state=p.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END;break}case d.EOF:{this._err(I.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=p.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentComment(n);break}case d.EXCLAMATION_MARK:{this.state=p.COMMENT_END_BANG;break}case d.HYPHEN_MINUS:{n.data+="-";break}case d.EOF:{this._err(I.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=p.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{n.data+="--!",this.state=p.COMMENT_END_DASH;break}case d.GREATER_THAN_SIGN:{this._err(I.incorrectlyClosedComment),this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this._err(I.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=p.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this.state=p.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case d.EOF:{this._err(I.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingWhitespaceBeforeDoctypeName),this.state=p.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ht(t))this._createDoctypeToken(String.fromCharCode(cn(t))),this.state=p.DOCTYPE_NAME;else switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.NULL:{this._err(I.unexpectedNullCharacter),this._createDoctypeToken(re),this.state=p.DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this._err(I.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(I.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=p.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.AFTER_DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.name+=re;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Ht(t)?cn(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(pe.PUBLIC,!1)?this.state=p.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(pe.SYSTEM,!1)?this.state=p.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(I.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.QUOTATION_MARK:{this._err(I.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(I.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(I.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(I.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.publicId+=re;break}case d.GREATER_THAN_SIGN:{this._err(I.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case d.APOSTROPHE:{this.state=p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.publicId+=re;break}case d.GREATER_THAN_SIGN:{this._err(I.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.QUOTATION_MARK:{this._err(I.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(I.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.QUOTATION_MARK:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.QUOTATION_MARK:{this._err(I.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(I.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(I.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(I.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.systemId+=re;break}case d.GREATER_THAN_SIGN:{this._err(I.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case d.APOSTROPHE:{this.state=p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.NULL:{this._err(I.unexpectedNullCharacter),n.systemId+=re;break}case d.GREATER_THAN_SIGN:{this._err(I.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(I.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(I.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.NULL:{this._err(I.unexpectedNullCharacter);break}case d.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case d.RIGHT_SQUARE_BRACKET:{this.state=p.CDATA_SECTION_BRACKET;break}case d.EOF:{this._err(I.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===d.RIGHT_SQUARE_BRACKET?this.state=p.CDATA_SECTION_END:(this._emitChars("]"),this.state=p.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA;break}case d.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=p.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(d.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Qu(this.preprocessor.peek(1))?p.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Qu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===d.SEMICOLON&&this._err(I.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Ra=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Xu=new Set([...Ra,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),gn=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),h1=new Set([...gn,s.OL,s.UL]),d1=new Set([...gn,s.BUTTON]),$u=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),Ku=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),m1=new Set([s.TR,s.TEMPLATE,s.HTML]),p1=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),E1=new Set([s.TABLE,s.TEMPLATE,s.HTML]),T1=new Set([s.TD,s.TH]);class g1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===x.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==x.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(fr,x.HTML)}popUntilTableCellPopped(){this.popUntilPopped(T1,x.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(E1,x.HTML)}clearBackToTableBodyContext(){this.clearBackTo(p1,x.HTML)}clearBackToTableRowContext(){this.clearBackTo(m1,x.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const u=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case x.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case x.SVG:{if(Ku.has(u))return!1;break}case x.MATHML:{if($u.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,gn)}hasInListItemScope(t){return this.hasInDynamicScope(t,h1)}hasInButtonScope(t){return this.hasInDynamicScope(t,d1)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case x.HTML:{if(fr.has(n))return!0;if(gn.has(n))return!1;break}case x.SVG:{if(Ku.has(n))return!1;break}case x.MATHML:{if($u.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===x.HTML)switch(this.tagIDs[n]){case t:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===x.HTML)switch(this.tagIDs[t]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===x.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Ra.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Xu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Xu.has(this.currentTagId);)this.pop()}}const Kn=3;var De;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(De||(De={}));const Ju={type:De.Marker};class b1{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===De.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const h=this.treeAdapter.getAttrList(c);h.length===u&&r.push({idx:o,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Kn)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Kn)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>u.get(l.name)===l.value)&&(i+=1,i>=Kn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Ju)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:De.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:De.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Ju);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===De.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===De.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===De.Element&&n.element===t)}}const Ve={createDocument(){return{nodeName:"#document",mode:Ce.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(i=>i.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Ve.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Ve.isTextNode(n)){n.value+=t;return}}Ve.appendChild(e,Ve.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ve.isTextNode(r)?r.value+=t:Ve.insertBefore(e,Ve.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Pa="html",_1="about:legacy-compat",A1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",wa=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],C1=[...wa,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],I1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ma=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],y1=[...Ma,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Zu(e,t){return t.some(n=>e.startsWith(n))}function k1(e){return e.name===Pa&&e.publicId===null&&(e.systemId===null||e.systemId===_1)}function N1(e){if(e.name!==Pa)return Ce.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===A1)return Ce.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),I1.has(n))return Ce.QUIRKS;let r=t===null?C1:wa;if(Zu(n,r))return Ce.QUIRKS;if(r=t===null?Ma:y1,Zu(n,r))return Ce.LIMITED_QUIRKS}return Ce.NO_QUIRKS}const ei={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},S1="definitionurl",x1="definitionURL",O1=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),L1=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:x.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:x.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:x.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:x.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:x.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:x.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:x.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:x.XML}],["xml:space",{prefix:"xml",name:"space",namespace:x.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:x.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:x.XMLNS}]]),D1=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),R1=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function P1(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===it.COLOR||r===it.SIZE||r===it.FACE)||R1.has(t)}function Ba(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===S1){e.attrs[t].name=x1;break}}function Fa(e){for(let t=0;t<e.attrs.length;t++){const n=O1.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Pr(e){for(let t=0;t<e.attrs.length;t++){const n=L1.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function w1(e){const t=D1.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Nt(e.tagName))}function M1(e,t){return t===x.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function B1(e,t,n){if(t===x.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===it.ENCODING){const u=n[r].value.toLowerCase();return u===ei.TEXT_HTML||u===ei.APPLICATION_XML}}return t===x.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function F1(e,t,n,r){return(!r||r===x.HTML)&&B1(e,t,n)||(!r||r===x.MATHML)&&M1(e,t)}const H1="hidden",U1=8,v1=3;var T;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(T||(T={}));const Y1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Ha=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),ti={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ve,onParseError:null};class ni{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...ti,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new f1(this.options,this),this.activeFormattingElements=new b1(this.treeAdapter),this.fragmentContextID=r?Nt(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new g1(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...ti,...n};t??(t=r.treeAdapter.createElement(A.TEMPLATE,x.HTML,[]));const u=r.treeAdapter.createElement("documentmock",x.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(T.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:Y1,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===x.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,x.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=ue.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===A.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==x.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ue.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ue.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ue.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ue.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,x.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,x.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(A.HTML,x.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),i=n.type===q.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===A.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===x.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,x.HTML)}_processToken(t){switch(t.type){case q.CHARACTER:{this.onCharacter(t);break}case q.NULL_CHARACTER:{this.onNullCharacter(t);break}case q.COMMENT:{this.onComment(t);break}case q.DOCTYPE:{this.onDoctype(t);break}case q.START_TAG:{this._processStartTag(t);break}case q.END_TAG:{this.onEndTag(t);break}case q.EOF:{this.onEof(t);break}case q.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return F1(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===De.Marker||this.openElements.contains(u.element)),r=n===-1?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=T.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=T.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=T.IN_TABLE;return}case s.BODY:{this.insertionMode=T.IN_BODY;return}case s.FRAMESET:{this.insertionMode=T.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?T.AFTER_HEAD:T.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return Ha.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===x.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return s1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){TE(this,t);return}switch(this.insertionMode){case T.INITIAL:{Bt(this,t);break}case T.BEFORE_HTML:{zt(this,t);break}case T.BEFORE_HEAD:{Wt(this,t);break}case T.IN_HEAD:{qt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Gt(this,t);break}case T.AFTER_HEAD:{Vt(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{va(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Jn(this,t);break}case T.IN_TABLE_TEXT:{Va(this,t);break}case T.IN_COLUMN_GROUP:{bn(this,t);break}case T.AFTER_BODY:{_n(this,t);break}case T.AFTER_AFTER_BODY:{dn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EE(this,t);return}switch(this.insertionMode){case T.INITIAL:{Bt(this,t);break}case T.BEFORE_HTML:{zt(this,t);break}case T.BEFORE_HEAD:{Wt(this,t);break}case T.IN_HEAD:{qt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Gt(this,t);break}case T.AFTER_HEAD:{Vt(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Jn(this,t);break}case T.IN_COLUMN_GROUP:{bn(this,t);break}case T.AFTER_BODY:{_n(this,t);break}case T.AFTER_AFTER_BODY:{dn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){hr(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{hr(this,t);break}case T.IN_TABLE_TEXT:{Ft(this,t);break}case T.AFTER_BODY:{j1(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{X1(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{$1(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,I.misplacedDoctype);break}case T.IN_TABLE_TEXT:{Ft(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,I.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?gE(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{Bt(this,t);break}case T.BEFORE_HTML:{K1(this,t);break}case T.BEFORE_HEAD:{Z1(this,t);break}case T.IN_HEAD:{Oe(this,t);break}case T.IN_HEAD_NO_SCRIPT:{np(this,t);break}case T.AFTER_HEAD:{up(this,t);break}case T.IN_BODY:{he(this,t);break}case T.IN_TABLE:{Ct(this,t);break}case T.IN_TABLE_TEXT:{Ft(this,t);break}case T.IN_CAPTION:{eE(this,t);break}case T.IN_COLUMN_GROUP:{Br(this,t);break}case T.IN_TABLE_BODY:{Rn(this,t);break}case T.IN_ROW:{Pn(this,t);break}case T.IN_CELL:{rE(this,t);break}case T.IN_SELECT:{Xa(this,t);break}case T.IN_SELECT_IN_TABLE:{iE(this,t);break}case T.IN_TEMPLATE:{sE(this,t);break}case T.AFTER_BODY:{lE(this,t);break}case T.IN_FRAMESET:{cE(this,t);break}case T.AFTER_FRAMESET:{hE(this,t);break}case T.AFTER_AFTER_BODY:{mE(this,t);break}case T.AFTER_AFTER_FRAMESET:{pE(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?bE(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{Bt(this,t);break}case T.BEFORE_HTML:{J1(this,t);break}case T.BEFORE_HEAD:{ep(this,t);break}case T.IN_HEAD:{tp(this,t);break}case T.IN_HEAD_NO_SCRIPT:{rp(this,t);break}case T.AFTER_HEAD:{ip(this,t);break}case T.IN_BODY:{Dn(this,t);break}case T.TEXT:{qp(this,t);break}case T.IN_TABLE:{$t(this,t);break}case T.IN_TABLE_TEXT:{Ft(this,t);break}case T.IN_CAPTION:{tE(this,t);break}case T.IN_COLUMN_GROUP:{nE(this,t);break}case T.IN_TABLE_BODY:{dr(this,t);break}case T.IN_ROW:{ja(this,t);break}case T.IN_CELL:{uE(this,t);break}case T.IN_SELECT:{$a(this,t);break}case T.IN_SELECT_IN_TABLE:{aE(this,t);break}case T.IN_TEMPLATE:{oE(this,t);break}case T.AFTER_BODY:{Ja(this,t);break}case T.IN_FRAMESET:{fE(this,t);break}case T.AFTER_FRAMESET:{dE(this,t);break}case T.AFTER_AFTER_BODY:{dn(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{Bt(this,t);break}case T.BEFORE_HTML:{zt(this,t);break}case T.BEFORE_HEAD:{Wt(this,t);break}case T.IN_HEAD:{qt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Gt(this,t);break}case T.AFTER_HEAD:{Vt(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{qa(this,t);break}case T.TEXT:{Gp(this,t);break}case T.IN_TABLE_TEXT:{Ft(this,t);break}case T.IN_TEMPLATE:{Ka(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Mr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===d.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Ua(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{Jn(this,t);break}case T.IN_TABLE_TEXT:{Ga(this,t);break}}}}function z1(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Wa(e,t),n}function W1(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function q1(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let i=0,a=u;a!==n;i++,a=u){u=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&i>=v1;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=G1(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function G1(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function V1(e,t,n){const r=e.treeAdapter.getTagName(t),u=Nt(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===x.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Q1(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,i=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,u.tagID)}function wr(e,t){for(let n=0;n<U1;n++){const r=z1(e,t);if(!r)break;const u=W1(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=q1(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&V1(e,a,i),Q1(e,u,r)}}function hr(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function j1(e,t){e._appendCommentNode(t,e.openElements.items[0])}function X1(e,t){e._appendCommentNode(t,e.document)}function Mr(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(i);a&&!a.endTag&&e._setEndLocation(i,t)}}}}function $1(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ce.QUIRKS:N1(t);k1(t)||e._err(t,I.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function Bt(e,t){e._err(t,I.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ce.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function K1(e,t){t.tagID===s.HTML?(e._insertElement(t,x.HTML),e.insertionMode=T.BEFORE_HEAD):zt(e,t)}function J1(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&zt(e,t)}function zt(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function Z1(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.HEAD:{e._insertElement(t,x.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:Wt(e,t)}}function ep(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?Wt(e,t):e._err(t,I.endTagWithoutMatchingOpenElement)}function Wt(e,t){e._insertFakeElement(A.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function Oe(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,ue.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ue.RAWTEXT):(e._insertElement(t,x.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,ue.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,ue.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case s.HEAD:{e._err(t,I.misplacedStartTagForHeadElement);break}default:qt(e,t)}}function tp(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{qt(e,t);break}case s.TEMPLATE:{ct(e,t);break}default:e._err(t,I.endTagWithoutMatchingOpenElement)}}function ct(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,I.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,I.endTagWithoutMatchingOpenElement)}function qt(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function np(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Oe(e,t);break}case s.NOSCRIPT:{e._err(t,I.nestedNoscriptInHead);break}default:Gt(e,t)}}function rp(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case s.BR:{Gt(e,t);break}default:e._err(t,I.endTagWithoutMatchingOpenElement)}}function Gt(e,t){const n=t.type===q.EOF?I.openElementsLeftAfterEof:I.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function up(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.BODY:{e._insertElement(t,x.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,x.HTML),e.insertionMode=T.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,I.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Oe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,I.misplacedStartTagForHeadElement);break}default:Vt(e,t)}}function ip(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Vt(e,t);break}case s.TEMPLATE:{ct(e,t);break}default:e._err(t,I.endTagWithoutMatchingOpenElement)}}function Vt(e,t){e._insertFakeElement(A.BODY,s.BODY),e.insertionMode=T.IN_BODY,Ln(e,t)}function Ln(e,t){switch(t.type){case q.CHARACTER:{va(e,t);break}case q.WHITESPACE_CHARACTER:{Ua(e,t);break}case q.COMMENT:{hr(e,t);break}case q.START_TAG:{he(e,t);break}case q.END_TAG:{Dn(e,t);break}case q.EOF:{qa(e,t);break}}}function Ua(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function va(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ap(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function sp(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function op(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_FRAMESET)}function lp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML)}function cp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&fr.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,x.HTML)}function fp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function hp(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),n||(e.formElement=e.openElements.current))}function dp(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML)}function mp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),e.tokenizer.state=ue.PLAINTEXT}function pp(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.framesetOk=!1}function Ep(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(A.A);n&&(wr(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Tp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gp(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(wr(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,x.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function _p(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ce.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,x.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function Ya(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,x.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function za(e){const t=La(e,it.TYPE);return t!=null&&t.toLowerCase()===H1}function Ap(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,x.HTML),za(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Cp(e,t){e._appendElement(t,x.HTML),t.ackSelfClosing=!0}function Ip(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,x.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function yp(e,t){t.tagName=A.IMG,t.tagID=s.IMG,Ya(e,t)}function kp(e,t){e._insertElement(t,x.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ue.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function Np(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ue.RAWTEXT)}function Sp(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ue.RAWTEXT)}function ri(e,t){e._switchToTextParsing(t,ue.RAWTEXT)}function xp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function Op(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML)}function Lp(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,x.HTML)}function Dp(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,x.HTML)}function Rp(e,t){e._reconstructActiveFormattingElements(),Ba(t),Pr(t),t.selfClosing?e._appendElement(t,x.MATHML):e._insertElement(t,x.MATHML),t.ackSelfClosing=!0}function Pp(e,t){e._reconstructActiveFormattingElements(),Fa(t),Pr(t),t.selfClosing?e._appendElement(t,x.SVG):e._insertElement(t,x.SVG),t.ackSelfClosing=!0}function ui(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,x.HTML)}function he(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{Tp(e,t);break}case s.A:{Ep(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{cp(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{lp(e,t);break}case s.LI:case s.DD:case s.DT:{dp(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Ya(e,t);break}case s.HR:{Ip(e,t);break}case s.RB:case s.RTC:{Lp(e,t);break}case s.RT:case s.RP:{Dp(e,t);break}case s.PRE:case s.LISTING:{fp(e,t);break}case s.XMP:{Np(e,t);break}case s.SVG:{Pp(e,t);break}case s.HTML:{ap(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Oe(e,t);break}case s.BODY:{sp(e,t);break}case s.FORM:{hp(e,t);break}case s.NOBR:{gp(e,t);break}case s.MATH:{Rp(e,t);break}case s.TABLE:{_p(e,t);break}case s.INPUT:{Ap(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Cp(e,t);break}case s.IMAGE:{yp(e,t);break}case s.BUTTON:{pp(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{bp(e,t);break}case s.IFRAME:{Sp(e,t);break}case s.SELECT:{xp(e,t);break}case s.OPTION:case s.OPTGROUP:{Op(e,t);break}case s.NOEMBED:case s.NOFRAMES:{ri(e,t);break}case s.FRAMESET:{op(e,t);break}case s.TEXTAREA:{kp(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?ri(e,t):ui(e,t);break}case s.PLAINTEXT:{mp(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:ui(e,t)}}function wp(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Mp(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,Ja(e,t))}function Bp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Fp(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function Hp(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(A.P,s.P),e._closePElement()}function Up(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function vp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Yp(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function zp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Wp(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(A.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function Wa(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const i=e.openElements.items[u],a=e.openElements.tagIDs[u];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(i,a))break}}function Dn(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{wr(e,t);break}case s.P:{Hp(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Bp(e,t);break}case s.LI:{Up(e);break}case s.DD:case s.DT:{vp(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Yp(e);break}case s.BR:{Wp(e);break}case s.BODY:{wp(e,t);break}case s.HTML:{Mp(e,t);break}case s.FORM:{Fp(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{zp(e,t);break}case s.TEMPLATE:{ct(e,t);break}default:Wa(e,t)}}function qa(e,t){e.tmplInsertionModeStack.length>0?Ka(e,t):Mr(e,t)}function qp(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Gp(e,t){e._err(t,I.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Jn(e,t){if(e.openElements.currentTagId!==void 0&&Ha.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case q.CHARACTER:{Va(e,t);break}case q.WHITESPACE_CHARACTER:{Ga(e,t);break}}else tn(e,t)}function Vp(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_CAPTION}function Qp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function jp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.COLGROUP,s.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,Br(e,t)}function Xp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_TABLE_BODY}function $p(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.TBODY,s.TBODY),e.insertionMode=T.IN_TABLE_BODY,Rn(e,t)}function Kp(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Jp(e,t){za(t)?e._appendElement(t,x.HTML):tn(e,t),t.ackSelfClosing=!0}function Zp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,x.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ct(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{$p(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Oe(e,t);break}case s.COL:{jp(e,t);break}case s.FORM:{Zp(e,t);break}case s.TABLE:{Kp(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{Xp(e,t);break}case s.INPUT:{Jp(e,t);break}case s.CAPTION:{Vp(e,t);break}case s.COLGROUP:{Qp(e,t);break}default:tn(e,t)}}function $t(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{ct(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:tn(e,t)}}function tn(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Ln(e,t),e.fosterParentingEnabled=n}function Ga(e,t){e.pendingCharacterTokens.push(t)}function Va(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Ft(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)tn(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Qa=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function eE(e,t){const n=t.tagID;Qa.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,Ct(e,t)):he(e,t)}function tE(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,n===s.TABLE&&$t(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Dn(e,t)}}function Br(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.COL:{e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Oe(e,t);break}default:bn(e,t)}}function nE(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TEMPLATE:{ct(e,t);break}case s.COL:break;default:bn(e,t)}}function bn(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function Rn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(A.TR,s.TR),e.insertionMode=T.IN_ROW,Pn(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,Ct(e,t));break}default:Ct(e,t)}}function dr(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,$t(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:$t(e,t)}}function Pn(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,x.HTML),e.insertionMode=T.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,Rn(e,t));break}default:Ct(e,t)}}function ja(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,dr(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,dr(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:$t(e,t)}}function rE(e,t){const n=t.tagID;Qa.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),Pn(e,t)):he(e,t)}function uE(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),ja(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Dn(e,t)}}function Xa(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,x.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,x.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{Oe(e,t);break}}}function $a(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{ct(e,t);break}}}function iE(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Xa(e,t)}function aE(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):$a(e,t)}function sE(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Oe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,Ct(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,Br(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,Rn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,Pn(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,he(e,t)}}function oE(e,t){t.tagID===s.TEMPLATE&&ct(e,t)}function Ka(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Mr(e,t)}function lE(e,t){t.tagID===s.HTML?he(e,t):_n(e,t)}function Ja(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=T.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else _n(e,t)}function _n(e,t){e.insertionMode=T.IN_BODY,Ln(e,t)}function cE(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.FRAMESET:{e._insertElement(t,x.HTML);break}case s.FRAME:{e._appendElement(t,x.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Oe(e,t);break}}}function fE(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function hE(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.NOFRAMES:{Oe(e,t);break}}}function dE(e,t){t.tagID===s.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function mE(e,t){t.tagID===s.HTML?he(e,t):dn(e,t)}function dn(e,t){e.insertionMode=T.IN_BODY,Ln(e,t)}function pE(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.NOFRAMES:{Oe(e,t);break}}}function EE(e,t){t.chars=re,e._insertCharacters(t)}function TE(e,t){e._insertCharacters(t),e.framesetOk=!1}function Za(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==x.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function gE(e,t){if(P1(t))Za(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===x.MATHML?Ba(t):r===x.SVG&&(w1(t),Fa(t)),Pr(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function bE(e,t){if(t.tagID===s.P||t.tagID===s.BR){Za(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===x.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}A.AREA,A.BASE,A.BASEFONT,A.BGSOUND,A.BR,A.COL,A.EMBED,A.FRAME,A.HR,A.IMG,A.INPUT,A.KEYGEN,A.LINK,A.META,A.PARAM,A.SOURCE,A.TRACK,A.WBR;const _E=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,AE=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ii={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function es(e,t){const n=DE(e),r=ra("type",{handlers:{root:CE,element:IE,text:yE,comment:ns,doctype:kE,raw:SE},unknown:xE}),u={parser:n?new ni(ii):ni.getFragmentParser(void 0,ii),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),St(u,we());const i=n?u.parser.document:u.parser.getFragment(),a=Rm(i,{file:u.options.file});return u.stitches&&On(a,"comment",function(o,l,c){const h=o;if(h.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=h.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function ts(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function CE(e,t){ts(e.children,t)}function IE(e,t){OE(e,t),ts(e.children,t),LE(e,t)}function yE(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:q.CHARACTER,chars:e.value,location:nn(e)};St(t,we(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function kE(e,t){const n={type:q.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:nn(e)};St(t,we(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function NE(e,t){t.stitches=!0;const n=RE(e);if("children"in e&&"children"in n){const r=es({type:"root",children:e.children},t.options);n.children=r.children}ns({type:"comment",value:{stitch:n}},t)}function ns(e,t){const n=e.value,r={type:q.COMMENT,data:n,location:nn(e)};St(t,we(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function SE(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,rs(t,we(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(_E,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function xE(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))NE(n,t);else{let r="";throw AE.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function St(e,t){rs(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ue.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function rs(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function OE(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ue.PLAINTEXT)return;St(t,we(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:ut.html;u===ut.html&&n==="svg"&&(u=ut.svg);const i=Fm({...e,children:[]},{space:u===ut.svg?"svg":"html"}),a={type:q.START_TAG,tagName:n,tagID:Nt(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:nn(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function LE(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Gm.includes(n)||t.parser.tokenizer.state===ue.PLAINTEXT)return;St(t,In(e));const r={type:q.END_TAG,tagName:n,tagID:Nt(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:nn(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ue.RCDATA||t.parser.tokenizer.state===ue.RAWTEXT||t.parser.tokenizer.state===ue.SCRIPT_DATA)&&(t.parser.tokenizer.state=ue.DATA)}function DE(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function nn(e){const t=we(e)||{line:void 0,column:void 0,offset:void 0},n=In(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function RE(e){return"children"in e?ot({...e,children:[]}):ot(e)}function PE(e){return function(t,n){return es(t,{...e,file:n})}}const tt=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],ai={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...tt,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...tt],h2:[["className","sr-only"]],img:[...tt,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...tt,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...tt],table:[...tt],ul:[...tt,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Qe={}.hasOwnProperty;function wE(e,t){let n={type:"root",children:[]};const r={schema:t?{...ai,...t}:ai,stack:[]},u=us(r,e);return u&&(Array.isArray(u)?u.length===1?n=u[0]:n.children=u:n=u),n}function us(e,t){if(t&&typeof t=="object"){const n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return ME(e,n);case"doctype":return BE(e,n);case"element":return FE(e,n);case"root":return HE(e,n);case"text":return UE(e,n)}}}function ME(e,t){if(e.schema.allowComments){const n=typeof t.value=="string"?t.value:"",r=n.indexOf("-->"),i={type:"comment",value:r<0?n:n.slice(0,r)};return rn(i,t),i}}function BE(e,t){if(e.schema.allowDoctypes){const n={type:"doctype"};return rn(n,t),n}}function FE(e,t){const n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);const r=is(e,t.children),u=vE(e,t.properties);e.stack.pop();let i=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&Qe.call(e.schema.ancestors,n))){const o=e.schema.ancestors[n];let l=-1;for(i=!1;++l<o.length;)e.stack.includes(o[l])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const a={type:"element",tagName:n,properties:u,children:r};return rn(a,t),a}function HE(e,t){const r={type:"root",children:is(e,t.children)};return rn(r,t),r}function UE(e,t){const r={type:"text",value:typeof t.value=="string"?t.value:""};return rn(r,t),r}function is(e,t){const n=[];if(Array.isArray(t)){const r=t;let u=-1;for(;++u<r.length;){const i=us(e,r[u]);i&&(Array.isArray(i)?n.push(...i):n.push(i))}}return n}function vE(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,u=e.schema.required,i=r&&Qe.call(r,n)?r[n]:void 0,a=r&&Qe.call(r,"*")?r["*"]:void 0,o=t&&typeof t=="object"?t:{},l={};let c;for(c in o)if(Qe.call(o,c)){const h=o[c];let f=si(e,oi(i,c),c,h);f==null&&(f=si(e,oi(a,c),c,h)),f!=null&&(l[c]=f)}if(u&&Qe.call(u,n)){const h=u[n];for(c in h)Qe.call(h,c)&&!Qe.call(l,c)&&(l[c]=h[c])}return l}function si(e,t,n,r){return t?Array.isArray(r)?YE(e,t,n,r):as(e,t,n,r):void 0}function YE(e,t,n,r){let u=-1;const i=[];for(;++u<r.length;){const a=as(e,t,n,r[u]);(typeof a=="number"||typeof a=="string")&&i.push(a)}return i}function as(e,t,n,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&zE(e,n,r)){if(typeof t=="object"&&t.length>1){let u=!1,i=0;for(;++i<t.length;){const a=t[i];if(a&&typeof a=="object"&&"flags"in a){if(a.test(String(r))){u=!0;break}}else if(a===r){u=!0;break}}if(!u)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function zE(e,t,n){const r=e.schema.protocols&&Qe.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;const u=String(n),i=u.indexOf(":"),a=u.indexOf("?"),o=u.indexOf("#"),l=u.indexOf("/");if(i<0||l>-1&&i>l||a>-1&&i>a||o>-1&&i>o)return!0;let c=-1;for(;++c<r.length;){const h=r[c];if(i===h.length&&u.slice(0,h.length)===h)return!0}return!1}function rn(e,t){const n=Ni(t);t.data&&(e.data=ot(t.data)),n&&(e.position=n)}function oi(e,t){let n,r=-1;if(e)for(;++r<e.length;){const u=e[r],i=typeof u=="string"?u:u[0];if(i===t)return u;i==="data*"&&(n=u)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function WE(e){return function(t){return wE(t,e)}}function JE({content:e,articleId:t,className:n=""}){const u=t?((i,a)=>a?i.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,(o,l,c)=>{if(c.startsWith("http://")||c.startsWith("https://"))return o;const h=c.replace(/^\.?\//,""),f=`https://storage.googleapis.com/goh/articles/${a}/${h}`;return``}):i)(e,t):e;return rt.jsx("div",{className:`markdown-content ${n}`,children:rt.jsx(oh,{remarkPlugins:[Am],rehypePlugins:[PE,[WE,{tagNames:["p","br","strong","em","u","h1","h2","h3","h4","h5","h6","ul","ol","li","a","img","blockquote","code","pre"],attributes:{a:["href","title"],img:["src","alt","title"]}}]],components:{a:({node:i,...a})=>{const o=a.href||"",l=o.startsWith("http://")||o.startsWith("https://");return rt.jsx("a",{...a,href:o,target:l?"_blank":void 0,rel:l?"noopener noreferrer":void 0,className:"text-primary hover:underline"})},img:({node:i,...a})=>rt.jsx("img",{...a,className:"max-w-full h-auto rounded-lg my-4",loading:"lazy",alt:a.alt||""})},children:u})})}export{QE as C,JE as M,jE as N,XE as U,$E as f,KE as r};