PageSourceSearch

https://dtv.in.th/_next/static/chunks/0xj74xpf50sqt.js

js dtv.in.th collected 2026-10-04 16:27:04 UTC 112,214 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68588,e=>{"use strict";var t=e.i(18050),n=e.i(71645),l=e.i(18566),r=e.i(17772),o=e.i(83746),i=e.i(20061),a=e.i(13896);let s=/[ \t\n\f\r]/g;function u(e){return""===e.replace(s,"")}class c{constructor(e,t){this.attribute=t,this.property=e}}c.prototype.attribute="",c.prototype.booleanish=!1,c.prototype.boolean=!1,c.prototype.commaOrSpaceSeparated=!1,c.prototype.commaSeparated=!1,c.prototype.defined=!1,c.prototype.mustUseProperty=!1,c.prototype.number=!1,c.prototype.overloadedBoolean=!1,c.prototype.property="",c.prototype.spaceSeparated=!1,c.prototype.space=void 0;let p=0,d=x(),f=x(),h=x(),m=x(),g=x(),y=x(),b=x();function x(){return 2**++p}e.s(["boolean",0,d,"booleanish",0,f,"commaOrSpaceSeparated",0,b,"commaSeparated",0,y,"number",0,m,"overloadedBoolean",0,h,"spaceSeparated",0,g],744);var v=e.i(744);let k=Object.keys(v);class w extends c{constructor(e,t,n,l){let r=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",l),"number"==typeof n)for(;++r<k.length;){const e=k[r];!function(e,t,n){n&&(e[t]=n)}(this,k[r],(n&v[e])===v[e])}}}function C(e){return e.toLowerCase()}w.prototype.defined=!0;let S=/[A-Z]/g,j=/-[a-z]/g,P=/^data[-\w.:]+$/i;function A(e){return"-"+e.toLowerCase()}function D(e){return e.charAt(1).toUpperCase()}let N={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"};class E{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function O(e,t){let n={},l={};for(let t of e)Object.assign(n,t.property),Object.assign(l,t.normal);return new E(n,l,t)}function L(e){let t={},n={};for(let[l,r]of Object.entries(e.properties)){let o=new w(l,e.transform(e.attributes||{},l),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(o.mustUseProperty=!0),t[l]=o,n[C(l)]=l,n[C(o.attribute)]=l}return new E(t,n,e.space)}E.prototype.normal={},E.prototype.property={},E.prototype.space=void 0;let M=L({properties:{ariaActiveDescendant:null,ariaAtomic:f,ariaAutoComplete:null,ariaBusy:f,ariaChecked:f,ariaColCount:m,ariaColIndex:m,ariaColSpan:m,ariaControls:g,ariaCurrent:null,ariaDescribedBy:g,ariaDetails:null,ariaDisabled:f,ariaDropEffect:g,ariaErrorMessage:null,ariaExpanded:f,ariaFlowTo:g,ariaGrabbed:f,ariaHasPopup:null,ariaHidden:f,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g,ariaLevel:m,ariaLive:null,ariaModal:f,ariaMultiLine:f,ariaMultiSelectable:f,ariaOrientation:null,ariaOwns:g,ariaPlaceholder:null,ariaPosInSet:m,ariaPressed:f,ariaReadOnly:f,ariaRelevant:null,ariaRequired:f,ariaRoleDescription:g,ariaRowCount:m,ariaRowIndex:m,ariaRowSpan:m,ariaSelected:f,ariaSetSize:m,ariaSort:null,ariaValueMax:m,ariaValueMin:m,ariaValueNow:m,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function R(e,t){return t in e?e[t]:t}function T(e,t){return R(e,t.toLowerCase())}let I=L({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y,acceptCharset:g,accessKey:g,action:null,allow:null,allowFullScreen:d,allowPaymentRequest:d,allowUserMedia:d,alpha:d,alt:null,as:null,async:d,autoCapitalize:null,autoComplete:g,autoFocus:d,autoPlay:d,blocking:g,capture:null,charSet:null,checked:d,cite:null,className:g,closedBy:null,colorSpace:null,cols:m,colSpan:m,command:null,commandFor:null,content:null,contentEditable:f,controls:d,controlsList:g,coords:m|y,crossOrigin:null,data:null,dateTime:null,decoding:null,default:d,defer:d,dir:null,dirName:null,disabled:d,download:h,draggable:f,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:d,formTarget:null,headers:g,height:m,hidden:h,high:m,href:null,hrefLang:null,htmlFor:g,httpEquiv:g,id:null,imageSizes:null,imageSrcSet:null,inert:d,inputMode:null,integrity:null,is:null,isMap:d,itemId:null,itemProp:g,itemRef:g,itemScope:d,itemType:g,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:d,low:m,manifest:null,max:null,maxLength:m,media:null,method:null,min:null,minLength:m,multiple:d,muted:d,name:null,nonce:null,noModule:d,noValidate:d,onAbort:null,onAfterPrint:null,onAuxCl
1ick: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:d,optimum:m,pattern:null,ping:g,placeholder:null,playsInline:d,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:d,referrerPolicy:null,rel:g,required:d,reversed:d,rows:m,rowSpan:m,sandbox:g,scope:null,scoped:d,seamless:d,selected:d,shadowRootClonable:d,shadowRootCustomElementRegistry:d,shadowRootDelegatesFocus:d,shadowRootMode:null,shadowRootSerializable:d,shape:null,size:m,sizes:null,slot:null,span:m,spellCheck:f,src:null,
1srcDoc:null,srcLang:null,srcSet:null,start:m,step:null,style:null,tabIndex:m,target:null,title:null,translate:null,type:null,typeMustMatch:d,useMap:null,value:f,width:m,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:g,axis:null,background:null,bgColor:null,border:m,borderColor:null,bottomMargin:m,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:d,declare:d,event:null,face:null,frame:null,frameBorder:null,hSpace:m,leftMargin:m,link:null,longDesc:null,lowSrc:null,marginHeight:m,marginWidth:m,noResize:d,noHref:d,noShade:d,noWrap:d,object:null,profile:null,prompt:null,rev:null,rightMargin:m,rules:null,scheme:null,scrolling:f,standby:null,summary:null,text:null,topMargin:m,valueType:null,version:null,vAlign:null,vLink:null,vSpace:m,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:d,disablePictureInPicture:d,disableRemotePlayback:d,exportParts:y,part:g,prefix:null,property:null,results:m,security:null,unselectable:null},space:"html",transform:T}),F=L({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",maskType:"mask-type",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
1-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:b,accentHeight:m,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:m,amplitude:m,arabicForm:null,ascent:m,attributeName:null,attributeType:null,azimuth:m,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:m,by:null,calcMode:null,capHeight:m,className:g,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:m,diffuseConstant:m,direction:null,display:null,dur:null,divisor:m,dominantBaseline:null,download:d,dx:null,dy:null,edgeMode:null,editable:null,elevation:m,enableBackground:null,end:null,event:null,exponent:m,externalResourcesRequired:null,fill:null,fillOpacity:m,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:y,g2:y,glyphName:y,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:m,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:m,horizOriginX:m,horizOriginY:m,id:null,ideographic:m,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:m,k:m,k1:m,k2:m,k3:m,k4:m,kernelMatrix:b,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:m,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:m,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,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:m,overlineThickness:m,paintOrder:null,panose1:null,path:null,pathLength:m,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:m,pointsAtY:m,pointsAtZ:m,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:b,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:b,rev:b,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:b,requiredFeatures:b,requiredFonts:b,requiredFormats:b,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:m,specularExponent:m,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:m,strikethroughThickness:m,string:null,stroke:null,strokeDashArray:b,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:m,strokeOpacity:m,strokeWidth:null,style:null,surfaceScale:m,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:b,tabIndex:m,tableValues:null,target:null,targetX:m,targetY:m,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:b,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:m,underlineThickness:m,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:m,values:null,vAlphabetic:m,vMathematical:m,vectorEffect:null,vHanging:m,vIdeographic:m,version:null,vertAdvY:m,vertOriginX:m,vertOriginY:m,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:m,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:R}),_=L({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),z=L({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:T}),U=L({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),B=O([M,I,_,z,U],"html"),V=O([M,F,_,z,U],"svg");var H=e.i(15511);let $=K("end"),W=K("start");function K(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}var q=e.i(60787);let X={}.hasOwnProperty,Y=new Map,Z=/[A-Z]/g,J=new Set(["table","tbody","thead","tfoot","tr"]),G=new Set(["td","th"]),Q="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ee(e,t,n){var l,r,o,a,s,p,d,f,h;let m,g,y,b,x,v,k,E,O,L,M;return"element"===t.type?(l=e,r=t,o=n,g=m=l.schema,"svg"===r.tagName.toLowerCase()&&"html"===m.space&&(l.schema=V),l.ancestors.push(r),y=er(l,r.tagName,!1),b=function(e,t){let n,l,r={};for(l in t.properties)if("children"!==l&&X.call(t.properties,l)){let o=function(e,t,n){let l=function(e,t){let n=C(t),l=t,r=c;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&P.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(j,D);l="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!j.test(e)){let n=e.replace(S,A);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}r=w}return new r(l,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var r;let t;if(Array.isArray(n)&&(n=l.commaSeparated?(t={},(""===(r=n)[r.length-1]?[...r,""]:r).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===l.property){let t="object"==typeof n?n:function(e,t){try{return(0,H.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new q.VFileMessage("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
1throw t.file=e.filePath||void 0,t.url=Q+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)X.call(e,t)&&(n[function(e){let t=e.replace(Z,ei);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&l.space?N[l.property]||l.property:l.attribute,n]}}(e,l,t.properties[l]);if(o){let[l,i]=o;e.tableCellAlignToStyle&&"align"===l&&"string"==typeof i&&G.has(t.tagName)?n=i:r[l]=i}}return n&&((r.style||(r.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),r}(l,r),x=el(l,r),J.has(r.tagName)&&(x=x.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&u(e.value):u(e))})),et(l,b,y,r),en(b,x),l.ancestors.pop(),l.schema=m,l.create(r,y,b,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}eo(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(a=e,s=t,p=n,k=v=a.schema,"svg"===s.name&&"html"===v.space&&(a.schema=V),a.ancestors.push(s),E=null===s.name?a.Fragment:er(a,s.name,!0),O=function(e,t){let n={};for(let l of t.attributes)if("mdxJsxExpressionAttribute"===l.type)if(l.data&&l.data.estree&&e.evaluater){let t=l.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let r=t.expression;(0,i.ok)("ObjectExpression"===r.type);let o=r.properties[0];(0,i.ok)("SpreadElement"===o.type),Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else eo(e,t.position);else{let r,o=l.name;if(l.value&&"object"==typeof l.value)if(l.value.data&&l.value.data.estree&&e.evaluater){let t=l.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),r=e.evaluater.evaluateExpression(t.expression)}else eo(e,t.position);else r=null===l.value||l.value;n[o]=r}return n}(a,s),L=el(a,s),et(a,O,E,s),en(O,L),a.ancestors.pop(),a.schema=v,a.create(s,E,O,p)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eo(e,t.position)}(e,t):"root"===t.type?(d=e,f=t,h=n,en(M={},el(d,f)),d.create(f,d.Fragment,M,h)):"text"===t.type?t.value:void 0}function et(e,t,n,l){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=l)}function en(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function el(e,t){let n=[],l=-1,r=e.passKeys?new Map:Y;for(;++l<t.children.length;){let o,i=t.children[l];if(e.passKeys){let e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){let t=r.get(e)||0;o=e+"-"+t,r.set(e,t+1)}}let a=ee(e,i,o);void 0!==a&&n.push(a)}return n}function er(e,t,n){let l;if(n)if(t.includes(".")){let e,n=t.split("."),r=-1;for(;++r<n.length;){let t=(0,a.name)(n[r])?{type:"Identifier",name:n[r]}:{type:"Literal",value:n[r]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(r&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),l=e}else l=(0,a.name)(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else l={type:"Literal",value:t};if("Literal"===l.type){let t=l.value;return X.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(l);eo(e)}function eo(e,t){let n=new q.VFileMessage("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Q+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ei(e){return"-"+e.toLowerCase()}let ea={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 es=e.i(77962);function eu(e){let t=this;t.parser=function(n){return(0,es.fromMarkdown)(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}let ec="object"==typeof self?self:globalThis,ep=(e,t)=>
1{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new ec[e](t)},ed=e=>{var t;let n,l;return(t=new Map,n=(e,n)=>(t.set(n,e),e),l=r=>{if(t.has(r))return t.get(r);let[o,i]=e[r];switch(o){case 0:case -1:return n(i,r);case 1:{let e=n([],r);for(let t of i)e.push(l(t));return e}case 2:{let e=n({},r);for(let[t,n]of i)e[l(t)]=l(n);return e}case 3:return n(new Date(i),r);case 4:{let{source:e,flags:t}=i;return n(new RegExp(e,t),r)}case 5:{let e=n(new Map,r);for(let[t,n]of i)e.set(l(t),l(n));return e}case 6:{let e=n(new Set,r);for(let t of i)e.add(l(t));return e}case 7:{let{name:e,message:t}=i;return n("function"==typeof ec[e]?ep(e,t):Error(t),r)}case 8:return n(BigInt(i),r);case"BigInt":return n(Object(BigInt(i)),r);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{let{buffer:e}=new Uint8Array(i);return n(new DataView(e),i)}}return n(ep(o,i),r)})(0)},{toString:ef}={},{keys:eh}=Object,em=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=ef.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},eg=([e,t])=>0===e&&("function"===t||"symbol"===t),ey=(e,{json:t,lossy:n}={})=>{var l,r,o;let i,a,s=[];return(l=!(t||n),r=!!t,o=new Map,i=(e,t)=>{let n=s.push(e)-1;return o.set(t,n),n},a=e=>{if(o.has(e))return o.get(e);let[t,n]=em(e);switch(t){case 0:{let r=e;switch(n){case"bigint":t=8,r=e.toString();break;case"function":case"symbol":if(l)throw TypeError("unable to serialize "+n);r=null;break;case"undefined":return i([-1],e)}return i([t,r],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),i([n,[...t]],e)}let l=[],r=i([t,l],e);for(let t of e)l.push(a(t));return r}case 2:{if(n)switch(n){case"BigInt":return i([n,e.toString()],e);case"Boolean":case"Number":case"String":return i([n,e.valueOf()],e)}if(r&&"toJSON"in e)return a(e.toJSON());let o=[],s=i([t,o],e);for(let t of eh(e))(l||!eg(em(e[t])))&&o.push([a(t),a(e[t])]);return s}case 3:return i([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:n,flags:l}=e;return i([t,{source:n,flags:l}],e)}case 5:{let n=[],r=i([t,n],e);for(let[t,r]of e)(l||!(eg(em(t))||eg(em(r))))&&n.push([a(t),a(r)]);return r}case 6:{let n=[],r=i([t,n],e);for(let t of e)(l||!eg(em(t)))&&n.push(a(t));return r}}let{message:s}=e;return i([t,{name:n,message:s}],e)})(e),s},eb="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?ed(ey(e,t)):structuredClone(e):(e,t)=>ed(ey(e,t));var ex=e.i(97803);function ev(e){let t=[],n=-1,l=0,r=0;for(;++n<e.length;){let o=e.charCodeAt(n),i="";if(37===o&&(0,ex.asciiAlphanumeric)(e.charCodeAt(n+1))&&(0,ex.asciiAlphanumeric)(e.charCodeAt(n+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(i=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),r=1):i="�"}else i=String.fromCharCode(o);i&&(t.push(e.slice(l,n),encodeURIComponent(i)),l=n+r+1,i=""),r&&(n+=r,r=0)}return t.join("")+e.slice(l)}function ek(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ew(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var eC=e.i(84801);function eS(e,t){let n=t.referenceType,l="]";if("collapsed"===n?l+="[]":"full"===n&&(l+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+l}];let r=e.all(t),o=r[0];o&&"text"===o.type?o.value="["+o.value:r.unshift({type:"text",value:"["});let i=r[r.length-1];return i&&"text"===i.type?i.value+=l:r.push({type:"text",value:l}),r}function ej(e){let t=e.spread;return null==t?e.children.length>1:t}function eP(e,t,n){let l=0,r=e.length;if(t){let t=e.codePointAt(l);for(;9===t||32===t;)l++,t=e.codePointAt(l)}if(n){let t=e.codePointAt(r-1);for(;9===t||32===t;)r--,t=e.codePointAt(r-1)}return r>l?e.slice(l,r):""}let eA={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",l={},r=t.lang?t.lang.split(/\s+/):[];r.length>0&&(l.className=["language-"+r[0]]);let o={type:"element",tagName:"code",properties:l,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
1,footnoteReference:function(e,t){let n,l="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=ev(r.toLowerCase()),i=e.footnoteOrder.indexOf(r),a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),n=e.footnoteOrder.length):n=i+1,a+=1,e.footnoteCounts.set(r,a);let s={type:"element",tagName:"a",properties:{href:"#"+l+"fn-"+o,id:l+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),l=e.definitionById.get(n);if(!l)return eS(e,t);let r={src:ev(l.url||""),alt:t.alt};null!==l.title&&void 0!==l.title&&(r.title=l.title);let o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:ev(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let l={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,l),e.applyData(t,l)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let l={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,l),e.applyData(t,l)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),l=e.definitionById.get(n);if(!l)return eS(e,t);let r={href:ev(l.url||"")};null!==l.title&&void 0!==l.title&&(r.title=l.title);let o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:ev(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let l={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)},listItem:function(e,t,n){let l=e.all(t),r=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,l=-1;for(;!t&&++l<n.length;)t=ej(n[l])}return t}(n):ej(t),o={},i=[];if("boolean"==typeof t.checked){let e,n=l[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},l.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<l.length;){let e=l[a];(r||0!==a||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||r?i.push(e):i.push(...e.children)}let s=l[l.length-1];s&&(r||"element"!==s.type||"p"!==s.tagName)&&i.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:i};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},l=e.all(t),r=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++r<l.length;){let e=l[r];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(l,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),l=n.shift(),r=[];if(l){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([l],!0)};e.patch(t.children[0],n),r.push(n)}if(n.length>0){let l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=W(t.children[1]),i=$(t.children[t.children.length-1]);o&&i&&(l.position={start:o,end:i}),r.push(l)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let l=n?n.children:void 0,r=0===(l?l.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length,a=-1,s=[];for(;++a<i;){let n=t.children[a],l={},i=o?o[a]:void 0;i&&(l.align=i);let u={type:"element",tagName:r,properties:l,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};
1return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,l=n.exec(t),r=0,o=[];for(;l;)o.push(eP(t.slice(r,l.index),r>0,!0),l[0]),r=l.index+l[0].length,l=n.exec(t);return o.push(eP(t.slice(r),r>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:eD,yaml:eD,definition:eD,footnoteDefinition:eD};function eD(){}let eN={}.hasOwnProperty,eE={};function eO(e,t){e.position&&(t.position=function(e){let t=W(e),n=$(e);if(t&&n)return{start:t,end:n}}(e))}function eL(e,t){let n=t;if(e&&e.data){let t=e.data.hName,l=e.data.hChildren,r=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&r&&Object.assign(n.properties,eb(r)),"children"in n&&n.children&&null!=l&&(n.children=l)}return n}function eM(e,t){let n=[],l=-1;for(t&&n.push({type:"text",value:"\n"});++l<e.length;)l&&n.push({type:"text",value:"\n"}),n.push(e[l]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function eR(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function eT(e,t){let n,l,r,o,a=(n=t||eE,l=new Map,r=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,l=-1;for(;++l<n.length;){let r=o.one(n[l],e);if(r){if(l&&"break"===n[l-1].type&&(Array.isArray(r)||"text"!==r.type||(r.value=eR(r.value)),!Array.isArray(r)&&"element"===r.type)){let e=r.children[0];e&&"text"===e.type&&(e.value=eR(e.value))}Array.isArray(r)?t.push(...r):t.push(r)}}}return t},applyData:eL,definitionById:l,footnoteById:r,footnoteCounts:new Map,footnoteOrder:[],handlers:{...eA,...n.handlers},one:function(e,t){let n=e.type,l=o.handlers[n];if(eN.call(o.handlers,n)&&l)return l(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,l=eb(n);return l.children=o.all(e),l}return eb(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},l="value"in t&&!(eN.call(n,"hProperties")||eN.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,l),e.applyData(t,l)})(o,e,t)},options:n,patch:eO,wrap:eM},(0,eC.visit)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?l:r,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),o),s=a.one(e,void 0),u=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ek,l=e.options.footnoteBackLabel||ew,r=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],s=-1;for(;++s<e.footnoteOrder.length;){let r=e.footnoteById.get(e.footnoteOrder[s]);if(!r)continue;let o=e.all(r),i=String(r.identifier).toUpperCase(),u=ev(i.toLowerCase()),c=0,p=[],d=e.footnoteCounts.get(i);for(;void 0!==d&&++c<=d;){p.length>0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof l?l:l(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=o[o.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...p)}else o.push(...p);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(r,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...eb(i),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
1,{type:"text",value:"\n"}]}}(a),c=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&((0,i.ok)("children"in c),c.children.push({type:"text",value:"\n"},u)),c}function eI(e,t){return e&&"run"in e?async function(n,l){let r=eT(n,{file:l,...t});await e.run(r,l)}:function(n,l){return eT(n,{file:l,...e||t})}}function eF(e){if(e)throw e}var e_=e.i(4100);function ez(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let eU=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');e$(e);let l=0,r=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){l=o+1;break}}else r<0&&(n=!0,r=o+1);return r<0?"":e.slice(l,r)}if(t===e)return"";let i=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){l=o+1;break}}else i<0&&(n=!0,i=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(r=o):(a=-1,r=i));return l===r?r=i:r<0&&(r=e.length),e.slice(l,r)},eB=function(e){let t;if(e$(e),0===e.length)return".";let n=-1,l=e.length;for(;--l;)if(47===e.codePointAt(l)){if(t){n=l;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},eV=function(e){let t;e$(e);let n=e.length,l=-1,r=0,o=-1,i=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){r=n+1;break}continue}l<0&&(t=!0,l=n+1),46===a?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1)}
1return o<0||l<0||0===i||1===i&&o===l-1&&o===r+1?"":e.slice(o,l)},eH=function(...e){var t;let n,l,r,o=-1;for(;++o<e.length;)e$(e[o]),e[o]&&(r=void 0===r?e[o]:r+"/"+e[o]);return void 0===r?".":(e$(t=r),n=47===t.codePointAt(0),0!==(l=function(e,t){let n,l,r="",o=0,i=-1,a=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(i===s-1||1===a);else if(i!==s-1&&2===a){if(r.length<2||2!==o||46!==r.codePointAt(r.length-1)||46!==r.codePointAt(r.length-2)){if(r.length>2){if((l=r.lastIndexOf("/"))!==r.length-1){l<0?(r="",o=0):o=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),i=s,a=0;continue}}else if(r.length>0){r="",o=0,i=s,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",o=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===n&&a>-1?a++:a=-1}return r}(t,!n)).length||n||(l="."),l.length>0&&47===t.codePointAt(t.length-1)&&(l+="/"),n?"/"+l:l)};function e$(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function eW(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let eK=["history","path","basename","stem","extname","dirname"];class eq{constructor(e){let t,n;t=e?eW(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let l=-1;for(;++l<eK.length;){const e=eK[l];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)eK.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?eU(this.path):void 0}set basename(e){eY(e,"basename"),eX(e,"basename"),this.path=eH(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?eB(this.path):void 0}set dirname(e){eZ(this.basename,"dirname"),this.path=eH(e||"",this.basename)}get extname(){return"string"==typeof this.path?eV(this.path):void 0}set extname(e){if(eX(e,"extname"),eZ(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=eH(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){eW(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!eW(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),eY(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?eU(this.path,this.extname):void 0}set stem(e){eY(e,"stem"),eX(e,"stem"),this.path=eH(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let l=this.message(e,t,n);throw l.fatal=!0,l}info(e,t,n){let l=this.message(e,t,n);return l.fatal=void 0,l}message(e,t,n){let l=new q.VFileMessage(e,t,n);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function eX(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function eY(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function eZ(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let eJ=function(e){let t=this.constructor.prototype,n=t[e],l=function(){return n.apply(l,arguments)};return Object.setPrototypeOf(l,t),l},eG={}.hasOwnProperty,eQ=new class e extends eJ{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,l=t.pop();if("function"!=typeof l)throw TypeError("Expected function as last argument, not "+l);!function r(o,...i){let a=e[++n],s=-1;if(o)return void l(o);for(;++s<t.length;)(null===i[s]||void 0===i[s])&&(i[s]=t[s]);t=i,a?(function(e,t){let n;return function(...t){let o,i=e.length>t.length;
1i&&t.push(l);try{o=e.apply(this,t)}catch(e){if(i&&n)throw e;return l(e)}i||(o&&o.then&&"function"==typeof o.then?o.then(r,l):o instanceof Error?l(o):r(o))};function l(e,...r){n||(n=!0,t(e,...r))}function r(e){l(null,e)}})(a,r)(...i):l(null,...i)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,e_.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2==arguments.length?(e2("data",this.frozen),this.namespace[e]=t,this):eG.call(this.namespace,e)&&this.namespace[e]||void 0:e?(e2("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=e3(e),n=this.parser||this.Parser;return e0("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),e0("process",this.parser||this.Parser),e1("process",this.compiler||this.Compiler),t?l(void 0,t):new Promise(l);function l(l,r){let o=e3(e),a=n.parse(o);function s(e,n){e||!n?r(e):l?l(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(a,o,function(e,t,l){var r,o;if(e||!t||!l)return s(e);let i=n.stringify(t,l);"string"==typeof(r=i)||(o=r)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?l.value=i:l.result=i,s(e,l)})}}processSync(e){let t,n=!1;return this.freeze(),e0("processSync",this.parser||this.Parser),e1("processSync",this.compiler||this.Compiler),this.process(e,function(e,l){n=!0,eF(e),t=l}),e4("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){e5(e),this.freeze();let l=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?r(void 0,n):new Promise(r);function r(r,o){(0,i.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let a=e3(t);l.run(e,a,function(t,l,a){let s=l||e;t?o(t):r?r(s):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,s,a))})}}runSync(e,t){let n,l=!1;return this.run(e,t,function(e,t){eF(e),n=t,l=!0}),e4("runSync","run",l),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=e3(t),l=this.compiler||this.Compiler;return e1("stringify",l),e5(e),l(e,n)}use(e,...t){let n=this.attachers,l=this.namespace;if(e2("use",this.frozen),null==e);else if("function"==typeof e)i(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):r(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function r(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(l.settings=(0,e_.default)(!0,l.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)i(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;i(t,n)}else r(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function i(e,t){let l=-1,r=-1;for(;++l<n.length;)if(n[l][0]===e){r=l;break}if(-1===r)n.push([e,...t]);else if(t.length>0){let[l,...o]=t,i=n[r][1];ez(i)&&ez(l)&&(l=(0,e_.default)(!0,i,l)),n[r]=[e,l,...o]}}}}().freeze();function e0(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function e1(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function e2(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function e5(e){if(!ez(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function e4(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function e3(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new eq(e)}let e8=[],e6={allowDangerousHtml:!0},e7=/^(https?|ircs?|mailto|xmpp)$/i,e9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function te(e){var n;let l,r,o,a,s,u=(l=(n=e).rehypePlugins||e8,r=n.remarkPlugins||e8,o=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...e6}:e6,eQ().use(eu).use(r).use(eI,o).use(l)),c=(a=e.children||"",s=new eq,"string"==typeof a?s.value=a:(0,i.unreachable)("Unexpected value `"+a+"` for `children` prop, expected `string`"),s);return function(e,n){let l=n.allowedElements,r=n.allowElement,o=n.components,a=n.disallowedElements,s=n.skipHtml,u=n.unwrapDisallowed,c=n.urlTransform||tt;for(let e of e9)Object.hasOwn(n,e.from)&&(0,i.unreachable)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return l&&a&&(0,i.unreachable)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,eC.visit)(e,function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return s?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ea)if(Object.hasOwn(ea,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],l=ea[t];(null===l||l.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let o=l?!l.includes(e.tagName):!!a&&a.includes(e.tagName);if(!o&&r&&"number"==typeof t&&(o=!r(e,t,n)),o&&n&&"number"==typeof t)return u&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}}),function(e,t){var n,l,r,o;let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,l=t.jsxDEV,i=function(e,t,r,o){let i=Array.isArray(r.children),a=W(e);return l(t,r,o,i,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,o=t.jsxs,i=function(e,t,n,l){let i=Array.isArray(n.children)?o:r;return l?i(t,n,l):i(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?V:B,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=ee(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}(e,{Fragment:t.Fragment,components:o,ignoreInvalidStyle:!0,jsx:t.jsx,jsxs:t.jsxs,passKeys:!0,passNode:!0})}(u.runSync(u.parse(c),c),e)}function tt(e){let t=e.indexOf(":"),n=e.indexOf("?"),l=e.indexOf("#"),r=e.indexOf("/");return -1===t||-1!==r&&t>r||-1!==n&&t>n||-1!==l&&t>l||e7.test(e.slice(0,t))?e:""}var tn=e.i(96481),tl=e.i(33644),tr=e.i(57579);let to="phrasing",ti=["autolink","link","image","label"];function ta(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ts(e){this.config.enter.autolinkProtocol.call(this,e)}function tu(e){this.config.exit.autolinkProtocol.call(this,e)}function tc(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function tp(e){this.config.exit.autolinkEmail.call(this,e)}function td(e){this.exit(e)}function tf(e){!function(e,t,n){let l=(0,tr.convert)((n||{}).ignore||[]),r=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],l=-1;for(;++l<n.length;){var r;let e=n[l];t.push(["string"==typeof(r=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(r),"g"):r,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),o=-1;for(;++o<r.length;)(0,tl.visitParents)(e,"text",i);function i(e,t){let n,i=-1;for(;++i<t.length;){let e=t[i],r=n?n.children:void 0;if(l(e,r?r.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],l=r[o][0],i=r[o][1],a=0,s=n.children.indexOf(e),u=!1,c=[];l.lastIndex=0;let p=l.exec(e.value);for(;p;
1){let n=p.index,r={index:p.index,input:p.input,stack:[...t,e]},o=i(...p,r);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?l.lastIndex=n+1:(a!==n&&c.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?c.push(...o):o&&c.push(o),a=n+p[0].length,u=!0),!l.global)break;p=l.exec(e.value)}return u?(a<e.value.length&&c.push({type:"text",value:e.value.slice(a)}),n.children.splice(s,1,...c)):c=[e],s+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,th],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,tm]],{ignore:["link","linkReference"]})}function th(e,t,n,l,r){let o,i="";if(!tg(r))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),(o=n.split(".")).length<2||o[o.length-1]&&(/_/.test(o[o.length-1])||!/[a-zA-Z\d]/.test(o[o.length-1]))||o[o.length-2]&&(/_/.test(o[o.length-2])||!/[a-zA-Z\d]/.test(o[o.length-2])))return!1;let a=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],l=n.indexOf(")"),r=(0,tn.ccount)(e,"("),o=(0,tn.ccount)(e,")");for(;-1!==l&&r>o;)e+=n.slice(0,l+1),l=(n=n.slice(l+1)).indexOf(")"),o++;return[e,n]}(n+l);if(!a[0])return!1;let s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function tm(e,t,n,l){return!(!tg(l,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function tg(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,ex.unicodeWhitespace)(n)||(0,ex.unicodePunctuation)(n))&&(!t||47!==n)}var ty=e.i(31745);function tb(){this.buffer()}function tx(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function tv(){this.buffer()}function tk(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function tw(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,ty.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function tC(e){this.exit(e)}function tS(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,ty.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function tj(e){this.exit(e)}function tP(e,t,n,l){let r=n.createTracker(l),o=r.move("[^"),i=n.enter("footnoteReference"),a=n.enter("reference");return o+=r.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),i(),o+=r.move("]")}function tA(e,t,n){return 0===t?e:tD(e,t,n)}function tD(e,t,n){return(n?"":"    ")+e}tP.peek=function(){return"["};var tN=e.i(22786);function tE(e){return e.length}function tO(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}var tL=e.i(43740);function tM(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function tR(e){this.exit(e),this.data.inTable=void 0}function tT(e){this.enter({type:"tableRow",children:[]},e)}function tI(e){this.exit(e)}function tF(e){this.enter({type:"tableCell",children:[]},e)}function t_(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,tz));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function tz(e,t){return"|"===t?t:e}var tU=e.i(23994),tB=e.i(6687);let tV={tokenize:function(e,t,n){let l=0;return function t(o){return(87===o||119===o)&&l<3?(l++,e.consume(o),t):46===o&&3===l?(e.consume(o),r):n(o)};function r(e){return null===e?n(e):t(e)}},partial:!0},tH={tokenize:function(e,t,n){let l,r,o;return i;function i(t){return 46===t||95===t?e.check(tW,s,a)(t):null===t||(0,ex.markdownLineEndingOrSpace)(t)||(0,ex.unicodeWhitespace)(t)||45!==t&&(0,ex.unicodePunctuation)(t)?s(t):(o=!0,e.consume(t),i)}function a(t){return 95===t?l=!0:(r=l,l=void 0),e.consume(t),i}function s(e){return r||l||!o?n(e):t(e)}},partial:!0},t$={tokenize:function(e,t){let n=0,l=0;return r;function r(i){return 40===i?(n++,e.consume(i),r):41===i&&l<n?o(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(tW,t,o)(i):null===i||(0,ex.markdownLineEndingOrSpace)(i)||(0,ex.unicodeWhitespace)(i)?t(i):(e.consume(i),r)}function o(t){return 41===t&&l++,e.consume(t),r}},partial:!0},tW={tokenize:function(e,t,n){return l;function l(i){return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),l):38===i?(e.consume(i),o):93===i?(e.consume(i),r):60===i||null===i||(0,ex.markdownLineEndingOrSpace)(i)||(0,ex.unicodeWhitespace)(i)?t(i):n(i)}function r(e){return null===e||40===e||91===e||(0,ex.markdownLineEndingOrSpace)(e)||(0,ex.unicodeWhitespace)(e)?t(e):l(e)}function o(t){return(0,ex.asciiAlpha)(t)?function t(r){return 59===r?(e.consume(r),l):(0,ex.asciiAlpha)(r)?(e.consume(r),t):n(r)}(t):n(t)}},partial:!0},tK={tokenize:function(e,t,n){return function(t){return e.consume(t),l};function l(e){return(0,ex.asciiAlphanumeric)(e)?n(e):t(e)}},partial:!0},tq={name:"wwwAutolink",tokenize:function(e,t,n){let l=this;return function(t){return 87!==t&&119!==t||!tG.call(l,l.previous)||t2(l.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(tV,e.attempt(tH,e.attempt(t$,r),n),n)(t))};function r(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:tG},tX={name:"protocolAutolink",tokenize:function(e,t,n){let l=this,r="",o=!1;return function(t){return(72===t||104===t)&&tQ.call(l,l.previous)&&!t2(l.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),r+=String.fromCodePoint(t),e.consume(t),i):n(t)};function i(t){if((0,ex.asciiAlpha)(t)&&r.length<5)return r+=String.fromCodePoint(t),e.consume(t),i;if(58===t){let n=r.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),o)?s:(o=!0,a):n(t)}function s(t){return null===t||(0,ex.asciiControl)(t)||(0,ex.markdownLineEndingOrSpace)(t)||(0,ex.unicodeWhitespace)(t)||(0,ex.unicodePunctuation)(t)?n(t):e.attempt(tH,e.attempt(t$,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:tQ},tY={name:"emailAutolink",tokenize:function(e,t,n){let l,r,o=this;return function(t){return!t1(t)||!t0.call(o,o.previous)||t2(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(l){return t1(l)?(e.consume(l),t):64===l?(e.consume(l),i):n(l)}(t))};function i(t){return 46===t?e.check(tK,s,a)(t):45===t||95===t||(0,ex.asciiAlphanumeric)(t)?(r=!0,e.consume(t),i):s(t)}function a(t){return e.consume(t),l=!0,i}function s(i){return r&&l&&(0,ex.asciiAlpha)(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:t0},tZ={},tJ=48;for(;tJ<123;)tZ[tJ]=tY,58==++tJ?tJ=65:91===tJ&&(tJ=97);function tG(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,ex.markdownLineEndingOrSpace)(e)}function tQ(e){return!(0,ex.asciiAlpha)(e)}function t0(e){return!(47===e||t1(e))}function t1(e){return 43===e||45===e||46===e||95===e||(0,ex.asciiAlphanumeric)(e)}function t2(e){let t=e.length,n=!1;for(;t--;){let l=e[t][1];if(("labelLink"===l.type||"labelImage"===l.type)&&!l._balanced){n=!0;break}if(l._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}tZ[43]=tY,tZ[45]=tY,tZ[46]=tY,tZ[95]=tY,tZ[72]=[tY,tX],tZ[104]=[tY,tX],tZ[87]=[tY,tq],tZ[119]=[tY,tq];var t5=e.i(53161),t4=e.i(4108);let t3={tokenize:function(e,t,n){let l=this;return(0,t4.factorySpace)(e,function(e){let r=l.events[l.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function t8(e,t,n){let l,r=this,o=r.events.length,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);for(;o--;){let e=r.events[o][1];if("labelImage"===e.type){l=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}
1return function(o){if(!l||!l._balanced)return n(o);let a=(0,ty.normalizeIdentifier)(r.sliceSerialize({start:l.end,end:r.now()}));return 94===a.codePointAt(0)&&i.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function t6(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let l={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",l,t],e[n+3],e[n+4],["enter",r,t],["exit",r,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",l,t]];return e.splice(n,e.length-n+1,...a),e}function t7(e,t,n){let l,r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(a){if(i>999||93===a&&!l||null===a||91===a||(0,ex.markdownLineEndingOrSpace)(a))return n(a);if(93===a){e.exit("chunkString");let l=e.exit("gfmFootnoteCallString");return o.includes((0,ty.normalizeIdentifier)(r.sliceSerialize(l)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return(0,ex.markdownLineEndingOrSpace)(a)||(l=!0),i++,e.consume(a),92===a?u:s}function u(t){return 91===t||92===t||93===t?(e.consume(t),i++,s):s(t)}}function t9(e,t,n){let l,r,o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(a>999||93===t&&!r||null===t||91===t||(0,ex.markdownLineEndingOrSpace)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return l=(0,ty.normalizeIdentifier)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,ex.markdownLineEndingOrSpace)(t)||(r=!0),a++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(l)||i.push(l),(0,t4.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return t(e)}}function ne(e,t,n){return e.check(t5.blankLine,t,e.attempt(t3,t,n))}function nt(e){e.exit("gfmFootnoteDefinition")}var nn=e.i(79283);class nl{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,l){let r=0;if(0!==n||0!==l.length){for(;r<e.map.length;){if(e.map[r][0]===t){e.map[r][1]+=n,e.map[r][2].push(...l);return}r+=1}e.map.push([t,n,l])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let l=n.pop();for(;l;){for(let t of l)e.push(t);l=n.pop()}this.map.length=0}}function nr(e,t,n){let l,r=this,o=0,i=0;return function(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let l=t>-1?r.events[t][1].type:null,o="tableHead"===l||"tableRow"===l?b:a;return o===b&&r.parser.lazy[r.now().line]?n(e):o(e)};function a(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(l=!0,i+=1),s(n)}function s(t){return null===t?n(t):(0,ex.markdownLineEnding)(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,ex.markdownSpace)(t)?(0,t4.factorySpace)(e,s,"whitespace")(t):(i+=1,l&&(l=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),l=!0,s):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,ex.markdownLineEndingOrSpace)(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(r.interrupt=!1,r.parser.lazy[r.now().line])?n(t):(e.enter("tableDelimiterRow"),l=!1,(0,ex.markdownSpace)(t))?(0,t4.factorySpace)(e,d,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t)}function d(t){return 45===t||58===t?h(t):124===t?(l=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,ex.markdownSpace)(t)?(0,t4.factorySpace)(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(i+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(i+=1,m(t)):null===t||(0,ex.markdownLineEnding)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return(0,ex.markdownSpace)(t)?(0,t4.factorySpace)(e,y,"whitespace")(t):y(t)}function y(r){if(124===r)return d(r);if(null===r||(0,ex.markdownLineEnding)(r))return l&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(r)):n(r);return n(r)}function b(t){return e.enter("tableRow"),x(t)}function x(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),x):null===n||(0,ex.markdownLineEnding)(n)?(e.exit("tableRow"),t(n)):(0,ex.markdownSpace)(n)?(0,t4.factorySpace)(e,x,"whitespace")(n):(e.enter("data"),v(n))}function v(t){return null===t||124===t||(0,ex.markdownLineEndingOrSpace)(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?k:v)}function k(t){return 92===t||124===t?(e.consume(t),v):v(t)}}function no(e,t){let n,l,r,o=-1,i=!0,a=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,p=0,d=new nl;for(;++o<e.length;){let f=e[o],h=f[1];"enter"===f[0]?"tableHead"===h.type?(c=!1,0!==p&&(na(d,t,p,n,l),l=void 0,p=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(o,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(i=!0,r=void 0,s=[0,0,0,0],u=[0,o+1,0,0],c&&(c=!1,l={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(o,0,[["enter",l,t]])),a="tableDelimiterRow"===h.type?2:l?3:1):a&&("data"===h.type||"tableDelimiterMarker"===h.type||"tableDelimiterFiller"===h.type)?(i=!1,0===u[2]&&(0!==s[1]&&(u[0]=u[1],r=ni(d,t,s,a,void 0,r),s=[0,0,0,0]),u[2]=o)
1):"tableCellDivider"===h.type&&(i?i=!1:(0!==s[1]&&(u[0]=u[1],r=ni(d,t,s,a,void 0,r)),u=[(s=u)[1],o,0,0])):"tableHead"===h.type?(c=!0,p=o):"tableRow"===h.type||"tableDelimiterRow"===h.type?(p=o,0!==s[1]?(u[0]=u[1],r=ni(d,t,s,a,o,r)):0!==u[1]&&(r=ni(d,t,u,a,o,r)),a=0):a&&("data"===h.type||"tableDelimiterMarker"===h.type||"tableDelimiterFiller"===h.type)&&(u[3]=o)}for(0!==p&&na(d,t,p,n,l),d.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,l=[];for(;t<e.length;){let r=e[t];if(n){if("enter"===r[0])"tableContent"===r[1].type&&l.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===r[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=l.length-1;l[e]="left"===l[e]?"center":"right"}}else if("tableDelimiterRow"===r[1].type)break}else"enter"===r[0]&&"tableDelimiterRow"===r[1].type&&(n=!0);t+=1}return l}(t.events,o))}return e}function ni(e,t,n,l,r,o){0!==n[0]&&(o.end=Object.assign({},ns(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let i=ns(t.events,n[1]);if(o={type:1===l?"tableHeader":2===l?"tableDelimiter":"tableData",start:Object.assign({},i),end:Object.assign({},i)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let r=ns(t.events,n[2]),o=ns(t.events,n[3]),i={type:"tableContent",start:Object.assign({},r),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",i,t]]),2!==l){let l=t.events[n[2]],r=t.events[n[3]];if(l[1].end=Object.assign({},r[1].end),l[1].type="chunkText",l[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,l=n[3]-n[2]-1;e.add(t,l,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==r&&(o.end=Object.assign({},ns(t.events,r)),e.add(r,0,[["exit",o,t]]),o=void 0),o}function na(e,t,n,l,r){let o=[],i=ns(t.events,n);r&&(r.end=Object.assign({},i),o.push(["exit",r,t])),l.end=Object.assign({},i),o.push(["exit",l,t]),e.add(n+1,0,o)}function ns(e,t){let n=e[t],l="enter"===n[0]?"start":"end";return n[1][l]}var nu=e.i(84486);let nc={};function np(e){let t,n=e||nc,l=this.data(),r=l.micromarkExtensions||(l.micromarkExtensions=[]),o=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),i=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);r.push((0,tB.combineExtensions)([{text:tZ},{document:{91:{name:"gfmFootnoteDefinition",tokenize:t9,continuation:{tokenize:ne},exit:nt}},text:{91:{name:"gfmFootnoteCall",tokenize:t7},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:t8,resolveTo:t6}}},(0,nn.gfmStrikethrough)(n),{flow:{null:{name:"table",tokenize:nr,resolveAll:no}}},(0,nu.gfmTaskListItem)()])),o.push([{transforms:[tf],enter:{literalAutolink:ta,literalAutolinkEmail:ts,literalAutolinkHttp:ts,literalAutolinkWww:ts},exit:{literalAutolink:td,literalAutolinkEmail:tp,literalAutolinkHttp:tu,literalAutolinkWww:tc}},{enter:{gfmFootnoteCallString:tb,gfmFootnoteCall:tx,gfmFootnoteDefinitionLabelString:tv,gfmFootnoteDefinition:tk},exit:{gfmFootnoteCallString:tw,gfmFootnoteCall:tC,gfmFootnoteDefinitionLabelString:tS,gfmFootnoteDefinition:tj}},(0,tN.gfmStrikethroughFromMarkdown)(),{enter:{table:tM,tableData:tF,tableHeader:tF,tableRow:tT},exit:{codeText:t_,table:tR,tableData:tI,tableHeader:tI,tableRow:tI}},(0,tU.gfmTaskListItemFromMarkdown)()]),i.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:to,notInConstruct:ti},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:to,notInConstruct:ti},{character:":",before:"[ps]",after:"\\/",inConstruct:to,notInConstruct:ti}]},(t=!1,n&&n.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,l,r){let o=l.createTracker(r),i=o.move("[^"),a=l.enter("footnoteDefinition"),s=l.enter("label");return i+=o.move(l.safe(l.associationId(e),{before:i,after:"]"})),s(),i+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),i+=o.move((t?"\n":" ")+l.indentLines(l.containerFlow(e,o.current()),t?tD:tA))),a(),i},footnoteReference:tP},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),(0,tN.gfmStrikethroughToMarkdown)(),function(e){let t=e||{},n=t.tableCellPadding,l=t.tablePipeAlign,r=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let l=tL.defaultHandlers.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(l=l.replace(/\|/g,"\\$&")),l},table:function(e,t,n,l){return a(function(e,t,n){let l=e.children,r=-1,o=[],i=t.enter("table");for(;++r<l.length;)o[r]=s(l[r],t,n);return i(),o}(e,n,l),e.align)},tableCell:i,tableRow:function(e,t,n,l){let r=a([s(e,n,l)]);return r.slice(0,r.indexOf("\n"))}}};function i(e,t,n,l){let r=n.enter("tableCell"),i=n.enter("phrasing"),a=n.containerPhrasing(e,{...l,before:o,after:o});return i(),r(),a}function a(e,t){return function(e,t){let n=t||{},l=(n.align||[]).concat(),r=n.stringLength||tE,o=[],i=[],a=[],s=[],u=0,c=-1;for(;++c<e.length;){let t=[],l=[],o=-1;for(e[c].length>u&&(u=e[c].length);++o<e[c].length;){var p;let i=null==(p=e[c][o])?"":String(p);if(!1!==n.alignDelimiters){let e=r(i);l[o]=e,(void 0===s[o]||e>s[o])&&(s[o]=e)}t.push(i)}i[c]=t,a[c]=l}let d=-1;if("object"==typeof l&&"length"in l)for(;++d<u;)o[d]=tO(l[d]);else{let e=tO(l);for(;++d<u;)o[d]=e}d=-1;let f=[],h=[];for(;++d<u;){let e=o[d],t="",l="";99===e?(t=":",l=":"):108===e?t=":":114===e&&(l=":");let r=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-l.length),i=t+"-".repeat(r)+l;!1!==n.alignDelimiters&&((r=t.length+r+l.length)>s[d]&&(s[d]=r),h[d]=r),f[d]=i}i.splice(1,0,f),a.splice(1,0,h),c=-1;let m=[];for(;++c<i.length;){let e=i[c],t=a[c];d=-1;let l=[];for(;++d<u;){let r=e[d]||"",i="",a="";if(!1!==n.alignDelimiters){let e=s[d]-(t[d]||0),n=o[d];114===n?i=" ".repeat(e):99===n?e%2?(i=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):a=i=" ".repeat(e/2):a=" ".repeat(e)}!1===n.delimiterStart||d||l.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==r)&&(!1!==n.delimiterStart||d)&&l.push(" "),!1!==n.alignDelimiters&&l.push(i),l.push(r),!1!==n.alignDelimiters&&l.push(a),!1!==n.padding&&l.push(" "),(!1!==n.delimiterEnd||d!==u-1)&&l.push("|")}m.push(!1===n.delimiterEnd?l.join("").replace(/ +$/,""):l.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:l,padding:n,stringLength:r})}function s(e,t,n){let l=e.children,r=-1,o=[],a=t.enter("tableRow");for(;++r<l.length;)o[r]=i(l[r],e,t,n);return a(),o}}(n),(0,tU.gfmTaskListItemToMarkdown)()]})}let nd="#1877F2",nf="#9ca3af";function nh({label:e="Verified account",className:n="",color:l=nd,size:r=14}){return(0,t.jsxs)("span",{className:`inline-flex cursor-default ${n}`.trim(),title:e,children:[(0,t.jsx)("svg",{"aria-hidden":"true",className:"relative top-px inline-block shrink-0",fill:l,height:r,viewBox:"0 0 12 13",width:r,children:(0,t.jsx)("g",{fillRule:"evenodd",transform:"translate(-98 -917)",children:(0,t.jsx)("path",{d:"m106.853 922.354-3.5 3.5a.499.499 0 0 1-.706 0l-1.5-1.5a.5.5 0 1 1 .706-.708l1.147 1.147 3.147-3.147a.5.5 0 1 1 .706.708m3.078 2.295-.589-1.
1149.588-1.15a.633.633 0 0 0-.219-.82l-1.085-.7-.065-1.287a.627.627 0 0 0-.6-.603l-1.29-.066-.703-1.087a.636.636 0 0 0-.82-.217l-1.148.588-1.15-.588a.631.631 0 0 0-.82.22l-.701 1.085-1.289.065a.626.626 0 0 0-.6.6l-.066 1.29-1.088.702a.634.634 0 0 0-.216.82l.588 1.149-.588 1.15a.632.632 0 0 0 .219.819l1.085.701.065 1.286c.014.33.274.59.6.604l1.29.065.703 1.088c.177.27.53.362.82.216l1.148-.588 1.15.589a.629.629 0 0 0 .82-.22l.701-1.085 1.286-.064a.627.627 0 0 0 .604-.601l.065-1.29 1.088-.703a.633.633 0 0 0 .216-.819"})})}),(0,t.jsx)("span",{className:"sr-only",children:e})]})}var nm=e.i(88649);function ng({seed:e,label:l}){let r=(0,n.useMemo)(()=>{let t,n,l;return t=function(e){let t=0x811c9dc5;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,0x1000193);return t>>>0}(e),l=(n=[{bg:"#e2e8f0",fg:"#334155"},{bg:"#dbeafe",fg:"#1d4ed8"},{bg:"#dcfce7",fg:"#15803d"},{bg:"#fef3c7",fg:"#b45309"},{bg:"#fce7f3",fg:"#be185d"},{bg:"#ede9fe",fg:"#6d28d9"}])[t%n.length],{cells:Array.from({length:5},(e,n)=>Array.from({length:3},(e,l)=>(t>>>(3*n+l)%24&1)==1)),tone:l}},[e]);return(0,t.jsx)("div",{"aria-label":l,className:"grid h-8 w-8 shrink-0 place-items-center rounded-[5px]",role:"img",style:{backgroundColor:r.tone.bg},children:(0,t.jsx)("div",{className:"grid grid-cols-5 gap-[1px]",children:r.cells.map((e,n)=>[e[0],e[1],e[2],e[1],e[0]].map((e,l)=>(0,t.jsx)("span",{"aria-hidden":"true",className:`h-[3px] w-[3px] rounded-[1px] ${e?"opacity-100":"opacity-[0.18]"}`,style:{backgroundColor:r.tone.fg}},`${n}-${l}`)))})})}function ny(e,t){if(!e)return null;switch(e){case"Verification request not found.":return t("Verification request not found.");case"Verification code expired.":return t("Verification code expired.");case"Invalid verification code.":return t("Invalid verification code.");default:return e}}let nb={a:e=>(0,t.jsx)("a",{...e,rel:"noopener noreferrer",target:"_blank"})};function nx({value:e}){return(0,t.jsx)("div",{className:"mt-1 whitespace-pre-wrap text-sm leading-[1.7] text-[#1f2937] [&_a]:text-[#0f2b5b] [&_a]:underline [&_a]:underline-offset-2 [&_blockquote]:my-3 [&_blockquote]:border-l-2 [&_blockquote]:border-[#cbd5e1] [&_blockquote]:pl-3 [&_code]:rounded [&_code]:bg-[#f3f4f6] [&_code]:px-1 [&_code]:py-0.5 [&_ol]:my-2 [&_ol]:list-decimal [&_ol]:pl-5 [&_p]:my-0 [&_p+p]:mt-2 [&_strong]:font-semibold [&_ul]:my-2 [&_ul]:list-disc [&_ul]:pl-5",children:(0,t.jsx)(te,{components:nb,remarkPlugins:[np],children:e})})}function nv(e){return`https://tvc.co.th/${encodeURIComponent(e)}/chat`}function nk({displayName:e,locale:n,className:l=""}){let r,{primaryName:o,suffix:i}=-1===(r=e.indexOf(" - "))?{primaryName:e,suffix:""}:{primaryName:e.slice(0,r),suffix:e.slice(r)};return(0,t.jsxs)("a",{className:`font-semibold text-[#111827] transition hover:opacity-75 ${l}`.trim(),href:nv(n),rel:"noopener noreferrer",target:"_blank",children:[(0,t.jsx)("span",{className:"underline decoration-[#111827] underline-offset-2",children:o}),i?(0,t.jsx)("span",{children:i}):null]})}function nw({author:e,locale:n}){return e.isAdmin?(0,t.jsx)("a",{"aria-label":`${e.displayName} chat`,className:"block h-8 w-8 shrink-0 overflow-hidden rounded-[5px] transition hover:opacity-80",href:nv(n),rel:"noopener noreferrer",target:"_blank",children:(0,t.jsx)("img",{alt:"","aria-hidden":"true",className:"h-full w-full object-cover",draggable:!1,src:"/static/tvc-admin-avatar.png"})}):(0,t.jsx)(ng,{label:e.suffix?`${e.displayName} #${e.suffix} avatar`:`${e.displayName}
1 avatar`,seed:e.id})}function nC({author:e,locale:n}){let{i18n:l}=(0,o.useI18n)();return e.isAdmin?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(nk,{displayName:e.displayName,locale:n}),(0,t.jsx)(nh,{color:nd,label:l("Verified admin")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"font-semibold text-[#111827]",children:[e.displayName,e.suffix?` #${e.suffix}`:""]}),e.isVerified?(0,t.jsx)(nh,{color:nf,label:l("Email was verified")}):null]})}function nS({user:e,locale:n}){let{i18n:l}=(0,o.useI18n)();return e.isAdmin?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:[l("Commenting as")," ",(0,t.jsx)(nk,{displayName:e.displayName,locale:n})]}),(0,t.jsx)(nh,{color:nd,label:l("Verified admin")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:[l("Commenting as")," ",e.displayName,e.suffix?` #${e.suffix}`:""]}),e.isVerified?(0,t.jsx)(nh,{color:nf,label:l("Email was verified")}):null]})}function nj({isOpen:e,step:l,email:r,setEmail:i,otpCode:a,setOtpCode:s,displayName:u,setDisplayName:c,onClose:p,onRequestCode:d,onVerifyCode:f,onSaveName:h,onSkipName:m,requestError:g,verifyError:y,isRequesting:b,isVerifying:x,isSavingName:v}){let{i18n:k}=(0,o.useI18n)(),w=(0,n.useMemo)(()=>a.split("").concat(Array(Math.max(6-a.length,0)).fill("")),[a]),C=ny(g,k),S=ny(y,k),j=(0,n.useRef)(null),P=(0,n.useRef)(null),A=(0,n.useRef)([]);if((0,n.useEffect)(()=>{if(!e)return;let t=window.setTimeout(()=>{"email"===l?j.current?.focus():"name"===l?P.current?.focus():A.current[0]?.focus()},0);return()=>window.clearTimeout(t)},[e,l]),!e)return null;function D(e,t){let n=[...w];n[e]=t;let l=n.join("").slice(0,6);return s(l),l}return(0,t.jsxs)("div",{className:"w-full overflow-hidden rounded-[5px] border border-[#d1d5db] bg-white shadow-[0_10px_26px_rgba(15,23,42,0.08)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 bg-black px-3 py-1.5",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"m-0 text-[11px] font-bold uppercase tracking-[0.12em] text-white",children:k("Comment verification")}),(0,t.jsxs)("p",{className:"mt-0.5 text-[10px] uppercase tracking-[0.08em] text-white/70",children:["email"===l&&k("Step 1 of 3"),"otp"===l&&k("Step 2 of 3"),"name"===l&&k("Step 3 of 3")]})]}),(0,t.jsx)("button",{"aria-label":k("Close verification"),className:"rounded-[4px] px-2 py-1 text-[11px] font-semibold uppercase tracking-[0.06em] text-white/75 transition hover:bg-white/10 hover:text-white",onClick:p,type:"button",children:k("Close")})]}),(0,t.jsxs)("div",{className:"grid gap-3 px-3 py-3",children:[(0,t.jsxs)("div",{className:"grid gap-1",children:[(0,t.jsxs)("p",{className:"m-0 text-sm font-semibold text-slate-900",children:["email"===l&&k("Add your email to receive a one-time code"),"otp"===l&&k("Enter the 6-digit code"),"name"===l&&k("Choose the public name for your comment")]}),(0,t.jsxs)("p",{className:"m-0 text-[11px] leading-4 text-slate-500",children:["email"===l&&k("This keeps the thread cleaner while still verifying real users."),"otp"===l&&(0,t.jsxs)(t.Fragment,{children:[k("Sent to")," ",(0,t.jsx)("span",{className:"font-bold text-slate-700",children:function(e){let t=e.trim().toLowerCase(),[n="",l=""]=t.split("@");return n&&l?n.length<=2?`${n[0]||""}***@${l}`:`${n.slice(0,2)}***${n.slice(-1)}@${l}`:t}(r)}),"."]}),"name"===l&&k("Your email stays private. Only your display name and verified badge are public.")]})]}),"email"===l&&(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsxs)("label",{className:"grid gap-1.5",children:[(0,t.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-slate-500",children:k("Email address")}),(0,t.jsx)("input",{ref:j,className:"w-full rounded-[5px] border border-slate-200 bg-slate-100 px-[14px] py-2 text-[15px] text-slate-900 outline-none ring-2 ring-transparent transition focus:border-sky-400 focus:bg-white focus:ring-sky-200",onChange:e=>i(e.target.value),onKeyDown:e=>{"Enter"===e.key&&r.trim()&&!b&&d()},placeholder:k("[email protected]"),type:"email",value:r})]}),C?(0,t.jsx)("p",{className:"m-0 text-[11px] leading-4 text-rose-700",children:C}):null,(0,t.jsx)("div",{className:"flex items-center justify-end gap-2",children:(0,t.jsx)("button",{className:"inline-flex items-center justify-center rounded-[5px] bg-[#fdc700] px-3 py-2 text-[12px] font-bold uppercase tracking-[0.06em] text-black transition hover:bg-[#ffce29] disabled:cursor-not-allowed disabled:bg-slate-200 disabled:text-slate-500",disabled:!r.trim()||b,onClick:d,type:"button",children:k(b?"Sending code...":"Continue")})})]}),"otp"===l&&(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-[360px] justify-items-center gap-3 py-1",children:[(0,t.jsx)("div",{className:"flex justify-center gap-2",children:Array.from({length:6},(e,n)=>(0,t.jsx)("input",{ref:e=>{A.current[n]=e},autoComplete:"one-time-code",className:`h-11 w-10 rounded-[5px] border-2 text-center text-base font-semibold outline-none transition ${y?"border-rose-500 bg-rose-50 text-rose-700":"border-slate-300 bg-white text-slate-900 focus:border-slate-900"}`,disabled:x,inputMode:"numeric",maxLength:1,onChange:e=>{let t,l;return l=D(n,t=e.target.value.replace(/\D/g,"").slice(0,1)),void(t&&n<5&&A.current[n+1]?.focus(),t&&5===n&&6===l.length&&f())},onKeyDown:e=>{"Backspace"===e.key&&!w[n]&&n>0&&(D(n-1,""),A.current[n-1]?.focus()),"ArrowLeft"===e.key&&n>0&&A.current[n-1]?.focus(),"ArrowRight"===e.key&&n<5&&A.current[n+1]?.focus(),"Enter"===e.key&&6===a.length&&f()},onPaste:e=>(function(e,t){t.preventDefault();let n=t.clipboardData.getData("text/plain").replace(/\D/g,"").slice(0,6-e);if(!n)return;let l=[...w];for(let t=0;t<n.length;t+=1)l[e+t]=n[t];let r=l.join("").slice(0,6);s(r);let o=l.findIndex(e=>""===e);if(-1===o){A.current[5]?.focus(),6===r.length&&window.setTimeout(()=>f(),40);return}A.current[o]?.focus()})(n,e),type:"tel",value:w[n]||""},n))}),S?(0,t.jsx)("p",{className:"m-0 text-center text-[11px] leading-4 text-rose-700",children:S}):null,(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("button",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-slate-500 transition hover:text-slate-900",onClick:()=>{s(""),d()},type:"button",children:k("Send another code")})}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,t.jsx)("button",{className:"rounded-[5px] bg-slate-200 px-3 py-2 text-[12px] font-bold uppercase tracking-[0.06em] text-slate-700 transition hover:bg-slate-300",onClick:()=>{s(""),p()},type:"button",children:k("Back")}),(0,t.jsx)("button",{className:"rounded-[5px] bg-[#fdc700] px-3 py-2 text-[12px] font-bold uppercase tracking-[0.06em] text-black transition hover:bg-[#ffce29] disabled:cursor-not-allowed disabled:bg-slate-200 disabled:text-slate-500",disabled:6!==a.length||x,onClick:f,type:"button",children:k(x?"Verifying...":"
1Verify")})]})]}),"name"===l&&(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsxs)("label",{className:"grid gap-1.5",children:[(0,t.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-[0.06em] text-slate-500",children:k("Display name")}),(0,t.jsx)("input",{ref:P,className:"w-full rounded-[5px] border border-slate-200 bg-slate-100 px-[14px] py-2 text-[15px] text-slate-900 outline-none ring-2 ring-transparent transition focus:border-sky-400 focus:bg-white focus:ring-sky-200",onChange:e=>c(e.target.value),onKeyDown:e=>{"Enter"!==e.key||v||h()},placeholder:k("Your name"),value:u})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsx)("button",{className:"rounded-[5px] bg-slate-200 px-3 py-2 text-[12px] font-bold uppercase tracking-[0.06em] text-slate-700 transition hover:bg-slate-300",onClick:m,type:"button",children:k("Skip")}),(0,t.jsx)("button",{className:"rounded-[5px] bg-[#fdc700] px-3 py-2 text-[12px] font-bold uppercase tracking-[0.06em] text-black transition hover:bg-[#ffce29] disabled:cursor-not-allowed disabled:bg-slate-200 disabled:text-slate-500",disabled:v,onClick:h,type:"button",children:k(v?"Saving...":"Post comment")})]})]})]})]})}let nP=(0,e.i(70703).default)(()=>e.A(49578),{loadableGenerated:{modules:[33550]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"rounded-[5px] border border-[#d1d5db] bg-[#f8fafc] px-3 py-2 text-sm text-[#64748b]",children:"Loading editor..."})});function nA(e){return(0,t.jsx)(nP,{...e})}function nD({isMarkdown:e,value:n,onChange:l,onSubmit:r,onCancel:i,submitLabel:a,isSubmitting:s,placeholder:u}){let{i18n:c}=(0,o.useI18n)();return(0,t.jsxs)("div",{children:[e?(0,t.jsx)(nA,{minHeightClassName:"min-h-[90px]",onChange:l,placeholder:u,value:n}):(0,t.jsx)("textarea",{className:"min-h-[90px] w-full resize-y rounded-[5px] border border-[#d1d5db] bg-white px-3 py-2 text-sm leading-[1.6] text-[#1f2937] outline-none focus:border-[#94a3b8]",onChange:e=>l(e.target.value),placeholder:u,value:n}),(0,t.jsxs)("div",{className:"mt-2 flex items-center justify-between gap-2",children:[(0,t.jsx)("button",{className:"rounded-[5px] bg-[#e2e8f0] px-3 py-1.5 text-xs font-semibold text-[#475569] hover:bg-[#cbd5e1]",onClick:i,type:"button",children:c("Cancel")}),(0,t.jsx)("button",{className:"rounded-[5px] bg-[#0f172a] px-3 py-1.5 text-xs font-semibold text-white disabled:cursor-not-allowed disabled:bg-[#94a3b8]",disabled:s||n.trim().length<3,onClick:r,type:"button",children:s?c("Saving..."):a})]})]})}function nN({body:e,onBodyChange:n,onSubmit:l,isSubmitting:r,currentUser:i,locale:a}){let{i18n:s}=(0,o.useI18n)();return(0,t.jsxs)("div",{className:"p-3",children:[i?.isAdmin?(0,t.jsx)(nA,{minHeightClassName:"min-h-[96px]",onChange:n,placeholder:s("Add a comment..."),value:e}):(0,t.jsx)("textarea",{className:"min-h-[96px] w-full resize-y border-none p-0 text-sm leading-[1.7] text-[#1f2937] outline-none placeholder:text-[#9ca3af]",onChange:e=>n(e.target.value),placeholder:s("Add a comment..."),value:e}),(0,t.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-3 border-t border-[#e5e7eb] pt-3",children:[(0,t.jsx)("p",{className:"flex min-w-0 flex-wrap items-center gap-1 text-xs text-[#6b7280]",children:i?(0,t.jsx)(nS,{locale:a,user:i}):s("Click comment and we will ask for your email, then OTP, then name.")}),(0,t.jsx)("button",{className:"rounded-[5px] bg-[#0f172a] px-4 py-2 text-sm font-semibold text-white disabled:cursor-not-allowed disabled:bg-[#94a3b8]",disabled:e.trim().length<3||r,onClick:l,type:"button",children:s(r?"Posting...":"Comment")})]})]})}var nE=e.i(22016),nO=e.i(39222);function nL({locale:e,canonicalPath:n,pagination:l}){let{i18n:r}=(0,o.useI18n)();if(l.totalPages<=1)return null;let i=Array.from({length:l.totalPages},(e,t)=>t+1);return(0,t.jsx)("nav",{"aria-label":r("Comment pages"),className:"mt-8 flex flex-col items-center gap-3 pt-2",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 rounded-[5px] bg-[#eef4ff] px-3 py-2 shadow-[inset_0_1px_0_rgba(255,255,255,0.7)]",children:[l.prevPage?(0,t.jsx)(nE.default,{className:"rounded-[5px] bg-transparent px-3 py-1.5 text-sm font-semibold text-[#51627d] transition-colors hover:bg-white/70 hover:text-[#0f2b5b]",href:(0,nO.buildCommentThreadUrl)({locale:e,canonicalPath:n,page:l.prevPage}),children:r("Previous")}):null,i.map(r=>{let o=r===l.page;return(0,t.jsx)(nE.default,{"aria-current":o?"page":void 0,className:`rounded-[5px] px-3 py-1.5 text-sm font-semibold transition-colors ${o?"bg-[#0f2b5b] text-white shadow-[0_6px_18px_rgba(15,43,91,0.18)]":"bg-white/55 text-[#334155] hover:bg-white hover:text-[#0f2b5b]"}`,href:(0,nO.buildCommentThreadUrl)({locale:e,canonicalPath:n,page:r}),children:r},r)}),l.nextPage?(0,t.jsx)(nE.default,{className:"rounded-[5px] bg-transparent px-3 py-1.5 text-sm font-semibold text-[#51627d] transition-colors hover:bg-white/70 hover:text-[#0f2b5b]",href:(0,nO.buildCommentThreadUrl)({locale:e,canonicalPath:n,page:l.nextPage}),children:r("Next")}):null]})})}function nM({className:e}){return(0,t.jsx)("svg",{"aria-hidden":"true",className:e,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 3 4 11h5v10h6V11h5L12 3Z"})})}function nR({className:e}){return(0,t.jsx)("svg",{"aria-hidden":"true",className:e,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"m12 21 8-8h-5V3H9v10H4l8 8Z"})})}function nT({className:e}){return(0,t.jsx)("svg",{"aria-hidden":"true",className:e,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M20 11.5a7.5 7.5 0 0 1-7.5 7.5H5l-2 2v-8.5A7.5 7.5 0 0 1 10.5 5h2A7.5 7.5 0 0 1 20 11.5Z"})})}function nI(e,t){let n=e=>e.map(e=>({...e,...e.id===t.commentId?{voteScore:t.voteScore,currentVoteDirection:t.currentVoteDirection}:{},children:n(e.children)}));return{...e,comments:n(e.comments)}}function nF({comment:e,isPending:n,onVote:l}){let{i18n:r}=(0,o.useI18n)(),i=+(1!==e.currentVoteDirection),a=-1===e.currentVoteDirection?0:-1,s=1===e.currentVoteDirection?"text-[#0f172a]":"text-[#94a3b8]",u=-1===e.currentVoteDirection?"text-[#0f172a]":"text-[#94a3b8]";return(0,t.jsxs)("div",{className:"inline-flex items-center gap-1 text-[12px] font-semibold text-[#64748b]",children:[(0,t.jsx)("button",{"aria-label":r("Upvote comment"),className:`inline-flex cursor-pointer items-center justify-center transition hover:text-[#0f172a] disabled:cursor-not-allowed disabled:opacity-60 ${s}`,disabled:n,onClick:()=>l(e,i),type:"button",children:(0,t.jsx)(nM,{className:"h-4 w-4"})}),(0,t.jsx)("span",{className:"min-w-4 text-center tabular-nums text-[#0f172a]",children:e.voteScore.toLocaleStr
1ing()}),(0,t.jsx)("button",{"aria-label":r("Downvote comment"),className:`inline-flex cursor-pointer items-center justify-center transition hover:text-[#0f172a] disabled:cursor-not-allowed disabled:opacity-60 ${u}`,disabled:n,onClick:()=>l(e,a),type:"button",children:(0,t.jsx)(nR,{className:"h-4 w-4"})})]})}function n_({comment:e,locale:n,currentUserId:l,currentUserIsAdmin:r,replyingTo:i,replyBody:a,setReplyBody:s,onReply:u,submitReply:c,editingCommentId:p,editBody:d,setEditBody:f,onEditStart:h,submitEdit:m,cancelEdit:g,deleteComment:y,isSubmitting:b,authSurfaceId:x,isAuthOpen:v,authOverlay:k,pendingVoteCommentId:w,onVote:C}){let S,j,{i18n:P}=(0,o.useI18n)(),A=l===e.author.id||r,D=i===e.id,N=p===e.id,E=v&&x===e.id,O=e.children.length>0,L=40*(e.depth>0),M=e.depth>0?-40:44;return(0,t.jsxs)("div",{className:"relative min-w-0",style:{marginLeft:L},children:[(0,t.jsxs)("div",{className:"relative flex w-full min-w-0 gap-3",children:[(0,t.jsx)("div",{className:"relative z-10 mt-[2px] w-8 shrink-0 align-top",children:(0,t.jsx)(nw,{author:e.author,locale:n})}),(0,t.jsxs)("div",{className:"relative z-10 min-w-0 flex-1 align-top",children:[(0,t.jsxs)("div",{className:"rounded-[5px] bg-[#f8fafc] p-2",children:[(0,t.jsx)("div",{className:"mb-0.5 flex min-w-0 flex-wrap items-center gap-2 text-[12px] font-semibold text-[#0f172a]",children:(0,t.jsx)(nC,{author:e.author,locale:n})}),N?(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(nD,{isMarkdown:r,isSubmitting:b,onCancel:g,onChange:f,onSubmit:()=>m(e.id),placeholder:P("Edit your comment..."),submitLabel:P("Save"),value:d})}):e.author.isAdmin?(0,t.jsx)(nx,{value:e.body}):(0,t.jsx)("p",{className:"whitespace-pre-wrap text-[12.5px] leading-relaxed text-[#334155]",children:e.body})]}),(0,t.jsxs)("div",{className:"mt-2 flex min-w-0 items-center gap-3 px-2 text-[12px]",children:[(0,t.jsx)(nF,{comment:e,isPending:w===e.id,onVote:C}),(0,t.jsxs)("button",{className:"inline-flex cursor-pointer items-center gap-1.5 font-semibold text-[#64748b] transition hover:text-[#0f172a]",onClick:()=>u(D?null:e.id),type:"button",children:[(0,t.jsx)(nT,{className:"h-5 w-5"}),P(D?"Cancel":"Reply")]}),A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{className:"inline-flex cursor-pointer font-semibold text-[#64748b] transition hover:text-[#0f172a]",onClick:()=>h(e),type:"button",children:P("Edit")}),(0,t.jsx)("button",{className:"inline-flex cursor-pointer font-semibold text-[#b91c1c] transition hover:text-[#7f1d1d]",onClick:()=>y(e.id),type:"button",children:P("Delete")})]}):null,(0,t.jsx)("time",{className:"ml-auto inline-flex shrink-0 items-center font-medium text-[#64748b]",title:new Date(e.createdAt).toLocaleString(n,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"2-digit"}),children:(S=new Date(e.createdAt).getTime()-Date.now(),j=new Intl.RelativeTimeFormat(n,{numeric:"auto"}),36e5>Math.abs(S)?j.format(Math.round(S/6e4),"minute"):864e5>Math.abs(S)?j.format(Math.round(S/36e5),"hour"):6048e5>Math.abs(S)?j.format(Math.round(S/864e5),"day"):2592e6>Math.abs(S)?j.format(Math.round(S/6048e5),"week"):31536e6>Math.abs(S)?j.format(Math.round(S/2592e6),"month"):j.format(Math.round(S/31536e6),"year"))})]})]})]}),D?(0,t.jsxs)("div",{className:"relative z-10 mt-2 rounded-[5px] bg-[#f8fafc] p-2",style:{marginLeft:M},children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute -right-2 top-4 h-0 w-0 border-y-[8px] border-l-[8px] border-y-transparent border-l-[#f8fafc]"}),E?k:(0,t.jsx)(nD,{isMarkdown:r,isSubmitting:b,onCancel:()=>u(null),onChange:s,onSubmit:()=>c(e.id),placeholder:P("Write a reply..."),submitLabel:P("Reply"),value:a})]}):null,O?(0,t.jsx)("div",{className:"mt-3 space-y-3",children:e.children.map(e=>(0,t.jsx)(n_,{authOverlay:k,authSurfaceId:x,cancelEdit:g,comment:e,currentUserId:l,currentUserIsAdmin:r,deleteComment:y,editBody:d,editingCommentId:p,isAuthOpen:v,isSubmitting:b,locale:n,onEditStart:h,onReply:u,onVote:C,pendingVoteCommentId:w,replyBody:a,replyingTo:i,setEditBody:f,setReplyBody:s,submitEdit:m,submitReply:c},e.id))}):null]})}e.s(["default",0,function({initialThread:e,locale:i}){let{i18n:a}
1=(0,o.useI18n)(),s=(0,l.useRouter)(),[u,c]=(0,n.useState)(""),[p,d]=(0,n.useState)(""),[f,h]=(0,n.useState)(""),[m,g]=(0,n.useState)(""),[y,b]=(0,n.useState)(null),[x,v]=(0,n.useState)(""),[k,w]=(0,n.useState)(null),[C,S]=(0,n.useState)(""),[j,P]=(0,n.useState)(null),[A,D]=(0,n.useState)(null),[N,E]=(0,n.useState)(null),[O,L]=(0,n.useState)(null),[M,R]=(0,n.useState)(!1),[T,I]=(0,n.useState)(null),[F,_]=(0,n.useState)("email"),[z,U]=(0,n.useState)(null),B=(0,n.useRef)(null),V={pageKey:e.pageKey,siteDomain:e.siteDomain,routePath:e.routePath,canonicalPath:e.canonicalPath,locale:i,page:e.pagination.page,pageSize:e.pagination.pageSize},H=r.trpc.public.comments.thread.getPage.useQuery(V,{initialData:e,refetchOnWindowFocus:!1}),$=r.trpc.user.session.getCurrentCommentUser.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),W=r.trpc.useUtils(),K=N||$.data||null,q=O||H.data||e;function X(e){let t=(0,nO.buildCommentThreadUrl)({locale:i,canonicalPath:e.canonicalPath,page:e.pagination.page});t!==(0,nO.buildCommentThreadUrl)({locale:i,canonicalPath:q.canonicalPath,page:q.pagination.page})?s.push(t):L(e)}(0,n.useEffect)(()=>{B.current=j},[j]);let Y=r.trpc.user.comments.mutations.create.useMutation({onSuccess(t){X(t),c(""),v(""),b(null),P(null),W.public.comments.thread.getPage.invalidate({pageKey:e.pageKey,siteDomain:e.siteDomain,routePath:e.routePath,canonicalPath:e.canonicalPath,locale:i,page:t.pagination.page,pageSize:t.pagination.pageSize})}}),Z=r.trpc.public.auth.requestEmailOtp.useMutation({onSuccess(e){D(e.requestId),_("otp")}}),J=r.trpc.public.auth.verifyEmailOtp.useMutation({async onSuccess(e){if(e.success){var t;if(t=e.sessionToken,document.cookie=`${nm.COMMENT_SESSION_COOKIE_NAME}=${encodeURIComponent(t)}; Path=/; Max-Age=7776000; SameSite=Lax`,E(e.user),g("Anonymous"===e.user.displayName?"":e.user.displayName),await W.user.session.getCurrentCommentUser.invalidate(),e.user.isAdmin){let e=B.current;e&&Y.mutate({pageKey:q.pageKey,siteDomain:q.siteDomain,routePath:q.routePath,canonicalPath:q.canonicalPath,locale:i,page:q.pagination.page,pageSize:q.pagination.pageSize,body:e.body,parentCommentId:e.parentCommentId}),en();return}_("name")}}}),G=r.trpc.user.session.updateProfile.useMutation({onSuccess(e){E(e),el()}}),Q=r.trpc.user.comments.mutations.updateOwnComment.useMutation({onSuccess(e){w(null),S(""),X(e)}}),ee=r.trpc.user.comments.mutations.deleteOwnComment.useMutation({onSuccess(e){X(e)}}),et=r.trpc.public.comments.votes.set.useMutation({onMutate(e){U(e.commentId)},onSuccess(e){L(t=>nI(t||q,e)),W.public.comments.thread.getPage.setData(V,t=>t?nI(t,e):t)},onSettled(){U(null)}});function en(){R(!1),I(null),_("email"),h(""),D(null),P(null),b(null)}function el(){j&&Y.mutate({pageKey:q.pageKey,siteDomain:q.siteDomain,routePath:q.routePath,canonicalPath:q.canonicalPath,locale:i,page:q.pagination.page,pageSize:q.pagination.pageSize,body:j.body,parentCommentId:j.parentCommentId}),en()}function er(e,t){K?Y.mutate({pageKey:q.pageKey,siteDomain:q.siteDomain,routePath:q.routePath,canonicalPath:q.canonicalPath,locale:i,page:q.pagination.page,pageSize:q.pagination.pageSize,body:e,parentCommentId:t}):(P({body:e,parentCommentId:t}),t&&b(t),I(t??"main"),_("email"),R(!0))}function eo(e,t){et.isPending||et.mutate({commentId:e.id,direction:t})}let ei={displayName:m,email:p,isOpen:M,isRequesting:Z.isPending,isSavingName:G.isPending,isVerifying:J.isPending,onClose:en,onRequestCode:()=>Z.mutate({email:p,displayName:null,locale:i,siteDomain:q.siteDomain,routePath:q.routePath}),onSaveName:()=>{m.trim()?G.mutate({displayName:m}):el()},onSkipName:el,onVerifyCode:()=>{A&&J.mutate({requestId:A,code:f})},otpCode:f,requestError:Z.error?.message||null,setDisplayName:g,setEmail:d,setOtpCode:h,step:F,verifyError:J.data&&!J.data.success?J.data.message:null},ea=Y.isPending||J.isPending||Q.isPending||ee.isPending;return(0,t.jsxs)("section",{className:"my-8",id:"comments",children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3 border-b border-[#e5e7eb] pb-2",children:[(0,t.jsxs)("h2",{className:"text-[1.35rem] font-bold leading-tight text-[#0f2b5b]",children:[a("Comments")," (",q.totalComments.toLocaleStr
1ing(i),")"]}),K?null:(0,t.jsx)("button",{className:"shrink-0 text-sm font-semibold text-[#111827] underline decoration-[#111827] underline-offset-2 transition hover:opacity-75",onClick:function(){K||(P(null),b(null),I("main"),_("email"),R(!0))},type:"button",children:a("login")})]}),(0,t.jsx)("div",{className:"overflow-hidden rounded-[5px] border border-[#d1d5db] bg-white",children:M&&"main"===T?(0,t.jsx)(nj,{...ei}):(0,t.jsx)(nN,{body:u,currentUser:K,isSubmitting:Y.isPending,locale:i,onBodyChange:c,onSubmit:()=>er(u,null)})}),0===q.comments.length?(0,t.jsx)("p",{className:"mt-5 text-sm text-[#6b7280]",children:a("Be the first to comment!")}):(0,t.jsx)("div",{className:"mt-5 space-y-3",children:q.comments.map(e=>(0,t.jsx)(n_,{authOverlay:(0,t.jsx)(nj,{...ei}),authSurfaceId:T,cancelEdit:()=>{w(null),S("")},comment:e,currentUserId:K?.id||null,currentUserIsAdmin:!!K?.isAdmin,deleteComment:e=>ee.mutate({commentId:e,locale:i,page:q.pagination.page,pageSize:q.pagination.pageSize}),editBody:C,editingCommentId:k,isAuthOpen:M,isSubmitting:ea,locale:i,onEditStart:e=>{w(e.id),S(e.bodySource)},onReply:b,onVote:eo,pendingVoteCommentId:z,replyBody:x,replyingTo:y,setEditBody:S,setReplyBody:v,submitEdit:e=>Q.mutate({commentId:e,locale:i,page:q.pagination.page,pageSize:q.pagination.pageSize,body:C}),submitReply:e=>er(x,e)},e.id))}),(0,t.jsx)(nL,{canonicalPath:q.canonicalPath,locale:i,pagination:q.pagination})]})}],68588)},39222,e=>{"use strict";e.s(["buildCommentThreadUrl",0,function(e){let t="en"===e.locale?"":`/${e.locale}`,n="/"===e.canonicalPath?t||"/":`${t}${e.canonicalPath}`;return e.page<=1?!1===e.includeAnchor?n:`${n}#comments`:"/"===e.canonicalPath?`${t}/comments/${e.page}`:`${t}${e.canonicalPath}/comments/${e.page}`}])},4100,(e,t,n)=>{"use strict";var l=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,n=l.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&l.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!o)return!1;for(t in e);return void 0===t||l.call(e,t)},u=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!l.call(e,t))return;else if(i)return i(e,t).value}return e[t]};t.exports=function e(){var t,n,l,r,o,i,p=arguments[0],d=1,f=arguments.length,h=!1;for("boolean"==typeof p&&(h=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d<f;++d)if(t=arguments[d],null!=t)for(n in t)l=c(p,n),p!==(r=c(t,n))&&(h&&r&&(s(r)||(o=a(r)))?(o?(o=!1,i=l&&a(l)?l:[]):i=l&&s(l)?l:{},u(p,{name:n,newValue:e(h,i,r)})):void 0!==r&&u(p,{name:n,newValue:r}));return p}},26568,(e,t,n)=>{"use strict";var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,o=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function p(e){return e?e.replace(c,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,c=1;function d(e){var t=e.match(r);t&&(n+=t.length);var l=e.lastIndexOf("\n");c=~l?e.length-l:c+e.length}function f(){var e={line:n,column:c};return function(t){return t.position=new h(e),g(o),t}}function h(e){this.start=e,this.end={line:n,column:c},this.source=t.source}function m(l){var r=Error(t.source+":"+n+":"+c+": "+l);if(r.reason=l,r.filename=t.source,r.line=n,r.column=c,r.source=e,t.silent);else throw r}function g(t){var n=t.exec(e);if(n){var l=n[0];return d(l),e=e.slice(l.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var l=e.slice(2,n-2);return c+=2,d(l),e=e.slice(n),c+=2,t({type:"comment",comment:l})}}
1h.prototype.content=e,g(o);var x,v=[];for(y(v);x=function(){var e=f(),t=g(i);if(t){if(b(),!g(a))return m("property missing ':'");var n=g(s),r=e({type:"declaration",property:p(t[0].replace(l,"")),value:n?p(n[0].replace(l,"")):""});return g(u),r}}();)!1!==x&&(v.push(x),y(v));return v}},70454,(e,t,n)=>{"use strict";var l=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let l=(0,r.default)(e),o="function"==typeof t;return l.forEach(e=>{if("declaration"!==e.type)return;let{property:l,value:r}=e;o?t(l,r,e):r&&((n=n||{})[l]=r)}),n};let r=l(e.r(26568))},65185,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var l=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||o.test(n)||l.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,u):e.replace(i,u)).replace(r,s))}},15511,(e,t,n)=>{"use strict";var l=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(70454)),r=e.r(65185);function o(e,t){var n={};return e&&"string"==typeof e&&(0,l.default)(e,function(e,l){e&&l&&(n[(0,r.camelCase)(e,t)]=l)}),n}o.default=o,t.exports=o},90317,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l={bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return c}};for(var r in l)Object.defineProperty(n,r,{enumerable:!0,get:l[r]});let o=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class i{disable(){throw o}getStore(){}run(){throw o}exit(){throw o}enterWith(){throw o}static bind(e){return e}}let a="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return a?new a:new i}function u(e){return a?a.bind(e):i.bind(e)}function c(){return a?a.snapshot():function(e,...t){return e(...t)}}},42344,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorageInstance",{enumerable:!0,get:function(){return l}});let l=(0,e.r(90317).createAsyncLocalStorage)()},63599,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorage",{enumerable:!0,get:function(){return l.workAsyncStorageInstance}});let l=e.r(42344)},9885,(e,t,n)=>{"use strict";function l(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return l}})},67585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let l=e.r(32061);function r({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new l.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let l=e.r(18050),r=e.r(74080),o=e.r(63599),i=e.r(9885),a=e.r(43369);function s({moduleIds:e}){if("u">typeof window)return null;let t=o.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let l=t.reactLoadableManifest;for(let t of e){if(!l[t])continue;let e=l[t].files;n.push(...e)}}if(0===n.length)return null;let u=(0,a.getAssetTokenQuery)();return(0,l.jsx)(l.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${u}`;return e.endsWith(".css")?(0,l.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,r.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let l=e.r(18050),r=e.r(71645),o=e.r(67585),i=e.r(52157);function a(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},u=function(e){let t={...s,...e},n=(0,r.lazy)(()=>t.loader().then(a)),u=t.loading;function c(e){let a=u?(0,l.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,c=s?r.Suspense:r.Fragment,p=t.ssr?(0,l.jsxs)(l.Fragment,{children:["u"<typeof window?(0,l.jsx)(i.PreloadChunks,{moduleIds:t.modules}):null,(0,l.jsx)(n,{...e})]}):(0,l.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(n,{...e})});return(0,l.jsx)(c,{...s?{fallback:a}:{},children:p})}return c.displayName="LoadableComponent",c}},70703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}});let l=e.r(55682)._(e.r(69093));function r(e,t){let n={};"function"==typeof e&&(n.loader=e);let r={...n,...t};return(0,l.default)({...r,modules:r.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.