UNPKG

trieve-search-component

Version:

The easiest way to get up and running in your app using trieve search.

2 lines 831 kB
var uN=Object.create;var Up=Object.defineProperty;var hN=Object.getOwnPropertyDescriptor;var dN=Object.getOwnPropertyNames;var fN=Object.getPrototypeOf,pN=Object.prototype.hasOwnProperty;var n1=n=>{throw TypeError(n)};var mN=(n,t,e)=>t in n?Up(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var gN=(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(t,e)=>(typeof require<"u"?require:t)[e]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')});var D=(n,t)=>()=>(n&&(t=n(n=0)),t);var Nh=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),Sv=(n,t)=>{for(var e in t)Up(n,e,{get:t[e],enumerable:!0})},yN=(n,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of dN(t))!pN.call(n,r)&&r!==e&&Up(n,r,{get:()=>t[r],enumerable:!(i=hN(t,r))||i.enumerable});return n};var i1=(n,t,e)=>(e=n!=null?uN(fN(n)):{},yN(t||!n||!n.__esModule?Up(e,"default",{value:n,enumerable:!0}):e,n));var nt=(n,t,e)=>mN(n,typeof t!="symbol"?t+"":t,e),Cv=(n,t,e)=>t.has(n)||n1("Cannot "+e);var h=(n,t,e)=>(Cv(n,t,"read from private field"),e?e.call(n):t.get(n)),x=(n,t,e)=>t.has(n)?n1("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),v=(n,t,e,i)=>(Cv(n,t,"write to private field"),i?i.call(n,e):t.set(n,e),e),A=(n,t,e)=>(Cv(n,t,"access private method"),e);var An=(n,t,e,i)=>({set _(r){v(n,t,r,e)},get _(){return h(n,t,i)}});function OM(n){return n!==null&&(n<0||n===32)}function Qo(n){return t;function t(e){return e!==null&&e>-1&&n.test(String.fromCharCode(e))}}var Gct,qct,$ct,Wct,Kct,Xct,BM,VM,zM=D(()=>{Gct=Qo(/[A-Za-z]/),qct=Qo(/[\dA-Za-z]/),$ct=Qo(/[#-'*+\--9=?A-Z^-~]/),Wct=Qo(/\d/),Kct=Qo(/[\dA-Fa-f]/),Xct=Qo(/[!-/:-@[-`{-~]/);BM=Qo(/\p{P}|\p{S}/u),VM=Qo(/\s/)});function Hs(n){if(n===null||OM(n)||VM(n))return 1;if(BM(n))return 2}var Eb=D(()=>{zM()});function gj(n){let t=[],e=-1;for(;++e<n.length;)t[e]=Tb(n[e]);return Ib(i);function i(...r){let o=-1;for(;++o<t.length;)if(t[o].apply(this,r))return!0;return!1}}function yj(n){let t=n;return Ib(e);function e(i){let r=i,o;for(o in n)if(r[o]!==t[o])return!1;return!0}}function bj(n){return Ib(t);function t(e){return e&&e.type===n}}function Ib(n){return t;function t(e,i,r){return!!(xj(e)&&n.call(this,e,typeof i=="number"?i:void 0,r||void 0))}}function vj(){return!0}function xj(n){return n!==null&&typeof n=="object"&&"type"in n}var Tb,HM=D(()=>{Tb=function(n){if(n==null)return vj;if(typeof n=="function")return Ib(n);if(typeof n=="object")return Array.isArray(n)?gj(n):yj(n);if(typeof n=="string")return bj(n);throw new Error("Expected function, string, or object as test")}});var jM=D(()=>{HM()});function qA(n,t,e,i){let r;typeof t=="function"&&typeof e!="function"?(i=e,e=t):r=t;let o=Tb(r),s=i?-1:1;a(n,void 0,[])();function a(l,c,u){let d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){let p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=UM,m,g,b;if((!t||o(l,c,u[u.length-1]||void 0))&&(p=wj(e(l,u)),p[0]===Gl))return p;if("children"in l&&l.children){let y=l;if(y.children&&p[0]!==Mb)for(g=(i?y.children.length:-1)+s,b=u.concat(y);g>-1&&g<y.children.length;){let w=y.children[g];if(m=a(w,g,b)(),m[0]===Gl)return m;g=typeof m[1]=="number"?m[1]:g+s}}return p}}}function wj(n){return Array.isArray(n)?n:typeof n=="number"?[Pb,n]:n==null?UM:[n]}var UM,Pb,Gl,Mb,GM=D(()=>{jM();UM=[],Pb=!0,Gl=!1,Mb="skip"});var $A=D(()=>{GM()});function ql(n,t,e,i){let r,o,s;typeof t=="function"&&typeof e!="function"?(o=void 0,s=t,r=e):(o=t,s=e,r=i),qA(n,o,a,r);function a(l,c){let u=c[c.length-1],d=u?u.children.indexOf(l):void 0;return s(l,d,u)}}var qM=D(()=>{$A();$A()});var Lb=D(()=>{qM()});function wh(n){let t="&"+n+";";a2.innerHTML=t;let e=a2.textContent;return e.charCodeAt(e.length-1)===59&&n!=="semi"||e===t?!1:e}var a2,Nb=D(()=>{a2=document.createElement("i")});function Jo(n){return t;function t(e){return e!==null&&e>-1&&n.test(String.fromCharCode(e))}}var udt,dk,hdt,ddt,fdt,pdt,mdt,gdt,x2=D(()=>{udt=Jo(/[A-Za-z]/),dk=Jo(/[\dA-Za-z]/),hdt=Jo(/[#-'*+\--9=?A-Z^-~]/),ddt=Jo(/\d/),fdt=Jo(/[\dA-Fa-f]/),pdt=Jo(/[!-/:-@[-`{-~]/),mdt=Jo(/\p{P}|\p{S}/u),gdt=Jo(/\s/)});function Fi(n){let t=[],e=-1,i=0,r=0;for(;++e<n.length;){let o=n.charCodeAt(e),s="";if(o===37&&dk(n.charCodeAt(e+1))&&dk(n.charCodeAt(e+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let a=n.charCodeAt(e+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),r=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(t.push(n.slice(i,e),encodeURIComponent(s)),i=e+r+1,s=""),r&&(e+=r,r=0)}return t.join("")+n.slice(i)}var Wl=D(()=>{x2()});function I2(n,t){let e=t||{};return(n[n.length-1]===""?[...n,""]:n).join((e.padRight?" ":"")+","+(e.padLeft===!1?"":" ")).trim()}var P2=D(()=>{});function zb(n,t){return((t||kU).jsx?AU:wU).test(n)}var wU,AU,kU,M2=D(()=>{wU=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,AU=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,kU={}});var L2=D(()=>{M2()});function wk(n){return typeof n=="object"?n.type==="text"?D2(n.value):!1:D2(n)}function D2(n){return n.replace(SU,"")===""}var SU,R2=D(()=>{SU=/[ \t\n\f\r]/g});var F2=D(()=>{R2()});var Us,Ak=D(()=>{Us=class{constructor(t,e,i){this.normal=e,this.property=t,i&&(this.space=i)}};Us.prototype.normal={};Us.prototype.property={};Us.prototype.space=void 0});function kk(n,t){let e={},i={};for(let r of n)Object.assign(e,r.property),Object.assign(i,r.normal);return new Us(e,i,t)}var N2=D(()=>{Ak()});function Ap(n){return n.toLowerCase()}var Sk=D(()=>{});var $e,Ck=D(()=>{$e=class{constructor(t,e){this.attribute=e,this.property=t}};$e.prototype.attribute="";$e.prototype.booleanish=!1;$e.prototype.boolean=!1;$e.prototype.commaOrSpaceSeparated=!1;$e.prototype.commaSeparated=!1;$e.prototype.defined=!1;$e.prototype.mustUseProperty=!1;$e.prototype.number=!1;$e.prototype.overloadedBoolean=!1;$e.prototype.property="";$e.prototype.spaceSeparated=!1;$e.prototype.space=void 0});var kp={};Sv(kp,{boolean:()=>gt,booleanish:()=>me,commaOrSpaceSeparated:()=>Yn,commaSeparated:()=>Zo,number:()=>H,overloadedBoolean:()=>_k,spaceSeparated:()=>Ut});function Kl(){return 2**++CU}var CU,gt,me,_k,H,Ut,Zo,Yn,Sp=D(()=>{CU=0,gt=Kl(),me=Kl(),_k=Kl(),H=Kl(),Ut=Kl(),Zo=Kl(),Yn=Kl()});function O2(n,t,e){e&&(n[t]=e)}var Ek,Xl,Tk=D(()=>{Ck();Sp();Ek=Object.keys(kp),Xl=class extends $e{constructor(t,e,i,r){let o=-1;if(super(t,e),O2(this,"space",r),typeof i=="number")for(;++o<Ek.length;){let s=Ek[o];O2(this,Ek[o],(i&kp[s])===kp[s])}}};Xl.prototype.defined=!0});function Oi(n){let t={},e={};for(let[i,r]of Object.entries(n.properties)){let o=new Xl(i,n.transform(n.attributes||{},i),r,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,e[Ap(i)]=i,e[Ap(o.attribute)]=i}return new Us(t,e,n.space)}var Yl=D(()=>{Sk();Tk();Ak()});var Ik,B2=D(()=>{Yl();Sp();Ik=Oi({properties:{ariaActiveDescendant:null,ariaAtomic:me,ariaAutoComplete:null,ariaBusy:me,ariaChecked:me,ariaColCount:H,ariaColIndex:H,ariaColSpan:H,ariaControls:Ut,ariaCurrent:null,ariaDescribedBy:Ut,ariaDetails:null,ariaDisabled:me,ariaDropEffect:Ut,ariaErrorMessage:null,ariaExpanded:me,ariaFlowTo:Ut,ariaGrabbed:me,ariaHasPopup:null,ariaHidden:me,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ut,ariaLevel:H,ariaLive:null,ariaModal:me,ariaMultiLine:me,ariaMultiSelectable:me,ariaOrientation:null,ariaOwns:Ut,ariaPlaceholder:null,ariaPosInSet:H,ariaPressed:me,ariaReadOnly:me,ariaRelevant:null,ariaRequired:me,ariaRoleDescription:Ut,ariaRowCount:H,ariaRowIndex:H,ariaRowSpan:H,ariaSelected:me,ariaSetSize:H,ariaSort:null,ariaValueMax:H,ariaValueMin:H,ariaValueNow:H,ariaValueText:null,role:null},transform(n,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}})});function Hb(n,t){return t in n?n[t]:t}var Pk=D(()=>{});function jb(n,t){return Hb(n,t.toLowerCase())}var Mk=D(()=>{Pk()});var V2,z2=D(()=>{Mk();Yl();Sp();V2=Oi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zo,acceptCharset:Ut,accessKey:Ut,action:null,allow:null,allowFullScreen:gt,allowPaymentRequest:gt,allowUserMedia:gt,alt:null,as:null,async:gt,autoCapitalize:null,autoComplete:Ut,autoFocus:gt,autoPlay:gt,blocking:Ut,capture:null,charSet:null,checked:gt,cite:null,className:Ut,cols:H,colSpan:null,content:null,contentEditable:me,controls:gt,controlsList:Ut,coords:H|Zo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:gt,defer:gt,dir:null,dirName:null,disabled:gt,download:_k,draggable:me,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:gt,formTarget:null,headers:Ut,height:H,hidden:gt,high:H,href:null,hrefLang:null,htmlFor:Ut,httpEquiv:Ut,id:null,imageSizes:null,imageSrcSet:null,inert:gt,inputMode:null,integrity:null,is:null,isMap:gt,itemId:null,itemProp:Ut,itemRef:Ut,itemScope:gt,itemType:Ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:gt,low:H,manifest:null,max:null,maxLength:H,media:null,method:null,min:null,minLength:H,multiple:gt,muted:gt,name:null,nonce:null,noModule:gt,noValidate:gt,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:gt,optimum:H,pattern:null,ping:Ut,placeholder:null,playsInline:gt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:gt,referrerPolicy:null,rel:Ut,required:gt,reversed:gt,rows:H,rowSpan:H,sandbox:Ut,scope:null,scoped:gt,seamless:gt,selected:gt,shadowRootClonable:gt,shadowRootDelegatesFocus:gt,shadowRootMode:null,shape:null,size:H,sizes:null,slot:null,span:H,spellCheck:me,src:null,srcDoc:null,srcLang:null,srcSet:null,start:H,step:null,style:null,tabIndex:H,target:null,title:null,translate:null,type:null,typeMustMatch:gt,useMap:null,value:me,width:H,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ut,axis:null,background:null,bgColor:null,border:H,borderColor:null,bottomMargin:H,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:gt,declare:gt,event:null,face:null,frame:null,frameBorder:null,hSpace:H,leftMargin:H,link:null,longDesc:null,lowSrc:null,marginHeight:H,marginWidth:H,noResize:gt,noHref:gt,noShade:gt,noWrap:gt,object:null,profile:null,prompt:null,rev:null,rightMargin:H,rules:null,scheme:null,scrolling:me,standby:null,summary:null,text:null,topMargin:H,valueType:null,version:null,vAlign:null,vLink:null,vSpace:H,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:gt,disableRemotePlayback:gt,prefix:null,property:null,results:H,security:null,unselectable:null},space:"html",transform:jb})});var H2,j2=D(()=>{Pk();Yl();Sp();H2=Oi({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:Yn,accentHeight:H,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:H,amplitude:H,arabicForm:null,ascent:H,attributeName:null,attributeType:null,azimuth:H,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:H,by:null,calcMode:null,capHeight:H,className:Ut,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:H,diffuseConstant:H,direction:null,display:null,dur:null,divisor:H,dominantBaseline:null,download:gt,dx:null,dy:null,edgeMode:null,editable:null,elevation:H,enableBackground:null,end:null,event:null,exponent:H,externalResourcesRequired:null,fill:null,fillOpacity:H,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:Zo,g2:Zo,glyphName:Zo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:H,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:H,horizOriginX:H,horizOriginY:H,id:null,ideographic:H,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:H,k:H,k1:H,k2:H,k3:H,k4:H,kernelMatrix:Yn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:H,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:H,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:H,overlineThickness:H,paintOrder:null,panose1:null,path:null,pathLength:H,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:H,pointsAtY:H,pointsAtZ:H,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Yn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Yn,rev:Yn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Yn,requiredFeatures:Yn,requiredFonts:Yn,requiredFormats:Yn,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:H,specularExponent:H,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:H,strikethroughThickness:H,string:null,stroke:null,strokeDashArray:Yn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:H,strokeOpacity:H,strokeWidth:null,style:null,surfaceScale:H,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Yn,tabIndex:H,tableValues:null,target:null,targetX:H,targetY:H,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Yn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:H,underlineThickness:H,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:H,values:null,vAlphabetic:H,vMathematical:H,vectorEffect:null,vHanging:H,vIdeographic:H,version:null,vertAdvY:H,vertOriginX:H,vertOriginY:H,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:H,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Hb})});var Lk,U2=D(()=>{Yl();Lk=Oi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,t){return"xlink:"+t.slice(5).toLowerCase()}})});var Dk,G2=D(()=>{Yl();Mk();Dk=Oi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:jb})});var Rk,q2=D(()=>{Yl();Rk=Oi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,t){return"xml:"+t.slice(3).toLowerCase()}})});var Fk,$2=D(()=>{Fk={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 Nk(n,t){let e=Ap(t),i=t,r=$e;if(e in n.normal)return n.property[n.normal[e]];if(e.length>4&&e.slice(0,4)==="data"&&EU.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(W2,IU);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!W2.test(o)){let s=o.replace(_U,TU);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}r=Xl}return new r(i,t)}function TU(n){return"-"+n.toLowerCase()}function IU(n){return n.charAt(1).toUpperCase()}var _U,W2,EU,K2=D(()=>{Tk();Ck();Sk();_U=/[A-Z]/g,W2=/-[a-z]/g,EU=/^data[-\w.:]+$/i});var X2,Ub,Y2=D(()=>{N2();B2();z2();j2();U2();G2();q2();$2();K2();X2=kk([Ik,V2,Lk,Dk,Rk],"html"),Ub=kk([Ik,H2,Lk,Dk,Rk],"svg")});function Q2(n){return n.join(" ").trim()}var J2=D(()=>{});var rL=Nh((Opt,iL)=>{var Z2=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,PU=/\n/g,MU=/^\s*/,LU=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,DU=/^:\s*/,RU=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,FU=/^[;\s]*/,NU=/^\s+|\s+$/g,OU=` `,tL="/",eL="*",Ql="",BU="comment",VU="declaration";iL.exports=function(n,t){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];t=t||{};var e=1,i=1;function r(g){var b=g.match(PU);b&&(e+=b.length);var y=g.lastIndexOf(OU);i=~y?g.length-y:i+g.length}function o(){var g={line:e,column:i};return function(b){return b.position=new s(g),u(),b}}function s(g){this.start=g,this.end={line:e,column:i},this.source=t.source}s.prototype.content=n;var a=[];function l(g){var b=new Error(t.source+":"+e+":"+i+": "+g);if(b.reason=g,b.filename=t.source,b.line=e,b.column=i,b.source=n,t.silent)a.push(b);else throw b}function c(g){var b=g.exec(n);if(b){var y=b[0];return r(y),n=n.slice(y.length),b}}function u(){c(MU)}function d(g){var b;for(g=g||[];b=f();)b!==!1&&g.push(b);return g}function f(){var g=o();if(!(tL!=n.charAt(0)||eL!=n.charAt(1))){for(var b=2;Ql!=n.charAt(b)&&(eL!=n.charAt(b)||tL!=n.charAt(b+1));)++b;if(b+=2,Ql===n.charAt(b-1))return l("End of comment missing");var y=n.slice(2,b-2);return i+=2,r(y),n=n.slice(b),i+=2,g({type:BU,comment:y})}}function p(){var g=o(),b=c(LU);if(b){if(f(),!c(DU))return l("property missing ':'");var y=c(RU),w=g({type:VU,property:nL(b[0].replace(Z2,Ql)),value:y?nL(y[0].replace(Z2,Ql)):Ql});return c(FU),w}}function m(){var g=[];d(g);for(var b;b=p();)b!==!1&&(g.push(b),d(g));return g}return u(),m()};function nL(n){return n?n.replace(NU,Ql):Ql}});var sL=Nh(Cp=>{"use strict";var zU=Cp&&Cp.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=jU;var HU=zU(rL());function jU(n,t){var e=null;if(!n||typeof n!="string")return e;var i=(0,HU.default)(n),r=typeof t=="function";return i.forEach(function(o){if(o.type==="declaration"){var s=o.property,a=o.value;r?t(s,a,o):a&&(e=e||{},e[s]=a)}}),e}});var aL=Nh(Gb=>{"use strict";Object.defineProperty(Gb,"__esModule",{value:!0});Gb.camelCase=void 0;var UU=/^--[a-zA-Z0-9_-]+$/,GU=/-([a-z])/g,qU=/^[^-]+$/,$U=/^-(webkit|moz|ms|o|khtml)-/,WU=/^-(ms)-/,KU=function(n){return!n||qU.test(n)||UU.test(n)},XU=function(n,t){return t.toUpperCase()},oL=function(n,t){return"".concat(t,"-")},YU=function(n,t){return t===void 0&&(t={}),KU(n)?n:(n=n.toLowerCase(),t.reactCompat?n=n.replace(WU,oL):n=n.replace($U,oL),n.replace(GU,XU))};Gb.camelCase=YU});var cL=Nh((Bk,lL)=>{"use strict";var QU=Bk&&Bk.__importDefault||function(n){return n&&n.__esModule?n:{default:n}},JU=QU(sL()),ZU=aL();function Ok(n,t){var e={};return!n||typeof n!="string"||(0,JU.default)(n,function(i,r){i&&r&&(e[(0,ZU.camelCase)(i,t)]=r)}),e}Ok.default=Ok;lL.exports=Ok});function uL(n){return t;function t(e){let i=e&&e.position&&e.position[n]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Vk(n){let t=Sh(n),e=qb(n);if(t&&e)return{start:t,end:e}}var qb,Sh,hL=D(()=>{qb=uL("end"),Sh=uL("start")});var $b=D(()=>{hL()});function Hk(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?dL(n.position):"start"in n||"end"in n?dL(n):"line"in n||"column"in n?zk(n):""}function zk(n){return fL(n&&n.line)+":"+fL(n&&n.column)}function dL(n){return zk(n&&n.start)+"-"+zk(n&&n.end)}function fL(n){return n&&typeof n=="number"?n:1}var pL=D(()=>{});var mL=D(()=>{pL()});var we,gL=D(()=>{mL();we=class extends Error{constructor(t,e,i){super(),typeof e=="string"&&(i=e,e=void 0);let r="",o={},s=!1;if(e&&("line"in e&&"column"in e?o={place:e}:"start"in e&&"end"in e?o={place:e}:"type"in e?o={ancestors:[e],place:e.position}:o={...e}),typeof t=="string"?r=t:!o.cause&&t&&(s=!0,r=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=Hk(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};we.prototype.file="";we.prototype.name="";we.prototype.reason="";we.prototype.message="";we.prototype.stack="";we.prototype.column=void 0;we.prototype.line=void 0;we.prototype.ancestors=void 0;we.prototype.cause=void 0;we.prototype.fatal=void 0;we.prototype.place=void 0;we.prototype.ruleId=void 0;we.prototype.source=void 0});var jk=D(()=>{gL()});function Gk(n,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let e=t.filePath||void 0,i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=hG(e,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=uG(e,t.jsx,t.jsxs)}let r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:e,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ub:X2,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=vL(r,n,void 0);return o&&typeof o!="string"?o:r.create(n,r.Fragment,{children:o||void 0},void 0)}function vL(n,t,e){if(t.type==="element")return rG(n,t,e);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return sG(n,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return aG(n,t,e);if(t.type==="mdxjsEsm")return oG(n,t);if(t.type==="root")return lG(n,t,e);if(t.type==="text")return cG(n,t)}function rG(n,t,e){let i=n.schema,r=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=Ub,n.schema=r),n.ancestors.push(t);let o=wL(n,t.tagName,!1),s=dG(n,t),a=$k(n,t);return nG.has(t.tagName)&&(a=a.filter(function(l){return typeof l=="string"?!wk(l):!0})),xL(n,s,o,t),qk(s,a),n.ancestors.pop(),n.schema=i,n.create(t,o,s,e)}function sG(n,t){if(t.data&&t.data.estree&&n.evaluater){let i=t.data.estree.body[0];return i.type,n.evaluater.evaluateExpression(i.expression)}_p(n,t.position)}function oG(n,t){if(t.data&&t.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(t.data.estree);_p(n,t.position)}function aG(n,t,e){let i=n.schema,r=i;t.name==="svg"&&i.space==="html"&&(r=Ub,n.schema=r),n.ancestors.push(t);let o=t.name===null?n.Fragment:wL(n,t.name,!0),s=fG(n,t),a=$k(n,t);return xL(n,s,o,t),qk(s,a),n.ancestors.pop(),n.schema=i,n.create(t,o,s,e)}function lG(n,t,e){let i={};return qk(i,$k(n,t)),n.create(t,n.Fragment,i,e)}function cG(n,t){return t.value}function xL(n,t,e,i){typeof e!="string"&&e!==n.Fragment&&n.passNode&&(t.node=i)}function qk(n,t){if(t.length>0){let e=t.length>1?t:t[0];e&&(n.children=e)}}function uG(n,t,e){return i;function i(r,o,s,a){let c=Array.isArray(s.children)?e:t;return a?c(o,s,a):c(o,s)}}function hG(n,t){return e;function e(i,r,o,s){let a=Array.isArray(o.children),l=Sh(i);return t(r,o,s,a,{columnNumber:l?l.column-1:void 0,fileName:n,lineNumber:l?l.line:void 0},void 0)}}function dG(n,t){let e={},i,r;for(r in t.properties)if(r!=="children"&&Uk.call(t.properties,r)){let o=pG(n,r,t.properties[r]);if(o){let[s,a]=o;n.tableCellAlignToStyle&&s==="align"&&typeof a=="string"&&iG.has(t.tagName)?i=a:e[s]=a}}if(i){let o=e.style||(e.style={});o[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return e}function fG(n,t){let e={};for(let i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&n.evaluater){let o=i.data.estree.body[0];o.type;let s=o.expression;s.type;let a=s.properties[0];a.type,Object.assign(e,n.evaluater.evaluateExpression(a.argument))}else _p(n,t.position);else{let r=i.name,o;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&n.evaluater){let a=i.value.data.estree.body[0];a.type,o=n.evaluater.evaluateExpression(a.expression)}else _p(n,t.position);else o=i.value===null?!0:i.value;e[r]=o}return e}function $k(n,t){let e=[],i=-1,r=n.passKeys?new Map:tG;for(;++i<t.children.length;){let o=t.children[i],s;if(n.passKeys){let l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){let c=r.get(l)||0;s=l+"-"+c,r.set(l,c+1)}}let a=vL(n,o,s);a!==void 0&&e.push(a)}return e}function pG(n,t,e){let i=Nk(n.schema,t);if(!(e==null||typeof e=="number"&&Number.isNaN(e))){if(Array.isArray(e)&&(e=i.commaSeparated?I2(e):Q2(e)),i.property==="style"){let r=typeof e=="object"?e:mG(n,String(e));return n.stylePropertyNameCase==="css"&&(r=gG(r)),["style",r]}return[n.elementAttributeNameCase==="react"&&i.space?Fk[i.property]||i.property:i.attribute,e]}}function mG(n,t){try{return(0,yL.default)(t,{reactCompat:!0})}catch(e){if(n.ignoreInvalidStyle)return{};let i=e,r=new we("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=n.filePath||void 0,r.url=bL+"#cannot-parse-style-attribute",r}}function wL(n,t,e){let i;if(!e)i={type:"Literal",value:t};else if(t.includes(".")){let r=t.split("."),o=-1,s;for(;++o<r.length;){let a=zb(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};s=s?{type:"MemberExpression",object:s,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}i=s}else i=zb(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){let r=i.value;return Uk.call(n.components,r)?n.components[r]:r}if(n.evaluater)return n.evaluater.evaluateExpression(i);_p(n)}function _p(n,t){let e=new we("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw e.file=n.filePath||void 0,e.url=bL+"#cannot-handle-mdx-estrees-without-createevaluater",e}function gG(n){let t={},e;for(e in n)Uk.call(n,e)&&(t[yG(e)]=n[e]);return t}function yG(n){let t=n.replace(eG,bG);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function bG(n){return"-"+n.toLowerCase()}var yL,Uk,tG,eG,nG,iG,bL,AL=D(()=>{P2();L2();F2();Y2();J2();yL=i1(cL(),1);$b();jk();Uk={}.hasOwnProperty,tG=new Map,eG=/[A-Z]/g,nG=new Set(["table","tbody","thead","tfoot","tr"]),iG=new Set(["td","th"]),bL="https://github.com/syntax-tree/hast-util-to-jsx-runtime"});var kL=D(()=>{AL()});var Ep,SL=D(()=>{Ep={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 CL=D(()=>{SL()});function Wk(n,t){let e=t||vG,i=typeof e.includeImageAlt=="boolean"?e.includeImageAlt:!0,r=typeof e.includeHtml=="boolean"?e.includeHtml:!0;return EL(n,i,r)}function EL(n,t,e){if(xG(n)){if("value"in n)return n.type==="html"&&!e?"":n.value;if(t&&"alt"in n&&n.alt)return n.alt;if("children"in n)return _L(n.children,t,e)}return Array.isArray(n)?_L(n,t,e):""}function _L(n,t,e){let i=[],r=-1;for(;++r<n.length;)i[r]=EL(n[r],t,e);return i.join("")}function xG(n){return!!(n&&typeof n=="object")}var vG,TL=D(()=>{vG={}});var IL=D(()=>{TL()});function on(n,t,e,i){let r=n.length,o=0,s;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,e=e>0?e:0,i.length<1e4)s=Array.from(i),s.unshift(t,e),n.splice(...s);else for(e&&n.splice(t,e);o<i.length;)s=i.slice(o,o+1e4),s.unshift(t,0),n.splice(...s),o+=1e4,t+=1e4}function Rn(n,t){return n.length>0?(on(n,n.length,0,t),n):t}var ta=D(()=>{});function ML(n){let t={},e=-1;for(;++e<n.length;)wG(t,n[e]);return t}function wG(n,t){let e;for(e in t){let r=(PL.call(n,e)?n[e]:void 0)||(n[e]={}),o=t[e],s;if(o)for(s in o){PL.call(r,s)||(r[s]=[]);let a=o[s];AG(r[s],Array.isArray(a)?a:a?[a]:[])}}}function AG(n,t){let e=-1,i=[];for(;++e<t.length;)(t[e].add==="after"?n:i).push(t[e]);on(n,0,0,i)}var PL,LL=D(()=>{ta();PL={}.hasOwnProperty});function Tp(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Kk=D(()=>{});function Ip(n){return n!==null&&(n<32||n===127)}function Y(n){return n!==null&&n<-2}function Ne(n){return n!==null&&(n<0||n===32)}function yt(n){return n===-2||n===-1||n===32}function ea(n){return t;function t(e){return e!==null&&e>-1&&n.test(String.fromCharCode(e))}}var xi,Fn,DL,Pp,RL,FL,gmt,ymt,Xt=D(()=>{xi=ea(/[A-Za-z]/),Fn=ea(/[\dA-Za-z]/),DL=ea(/[#-'*+\--9=?A-Z^-~]/);Pp=ea(/\d/),RL=ea(/[\dA-Fa-f]/),FL=ea(/[!-/:-@[-`{-~]/);gmt=ea(/\p{P}|\p{S}/u),ymt=ea(/\s/)});function bt(n,t,e,i){let r=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return yt(l)?(n.enter(e),a(l)):t(l)}function a(l){return yt(l)&&o++<r?(n.consume(l),a):(n.exit(e),t(l))}}var We=D(()=>{Xt()});function kG(n){let t=n.attempt(this.parser.constructs.contentInitial,i,r),e;return t;function i(a){if(a===null){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),bt(n,t,"linePrefix")}function r(a){return n.enter("paragraph"),o(a)}function o(a){let l=n.enter("chunkText",{contentType:"text",previous:e});return e&&(e.next=l),e=l,s(a)}function s(a){if(a===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(a);return}return Y(a)?(n.consume(a),n.exit("chunkText"),o):(n.consume(a),s)}}var NL,OL=D(()=>{We();Xt();NL={tokenize:kG}});function SG(n){let t=this,e=[],i=0,r,o,s;return a;function a(S){if(i<e.length){let _=e[i];return t.containerState=_[1],n.attempt(_[0].continuation,l,c)(S)}return c(S)}function l(S){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&w();let _=t.events.length,E=_,k;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){k=t.events[E][1].end;break}y(i);let T=_;for(;T<t.events.length;)t.events[T][1].end={...k},T++;return on(t.events,E+1,0,t.events.slice(_)),t.events.length=T,c(S)}return a(S)}function c(S){if(i===e.length){if(!r)return f(S);if(r.currentConstruct&&r.currentConstruct.concrete)return m(S);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},n.check(BL,u,d)(S)}function u(S){return r&&w(),y(i),f(S)}function d(S){return t.parser.lazy[t.now().line]=i!==e.length,s=t.now().offset,m(S)}function f(S){return t.containerState={},n.attempt(BL,p,m)(S)}function p(S){return i++,e.push([t.currentConstruct,t.containerState]),f(S)}function m(S){if(S===null){r&&w(),y(0),n.consume(S);return}return r=r||t.parser.flow(t.now()),n.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),g(S)}function g(S){if(S===null){b(n.exit("chunkFlow"),!0),y(0),n.consume(S);return}return Y(S)?(n.consume(S),b(n.exit("chunkFlow")),i=0,t.interrupt=void 0,a):(n.consume(S),g)}function b(S,_){let E=t.sliceStream(S);if(_&&E.push(null),S.previous=o,o&&(o.next=S),o=S,r.defineSkip(S.start),r.write(E),t.parser.lazy[S.start.line]){let k=r.events.length;for(;k--;)if(r.events[k][1].start.offset<s&&(!r.events[k][1].end||r.events[k][1].end.offset>s))return;let T=t.events.length,M=T,L,C;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(L){C=t.events[M][1].end;break}L=!0}for(y(i),k=T;k<t.events.length;)t.events[k][1].end={...C},k++;on(t.events,M+1,0,t.events.slice(T)),t.events.length=k}}function y(S){let _=e.length;for(;_-- >S;){let E=e[_];t.containerState=E[1],E[0].exit.call(t,n)}e.length=S}function w(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}function CG(n,t,e){return bt(n,n.attempt(this.parser.constructs.document,t,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var VL,BL,zL=D(()=>{We();Xt();ta();VL={tokenize:SG},BL={tokenize:CG}});function Ch(n,t,e){let i=[],r=-1;for(;++r<n.length;){let o=n[r].resolveAll;o&&!i.includes(o)&&(t=o(t,e),i.push(o))}return t}var Wb=D(()=>{});function _G(n,t){let e=-1,i,r,o,s,a,l,c,u;for(;++e<n.length;)if(n[e][0]==="enter"&&n[e][1].type==="attentionSequence"&&n[e][1]._close){for(i=e;i--;)if(n[i][0]==="exit"&&n[i][1].type==="attentionSequence"&&n[i][1]._open&&t.sliceSerialize(n[i][1]).charCodeAt(0)===t.sliceSerialize(n[e][1]).charCodeAt(0)){if((n[i][1]._close||n[e][1]._open)&&(n[e][1].end.offset-n[e][1].start.offset)%3&&!((n[i][1].end.offset-n[i][1].start.offset+n[e][1].end.offset-n[e][1].start.offset)%3))continue;l=n[i][1].end.offset-n[i][1].start.offset>1&&n[e][1].end.offset-n[e][1].start.offset>1?2:1;let d={...n[i][1].end},f={...n[e][1].start};HL(d,-l),HL(f,l),s={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...n[i][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...n[e][1].start},end:f},o={type:l>1?"strongText":"emphasisText",start:{...n[i][1].end},end:{...n[e][1].start}},r={type:l>1?"strong":"emphasis",start:{...s.start},end:{...a.end}},n[i][1].end={...s.start},n[e][1].start={...a.end},c=[],n[i][1].end.offset-n[i][1].start.offset&&(c=Rn(c,[["enter",n[i][1],t],["exit",n[i][1],t]])),c=Rn(c,[["enter",r,t],["enter",s,t],["exit",s,t],["enter",o,t]]),c=Rn(c,Ch(t.parser.constructs.insideSpan.null,n.slice(i+1,e),t)),c=Rn(c,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),n[e][1].end.offset-n[e][1].start.offset?(u=2,c=Rn(c,[["enter",n[e][1],t],["exit",n[e][1],t]])):u=0,on(n,i-1,e-i+3,c),e=i+c.length-u-2;break}}for(e=-1;++e<n.length;)n[e][1].type==="attentionSequence"&&(n[e][1].type="data");return n}function EG(n,t){let e=this.parser.constructs.attentionMarkers.null,i=this.previous,r=Hs(i),o;return s;function s(l){return o=l,n.enter("attentionSequence"),a(l)}function a(l){if(l===o)return n.consume(l),a;let c=n.exit("attentionSequence"),u=Hs(l),d=!u||u===2&&r||e.includes(l),f=!r||r===2&&u||e.includes(i);return c._open=!!(o===42?d:d&&(r||!f)),c._close=!!(o===42?f:f&&(u||!d)),t(l)}}function HL(n,t){n.column+=t,n.offset+=t,n._bufferIndex+=t}var Mp,jL=D(()=>{ta();Eb();Wb();Mp={name:"attention",resolveAll:_G,tokenize:EG}});function TG(n,t,e){let i=0;return r;function r(p){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(p),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),o}function o(p){return xi(p)?(n.consume(p),s):p===64?e(p):c(p)}function s(p){return p===43||p===45||p===46||Fn(p)?(i=1,a(p)):c(p)}function a(p){return p===58?(n.consume(p),i=0,l):(p===43||p===45||p===46||Fn(p))&&i++<32?(n.consume(p),a):(i=0,c(p))}function l(p){return p===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(p),n.exit("autolinkMarker"),n.exit("autolink"),t):p===null||p===32||p===60||Ip(p)?e(p):(n.consume(p),l)}function c(p){return p===64?(n.consume(p),u):DL(p)?(n.consume(p),c):e(p)}function u(p){return Fn(p)?d(p):e(p)}function d(p){return p===46?(n.consume(p),i=0,u):p===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(p),n.exit("autolinkMarker"),n.exit("autolink"),t):f(p)}function f(p){if((p===45||Fn(p))&&i++<63){let m=p===45?f:d;return n.consume(p),m}return e(p)}}var Xk,UL=D(()=>{Xt();Xk={name:"autolink",tokenize:TG}});function IG(n,t,e){return i;function i(o){return yt(o)?bt(n,r,"linePrefix")(o):r(o)}function r(o){return o===null||Y(o)?t(o):e(o)}}var na,Kb=D(()=>{We();Xt();na={partial:!0,tokenize:IG}});function PG(n,t,e){let i=this;return r;function r(s){if(s===62){let a=i.containerState;return a.open||(n.enter("blockQuote",{_container:!0}),a.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(s),n.exit("blockQuoteMarker"),o}return e(s)}function o(s){return yt(s)?(n.enter("blockQuotePrefixWhitespace"),n.consume(s),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),t):(n.exit("blockQuotePrefix"),t(s))}}function MG(n,t,e){let i=this;return r;function r(s){return yt(s)?bt(n,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return n.attempt(Xb,t,e)(s)}}function LG(n){n.exit("blockQuote")}var Xb,GL=D(()=>{We();Xt();Xb={continuation:{tokenize:MG},exit:LG,name:"blockQuote",tokenize:PG}});function DG(n,t,e){return i;function i(o){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(o),n.exit("escapeMarker"),r}function r(o){return FL(o)?(n.enter("characterEscapeValue"),n.consume(o),n.exit("characterEscapeValue"),n.exit("characterEscape"),t):e(o)}}var Yb,qL=D(()=>{Xt();Yb={name:"characterEscape",tokenize:DG}});function RG(n,t,e){let i=this,r=0,o,s;return a;function a(d){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(d),n.exit("characterReferenceMarker"),l}function l(d){return d===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(d),n.exit("characterReferenceMarkerNumeric"),c):(n.enter("characterReferenceValue"),o=31,s=Fn,u(d))}function c(d){return d===88||d===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(d),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),o=6,s=RL,u):(n.enter("characterReferenceValue"),o=7,s=Pp,u(d))}function u(d){if(d===59&&r){let f=n.exit("characterReferenceValue");return s===Fn&&!wh(i.sliceSerialize(f))?e(d):(n.enter("characterReferenceMarker"),n.consume(d),n.exit("characterReferenceMarker"),n.exit("characterReference"),t)}return s(d)&&r++<o?(n.consume(d),u):e(d)}}var Qb,$L=D(()=>{Nb();Xt();Qb={name:"characterReference",tokenize:RG}});function FG(n,t,e){let i=this,r={partial:!0,tokenize:E},o=0,s=0,a;return l;function l(k){return c(k)}function c(k){let T=i.events[i.events.length-1];return o=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,a=k,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),u(k)}function u(k){return k===a?(s++,n.consume(k),u):s<3?e(k):(n.exit("codeFencedFenceSequence"),yt(k)?bt(n,d,"whitespace")(k):d(k))}function d(k){return k===null||Y(k)?(n.exit("codeFencedFence"),i.interrupt?t(k):n.check(WL,g,_)(k)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),f(k))}function f(k){return k===null||Y(k)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),d(k)):yt(k)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),bt(n,p,"whitespace")(k)):k===96&&k===a?e(k):(n.consume(k),f)}function p(k){return k===null||Y(k)?d(k):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===null||Y(k)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),d(k)):k===96&&k===a?e(k):(n.consume(k),m)}function g(k){return n.attempt(r,_,b)(k)}function b(k){return n.enter("lineEnding"),n.consume(k),n.exit("lineEnding"),y}function y(k){return o>0&&yt(k)?bt(n,w,"linePrefix",o+1)(k):w(k)}function w(k){return k===null||Y(k)?n.check(WL,g,_)(k):(n.enter("codeFlowValue"),S(k))}function S(k){return k===null||Y(k)?(n.exit("codeFlowValue"),w(k)):(n.consume(k),S)}function _(k){return n.exit("codeFenced"),t(k)}function E(k,T,M){let L=0;return C;function C(U){return k.enter("lineEnding"),k.consume(U),k.exit("lineEnding"),F}function F(U){return k.enter("codeFencedFence"),yt(U)?bt(k,N,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):N(U)}function N(U){return U===a?(k.enter("codeFencedFenceSequence"),V(U)):M(U)}function V(U){return U===a?(L++,k.consume(U),V):L>=s?(k.exit("codeFencedFenceSequence"),yt(U)?bt(k,z,"whitespace")(U):z(U)):M(U)}function z(U){return U===null||Y(U)?(k.exit("codeFencedFence"),T(U)):M(U)}}}function NG(n,t,e){let i=this;return r;function r(s){return s===null?e(s):(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),o)}function o(s){return i.parser.lazy[i.now().line]?e(s):t(s)}}var WL,Jb,KL=D(()=>{We();Xt();WL={partial:!0,tokenize:NG},Jb={concrete:!0,name:"codeFenced",tokenize:FG}});function BG(n,t,e){let i=this;return r;function r(c){return n.enter("codeIndented"),bt(n,o,"linePrefix",5)(c)}function o(c){let u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):e(c)}function s(c){return c===null?l(c):Y(c)?n.attempt(OG,s,l)(c):(n.enter("codeFlowValue"),a(c))}function a(c){return c===null||Y(c)?(n.exit("codeFlowValue"),s(c)):(n.consume(c),a)}function l(c){return n.exit("codeIndented"),t(c)}}function VG(n,t,e){let i=this;return r;function r(s){return i.parser.lazy[i.now().line]?e(s):Y(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),r):bt(n,o,"linePrefix",5)(s)}function o(s){let a=i.events[i.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):Y(s)?r(s):e(s)}}var Lp,OG,XL=D(()=>{We();Xt();Lp={name:"codeIndented",tokenize:BG},OG={partial:!0,tokenize:VG}});function zG(n){let t=n.length-4,e=3,i,r;if((n[e][1].type==="lineEnding"||n[e][1].type==="space")&&(n[t][1].type==="lineEnding"||n[t][1].type==="space")){for(i=e;++i<t;)if(n[i][1].type==="codeTextData"){n[e][1].type="codeTextPadding",n[t][1].type="codeTextPadding",e+=2,t-=2;break}}for(i=e-1,t++;++i<=t;)r===void 0?i!==t&&n[i][1].type!=="lineEnding"&&(r=i):(i===t||n[i][1].type==="lineEnding")&&(n[r][1].type="codeTextData",i!==r+2&&(n[r][1].end=n[i-1][1].end,n.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return n}function HG(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function jG(n,t,e){let i=this,r=0,o,s;return a;function a(f){return n.enter("codeText"),n.enter("codeTextSequence"),l(f)}function l(f){return f===96?(n.consume(f),r++,l):(n.exit("codeTextSequence"),c(f))}function c(f){return f===null?e(f):f===32?(n.enter("space"),n.consume(f),n.exit("space"),c):f===96?(s=n.enter("codeTextSequence"),o