trieve-search-component
Version:
The easiest way to get up and running in your app using trieve search.
2 lines • 2.05 MB
JavaScript
var m2=Object.create;var Lc=Object.defineProperty;var M2=Object.getOwnPropertyDescriptor;var K2=Object.getOwnPropertyNames;var L2=Object.getPrototypeOf,U2=Object.prototype.hasOwnProperty;var $N=I=>{throw TypeError(I)};var Y2=(I,A,g)=>A in I?Lc(I,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):I[A]=g;var NQ=(I=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(I,{get:(A,g)=>(typeof require<"u"?require:A)[g]}):I)(function(I){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+I+'" is not supported')});var V=(I,A)=>()=>(I&&(A=I(I=0)),A);var _C=(I,A)=>()=>(A||I((A={exports:{}}).exports,A),A.exports),pw=(I,A)=>{for(var g in A)Lc(I,g,{get:A[g],enumerable:!0})},J2=(I,A,g,C)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of K2(A))!U2.call(I,B)&&B!==g&&Lc(I,B,{get:()=>A[B],enumerable:!(C=M2(A,B))||C.enumerable});return I};var Nw=(I,A,g)=>(g=I!=null?m2(L2(I)):{},J2(A||!I||!I.__esModule?Lc(g,"default",{value:I,enumerable:!0}):g,I));var uA=(I,A,g)=>Y2(I,typeof A!="symbol"?A+"":A,g),Gw=(I,A,g)=>A.has(I)||$N("Cannot "+g);var s=(I,A,g)=>(Gw(I,A,"read from private field"),g?g.call(I):A.get(I)),F=(I,A,g)=>A.has(I)?$N("Cannot add the same private member more than once"):A instanceof WeakSet?A.add(I):A.set(I,g),p=(I,A,g,C)=>(Gw(I,A,"write to private field"),C?C.call(I,g):A.set(I,g),g),S=(I,A,g)=>(Gw(I,A,"access private method"),g);var _I=(I,A,g,C)=>({set _(B){p(I,A,B,g)},get _(){return s(I,A,C)}});function aK(I,A){let g=A||{};return(I[I.length-1]===""?[...I,""]:I).join((g.padRight?" ":"")+","+(g.padLeft===!1?"":" ")).trim()}var cK=V(()=>{});function cd(I,A){return((A||X3).jsx?Z3:P3).test(I)}var P3,Z3,X3,hK=V(()=>{P3=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Z3=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,X3={}});var lK=V(()=>{hK()});function Kf(I){return typeof I=="object"?I.type==="text"?DK(I.value):!1:DK(I)}function DK(I){return I.replace(_3,"")===""}var _3,dK=V(()=>{_3=/[ \t\n\f\r]/g});var wK=V(()=>{dK()});var DQ,Lf=V(()=>{DQ=class{constructor(A,g,C){this.normal=g,this.property=A,C&&(this.space=C)}};DQ.prototype.normal={};DQ.prototype.property={};DQ.prototype.space=void 0});function Uf(I,A){let g={},C={};for(let B of I)Object.assign(g,B.property),Object.assign(C,B.normal);return new DQ(g,C,A)}var uK=V(()=>{Lf()});function ja(I){return I.toLowerCase()}var Yf=V(()=>{});var uI,Jf=V(()=>{uI=class{constructor(A,g){this.attribute=g,this.property=A}};uI.prototype.attribute="";uI.prototype.booleanish=!1;uI.prototype.boolean=!1;uI.prototype.commaOrSpaceSeparated=!1;uI.prototype.commaSeparated=!1;uI.prototype.defined=!1;uI.prototype.mustUseProperty=!1;uI.prototype.number=!1;uI.prototype.overloadedBoolean=!1;uI.prototype.property="";uI.prototype.spaceSeparated=!1;uI.prototype.space=void 0});var za={};pw(za,{boolean:()=>HA,booleanish:()=>Wg,commaOrSpaceSeparated:()=>yC,commaSeparated:()=>Re,number:()=>IA,overloadedBoolean:()=>Hf,spaceSeparated:()=>cg});function dE(){return 2**++j3}var j3,HA,Wg,Hf,IA,cg,Re,yC,$a=V(()=>{j3=0,HA=dE(),Wg=dE(),Hf=dE(),IA=dE(),cg=dE(),Re=dE(),yC=dE()});function yK(I,A,g){g&&(I[A]=g)}var bf,wE,xf=V(()=>{Jf();$a();bf=Object.keys(za),wE=class extends uI{constructor(A,g,C,B){let t=-1;if(super(A,g),yK(this,"space",B),typeof C=="number")for(;++t<bf.length;){let Q=bf[t];yK(this,bf[t],(C&za[Q])===za[Q])}}};wE.prototype.defined=!0});function rB(I){let A={},g={};for(let[C,B]of Object.entries(I.properties)){let t=new wE(C,I.transform(I.attributes||{},C),B,I.space);I.mustUseProperty&&I.mustUseProperty.includes(C)&&(t.mustUseProperty=!0),A[C]=t,g[ja(C)]=C,g[ja(t.attribute)]=C}return new DQ(A,g,I.space)}var uE=V(()=>{Yf();xf();Lf()});var qf,fK=V(()=>{uE();$a();qf=rB({properties:{ariaActiveDescendant:null,ariaAtomic:Wg,ariaAutoComplete:null,ariaBusy:Wg,ariaChecked:Wg,ariaColCount:IA,ariaColIndex:IA,ariaColSpan:IA,ariaControls:cg,ariaCurrent:null,ariaDescribedBy:cg,ariaDetails:null,ariaDisabled:Wg,ariaDropEffect:cg,ariaErrorMessage:null,ariaExpanded:Wg,ariaFlowTo:cg,ariaGrabbed:Wg,ariaHasPopup:null,ariaHidden:Wg,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:cg,ariaLevel:IA,ariaLive:null,ariaModal:Wg,ariaMultiLine:Wg,ariaMultiSelectable:Wg,ariaOrientation:null,ariaOwns:cg,ariaPlaceholder:null,ariaPosInSet:IA,ariaPressed:Wg,ariaReadOnly:Wg,ariaRelevant:null,ariaRequired:Wg,ariaRoleDescription:cg,ariaRowCount:IA,ariaRowIndex:IA,ariaRowSpan:IA,ariaSelected:Wg,ariaSetSize:IA,ariaSort:null,ariaValueMax:IA,ariaValueMin:IA,ariaValueNow:IA,ariaValueText:null,role:null},transform(I,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()}})});function hd(I,A){return A in I?I[A]:A}var vf=V(()=>{});function ld(I,A){return hd(I,A.toLowerCase())}var Tf=V(()=>{vf()});var pK,NK=V(()=>{Tf();uE();$a();pK=rB({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Re,acceptCharset:cg,accessKey:cg,action:null,allow:null,allowFullScreen:HA,allowPaymentRequest:HA,allowUserMedia:HA,alt:null,as:null,async:HA,autoCapitalize:null,autoComplete:cg,autoFocus:HA,autoPlay:HA,blocking:cg,capture:null,charSet:null,checked:HA,cite:null,className:cg,cols:IA,colSpan:null,content:null,contentEditable:Wg,controls:HA,controlsList:cg,coords:IA|Re,crossOrigin:null,data:null,dateTime:null,decoding:null,default:HA,defer:HA,dir:null,dirName:null,disabled:HA,download:Hf,draggable:Wg,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:HA,formTarget:null,headers:cg,height:IA,hidden:HA,high:IA,href:null,hrefLang:null,htmlFor:cg,httpEquiv:cg,id:null,imageSizes:null,imageSrcSet:null,inert:HA,inputMode:null,integrity:null,is:null,isMap:HA,itemId:null,itemProp:cg,itemRef:cg,itemScope:HA,itemType:cg,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:HA,low:IA,manifest:null,max:null,maxLength:IA,media:null,method:null,min:null,minLength:IA,multiple:HA,muted:HA,name:null,nonce:null,noModule:HA,noValidate:HA,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:HA,optimum:IA,pattern:null,ping:cg,placeholder:null,playsInline:HA,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:HA,referrerPolicy:null,rel:cg,required:HA,reversed:HA,rows:IA,rowSpan:IA,sandbox:cg,scope:null,scoped:HA,seamless:HA,selected:HA,shadowRootClonable:HA,shadowRootDelegatesFocus:HA,shadowRootMode:null,shape:null,size:IA,sizes:null,slot:null,span:IA,spellCheck:Wg,src:null,srcDoc:null,srcLang:null,srcSet:null,start:IA,step:null,style:null,tabIndex:IA,target:null,title:null,translate:null,type:null,typeMustMatch:HA,useMap:null,value:Wg,width:IA,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:cg,axis:null,background:null,bgColor:null,border:IA,borderColor:null,bottomMargin:IA,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:HA,declare:HA,event:null,face:null,frame:null,frameBorder:null,hSpace:IA,leftMargin:IA,link:null,longDesc:null,lowSrc:null,marginHeight:IA,marginWidth:IA,noResize:HA,noHref:HA,noShade:HA,noWrap:HA,object:null,profile:null,prompt:null,rev:null,rightMargin:IA,rules:null,scheme:null,scrolling:Wg,standby:null,summary:null,text:null,topMargin:IA,valueType:null,version:null,vAlign:null,vLink:null,vSpace:IA,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:HA,disableRemotePlayback:HA,prefix:null,property:null,results:IA,security:null,unselectable:null},space:"html",transform:ld})});var GK,RK=V(()=>{vf();uE();$a();GK=rB({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:yC,accentHeight:IA,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:IA,amplitude:IA,arabicForm:null,ascent:IA,attributeName:null,attributeType:null,azimuth:IA,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:IA,by:null,calcMode:null,capHeight:IA,className:cg,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:IA,diffuseConstant:IA,direction:null,display:null,dur:null,divisor:IA,dominantBaseline:null,download:HA,dx:null,dy:null,edgeMode:null,editable:null,elevation:IA,enableBackground:null,end:null,event:null,exponent:IA,externalResourcesRequired:null,fill:null,fillOpacity:IA,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:Re,g2:Re,glyphName:Re,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:IA,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:IA,horizOriginX:IA,horizOriginY:IA,id:null,ideographic:IA,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:IA,k:IA,k1:IA,k2:IA,k3:IA,k4:IA,kernelMatrix:yC,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:IA,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:IA,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:IA,overlineThickness:IA,paintOrder:null,panose1:null,path:null,pathLength:IA,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:cg,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:IA,pointsAtY:IA,pointsAtZ:IA,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yC,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yC,rev:yC,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yC,requiredFeatures:yC,requiredFonts:yC,requiredFormats:yC,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:IA,specularExponent:IA,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:IA,strikethroughThickness:IA,string:null,stroke:null,strokeDashArray:yC,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:IA,strokeOpacity:IA,strokeWidth:null,style:null,surfaceScale:IA,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yC,tabIndex:IA,tableValues:null,target:null,targetX:IA,targetY:IA,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yC,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:IA,underlineThickness:IA,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:IA,values:null,vAlphabetic:IA,vMathematical:IA,vectorEffect:null,vHanging:IA,vIdeographic:IA,version:null,vertAdvY:IA,vertOriginX:IA,vertOriginY:IA,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:IA,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hd})});var Wf,FK=V(()=>{uE();Wf=rB({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(I,A){return"xlink:"+A.slice(5).toLowerCase()}})});var Of,SK=V(()=>{uE();Tf();Of=rB({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ld})});var Vf,kK=V(()=>{uE();Vf=rB({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(I,A){return"xml:"+A.slice(3).toLowerCase()}})});var Pf,mK=V(()=>{Pf={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"}});function Zf(I,A){let g=ja(A),C=A,B=uI;if(g in I.normal)return I.property[I.normal[g]];if(g.length>4&&g.slice(0,4)==="data"&&$3.test(A)){if(A.charAt(4)==="-"){let t=A.slice(5).replace(MK,g8);C="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{let t=A.slice(4);if(!MK.test(t)){let Q=t.replace(z3,A8);Q.charAt(0)!=="-"&&(Q="-"+Q),A="data"+Q}}B=wE}return new B(C,A)}function A8(I){return"-"+I.toLowerCase()}function g8(I){return I.charAt(1).toUpperCase()}var z3,MK,$3,KK=V(()=>{xf();Jf();Yf();z3=/[A-Z]/g,MK=/-[a-z]/g,$3=/^data[-\w.:]+$/i});var LK,Dd,UK=V(()=>{uK();fK();NK();RK();FK();SK();kK();mK();KK();LK=Uf([qf,pK,Wf,Of,Vf],"html"),Dd=Uf([qf,GK,Wf,Of,Vf],"svg")});function YK(I){return I.join(" ").trim()}var JK=V(()=>{});var TK=_C((ohA,vK)=>{var HK=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,I8=/\n/g,C8=/^\s*/,B8=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,t8=/^:\s*/,Q8=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,e8=/^[;\s]*/,i8=/^\s+|\s+$/g,E8=`
`,bK="/",xK="*",yE="",o8="comment",s8="declaration";vK.exports=function(I,A){if(typeof I!="string")throw new TypeError("First argument must be a string");if(!I)return[];A=A||{};var g=1,C=1;function B(w){var u=w.match(I8);u&&(g+=u.length);var f=w.lastIndexOf(E8);C=~f?w.length-f:C+w.length}function t(){var w={line:g,column:C};return function(u){return u.position=new Q(w),o(),u}}function Q(w){this.start=w,this.end={line:g,column:C},this.source=A.source}Q.prototype.content=I;var e=[];function i(w){var u=new Error(A.source+":"+g+":"+C+": "+w);if(u.reason=w,u.filename=A.source,u.line=g,u.column=C,u.source=I,A.silent)e.push(u);else throw u}function E(w){var u=w.exec(I);if(u){var f=u[0];return B(f),I=I.slice(f.length),u}}function o(){E(C8)}function r(w){var u;for(w=w||[];u=a();)u!==!1&&w.push(u);return w}function a(){var w=t();if(!(bK!=I.charAt(0)||xK!=I.charAt(1))){for(var u=2;yE!=I.charAt(u)&&(xK!=I.charAt(u)||bK!=I.charAt(u+1));)++u;if(u+=2,yE===I.charAt(u-1))return i("End of comment missing");var f=I.slice(2,u-2);return C+=2,B(f),I=I.slice(u),C+=2,w({type:o8,comment:f})}}function c(){var w=t(),u=E(B8);if(u){if(a(),!E(t8))return i("property missing ':'");var f=E(Q8),m=w({type:s8,property:qK(u[0].replace(HK,yE)),value:f?qK(f[0].replace(HK,yE)):yE});return E(e8),m}}function l(){var w=[];r(w);for(var u;u=c();)u!==!1&&(w.push(u),r(w));return w}return o(),l()};function qK(I){return I?I.replace(i8,yE):yE}});var WK=_C(Ac=>{"use strict";var r8=Ac&&Ac.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(Ac,"__esModule",{value:!0});Ac.default=a8;var n8=r8(TK());function a8(I,A){var g=null;if(!I||typeof I!="string")return g;var C=(0,n8.default)(I),B=typeof A=="function";return C.forEach(function(t){if(t.type==="declaration"){var Q=t.property,e=t.value;B?A(Q,e,t):e&&(g=g||{},g[Q]=e)}}),g}});var VK=_C(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.camelCase=void 0;var c8=/^--[a-zA-Z0-9_-]+$/,h8=/-([a-z])/g,l8=/^[^-]+$/,D8=/^-(webkit|moz|ms|o|khtml)-/,d8=/^-(ms)-/,w8=function(I){return!I||l8.test(I)||c8.test(I)},u8=function(I,A){return A.toUpperCase()},OK=function(I,A){return"".concat(A,"-")},y8=function(I,A){return A===void 0&&(A={}),w8(I)?I:(I=I.toLowerCase(),A.reactCompat?I=I.replace(d8,OK):I=I.replace(D8,OK),I.replace(h8,u8))};dd.camelCase=y8});var ZK=_C((_f,PK)=>{"use strict";var f8=_f&&_f.__importDefault||function(I){return I&&I.__esModule?I:{default:I}},p8=f8(WK()),N8=VK();function Xf(I,A){var g={};return!I||typeof I!="string"||(0,p8.default)(I,function(C,B){C&&B&&(g[(0,N8.camelCase)(C,A)]=B)}),g}Xf.default=Xf;PK.exports=Xf});function XK(I){return A;function A(g){let C=g&&g.position&&g.position[I]||{};if(typeof C.line=="number"&&C.line>0&&typeof C.column=="number"&&C.column>0)return{line:C.line,column:C.column,offset:typeof C.offset=="number"&&C.offset>-1?C.offset:void 0}}}function jf(I){let A=Vs(I),g=wd(I);if(A&&g)return{start:A,end:g}}var wd,Vs,_K=V(()=>{wd=XK("end"),Vs=XK("start")});var ud=V(()=>{_K()});function $f(I){return!I||typeof I!="object"?"":"position"in I||"type"in I?jK(I.position):"start"in I||"end"in I?jK(I):"line"in I||"column"in I?zf(I):""}function zf(I){return zK(I&&I.line)+":"+zK(I&&I.column)}function jK(I){return zf(I&&I.start)+"-"+zf(I&&I.end)}function zK(I){return I&&typeof I=="number"?I:1}var $K=V(()=>{});var AL=V(()=>{$K()});var jg,gL=V(()=>{AL();jg=class extends Error{constructor(A,g,C){super(),typeof g=="string"&&(C=g,g=void 0);let B="",t={},Q=!1;if(g&&("line"in g&&"column"in g?t={place:g}:"start"in g&&"end"in g?t={place:g}:"type"in g?t={ancestors:[g],place:g.position}:t={...g}),typeof A=="string"?B=A:!t.cause&&A&&(Q=!0,B=A.message,t.cause=A),!t.ruleId&&!t.source&&typeof C=="string"){let i=C.indexOf(":");i===-1?t.ruleId=C:(t.source=C.slice(0,i),t.ruleId=C.slice(i+1))}if(!t.place&&t.ancestors&&t.ancestors){let i=t.ancestors[t.ancestors.length-1];i&&(t.place=i.position)}let e=t.place&&"start"in t.place?t.place.start:t.place;this.ancestors=t.ancestors||void 0,this.cause=t.cause||void 0,this.column=e?e.column:void 0,this.fatal=void 0,this.file,this.message=B,this.line=e?e.line:void 0,this.name=$f(t.place)||"1:1",this.place=t.place||void 0,this.reason=this.message,this.ruleId=t.ruleId||void 0,this.source=t.source||void 0,this.stack=Q&&t.cause&&typeof t.cause.stack=="string"?t.cause.stack:"",this.actual,this.expected,this.note,this.url}};jg.prototype.file="";jg.prototype.name="";jg.prototype.reason="";jg.prototype.message="";jg.prototype.stack="";jg.prototype.column=void 0;jg.prototype.line=void 0;jg.prototype.ancestors=void 0;jg.prototype.cause=void 0;jg.prototype.fatal=void 0;jg.prototype.place=void 0;jg.prototype.ruleId=void 0;jg.prototype.source=void 0});var Ap=V(()=>{gL()});function Ip(I,A){if(!A||A.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let g=A.filePath||void 0,C;if(A.development){if(typeof A.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");C=J8(g,A.jsxDEV)}else{if(typeof A.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof A.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");C=Y8(g,A.jsx,A.jsxs)}let B={Fragment:A.Fragment,ancestors:[],components:A.components||{},create:C,elementAttributeNameCase:A.elementAttributeNameCase||"react",evaluater:A.createEvaluater?A.createEvaluater():void 0,filePath:g,ignoreInvalidStyle:A.ignoreInvalidStyle||!1,passKeys:A.passKeys!==!1,passNode:A.passNode||!1,schema:A.space==="svg"?Dd:LK,stylePropertyNameCase:A.stylePropertyNameCase||"dom",tableCellAlignToStyle:A.tableCellAlignToStyle!==!1},t=BL(B,I,void 0);return t&&typeof t!="string"?t:B.create(I,B.Fragment,{children:t||void 0},void 0)}function BL(I,A,g){if(A.type==="element")return k8(I,A,g);if(A.type==="mdxFlowExpression"||A.type==="mdxTextExpression")return m8(I,A);if(A.type==="mdxJsxFlowElement"||A.type==="mdxJsxTextElement")return K8(I,A,g);if(A.type==="mdxjsEsm")return M8(I,A);if(A.type==="root")return L8(I,A,g);if(A.type==="text")return U8(I,A)}function k8(I,A,g){let C=I.schema,B=C;A.tagName.toLowerCase()==="svg"&&C.space==="html"&&(B=Dd,I.schema=B),I.ancestors.push(A);let t=QL(I,A.tagName,!1),Q=H8(I,A),e=Bp(I,A);return F8.has(A.tagName)&&(e=e.filter(function(i){return typeof i=="string"?!Kf(i):!0})),tL(I,Q,t,A),Cp(Q,e),I.ancestors.pop(),I.schema=C,I.create(A,t,Q,g)}function m8(I,A){if(A.data&&A.data.estree&&I.evaluater){let C=A.data.estree.body[0];return C.type,I.evaluater.evaluateExpression(C.expression)}gc(I,A.position)}function M8(I,A){if(A.data&&A.data.estree&&I.evaluater)return I.evaluater.evaluateProgram(A.data.estree);gc(I,A.position)}function K8(I,A,g){let C=I.schema,B=C;A.name==="svg"&&C.space==="html"&&(B=Dd,I.schema=B),I.ancestors.push(A);let t=A.name===null?I.Fragment:QL(I,A.name,!0),Q=b8(I,A),e=Bp(I,A);return tL(I,Q,t,A),Cp(Q,e),I.ancestors.pop(),I.schema=C,I.create(A,t,Q,g)}function L8(I,A,g){let C={};return Cp(C,Bp(I,A)),I.create(A,I.Fragment,C,g)}function U8(I,A){return A.value}function tL(I,A,g,C){typeof g!="string"&&g!==I.Fragment&&I.passNode&&(A.node=C)}function Cp(I,A){if(A.length>0){let g=A.length>1?A:A[0];g&&(I.children=g)}}function Y8(I,A,g){return C;function C(B,t,Q,e){let E=Array.isArray(Q.children)?g:A;return e?E(t,Q,e):E(t,Q)}}function J8(I,A){return g;function g(C,B,t,Q){let e=Array.isArray(t.children),i=Vs(C);return A(B,t,Q,e,{columnNumber:i?i.column-1:void 0,fileName:I,lineNumber:i?i.line:void 0},void 0)}}function H8(I,A){let g={},C,B;for(B in A.properties)if(B!=="children"&&gp.call(A.properties,B)){let t=x8(I,B,A.properties[B]);if(t){let[Q,e]=t;I.tableCellAlignToStyle&&Q==="align"&&typeof e=="string"&&S8.has(A.tagName)?C=e:g[Q]=e}}if(C){let t=g.style||(g.style={});t[I.stylePropertyNameCase==="css"?"text-align":"textAlign"]=C}return g}function b8(I,A){let g={};for(let C of A.attributes)if(C.type==="mdxJsxExpressionAttribute")if(C.data&&C.data.estree&&I.evaluater){let t=C.data.estree.body[0];t.type;let Q=t.expression;Q.type;let e=Q.properties[0];e.type,Object.assign(g,I.evaluater.evaluateExpression(e.argument))}else gc(I,A.position);else{let B=C.name,t;if(C.value&&typeof C.value=="object")if(C.value.data&&C.value.data.estree&&I.evaluater){let e=C.value.data.estree.body[0];e.type,t=I.evaluater.evaluateExpression(e.expression)}else gc(I,A.position);else t=C.value===null?!0:C.value;g[B]=t}return g}function Bp(I,A){let g=[],C=-1,B=I.passKeys?new Map:G8;for(;++C<A.children.length;){let t=A.children[C],Q;if(I.passKeys){let i=t.type==="element"?t.tagName:t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"?t.name:void 0;if(i){let E=B.get(i)||0;Q=i+"-"+E,B.set(i,E+1)}}let e=BL(I,t,Q);e!==void 0&&g.push(e)}return g}function x8(I,A,g){let C=Zf(I.schema,A);if(!(g==null||typeof g=="number"&&Number.isNaN(g))){if(Array.isArray(g)&&(g=C.commaSeparated?aK(g):YK(g)),C.property==="style"){let B=typeof g=="object"?g:q8(I,String(g));return I.stylePropertyNameCase==="css"&&(B=v8(B)),["style",B]}return[I.elementAttributeNameCase==="react"&&C.space?Pf[C.property]||C.property:C.attribute,g]}}function q8(I,A){try{return(0,IL.default)(A,{reactCompat:!0})}catch(g){if(I.ignoreInvalidStyle)return{};let C=g,B=new jg("Cannot parse `style` attribute",{ancestors:I.ancestors,cause:C,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw B.file=I.filePath||void 0,B.url=CL+"#cannot-parse-style-attribute",B}}function QL(I,A,g){let C;if(!g)C={type:"Literal",value:A};else if(A.includes(".")){let B=A.split("."),t=-1,Q;for(;++t<B.length;){let e=cd(B[t])?{type:"Identifier",name:B[t]}:{type:"Literal",value:B[t]};Q=Q?{type:"MemberExpression",object:Q,property:e,computed:!!(t&&e.type==="Literal"),optional:!1}:e}C=Q}else C=cd(A)&&!/^[a-z]/.test(A)?{type:"Identifier",name:A}:{type:"Literal",value:A};if(C.type==="Literal"){let B=C.value;return gp.call(I.components,B)?I.components[B]:B}if(I.evaluater)return I.evaluater.evaluateExpression(C);gc(I)}function gc(I,A){let g=new jg("Cannot handle MDX estrees without `createEvaluater`",{ancestors:I.ancestors,place:A,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw g.file=I.filePath||void 0,g.url=CL+"#cannot-handle-mdx-estrees-without-createevaluater",g}function v8(I){let A={},g;for(g in I)gp.call(I,g)&&(A[T8(g)]=I[g]);return A}function T8(I){let A=I.replace(R8,W8);return A.slice(0,3)==="ms-"&&(A="-"+A),A}function W8(I){return"-"+I.toLowerCase()}var IL,gp,G8,R8,F8,S8,CL,eL=V(()=>{cK();lK();wK();UK();JK();IL=Nw(ZK(),1);ud();Ap();gp={}.hasOwnProperty,G8=new Map,R8=/[A-Z]/g,F8=new Set(["table","tbody","thead","tfoot","tr"]),S8=new Set(["td","th"]),CL="https://github.com/syntax-tree/hast-util-to-jsx-runtime"});var iL=V(()=>{eL()});var Ic,EL=V(()=>{Ic={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"]}});var oL=V(()=>{EL()});function tp(I,A){let g=A||O8,C=typeof g.includeImageAlt=="boolean"?g.includeImageAlt:!0,B=typeof g.includeHtml=="boolean"?g.includeHtml:!0;return rL(I,C,B)}function rL(I,A,g){if(V8(I)){if("value"in I)return I.type==="html"&&!g?"":I.value;if(A&&"alt"in I&&I.alt)return I.alt;if("children"in I)return sL(I.children,A,g)}return Array.isArray(I)?sL(I,A,g):""}function sL(I,A,g){let C=[],B=-1;for(;++B<I.length;)C[B]=rL(I[B],A,g);return C.join("")}function V8(I){return!!(I&&typeof I=="object")}var O8,nL=V(()=>{O8={}});var aL=V(()=>{nL()});function Ps(I){let A="&"+I+";";cL.innerHTML=A;let g=cL.textContent;return g.charCodeAt(g.length-1)===59&&I!=="semi"||g===A?!1:g}var cL,yd=V(()=>{cL=document.createElement("i")});function KI(I,A,g,C){let B=I.length,t=0,Q;if(A<0?A=-A>B?0:B+A:A=A>B?B:A,g=g>0?g:0,C.length<1e4)Q=Array.from(C),Q.unshift(A,g),I.splice(...Q);else for(g&&I.splice(A,g);t<C.length;)Q=C.slice(t,t+1e4),Q.unshift(A,0),I.splice(...Q),t+=1e4,A+=1e4}function iC(I,A){return I.length>0?(KI(I,I.length,0,A),I):A}var Fe=V(()=>{});function lL(I){let A={},g=-1;for(;++g<I.length;)P8(A,I[g]);return A}function P8(I,A){let g;for(g in A){let B=(hL.call(I,g)?I[g]:void 0)||(I[g]={}),t=A[g],Q;if(t)for(Q in t){hL.call(B,Q)||(B[Q]=[]);let e=t[Q];Z8(B[Q],Array.isArray(e)?e:e?[e]:[])}}}function Z8(I,A){let g=-1,C=[];for(;++g<A.length;)(A[g].add==="after"?I:C).push(A[g]);KI(I,0,0,C)}var hL,DL=V(()=>{Fe();hL={}.hasOwnProperty});function Cc(I){return I.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Qp=V(()=>{});function Bc(I){return I!==null&&(I<32||I===127)}function nA(I){return I!==null&&I<-2}function zg(I){return I!==null&&(I<0||I===32)}function bA(I){return I===-2||I===-1||I===32}function Se(I){return A;function A(g){return g!==null&&g>-1&&I.test(String.fromCharCode(g))}}var XC,EC,dL,tc,wL,uL,yL,fL,dg=V(()=>{XC=Se(/[A-Za-z]/),EC=Se(/[\dA-Za-z]/),dL=Se(/[#-'*+\--9=?A-Z^-~]/);tc=Se(/\d/),wL=Se(/[\dA-Fa-f]/),uL=Se(/[!-/:-@[-`{-~]/);yL=Se(/\p{P}|\p{S}/u),fL=Se(/\s/)});function xA(I,A,g,C){let B=C?C-1:Number.POSITIVE_INFINITY,t=0;return Q;function Q(i){return bA(i)?(I.enter(g),e(i)):A(i)}function e(i){return bA(i)&&t++<B?(I.consume(i),e):(I.exit(g),A(i))}}var yI=V(()=>{dg()});function X8(I){let A=I.attempt(this.parser.constructs.contentInitial,C,B),g;return A;function C(e){if(e===null){I.consume(e);return}return I.enter("lineEnding"),I.consume(e),I.exit("lineEnding"),xA(I,A,"linePrefix")}function B(e){return I.enter("paragraph"),t(e)}function t(e){let i=I.enter("chunkText",{contentType:"text",previous:g});return g&&(g.next=i),g=i,Q(e)}function Q(e){if(e===null){I.exit("chunkText"),I.exit("paragraph"),I.consume(e);return}return nA(e)?(I.consume(e),I.exit("chunkText"),t):(I.consume(e),Q)}}var pL,NL=V(()=>{yI();dg();pL={tokenize:X8}});function _8(I){let A=this,g=[],C=0,B,t,Q;return e;function e(M){if(C<g.length){let Y=g[C];return A.containerState=Y[1],I.attempt(Y[0].continuation,i,E)(M)}return E(M)}function i(M){if(C++,A.containerState._closeFlow){A.containerState._closeFlow=void 0,B&&m();let Y=A.events.length,k=Y,N;for(;k--;)if(A.events[k][0]==="exit"&&A.events[k][1].type==="chunkFlow"){N=A.events[k][1].end;break}f(C);let L=Y;for(;L<A.events.length;)A.events[L][1].end={...N},L++;return KI(A.events,k+1,0,A.events.slice(Y)),A.events.length=L,E(M)}return e(M)}function E(M){if(C===g.length){if(!B)return a(M);if(B.currentConstruct&&B.currentConstruct.concrete)return l(M);A.interrupt=!!(B.currentConstruct&&!B._gfmTableDynamicInterruptHack)}return A.containerState={},I.check(GL,o,r)(M)}function o(M){return B&&m(),f(C),a(M)}function r(M){return A.parser.lazy[A.now().line]=C!==g.length,Q=A.now().offset,l(M)}function a(M){return A.containerState={},I.attempt(GL,c,l)(M)}function c(M){return C++,g.push([A.currentConstruct,A.containerState]),a(M)}function l(M){if(M===null){B&&m(),f(0),I.consume(M);return}return B=B||A.parser.flow(A.now()),I.enter("chunkFlow",{_tokenizer:B,contentType:"flow",previous:t}),w(M)}function w(M){if(M===null){u(I.exit("chunkFlow"),!0),f(0),I.consume(M);return}return nA(M)?(I.consume(M),u(I.exit("chunkFlow")),C=0,A.interrupt=void 0,e):(I.consume(M),w)}function u(M,Y){let k=A.sliceStream(M);if(Y&&k.push(null),M.previous=t,t&&(t.next=M),t=M,B.defineSkip(M.start),B.write(k),A.parser.lazy[M.start.line]){let N=B.events.length;for(;N--;)if(B.events[N][1].start.offset<Q&&(!B.events[N][1].end||B.events[N][1].end.offset>Q))return;let L=A.events.length,J=L,T,b;for(;J--;)if(A.events[J][0]==="exit"&&A.events[J][1].type==="chunkFlow"){if(T){b=A.events[J][1].end;break}T=!0}for(f(C),N=L;N<A.events.length;)A.events[N][1].end={...b},N++;KI(A.events,J+1,0,A.events.slice(L)),A.events.length=N}}function f(M){let Y=g.length;for(;Y-- >M;){let k=g[Y];A.containerState=k[1],k[0].exit.call(A,I)}g.length=M}function m(){B.write([null]),t=void 0,B=void 0,A.containerState._closeFlow=void 0}}function j8(I,A,g){return xA(I,I.attempt(this.parser.constructs.document,A,g),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var RL,GL,FL=V(()=>{yI();dg();Fe();RL={tokenize:_8},GL={tokenize:j8}});function ep(I){if(I===null||zg(I)||fL(I))return 1;if(yL(I))return 2}var SL=V(()=>{dg()});function Zs(I,A,g){let C=[],B=-1;for(;++B<I.length;){let t=I[B].resolveAll;t&&!C.includes(t)&&(A=t(A,g),C.push(t))}return A}var fd=V(()=>{});function z8(I,A){let g=-1,C,B,t,Q,e,i,E,o;for(;++g<I.length;)if(I[g][0]==="enter"&&I[g][1].type==="attentionSequence"&&I[g][1]._close){for(C=g;C--;)if(I[C][0]==="exit"&&I[C][1].type==="attentionSequence"&&I[C][1]._open&&A.sliceSerialize(I[C][1]).charCodeAt(0)===A.sliceSerialize(I[g][1]).charCodeAt(0)){if((I[C][1]._close||I[g][1]._open)&&(I[g][1].end.offset-I[g][1].start.offset)%3&&!((I[C][1].end.offset-I[C][1].start.offset+I[g][1].end.offset-I[g][1].start.offset)%3))continue;i=I[C][1].end.offset-I[C][1].start.offset>1&&I[g][1].end.offset-I[g][1].start.offset>1?2:1;let r={...I[C][1].end},a={...I[g][1].start};kL(r,-i),kL(a,i),Q={type:i>1?"strongSequence":"emphasisSequence",start:r,end:{...I[C][1].end}},e={type:i>1?"strongSequence":"emphasisSequence",start:{...I[g][1].start},end:a},t={type:i>1?"strongText":"emphasisText",start:{...I[C][1].end},end:{...I[g][1].start}},B={type:i>1?"strong":"emphasis",start:{...Q.start},end:{...e.end}},I[C][1].end={...Q.start},I[g][1].start={...e.end},E=[],I[C][1].end.offset-I[C][1].start.offset&&(E=iC(E,[["enter",I[C][1],A],["exit",I[C][1],A]])),E=iC(E,[["enter",B,A],["enter",Q,A],["exit",Q,A],["enter",t,A]]),E=iC(E,Zs(A.parser.constructs.insideSpan.null,I.slice(C+1,g),A)),E=iC(E,[["exit",t,A],["enter",e,A],["exit",e,A],["exit",B,A]]),I[g][1].end.offset-I[g][1].start.offset?(o=2,E=iC(E,[["enter",I[g][1],A],["exit",I[g][1],A]])):o=0,KI(I,C-1,g-C+3,E),g=C+E.length-o-2;break}}for(g=-1;++g<I.length;)I[g][1].type==="attentionSequence"&&(I[g][1].type="data");return I}function $8(I,A){let g=this.parser.constructs.attentionMarkers.null,C=this.previous,B=ep(C),t;return Q;function Q(i){return t=i,I.enter("attentionSequence"),e(i)}function e(i){if(i===t)return I.consume(i),e;let E=I.exit("attentionSequence"),o=ep(i),r=!o||o===2&&B||g.includes(i),a=!B||B===2&&o||g.includes(C);return E._open=!!(t===42?r:r&&(B||!a)),E._close=!!(t===42?a:a&&(o||!r)),A(i)}}function kL(I,A){I.column+=A,I.offset+=A,I._bufferIndex+=A}var Qc,mL=V(()=>{Fe();SL();fd();Qc={name:"attention",resolveAll:z8,tokenize:$8}});function AV(I,A,g){let C=0;return B;function B(c){return I.enter("autolink"),I.enter("autolinkMarker"),I.consume(c),I.exit("autolinkMarker"),I.enter("autolinkProtocol"),t}function t(c){return XC(c)?(I.consume(c),Q):c===64?g(c):E(c)}function Q(c){return c===43||c===45||c===46||EC(c)?(C=1,e(c)):E(c)}function e(c){return c===58?(I.consume(c),C=0,i):(c===43||c===45||c===46||EC(c))&&C++<32?(I.consume(c),e):(C=0,E(c))}function i(c){return c===62?(I.exit("autolinkProtocol"),I.enter("autolinkMarker"),I.consume(c),I.exit("autolinkMarker"),I.exit("autolink"),A):c===null||c===32||c===60||Bc(c)?g(c):(I.consume(c),i)}function E(c){return c===64?(I.consume(c),o):dL(c)?(I.consume(c),E):g(c)}function o(c){return EC(c)?r(c):g(c)}function r(c){return c===46?(I.consume(c),C=0,o):c===62?(I.exit("autolinkProtocol").type="autolinkEmail",I.enter("autolinkMarker"),I.consume(c),I.exit("autolinkMarker"),I.exit("autolink"),A):a(c)}function a(c){if((c===45||EC(c))&&C++<63){let l=c===45?a:r;return I.consume(c),l}return g(c)}}var ip,ML=V(()=>{dg();ip={name:"autolink",tokenize:AV}});function gV(I,A,g){return C;function C(t){return bA(t)?xA(I,B,"linePrefix")(t):B(t)}function B(t){return t===null||nA(t)?A(t):g(t)}}var ke,pd=V(()=>{yI();dg();ke={partial:!0,tokenize:gV}});function IV(I,A,g){let C=this;return B;function B(Q){if(Q===62){let e=C.containerState;return e.open||(I.enter("blockQuote",{_container:!0}),e.open=!0),I.enter("blockQuotePrefix"),I.enter("blockQuoteMarker"),I.consume(Q),I.exit("blockQuoteMarker"),t}return g(Q)}function t(Q){return bA(Q)?(I.enter("blockQuotePrefixWhitespace"),I.consume(Q),I.exit("blockQuotePrefixWhitespace"),I.exit("blockQuotePrefix"),A):(I.exit("blockQuotePrefix"),A(Q))}}function CV(I,A,g){let C=this;return B;function B(Q){return bA(Q)?xA(I,t,"linePrefix",C.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):t(Q)}function t(Q){return I.attempt(Nd,A,g)(Q)}}function BV(I){I.exit("blockQuote")}var Nd,KL=V(()=>{yI();dg();Nd={continuation:{tokenize:CV},exit:BV,name:"blockQuote",tokenize:IV}});function tV(I,A,g){return C;function C(t){return I.enter("characterEscape"),I.enter("escapeMarker"),I.consume(t),I.exit("escapeMarker"),B}function B(t){return uL(t)?(I.enter("characterEscapeValue"),I.consume(t),I.exit("characterEscapeValue"),I.exit("characterEscape"),A):g(t)}}var Gd,LL=V(()=>{dg();Gd={name:"characterEscape",tokenize:tV}});function QV(I,A,g){let C=this,B=0,t,Q;return e;function e(r){return I.enter("characterReference"),I.enter("characterReferenceMarker"),I.consume(r),I.exit("characterReferenceMarker"),i}function i(r){return r===35?(I.enter("characterReferenceMarkerNumeric"),I.consume(r),I.exit("characterReferenceMarkerNumeric"),E):(I.enter("characterReferenceValue"),t=31,Q=EC,o(r))}function E(r){return r===88||r===120?(I.enter("characterReferenceMarkerHexadecimal"),I.consume(r),I.exit("characterReferenceMarkerHexadecimal"),I.enter("characterReferenceValue"),t=6,Q=wL,o):(I.enter("characterReferenceValue"),t=7,Q=tc,o(r))}function o(r){if(r===59&&B){let a=I.exit("characterReferenceValue");return Q===EC&&!Ps(C.sliceSerialize(a))?g(r):(I.enter("characterReferenceMarker"),I.consume(r),I.exit("characterReferenceMarker"),I.exit("characterReference"),A)}return Q(r)&&B++<t?(I.consume(r),o):g(r)}}var Rd,UL=V(()=>{yd();dg();Rd={name:"characterReference",tokenize:QV}});function eV(I,A,g){let C=this,B={partial:!0,tokenize:k},t=0,Q=0,e;return i;function i(N){return E(N)}function E(N){let L=C.events[C.events.length-1];return t=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,e=N,I.enter("codeFenced"),I.enter("codeFencedFence"),I.enter("codeFencedFenceSequence"),o(N)}function o(N){return N===e?(Q++,I.consume(N),o):Q<3?g(N):(I.exit("codeFencedFenceSequence"),bA(N)?xA(I,r,"whitespace")(N):r(N))}function r(N){return N===null||nA(N)?(I.exit("codeFencedFence"),C.interrupt?A(N):I.check(YL,w,Y)(N)):(I.enter("codeFencedFenceInfo"),I.enter("chunkString",{contentType:"string"}),a(N))}function a(N){return N===null||nA(N)?(I.exit("chunkString"),I.exit("codeFencedFenceInfo"),r(N)):bA(N)?(I.exit("chunkString"),I.exit("codeFencedFenceInfo"),xA(I,c,"whitespace")(N)):N===96&&N===e?g(N):(I.consume(N),a)}function c(N){return N===null||nA(N)?r(N):(I.enter("codeFencedFenceMeta"),I.enter("chunkString",{contentType:"string"}),l(N))}function l(N){return N===null||nA(N)?(I.exit("chunkString"),I.exit("codeFencedFenceMeta"),r(N)):N===96&&N===e?g(N):(I.consume(N),l)}function w(N){return I.attempt(B,Y,u)(N)}function u(N){return I.enter("lineEnding"),I.consume(N),I.exit("lineEnding"),f}function f(N){return t>0&&bA(N)?xA(I,m,"linePrefix",t+1)(N):m(N)}function m(N){return N===null||nA(N)?I.check(YL,w,Y)(N):(I.enter("codeFlowValue"),M(N))}function M(N){return N===null||nA(N)?(I.exit("codeFlowValue"),m(N)):(I.consume(N),M)}function Y(N){return I.exit("codeFenced"),A(N)}function k(N,L,J){let T=0;return b;function b(AA){return N.enter("lineEnding"),N.consume(AA),N.exit("lineEnding"),d}function d(AA){return N.enter("codeFencedFence"),bA(AA)?xA(N,W,"linePrefix",C.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(AA):W(AA)}function W(AA){return AA===e?(N.enter("codeFencedFenceSequence"),Z(AA)):J(AA)}function Z(AA){return AA===e?(T++,N.consume(AA),Z):T>=Q?(N.exit("codeFencedFenceSequence"),bA(AA)?xA(N,X,"whitespace")(AA):X(AA)):J(AA)}function X(AA){return AA===null||nA(AA)?(N.exit("codeFencedFence"),L(AA)):J(AA)}}}function iV(I,A,g){let C=this;return B;function B(Q){return Q===null?g(Q):(I.enter("lineEnding"),I.consume(Q),I.exit("lineEnding"),t)}function t(Q){return C.parser.lazy[C.now().line]?g(Q):A(Q)}}var YL,Fd,JL=V(()=>{yI();dg();YL={partial:!0,tokenize:iV},Fd={concrete:!0,name:"codeFenced",tokenize:eV}});function oV(I,A,g){let C=this;return B;function B(E){return I.enter("codeIndented"),xA(I,t,"linePrefix",5)(E)}function t(E){let o=C.events[C.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?Q(E):g(E)}function Q(E){return E===null?i(E):nA(E)?I.attempt(EV,Q,i)(E):(I.enter("codeFlowValue"),e(E))}function e(E){return E===null||nA(E)?(I.exit("codeFlowValue"),Q(E)):(I.consume(E),e)}function i(E){return I.exit("codeIndented"),A(E)}}function sV(I,A,g){let C=this;return B;function B(Q){return C.parser.lazy[C.now().line]?g(Q):nA(Q)?(I.enter("lineEnding"),I.consume(Q),I.exit("lineEnding"),B):xA(I,t,"linePrefix",5)(Q)}function t(Q){let e=C.events[C.events.length-1];return e&&e[1].type==="linePrefix"&&e[2].sliceSerialize(e[1],!0).length>=4?A(Q):nA(Q)?B(Q):g(Q)}}var ec,EV,HL=V(()=>{yI();dg();ec={name:"codeIndented",tokenize:oV},EV={partial:!0,tokenize:sV}});function rV(I){let A=I.length-4,g=3,C,B;if((I[g][1].type==="lineEnding"||I[g][1].type==="space")&&(I[A][1].type==="lineEnding"||I[A][1].type==="space")){for(C=g;++C<A;)if(I[C][1].type==="codeTextData"){I[g][1].type="codeTextPadding",I[A][1].type="codeTextPadding",g+=2,A-=2;break}}for(C=g-1,A++;++C<=A;)B===void 0?C!==A&&I[C][1].type!=="lineEnding"&&(B=C):(C===A||I[C][1].type==="lineEnding")&&(I[B][1].type="codeTextData",C!==B+2&&(I[B][1].end=I[C-1][1].end,I.splice(B+2,C-B-2),A-=C-B-2,C=B+2),B=void 0);return I}function nV(I){return I!==96||this.events[this.events.length-1][1].type==="characterEscape"}function aV(I,A,g){let C=this,B=0,t,Q;return e;function e(a){return I.enter("codeText"),I.enter("codeTextSequence"),i(a)}function i(a){return a===96?(I.consume(a),B++,i):(I.exit("codeTextSequence"),E(a))}function E(a){return a===null?g(a):a===32?(I.enter("space"),I.consume(a),I.exit("space"),E):a===96?(Q=I.enter("codeTextSequence"),t=0,r(a)):nA(a)?(I.enter("lineEnding"),I.consume(a),I.exit("lineEnding"),E):(I.enter("codeTextData"),o(a))}function o(a){return a===null||a===32||a===96||nA(a)?(I.exit("codeTextData"),E(a)):(I.consume(a),o)}function r(a){return a===96?(I.consume(a),t++,r):t===B?(I.exit("codeTextSequence"),I.exit("codeText"),A(a)):(Q.type="codeTextData",o(a))}}var Ep,bL=V(()=>{dg();Ep={name:"codeText",previous:nV,resolve:rV,tokenize:aV}});function ic(I,A){let g=0;if(A.length<1e4)I.push(...A);else for(;g<A.length;)I.push(...A.slice(g,g+1e4)),g+=1e4}var Sd,xL=V(()=>{Sd=class{constructor(A){this.left=A?[...A]:[],this.right=[]}get(A){if(A<0||A>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+A+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return A<this.left.length?this.left[A]:this.right[this.right.length-A+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(A,g){let C=g??Number.POSITIVE_INFINITY;return C<this.left.length?this.left.slice(A,C):A>this.left.length?this.right.slice(this.right.length-C+this.left.length,this.right.length-A+this.left.length).reverse():this.left.slice(A).concat(this.right.slice(this.right.length-C+this.left.length).reverse())}splice(A,g,C){let B=g||0;this.setCursor(Math.trunc(A));let t=this.right.splice(this.right.length-B,Number.POSITIVE_INFINITY);return C&&ic(this.left,C),t.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(A){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(A)}pushMany(A){this.setCursor(Number.POSITIVE_INFINITY),ic(this.left,A)}unshift(A){this.setCursor(0),this.right.push(A)}unshiftMany(A){this.setCursor(0),ic(this.right,A.reverse())}setCursor(A){if(!(A===this.left.length||A>this.left.length&&this.right.length===0||A<0&&this.left.length===0))if(A<this.left.length){let g=this.left.splice(A,Number.POSITIVE_INFINITY);ic(this.right,g.reverse())}else{let g=this.right.splice(this.left.length+this.right.length-A,Number.POSITIVE_INFINITY);ic(this.left,g.reverse())}}}});function kd(I){let A={},g=-1,C,B,t,Q,e,i,E,o=new Sd(I);for(;++g<o.length;){for(;g in A;)g=A[g];if(C=o.get(g),g&&C[1].type==="chunkFlow"&&o.get(g-1)[1].type==="listItemPrefix"&&(i=C[1]._tokenizer.events,t=0,t<i.length&&i[t][1].type==="lineEndingBlank"&&(t+=2),t<i.length&&i[t][1].type==="content"))for(;++t<i.length&&i[t][1].type!=="content";)i[t][1].type==="chunkText"&&(i[t][1]._isInFirstContentOfListItem=!0,t++);if(C[0]==="enter")C[1].contentType&&(Object.assign(A,cV(o,g)),g=A[g],E=!0);else if(C[1]._container){for(t=g,B=void 0;t--;)if(Q=o.get(t),Q[1].type==="lineEnding"||Q[1].type==="lineEndingBlank")Q[0]==="enter"&&(B&&(o.get(B)[1].type="lineEndingBlank"),Q[1].type="lineEnding",B=t);else if(!(Q[1].type==="linePrefix"||Q[1].type==="listItemIndent"))break;B&&(C[1].end={...o.get(B)[1].start},e=o.slice(B,g),e.unshift(C),o.splice(B,g-B+1,e))}}return KI(I,0,