(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,470284,e=>{"use strict";function t(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}e.s(["ccount",()=>t])},897802,e=>{"use strict";function t(){}e.s(["ok",()=>t])},194772,e=>{"use strict";let t=document.createElement("i");function n(e){let n="&"+e+";";t.innerHTML=n;let r=t.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==n&&r}e.s(["decodeNamedCharacterReference",()=>n])},402652,173119,e=>{"use strict";let t=function(e){var i,a;if(null==e)return r;if("function"==typeof e)return n(e);if("object"==typeof e){return Array.isArray(e)?function(e){let r=[],i=-1;for(;++i":"")+")"})}return h;function h(){var d;let h,p,m,f=i;if((!n||l(t,o,u[u.length-1]||void 0))&&!1===(f=Array.isArray(d=r(t,u))?d:"number"==typeof d?[!0,d]:null==d?i:[d])[0])return f;if("children"in t&&t.children&&t.children&&f[0]!==a)for(p=(s?t.children.length:-1)+c,m=u.concat(t);p>-1&&ps],402652)},455470,e=>{"use strict";let t=p(/[A-Za-z]/),n=p(/[\dA-Za-z]/),r=p(/[#-'*+\--9=?A-Z^-~]/);function i(e){return null!==e&&(e<32||127===e)}let a=p(/\d/),s=p(/[\dA-Fa-f]/),o=p(/[!-/:-@[-`{-~]/);function l(e){return null!==e&&e<-2}function c(e){return null!==e&&(e<0||32===e)}function u(e){return -2===e||-1===e||32===e}let d=p(/\p{P}|\p{S}/u),h=p(/\s/);function p(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}e.s(["asciiAlpha",0,t,"asciiAlphanumeric",0,n,"asciiAtext",0,r,"asciiControl",()=>i,"asciiDigit",0,a,"asciiHexDigit",0,s,"asciiPunctuation",0,o,"markdownLineEnding",()=>l,"markdownLineEndingOrSpace",()=>c,"markdownSpace",()=>u,"unicodePunctuation",0,d,"unicodeWhitespace",0,h])},133220,e=>{"use strict";var t=e.i(455470);function n(e,n,r,i){let a=i?i-1:1/0,s=0;return function(i){return(0,t.markdownSpace)(i)?(e.enter(r),function i(o){return(0,t.markdownSpace)(o)&&s++n])},658119,e=>{"use strict";var t=e.i(133220),n=e.i(455470);function r(e,r){let i;return function a(s){return(0,n.markdownLineEnding)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i=!0,a):(0,n.markdownSpace)(s)?(0,t.factorySpace)(e,a,i?"linePrefix":"lineSuffix")(s):r(s)}}e.s(["factoryWhitespace",()=>r])},327921,216920,75615,e=>{"use strict";var t=e.i(402652);function n(e,n,r,i){let a,s,o;"function"==typeof n&&"function"!=typeof r?(s=void 0,o=n,a=r):(s=n,o=r,a=i),(0,t.visitParents)(e,s,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},a)}e.s(["visit",()=>n],216920);let r="indicator",i="text-only",a="remove";function s(e){let{defaultOrigin:t="",allowedLinkPrefixes:i=[],allowedImagePrefixes:a=[],allowDataImages:s=!1,allowedProtocols:o=[],blockedImageClass:l="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:c="text-gray-500",linkBlockPolicy:u=r,imageBlockPolicy:d=r}=e,p=i.length&&!i.every(e=>"*"===e),m=a.length&&!a.every(e=>"*"===e);if(!t&&(p||m))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return e=>{let r=h(t,i,a,s,o,l,c,u,d);(function e(t){if("children"in t&&Array.isArray(t.children))for(let n of(t.children=t.children.filter(e=>null!=e),t.children))e(n)})(e),n(e,r)}}function o(e,t){if("string"!=typeof e)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{}return null}}let l=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),c=new Set(["javascript:","data:","file:","vbscript:"]);function u(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];if(!e)return null;if("string"==typeof e&&e.startsWith("#")&&!i)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if("string"==typeof e&&e.startsWith("data:"))return i&&r&&e.startsWith("data:image/")?e:null;if("string"==typeof e&&e.startsWith("blob:")){try{let t=new URL(e);if("blob:"===t.protocol&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&"invalid"!==t)return e}}catch{}return null}let s=o(e,n);if(!s||c.has(s.protocol)||!(l.has(s.protocol)||a.includes(s.protocol)||a.includes("*")))return null;if("mailto:"===s.protocol||!s.protocol.match(/^https?:$/))return s.href;let u="string"==typeof e&&(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"));return s&&t.some(e=>{let t=o(e,n);return!!t&&t.origin===s.origin&&s.href.startsWith(t.href)})?u?s.pathname+s.search+s.hash:s.href:t.includes("*")?"https:"!==s.protocol&&"http:"!==s.protocol?null:u?s.pathname+s.search+s.hash:s.href:null}let d=Symbol("node-seen"),h=(e,r,s,o,l,c,h,p,m)=>{let f=(g,E,T)=>{if("element"!==g.type||g[d])return t.CONTINUE;if("a"===g.tagName){let s=u(g.properties.href,r,e,!1,!1,l);if(null!==s)return g.properties.href=s,g.properties.target="_blank",g.properties.rel="noopener noreferrer",t.CONTINUE;if(g[d]=!0,n(g,f),T&&"number"==typeof E){let e=p===a?{type:"remove"}:p===i?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...g.children]}}:{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(g.properties.href),class:h},children:[...g.children,{type:"text",value:" [blocked]"}]}};if("remove"===e.type)return T.children.splice(E,1),[t.SKIP,E];T.children[E]=e.element}return t.SKIP}if("img"===g.tagName){let r=u(g.properties.src,s,e,o,!0,l);if(null===r){if(g[d]=!0,n(g,f),T&&"number"==typeof E){let e=function(e,t,n){if(t===a)return{type:"remove"};if(t===i){let t=String(e.properties.alt||"");return t?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:t}]}}:{type:"remove"}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:n},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}}}(g,m,c);if("remove"===e.type)return T.children.splice(E,1),[t.SKIP,E];T.children[E]=e.element}return t.SKIP}g.properties.src=r}return t.CONTINUE};return f};e.s(["harden",()=>s],327921);let p="object"==typeof self?self:globalThis,m=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[a,s]=e[i];switch(a){case 0:case -1:return n(s,i);case 1:{let e=n([],i);for(let t of s)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),i);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of s)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of s)e.add(r(t));return e}case 7:{let{name:e,message:t}=s;return n(new p[e](t),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{let{buffer:e}=new Uint8Array(s);return n(new DataView(e),s)}}return n(new p[a](s),i)})(0)},{toString:f}={},{keys:g}=Object,E=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=f.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},T=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},k=function(e){var t,n,r;let i,a,{json:s,lossy:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=[];return(t=!(s||o),n=!!s,r=new Map,i=(e,t)=>{let n=l.push(e)-1;return r.set(t,n),n},a=e=>{if(r.has(e))return r.get(e);let[s,o]=E(e);switch(s){case 0:{let n=e;switch(o){case"bigint":s=8,n=e.toString();break;case"function":case"symbol":if(t)throw TypeError("unable to serialize "+o);n=null;break;case"undefined":return i([-1],e)}return i([s,n],e)}case 1:{if(o){let t=e;return"DataView"===o?t=new Uint8Array(e.buffer):"ArrayBuffer"===o&&(t=new Uint8Array(e)),i([o,[...t]],e)}let t=[],n=i([s,t],e);for(let n of e)t.push(a(n));return n}case 2:{if(o)switch(o){case"BigInt":return i([o,e.toString()],e);case"Boolean":case"Number":case"String":return i([o,e.valueOf()],e)}if(n&&"toJSON"in e)return a(e.toJSON());let r=[],l=i([s,r],e);for(let n of g(e))(t||!T(E(e[n])))&&r.push([a(n),a(e[n])]);return l}case 3:return i([s,e.toISOString()],e);case 4:{let{source:t,flags:n}=e;return i([s,{source:t,flags:n}],e)}case 5:{let n=[],r=i([s,n],e);for(let[r,i]of e)(t||!(T(E(r))||T(E(i))))&&n.push([a(r),a(i)]);return r}case 6:{let n=[],r=i([s,n],e);for(let r of e)(t||!T(E(r)))&&n.push(a(r));return r}}let{message:l}=e;return i([s,{name:o,message:l}],e)})(e),l},b="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?m(k(e,t)):structuredClone(e):(e,t)=>m(k(e,t));e.s(["default",0,b],75615)},784251,61634,816220,273638,722365,e=>{"use strict";class t{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function n(e,n){let r={},i={};for(let t of e)Object.assign(r,t.property),Object.assign(i,t.normal);return new t(r,i,n)}function r(e){return e.toLowerCase()}t.prototype.normal={},t.prototype.property={},t.prototype.space=void 0;class i{constructor(e,t){this.attribute=t,this.property=e}}i.prototype.attribute="",i.prototype.booleanish=!1,i.prototype.boolean=!1,i.prototype.commaOrSpaceSeparated=!1,i.prototype.commaSeparated=!1,i.prototype.defined=!1,i.prototype.mustUseProperty=!1,i.prototype.number=!1,i.prototype.overloadedBoolean=!1,i.prototype.property="",i.prototype.spaceSeparated=!1,i.prototype.space=void 0;let a=0,s=p(),o=p(),l=p(),c=p(),u=p(),d=p(),h=p();function p(){return 2**++a}e.s(["boolean",0,s,"booleanish",0,o,"commaOrSpaceSeparated",0,h,"commaSeparated",0,d,"number",0,c,"overloadedBoolean",0,l,"spaceSeparated",0,u],527951);var m=e.i(527951);let f=Object.keys(m);class g extends i{constructor(e,t,n,r){let i=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function k(e,t){return t in e?e[t]:t}function b(e,t){return k(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:s,allowPaymentRequest:s,allowUserMedia:s,alt:null,as:null,async:s,autoCapitalize:null,autoComplete:u,autoFocus:s,autoPlay:s,blocking:u,capture:null,charSet:null,checked:s,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:o,controls:s,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s,defer:s,dir:null,dirName:null,disabled:s,download:l,draggable:o,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s,formTarget:null,headers:u,height:c,hidden:l,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:null,inert:s,inputMode:null,integrity:null,is:null,isMap:s,itemId:null,itemProp:u,itemRef:u,itemScope:s,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:s,muted:s,name:null,nonce:null,noModule:s,noValidate:s,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:s,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:s,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:s,referrerPolicy:null,rel:u,required:s,reversed:s,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:s,seamless:s,selected:s,shadowRootClonable:s,shadowRootDelegatesFocus:s,shadowRootMode:null,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:o,src:null,srcDoc:null,srcLang:null,srcSet:null,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:s,useMap:null,value:o,width:c,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s,declare:s,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:s,noHref:s,noShade:s,noWrap:s,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:o,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s,disableRemotePlayback:s,prefix:null,property:null,results:c,security:null,unselectable:null},space:"html",transform:b}),_=E({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:h,accentHeight:c,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:c,amplitude:c,arabicForm:null,ascent:c,attributeName:null,attributeType:null,azimuth:c,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:c,by:null,calcMode:null,capHeight:c,className:u,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:c,diffuseConstant:c,direction:null,display:null,dur:null,divisor:c,dominantBaseline:null,download:s,dx:null,dy:null,edgeMode:null,editable:null,elevation:c,enableBackground:null,end:null,event:null,exponent:c,externalResourcesRequired:null,fill:null,fillOpacity:c,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:d,g2:d,glyphName:d,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:c,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:c,horizOriginX:c,horizOriginY:c,id:null,ideographic:c,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:c,k:c,k1:c,k2:c,k3:c,k4:c,kernelMatrix:h,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:c,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:c,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:c,overlineThickness:c,paintOrder:null,panose1:null,path:null,pathLength:c,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:c,pointsAtY:c,pointsAtZ:c,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:h,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:h,rev:h,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:h,requiredFeatures:h,requiredFonts:h,requiredFormats:h,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:c,specularExponent:c,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:c,strikethroughThickness:c,string:null,stroke:null,strokeDashArray:h,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:c,strokeOpacity:c,strokeWidth:null,style:null,surfaceScale:c,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:h,tabIndex:c,tableValues:null,target:null,targetX:c,targetY:c,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:h,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:c,underlineThickness:c,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:c,values:null,vAlphabetic:c,vMathematical:c,vectorEffect:null,vHanging:c,vIdeographic:c,version:null,vertAdvY:c,vertOriginX:c,vertOriginY:c,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:c,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:k}),y=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),S=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:b}),C=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),x=n([T,A,y,S,C],"html"),N=n([T,_,y,S,C],"svg");function I(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function v(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}e.s(["html",0,x,"svg",0,N],61634),e.s(["parse",()=>I,"stringify",()=>v],816220);let D=/[#.]/g,w=/[A-Z]/g,L=/-[a-z]/g,O=/^data[-\w.:]+$/i;function R(e,t){let n=r(t),a=t,s=i;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&O.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);a="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(w,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}s=g}return new s(a,t)}function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}function F(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function B(e){return e.join(" ").trim()}function H(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i){let a;for(var s=arguments.length,o=Array(s>2?s-2:0),l=2;lR],273638),e.s(["parse",()=>F,"stringify",()=>B],722365);let G=H(x,"div"),j=H(N,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);e.s(["h",0,G,"s",0,j],784251)},69898,e=>{"use strict";function t(e){let t=String(e),r=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;r.length1?r[e.line-2]:0)+e.column-1;if(i-1&&e<=t.length){let i=0;for(;;){let a=r[i];if(void 0===a){let e=n(t,r[i-1]);a=-1===e?t.length+1:e+1,r[i]=a}if(a>e)return{line:i+1,column:e-(i>0?r[i-1]:0)+1,offset:e};i++}}}}}function n(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:nt])},565864,e=>{"use strict";e.s(["webNamespaces",0,{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/"}])},71345,417798,675917,511356,e=>{"use strict";var t,n,r,i,a,s,o,l,c,u,d,h,p,m,f,g,E,T,k,b,A,_,y,S,C,x,N,I,v,D,w,L=e.i(75615),O=e.i(897802),R=e.i(784251),P=e.i(273638),M=e.i(61634),F=e.i(69898),B=e.i(565864);let H={}.hasOwnProperty,U=Object.prototype;function G(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},z(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:j(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t=String(e.file),r=(0,F.location)(t),i=r.toPoint(0),a=r.toPoint(t.length);(0,O.ok)(i,"expected `start`"),(0,O.ok)(a,"expected `end`"),n.position={start:i,end:a}}return n}case"#documentType":return z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===B.webNamespaces.svg?M.svg:M.html;let r=-1,i={};for(;++r1?n-1:0),a=1;a=55296&&e<=57343}function es(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||et.has(e)}(n=E||(E={})).controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class el{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,s=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(E.surrogateInInputStream),e}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(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let n=this.html.charCodeAt(t);return n===g.CARRIAGE_RETURN?g.LINE_FEED:n}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,g.EOF;let e=this.html.charCodeAt(this.pos);return e===g.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED):e===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===g.LINE_FEED||e===g.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){es(e)?this._err(E.controlCharacterInInputStream):eo(e)&&this._err(E.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(r=T||(T={}))[r.CHARACTER=0]="CHARACTER",r[r.NULL_CHARACTER=1]="NULL_CHARACTER",r[r.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",r[r.START_TAG=3]="START_TAG",r[r.END_TAG=4]="END_TAG",r[r.COMMENT=5]="COMMENT",r[r.DOCTYPE=6]="DOCTYPE",r[r.EOF=7]="EOF",r[r.HIBERNATION=8]="HIBERNATION",e.s(["TokenType",()=>T,"getTokenAttr",()=>ec],743820);let eu=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;扐blè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;戥ǹ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;ẝẤijạả;怄;怅怃Ā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;耀filig;쀀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㚆㚝㚵㚼Dz㚋\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))),ed=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 eh(e){return e>=b.ZERO&&e<=b.NINE}k=String.fromCodePoint,(i=b||(b={}))[i.NUM=35]="NUM",i[i.SEMI=59]="SEMI",i[i.EQUALS=61]="EQUALS",i[i.ZERO=48]="ZERO",i[i.NINE=57]="NINE",i[i.LOWER_A=97]="LOWER_A",i[i.LOWER_F=102]="LOWER_F",i[i.LOWER_X=120]="LOWER_X",i[i.LOWER_Z=122]="LOWER_Z",i[i.UPPER_A=65]="UPPER_A",i[i.UPPER_F=70]="UPPER_F",i[i.UPPER_Z=90]="UPPER_Z",(a=A||(A={}))[a.VALUE_LENGTH=49152]="VALUE_LENGTH",a[a.BRANCH_LENGTH=16256]="BRANCH_LENGTH",a[a.JUMP_TABLE=127]="JUMP_TABLE",(s=_||(_={}))[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity",(o=y||(y={}))[o.Legacy=0]="Legacy",o[o.Strict=1]="Strict",o[o.Attribute=2]="Attribute";class ep{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=_.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=y.Strict}startEntity(e){this.decodeMode=e,this.state=_.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case _.EntityStart:if(e.charCodeAt(t)===b.NUM)return this.state=_.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=_.NamedEntity,this.stateNamedEntity(e,t);case _.NumericStart:return this.stateNumericStart(e,t);case _.NumericDecimal:return this.stateNumericDecimal(e,t);case _.NumericHex:return this.stateNumericHex(e,t);case _.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===b.LOWER_X?(this.state=_.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=_.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t=b.UPPER_A)||!(r<=b.UPPER_F))&&(!(r>=b.LOWER_A)||!(r<=b.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t=55296&&r<=57343||r>1114111?65533:null!=(i=ed.get(r))?i:r,this.consumed),this.errors&&(e!==b.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&A.VALUE_LENGTH)>>14;for(;t>7,a=t&A.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let s=n,o=s+i-1;for(;s<=o;){let t=s+o>>>1,n=e[t];if(nr))return e[t+i];o=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===y.Attribute&&(0===i||function(e){var t;return e===b.EQUALS||(t=e)>=b.UPPER_A&&t<=b.UPPER_Z||t>=b.LOWER_A&&t<=b.LOWER_Z||eh(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&A.VALUE_LENGTH)>>14)){if(a===b.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==y.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&A.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~A.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case _.NamedEntity:return 0!==this.result&&(this.decodeMode!==y.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case _.NumericDecimal:return this.emitNumericEntity(0,2);case _.NumericHex:return this.emitNumericEntity(0,3);case _.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case _.EntityStart:return 0}}}(l=S||(S={})).HTML="http://www.w3.org/1999/xhtml",l.MATHML="http://www.w3.org/1998/Math/MathML",l.SVG="http://www.w3.org/2000/svg",l.XLINK="http://www.w3.org/1999/xlink",l.XML="http://www.w3.org/XML/1998/namespace",l.XMLNS="http://www.w3.org/2000/xmlns/",(c=C||(C={})).TYPE="type",c.ACTION="action",c.ENCODING="encoding",c.PROMPT="prompt",c.NAME="name",c.COLOR="color",c.FACE="face",c.SIZE="size",(u=x||(x={})).NO_QUIRKS="no-quirks",u.QUIRKS="quirks",u.LIMITED_QUIRKS="limited-quirks",(d=N||(N={})).A="a",d.ADDRESS="address",d.ANNOTATION_XML="annotation-xml",d.APPLET="applet",d.AREA="area",d.ARTICLE="article",d.ASIDE="aside",d.B="b",d.BASE="base",d.BASEFONT="basefont",d.BGSOUND="bgsound",d.BIG="big",d.BLOCKQUOTE="blockquote",d.BODY="body",d.BR="br",d.BUTTON="button",d.CAPTION="caption",d.CENTER="center",d.CODE="code",d.COL="col",d.COLGROUP="colgroup",d.DD="dd",d.DESC="desc",d.DETAILS="details",d.DIALOG="dialog",d.DIR="dir",d.DIV="div",d.DL="dl",d.DT="dt",d.EM="em",d.EMBED="embed",d.FIELDSET="fieldset",d.FIGCAPTION="figcaption",d.FIGURE="figure",d.FONT="font",d.FOOTER="footer",d.FOREIGN_OBJECT="foreignObject",d.FORM="form",d.FRAME="frame",d.FRAMESET="frameset",d.H1="h1",d.H2="h2",d.H3="h3",d.H4="h4",d.H5="h5",d.H6="h6",d.HEAD="head",d.HEADER="header",d.HGROUP="hgroup",d.HR="hr",d.HTML="html",d.I="i",d.IMG="img",d.IMAGE="image",d.INPUT="input",d.IFRAME="iframe",d.KEYGEN="keygen",d.LABEL="label",d.LI="li",d.LINK="link",d.LISTING="listing",d.MAIN="main",d.MALIGNMARK="malignmark",d.MARQUEE="marquee",d.MATH="math",d.MENU="menu",d.META="meta",d.MGLYPH="mglyph",d.MI="mi",d.MO="mo",d.MN="mn",d.MS="ms",d.MTEXT="mtext",d.NAV="nav",d.NOBR="nobr",d.NOFRAMES="noframes",d.NOEMBED="noembed",d.NOSCRIPT="noscript",d.OBJECT="object",d.OL="ol",d.OPTGROUP="optgroup",d.OPTION="option",d.P="p",d.PARAM="param",d.PLAINTEXT="plaintext",d.PRE="pre",d.RB="rb",d.RP="rp",d.RT="rt",d.RTC="rtc",d.RUBY="ruby",d.S="s",d.SCRIPT="script",d.SEARCH="search",d.SECTION="section",d.SELECT="select",d.SOURCE="source",d.SMALL="small",d.SPAN="span",d.STRIKE="strike",d.STRONG="strong",d.STYLE="style",d.SUB="sub",d.SUMMARY="summary",d.SUP="sup",d.TABLE="table",d.TBODY="tbody",d.TEMPLATE="template",d.TEXTAREA="textarea",d.TFOOT="tfoot",d.TD="td",d.TH="th",d.THEAD="thead",d.TITLE="title",d.TR="tr",d.TRACK="track",d.TT="tt",d.U="u",d.UL="ul",d.SVG="svg",d.VAR="var",d.WBR="wbr",d.XMP="xmp",(h=I||(I={}))[h.UNKNOWN=0]="UNKNOWN",h[h.A=1]="A",h[h.ADDRESS=2]="ADDRESS",h[h.ANNOTATION_XML=3]="ANNOTATION_XML",h[h.APPLET=4]="APPLET",h[h.AREA=5]="AREA",h[h.ARTICLE=6]="ARTICLE",h[h.ASIDE=7]="ASIDE",h[h.B=8]="B",h[h.BASE=9]="BASE",h[h.BASEFONT=10]="BASEFONT",h[h.BGSOUND=11]="BGSOUND",h[h.BIG=12]="BIG",h[h.BLOCKQUOTE=13]="BLOCKQUOTE",h[h.BODY=14]="BODY",h[h.BR=15]="BR",h[h.BUTTON=16]="BUTTON",h[h.CAPTION=17]="CAPTION",h[h.CENTER=18]="CENTER",h[h.CODE=19]="CODE",h[h.COL=20]="COL",h[h.COLGROUP=21]="COLGROUP",h[h.DD=22]="DD",h[h.DESC=23]="DESC",h[h.DETAILS=24]="DETAILS",h[h.DIALOG=25]="DIALOG",h[h.DIR=26]="DIR",h[h.DIV=27]="DIV",h[h.DL=28]="DL",h[h.DT=29]="DT",h[h.EM=30]="EM",h[h.EMBED=31]="EMBED",h[h.FIELDSET=32]="FIELDSET",h[h.FIGCAPTION=33]="FIGCAPTION",h[h.FIGURE=34]="FIGURE",h[h.FONT=35]="FONT",h[h.FOOTER=36]="FOOTER",h[h.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",h[h.FORM=38]="FORM",h[h.FRAME=39]="FRAME",h[h.FRAMESET=40]="FRAMESET",h[h.H1=41]="H1",h[h.H2=42]="H2",h[h.H3=43]="H3",h[h.H4=44]="H4",h[h.H5=45]="H5",h[h.H6=46]="H6",h[h.HEAD=47]="HEAD",h[h.HEADER=48]="HEADER",h[h.HGROUP=49]="HGROUP",h[h.HR=50]="HR",h[h.HTML=51]="HTML",h[h.I=52]="I",h[h.IMG=53]="IMG",h[h.IMAGE=54]="IMAGE",h[h.INPUT=55]="INPUT",h[h.IFRAME=56]="IFRAME",h[h.KEYGEN=57]="KEYGEN",h[h.LABEL=58]="LABEL",h[h.LI=59]="LI",h[h.LINK=60]="LINK",h[h.LISTING=61]="LISTING",h[h.MAIN=62]="MAIN",h[h.MALIGNMARK=63]="MALIGNMARK",h[h.MARQUEE=64]="MARQUEE",h[h.MATH=65]="MATH",h[h.MENU=66]="MENU",h[h.META=67]="META",h[h.MGLYPH=68]="MGLYPH",h[h.MI=69]="MI",h[h.MO=70]="MO",h[h.MN=71]="MN",h[h.MS=72]="MS",h[h.MTEXT=73]="MTEXT",h[h.NAV=74]="NAV",h[h.NOBR=75]="NOBR",h[h.NOFRAMES=76]="NOFRAMES",h[h.NOEMBED=77]="NOEMBED",h[h.NOSCRIPT=78]="NOSCRIPT",h[h.OBJECT=79]="OBJECT",h[h.OL=80]="OL",h[h.OPTGROUP=81]="OPTGROUP",h[h.OPTION=82]="OPTION",h[h.P=83]="P",h[h.PARAM=84]="PARAM",h[h.PLAINTEXT=85]="PLAINTEXT",h[h.PRE=86]="PRE",h[h.RB=87]="RB",h[h.RP=88]="RP",h[h.RT=89]="RT",h[h.RTC=90]="RTC",h[h.RUBY=91]="RUBY",h[h.S=92]="S",h[h.SCRIPT=93]="SCRIPT",h[h.SEARCH=94]="SEARCH",h[h.SECTION=95]="SECTION",h[h.SELECT=96]="SELECT",h[h.SOURCE=97]="SOURCE",h[h.SMALL=98]="SMALL",h[h.SPAN=99]="SPAN",h[h.STRIKE=100]="STRIKE",h[h.STRONG=101]="STRONG",h[h.STYLE=102]="STYLE",h[h.SUB=103]="SUB",h[h.SUMMARY=104]="SUMMARY",h[h.SUP=105]="SUP",h[h.TABLE=106]="TABLE",h[h.TBODY=107]="TBODY",h[h.TEMPLATE=108]="TEMPLATE",h[h.TEXTAREA=109]="TEXTAREA",h[h.TFOOT=110]="TFOOT",h[h.TD=111]="TD",h[h.TH=112]="TH",h[h.THEAD=113]="THEAD",h[h.TITLE=114]="TITLE",h[h.TR=115]="TR",h[h.TRACK=116]="TRACK",h[h.TT=117]="TT",h[h.U=118]="U",h[h.UL=119]="UL",h[h.SVG=120]="SVG",h[h.VAR=121]="VAR",h[h.WBR=122]="WBR",h[h.XMP=123]="XMP";let em=new Map([[N.A,I.A],[N.ADDRESS,I.ADDRESS],[N.ANNOTATION_XML,I.ANNOTATION_XML],[N.APPLET,I.APPLET],[N.AREA,I.AREA],[N.ARTICLE,I.ARTICLE],[N.ASIDE,I.ASIDE],[N.B,I.B],[N.BASE,I.BASE],[N.BASEFONT,I.BASEFONT],[N.BGSOUND,I.BGSOUND],[N.BIG,I.BIG],[N.BLOCKQUOTE,I.BLOCKQUOTE],[N.BODY,I.BODY],[N.BR,I.BR],[N.BUTTON,I.BUTTON],[N.CAPTION,I.CAPTION],[N.CENTER,I.CENTER],[N.CODE,I.CODE],[N.COL,I.COL],[N.COLGROUP,I.COLGROUP],[N.DD,I.DD],[N.DESC,I.DESC],[N.DETAILS,I.DETAILS],[N.DIALOG,I.DIALOG],[N.DIR,I.DIR],[N.DIV,I.DIV],[N.DL,I.DL],[N.DT,I.DT],[N.EM,I.EM],[N.EMBED,I.EMBED],[N.FIELDSET,I.FIELDSET],[N.FIGCAPTION,I.FIGCAPTION],[N.FIGURE,I.FIGURE],[N.FONT,I.FONT],[N.FOOTER,I.FOOTER],[N.FOREIGN_OBJECT,I.FOREIGN_OBJECT],[N.FORM,I.FORM],[N.FRAME,I.FRAME],[N.FRAMESET,I.FRAMESET],[N.H1,I.H1],[N.H2,I.H2],[N.H3,I.H3],[N.H4,I.H4],[N.H5,I.H5],[N.H6,I.H6],[N.HEAD,I.HEAD],[N.HEADER,I.HEADER],[N.HGROUP,I.HGROUP],[N.HR,I.HR],[N.HTML,I.HTML],[N.I,I.I],[N.IMG,I.IMG],[N.IMAGE,I.IMAGE],[N.INPUT,I.INPUT],[N.IFRAME,I.IFRAME],[N.KEYGEN,I.KEYGEN],[N.LABEL,I.LABEL],[N.LI,I.LI],[N.LINK,I.LINK],[N.LISTING,I.LISTING],[N.MAIN,I.MAIN],[N.MALIGNMARK,I.MALIGNMARK],[N.MARQUEE,I.MARQUEE],[N.MATH,I.MATH],[N.MENU,I.MENU],[N.META,I.META],[N.MGLYPH,I.MGLYPH],[N.MI,I.MI],[N.MO,I.MO],[N.MN,I.MN],[N.MS,I.MS],[N.MTEXT,I.MTEXT],[N.NAV,I.NAV],[N.NOBR,I.NOBR],[N.NOFRAMES,I.NOFRAMES],[N.NOEMBED,I.NOEMBED],[N.NOSCRIPT,I.NOSCRIPT],[N.OBJECT,I.OBJECT],[N.OL,I.OL],[N.OPTGROUP,I.OPTGROUP],[N.OPTION,I.OPTION],[N.P,I.P],[N.PARAM,I.PARAM],[N.PLAINTEXT,I.PLAINTEXT],[N.PRE,I.PRE],[N.RB,I.RB],[N.RP,I.RP],[N.RT,I.RT],[N.RTC,I.RTC],[N.RUBY,I.RUBY],[N.S,I.S],[N.SCRIPT,I.SCRIPT],[N.SEARCH,I.SEARCH],[N.SECTION,I.SECTION],[N.SELECT,I.SELECT],[N.SOURCE,I.SOURCE],[N.SMALL,I.SMALL],[N.SPAN,I.SPAN],[N.STRIKE,I.STRIKE],[N.STRONG,I.STRONG],[N.STYLE,I.STYLE],[N.SUB,I.SUB],[N.SUMMARY,I.SUMMARY],[N.SUP,I.SUP],[N.TABLE,I.TABLE],[N.TBODY,I.TBODY],[N.TEMPLATE,I.TEMPLATE],[N.TEXTAREA,I.TEXTAREA],[N.TFOOT,I.TFOOT],[N.TD,I.TD],[N.TH,I.TH],[N.THEAD,I.THEAD],[N.TITLE,I.TITLE],[N.TR,I.TR],[N.TRACK,I.TRACK],[N.TT,I.TT],[N.U,I.U],[N.UL,I.UL],[N.SVG,I.SVG],[N.VAR,I.VAR],[N.WBR,I.WBR],[N.XMP,I.XMP]]);function ef(e){var t;return null!=(t=em.get(e))?t:I.UNKNOWN}let eg=I,eE={[S.HTML]:new Set([eg.ADDRESS,eg.APPLET,eg.AREA,eg.ARTICLE,eg.ASIDE,eg.BASE,eg.BASEFONT,eg.BGSOUND,eg.BLOCKQUOTE,eg.BODY,eg.BR,eg.BUTTON,eg.CAPTION,eg.CENTER,eg.COL,eg.COLGROUP,eg.DD,eg.DETAILS,eg.DIR,eg.DIV,eg.DL,eg.DT,eg.EMBED,eg.FIELDSET,eg.FIGCAPTION,eg.FIGURE,eg.FOOTER,eg.FORM,eg.FRAME,eg.FRAMESET,eg.H1,eg.H2,eg.H3,eg.H4,eg.H5,eg.H6,eg.HEAD,eg.HEADER,eg.HGROUP,eg.HR,eg.HTML,eg.IFRAME,eg.IMG,eg.INPUT,eg.LI,eg.LINK,eg.LISTING,eg.MAIN,eg.MARQUEE,eg.MENU,eg.META,eg.NAV,eg.NOEMBED,eg.NOFRAMES,eg.NOSCRIPT,eg.OBJECT,eg.OL,eg.P,eg.PARAM,eg.PLAINTEXT,eg.PRE,eg.SCRIPT,eg.SECTION,eg.SELECT,eg.SOURCE,eg.STYLE,eg.SUMMARY,eg.TABLE,eg.TBODY,eg.TD,eg.TEMPLATE,eg.TEXTAREA,eg.TFOOT,eg.TH,eg.THEAD,eg.TITLE,eg.TR,eg.TRACK,eg.UL,eg.WBR,eg.XMP]),[S.MATHML]:new Set([eg.MI,eg.MO,eg.MN,eg.MS,eg.MTEXT,eg.ANNOTATION_XML]),[S.SVG]:new Set([eg.TITLE,eg.FOREIGN_OBJECT,eg.DESC]),[S.XLINK]:new Set,[S.XML]:new Set,[S.XMLNS]:new Set},eT=new Set([eg.H1,eg.H2,eg.H3,eg.H4,eg.H5,eg.H6]),ek=new Set([N.STYLE,N.SCRIPT,N.XMP,N.IFRAME,N.NOEMBED,N.NOFRAMES,N.PLAINTEXT]);function eb(e,t){return ek.has(e)||t&&e===N.NOSCRIPT}e.s(["ATTRS",()=>C,"DOCUMENT_MODE",()=>x,"NS",()=>S,"NUMBERED_HEADERS",0,eT,"SPECIAL_ELEMENTS",0,eE,"TAG_ID",()=>I,"TAG_NAMES",()=>N,"getTagID",()=>ef,"hasUnescapedText",()=>eb],113515),(p=v||(v={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let eA={DATA:v.DATA,RCDATA:v.RCDATA,RAWTEXT:v.RAWTEXT,SCRIPT_DATA:v.SCRIPT_DATA,PLAINTEXT:v.PLAINTEXT,CDATA_SECTION:v.CDATA_SECTION};function e_(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function ey(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z||e_(e)}function eS(e){return ey(e)||e>=g.DIGIT_0&&e<=g.DIGIT_9}function eC(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function ex(e){return eC(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class eN{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=v.DATA,this.returnState=v.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new el(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ep(eu,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(E.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(E.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===g.NULL)return E.nullCharacterReference;if(e>1114111)return E.characterReferenceOutsideUnicodeRange;if(ea(e))return E.surrogateCharacterReference;if(eo(e))return E.noncharacterCharacterReference;if(es(e)||e===g.CARRIAGE_RETURN)return E.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;null==(n=(t=this.handler).onParseError)||n.call(t,this.preprocessor.getError(e,r))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(E.endTagWithAttributes),e.selfClosing&&this._err(E.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case T.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case T.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case T.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:T.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eC(e)?T.WHITESPACE_CHARACTER:e===g.NULL?T.NULL_CHARACTER:T.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(T.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=v.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?y.Attribute:y.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===v.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case v.DATA:this._stateData(e);break;case v.RCDATA:this._stateRcdata(e);break;case v.RAWTEXT:this._stateRawtext(e);break;case v.SCRIPT_DATA:this._stateScriptData(e);break;case v.PLAINTEXT:this._statePlaintext(e);break;case v.TAG_OPEN:this._stateTagOpen(e);break;case v.END_TAG_OPEN:this._stateEndTagOpen(e);break;case v.TAG_NAME:this._stateTagName(e);break;case v.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case v.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case v.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case v.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case v.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case v.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case v.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case v.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case v.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case v.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case v.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case v.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case v.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case v.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case v.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case v.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case v.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case v.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case v.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case v.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case v.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case v.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case v.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case v.BOGUS_COMMENT:this._stateBogusComment(e);break;case v.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case v.COMMENT_START:this._stateCommentStart(e);break;case v.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case v.COMMENT:this._stateComment(e);break;case v.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case v.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case v.COMMENT_END:this._stateCommentEnd(e);break;case v.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case v.DOCTYPE:this._stateDoctype(e);break;case v.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case v.DOCTYPE_NAME:this._stateDoctypeName(e);break;case v.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case v.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case v.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case v.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case v.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case v.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case v.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case v.CDATA_SECTION:this._stateCdataSection(e);break;case v.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case v.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case v.CHARACTER_REFERENCE:this._stateCharacterReference();break;case v.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.TAG_OPEN;break;case g.AMPERSAND:this._startCharacterReference();break;case g.NULL:this._err(E.unexpectedNullCharacter),this._emitCodePoint(e);break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case g.AMPERSAND:this._startCharacterReference();break;case g.LESS_THAN_SIGN:this.state=v.RCDATA_LESS_THAN_SIGN;break;case g.NULL:this._err(E.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.RAWTEXT_LESS_THAN_SIGN;break;case g.NULL:this._err(E.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.SCRIPT_DATA_LESS_THAN_SIGN;break;case g.NULL:this._err(E.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case g.NULL:this._err(E.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ey(e))this._createStartTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.EXCLAMATION_MARK:this.state=v.MARKUP_DECLARATION_OPEN;break;case g.SOLIDUS:this.state=v.END_TAG_OPEN;break;case g.QUESTION_MARK:this._err(E.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=v.BOGUS_COMMENT,this._stateBogusComment(e);break;case g.EOF:this._err(E.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(E.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=v.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ey(e))this._createEndTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.GREATER_THAN_SIGN:this._err(E.missingEndTagName),this.state=v.DATA;break;case g.EOF:this._err(E.eofBeforeTagName),this._emitChars("");break;case g.NULL:this._err(E.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(E.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===g.SOLIDUS?this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ey(e)?(this._emitChars("<"),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ey(e)?(this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case g.NULL:this._err(E.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(E.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===g.SOLIDUS?(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ei,!1)&&ex(this.preprocessor.peek(ei.length))){this._emitCodePoint(e);for(let e=0;e0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==S.HTML)this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eF,S.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eM,S.HTML)}clearBackToTableRowContext(){this.clearBackTo(eP,S.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===I.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===I.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case S.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case S.SVG:if(eR.has(r))return!1;break;case S.MATHML:if(eO.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,eD)}hasInListItemScope(e){return this.hasInDynamicScope(e,ew)}hasInButtonScope(e){return this.hasInDynamicScope(e,eL)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case S.HTML:if(eT.has(t))return!0;if(eD.has(t))return!1;break;case S.SVG:if(eR.has(t))return!1;break;case S.MATHML:if(eO.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===S.HTML)switch(this.tagIDs[t]){case e:return!0;case I.TABLE:case I.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===S.HTML)switch(this.tagIDs[e]){case I.TBODY:case I.THEAD:case I.TFOOT:return!0;case I.TABLE:case I.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===S.HTML)switch(this.tagIDs[t]){case e:return!0;case I.OPTION:case I.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&eI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&ev.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&ev.has(this.currentTagId);)this.pop()}}(m=D||(D={}))[m.Marker=0]="Marker",m[m.Element=1]="Element";let eU={type:D.Marker};class eG{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),i=0;for(let e=0;er.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eU)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:D.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:D.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eU);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===D.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===D.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===D.Element&&t.element===e)}}let ej={createDocument:()=>({nodeName:"#document",mode:x.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):ej.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(ej.isTextNode(n)){n.value+=t;return}}ej.appendChild(e,ej.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ej.isTextNode(r)?r.value+=t:ej.insertBefore(e,ej.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ez="html",eY=["+//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//"],eq=[...eY,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eV=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eW=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eQ(e,t){return t.some(t=>e.startsWith(t))}let eK=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])),eX=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:S.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:S.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:S.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:S.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:S.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:S.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:S.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:S.XML}],["xml:space",{prefix:"xml",name:"space",namespace:S.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:S.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:S.XMLNS}]]),eZ=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])),eJ=new Set([I.B,I.BIG,I.BLOCKQUOTE,I.BODY,I.BR,I.CENTER,I.CODE,I.DD,I.DIV,I.DL,I.DT,I.EM,I.EMBED,I.H1,I.H2,I.H3,I.H4,I.H5,I.H6,I.HEAD,I.HR,I.I,I.IMG,I.LI,I.LISTING,I.MENU,I.META,I.NOBR,I.OL,I.P,I.PRE,I.RUBY,I.S,I.SMALL,I.SPAN,I.STRONG,I.STRIKE,I.SUB,I.SUP,I.TABLE,I.TT,I.U,I.UL,I.VAR]);function e0(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(n=this.treeAdapter).onItemPop)||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===S.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,S.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=w.TEXT}switchToPlaintextParsing(){this.insertionMode=w.TEXT,this.originalInsertionMode=w.IN_BODY,this.tokenizer.state=eA.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===N.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===S.HTML)switch(this.fragmentContextID){case I.TITLE:case I.TEXTAREA:this.tokenizer.state=eA.RCDATA;break;case I.STYLE:case I.XMP:case I.IFRAME:case I.NOEMBED:case I.NOFRAMES:case I.NOSCRIPT:this.tokenizer.state=eA.RAWTEXT;break;case I.SCRIPT:this.tokenizer.state=eA.SCRIPT_DATA;break;case I.PLAINTEXT:this.tokenizer.state=eA.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,S.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,S.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(N.HTML,S.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,I.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,a=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===T.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==I.SVG||this.treeAdapter.getTagName(t)!==N.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==S.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===I.MGLYPH||e.tagID===I.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,S.HTML)))}_processToken(e){switch(e.type){case T.CHARACTER:this.onCharacter(e);break;case T.NULL_CHARACTER:this.onNullCharacter(e);break;case T.COMMENT:this.onComment(e);break;case T.DOCTYPE:this.onDoctype(e);break;case T.START_TAG:this._processStartTag(e);break;case T.END_TAG:this.onEndTag(e);break;case T.EOF:this.onEof(e);break;case T.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===S.HTML)&&function(e,t,n){if(t===S.MATHML&&e===I.ANNOTATION_XML){for(let e=0;ee.type===D.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=w.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(I.P),this.openElements.popUntilTagNamePopped(I.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case I.TR:this.insertionMode=w.IN_ROW;return;case I.TBODY:case I.THEAD:case I.TFOOT:this.insertionMode=w.IN_TABLE_BODY;return;case I.CAPTION:this.insertionMode=w.IN_CAPTION;return;case I.COLGROUP:this.insertionMode=w.IN_COLUMN_GROUP;return;case I.TABLE:this.insertionMode=w.IN_TABLE;return;case I.BODY:this.insertionMode=w.IN_BODY;return;case I.FRAMESET:this.insertionMode=w.IN_FRAMESET;return;case I.SELECT:return void this._resetInsertionModeForSelect(e);case I.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case I.HTML:this.insertionMode=this.headElement?w.AFTER_HEAD:w.BEFORE_HEAD;return;case I.TD:case I.TH:if(e>0){this.insertionMode=w.IN_CELL;return}break;case I.HEAD:if(e>0){this.insertionMode=w.IN_HEAD;return}}this.insertionMode=w.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===I.TEMPLATE)break;if(e===I.TABLE){this.insertionMode=w.IN_SELECT_IN_TABLE;return}}this.insertionMode=w.IN_SELECT}_isElementCausesFosterParenting(e){return e3.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case I.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===S.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case I.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return eE[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case w.INITIAL:te(this,e);break;case w.BEFORE_HTML:tt(this,e);break;case w.BEFORE_HEAD:tn(this,e);break;case w.IN_HEAD:ta(this,e);break;case w.IN_HEAD_NO_SCRIPT:ts(this,e);break;case w.AFTER_HEAD:to(this,e);break;case w.IN_BODY:case w.IN_CAPTION:case w.IN_CELL:case w.IN_TEMPLATE:tu(this,e);break;case w.TEXT:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case w.IN_TABLE:case w.IN_TABLE_BODY:case w.IN_ROW:tk(this,e);break;case w.IN_TABLE_TEXT:tS(this,e);break;case w.IN_COLUMN_GROUP:tI(this,e);break;case w.AFTER_BODY:tF(this,e);break;case w.AFTER_AFTER_BODY:tB(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case w.INITIAL:te(this,e);break;case w.BEFORE_HTML:tt(this,e);break;case w.BEFORE_HEAD:tn(this,e);break;case w.IN_HEAD:ta(this,e);break;case w.IN_HEAD_NO_SCRIPT:ts(this,e);break;case w.AFTER_HEAD:to(this,e);break;case w.TEXT:this._insertCharacters(e);break;case w.IN_TABLE:case w.IN_TABLE_BODY:case w.IN_ROW:tk(this,e);break;case w.IN_COLUMN_GROUP:tI(this,e);break;case w.AFTER_BODY:tF(this,e);break;case w.AFTER_AFTER_BODY:tB(this,e)}}onComment(e){var t,n,r,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void e7(this,e);switch(this.insertionMode){case w.INITIAL:case w.BEFORE_HTML:case w.BEFORE_HEAD:case w.IN_HEAD:case w.IN_HEAD_NO_SCRIPT:case w.AFTER_HEAD:case w.IN_BODY:case w.IN_TABLE:case w.IN_CAPTION:case w.IN_COLUMN_GROUP:case w.IN_TABLE_BODY:case w.IN_ROW:case w.IN_CELL:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:case w.IN_TEMPLATE:case w.IN_FRAMESET:case w.AFTER_FRAMESET:e7(this,e);break;case w.IN_TABLE_TEXT:tC(this,e);break;case w.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case w.AFTER_AFTER_BODY:case w.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case w.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?x.QUIRKS:function(e){if(e.name!==ez)return x.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return x.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eV.has(n))return x.QUIRKS;let e=null===t?eq:eY;if(eQ(n,e))return x.QUIRKS;if(eQ(n,e=null===t?e$:eW))return x.LIMITED_QUIRKS}return x.NO_QUIRKS}(t);(t.name!==ez||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,E.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=w.BEFORE_HTML}(this,e);break;case w.BEFORE_HEAD:case w.IN_HEAD:case w.IN_HEAD_NO_SCRIPT:case w.AFTER_HEAD:this._err(e,E.misplacedDoctype);break;case w.IN_TABLE_TEXT:tC(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,E.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let n;if((n=t.tagID)===I.FONT&&t.attrs.some(e=>{let{name:t}=e;return t===C.COLOR||t===C.SIZE||t===C.FACE})||eJ.has(n))tH(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===S.MATHML)e0(t);else if(r===S.SVG){let e;null!=(e=eZ.get(t.tagName))&&(t.tagName=e,t.tagID=ef(t.tagName)),e1(t)}e2(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case w.INITIAL:te(this,e);break;case w.BEFORE_HTML:t=this,(n=e).tagID===I.HTML?(t._insertElement(n,S.HTML),t.insertionMode=w.BEFORE_HEAD):tt(t,n);break;case w.BEFORE_HEAD:var t,n,r,i,a,s,o,l,c,u,d,h,p=this,m=e;switch(m.tagID){case I.HTML:tf(p,m);break;case I.HEAD:p._insertElement(m,S.HTML),p.headElement=p.openElements.current,p.insertionMode=w.IN_HEAD;break;default:tn(p,m)}break;case w.IN_HEAD:tr(this,e);break;case w.IN_HEAD_NO_SCRIPT:var f=this,g=e;switch(g.tagID){case I.HTML:tf(f,g);break;case I.BASEFONT:case I.BGSOUND:case I.HEAD:case I.LINK:case I.META:case I.NOFRAMES:case I.STYLE:tr(f,g);break;case I.NOSCRIPT:f._err(g,E.nestedNoscriptInHead);break;default:ts(f,g)}break;case w.AFTER_HEAD:var T=this,k=e;switch(k.tagID){case I.HTML:tf(T,k);break;case I.BODY:T._insertElement(k,S.HTML),T.framesetOk=!1,T.insertionMode=w.IN_BODY;break;case I.FRAMESET:T._insertElement(k,S.HTML),T.insertionMode=w.IN_FRAMESET;break;case I.BASE:case I.BASEFONT:case I.BGSOUND:case I.LINK:case I.META:case I.NOFRAMES:case I.SCRIPT:case I.STYLE:case I.TEMPLATE:case I.TITLE:T._err(k,E.abandonedHeadElementChild),T.openElements.push(T.headElement,I.HEAD),tr(T,k),T.openElements.remove(T.headElement);break;case I.HEAD:T._err(k,E.misplacedStartTagForHeadElement);break;default:to(T,k)}break;case w.IN_BODY:tf(this,e);break;case w.IN_TABLE:tb(this,e);break;case w.IN_TABLE_TEXT:tC(this,e);break;case w.IN_CAPTION:let b;r=this,b=(i=e).tagID,tx.has(b)?r.openElements.hasInTableScope(I.CAPTION)&&(r.openElements.generateImpliedEndTags(),r.openElements.popUntilTagNamePopped(I.CAPTION),r.activeFormattingElements.clearToLastMarker(),r.insertionMode=w.IN_TABLE,tb(r,i)):tf(r,i);break;case w.IN_COLUMN_GROUP:tN(this,e);break;case w.IN_TABLE_BODY:tv(this,e);break;case w.IN_ROW:tw(this,e);break;case w.IN_CELL:let A;a=this,A=(s=e).tagID,tx.has(A)?(a.openElements.hasInTableScope(I.TD)||a.openElements.hasInTableScope(I.TH))&&(a._closeTableCell(),tw(a,s)):tf(a,s);break;case w.IN_SELECT:tO(this,e);break;case w.IN_SELECT_IN_TABLE:let _;o=this,(_=(l=e).tagID)===I.CAPTION||_===I.TABLE||_===I.TBODY||_===I.TFOOT||_===I.THEAD||_===I.TR||_===I.TD||_===I.TH?(o.openElements.popUntilTagNamePopped(I.SELECT),o._resetInsertionMode(),o._processStartTag(l)):tO(o,l);break;case w.IN_TEMPLATE:var y=this,C=e;switch(C.tagID){case I.BASE:case I.BASEFONT:case I.BGSOUND:case I.LINK:case I.META:case I.NOFRAMES:case I.SCRIPT:case I.STYLE:case I.TEMPLATE:case I.TITLE:tr(y,C);break;case I.CAPTION:case I.COLGROUP:case I.TBODY:case I.TFOOT:case I.THEAD:y.tmplInsertionModeStack[0]=w.IN_TABLE,y.insertionMode=w.IN_TABLE,tb(y,C);break;case I.COL:y.tmplInsertionModeStack[0]=w.IN_COLUMN_GROUP,y.insertionMode=w.IN_COLUMN_GROUP,tN(y,C);break;case I.TR:y.tmplInsertionModeStack[0]=w.IN_TABLE_BODY,y.insertionMode=w.IN_TABLE_BODY,tv(y,C);break;case I.TD:case I.TH:y.tmplInsertionModeStack[0]=w.IN_ROW,y.insertionMode=w.IN_ROW,tw(y,C);break;default:y.tmplInsertionModeStack[0]=w.IN_BODY,y.insertionMode=w.IN_BODY,tf(y,C)}break;case w.AFTER_BODY:c=this,(u=e).tagID===I.HTML?tf(c,u):tF(c,u);break;case w.IN_FRAMESET:var x=this,N=e;switch(N.tagID){case I.HTML:tf(x,N);break;case I.FRAMESET:x._insertElement(N,S.HTML);break;case I.FRAME:x._appendElement(N,S.HTML),N.ackSelfClosing=!0;break;case I.NOFRAMES:tr(x,N)}break;case w.AFTER_FRAMESET:var v=this,D=e;switch(D.tagID){case I.HTML:tf(v,D);break;case I.NOFRAMES:tr(v,D)}break;case w.AFTER_AFTER_BODY:d=this,(h=e).tagID===I.HTML?tf(d,h):tB(d,h);break;case w.AFTER_AFTER_FRAMESET:var L=this,O=e;switch(O.tagID){case I.HTML:tf(L,O);break;case I.NOFRAMES:tr(L,O)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===I.P||t.tagID===I.BR){tH(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===S.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case w.INITIAL:te(this,e);break;case w.BEFORE_HTML:let t;r=this,((t=(i=e).tagID)===I.HTML||t===I.HEAD||t===I.BODY||t===I.BR)&&tt(r,i);break;case w.BEFORE_HEAD:let n;a=this,(n=(s=e).tagID)===I.HEAD||n===I.BODY||n===I.HTML||n===I.BR?tn(a,s):a._err(s,E.endTagWithoutMatchingOpenElement);break;case w.IN_HEAD:var r,i,a,s,o,l,c,u,d,h,p,m,f=this,g=e;switch(g.tagID){case I.HEAD:f.openElements.pop(),f.insertionMode=w.AFTER_HEAD;break;case I.BODY:case I.BR:case I.HTML:ta(f,g);break;case I.TEMPLATE:ti(f,g);break;default:f._err(g,E.endTagWithoutMatchingOpenElement)}break;case w.IN_HEAD_NO_SCRIPT:var T=this,k=e;switch(k.tagID){case I.NOSCRIPT:T.openElements.pop(),T.insertionMode=w.IN_HEAD;break;case I.BR:ts(T,k);break;default:T._err(k,E.endTagWithoutMatchingOpenElement)}break;case w.AFTER_HEAD:var b=this,A=e;switch(A.tagID){case I.BODY:case I.HTML:case I.BR:to(b,A);break;case I.TEMPLATE:ti(b,A);break;default:b._err(A,E.endTagWithoutMatchingOpenElement)}break;case w.IN_BODY:tE(this,e);break;case w.TEXT:o=this,e.tagID===I.SCRIPT&&(null==(l=o.scriptHandler)||l.call(o,o.openElements.current)),o.openElements.pop(),o.insertionMode=o.originalInsertionMode;break;case w.IN_TABLE:tA(this,e);break;case w.IN_TABLE_TEXT:tC(this,e);break;case w.IN_CAPTION:var _=this,y=e;let S=y.tagID;switch(S){case I.CAPTION:case I.TABLE:_.openElements.hasInTableScope(I.CAPTION)&&(_.openElements.generateImpliedEndTags(),_.openElements.popUntilTagNamePopped(I.CAPTION),_.activeFormattingElements.clearToLastMarker(),_.insertionMode=w.IN_TABLE,S===I.TABLE&&tA(_,y));break;case I.BODY:case I.COL:case I.COLGROUP:case I.HTML:case I.TBODY:case I.TD:case I.TFOOT:case I.TH:case I.THEAD:case I.TR:break;default:tE(_,y)}break;case w.IN_COLUMN_GROUP:var C=this,x=e;switch(x.tagID){case I.COLGROUP:C.openElements.currentTagId===I.COLGROUP&&(C.openElements.pop(),C.insertionMode=w.IN_TABLE);break;case I.TEMPLATE:ti(C,x);break;case I.COL:break;default:tI(C,x)}break;case w.IN_TABLE_BODY:tD(this,e);break;case w.IN_ROW:tL(this,e);break;case w.IN_CELL:var N=this,v=e;let D=v.tagID;switch(D){case I.TD:case I.TH:N.openElements.hasInTableScope(D)&&(N.openElements.generateImpliedEndTags(),N.openElements.popUntilTagNamePopped(D),N.activeFormattingElements.clearToLastMarker(),N.insertionMode=w.IN_ROW);break;case I.TABLE:case I.TBODY:case I.TFOOT:case I.THEAD:case I.TR:N.openElements.hasInTableScope(D)&&(N._closeTableCell(),tL(N,v));break;case I.BODY:case I.CAPTION:case I.COL:case I.COLGROUP:case I.HTML:break;default:tE(N,v)}break;case w.IN_SELECT:tR(this,e);break;case w.IN_SELECT_IN_TABLE:let L;c=this,(L=(u=e).tagID)===I.CAPTION||L===I.TABLE||L===I.TBODY||L===I.TFOOT||L===I.THEAD||L===I.TR||L===I.TD||L===I.TH?c.openElements.hasInTableScope(L)&&(c.openElements.popUntilTagNamePopped(I.SELECT),c._resetInsertionMode(),c.onEndTag(u)):tR(c,u);break;case w.IN_TEMPLATE:d=this,(h=e).tagID===I.TEMPLATE&&ti(d,h);break;case w.AFTER_BODY:tM(this,e);break;case w.IN_FRAMESET:p=this,e.tagID===I.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),p.fragmentContext||p.openElements.currentTagId===I.FRAMESET||(p.insertionMode=w.AFTER_FRAMESET));break;case w.AFTER_FRAMESET:m=this,e.tagID===I.HTML&&(m.insertionMode=w.AFTER_AFTER_FRAMESET);break;case w.AFTER_AFTER_BODY:tB(this,e)}}onEof(e){switch(this.insertionMode){case w.INITIAL:te(this,e);break;case w.BEFORE_HTML:tt(this,e);break;case w.BEFORE_HEAD:tn(this,e);break;case w.IN_HEAD:ta(this,e);break;case w.IN_HEAD_NO_SCRIPT:ts(this,e);break;case w.AFTER_HEAD:to(this,e);break;case w.IN_BODY:case w.IN_TABLE:case w.IN_CAPTION:case w.IN_COLUMN_GROUP:case w.IN_TABLE_BODY:case w.IN_ROW:case w.IN_CELL:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:tT(this,e);break;case w.TEXT:var t,n;t=this,n=e,t._err(n,E.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case w.IN_TABLE_TEXT:tC(this,e);break;case w.IN_TEMPLATE:tP(this,e);break;case w.AFTER_BODY:case w.IN_FRAMESET:case w.AFTER_FRAMESET:case w.AFTER_AFTER_BODY:case w.AFTER_AFTER_FRAMESET:e8(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===g.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case w.IN_HEAD:case w.IN_HEAD_NO_SCRIPT:case w.AFTER_HEAD:case w.TEXT:case w.IN_COLUMN_GROUP:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:case w.IN_FRAMESET:case w.AFTER_FRAMESET:this._insertCharacters(e);break;case w.IN_BODY:case w.IN_CAPTION:case w.IN_CELL:case w.IN_TEMPLATE:case w.AFTER_BODY:case w.AFTER_AFTER_BODY:case w.AFTER_AFTER_FRAMESET:tc(this,e);break;case w.IN_TABLE:case w.IN_TABLE_BODY:case w.IN_ROW:tk(this,e);break;case w.IN_TABLE_TEXT:ty(this,e)}}}function e9(e,t){for(let n=0;n<8;n++){let n=function(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):tg(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);let n=e.activeFormattingElements.getElementEntry(s),o=n&&a>=3;!n||o?(o&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=function(e,t){let 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}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&function(e,t,n){let r=ef(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===I.TEMPLATE&&i===S.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,a,i),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}(e,r,n)}}function e7(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e8(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function te(e,t){e._err(t,E.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,x.QUIRKS),e.insertionMode=w.BEFORE_HTML,e._processToken(t)}function tt(e,t){e._insertFakeRootElement(),e.insertionMode=w.BEFORE_HEAD,e._processToken(t)}function tn(e,t){e._insertFakeElement(N.HEAD,I.HEAD),e.headElement=e.openElements.current,e.insertionMode=w.IN_HEAD,e._processToken(t)}function tr(e,t){switch(t.tagID){case I.HTML:tf(e,t);break;case I.BASE:case I.BASEFONT:case I.BGSOUND:case I.LINK:case I.META:e._appendElement(t,S.HTML),t.ackSelfClosing=!0;break;case I.TITLE:e._switchToTextParsing(t,eA.RCDATA);break;case I.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eA.RAWTEXT):(e._insertElement(t,S.HTML),e.insertionMode=w.IN_HEAD_NO_SCRIPT);break;case I.NOFRAMES:case I.STYLE:e._switchToTextParsing(t,eA.RAWTEXT);break;case I.SCRIPT:e._switchToTextParsing(t,eA.SCRIPT_DATA);break;case I.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=w.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(w.IN_TEMPLATE);break;case I.HEAD:e._err(t,E.misplacedStartTagForHeadElement);break;default:ta(e,t)}}function ti(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==I.TEMPLATE&&e._err(t,E.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(I.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,E.endTagWithoutMatchingOpenElement)}function ta(e,t){e.openElements.pop(),e.insertionMode=w.AFTER_HEAD,e._processToken(t)}function ts(e,t){let n=t.type===T.EOF?E.openElementsLeftAfterEof:E.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=w.IN_HEAD,e._processToken(t)}function to(e,t){e._insertFakeElement(N.BODY,I.BODY),e.insertionMode=w.IN_BODY,tl(e,t)}function tl(e,t){switch(t.type){case T.CHARACTER:tu(e,t);break;case T.WHITESPACE_CHARACTER:tc(e,t);break;case T.COMMENT:e7(e,t);break;case T.START_TAG:tf(e,t);break;case T.END_TAG:tE(e,t);break;case T.EOF:tT(e,t)}}function tc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function tu(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function td(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,S.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function th(e){let t=ec(e,C.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tp(e,t){e._switchToTextParsing(t,eA.RAWTEXT)}function tm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML)}function tf(e,t){switch(t.tagID){case I.I:case I.S:case I.B:case I.U:case I.EM:case I.TT:case I.BIG:case I.CODE:case I.FONT:case I.SMALL:case I.STRIKE:case I.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case I.A:let n;(n=e.activeFormattingElements.getElementEntryInScopeWithTagName(N.A))&&(e9(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case I.H1:case I.H2:case I.H3:case I.H4:case I.H5:case I.H6:e.openElements.hasInButtonScope(I.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eT.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,S.HTML);break;case I.P:case I.DL:case I.OL:case I.UL:case I.DIV:case I.DIR:case I.NAV:case I.MAIN:case I.MENU:case I.ASIDE:case I.CENTER:case I.FIGURE:case I.FOOTER:case I.HEADER:case I.HGROUP:case I.DIALOG:case I.DETAILS:case I.ADDRESS:case I.ARTICLE:case I.SEARCH:case I.SECTION:case I.SUMMARY:case I.FIELDSET:case I.BLOCKQUOTE:case I.FIGCAPTION:e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,S.HTML);break;case I.LI:case I.DD:case I.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===I.LI&&n===I.LI||(r===I.DD||r===I.DT)&&(n===I.DD||n===I.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==I.ADDRESS&&n!==I.DIV&&n!==I.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,S.HTML);break;case I.BR:case I.IMG:case I.WBR:case I.AREA:case I.EMBED:case I.KEYGEN:td(e,t);break;case I.HR:e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._appendElement(t,S.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case I.RB:case I.RTC:e.openElements.hasInScope(I.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,S.HTML);break;case I.RT:case I.RP:e.openElements.hasInScope(I.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(I.RTC),e._insertElement(t,S.HTML);break;case I.PRE:case I.LISTING:e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,S.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case I.XMP:e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eA.RAWTEXT);break;case I.SVG:e._reconstructActiveFormattingElements(),e1(t),e2(t),t.selfClosing?e._appendElement(t,S.SVG):e._insertElement(t,S.SVG),t.ackSelfClosing=!0;break;case I.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case I.BASE:case I.LINK:case I.META:case I.STYLE:case I.TITLE:case I.SCRIPT:case I.BGSOUND:case I.BASEFONT:case I.TEMPLATE:tr(e,t);break;case I.BODY:let i;(i=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case I.FORM:let a;a=e.openElements.tmplCount>0,(!e.formElement||a)&&(e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,S.HTML),a||(e.formElement=e.openElements.current));break;case I.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(I.NOBR)&&(e9(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,S.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case I.MATH:e._reconstructActiveFormattingElements(),e0(t),e2(t),t.selfClosing?e._appendElement(t,S.MATHML):e._insertElement(t,S.MATHML),t.ackSelfClosing=!0;break;case I.TABLE:e.treeAdapter.getDocumentMode(e.document)!==x.QUIRKS&&e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,S.HTML),e.framesetOk=!1,e.insertionMode=w.IN_TABLE;break;case I.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,S.HTML),th(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case I.PARAM:case I.TRACK:case I.SOURCE:e._appendElement(t,S.HTML),t.ackSelfClosing=!0;break;case I.IMAGE:t.tagName=N.IMG,t.tagID=I.IMG,td(e,t);break;case I.BUTTON:e.openElements.hasInScope(I.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(I.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.framesetOk=!1;break;case I.APPLET:case I.OBJECT:case I.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case I.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eA.RAWTEXT);break;case I.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===w.IN_TABLE||e.insertionMode===w.IN_CAPTION||e.insertionMode===w.IN_TABLE_BODY||e.insertionMode===w.IN_ROW||e.insertionMode===w.IN_CELL?w.IN_SELECT_IN_TABLE:w.IN_SELECT;break;case I.OPTION:case I.OPTGROUP:e.openElements.currentTagId===I.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML);break;case I.NOEMBED:case I.NOFRAMES:tp(e,t);break;case I.FRAMESET:let s;s=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&s&&(e.treeAdapter.detachNode(s),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,S.HTML),e.insertionMode=w.IN_FRAMESET);break;case I.TEXTAREA:e._insertElement(t,S.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eA.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=w.TEXT;break;case I.NOSCRIPT:e.options.scriptingEnabled?tp(e,t):tm(e,t);break;case I.PLAINTEXT:e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,S.HTML),e.tokenizer.state=eA.PLAINTEXT;break;case I.COL:case I.TH:case I.TD:case I.TR:case I.HEAD:case I.FRAME:case I.TBODY:case I.TFOOT:case I.THEAD:case I.CAPTION:case I.COLGROUP:break;default:tm(e,t)}}function tg(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==I.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tE(e,t){switch(t.tagID){case I.A:case I.B:case I.I:case I.S:case I.U:case I.EM:case I.TT:case I.BIG:case I.CODE:case I.FONT:case I.NOBR:case I.SMALL:case I.STRIKE:case I.STRONG:e9(e,t);break;case I.P:e.openElements.hasInButtonScope(I.P)||e._insertFakeElement(N.P,I.P),e._closePElement();break;case I.DL:case I.UL:case I.OL:case I.DIR:case I.DIV:case I.NAV:case I.PRE:case I.MAIN:case I.MENU:case I.ASIDE:case I.BUTTON:case I.CENTER:case I.FIGURE:case I.FOOTER:case I.HEADER:case I.HGROUP:case I.DIALOG:case I.ADDRESS:case I.ARTICLE:case I.DETAILS:case I.SEARCH:case I.SECTION:case I.SUMMARY:case I.LISTING:case I.FIELDSET:case I.BLOCKQUOTE:case I.FIGCAPTION:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case I.LI:e.openElements.hasInListItemScope(I.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(I.LI),e.openElements.popUntilTagNamePopped(I.LI));break;case I.DD:case I.DT:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case I.H1:case I.H2:case I.H3:case I.H4:case I.H5:case I.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case I.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(N.BR,I.BR),e.openElements.pop(),e.framesetOk=!1;break;case I.BODY:if(e.openElements.hasInScope(I.BODY)&&(e.insertionMode=w.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case I.HTML:e.openElements.hasInScope(I.BODY)&&(e.insertionMode=w.AFTER_BODY,tM(e,t));break;case I.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(I.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(I.FORM):n&&e.openElements.remove(n))}(e);break;case I.APPLET:case I.OBJECT:case I.MARQUEE:let i;i=t.tagID,e.openElements.hasInScope(i)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i),e.activeFormattingElements.clearToLastMarker());break;case I.TEMPLATE:ti(e,t);break;default:tg(e,t)}}function tT(e,t){e.tmplInsertionModeStack.length>0?tP(e,t):e8(e,t)}function tk(e,t){if(void 0!==e.openElements.currentTagId&&e3.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=w.IN_TABLE_TEXT,t.type){case T.CHARACTER:tS(e,t);break;case T.WHITESPACE_CHARACTER:ty(e,t)}else t_(e,t)}function tb(e,t){switch(t.tagID){case I.TD:case I.TH:case I.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(N.TBODY,I.TBODY),e.insertionMode=w.IN_TABLE_BODY,tv(e,t);break;case I.STYLE:case I.SCRIPT:case I.TEMPLATE:tr(e,t);break;case I.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(N.COLGROUP,I.COLGROUP),e.insertionMode=w.IN_COLUMN_GROUP,tN(e,t);break;case I.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,S.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case I.TABLE:e.openElements.hasInTableScope(I.TABLE)&&(e.openElements.popUntilTagNamePopped(I.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case I.TBODY:case I.TFOOT:case I.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,S.HTML),e.insertionMode=w.IN_TABLE_BODY;break;case I.INPUT:th(t)?e._appendElement(t,S.HTML):t_(e,t),t.ackSelfClosing=!0;break;case I.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,S.HTML),e.insertionMode=w.IN_CAPTION;break;case I.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,S.HTML),e.insertionMode=w.IN_COLUMN_GROUP;break;default:t_(e,t)}}function tA(e,t){switch(t.tagID){case I.TABLE:e.openElements.hasInTableScope(I.TABLE)&&(e.openElements.popUntilTagNamePopped(I.TABLE),e._resetInsertionMode());break;case I.TEMPLATE:ti(e,t);break;case I.BODY:case I.CAPTION:case I.COL:case I.COLGROUP:case I.HTML:case I.TBODY:case I.TD:case I.TFOOT:case I.TH:case I.THEAD:case I.TR:break;default:t_(e,t)}}function t_(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tl(e,t),e.fosterParentingEnabled=n}function ty(e,t){e.pendingCharacterTokens.push(t)}function tS(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tC(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===I.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===I.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===I.OPTGROUP&&e.openElements.pop();break;case I.OPTION:e.openElements.currentTagId===I.OPTION&&e.openElements.pop();break;case I.SELECT:e.openElements.hasInSelectScope(I.SELECT)&&(e.openElements.popUntilTagNamePopped(I.SELECT),e._resetInsertionMode());break;case I.TEMPLATE:ti(e,t)}}function tP(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(I.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e8(e,t)}function tM(e,t){var n;if(t.tagID===I.HTML){if(e.fragmentContext||(e.insertionMode=w.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===I.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else tF(e,t)}function tF(e,t){e.insertionMode=w.IN_BODY,tl(e,t)}function tB(e,t){e.insertionMode=w.IN_BODY,tl(e,t)}function tH(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==S.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}String.prototype.codePointAt,N.AREA,N.BASE,N.BASEFONT,N.BGSOUND,N.BR,N.COL,N.EMBED,N.FRAME,N.HR,N.IMG,N.INPUT,N.KEYGEN,N.LINK,N.META,N.PARAM,N.SOURCE,N.TRACK,N.WBR;var tU=e.i(743820),tU=tU,tG=e.i(113515),tG=tG;let tj=tY("end"),tz=tY("start");function tY(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function tq(e){let t=tz(e),n=tj(e);if(t&&n)return{start:t,end:n}}e.s(["pointEnd",0,tj,"pointStart",0,tz,"position",()=>tq],417798);var tV=e.i(216920);let t$=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,tW=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tQ={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tK(e,t){var n,r;let i,a,s=!!((i="root"===(r=e).type?r.children[0]:r)&&("doctype"===i.type||"element"===i.type&&"html"===i.tagName.toLowerCase())),o=Q("type",{handlers:{root:tZ,element:tJ,text:t0,comment:t2,doctype:t1,raw:t5},unknown:t3}),l={parser:s?new e6(tQ):e6.getFragmentParser(void 0,tQ),handle(e){o(e,l)},stitches:!1,options:t||{}};o(e,l),t4(l,tz());let c=(n=s?l.parser.document:l.parser.getFragment(),G({file:(a={file:l.options.file}).file||void 0,location:!1,schema:"svg"===a.space?M.svg:M.html,verbose:a.verbose||!1},n));return(l.stitches&&(0,tV.visit)(c,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===c.type&&1===c.children.length&&c.children[0].type===e.type)?c.children[0]:c}function tX(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:tU.TokenType.CHARACTER,chars:e.value,location:t9(e)};t4(t,tz(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function t1(e,t){let n={type:tU.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:t9(e)};t4(t,tz(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function t2(e,t){let n=e.value,r={type:tU.TokenType.COMMENT,data:n,location:t9(e)};t4(t,tz(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function t5(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,t6(t,tz(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(t$,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function t3(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;let r;t.stitches=!0,r="children"in(n=e)?(0,L.default)({...n,children:[]}):(0,L.default)(n),"children"in e&&"children"in r&&(r.children=tK({type:"root",children:e.children},t.options).children),t2({type:"comment",value:{stitch:r}},t)}else{let t="";throw tW.has(e.type)&&(t=". 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"),Error("Cannot compile `"+e.type+"` node"+t)}}function t4(e,t){t6(e,t);let 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=eA.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 t6(e,t){if(t&&void 0!==t.offset){let 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 t9(e){let t=tz(e)||{line:void 0,column:void 0,offset:void 0},n=tj(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 t7(e){return function(t,n){return tK(t,{...e,file:n})}}e.s(["default",()=>t7],71345);let t8=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],ne={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...t8,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...t8],h2:[["className","sr-only"]],img:[...t8,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...t8,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...t8],table:[...t8],ul:[...t8,["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"]};e.s(["defaultSchema",0,ne],675917);let nt={}.hasOwnProperty;function nn(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var n,r,i=e,a=t;if(i.schema.allowComments){let e="string"==typeof a.value?a.value:"",t=e.indexOf("-->"),n={type:"comment",value:t<0?e:e.slice(0,t)};return ns(n,a),n}return;case"doctype":var s=e,o=t;if(s.schema.allowDoctypes){let e={type:"doctype"};return ns(e,o),e}return;case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let r=nr(e,t.children),i=function(e,t){let n,r=e.stack[e.stack.length-1],i=e.schema.attributes,a=e.schema.required,s=i&&nt.call(i,r)?i[r]:void 0,o=i&&nt.call(i,"*")?i["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(n in l)if(nt.call(l,n)){let t=l[n],r=ni(e,no(s,n),n,t);null==r&&(r=ni(e,no(o,n),n,t)),null!=r&&(c[n]=r)}if(a&&nt.call(a,r)){let e=a[r];for(n in e)nt.call(e,n)&&!nt.call(c,n)&&(c[n]=e[n])}return c}(e,t.properties);e.stack.pop();let a=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&nt.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r-1&&a>l||s>-1&&a>s||o>-1&&a>o)return!0;let c=-1;for(;++c1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function nl(e){return function(t){let n,r;return n={type:"root",children:[]},(r=nn({schema:e?{...ne,...e}:ne,stack:[]},t))&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}}e.s(["default",()=>nl],511356)},791473,e=>{"use strict";var t=e.i(402652),n=e.i(173119);function r(e,r,i){let a=(0,n.convert)((i||{}).ignore||[]),s=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(ar],791473)},527771,784484,597622,566169,265267,289805,820168,e=>{"use strict";var t=e.i(470284),n=e.i(897802),r=e.i(455470),i=e.i(791473);let a="phrasing",s=["autolink","link","image","label"];function o(){return{transforms:[f],enter:{literalAutolink:c,literalAutolinkEmail:u,literalAutolinkHttp:u,literalAutolinkWww:u},exit:{literalAutolink:m,literalAutolinkEmail:p,literalAutolinkHttp:d,literalAutolinkWww:h}}}function l(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:s},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:s},{character:":",before:"[ps]",after:"\\/",inConstruct:a,notInConstruct:s}]}}function c(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function u(e){this.config.enter.autolinkProtocol.call(this,e)}function d(e){this.config.exit.autolinkProtocol.call(this,e)}function h(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,n.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function p(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function f(e){(0,i.findAndReplace)(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,g],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,E]],{ignore:["link","linkReference"]})}function g(e,n,r,i,a){let s,o="";if(!T(a))return!1;if(/^w/i.test(n)&&(r=n+r,n="",o="http://"),(s=r.split(".")).length<2||s[s.length-1]&&(/_/.test(s[s.length-1])||!/[a-zA-Z\d]/.test(s[s.length-1]))||s[s.length-2]&&(/_/.test(s[s.length-2])||!/[a-zA-Z\d]/.test(s[s.length-2])))return!1;let l=function(e){let n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let r=n[0],i=r.indexOf(")"),a=(0,t.ccount)(e,"("),s=(0,t.ccount)(e,")");for(;-1!==i&&a>s;)e+=r.slice(0,i+1),i=(r=r.slice(i+1)).indexOf(")"),s++;return[e,r]}(r+i);if(!l[0])return!1;let c={type:"link",title:null,url:o+n+l[0],children:[{type:"text",value:n+l[0]}]};return l[1]?[c,{type:"text",value:l[1]}]:c}function E(e,t,n,r){return!(!T(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function T(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,r.unicodeWhitespace)(n)||(0,r.unicodePunctuation)(n))&&(!t||47!==n)}function k(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function b(){this.buffer()}function A(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function _(){this.buffer()}function y(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(e){let t=this.resume(),r=this.stack[this.stack.length-1];(0,n.ok)("footnoteReference"===r.type),r.identifier=k(this.sliceSerialize(e)).toLowerCase(),r.label=t}function C(e){this.exit(e)}function x(e){let t=this.resume(),r=this.stack[this.stack.length-1];(0,n.ok)("footnoteDefinition"===r.type),r.identifier=k(this.sliceSerialize(e)).toLowerCase(),r.label=t}function N(e){this.exit(e)}function I(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),s=n.enter("footnoteReference"),o=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),o(),s(),a+=i.move("]")}function v(){return{enter:{gfmFootnoteCallString:b,gfmFootnoteCall:A,gfmFootnoteDefinitionLabelString:_,gfmFootnoteDefinition:y},exit:{gfmFootnoteCallString:S,gfmFootnoteCall:C,gfmFootnoteDefinitionLabelString:x,gfmFootnoteDefinition:N}}}function D(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,i){let a=r.createTracker(i),s=a.move("[^"),o=r.enter("footnoteDefinition"),l=r.enter("label");return s+=a.move(r.safe(r.associationId(e),{before:s,after:"]"})),l(),s+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),s+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?L:w))),o(),s},footnoteReference:I},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function w(e,t,n){return 0===t?e:L(e,t,n)}function L(e,t,n){return(n?"":" ")+e}e.s(["gfmAutolinkLiteralFromMarkdown",()=>o,"gfmAutolinkLiteralToMarkdown",()=>l],527771),e.s(["normalizeIdentifier",()=>k],784484),I.peek=function(){return"["},e.s(["gfmFootnoteFromMarkdown",()=>v,"gfmFootnoteToMarkdown",()=>D],597622);let O=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function R(){return{canContainEols:["delete"],enter:{strikethrough:M},exit:{strikethrough:F}}}function P(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:O}],handlers:{delete:B}}}function M(e){this.enter({type:"delete",children:[]},e)}function F(e){this.exit(e)}function B(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function H(e){return e.length}function U(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||H,a=[],s=[],o=[],l=[],c=0,u=-1;for(;++uc&&(c=e[u].length);++al[a])&&(l[a]=e)}t.push(s)}s[u]=t,o[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++hl[h]&&(l[h]=i),m[h]=i),p[h]=s}s.splice(1,0,p),o.splice(1,0,m),u=-1;let f=[];for(;++u "),a.shift(2);let s=n.indentLines(n.containerFlow(e,a.current()),z);return i(),s}function z(e,t,n){return">"+(n?"":" ")+e}function Y(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++rR,"gfmStrikethroughToMarkdown",()=>P],566169),e.s(["markdownTable",()=>U],265267),e.s(["blockquote",()=>j],289805),e.s(["hardBreak",()=>q],820168)},907714,e=>{"use strict";function t(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>s&&(s=a):a=1,i=r+t.length,r=n.indexOf(t,i);return s}e.s(["longestStreak",()=>t])},597089,227066,12105,559245,144819,276260,e=>{"use strict";var t=e.i(527771),n=e.i(597622),r=e.i(566169),i=e.i(897802),a=e.i(265267),s=e.i(289805),o=e.i(820168),l=e.i(907714);function c(e,t,n){return(n?"":" ")+e}function u(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function d(e){return"&#x"+e.toString(16).toUpperCase()+";"}var h=e.i(455470);function p(e){return null===e||(0,h.markdownLineEndingOrSpace)(e)||(0,h.unicodeWhitespace)(e)?1:(0,h.unicodePunctuation)(e)?2:void 0}function m(e,t,n){let r=p(e),i=p(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function f(e,t,n,r){let i=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),a=n.enter("emphasis"),s=n.createTracker(r),o=s.move(i),l=s.move(n.containerPhrasing(e,{after:i,before:o,...s.current()})),c=l.charCodeAt(0),u=m(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=d(c)+l.slice(1));let h=l.charCodeAt(l.length-1),p=m(r.after.charCodeAt(0),h,i);p.inside&&(l=l.slice(0,-1)+d(h));let f=s.move(i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:u.outside},o+l+f}e.s(["classifyCharacter",()=>p],227066),f.peek=function(e,t,n){return n.options.emphasis||"*"};var g=e.i(402652),E=e.i(216920);let T={};function k(e,t){let n=t||T;return b(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function b(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return A(e.children,t,n)}return Array.isArray(e)?A(e,t,n):""}function A(e,t,n){let r=[],i=-1;for(;++i",...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${a}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),s(),c}function S(e,t,n,r){let i=e.referenceType,a=n.enter("imageReference"),s=n.enter("label"),o=n.createTracker(r),l=o.move("!["),c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();let u=n.stack;n.stack=[],s=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return s(),n.stack=u,a(),"full"!==i&&c&&c===d?"shortcut"===i?l=l.slice(0,-1):l+=o.move("]"):l+=o.move(d+"]"),l}function C(e,t,n){let r=e.value||"",i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a\u007F]/.test(e.url))}function N(e,t,n,r){let i,a,s=u(n),o='"'===s?"Quote":"Apostrophe",l=n.createTracker(r);if(x(e,n)){let t=n.stack;n.stack=[],i=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()})),r+=l.move(">"),i(),n.stack=t,r}i=n.enter("link"),a=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()})),c+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=l.move(" "+s),c+=l.move(n.safe(e.title,{before:c,after:s,...l.current()})),c+=l.move(s),a()),c+=l.move(")"),i(),c}function I(e,t,n,r){let i=e.referenceType,a=n.enter("linkReference"),s=n.enter("label"),o=n.createTracker(r),l=o.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();let u=n.stack;n.stack=[],s=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return s(),n.stack=u,a(),"full"!==i&&c&&c===d?"shortcut"===i?l=l.slice(0,-1):l+=o.move("]"):l+=o.move(d+"]"),l}function v(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function D(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}e.s(["toString",()=>k],12105),_.peek=function(){return"<"},y.peek=function(){return"!"},S.peek=function(){return"!"},C.peek=function(){return"`"},N.peek=function(e,t,n){return x(e,n)?"<":"["},I.peek=function(){return"["};let w=(0,e.i(173119).convert)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function L(e,t,n,r){let i=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),a=n.enter("strong"),s=n.createTracker(r),o=s.move(i+i),l=s.move(n.containerPhrasing(e,{after:i,before:o,...s.current()})),c=l.charCodeAt(0),u=m(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=d(c)+l.slice(1));let h=l.charCodeAt(l.length-1),p=m(r.after.charCodeAt(0),h,i);p.inside&&(l=l.slice(0,-1)+d(h));let f=s.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:u.outside},o+l+f}L.peek=function(e,t,n){return n.options.strong||"*"};let O={blockquote:s.blockquote,break:o.hardBreak,code:function(e,t,n,r){let i=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),a=e.value||"",s="`"===i?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(a,c);return e(),t}let o=n.createTracker(r),u=i.repeat(Math.max((0,l.longestStreak)(a,i)+1,3)),d=n.enter("codeFenced"),h=o.move(u);if(e.lang){let t=n.enter(`codeFencedLang${s}`);h+=o.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${s}`);h+=o.move(" "),h+=o.move(n.safe(e.meta,{before:h,after:"\n",encode:["`"],...o.current()})),t()}return h+=o.move("\n"),a&&(h+=o.move(a+"\n")),h+=o.move(u),d(),h},definition:function(e,t,n,r){let i=u(n),a='"'===i?"Quote":"Apostrophe",s=n.enter("definition"),o=n.enter("label"),l=n.createTracker(r),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?" ":"\n",...l.current()}))),o(),e.title&&(o=n.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),s(),c},emphasis:f,hardBreak:o.hardBreak,heading:function(e,t,n,r){let i,a=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(i=!1,(0,E.visit)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return i=!0,g.EXIT}),(!e.depth||e.depth<3)&&k(e)&&(n.options.setext||i)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===a?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}let o="#".repeat(a),l=n.enter("headingAtx"),c=n.enter("phrasing");s.move(o+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(u)&&(u=d(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,n.options.closeAtx&&(u+=" "+o),c(),l(),u},html:_,image:y,imageReference:S,inlineCode:C,link:N,linkReference:I,list:function(e,t,n,r){let i=n.enter("list"),a=n.bulletCurrent,s=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):v(n),o=e.ordered?"."===s?")":".":function(e){let t=v(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&s===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==s&&"-"!==s||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),D(n)===s&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let s=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));let o=n.createTracker(r);o.move(a+" ".repeat(s-a.length)),o.shift(s);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),function(e,t,n){return t?(n?"":" ".repeat(s))+e:(n?a:a+" ".repeat(s-a.length))+e});return l(),c},paragraph:function(e,t,n,r){let i=n.enter("paragraph"),a=n.enter("phrasing"),s=n.containerPhrasing(e,r);return a(),i(),s},root:function(e,t,n,r){return(e.children.some(function(e){return w(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:L,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(D(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function R(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function P(e){this.exit(e),this.data.inTable=void 0}function M(e){this.enter({type:"tableRow",children:[]},e)}function F(e){this.exit(e)}function B(e){this.enter({type:"tableCell",children:[]},e)}function H(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,U));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function U(e,t){return"|"===t?t:e}function G(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function j(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,a=-1;for(;++aa?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s0?(V(e,e.length,0,t),e):t}e.s(["gfmFromMarkdown",()=>Y,"gfmToMarkdown",()=>q],597089),e.s(["push",()=>$,"splice",()=>V],559245);let W={}.hasOwnProperty;function Q(e){let t={},n=-1;for(;++nQ],144819);let K={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),i):n(a)};function i(e){return null===e?n(e):t(e)}},partial:!0},X={tokenize:function(e,t,n){let r,i,a;return s;function s(t){return 46===t||95===t?e.check(J,l,o)(t):null===t||(0,h.markdownLineEndingOrSpace)(t)||(0,h.unicodeWhitespace)(t)||45!==t&&(0,h.unicodePunctuation)(t)?l(t):(a=!0,e.consume(t),s)}function o(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function l(e){return i||r||!a?n(e):t(e)}},partial:!0},Z={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}ei[43]=er,ei[45]=er,ei[46]=er,ei[95]=er,ei[72]=[er,en],ei[104]=[er,en],ei[87]=[er,et],ei[119]=[er,et],e.s(["gfmAutolinkLiteral",()=>ea],276260)},369090,(e,t,n)=>{"use strict";var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,a=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,u=/^\s+|\s+$/g;function d(e){return e?e.replace(u,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,u=1;function h(e){var t=e.match(i);t&&(n+=t.length);var r=e.lastIndexOf("\n");u=~r?e.length-r:u+e.length}function p(){var e={line:n,column:u};return function(t){return t.position=new m(e),g(a),t}}function m(e){this.start=e,this.end={line:n,column:u},this.source=t.source}function f(r){var i=Error(t.source+":"+n+":"+u+": "+r);if(i.reason=r,i.filename=t.source,i.line=n,i.column=u,i.source=e,t.silent);else throw i}function g(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function E(e){var t;for(e=e||[];t=T();)!1!==t&&e.push(t);return e}function T(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return f("End of comment missing");var r=e.slice(2,n-2);return u+=2,h(r),e=e.slice(n),u+=2,t({type:"comment",comment:r})}}m.prototype.content=e,g(a);var k,b=[];for(E(b);k=function(){var e=p(),t=g(s);if(t){if(T(),!g(o))return f("property missing ':'");var n=g(l),i=e({type:"declaration",property:d(t[0].replace(r,"")),value:n?d(n[0].replace(r,"")):""});return g(c),i}}();)!1!==k&&(b.push(k),E(b));return b}},559596,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),a="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;a?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(e.r(369090))},851521,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,a=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||a.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,c):e.replace(s,c)).replace(i,l))}},763185,(e,t,n)=>{"use strict";var r=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(559596)),i=e.r(851521);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,t.exports=a},812878,51256,705568,486338,877130,601533,980615,945334,722259,593523,96173,164955,618927,324739,556393,818084,191083,35976,e=>{"use strict";var t=e.i(597089),n=e.i(144819),r=e.i(276260),i=e.i(133220),a=e.i(455470);let s={partial:!0,tokenize:function(e,t,n){return function(t){return(0,a.markdownSpace)(t)?(0,i.factorySpace)(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||(0,a.markdownLineEnding)(e)?t(e):n(e)}}};e.s(["blankLine",0,s],51256);var o=e.i(784484);let l={tokenize:function(e,t,n){let r=this;return(0,i.factorySpace)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function c(e,t,n){let r,i=this,a=i.events.length,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let l=(0,o.normalizeIdentifier)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===l.codePointAt(0)&&s.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function u(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function d(e,t,n){let r,i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),c};function c(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(l>999||93===c&&!r||null===c||91===c||(0,a.markdownLineEndingOrSpace)(c))return n(c);if(93===c){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return s.includes((0,o.normalizeIdentifier)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return(0,a.markdownLineEndingOrSpace)(c)||(r=!0),l++,e.consume(c),92===c?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function h(e,t,n){let r,s,l=this,c=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),d};function d(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(t)}function h(t){if(u>999||93===t&&!s||null===t||91===t||(0,a.markdownLineEndingOrSpace)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,o.normalizeIdentifier)(l.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return(0,a.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?p:h}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,h):h(t)}function m(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),c.includes(r)||c.push(r),(0,i.factorySpace)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function p(e,t,n){return e.check(s,t,e.attempt(l,t,n))}function m(e){e.exit("gfmFootnoteDefinition")}var f=e.i(559245),g=e.i(227066);function E(e,t,n){let r=[],i=-1;for(;++iE],705568);class T{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function k(e,t,n){let r,s=this,o=0,l=0;return function(e){let t=s.events.length-1;for(;t>-1;){let e=s.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?s.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?b:c;return i===b&&s.parser.lazy[s.now().line]?n(e):i(e)};function c(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,l+=1),u(n)}function u(t){return null===t?n(t):(0,a.markdownLineEnding)(t)?l>1?(l=0,s.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,a.markdownSpace)(t)?(0,i.factorySpace)(e,u,"whitespace")(t):(l+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,u):(e.enter("data"),d(t))}function d(t){return null===t||124===t||(0,a.markdownLineEndingOrSpace)(t)?(e.exit("data"),u(t)):(e.consume(t),92===t?h:d)}function h(t){return 92===t||124===t?(e.consume(t),d):d(t)}function p(t){return(s.interrupt=!1,s.parser.lazy[s.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.markdownSpace)(t))?(0,i.factorySpace)(e,m,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):m(t)}function m(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,a.markdownSpace)(t)?(0,i.factorySpace)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(l+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),E):45===t?(l+=1,E(t)):null===t||(0,a.markdownLineEnding)(t)?k(t):n(t)}function E(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(n))}(t)):n(t)}function T(t){return(0,a.markdownSpace)(t)?(0,i.factorySpace)(e,k,"whitespace")(t):k(t)}function k(i){if(124===i)return m(i);if(null===i||(0,a.markdownLineEnding)(i))return r&&o===l?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function b(t){return e.enter("tableRow"),A(t)}function A(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),A):null===n||(0,a.markdownLineEnding)(n)?(e.exit("tableRow"),t(n)):(0,a.markdownSpace)(n)?(0,i.factorySpace)(e,A,"whitespace")(n):(e.enter("data"),_(n))}function _(t){return null===t||124===t||(0,a.markdownLineEndingOrSpace)(t)?(e.exit("data"),A(t)):(e.consume(t),92===t?y:_)}function y(t){return 92===t||124===t?(e.consume(t),_):_(t)}}function b(e,t){let n,r,i,a=-1,s=!0,o=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,h=new T;for(;++an[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",s,t]])}return void 0!==i&&(a.end=Object.assign({},y(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function _(e,t,n,r,i){let a=[],s=y(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),r.end=Object.assign({},s),a.push(["exit",r,t]),e.add(n+1,0,a)}function y(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let S={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):n(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return(0,a.markdownLineEnding)(r)?t(r):(0,a.markdownSpace)(r)?e.check({tokenize:C},t,n)(r):n(r)}}};function C(e,t,n){return(0,i.factorySpace)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let x={};function N(e){var i;let a,s,o=e||x,l=this.data(),T=l.micromarkExtensions||(l.micromarkExtensions=[]),A=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),_=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);T.push((i=o,(0,n.combineExtensions)([(0,r.gfmAutolinkLiteral)(),{document:{91:{name:"gfmFootnoteDefinition",tokenize:h,continuation:{tokenize:p},exit:m}},text:{91:{name:"gfmFootnoteCall",tokenize:d},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:c,resolveTo:u}}},(a=(i||{}).singleTilde,s={name:"strikethrough",tokenize:function(e,t,n){let r=this.previous,i=this.events,s=0;return function(o){return 126===r&&"characterEscape"!==i[i.length-1][1].type?n(o):(e.enter("strikethroughSequenceTemporary"),function i(o){let l=(0,g.classifyCharacter)(r);if(126===o)return s>1?n(o):(e.consume(o),s++,i);if(s<2&&!a)return n(o);let c=e.exit("strikethroughSequenceTemporary"),u=(0,g.classifyCharacter)(o);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,t(o)}(o))}},resolveAll:function(e,t){let n=-1;for(;++nN],812878);var I=Object.defineProperty,v=Object.defineProperties,D=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,R=(e,t,n)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))L.call(t,n)&&R(e,n,t[n]);if(w)for(var n of w(t))O.call(t,n)&&R(e,n,t[n]);return e},M=(e,t)=>{let n=!1,r=!1;for(let i=0;i{let n="```"===e.substring(t,t+3),r=t>0&&"```"===e.substring(t-1,t+2),i=t>1&&"```"===e.substring(t-2,t+1);return n||r||i},B=(e,t)=>{let n=!1,r=!1,i=-1;for(let a=0;a(=?\s*[$]?\d)/gm,U=/(\*\*)([^*]*\*?)$/,G=/(__)([^_]*?)$/,j=/(\*\*\*)([^*]*?)$/,z=/(\*)([^*]*?)$/,Y=/(_)([^_]*?)$/,q=/(`)([^`]*?)$/,V=/(~~)([^~]*?)$/,$=/^[\s_~*`]*$/,W=/^[\s]*[-*+][\s]+$/,Q=/[\p{L}\p{N}_]/u,K=/^```[^`\n]*```?$/,X=/^\*{4,}$/,Z=/(__)([^_]+)_$/,J=/(~~)([^~]+)~$/,ee=/~~/g,et=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t||Q.test(e)},en=(e,t)=>{let n=1;for(let r=t+1;r{let n=!1,r=!1;for(let i=0;i{for(let n=t;n{for(let n=t-1;n>=0&&")"!==e[n];n-=1){if("("===e[n])return n>0&&"]"===e[n-1]&&ei(e,t);if(e[n]===` `)break}return!1},es=(e,t,n)=>{let r=0;for(let n=t-1;n>=0;n-=1)if(e[n]===` `){r=n+1;break}let i=e.length;for(let n=t;n=3&&!o},eo=(e,t,n,r)=>!!("\\"===n||e.includes("$")&&er(e,t))||("*"!==n&&"*"===r?(t{let t=0,n=!1,r=e.length;for(let i=0;i0?e[i-1]:"",s=i!!("\\"===n||e.includes("$")&&er(e,t)||ea(e,t)||((e,t)=>{for(let n=t-1;n>=0&&">"!==e[n];n-=1){if("<"===e[n]){let t=n+1="a"&&t<="z"||t>="A"&&t<="Z"||"/"===t}if(e[n]===` `)break}return!1})(e,t)||"_"===n||"_"===r||n&&r&&et(n)&&et(r)),eu=e=>{let t=0,n=!1;for(let r=0;r{let t=0,n=!1;for(let r=0;r{let t=!1;for(let n=0;n0?e[n-1]:"",r=n]*$/,em=(e,t)=>t>=2&&"```"===e.substring(t-2,t+1)||t>=1&&"```"===e.substring(t-1,t+2)||t<=e.length-3&&"```"===e.substring(t,t+3),ef=(e,t,n)=>{let r=t>0&&"!"===e[t-1],i=r?t-1:t;if(!e.substring(t+1).includes("]")||-1===en(e,t)){let a=e.substring(0,i);if(r)return a;if("text-only"===n){let n=((e,t)=>{for(let n=0;n0&&"!"===e[n-1])continue;let t=en(e,n);if(-1===t)return n;if(t+11&&void 0!==arguments[1]?arguments[1]:"protocol",n=e.lastIndexOf("](");if(-1!==n&&!M(e,n)){let r=((e,t,n)=>{if(e.substring(t+2).includes(")"))return null;let r=((e,t)=>{let n=1;for(let r=t-1;r>=0;r-=1)if("]"===e[r])n+=1;else if("["===e[r]&&0==(n-=1))return r;return -1})(e,t);if(-1===r||M(e,r))return null;let i=r>0&&"!"===e[r-1],a=e.substring(0,i?r-1:r);if(i)return a;let s=e.substring(r+1,t);return"text-only"===n?`${a}${s}`:`${a}[${s}](streamdown:incomplete-link)`})(e,n,t);if(null!==r)return r}for(let n=e.length-1;n>=0;n-=1)if("["===e[n]&&!M(e,n)){let r=ef(e,n,t);if(null!==r)return r}return e},eE=/^-{1,2}$/,eT=/^[\s]*-{1,2}[\s]+$/,ek=/^={1,2}$/,eb=/^[\s]*={1,2}[\s]+$/,eA=[{handler:{name:"comparisonOperators",handle:e=>e&&"string"==typeof e&&e.includes(">")?e.replace(H,(t,n,r,i)=>M(e,i)?t:`${n}\\>${r}`):e,priority:-10},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:e=>{let t=e.match(ep);return!t||void 0===t.index||M(e,t.index)?e:e.substring(0,t.index).trimEnd()},priority:-5},optionKey:"htmlTags"},{handler:{name:"setextHeadings",handle:e=>{if(!e||"string"!=typeof e)return e;let t=e.lastIndexOf(` `);if(-1===t)return e;let n=e.substring(t+1),r=e.substring(0,t),i=n.trim();if(eE.test(i)&&!n.match(eT)){let t=r.split(` `).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}if(ek.test(i)&&!n.match(eb)){let t=r.split(` `).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}return e},priority:0},optionKey:"setextHeadings"},{handler:{name:"links",handle:eg,priority:10},optionKey:"links",earlyReturn:e=>e.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:e=>{let t,n;if(X.test(e))return e;let r=e.match(j);if(!r)return e;let i=r[2],a=e.lastIndexOf(r[1]);return!i||$.test(i)||M(e,a)||B(e,a)||es(e,a,"*")?e:(e=>{let t=0,n=0,r=!1;for(let i=0;i=3&&(t+=Math.floor(n/3)),n=0,r=!r,i+=2;continue}r||("*"===e[i]?n+=1:(n>=3&&(t+=Math.floor(n/3)),n=0))}return n>=3&&(t+=Math.floor(n/3)),t})(e)%2==1?(t=eu(e),n=el(e),t%2==0&&n%2==0)?e:`${e}***`:e},priority:20},optionKey:"boldItalic"},{handler:{name:"bold",handle:e=>{let t=e.match(U);if(!t)return e;let n=t[2],r=e.lastIndexOf(t[1]);return M(e,r)||B(e,r)||((e,t,n)=>{if(!t||$.test(t))return!0;let r=e.substring(0,n).lastIndexOf(` `),i=e.substring(-1===r?0:r+1,n);return!!(W.test(i)&&t.includes(` `))||es(e,n,"*")})(e,n,r)?e:eu(e)%2==1?n.endsWith("*")?`${e}*`:`${e}**`:e},priority:30},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:e=>{let t=e.match(G);if(!t){let t=e.match(Z);if(t){let n=e.lastIndexOf(t[1]);if(!(M(e,n)||B(e,n))&&ed(e)%2==1)return`${e}_`}return e}let n=t[2],r=e.lastIndexOf(t[1]);return M(e,r)||B(e,r)||((e,t,n)=>{if(!t||$.test(t))return!0;let r=e.substring(0,n).lastIndexOf(` `),i=e.substring(-1===r?0:r+1,n);return!!(W.test(i)&&t.includes(` `))||es(e,n,"_")})(e,n,r)?e:ed(e)%2==1?`${e}__`:e},priority:40},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:e=>{if(!e.match(z))return e;let t=(e=>{let t=!1;for(let n=0;n0?e[n-1]:"",r=n{if(!e.match(Y))return e;let t=eh(e);if(-1===t)return e;let n=e.substring(t+1);if(!n||$.test(n)||M(e,t)||B(e,t))return e;if((e=>{let t=0,n=!1,r=e.length;for(let i=0;i0?e[i-1]:"",s=i{if(!e.endsWith("**"))return null;let t=e.slice(0,-2);if(eu(t)%2!=1)return null;let n=t.indexOf("**"),r=eh(t);return -1!==n&&-1!==r&&n{let t=e.length;for(;t>0&&e[t-1]===` `;)t-=1;if(t{let t=!e.match(K)||e.includes(` `)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;if(null!==t)return t;let n=e.match(q);if(n&&(e.match(/```/g)||[]).length%2!=1){let t=n[2];if(!t||$.test(t))return e;if((e=>{let t=0;for(let n=0;n{var t,n;let r=e.match(V);if(r){let n=r[2];if(!n||$.test(n))return e;let i=e.lastIndexOf(r[1]);if(M(e,i)||B(e,i))return e;if((null==(t=e.match(ee))?void 0:t.length)%2==1)return`${e}~~`}else{let t=e.match(J);if(t){let r=e.lastIndexOf(t[0].slice(0,2));if(M(e,r)||B(e,r))return e;if((null==(n=e.match(ee))?void 0:n.length)%2==1)return`${e}~`}}return e},priority:60},optionKey:"strikethrough"},{handler:{name:"katex",handle:e=>{let t;return(e=>{let t=0,n=!1;for(let r=0;r{var n,r;let i;if(!e||"string"!=typeof e)return e;let a=e.endsWith(" ")&&!e.endsWith(" ")?e.slice(0,-1):e;for(let{handler:e,earlyReturn:s}of[...(i=null!=(r=null==t?void 0:t.linkMode)?r:"protocol",eA.filter(e=>{let{handler:n,optionKey:r}=e;return"links"===n.name?!1!==(null==t?void 0:t.links)||!1!==(null==t?void 0:t.images):!1!==(null==t?void 0:t[r])}).map(e=>{let{handler:t,earlyReturn:n}=e;return"links"===t.name?{handler:v(P({},t),D({handle:e=>eg(e,i)})),earlyReturn:"protocol"===i?n:void 0}:{handler:t,earlyReturn:n}})),...(null!=(n=null==t?void 0:t.handlers)?n:[]).map(e=>{var t;return{handler:v(P({},e),D({priority:null!=(t=e.priority)?t:100})),earlyReturn:void 0}})].sort((e,t)=>{var n,r;return(null!=(n=e.handler.priority)?n:0)-(null!=(r=t.handler.priority)?r:0)}))if(a=e.handle(a),null!=s&&s(a))break;return a};e.s(["default",()=>e_],486338);let ey=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return{nextPart:e,validators:t,classGroupId:n}},eS=[],eC=(e,t,n)=>{if(0==e.length-t)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=eC(e,t+1,i);if(n)return n}let a=n.validators;if(null===a)return;let s=0===t?e.join("-"):e.slice(t).join("-"),o=a.length;for(let e=0;e{let n=ey();for(let r in e)eN(e[r],n,r,t);return n},eN=(e,t,n,r)=>{let i=e.length;for(let a=0;a{"string"==typeof e?ev(e,t,n):"function"==typeof e?eD(e,t,n,r):ew(e,t,n,r)},ev=(e,t,n)=>{(""===e?t:eL(t,e)).classGroupId=n},eD=(e,t,n,r)=>{eO(e)?eN(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:n,validator:e}))},ew=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e{let n=e,r=t.split("-"),i=r.length;for(let e=0;e"isThemeGetter"in e&&!0===e.isThemeGetter,eR=[],eP=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),eM=/\s+/,eF=function(){let e,t;for(var n=arguments.length,r=Array(n),i=0;i{let t;if("string"==typeof e)return e;let n="";for(let r=0;r{let t=t=>t[e]||eH;return t.isThemeGetter=!0,t},eG=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ej=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ez=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,eY=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eq=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eV=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,e$=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,eQ=e=>ez.test(e),eK=e=>!!e&&!Number.isNaN(Number(e)),eX=e=>!!e&&Number.isInteger(Number(e)),eZ=e=>e.endsWith("%")&&eK(e.slice(0,-1)),eJ=e=>eY.test(e),e0=()=>!0,e1=e=>eq.test(e)&&!eV.test(e),e2=()=>!1,e5=e=>e$.test(e),e3=e=>eW.test(e),e4=e=>!e9(e)&&!ta(e),e6=e=>tp(e,tE,e2),e9=e=>eG.test(e),e7=e=>tp(e,tT,e1),e8=e=>tp(e,tk,eK),te=e=>tp(e,tA,e0),tt=e=>tp(e,tb,e2),tn=e=>tp(e,tf,e2),tr=e=>tp(e,tg,e3),ti=e=>tp(e,t_,e5),ta=e=>ej.test(e),ts=e=>tm(e,tT),to=e=>tm(e,tb),tl=e=>tm(e,tf),tc=e=>tm(e,tE),tu=e=>tm(e,tg),td=e=>tm(e,t_,!0),th=e=>tm(e,tA,!0),tp=(e,t,n)=>{let r=eG.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},tm=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=ej.exec(e);return!!r&&(r[1]?t(r[1]):n)},tf=e=>"position"===e||"percentage"===e,tg=e=>"image"===e||"url"===e,tE=e=>"length"===e||"size"===e||"bg-size"===e,tT=e=>"length"===e,tk=e=>"number"===e,tb=e=>"family-name"===e,tA=e=>"number"===e||"weight"===e,t_=e=>"shadow"===e,ty=function(e){let t,n,r,i;for(var a=arguments.length,s=Array(a>1?a-1:0),o=1;o{let i=n(e);if(i)return i;let a=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,s=[],o=e.trim().split(eM),l="";for(let e=o.length-1;e>=0;e-=1){let t=o[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?h.substring(0,p):h);if(!f){if(!m||!(f=r(h))){l=t+(l.length>0?" "+l:l);continue}m=!1}let g=0===u.length?"":1===u.length?u[0]:a(u).join(":"),E=d?g+"!":g,T=E+f;if(s.indexOf(T)>-1)continue;s.push(T);let k=i(f,m);for(let e=0;e0?" "+l:l)}return l})(e,t);return r(e,a),a};return i=a=>{var o;let c;return n=(t={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,++t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(i(e,t),t):void 0},set(e,t){e in n?n[e]=t:i(e,t)}}})((o=s.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t,n=[],r=0,i=0,a=0,s=e.length;for(let o=0;oa?t-a:void 0)};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):eP(eR,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r})(o),sortModifiers:(c=new Map,o.orderSensitiveModifiers.forEach((e,t)=>{c.set(e,1e6+t)}),e=>{let t=[],n=[];for(let r=0;r0&&(n.sort(),t.push(...n),n=[]),t.push(i)):n.push(i)}return n.length>0&&(n.sort(),t.push(...n)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:n}=e;return ex(n,t)})(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var n;let t,r,i;return -1===(n=e).slice(1,-1).indexOf(":")?void 0:(r=(t=n.slice(1,-1)).indexOf(":"),(i=t.slice(0,r))?"arbitrary.."+i:void 0)}let r=e.split("-"),i=+(""===r[0]&&r.length>1);return eC(r,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];if(t){if(i){let e=Array(i.length+t.length);for(let t=0;t{let e=eU("color"),t=eU("font"),n=eU("text"),r=eU("font-weight"),i=eU("tracking"),a=eU("leading"),s=eU("breakpoint"),o=eU("container"),l=eU("spacing"),c=eU("radius"),u=eU("shadow"),d=eU("inset-shadow"),h=eU("text-shadow"),p=eU("drop-shadow"),m=eU("blur"),f=eU("perspective"),g=eU("aspect"),E=eU("ease"),T=eU("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],A=()=>[...b(),ta,e9],_=()=>["auto","hidden","clip","visible","scroll"],y=()=>["auto","contain","none"],S=()=>[ta,e9,l],C=()=>[eQ,"full","auto",...S()],x=()=>[eX,"none","subgrid",ta,e9],N=()=>["auto",{span:["full",eX,ta,e9]},eX,ta,e9],I=()=>[eX,"auto",ta,e9],v=()=>["auto","min","max","fr",ta,e9],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],w=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...S()],O=()=>[eQ,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],R=()=>[eQ,"screen","full","dvw","lvw","svw","min","max","fit",...S()],P=()=>[eQ,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],M=()=>[e,ta,e9],F=()=>[...b(),tl,tn,{position:[ta,e9]}],B=()=>["no-repeat",{repeat:["","x","y","space","round"]}],H=()=>["auto","cover","contain",tc,e6,{size:[ta,e9]}],U=()=>[eZ,ts,e7],G=()=>["","none","full",c,ta,e9],j=()=>["",eK,ts,e7],z=()=>["solid","dashed","dotted","double"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>[eK,eZ,tl,tn],V=()=>["","none",m,ta,e9],$=()=>["none",eK,ta,e9],W=()=>["none",eK,ta,e9],Q=()=>[eK,ta,e9],K=()=>[eQ,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[eJ],breakpoint:[eJ],color:[e0],container:[eJ],"drop-shadow":[eJ],ease:["in","out","in-out"],font:[e4],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[eJ],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[eJ],shadow:[eJ],spacing:["px",eK],text:[eJ],"text-shadow":[eJ],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",eQ,e9,ta,g]}],container:["container"],columns:[{columns:[eK,e9,ta,o]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:A()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:y()}],"overscroll-x":[{"overscroll-x":y()}],"overscroll-y":[{"overscroll-y":y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{"inset-s":C(),start:C()}],end:[{"inset-e":C(),end:C()}],"inset-bs":[{"inset-bs":C()}],"inset-be":[{"inset-be":C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[eX,"auto",ta,e9]}],basis:[{basis:[eQ,"full","auto",o,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[eK,eQ,"auto","initial","none",e9]}],grow:[{grow:["",eK,ta,e9]}],shrink:[{shrink:["",eK,ta,e9]}],order:[{order:[eX,"first","last","none",ta,e9]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":v()}],"auto-rows":[{"auto-rows":v()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...w(),"normal"]}],"justify-self":[{"justify-self":["auto",...w()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...w(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...w(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...w(),"baseline"]}],"place-self":[{"place-self":["auto",...w()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...R()]}],"min-inline-size":[{"min-inline":["auto",...R()]}],"max-inline-size":[{"max-inline":["none",...R()]}],"block-size":[{block:["auto",...P()]}],"min-block-size":[{"min-block":["auto",...P()]}],"max-block-size":[{"max-block":["none",...P()]}],w:[{w:[o,"screen",...O()]}],"min-w":[{"min-w":[o,"screen","none",...O()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,ts,e7]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,th,te]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",eZ,e9]}],"font-family":[{font:[to,tt,t]}],"font-features":[{"font-features":[e9]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,ta,e9]}],"line-clamp":[{"line-clamp":[eK,"none",ta,e8]}],leading:[{leading:[a,...S()]}],"list-image":[{"list-image":["none",ta,e9]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ta,e9]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:[eK,"from-font","auto",ta,e7]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[eK,"auto",ta,e9]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ta,e9]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ta,e9]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:B()}],"bg-size":[{bg:H()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},eX,ta,e9],radial:["",ta,e9],conic:[eX,ta,e9]},tu,tr]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-bs":[{"border-bs":j()}],"border-w-be":[{"border-be":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...z(),"hidden","none"]}],"divide-style":[{divide:[...z(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[eK,ta,e9]}],"outline-w":[{outline:["",eK,ts,e7]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",u,td,ti]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",d,td,ti]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[eK,e7]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",h,td,ti]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[eK,ta,e9]}],"mix-blend":[{"mix-blend":[...Y(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Y()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[eK]}],"mask-image-linear-from-pos":[{"mask-linear-from":q()}],"mask-image-linear-to-pos":[{"mask-linear-to":q()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":q()}],"mask-image-t-to-pos":[{"mask-t-to":q()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":q()}],"mask-image-r-to-pos":[{"mask-r-to":q()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":q()}],"mask-image-b-to-pos":[{"mask-b-to":q()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":q()}],"mask-image-l-to-pos":[{"mask-l-to":q()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":q()}],"mask-image-x-to-pos":[{"mask-x-to":q()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":q()}],"mask-image-y-to-pos":[{"mask-y-to":q()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[ta,e9]}],"mask-image-radial-from-pos":[{"mask-radial-from":q()}],"mask-image-radial-to-pos":[{"mask-radial-to":q()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[eK]}],"mask-image-conic-from-pos":[{"mask-conic-from":q()}],"mask-image-conic-to-pos":[{"mask-conic-to":q()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:B()}],"mask-size":[{mask:H()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ta,e9]}],filter:[{filter:["","none",ta,e9]}],blur:[{blur:V()}],brightness:[{brightness:[eK,ta,e9]}],contrast:[{contrast:[eK,ta,e9]}],"drop-shadow":[{"drop-shadow":["","none",p,td,ti]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",eK,ta,e9]}],"hue-rotate":[{"hue-rotate":[eK,ta,e9]}],invert:[{invert:["",eK,ta,e9]}],saturate:[{saturate:[eK,ta,e9]}],sepia:[{sepia:["",eK,ta,e9]}],"backdrop-filter":[{"backdrop-filter":["","none",ta,e9]}],"backdrop-blur":[{"backdrop-blur":V()}],"backdrop-brightness":[{"backdrop-brightness":[eK,ta,e9]}],"backdrop-contrast":[{"backdrop-contrast":[eK,ta,e9]}],"backdrop-grayscale":[{"backdrop-grayscale":["",eK,ta,e9]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[eK,ta,e9]}],"backdrop-invert":[{"backdrop-invert":["",eK,ta,e9]}],"backdrop-opacity":[{"backdrop-opacity":[eK,ta,e9]}],"backdrop-saturate":[{"backdrop-saturate":[eK,ta,e9]}],"backdrop-sepia":[{"backdrop-sepia":["",eK,ta,e9]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ta,e9]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[eK,"initial",ta,e9]}],ease:[{ease:["linear","initial",E,ta,e9]}],delay:[{delay:[eK,ta,e9]}],animate:[{animate:["none",T,ta,e9]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,ta,e9]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:Q()}],"skew-x":[{"skew-x":Q()}],"skew-y":[{"skew-y":Q()}],transform:[{transform:[ta,e9,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:K()}],"translate-x":[{"translate-x":K()}],"translate-y":[{"translate-y":K()}],"translate-z":[{"translate-z":K()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ta,e9]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ta,e9]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[eK,ts,e7,e8]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});e.s(["twMerge",()=>ty],877130);var tS=e.i(816220),tC=e.i(897802);let tx=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tN=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tI={};function tv(e,t){return((t||tI).jsx?tN:tx).test(e)}let tD=/[ \t\n\f\r]/g;function tw(e){return""===e.replace(tD,"")}var tL=e.i(273638);let tO={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"};var tR=e.i(61634),tP=e.i(722365),tM=e.i(763185),tF=e.i(417798);function tB(e){return e&&"object"==typeof e?"position"in e||"type"in e?tU(e.position):"start"in e||"end"in e?tU(e):"line"in e||"column"in e?tH(e):"":""}function tH(e){return tG(e&&e.line)+":"+tG(e&&e.column)}function tU(e){return tH(e&&e.start)+"-"+tH(e&&e.end)}function tG(e){return e&&"number"==typeof e?e:1}e.s(["stringifyPosition",()=>tB],601533);class tj extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=tB(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&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}tj.prototype.file="",tj.prototype.name="",tj.prototype.reason="",tj.prototype.message="",tj.prototype.stack="",tj.prototype.column=void 0,tj.prototype.line=void 0,tj.prototype.ancestors=void 0,tj.prototype.cause=void 0,tj.prototype.fatal=void 0,tj.prototype.place=void 0,tj.prototype.ruleId=void 0,tj.prototype.source=void 0,e.s(["VFileMessage",()=>tj],980615);let tz={}.hasOwnProperty,tY=new Map,tq=/[A-Z]/g,tV=new Set(["table","tbody","thead","tfoot","tr"]),t$=new Set(["td","th"]),tW="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function tQ(e,t){var n,r,i,a;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,s=function(e,t,i,a){let s=Array.isArray(i.children),o=(0,tF.pointStart)(e);return r(t,i,a,s,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,s=function(e,t,n,r){let s=Array.isArray(n.children)?a:i;return r?s(t,n,r):s(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?tR.svg:tR.html,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=tK(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}function tK(e,t,n){var r,i,a,s,o,l,c,u,d;let h,p,m,f,g,E,T,k,b,A,_;return"element"===t.type?(r=e,i=t,a=n,p=h=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===h.space&&(r.schema=tR.svg),r.ancestors.push(i),m=t0(r,i.tagName,!1),f=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&tz.call(t.properties,r)){let a=function(e,t,n){let r=(0,tL.find)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,tS.stringify)(n):(0,tP.stringify)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return(0,tM.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new tj("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=tW+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)tz.call(e,t)&&(n[function(e){let t=e.replace(tq,t2);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?tO[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(a){let[r,s]=a;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof s&&t$.has(t.tagName)?n=s:i[r]=s}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,i),g=tJ(r,i),tV.has(i.tagName)&&(g=g.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&tw(e.value):tw(e))})),tX(r,f,m,i),tZ(f,g),r.ancestors.pop(),r.schema=h,r.create(i,m,f,a)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,tC.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}t1(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(s=e,o=t,l=n,T=E=s.schema,"svg"===o.name&&"html"===E.space&&(s.schema=tR.svg),s.ancestors.push(o),k=null===o.name?s.Fragment:t0(s,o.name,!0),b=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,tC.ok)("ExpressionStatement"===t.type);let i=t.expression;(0,tC.ok)("ObjectExpression"===i.type);let a=i.properties[0];(0,tC.ok)("SpreadElement"===a.type),Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else t1(e,t.position);else{let i,a=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,tC.ok)("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else t1(e,t.position);else i=null===r.value||r.value;n[a]=i}return n}(s,o),A=tJ(s,o),tX(s,b,k,o),tZ(b,A),s.ancestors.pop(),s.schema=E,s.create(o,k,b,l)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);t1(e,t.position)}(e,t):"root"===t.type?(c=e,u=t,d=n,tZ(_={},tJ(c,u)),c.create(u,c.Fragment,_,d)):"text"===t.type?t.value:void 0}function tX(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function tZ(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function tJ(e,t){let n=[],r=-1,i=e.passKeys?new Map:tY;for(;++rtQ],945334),e.s(["urlAttributes",0,{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"]}],722259),e.s(["content",0,{tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,i.factorySpace)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,a.markdownLineEnding)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}}],593523);let t5={tokenize:function(e,t,n){return(0,i.factorySpace)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};e.s(["document",0,{tokenize:function(e){let t,n,r,i=this,s=[],o=0;return l;function l(t){if(or))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(T(o),a=s;at;){let t=s[n];i.containerState=t[1],t[0].exit.call(i,e)}s.length=t}function k(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}}],96173);class t3{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&t4(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),t4(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),t4(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(et6],164955);let t9={resolve:function(e){return t6(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,a.markdownLineEnding)(t)?e.check(t7,s,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function s(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},t7={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,i.factorySpace)(e,s,"linePrefix")};function s(i){if(null===i||(0,a.markdownLineEnding)(i))return n(i);let s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}};e.s(["flow",0,{tokenize:function(e){let t=this,n=e.attempt(s,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,i.factorySpace)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(t9,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}}],618927);let t8={resolveAll:nr()},ne=nn("string"),nt=nn("text");function nn(e){return{resolveAll:nr("text"===e?ni:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,s);return a;function a(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},h={...e[u][1].start};na(d,-o),na(h,o),a={type:o>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:h},i={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:o>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[n][1].end={...a.start},e[u][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,f.push)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,f.push)(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=(0,f.push)(l,E(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,f.push)(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,f.push)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,f.splice)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u{"use strict";var t=e.i(194772),n=e.i(455470);e.s(["characterReference",0,{name:"characterReference",tokenize:function(e,r,i){let a,s,o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,s=n.asciiAlphanumeric,d(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=n.asciiHexDigit,d):(e.enter("characterReferenceValue"),a=7,s=n.asciiDigit,d(t))}function d(c){if(59===c&&l){let a=e.exit("characterReferenceValue");return s!==n.asciiAlphanumeric||(0,t.decodeNamedCharacterReference)(o.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),r):i(c)}return s(c)&&l++=u?(e.exit("codeFencedFenceSequence"),(0,n.markdownSpace)(o)?(0,r.factorySpace)(e,d,"whitespace")(o):d(o)):i(o)}(t)):i(t)}function d(r){return null===r||(0,n.markdownLineEnding)(r)?(e.exit("codeFencedFence"),t(r)):i(r)}}},c=0,u=0;return function(t){var i;let l;return i=t,c=(l=o.events[o.events.length-1])&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,s=i,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===s?(u++,e.consume(i),t):u<3?a(i):(e.exit("codeFencedFenceSequence"),(0,n.markdownSpace)(i)?(0,r.factorySpace)(e,d,"whitespace")(i):d(i))}(i)};function d(l){return null===l||(0,n.markdownLineEnding)(l)?(e.exit("codeFencedFence"),o.interrupt?t(l):e.check(i,p,E)(l)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,n.markdownLineEnding)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(i)):(0,n.markdownSpace)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,r.factorySpace)(e,h,"whitespace")(i)):96===i&&i===s?a(i):(e.consume(i),t)}(l))}function h(t){return null===t||(0,n.markdownLineEnding)(t)?d(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||(0,n.markdownLineEnding)(r)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(r)):96===r&&r===s?a(r):(e.consume(r),t)}(t))}function p(t){return e.attempt(l,E,m)(t)}function m(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return c>0&&(0,n.markdownSpace)(t)?(0,r.factorySpace)(e,g,"linePrefix",c+1)(t):g(t)}function g(t){return null===t||(0,n.markdownLineEnding)(t)?e.check(i,p,E)(t):(e.enter("codeFlowValue"),function t(r){return null===r||(0,n.markdownLineEnding)(r)?(e.exit("codeFlowValue"),g(r)):(e.consume(r),t)}(t))}function E(n){return e.exit("codeFenced"),t(n)}}}],706783);let a={partial:!0,tokenize:function(e,t,i){let a=this;return s;function s(t){return a.parser.lazy[a.now().line]?i(t):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(0,r.factorySpace)(e,o,"linePrefix",5)(t)}function o(e){let r=a.events[a.events.length-1];return r&&"linePrefix"===r[1].type&&r[2].sliceSerialize(r[1],!0).length>=4?t(e):(0,n.markdownLineEnding)(e)?s(e):i(e)}}};function s(e,t,r,i,a,s,o,l,c){let u=c||1/0,d=0;return function(t){return 60===t?(e.enter(i),e.enter(a),e.enter(s),e.consume(t),e.exit(s),h):null===t||32===t||41===t||(0,n.asciiControl)(t)?r(t):(e.enter(i),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),f(t))};function h(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),e.exit(i),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),h(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?m:p)}function m(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(a){return!d&&(null===a||41===a||(0,n.markdownLineEndingOrSpace)(a))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(i),t(a)):d999||null===h||91===h||93===h&&!o||94===h&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs?r(h):93===h?(e.exit(s),e.enter(a),e.consume(h),e.exit(a),e.exit(i),t):(0,n.markdownLineEnding)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!(0,n.markdownSpace)(t)),92===t?h:d)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,d):d(t)}}function l(e,t,i,a,s,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(a),e.enter(s),e.consume(t),e.exit(s),l=40===t?41:t,c):i(t)};function c(n){return n===l?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):(e.enter(o),u(n))}function u(t){return t===l?(e.exit(o),c(l)):null===t?i(t):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,r.factorySpace)(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return t===l||null===t||(0,n.markdownLineEnding)(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?h:d)}function h(t){return t===l||92===t?(e.consume(t),d):d(t)}}e.s(["codeIndented",0,{name:"codeIndented",tokenize:function(e,t,i){let s=this;return function(t){return e.enter("codeIndented"),(0,r.factorySpace)(e,o,"linePrefix",5)(t)};function o(t){let r=s.events[s.events.length-1];return r&&"linePrefix"===r[1].type&&r[2].sliceSerialize(r[1],!0).length>=4?function t(r){return null===r?l(r):(0,n.markdownLineEnding)(r)?e.attempt(a,t,l)(r):(e.enter("codeFlowValue"),function r(i){return null===i||(0,n.markdownLineEnding)(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),r)}(r))}(t):i(t)}function l(n){return e.exit("codeIndented"),t(n)}}}],631571),e.s(["codeText",0,{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++ts],950194),e.s(["factoryLabel",()=>o],239700),e.s(["factoryTitle",()=>l],267420)},975609,(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},l=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=r.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!a)return!1;for(t in e);return void 0===t||r.call(e,t)},c=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;else if(s)return s(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,s,d=arguments[0],h=1,p=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h{"use strict";var t=e.i(942347),n=e.i(327921),r=e.i(71345),i=e.i(511356),a=e.i(675917),s=e.i(812878),o=e.i(486338),l=e.i(402652),c=e.i(7284),u=e.i(877130),d=e.i(162115),h=e.i(939050),p=e.i(945334),m=e.i(722259),f=e.i(12105),g=e.i(144819),E=e.i(593523),T=e.i(96173),k=e.i(618927),b=e.i(324739),A=e.i(556393),_=e.i(818084),y=e.i(191083),S=e.i(35976),C=e.i(477050),x=e.i(706783),N=e.i(631571),I=e.i(102947),v=e.i(950194),D=e.i(239700),w=e.i(133220),L=e.i(267420),O=e.i(658119),R=e.i(455470),P=e.i(784484);let M={partial:!0,tokenize:function(e,t,n){return function(t){return(0,R.markdownLineEndingOrSpace)(t)?(0,O.factoryWhitespace)(e,r)(t):n(t)};function r(t){return(0,L.factoryTitle)(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,R.markdownSpace)(t)?(0,w.factorySpace)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,R.markdownLineEnding)(e)?t(e):n(e)}}};var F=e.i(559245);let B=["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"],H=["pre","script","style","textarea"];var U=e.i(51256);let G={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(U.blankLine,t,n)}}},j={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,R.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};var z=e.i(705568);let Y={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t=3&&(null===s||(0,R.markdownLineEnding)(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},Z={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(U.blankLine,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,w.factorySpace)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,R.markdownSpace)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ee,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,w.factorySpace)(e,e.attempt(Z,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,R.asciiDigit)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(X,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,R.asciiDigit)(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(U.blankLine,r.interrupt?n:l,e.attempt(J,u,c))}function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,R.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},J={partial:!0,tokenize:function(e,t,n){let r=this;return(0,w.factorySpace)(e,function(e){let i=r.events[r.events.length-1];return!(0,R.markdownSpace)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ee={partial:!0,tokenize:function(e,t,n){let r=this;return(0,w.factorySpace)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},et={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let o,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){o="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,R.markdownSpace)(n)?(0,w.factorySpace)(e,a,"lineSuffix")(n):a(n))}(s)):n(t)};function a(r){return null===r||(0,R.markdownLineEnding)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},en={42:Z,43:Z,45:Z,48:Z,49:Z,50:Z,51:Z,52:Z,53:Z,54:Z,55:Z,56:Z,57:Z,62:y.blockQuote},er={[-2]:N.codeIndented,[-1]:N.codeIndented,32:N.codeIndented},ei={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,F.splice)(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,R.markdownLineEndingOrSpace)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,R.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,R.markdownSpace)(r)?(0,w.factorySpace)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,R.markdownLineEndingOrSpace)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:X,45:[et,X],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,a,s,o,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,p):63===s?(e.consume(s),r=3,l.interrupt?t:L):(0,R.asciiAlpha)(s)?(e.consume(s),a=String.fromCharCode(s),m):n(s)}function u(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,s=0,h):(0,R.asciiAlpha)(i)?(e.consume(i),r=4,l.interrupt?t:L):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:L):n(r)}function h(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:S:h:n(r)}function p(t){return(0,R.asciiAlpha)(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||(0,R.markdownLineEndingOrSpace)(s)){let o=47===s,c=a.toLowerCase();return!o&&!i&&H.includes(c)?(r=1,l.interrupt?t(s):S(s)):B.includes(a.toLowerCase())?(r=6,o)?(e.consume(s),f):l.interrupt?t(s):S(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return(0,R.markdownSpace)(n)?(e.consume(n),t):_(n)}(s):g(s))}return 45===s||(0,R.asciiAlphanumeric)(s)?(e.consume(s),a+=String.fromCharCode(s),m):n(s)}function f(r){return 62===r?(e.consume(r),l.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,R.asciiAlpha)(t)?(e.consume(t),E):(0,R.markdownSpace)(t)?(e.consume(t),g):_(t)}function E(t){return 45===t||46===t||58===t||95===t||(0,R.asciiAlphanumeric)(t)?(e.consume(t),E):T(t)}function T(t){return 61===t?(e.consume(t),k):(0,R.markdownSpace)(t)?(e.consume(t),T):g(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,b):(0,R.markdownSpace)(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,R.markdownLineEndingOrSpace)(n)?T(n):(e.consume(n),t)}(t)}function b(t){return t===o?(e.consume(t),o=null,A):null===t||(0,R.markdownLineEnding)(t)?n(t):(e.consume(t),b)}function A(e){return 47===e||62===e||(0,R.markdownSpace)(e)?g(e):n(e)}function _(t){return 62===t?(e.consume(t),y):n(t)}function y(t){return null===t||(0,R.markdownLineEnding)(t)?S(t):(0,R.markdownSpace)(t)?(e.consume(t),y):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),I):60===t&&1===r?(e.consume(t),v):62===t&&4===r?(e.consume(t),O):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),w):(0,R.markdownLineEnding)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(G,P,C)(t)):null===t||(0,R.markdownLineEnding)(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S)}function C(t){return e.check(j,x,P)(t)}function x(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return null===t||(0,R.markdownLineEnding)(t)?C(t):(e.enter("htmlFlowData"),S(t))}function I(t){return 45===t?(e.consume(t),L):S(t)}function v(t){return 47===t?(e.consume(t),a="",D):S(t)}function D(t){if(62===t){let n=a.toLowerCase();return H.includes(n)?(e.consume(t),O):S(t)}return(0,R.asciiAlpha)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),D):S(t)}function w(t){return 93===t?(e.consume(t),L):S(t)}function L(t){return 62===t?(e.consume(t),O):45===t&&2===r?(e.consume(t),L):S(t)}function O(t){return null===t||(0,R.markdownLineEnding)(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),O)}function P(n){return e.exit("htmlFlow"),t(n)}}},61:et,95:X,96:x.codeFenced,126:x.codeFenced},ea={38:C.characterReference,92:S.characterEscape},es={[-5]:K,[-4]:K,[-3]:K,33:W,38:C.characterReference,42:A.attention,60:[_.autolink,{name:"htmlText",tokenize:function(e,t,n){let r,i,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),T):(0,R.asciiAlpha)(t)?(e.consume(t),_):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,p):(0,R.asciiAlpha)(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,R.markdownLineEnding)(t)?(a=u,D(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?v(e):45===e?d(e):u(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:p):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),f):(0,R.markdownLineEnding)(t)?(a=m,D(t)):(e.consume(t),m)}function f(t){return 93===t?(e.consume(t),g):m(t)}function g(t){return 62===t?v(t):93===t?(e.consume(t),g):m(t)}function E(t){return null===t||62===t?v(t):(0,R.markdownLineEnding)(t)?(a=E,D(t)):(e.consume(t),E)}function T(t){return null===t?n(t):63===t?(e.consume(t),k):(0,R.markdownLineEnding)(t)?(a=T,D(t)):(e.consume(t),T)}function k(e){return 62===e?v(e):T(e)}function b(t){return(0,R.asciiAlpha)(t)?(e.consume(t),A):n(t)}function A(t){return 45===t||(0,R.asciiAlphanumeric)(t)?(e.consume(t),A):function t(n){return(0,R.markdownLineEnding)(n)?(a=t,D(n)):(0,R.markdownSpace)(n)?(e.consume(n),t):v(n)}(t)}function _(t){return 45===t||(0,R.asciiAlphanumeric)(t)?(e.consume(t),_):47===t||62===t||(0,R.markdownLineEndingOrSpace)(t)?y(t):n(t)}function y(t){return 47===t?(e.consume(t),v):58===t||95===t||(0,R.asciiAlpha)(t)?(e.consume(t),S):(0,R.markdownLineEnding)(t)?(a=y,D(t)):(0,R.markdownSpace)(t)?(e.consume(t),y):v(t)}function S(t){return 45===t||46===t||58===t||95===t||(0,R.asciiAlphanumeric)(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),C):(0,R.markdownLineEnding)(n)?(a=t,D(n)):(0,R.markdownSpace)(n)?(e.consume(n),t):y(n)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,x):(0,R.markdownLineEnding)(t)?(a=C,D(t)):(0,R.markdownSpace)(t)?(e.consume(t),C):(e.consume(t),N)}function x(t){return t===r?(e.consume(t),r=void 0,I):null===t?n(t):(0,R.markdownLineEnding)(t)?(a=x,D(t)):(e.consume(t),x)}function N(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,R.markdownLineEndingOrSpace)(t)?y(t):(e.consume(t),N)}function I(e){return 47===e||62===e||(0,R.markdownLineEndingOrSpace)(e)?y(e):n(e)}function v(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return(0,R.markdownSpace)(t)?(0,w.factorySpace)(e,O,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),a(t)}}}],91:Q,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,R.markdownLineEnding)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},S.characterEscape],93:Y,95:A.attention,96:I.codeText},eo={null:[A.attention,b.resolver]};e.s(["attentionMarkers",0,{null:[42,95]},"contentInitial",0,{91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,D.factoryLabel.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,P.normalizeIdentifier)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return(0,R.markdownLineEndingOrSpace)(t)?(0,O.factoryWhitespace)(e,o)(t):o(t)}function o(t){return(0,v.factoryDestination)(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(M,c,c)(t)}function c(t){return(0,R.markdownSpace)(t)?(0,w.factorySpace)(e,u,"whitespace")(t):u(t)}function u(a){return null===a||(0,R.markdownLineEnding)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},"disable",0,{null:[]},"document",0,en,"flow",0,ei,"flowInitial",0,er,"insideSpan",0,eo,"string",0,ea,"text",0,es],119210);var el=e.i(119210),ec=e.i(164955);let eu=/[\0\t\n\r]/g;function ed(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}var eh=e.i(194772);let ep=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function em(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return ed(n.slice(t?2:1),t?16:10)}return(0,eh.decodeNamedCharacterReference)(n)||e}var ef=e.i(601533);let eg={}.hasOwnProperty;function eE(e){return{line:e.line,column:e.column,offset:e.offset}}function eT(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,ef.stringifyPosition)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ef.stringifyPosition)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,ef.stringifyPosition)({start:t.start,end:t.end})+") is still open")}function ek(e){let t=this;t.parser=function(n){var r,i;let a,s,o,l;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(T),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(E,i),htmlFlowData:c,htmlText:r(E,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(T),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(k,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(k),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=ed(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=(0,eh.decodeNamedCharacterReference)(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eE(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,P.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ep,em),n.identifier=(0,P.normalizeIdentifier)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eE(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,P.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||eT).call(s,void 0,e[0])}for(r.position={start:eE(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eE(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[a].slice(0,s))}return n}(s,e)}function h(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function p(e,t){t.restore()}function m(e,t){return function(n,i,a){var s;let u,d,p,m;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function f(e){return(u=e,d=0,0===e.length)?a:E(e[d])}function E(e){return function(n){let i,a,s,u,d;return(i=h(),a=c.previous,s=c.currentConstruct,u=c.events.length,d=Array.from(o),m={from:u,restore:function(){r=i,c.previous=a,c.currentConstruct=s,c.events.length=u,o=d,g()}},p=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?k(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,T,k)(n)}}function T(t){return e(p,m),i}function k(e){return(m.restore(),++d55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(s=String.fromCharCode(a,t),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ey(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function eS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var eC=e.i(216920),ex=e.i(417798);function eN(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function eI(e){let t=e.spread;return null==t?e.children.length>1:t}function ev(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let eD={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=e_(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),o=e.footnoteCounts.get(i);void 0===o?(o=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=s+1,o+=1,e.footnoteCounts.set(i,o);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return eN(e,t);let i={src:e_(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:e_(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return eN(e,t);let i={href:e_(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:e_(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=(0,ex.pointStart)(t.children[1]),s=(0,ex.pointEnd)(t.children[t.children.length-1]);a&&s&&(r.position={start:a,end:s}),i.push(r)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,s=a?a.length:t.children.length,o=-1,l=[];for(;++o0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(ev(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:ew,yaml:ew,definition:ew,footnoteDefinition:ew};function ew(){}let eL={}.hasOwnProperty,eO={};function eR(e,t){e.position&&(t.position=(0,ex.position)(e))}function eP(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,(0,eA.default)(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function eM(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function eF(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function eB(e,t){let n,r,i,a,s=(n=t||eO,r=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else a.push(...d);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,m),o.push(m)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...(0,eA.default)(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:"\n"}]}}(s),c=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return l&&((0,eb.ok)("children"in c),c.children.push({type:"text",value:"\n"},l)),c}function eH(e,t){return e&&"run"in e?async function(n,r){let i=eB(n,{file:r,...t});await e.run(i,r)}:function(n,r){return eB(n,{file:r,...e||t})}}function eU(e){if(e)throw e}var eG=e.i(975609);function ej(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var ez=e.i(980615);let eY=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');eW(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else s<0&&(n=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(i=a):(o=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},eq=function(e){let t;if(eW(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},eV=function(e){let t;eW(e);let n=e.length,r=-1,i=0,a=-1,s=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?a<0?a=n:1!==s&&(s=1):a>-1&&(s=-1)}return a<0||r<0||0===s||1===s&&a===r-1&&a===i+1?"":e.slice(a,r)},e$=function(){let e,t,n;for(var r,i=arguments.length,a=Array(i),s=0;s2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=l,o=0;continue}}else if(i.length>0){i="",a=0,s=l,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),a=l-s-1;s=l,o=0}else 46===n&&o>-1?o++:o=-1}return i}(r,!t)).length||t||(n="."),n.length>0&&47===r.codePointAt(r.length-1)&&(n+="/"),t?"/"+n:n)};function eW(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function eQ(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let eK=["history","path","basename","stem","extname","dirname"];class eX{constructor(e){let t,n;t=e?eQ(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r1?s-1:0),l=1;ls.length;l&&s.push(r);try{t=e.apply(this,s)}catch(e){if(l&&n)throw e;return r(e)}l||(t&&t.then&&"function"==typeof t.then?t.then(i,r):t instanceof Error?r(t):i(t))};function r(e){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a1?t-1:0),r=1;r0){let[n,...a]=t,s=i[r][1];ej(s)&&ej(n)&&(n=(0,eG.default)(!0,s,n)),i[r]=[e,n,...a]}}}}let e3=new e5().freeze();function e4(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function e6(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function e9(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function e7(e){if(!ej(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function e8(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function te(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new eX(e)}function tt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var tn=tt(),tr={exec:()=>null};function ti(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(ts.caret,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var ta=(()=>{try{return!!RegExp("(?<=1)(?/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}>`)},to=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,tl=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,tc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,tu=ti(tc).replace(/bull/g,tl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),td=ti(tc).replace(/bull/g,tl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),th=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,tp=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,tm=ti(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",tp).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),tf=ti(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,tl).getRegex(),tg="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",tE=/|$))/,tT=ti("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",tE).replace("tag",tg).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),tk=ti(th).replace("hr",to).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",tg).getRegex(),tb={blockquote:ti(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",tk).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:tm,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:to,html:tT,lheading:tu,list:tf,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:tk,table:tr,text:/^[^\n]+/},tA=ti("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",to).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",tg).getRegex(),t_={...tb,lheading:td,table:tA,paragraph:ti(th).replace("hr",to).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",tA).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",tg).getRegex()},ty={...tb,html:ti(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",tE).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:tr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ti(th).replace("hr",to).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",tu).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},tS=/^( {2,}|\\)\n(?!\s*$)/,tC=/[\p{P}\p{S}]/u,tx=/[\s\p{P}\p{S}]/u,tN=/[^\s\p{P}\p{S}]/u,tI=ti(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,tx).getRegex(),tv=/(?!~)[\p{P}\p{S}]/u,tD=/(?![*_])[\p{P}\p{S}]/u,tw=ti(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?`+)[^`]+\k(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",ta?"(?`+)[^`]+\k(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),tL=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,tO=ti(tL,"u").replace(/punct/g,tC).getRegex(),tR=ti(tL,"u").replace(/punct/g,tv).getRegex(),tP="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",tM=ti(tP,"gu").replace(/notPunctSpace/g,tN).replace(/punctSpace/g,tx).replace(/punct/g,tC).getRegex(),tF=ti(tP,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,tv).getRegex(),tB=ti("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,tN).replace(/punctSpace/g,tx).replace(/punct/g,tC).getRegex(),tH=ti(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,tD).getRegex(),tU=ti("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|[*_])/u).replace(/punctSpace/g,/(?![*_])[\s\p{P}\p{S}]/u).replace(/punct/g,tD).getRegex(),tG=ti(/\\(punct)/,"gu").replace(/punct/g,tC).getRegex(),tj=ti(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),tz=ti(tE).replace("(?:-->|$)","-->").getRegex(),tY=ti("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",tz).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),tq=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,tV=ti(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",tq).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),t$=ti(/^!?\[(label)\]\[(ref)\]/).replace("label",tq).replace("ref",tp).getRegex(),tW=ti(/^!?\[(ref)\](?:\[\])?/).replace("ref",tp).getRegex(),tQ=ti("reflink|nolink(?!\\()","g").replace("reflink",t$).replace("nolink",tW).getRegex(),tK=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,tX={_backpedal:tr,anyPunctuation:tG,autolink:tj,blockSkip:tw,br:tS,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:tr,delLDelim:tr,delRDelim:tr,emStrongLDelim:tO,emStrongRDelimAst:tM,emStrongRDelimUnd:tB,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:tV,nolink:tW,punctuation:tI,reflink:t$,reflinkSearch:tQ,tag:tY,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},t3=e=>t5[e];function t4(e,t){if(t){if(ts.escapeTest.test(e))return e.replace(ts.escapeReplace,t3)}else if(ts.escapeTestNoEncode.test(e))return e.replace(ts.escapeReplaceNoEncode,t3);return e}function t6(e){try{e=encodeURI(e).replace(ts.percentDecode,"%")}catch{return null}return e}function t9(e,t){let n=e.replace(ts.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(ts.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:t7(e,` `)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let i=r[1];return t.split(` `).map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(` `)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=t7(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t7(t[0],` `)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t7(t[0],` `).split(` `),n="",r="",i=[];for(;e.length>0;){let t=!1,a=[],s;for(s=0;s1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let a=this.rules.other.listItemRegex(n),s=!1;for(;e;){let n=!1,r="",o="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t,r="";for(let t of e)if(" "===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}(t[2].split(` `,1)[0],t[1].length),c=e.split(` `,1)[0],u=!l.trim(),d=0;if(this.options.pedantic?(d=2,o=l.trimStart()):u?d=t[1].length+1:(d=(d=l.search(this.rules.other.nonSpaceChar))>4?1:d,o=l.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+` `,e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),s=this.rules.other.htmlBeginRegex(d),h=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(` `,1)[0],m;if(c=p,m=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),i.test(c)||a.test(c)||s.test(c)||h.test(c)||t.test(c)||n.test(c))break;if(m.search(this.rules.other.nonSpaceChar)>=d||!c.trim())o+=` `+m.slice(d);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||a.test(l)||n.test(l))break;o+=` `+c}u=!c.trim(),r+=p+` `,e=e.substring(p.length+1),l=m.slice(d)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(s=!0)),i.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(o),loose:!1,text:o,tokens:[]}),i.raw+=r}let o=i.items.at(-1);if(!o)return;for(let e of(o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),i.raw=i.raw.trimEnd(),i.items)){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),e.tokens[0]?.type==="text"||e.tokens[0]?.type==="paragraph"){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let n={type:"checkbox",raw:t[0]+" ",checked:"[ ]"!==t[0]};e.checked=n.checked,i.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=n.raw+e.tokens[0].raw,e.tokens[0].text=n.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(n)):e.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):e.tokens.unshift(n)}}if(!i.loose){let t=e.tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(i.loose)for(let e of i.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=t9(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` `):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===` `?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=t7(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let n=0;for(let t=0;t0?-2:-1}(t[2],0);if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),t8(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return t8(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(a=[...i].length,r[3]||r[4]){s+=a;continue}if((r[5]||r[6])&&n%3&&!((n+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=this.rules.inline.delRDelim;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=o.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])||(a=[...i].length)!==n)continue;if(r[3]||r[4]){s+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s);let t=[...r[0]][0].length,o=e.slice(0,n+r.index+t+a),l=o.slice(n,-n);return{type:"del",raw:o,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])n="mailto:"+(e=t[0]);else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0])e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},nt=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||tn,this.options.tokenizer=this.options.tokenizer||new ne,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:ts,block:t1.normal,inline:t2.normal};this.options.pedantic?(t.block=t1.pedantic,t.inline=t2.pedantic):this.options.gfm&&(t.block=t1.gfm,this.options.breaks?t.inline=t2.breaks:t.inline=t2.gfm),this.tokenizer.rules=t}static get rules(){return{block:t1,inline:t2}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(ts.carriageReturn,` `),this.blockTokens(e,this.tokens);for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(this.options.pedantic&&(e=e.replace(ts.tabCharGlobal," ").replace(ts.spaceLine,""));e;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);1===r.raw.length&&void 0!==n?n.raw+=` `:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(` `)?"":` `)+r.raw,n.text+=` `+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(` `)?"":` `)+r.raw,n.text+=` `+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(` `)?"":` `)+r.raw,a.text+=` `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="text"?(n.raw+=(n.raw.endsWith(` `)?"":` `)+r.raw,n.text+=` `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(r));)t=i[2]?i[2].length:0,r=r.slice(0,i.index+t)+"["+"a".repeat(i[0].length-t-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let a=!1,s="";for(;e;){let t;if(a||(s=""),a=!1,this.options.extensions?.inline?.some(r=>!!(t=r.call({lexer:this},e,n))&&(e=e.substring(t.raw.length),n.push(t),!0)))continue;if((t=this.tokenizer.escape(e))||(t=this.tokenizer.tag(e))||(t=this.tokenizer.link(e))){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length);let r=n.at(-1);"text"===t.type&&r?.type==="text"?(r.raw+=t.raw,r.text+=t.text):n.push(t);continue}if((t=this.tokenizer.emStrong(e,r,s))||(t=this.tokenizer.codespan(e))||(t=this.tokenizer.br(e))||(t=this.tokenizer.del(e,r,s))||(t=this.tokenizer.autolink(e))||!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),n.push(t);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(i)){e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(s=t.raw.slice(-1)),a=!0;let r=n.at(-1);r?.type==="text"?(r.raw+=t.raw,r.text+=t.text):n.push(t);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return n}},nn=class{options;parser;constructor(e){this.options=e||tn}space(e){return""}code(e){let{text:t,lang:n,escaped:r}=e,i=(n||"").match(ts.notSpaceStart)?.[0],a=t.replace(ts.endingNewline,"")+` `;return i?'
'+(r?a:t4(a,!0))+`
`:"
"+(r?a:t4(a,!0))+`
`}blockquote(e){let{tokens:t}=e;return`
${this.parser.parse(t)}
`}html(e){let{text:t}=e;return t}def(e){return""}heading(e){let{tokens:t,depth:n}=e;return`${this.parser.parseInline(t)} `}hr(e){return`
`}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t `+r+" `}listitem(e){return`
  • ${this.parser.parse(e.tokens)}
  • `}checkbox(e){let{checked:t}=e;return" '}paragraph(e){let{tokens:t}=e;return`

    ${this.parser.parseInline(t)}

    `}table(e){let t="",n="";for(let t=0;t${r}`),` `+t+` `+r+`
    `}tablerow(e){let{text:t}=e;return` ${t} `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+` `}strong(e){let{tokens:t}=e;return`${this.parser.parseInline(t)}`}em(e){let{tokens:t}=e;return`${this.parser.parseInline(t)}`}codespan(e){let{text:t}=e;return`${t4(t,!0)}`}br(e){return"
    "}del(e){let{tokens:t}=e;return`${this.parser.parseInline(t)}`}link(e){let{href:t,title:n,tokens:r}=e,i=this.parser.parseInline(r),a=t6(t);if(null===a)return i;let s='
    "}image(e){let{href:t,title:n,text:r,tokens:i}=e;i&&(r=this.parser.parseInline(i,this.parser.textRenderer));let a=t6(t);if(null===a)return t4(r);t=a;let s=`${t4(r)}1&&void 0!==arguments[1]?arguments[1]:this.renderer,n="";for(let r=0;r{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){for(var e=arguments.length,t=Array(e),n=0;n{let t={...e};if(t.async=this.defaults.async||t.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let t=r.renderers[e.name];t?r.renderers[e.name]=function(){for(var n=arguments.length,r=Array(n),i=0;i{if(this.defaults.async&&na.passThroughHooksRespectAsync.has(t))return(async()=>{let t=await i.call(r,e);return a.call(r,t)})();let n=i.call(r,e);return a.call(r,n)}:r[t]=function(){for(var e=arguments.length,t=Array(e),s=0;s{let e=await i.apply(r,t);return!1===e&&(e=await a.apply(r,t)),e})();let o=i.apply(r,t);return!1===o&&(o=a.apply(r,t)),o}}t.hooks=r}if(e.walkTokens){let n=this.defaults.walkTokens,r=e.walkTokens;t.walkTokens=function(e){let t=[];return t.push(r.call(this,e)),n&&(t=t.concat(n.call(this,e))),t}}this.defaults={...this.defaults,...t}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return nt.lex(e,t??this.defaults)}parser(e,t){return ni.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===r.async)return a(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await (i.hooks?await i.hooks.provideLexer():e?nt.lex:nt.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let s=await (i.hooks?await i.hooks.provideParser():e?ni.parse:ni.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(s):s})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer():e?nt.lex:nt.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser():e?ni.parse:ni.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=` Please report this to https://github.com/markedjs/marked.`,e){let e="

    An error occurred:

    "+t4(n.message+"",!0)+"
    ";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function no(e,t){return ns.parse(e,t)}no.options=no.setOptions=function(e){return ns.setOptions(e),no.defaults=ns.defaults,tn=no.defaults,no},no.getDefaults=tt,no.defaults=tn,no.use=function(){for(var e=arguments.length,t=Array(e),n=0;ne=>{let t={count:0};(0,l.visitParents)(e,"text",(e,n)=>((e,t,n,r,i)=>{let a=t.at(-1);if(!(a&&"children"in a))return;if(t.some(e=>"object"==typeof e&&null!==e&&"type"in e&&"element"===e.type&&nu.has(e.tagName)))return l.SKIP;let s=a.children.indexOf(e);if(-1===s)return;let o=e.value;if(!o.trim()){i.count+=o.length;return}let c="char"===n.sep?(e=>{let t=[],n="";for(let r of e)nl.test(r)?n+=r:(n&&(t.push(n),n=""),t.push(r));return n&&t.push(n),t})(o):(e=>{let t=[],n="",r=!1;for(let i of e){let e=nl.test(i);e!==r&&n&&(t.push(n),n=""),n+=i,r=e}return n&&t.push(n),t})(o),u=r.prevContentLength,d=c.map(e=>{let t,r,a,s=i.count;return(i.count+=e.length,nc.test(e))?{type:"text",value:e}:(t=n.animation,r=n.duration,a=n.easing,{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:u>0&&s{let r="string"==typeof t?new Blob([t],{type:n}):t,i=URL.createObjectURL(r),a=document.createElement("a");a.href=i,a.download=e,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)},ng=(0,t.createContext)(nm),nE=()=>(0,t.useContext)(ng),nT=nm("block","before:content-[counter(line)]","before:inline-block","before:[counter-increment:line]","before:w-6","before:mr-4","before:text-[13px]","before:text-right","before:text-muted-foreground/50","before:font-mono","before:select-none"),nk=(0,t.memo)(e=>{let{children:n,result:r,language:i,className:a,startLine:s,...o}=e,l=nE(),c=(0,t.useMemo)(()=>l(nT),[l]),u=(0,t.useMemo)(()=>{let e={};return r.bg&&(e["--sdm-bg"]=r.bg),r.fg&&(e["--sdm-fg"]=r.fg),r.rootStyle&&Object.assign(e,(e=>{let t={};for(let n of e.split(";")){let e=n.indexOf(":");if(e>0){let r=n.slice(0,e).trim(),i=n.slice(e+1).trim();r&&i&&(t[r]=i)}}return t})(r.rootStyle)),e},[r.bg,r.fg,r.rootStyle]);return(0,d.jsx)("div",{className:l(a,"overflow-hidden rounded-md border border-border bg-background p-4 text-sm"),"data-language":i,"data-streamdown":"code-block-body",...o,children:(0,d.jsx)("pre",{className:l(a,"bg-[var(--sdm-bg,inherit]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]"),style:u,children:(0,d.jsx)("code",{className:l("[counter-increment:line_0] [counter-reset:line]"),style:s&&s>1?{counterReset:`line ${s-1}`}:void 0,children:r.tokens.map((e,t)=>(0,d.jsx)("span",{className:c,children:0===e.length||1===e.length&&""===e[0].content?` `:e.map((e,t)=>{let n={},r=!!e.bgColor;if(e.color&&(n["--sdm-c"]=e.color),e.bgColor&&(n["--sdm-tbg"]=e.bgColor),e.htmlStyle)for(let[t,i]of Object.entries(e.htmlStyle))"color"===t?n["--sdm-c"]=i:"background-color"===t?(n["--sdm-tbg"]=i,r=!0):n[t]=i;return(0,d.jsx)("span",{className:l("text-[var(--sdm-c,inherit)]","dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]",r&&"bg-[var(--sdm-tbg)]",r&&"dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]"),style:n,...e.htmlAttrs,children:e.content},t)})},t))})})})},(e,t)=>e.result===t.result&&e.language===t.language&&e.className===t.className&&e.startLine===t.startLine),nb=e=>{let{className:t,language:n,style:r,isIncomplete:i,...a}=e,s=nE();return(0,d.jsx)("div",{className:s("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",t),"data-incomplete":i||void 0,"data-language":n,"data-streamdown":"code-block",style:{contentVisibility:"auto",containIntrinsicSize:"auto 200px",...r},...a})},nA=(0,t.createContext)({code:""}),n_=()=>(0,t.useContext)(nA),ny=e=>{let{language:t}=e,n=nE();return(0,d.jsx)("div",{className:n("flex h-8 items-center text-muted-foreground text-xs"),"data-language":t,"data-streamdown":"code-block-header",children:(0,d.jsx)("span",{className:n("ml-1 font-mono lowercase"),children:t})})},nS=/\n+$/,nC=(0,t.lazy)(()=>e.A(140642).then(e=>({default:e.HighlightedCodeBlockBody}))),nx=e=>{let{code:n,language:r,className:i,children:a,isIncomplete:s=!1,startLine:o,...l}=e,c=nE(),u=(0,t.useMemo)(()=>n.replace(nS,""),[n]),h=(0,t.useMemo)(()=>({bg:"transparent",fg:"inherit",tokens:u.split(` `).map(e=>[{content:e,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[u]);return(0,d.jsx)(nA.Provider,{value:{code:n},children:(0,d.jsxs)(nb,{isIncomplete:s,language:r,children:[(0,d.jsx)(ny,{language:r}),a?(0,d.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,d.jsx)("div",{className:c("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"code-block-actions",children:a})}):null,(0,d.jsx)(t.Suspense,{fallback:(0,d.jsx)(nk,{className:i,language:r,result:h,startLine:o,...l}),children:(0,d.jsx)(nC,{className:i,code:u,language:r,raw:h,startLine:o,...l})})]})})},nN={CheckIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z",fill:"currentColor",fillRule:"evenodd"})}),CopyIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z",fill:"currentColor",fillRule:"evenodd"})}),DownloadIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.68342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z",fill:"currentColor",fillRule:"evenodd"})}),ExternalLinkIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z",fill:"currentColor",fillRule:"evenodd"})}),Loader2Icon:e=>(0,d.jsxs)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:[(0,d.jsx)("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),Maximize2Icon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z",fill:"currentColor",fillRule:"evenodd"})}),RotateCcwIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z",fill:"currentColor",fillRule:"evenodd"})}),XIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomInIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomOutIcon:e=>(0,d.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,d.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})})},nI=(0,t.createContext)(nN),nv=e=>{let{icons:n,children:r}=e,i=(0,t.useRef)(n),a=(0,t.useRef)(n?{...nN,...n}:nN);((e,t)=>{if(e===t)return!0;if(!(e&&t))return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>e[n]===t[n])})(i.current,n)||(i.current=n,a.current=n?{...nN,...n}:nN);let s=a.current;return(0,d.jsx)(nI.Provider,{value:s,children:r})},nD=()=>(0,t.useContext)(nI),nw={copyCode:"Copy Code",downloadFile:"Download file",downloadDiagram:"Download diagram",downloadDiagramAsSvg:"Download diagram as SVG",downloadDiagramAsPng:"Download diagram as PNG",downloadDiagramAsMmd:"Download diagram as MMD",viewFullscreen:"View fullscreen",exitFullscreen:"Exit fullscreen",mermaidFormatSvg:"SVG",mermaidFormatPng:"PNG",mermaidFormatMmd:"MMD",copyTable:"Copy table",copyTableAsMarkdown:"Copy table as Markdown",copyTableAsCsv:"Copy table as CSV",copyTableAsTsv:"Copy table as TSV",downloadTable:"Download table",downloadTableAsCsv:"Download table as CSV",downloadTableAsMarkdown:"Download table as Markdown",tableFormatMarkdown:"Markdown",tableFormatCsv:"CSV",tableFormatTsv:"TSV",imageNotAvailable:"Image not available",downloadImage:"Download image",openExternalLink:"Open external link?",externalLinkWarning:"You're about to visit an external website.",close:"Close",copyLink:"Copy link",copied:"Copied",openLink:"Open link"},nL=(0,t.createContext)(nw),nO=()=>(0,t.useContext)(nL),nR=e=>{let{onCopy:n,onError:r,timeout:i=2e3,children:a,className:s,code:o,...l}=e,c=nE(),[u,h]=(0,t.useState)(!1),p=(0,t.useRef)(0),{code:m}=n_(),{isAnimating:f}=(0,t.useContext)(il),g=nO(),E=null!=o?o:m,T=async()=>{var e;if("u"h(!1),i))}catch(e){null==r||r(e)}};(0,t.useEffect)(()=>()=>{window.clearTimeout(p.current)},[]);let k=nD(),b=u?k.CheckIcon:k.CopyIcon;return(0,d.jsx)("button",{className:c("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",s),"data-streamdown":"code-block-copy-button",disabled:f,onClick:T,title:g.copyCode,type:"button",...l,children:null!=a?a:(0,d.jsx)(b,{size:14})})},nP={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},nM=e=>{let{onDownload:n,onError:r,language:i,children:a,className:s,code:o,...l}=e,c=nE(),{code:u}=n_(),{isAnimating:h}=(0,t.useContext)(il),p=nO(),m=nD(),f=null!=o?o:u,g=`file.${i&&i in nP?nP[i]:"txt"}`;return(0,d.jsx)("button",{className:c("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",s),"data-streamdown":"code-block-download-button",disabled:h,onClick:()=>{try{nf(g,f,"text/plain"),null==n||n()}catch(e){null==r||r(e)}},title:p.downloadFile,type:"button",...l,children:null!=a?a:(0,d.jsx)(m.DownloadIcon,{size:14})})},nF=()=>{let{Loader2Icon:e}=nD(),t=nE();return(0,d.jsxs)("div",{className:t("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[(0,d.jsx)("div",{className:t("h-[46px] w-full bg-muted/80")}),(0,d.jsx)("div",{className:t("flex w-full items-center justify-center p-4"),children:(0,d.jsx)(e,{className:t("size-4 animate-spin")})})]})},nB=/\.[^/.]+$/,nH=0,nU=()=>{1===(nH+=1)&&(document.body.style.overflow="hidden")},nG=()=>{0===(nH=Math.max(0,nH-1))&&(document.body.style.overflow="")},nj=e=>{let{url:n,isOpen:r,onClose:i,onConfirm:a}=e,{CheckIcon:s,CopyIcon:o,ExternalLinkIcon:l,XIcon:c}=nD(),u=nE(),[h,p]=(0,t.useState)(!1),m=nO(),f=(0,t.useCallback)(async()=>{try{await navigator.clipboard.writeText(n),p(!0),setTimeout(()=>p(!1),2e3)}catch(e){}},[n]),g=(0,t.useCallback)(()=>{a(),i()},[a,i]);return(0,t.useEffect)(()=>{if(r){nU();let e=e=>{"Escape"===e.key&&i()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),nG()}}},[r,i]),r?(0,d.jsx)("div",{className:u("fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm"),"data-streamdown":"link-safety-modal",onClick:i,onKeyDown:e=>{"Escape"===e.key&&i()},role:"button",tabIndex:0,children:(0,d.jsxs)("div",{className:u("relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,d.jsx)("button",{className:u("absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:i,title:m.close,type:"button",children:(0,d.jsx)(c,{size:16})}),(0,d.jsxs)("div",{className:u("flex flex-col gap-2"),children:[(0,d.jsxs)("div",{className:u("flex items-center gap-2 font-semibold text-lg"),children:[(0,d.jsx)(l,{size:20}),(0,d.jsx)("span",{children:m.openExternalLink})]}),(0,d.jsx)("p",{className:u("text-muted-foreground text-sm"),children:m.externalLinkWarning})]}),(0,d.jsx)("div",{className:u("break-all rounded-md bg-muted p-3 font-mono text-sm",n.length>100&&"max-h-32 overflow-y-auto"),children:n}),(0,d.jsxs)("div",{className:u("flex gap-2"),children:[(0,d.jsx)("button",{className:u("flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted"),onClick:f,type:"button",children:h?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s,{size:14}),(0,d.jsx)("span",{children:m.copied})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(o,{size:14}),(0,d.jsx)("span",{children:m.copyLink})]})}),(0,d.jsxs)("button",{className:u("flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90"),onClick:g,type:"button",children:[(0,d.jsx)(l,{size:14}),(0,d.jsx)("span",{children:m.openLink})]})]})]})}):null},nz=(0,t.createContext)(null),nY=()=>(0,t.useContext)(nz),nq=()=>{var e;let t=nY();return null!=(e=null==t?void 0:t.code)?e:null},nV=()=>{var e;let t=nY();return null!=(e=null==t?void 0:t.mermaid)?e:null},n$=e=>{let{chart:n,children:r,className:i,onDownload:a,config:s,onError:o}=e,l=nE(),[c,u]=(0,t.useState)(!1),h=(0,t.useRef)(null),{isAnimating:p}=(0,t.useContext)(il),m=nD(),f=nV(),g=nO(),E=async e=>{try{if("mmd"===e){nf("diagram.mmd",n,"text/plain"),u(!1),null==a||a(e);return}if(!f){null==o||o(Error("Mermaid plugin not available"));return}let r=f.getMermaid(s),i=n.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),l=`mermaid-${Math.abs(i)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:c}=await r.render(l,n);if(!c){null==o||o(Error("SVG not found. Please wait for the diagram to render."));return}if("svg"===e){nf("diagram.svg",c,"image/svg+xml"),u(!1),null==a||a(e);return}if("png"===e){var t;let n=await (t=c,new Promise((e,n)=>{let r="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(t))),i=new Image;i.crossOrigin="anonymous",i.onload=()=>{let t=document.createElement("canvas"),r=5*i.width,a=5*i.height;t.width=r,t.height=a;let s=t.getContext("2d");s?(s.drawImage(i,0,0,r,a),t.toBlob(t=>{t?e(t):n(Error("Failed to create PNG blob"))},"image/png")):n(Error("Failed to create 2D canvas context for PNG export"))},i.onerror=()=>n(Error("Failed to load SVG image")),i.src=r}));nf("diagram.png",n,"image/png"),null==a||a(e),u(!1);return}}catch(e){null==o||o(e)}};return(0,t.useEffect)(()=>{let e=e=>{let t=e.composedPath();h.current&&!t.includes(h.current)&&u(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,d.jsxs)("div",{className:l("relative"),ref:h,children:[(0,d.jsx)("button",{className:l("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),disabled:p,onClick:()=>u(!c),title:g.downloadDiagram,type:"button",children:null!=r?r:(0,d.jsx)(m.DownloadIcon,{size:14})}),c?(0,d.jsxs)("div",{className:l("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,d.jsx)("button",{className:l("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("svg"),title:g.downloadDiagramAsSvg,type:"button",children:g.mermaidFormatSvg}),(0,d.jsx)("button",{className:l("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("png"),title:g.downloadDiagramAsPng,type:"button",children:g.mermaidFormatPng}),(0,d.jsx)("button",{className:l("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("mmd"),title:g.downloadDiagramAsMmd,type:"button",children:g.mermaidFormatMmd})]}):null]})},nW=e=>{let{chart:n,config:r,onFullscreen:i,onExit:a,className:s,...o}=e,{Maximize2Icon:l,XIcon:c}=nD(),u=nE(),[p,m]=(0,t.useState)(!1),{isAnimating:f,controls:g}=(0,t.useContext)(il),E=nO(),T=(()=>{if("boolean"==typeof g)return g;let e=g.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.panZoom)})(),k=()=>{m(!p)};return(0,t.useEffect)(()=>{if(p){nU();let e=e=>{"Escape"===e.key&&m(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),nG()}}},[p]),(0,t.useEffect)(()=>{p?null==i||i():a&&a()},[p,i,a]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{className:u("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",s),disabled:f,onClick:k,title:E.viewFullscreen,type:"button",...o,children:(0,d.jsx)(l,{size:14})}),p?(0,h.createPortal)((0,d.jsxs)("div",{className:u("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),onClick:k,onKeyDown:e=>{"Escape"===e.key&&k()},role:"button",tabIndex:0,children:[(0,d.jsx)("button",{className:u("absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:k,title:E.exitFullscreen,type:"button",children:(0,d.jsx)(c,{size:20})}),(0,d.jsx)("div",{className:u("flex size-full items-center justify-center p-4"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:(0,d.jsx)(ip,{chart:n,className:u("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:r,fullscreen:!0,showControls:T})})]}),document.body):null]})},nQ=e=>{var t,n;let r=[],i=[];for(let n of e.querySelectorAll("thead th"))r.push((null==(t=n.textContent)?void 0:t.trim())||"");for(let t of e.querySelectorAll("tbody tr")){let e=[];for(let r of t.querySelectorAll("td"))e.push((null==(n=r.textContent)?void 0:n.trim())||"");i.push(e)}return{headers:r,rows:i}},nK=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1,n=!1;for(let r of e){if('"'===r){t=!0,n=!0;break}(","===r||r===` `)&&(t=!0)}return t?n?`"${e.replace(/"/g,'""')}"`:`"${e}"`:e},i=Array(t.length>0?n.length+1:n.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(r).join(","),a+=1),n))i[a]=e.map(r).join(","),a+=1;return i.join(` `)},nX=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1;for(let n of e)if(" "===n||n===` `||"\r"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)" "===t?n.push("\\t"):t===` `?n.push("\\n"):"\r"===t?n.push("\\r"):n.push(t);return n.join("")},i=Array(t.length>0?n.length+1:n.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(r).join(" "),a+=1),n))i[a]=e.map(r).join(" "),a+=1;return i.join(` `)},nZ=e=>{let t=!1;for(let n of e)if("\\"===n||"|"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)"\\"===t?n.push("\\\\"):"|"===t?n.push("\\|"):n.push(t);return n.join("")},nJ=e=>{let{headers:t,rows:n}=e;if(0===t.length)return"";let r=Array(n.length+2),i=0,a=t.map(e=>nZ(e));r[i]=`| ${a.join(" | ")} |`,i+=1;let s=Array(t.length);for(let e=0;enZ(e));r[i]=`| ${t.join(" | ")} |`,i+=1}return r.join(` `)},n0=e=>{let{children:n,className:r,onCopy:i,onError:a,timeout:s=2e3}=e,o=nE(),[l,c]=(0,t.useState)(!1),[u,h]=(0,t.useState)(!1),p=(0,t.useRef)(null),m=(0,t.useRef)(0),{isAnimating:f}=(0,t.useContext)(il),g=nO(),E=async e=>{var t,n;if("u"h(!1),s)}catch(e){null==a||a(e)}};(0,t.useEffect)(()=>{let e=e=>{let t=e.composedPath();p.current&&!t.includes(p.current)&&c(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),window.clearTimeout(m.current)}},[]);let T=nD(),k=u?T.CheckIcon:T.CopyIcon;return(0,d.jsxs)("div",{className:o("relative"),ref:p,children:[(0,d.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:f,onClick:()=>c(!l),title:g.copyTable,type:"button",children:null!=n?n:(0,d.jsx)(k,{height:14,width:14})}),l?(0,d.jsxs)("div",{className:o("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,d.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("md"),title:g.copyTableAsMarkdown,type:"button",children:g.tableFormatMarkdown}),(0,d.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("csv"),title:g.copyTableAsCsv,type:"button",children:g.tableFormatCsv}),(0,d.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("tsv"),title:g.copyTableAsTsv,type:"button",children:g.tableFormatTsv})]}):null]})},n1=e=>{let{children:n,className:r,onDownload:i,onError:a}=e,s=nE(),[o,l]=(0,t.useState)(!1),c=(0,t.useRef)(null),{isAnimating:u}=(0,t.useContext)(il),h=nO(),p=nD(),m=e=>{var t;try{let n=null==(t=c.current)?void 0:t.closest('[data-streamdown="table-wrapper"]'),r=null==n?void 0:n.querySelector("table");if(!r){null==a||a(Error("Table not found"));return}let s=nQ(r),o="csv"===e?nK(s):nJ(s);nf(`table.${"csv"===e?"csv":"md"}`,o,"csv"===e?"text/csv":"text/markdown"),l(!1),null==i||i(e)}catch(e){null==a||a(e)}};return(0,t.useEffect)(()=>{let e=e=>{let t=e.composedPath();c.current&&!t.includes(c.current)&&l(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,d.jsxs)("div",{className:s("relative"),ref:c,children:[(0,d.jsx)("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:u,onClick:()=>l(!o),title:h.downloadTable,type:"button",children:null!=n?n:(0,d.jsx)(p.DownloadIcon,{size:14})}),o?(0,d.jsxs)("div",{className:s("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,d.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("csv"),title:h.downloadTableAsCsv,type:"button",children:h.tableFormatCsv}),(0,d.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("markdown"),title:h.downloadTableAsMarkdown,type:"button",children:h.tableFormatMarkdown})]}):null]})},n2=e=>{let{children:n,className:r,showCopy:i=!0,showDownload:a=!0}=e,{Maximize2Icon:s,XIcon:o}=nD(),l=nE(),[c,u]=(0,t.useState)(!1),{isAnimating:p}=(0,t.useContext)(il),m=nO(),f=()=>{u(!1)};return(0,t.useEffect)(()=>{if(c){nU();let e=e=>{"Escape"===e.key&&u(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),nG()}}},[c]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{className:l("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:p,onClick:()=>{u(!0)},title:m.viewFullscreen,type:"button",children:(0,d.jsx)(s,{size:14})}),c?(0,h.createPortal)((0,d.jsx)("div",{"aria-label":m.viewFullscreen,"aria-modal":"true",className:l("fixed inset-0 z-50 flex flex-col bg-background"),"data-streamdown":"table-fullscreen",onClick:f,onKeyDown:e=>{"Escape"===e.key&&f()},role:"dialog",children:(0,d.jsxs)("div",{className:l("flex h-full flex-col"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,d.jsxs)("div",{className:l("flex items-center justify-end gap-1 p-4"),children:[i?(0,d.jsx)(n0,{}):null,a?(0,d.jsx)(n1,{}):null,(0,d.jsx)("button",{className:l("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:f,title:m.exitFullscreen,type:"button",children:(0,d.jsx)(o,{size:20})})]}),(0,d.jsx)("div",{className:l("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:(0,d.jsx)("table",{className:l("w-full border-collapse border border-border"),"data-streamdown":"table",children:n})})]})}),document.body):null]})},n5=e=>{let{children:t,className:n,showControls:r,showCopy:i=!0,showDownload:a=!0,showFullscreen:s=!0,...o}=e,l=nE(),c=r&&i,u=r&&a,h=r&&s,p=c||u||h;return(0,d.jsxs)("div",{className:l("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[p?(0,d.jsxs)("div",{className:l("flex items-center justify-end gap-1"),children:[c?(0,d.jsx)(n0,{}):null,u?(0,d.jsx)(n1,{}):null,h?(0,d.jsx)(n2,{showCopy:c,showDownload:u,children:t}):null]}):null,(0,d.jsx)("div",{className:l("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),children:(0,d.jsx)("table",{className:l("w-full divide-y divide-border",n),"data-streamdown":"table",...o,children:t})})]})},n3=/startLine=(\d+)/,n4=(0,t.lazy)(()=>e.A(612844).then(e=>({default:e.Mermaid}))),n6=/language-([^\s]+)/;function n9(e,t){if(!(null!=e&&e.position||null!=t&&t.position))return!0;if(!(null!=e&&e.position&&null!=t&&t.position))return!1;let n=e.position.start,r=t.position.start,i=e.position.end,a=t.position.end;return(null==n?void 0:n.line)===(null==r?void 0:r.line)&&(null==n?void 0:n.column)===(null==r?void 0:r.column)&&(null==i?void 0:i.line)===(null==a?void 0:a.line)&&(null==i?void 0:i.column)===(null==a?void 0:a.column)}function n7(e,t){return e.className===t.className&&n9(e.node,t.node)}var n8=(e,t)=>"boolean"==typeof e?e:!1!==e[t],re=(e,t)=>{if("boolean"==typeof e)return e;let n=e.table;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},rt=(e,t)=>{if("boolean"==typeof e)return e;let n=e.code;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},rn=(e,t)=>{if("boolean"==typeof e)return e;let n=e.mermaid;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},rr=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("ol",{className:a("list-inside list-decimal whitespace-normal [li_&]:pl-6",n),"data-streamdown":"ordered-list",...i,children:t})},(e,t)=>n7(e,t));rr.displayName="MarkdownOl";var ri=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("li",{className:a("py-1 [&>p]:inline",n),"data-streamdown":"list-item",...i,children:t})},(e,t)=>e.className===t.className&&n9(e.node,t.node));ri.displayName="MarkdownLi";var ra=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("ul",{className:a("list-inside list-disc whitespace-normal [li_&]:pl-6",n),"data-streamdown":"unordered-list",...i,children:t})},(e,t)=>n7(e,t));ra.displayName="MarkdownUl";var rs=(0,t.memo)(e=>{let{className:t,node:n,...r}=e,i=nE();return(0,d.jsx)("hr",{className:i("my-6 border-border",t),"data-streamdown":"horizontal-rule",...r})},(e,t)=>n7(e,t));rs.displayName="MarkdownHr";var ro=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("span",{className:a("font-semibold",n),"data-streamdown":"strong",...i,children:t})},(e,t)=>n7(e,t));ro.displayName="MarkdownStrong";var rl=(0,t.memo)(e=>{let{children:n,className:r,href:i,node:a,...s}=e,o=nE(),{linkSafety:l}=(0,t.useContext)(il),[c,u]=(0,t.useState)(!1),h="streamdown:incomplete-link"===i,p=(0,t.useCallback)(async e=>{if(!(!(null!=l&&l.enabled&&i)||h)){if(e.preventDefault(),l.onLinkCheck&&await l.onLinkCheck(i))return void window.open(i,"_blank","noreferrer");u(!0)}},[l,i,h]),m=(0,t.useCallback)(()=>{i&&window.open(i,"_blank","noreferrer")},[i]),f={url:null!=i?i:"",isOpen:c,onClose:(0,t.useCallback)(()=>{u(!1)},[]),onConfirm:m};return null!=l&&l.enabled&&i?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{className:o("wrap-anywhere appearance-none text-left font-medium text-primary underline",r),"data-incomplete":h,"data-streamdown":"link",onClick:p,type:"button",children:n}),l.renderModal?l.renderModal(f):(0,d.jsx)(nj,{...f})]}):(0,d.jsx)("a",{className:o("wrap-anywhere font-medium text-primary underline",r),"data-incomplete":h,"data-streamdown":"link",href:i,rel:"noreferrer",target:"_blank",...s,children:n})},(e,t)=>n7(e,t)&&e.href===t.href);rl.displayName="MarkdownA";var rc=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("h1",{className:a("mt-6 mb-2 font-semibold text-3xl",n),"data-streamdown":"heading-1",...i,children:t})},(e,t)=>n7(e,t));rc.displayName="MarkdownH1";var ru=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("h2",{className:a("mt-6 mb-2 font-semibold text-2xl",n),"data-streamdown":"heading-2",...i,children:t})},(e,t)=>n7(e,t));ru.displayName="MarkdownH2";var rd=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("h3",{className:a("mt-6 mb-2 font-semibold text-xl",n),"data-streamdown":"heading-3",...i,children:t})},(e,t)=>n7(e,t));rd.displayName="MarkdownH3";var rh=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("h4",{className:a("mt-6 mb-2 font-semibold text-lg",n),"data-streamdown":"heading-4",...i,children:t})},(e,t)=>n7(e,t));rh.displayName="MarkdownH4";var rp=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("h5",{className:a("mt-6 mb-2 font-semibold text-base",n),"data-streamdown":"heading-5",...i,children:t})},(e,t)=>n7(e,t));rp.displayName="MarkdownH5";var rm=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("h6",{className:a("mt-6 mb-2 font-semibold text-sm",n),"data-streamdown":"heading-6",...i,children:t})},(e,t)=>n7(e,t));rm.displayName="MarkdownH6";var rf=(0,t.memo)(e=>{let{children:n,className:r,node:i,...a}=e,{controls:s}=(0,t.useContext)(il),o=n8(s,"table"),l=re(s,"copy"),c=re(s,"download"),u=re(s,"fullscreen");return(0,d.jsx)(n5,{className:r,showControls:o,showCopy:l,showDownload:c,showFullscreen:u,...a,children:n})},(e,t)=>n7(e,t));rf.displayName="MarkdownTable";var rg=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("thead",{className:a("bg-muted/80",n),"data-streamdown":"table-header",...i,children:t})},(e,t)=>n7(e,t));rg.displayName="MarkdownThead";var rE=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("tbody",{className:a("divide-y divide-border",n),"data-streamdown":"table-body",...i,children:t})},(e,t)=>n7(e,t));rE.displayName="MarkdownTbody";var rT=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("tr",{className:a("border-border",n),"data-streamdown":"table-row",...i,children:t})},(e,t)=>n7(e,t));rT.displayName="MarkdownTr";var rk=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("th",{className:a("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",n),"data-streamdown":"table-header-cell",...i,children:t})},(e,t)=>n7(e,t));rk.displayName="MarkdownTh";var rb=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("td",{className:a("px-4 py-2 text-sm",n),"data-streamdown":"table-cell",...i,children:t})},(e,t)=>n7(e,t));rb.displayName="MarkdownTd";var rA=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("blockquote",{className:a("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",n),"data-streamdown":"blockquote",...i,children:t})},(e,t)=>n7(e,t));rA.displayName="MarkdownBlockquote";var r_=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("sup",{className:a("text-sm",n),"data-streamdown":"superscript",...i,children:t})},(e,t)=>n7(e,t));r_.displayName="MarkdownSup";var ry=(0,t.memo)(e=>{let{children:t,className:n,node:r,...i}=e,a=nE();return(0,d.jsx)("sub",{className:a("text-sm",n),"data-streamdown":"subscript",...i,children:t})},(e,t)=>n7(e,t));ry.displayName="MarkdownSub";var rS=(0,t.memo)(e=>{let{children:n,className:r,node:i,...a}=e;if("data-footnotes"in a){let e=Array.isArray(n)?n.map(e=>{if(!(0,t.isValidElement)(e))return e;if(e.type===rr){let n=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!(e=>{var n,r;if(!(0,t.isValidElement)(e))return!1;let i=Array.isArray(e.props.children)?e.props.children:[e.props.children],a=!1,s=!1;for(let e of i)if(e){if("string"==typeof e)""!==e.trim()&&(a=!0);else if((0,t.isValidElement)(e)){if((null==(n=e.props)?void 0:n["data-footnote-backref"])!==void 0)s=!0;else for(let n of Array.isArray(e.props.children)?e.props.children:[e.props.children])if("string"==typeof n&&""!==n.trim()||(0,t.isValidElement)(n)&&(null==(r=n.props)?void 0:r["data-footnote-backref"])===void 0){a=!0;break}}}return s&&!a})(e));return 0===n.length?null:{...e,props:{...e.props,children:n}}}return e}):n;return(Array.isArray(e)?e.some(e=>null!==e):null!==e)?(0,d.jsx)("section",{className:r,...a,children:e}):null}return(0,d.jsx)("section",{className:r,...a,children:n})},(e,t)=>n7(e,t));rS.displayName="MarkdownSection";var rC=(0,t.memo)(e=>{var n,r,i;let a,{node:s,className:o,children:l,...c}=e,u=nE(),h=!("data-block"in c),{mermaid:p,controls:m}=(0,t.useContext)(il),f=nV(),g=(0,t.useContext)(np),E=null==o?void 0:o.match(n6),T=null!=(n=null==E?void 0:E.at(1))?n:"",k=null!=(a=nY())&&a.renderers&&T&&null!=(i=a.renderers.find(e=>Array.isArray(e.language)?e.language.includes(T):e.language===T))?i:null;if(h)return(0,d.jsx)("code",{className:u("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",o),"data-streamdown":"inline-code",...c,children:l});let b=null==(r=null==s?void 0:s.properties)?void 0:r.metastring,A=null==b?void 0:b.match(n3),_=A?Number.parseInt(A[1],10):void 0,y="";if((0,t.isValidElement)(l)&&l.props&&"object"==typeof l.props&&"children"in l.props&&"string"==typeof l.props.children?y=l.props.children:"string"==typeof l&&(y=l),k){let e=k.component;return(0,d.jsx)(t.Suspense,{fallback:(0,d.jsx)(nF,{}),children:(0,d.jsx)(e,{code:y,isIncomplete:g,language:T})})}if("mermaid"===T&&f){let e=n8(m,"mermaid"),n=rn(m,"download"),r=rn(m,"copy"),i=rn(m,"fullscreen"),a=rn(m,"panZoom");return(0,d.jsx)(t.Suspense,{fallback:(0,d.jsx)(nF,{}),children:(0,d.jsxs)("div",{className:u("group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",o),"data-streamdown":"mermaid-block",children:[(0,d.jsx)("div",{className:u("flex h-8 items-center text-muted-foreground text-xs"),children:(0,d.jsx)("span",{className:u("ml-1 font-mono lowercase"),children:"mermaid"})}),e&&(n||r||i)?(0,d.jsx)("div",{className:u("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,d.jsxs)("div",{className:u("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"mermaid-block-actions",children:[n?(0,d.jsx)(n$,{chart:y,config:null==p?void 0:p.config}):null,r?(0,d.jsx)(nR,{code:y}):null,i?(0,d.jsx)(nW,{chart:y,config:null==p?void 0:p.config}):null]})}):null,(0,d.jsx)("div",{className:u("rounded-md border border-border bg-background"),children:(0,d.jsx)(n4,{chart:y,config:null==p?void 0:p.config,showControls:a})})]})})}let S=n8(m,"code"),C=rt(m,"download"),x=rt(m,"copy");return(0,d.jsx)(nx,{className:o,code:y,isIncomplete:g,language:T,startLine:void 0!==_&&_>=1?_:void 0,children:S?(0,d.jsxs)(d.Fragment,{children:[C?(0,d.jsx)(nM,{code:y,language:T}):null,x?(0,d.jsx)(nR,{}):null]}):null})},(e,t)=>e.className===t.className&&n9(e.node,t.node));rC.displayName="MarkdownCode";var rx=(0,t.memo)(e=>{let{node:n,className:r,src:i,alt:a,onLoad:s,onError:o,...l}=e,{DownloadIcon:c}=nD(),u=nE(),h=(0,t.useRef)(null),[p,m]=(0,t.useState)(!1),[f,g]=(0,t.useState)(!1),E=nO(),T=null!=l.width||null!=l.height,k=(p||T)&&!f,b=f&&!T;(0,t.useEffect)(()=>{let e=h.current;if(null!=e&&e.complete){let t=e.naturalWidth>0;m(t),g(!t)}},[]);let A=(0,t.useCallback)(e=>{m(!0),g(!1),null==s||s(e)},[s]),_=(0,t.useCallback)(e=>{m(!1),g(!0),null==o||o(e)},[o]),y=async()=>{if(i)try{let e=await (await fetch(i)).blob(),t=new URL(i,window.location.origin).pathname.split("/").pop()||"",n=t.split(".").pop(),r=t.includes(".")&&void 0!==n&&n.length<=4,s="";if(r)s=t;else{let n=e.type,r="png";n.includes("jpeg")||n.includes("jpg")?r="jpg":n.includes("png")?r="png":n.includes("svg")?r="svg":n.includes("gif")?r="gif":n.includes("webp")&&(r="webp"),s=`${(a||t||"image").replace(nB,"")}.${r}`}nf(s,e,e.type)}catch(e){window.open(i,"_blank")}};return i?(0,d.jsxs)("div",{className:u("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[(0,d.jsx)("img",{alt:a,className:u("max-w-full rounded-lg",b&&"hidden",r),"data-streamdown":"image",onError:_,onLoad:A,ref:h,src:i,...l}),b&&(0,d.jsx)("span",{className:u("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:E.imageNotAvailable}),(0,d.jsx)("div",{className:u("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block")}),k&&(0,d.jsx)("button",{className:u("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:y,title:E.downloadImage,type:"button",children:(0,d.jsx)(c,{size:14})})]}):null},(e,t)=>e.className===t.className&&n9(e.node,t.node));rx.displayName="MarkdownImg";var rN=(0,t.memo)(e=>{let{children:n,node:r,...i}=e,a=(Array.isArray(n)?n:[n]).filter(e=>null!=e&&""!==e);if(1===a.length&&(0,t.isValidElement)(a[0])){let e=a[0].props.node,t=null==e?void 0:e.tagName;if("img"===t||"code"===t&&"data-block"in a[0].props)return(0,d.jsx)(d.Fragment,{children:n})}return(0,d.jsx)("p",{...i,children:n})},(e,t)=>n7(e,t));rN.displayName="MarkdownParagraph";var rI={ol:rr,li:ri,ul:ra,hr:rs,strong:ro,a:rl,h1:rc,h2:ru,h3:rd,h4:rh,h5:rp,h6:rm,table:rf,thead:rg,tbody:rE,tr:rT,th:rk,td:rb,blockquote:rA,code:rC,img:rx,pre:e=>{let{children:n}=e;return(0,t.isValidElement)(n)?(0,t.cloneElement)(n,{"data-block":"true"}):n},sup:r_,sub:ry,p:rN,section:rS},rv=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,rD=/\p{L}/u;function rw(e){for(let t of e.replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,"")){if(rv.test(t))return"rtl";if(rD.test(t))break}return"ltr"}var rL,rO,rR,rP,rM=/^[ \t]{0,3}(`{3,}|~{3,})/,rF=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,rB=e=>{let t=e.split(` `),n=null,r=0;for(let e of t){let t=rM.exec(e);if(null===n){if(t){let e=t[1];n=e[0],r=e.length}}else if(t){let e=t[1],i=e[0],a=e.length;i===n&&a>=r&&(n=null,r=0)}}return null!==n},rH=()=>e=>{(0,eC.visit)(e,"html",(e,t,n)=>{n&&"number"==typeof t&&(n.children[t]={type:"text",value:e.value})})},rU=[],rG={allowDangerousHtml:!0},rj=new WeakMap,rz=new class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let n=e.rehypePlugins,r=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(n||r||i)){let t="default";return this.keyCache.set(e,t),t}let a=e=>{if(!e||0===e.length)return"";let t="";for(let n=0;n0&&(t+=","),Array.isArray(r)){let[e,n]=r;if("function"==typeof e){let n=rj.get(e);n||(n=e.name,rj.set(e,n)),t+=n}else t+=String(e);t+=":",t+=JSON.stringify(n)}else if("function"==typeof r){let e=rj.get(r);e||(e=r.name,rj.set(r,e)),t+=e}else t+=String(r)}return t},s=a(n),o=a(r),l=i?JSON.stringify(i):"",c=`${o}::${s}::${l}`;return this.keyCache.set(e,c),c}get(e){let t=this.generateCacheKey(e),n=this.cache.get(t);return n&&(this.cache.delete(t),this.cache.set(t,n)),n}set(e,t){let n=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(n,t)}clear(){this.cache.clear()}},rY=e=>{let t=rq(e),n=e.children||"";return rW(t.runSync(t.parse(n),n),e)},rq=e=>{let t=rz.get(e);if(t)return t;let n=rV(e);return rz.set(e,n),n},rV=e=>{let t=e.rehypePlugins||rU,n=e.remarkPlugins||rU,i=t.some(e=>Array.isArray(e)?e[0]===r.default:e===r.default)?n:[...n,rH],a=e.remarkRehypeOptions?{...rG,...e.remarkRehypeOptions}:rG;return e3().use(ek).use(i).use(eH,a).use(t)},r$=e=>e,rW=(e,t)=>{let{allowElement:n,allowedElements:r,disallowedElements:i,skipHtml:a,unwrapDisallowed:s,urlTransform:o}=t;if(n||r||i||a||o){let t=o||r$;(0,eC.visit)(e,(e,o,l)=>{var c;let u;return"raw"===e.type&&l&&"number"==typeof o?(c=e.value,a?l.children.splice(o,1):l.children[o]={type:"text",value:c},o):"element"===e.type&&(((e,t)=>{var n;for(let r in m.urlAttributes)if(Object.hasOwn(m.urlAttributes,r)&&Object.hasOwn(e.properties,r)){let i=e.properties[r],a=m.urlAttributes[r];(null===a||a.includes(e.tagName))&&(e.properties[r]=null!=(n=t(String(i||""),r,e))?n:void 0)}})(e,t),u=!1,r?u=!r.includes(e.tagName):i&&(u=i.includes(e.tagName)),!u&&n&&"number"==typeof o&&(u=!n(e,o,l)),u&&l&&"number"==typeof o)?(s&&e.children?l.children.splice(o,1,...e.children):l.children.splice(o,1),o):void 0})}return(0,p.toJsxRuntime)(e,{Fragment:d.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:d.jsx,jsxs:d.jsxs,passKeys:!0,passNode:!0})},rQ=/\[\^[\w-]{1,200}\](?!:)/,rK=/\[\^[\w-]{1,200}\]:/,rX=/<(\w+)[\s>]/,rZ=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),rJ=new Map,r0=new Map,r1=(e,t)=>{if(rZ.has(t.toLowerCase()))return 0;let n=e.match((e=>{let t=e.toLowerCase(),n=rJ.get(t);if(n)return n;let r=RegExp(`<${t}(?=[\\s>/])[^>]*>`,"gi");return rJ.set(t,r),r})(t));if(!n)return 0;let r=0;for(let e of n)e.trimEnd().endsWith("/>")||(r+=1);return r},r2=(e,t)=>{let n=e.match((e=>{let t=e.toLowerCase(),n=r0.get(t);if(n)return n;let r=RegExp(`])[^>]*>`,"gi");return r0.set(t,r),r})(t));return n?n.length:0},r5=e=>{let t=0;for(let n=0;n{let t=rQ.test(e),n=rK.test(e);if(t||n)return[e];let r=nt.lex(e,{gfm:!0}),i=[],a=[],s=!1;for(let e of r){let t=e.raw,n=i.length;if(a.length>0){i[n-1]+=t;let e=a.at(-1),r=r1(t,e),s=r2(t,e);for(let t=0;t0&&a.at(-1)===e&&a.pop();continue}if("html"===e.type&&e.block){let e=t.match(rX);if(e){let n=e[1];r1(t,n)>r2(t,n)&&a.push(n)}}if(n>0&&!s){let e=i[n-1];if(r5(e)%2==1){i[n-1]=e+t;continue}}i.push(t),"space"!==e.type&&(s="code"===e.type)}return i},r4=/([\\`*_~[\]|])/g,r6=e=>e.replace(r4,"\\$1"),r9=e=>"text"===e.type?e.value:"children"in e&&Array.isArray(e.children)?e.children.map(r9).join(""):"",r7=e=>t=>{if(!e||0===e.length)return;let n=new Set(e.map(e=>e.toLowerCase()));(0,eC.visit)(t,"element",e=>{if(n.has(e.tagName.toLowerCase())){let t=r9(e);e.children=t?[{type:"text",value:t}]:[]}})},r8=/^[ \t]*<[\w!/?-]/,ie=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,it={...a.defaultSchema,protocols:{...a.defaultSchema.protocols,href:[...null!=(rO=null==(rL=a.defaultSchema.protocols)?void 0:rL.href)?rO:[],"tel"]},attributes:{...a.defaultSchema.attributes,code:[...null!=(rP=null==(rR=a.defaultSchema.attributes)?void 0:rR.code)?rP:[],"metastring"]}},ir={raw:r.default,sanitize:[i.default,it],harden:[n.harden,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},ii={gfm:[s.default,{}],codeMeta:()=>e=>{(0,eC.visit)(e,"code",e=>{var t,n;e.meta&&(e.data=null!=(t=e.data)?t:{},e.data.hProperties={...null!=(n=e.data.hProperties)?n:{},metastring:e.meta})})}},ia=Object.values(ir),is=Object.values(ii),io={block:" ▋",circle:" ●"},il=(0,t.createContext)({shikiTheme:["github-light","github-dark"],controls:!0,isAnimating:!1,mode:"streaming",mermaid:void 0,linkSafety:{enabled:!0}}),ic=(0,t.memo)(e=>{let{content:t,shouldParseIncompleteMarkdown:n,shouldNormalizeHtmlIndentation:r,index:i,isIncomplete:a,dir:s,animatePlugin:o,...l}=e;if(o){let e=o.getLastRenderCharCount();o.setPrevContentLength(e)}let c="string"==typeof t&&r&&"string"==typeof t&&0!==t.length&&r8.test(t)?t.replace(ie,"$1"):t,u=(0,d.jsx)(rY,{...l,children:c});return(0,d.jsx)(np.Provider,{value:a,children:s?(0,d.jsx)("div",{dir:s,style:{display:"contents"},children:u}):u})},(e,t)=>{if(e.content!==t.content||e.shouldNormalizeHtmlIndentation!==t.shouldNormalizeHtmlIndentation||e.index!==t.index||e.isIncomplete!==t.isIncomplete||e.dir!==t.dir)return!1;if(e.components!==t.components){let n=Object.keys(e.components||{}),r=Object.keys(t.components||{});if(n.length!==r.length||n.some(n=>{var r,i;return(null==(r=e.components)?void 0:r[n])!==(null==(i=t.components)?void 0:i[n])}))return!1}return e.rehypePlugins===t.rehypePlugins&&e.remarkPlugins===t.remarkPlugins});ic.displayName="Block";var iu=["github-light","github-dark"],id=(0,t.memo)(e=>{let{children:n,mode:r="streaming",dir:a,parseIncompleteMarkdown:s=!0,normalizeHtmlIndentation:l=!1,components:h,rehypePlugins:p=ia,remarkPlugins:m=is,className:f,shikiTheme:g=iu,mermaid:E,controls:T=!0,isAnimating:k=!1,animated:b,BlockComponent:A=ic,parseMarkdownIntoBlocksFn:_=r3,caret:y,plugins:S,remend:C,linkSafety:x={enabled:!0},allowedTags:N,literalTagContent:I,translations:v,icons:D,prefix:w,onAnimationStart:L,onAnimationEnd:O,...R}=e,P=(0,t.useId)(),[M,F]=(0,t.useTransition)(),B=(0,t.useMemo)(()=>w?function(){for(var e=arguments.length,t=Array(e),n=0;ne.startsWith(i)?e:`${w}:${e}`).join(" ")}:nm,[w]),H=(0,t.useRef)(null),U=(0,t.useRef)(L),G=(0,t.useRef)(O);U.current=L,G.current=O,(0,t.useEffect)(()=>{var e,t,n;if("static"===r)return;let i=H.current;if(H.current=k,null===i){k&&(null==(e=U.current)||e.call(U));return}k&&!i?null==(t=U.current)||t.call(U):!k&&i&&(null==(n=G.current)||n.call(G))},[k,r]);let j=(0,t.useMemo)(()=>N?Object.keys(N):[],[N]),z=(0,t.useMemo)(()=>{if("string"!=typeof n)return"";let e="streaming"===r&&s?(0,o.default)(n,C):n;return I&&I.length>0&&(e=((e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)()`,"gi");n=n.replace(t,(e,t,n,r)=>t+r6(n)+r)}return n})(e,I)),j.length>0&&(e=((e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)()`,"gi");n=n.replace(t,(e,t,n,r)=>t+n.replace(/\n\n/g,` `)+r)}return n})(e,j)),e},[n,r,s,C,j,I]),Y=(0,t.useMemo)(()=>_(z),[z,_]),[q,V]=(0,t.useState)(Y);(0,t.useEffect)(()=>{"streaming"!==r||X?V(Y):F(()=>{V(Y)})},[Y,r]);let $="streaming"===r?q:Y,W=(0,t.useMemo)(()=>"auto"===a?$.map(rw):void 0,[$,a]),Q=(0,t.useMemo)(()=>$.map((e,t)=>`${P}-${t}`),[$.length,P]),K=(0,t.useMemo)(()=>!0===b?"true":b?JSON.stringify(b):"",[b]),X=(0,t.useMemo)(()=>K?"true"===K?nh():nh(b):null,[K]),Z=(0,t.useMemo)(()=>{var e,t;return{shikiTheme:null!=(t=null==(e=null==S?void 0:S.code)?void 0:e.getThemes())?t:g,controls:T,isAnimating:k,mode:r,mermaid:E,linkSafety:x}},[g,T,k,r,E,x,null==S?void 0:S.code]),J=(0,t.useMemo)(()=>v?JSON.stringify(v):"",[v]),ee=(0,t.useMemo)(()=>({...nw,...v}),[J]),et=(0,t.useMemo)(()=>{let{inlineCode:e,...n}=null!=h?h:{},r={...rI,...n};if(e){let n=r.code;r.code=r=>"data-block"in r?n?(0,t.createElement)(n,r):null:(0,t.createElement)(e,r)}return r},[h]),en=(0,t.useMemo)(()=>{let e=[];return null!=S&&S.cjk&&(e=[...e,...S.cjk.remarkPluginsBefore]),e=[...e,...m],null!=S&&S.cjk&&(e=[...e,...S.cjk.remarkPluginsAfter]),null!=S&&S.math&&(e=[...e,S.math.remarkPlugin]),e},[m,null==S?void 0:S.math,null==S?void 0:S.cjk]),er=(0,t.useMemo)(()=>{var e;let t=p;if(N&&Object.keys(N).length>0&&p===ia){let n={...it,tagNames:[...null!=(e=it.tagNames)?e:[],...Object.keys(N)],attributes:{...it.attributes,...N}};t=[ir.raw,[i.default,n],ir.harden]}return I&&I.length>0&&(t=[...t,[r7,I]]),null!=S&&S.math&&(t=[...t,S.math.rehypePlugin]),X&&k&&(t=[...t,X.rehypePlugin]),t},[p,null==S?void 0:S.math,X,k,N,I]),ei=(0,t.useMemo)(()=>{if(!k||0===$.length)return!1;let e=$.at(-1);return rB(e)||(e=>{for(let t of e.split(` `)){let e=t.trim();if(e.length>0&&e.includes("|")&&rF.test(e))return!0}return!1})(e)},[k,$]),ea=(0,t.useMemo)(()=>y&&k&&!ei?{"--streamdown-caret":`"${io[y]}"`}:void 0,[y,k,ei]);return"static"===r?(0,d.jsx)(nL.Provider,{value:ee,children:(0,d.jsx)(nz.Provider,{value:null!=S?S:null,children:(0,d.jsx)(il.Provider,{value:Z,children:(0,d.jsx)(nv,{icons:D,children:(0,d.jsx)(ng.Provider,{value:B,children:(0,d.jsx)("div",{className:B("space-y-4 whitespace-normal *:first:mt-0 *:last:mb-0",f),dir:"auto"===a?rw(z):a,children:(0,d.jsx)(rY,{components:et,rehypePlugins:er,remarkPlugins:en,...R,children:z})})})})})})}):(0,d.jsx)(nL.Provider,{value:ee,children:(0,d.jsx)(nz.Provider,{value:null!=S?S:null,children:(0,d.jsx)(il.Provider,{value:Z,children:(0,d.jsx)(nv,{icons:D,children:(0,d.jsx)(ng.Provider,{value:B,children:(0,d.jsxs)("div",{className:B("space-y-4 whitespace-normal *:first:mt-0 *:last:mb-0",y&&!ei?"*:last:after:inline *:last:after:align-baseline *:last:after:content-[var(--streamdown-caret)]":null,f),style:ea,children:[0===$.length&&y&&k&&(0,d.jsx)("span",{}),$.map((e,t)=>{var n;let r=t===$.length-1,i=k&&r&&rB(e);return(0,d.jsx)(A,{animatePlugin:X,components:et,content:e,dir:null!=(n=null==W?void 0:W[t])?n:"auto"!==a?a:void 0,index:t,isIncomplete:i,rehypePlugins:er,remarkPlugins:en,shouldNormalizeHtmlIndentation:l,shouldParseIncompleteMarkdown:s,...R},Q[t])})]})})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.animated===t.animated&&e.mode===t.mode&&e.plugins===t.plugins&&e.className===t.className&&e.linkSafety===t.linkSafety&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir);id.displayName="Streamdown";var ih=e=>{let{children:n,className:r,minZoom:i=.5,maxZoom:a=3,zoomStep:s=.1,showControls:o=!0,initialZoom:l=1,fullscreen:c=!1}=e,{RotateCcwIcon:u,ZoomInIcon:h,ZoomOutIcon:p}=nD(),m=nE(),f=(0,t.useRef)(null),g=(0,t.useRef)(null),[E,T]=(0,t.useState)(l),[k,b]=(0,t.useState)({x:0,y:0}),[A,_]=(0,t.useState)(!1),[y,S]=(0,t.useState)({x:0,y:0}),[C,x]=(0,t.useState)({x:0,y:0}),N=(0,t.useCallback)(e=>{T(t=>Math.max(i,Math.min(a,t+e)))},[i,a]),I=(0,t.useCallback)(()=>{N(s)},[N,s]),v=(0,t.useCallback)(()=>{N(-s)},[N,s]),D=(0,t.useCallback)(()=>{T(l),b({x:0,y:0})},[l]),w=(0,t.useCallback)(e=>{e.preventDefault(),N(e.deltaY>0?-s:s)},[N,s]),L=(0,t.useCallback)(e=>{if(0!==e.button||!1===e.isPrimary)return;_(!0),S({x:e.clientX,y:e.clientY}),x(k);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[k]),O=(0,t.useCallback)(e=>{if(!A)return;e.preventDefault();let t=e.clientX-y.x,n=e.clientY-y.y;b({x:C.x+t,y:C.y+n})},[A,y,C]),R=(0,t.useCallback)(e=>{_(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,t.useEffect)(()=>{let e=f.current;if(e)return e.addEventListener("wheel",w,{passive:!1}),()=>{e.removeEventListener("wheel",w)}},[w]),(0,t.useEffect)(()=>{let e=g.current;if(e&&A)return document.body.style.userSelect="none",e.addEventListener("pointermove",O,{passive:!1}),e.addEventListener("pointerup",R),e.addEventListener("pointercancel",R),()=>{document.body.style.userSelect="",e.removeEventListener("pointermove",O),e.removeEventListener("pointerup",R),e.removeEventListener("pointercancel",R)}},[A,O,R]),(0,d.jsxs)("div",{className:m("relative flex flex-col",c?"h-full w-full":"min-h-28 w-full",r),ref:f,style:{cursor:A?"grabbing":"grab"},children:[o?(0,d.jsxs)("div",{className:m("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",c?"bottom-4 left-4":"bottom-2 left-2"),children:[(0,d.jsx)("button",{className:m("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:E>=a,onClick:I,title:"Zoom in",type:"button",children:(0,d.jsx)(h,{size:16})}),(0,d.jsx)("button",{className:m("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:E<=i,onClick:v,title:"Zoom out",type:"button",children:(0,d.jsx)(p,{size:16})}),(0,d.jsx)("button",{className:m("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:D,title:"Reset zoom and pan",type:"button",children:(0,d.jsx)(u,{size:16})})]}):null,(0,d.jsx)("div",{className:m("flex-1 origin-center transition-transform duration-150 ease-out",c?"flex h-full w-full items-center justify-center":"flex w-full items-center justify-center"),onPointerDown:L,ref:g,role:"application",style:{transform:`translate(${k.x}px, ${k.y}px) scale(${E})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:n})]})},ip=e=>{let{chart:n,className:r,config:i,fullscreen:a=!1,showControls:s=!0}=e,o=nE(),[l,c]=(0,t.useState)(null),[u,h]=(0,t.useState)(!1),[p,m]=(0,t.useState)(""),[f,g]=(0,t.useState)(""),[E,T]=(0,t.useState)(0),{mermaid:k}=(0,t.useContext)(il),b=nV(),A=null==k?void 0:k.errorComponent,{shouldRender:_,containerRef:y}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{immediate:n=!1,debounceDelay:r=300,rootMargin:i="300px",idleTimeout:a=500}=e,[s,o]=(0,t.useState)(!1),l=(0,t.useRef)(null),c=(0,t.useRef)(null),u=(0,t.useRef)(null),d=(0,t.useMemo)(()=>e=>{let t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)},[]),h=(0,t.useMemo)(()=>"u">typeof window&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):d,[d]),p=(0,t.useMemo)(()=>"u">typeof window&&window.cancelIdleCallback?e=>window.cancelIdleCallback(e):e=>{clearTimeout(e)},[]);return(0,t.useEffect)(()=>{if(n)return void o(!0);let e=l.current;if(!e)return;c.current&&(clearTimeout(c.current),c.current=null),u.current&&(p(u.current),u.current=null);let t=()=>{c.current&&(clearTimeout(c.current),c.current=null),u.current&&(p(u.current),u.current=null)},s=(e,n)=>{e.isIntersecting?(t(),c.current=window.setTimeout(()=>{var e,t;let r=n.takeRecords();(0===r.length||null!=(t=null==(e=r.at(-1))?void 0:e.isIntersecting)&&t)&&(u.current=h(e=>{e.timeRemaining()>0||e.didTimeout?(o(!0),n.disconnect()):u.current=h(()=>{o(!0),n.disconnect()},{timeout:a/2})},{timeout:a}))},r)):t()},d=new IntersectionObserver(e=>{for(let t of e)s(t,d)},{rootMargin:i,threshold:0});return d.observe(e),()=>{c.current&&clearTimeout(c.current),u.current&&p(u.current),d.disconnect()}},[n,r,i,a,p,h]),{shouldRender:s,containerRef:l}}({immediate:a});return((0,t.useEffect)(()=>{if(_){if(!b)return void c("Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.");(async()=>{try{c(null),h(!0);let e=b.getMermaid(i),t=n.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),r=`mermaid-${Math.abs(t)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:a}=await e.render(r,n);m(a),g(a)}catch(e){f||p||c(e instanceof Error?e.message:"Failed to render Mermaid chart")}finally{h(!1)}})()}},[n,i,E,_,b]),_||p||f)?!u||p||f?!l||p||f?(0,d.jsx)("div",{className:o("size-full",r),"data-streamdown":"mermaid",ref:y,children:(0,d.jsx)(ih,{className:o(a?"size-full overflow-hidden":"overflow-hidden",r),fullscreen:a,maxZoom:3,minZoom:.5,showControls:s,zoomStep:.1,children:(0,d.jsx)("div",{"aria-label":"Mermaid chart",className:o("flex justify-center",a?"size-full items-center":null),dangerouslySetInnerHTML:{__html:p||f},role:"img"})})}):A?(0,d.jsx)("div",{ref:y,children:(0,d.jsx)(A,{chart:n,error:l,retry:()=>T(e=>e+1)})}):(0,d.jsxs)("div",{className:o("rounded-md bg-red-50 p-4",r),ref:y,children:[(0,d.jsxs)("p",{className:o("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",l]}),(0,d.jsxs)("details",{className:o("mt-2"),children:[(0,d.jsx)("summary",{className:o("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),(0,d.jsx)("pre",{className:o("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:n})]})]}):(0,d.jsx)("div",{className:o("my-4 flex justify-center p-4",r),ref:y,children:(0,d.jsxs)("div",{className:o("flex items-center space-x-2 text-muted-foreground"),children:[(0,d.jsx)("div",{className:o("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),(0,d.jsx)("span",{className:o("text-sm"),children:"Loading diagram..."})]})}):(0,d.jsx)("div",{className:o("my-4 min-h-[200px]",r),ref:y})};e.s(["A",()=>il,"C",()=>id,"c",()=>nk,"f",()=>nq,"l",()=>ip,"y",()=>ir,"z",()=>ii],443355)}]);